/* V32 Kontorfællesskab – farver og typografi hentet fra den oprindelige side */
:root {
  --bg: #f7f5ee;
  --sand: #efebdd;
  --ink: #202020;
  --ink-soft: #4a4943;
  --muted: #616057;
  --line: #d9d5c6;
  --accent: #7a6a35;
  --dark: #26251f;
  --on-dark: #f7f5ee;
  --radius: 4px;
  --wrap: 1120px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
[id] { scroll-margin-top: 72px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }
html { accent-color: var(--ink); caret-color: var(--ink); scrollbar-color: var(--muted) var(--sand); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: var(--bg); padding: .6rem 1rem; z-index: 100;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--sand) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.logo {
  font: 400 1.9rem/1 var(--serif);
  text-decoration: none;
  letter-spacing: -.01em;
}
.nav { display: flex; gap: clamp(.9rem, 2.5vw, 2rem); }
.nav a {
  font-size: .9rem; font-weight: 500; text-decoration: none;
  padding: .4rem 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: currentColor; }

.menu-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: inherit;
}
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; inset: 64px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--sand); border-bottom: 1px solid var(--line);
    padding: .5rem 16px 1rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
}

/* Hero: gruppebillede til venstre, mørkt felt til højre */
.hero {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  background: var(--dark); color: var(--on-dark);
}
.hero-media { margin: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: 60% 60%; aspect-ratio: 1600 / 1150; }
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}
.hero h1 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); line-height: 1.05; letter-spacing: -0.01em; }
.hero-text p { color: #dedad0; max-width: 30rem; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.hero .hero-link { margin: 1.5rem 0 0; }
.hero .hero-link a { color: var(--on-dark); font-weight: 600; }
.hero .btn { border-color: var(--on-dark); background: var(--on-dark); color: var(--dark); }
.hero .btn:hover { background: transparent; color: var(--on-dark); }
.hero .btn--ghost { background: transparent; color: var(--on-dark); }
.hero .btn--ghost:hover { background: var(--on-dark); color: var(--dark); }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 4 / 3; }
}

/* Gruppebillede (Mød os) */
.group-photo { margin: 0 auto; max-width: 1400px; }
.group-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 62%; }
@media (max-width: 600px) { .group-photo img { aspect-ratio: 4 / 3; } }

/* Knapper */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: .7rem 1.5rem;
  font: 600 .9rem/1 var(--sans); letter-spacing: .04em;
  text-decoration: none; border-radius: var(--radius);
  border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

/* Sektioner */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--sand { background: var(--sand); }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head p { color: var(--ink-soft); }
.center { text-align: center; margin-inline: auto; }

/* Priser */
.plan-group + .plan-group { margin-top: clamp(3rem, 7vw, 5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.group-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.group-lede { color: var(--ink-soft); max-width: 38rem; margin-bottom: 1.75rem; }
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan h3, .plan h4 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.2; margin: 0 0 .3rem; }

.offices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.offices figure { margin: 0; }
.offices img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .offices { grid-template-columns: 1fr; } }
.sizes { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.sizes li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .9rem 0; border-top: 1px solid var(--line); color: var(--ink-soft);
}
.sizes li:last-child { border-bottom: 1px solid var(--line); }
.size-name { font: 400 1.25rem/1.3 var(--serif); color: var(--ink); }
.plan {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.included { margin: 2rem 0 0; max-width: 44rem; color: var(--ink-soft); }
.plan .price { font: 400 2.4rem/1.1 var(--serif); margin: .4rem 0 0; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.price small { font: 400 .95rem var(--sans); color: var(--muted); }
.plan .price--text { font-size: 1.9rem; }
.plan .vat { font-size: .82rem; color: var(--muted); margin-bottom: 1.2rem; }
.plan p { color: var(--ink-soft); font-size: .97rem; }
.terms {
  list-style: none; padding: 1rem 0 0; margin: auto 0 1.5rem;
  border-top: 1px solid var(--line); font-size: .92rem;
}
.terms li { display: flex; justify-content: space-between; padding: .2rem 0; }
.terms li span:first-child { color: var(--muted); }
.plan .btn { width: 100%; padding-inline: 1rem; }

/* Split / historie */
.split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.split figure { margin: 0; }
.split img { border-radius: var(--radius); }
figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }


/* Kontakt / adresse */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem;
}
.contact-card { border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.contact-card h2 { font-size: 1.5rem; }
.contact-card p { margin: 0 0 .4rem; }
.contact-card a { font-weight: 600; }
address { font-style: normal; }

.map {
  width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius);
  background: var(--sand); display: block;
}
.map-placeholder {
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
  border: 1px dashed var(--line); color: var(--ink-soft);
}
.map-placeholder p { max-width: 30rem; font-size: .92rem; }

/* Mød os: portræt, navn og fritekst */
.people-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2rem;
}
.person-photo {
  aspect-ratio: 4 / 5; margin-bottom: 1.1rem; overflow: hidden;
  background: var(--sand); display: grid; place-items: center;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-initial { font: 400 clamp(4rem, 8vw, 6rem)/1 var(--serif); color: #c9c3ad; }
.person h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: .3rem; color: var(--ink); }
.person .person-link { margin-top: .6rem; font-weight: 600; overflow-wrap: anywhere; }
.person p { margin: 0; color: var(--ink-soft); max-width: 32ch; }
.person--open .person-photo { background: transparent; border: 1px dashed var(--muted); }
.person--open .person-photo span { font: 400 1.5rem/1 var(--serif); color: var(--muted); }
@media (max-width: 760px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; } .person h3 { font-size: 1.2rem; } }
@media (max-width: 560px) { .people-grid { grid-template-columns: 1fr; gap: 2.5rem; } .person h3 { font-size: 1.5rem; } .person p { max-width: none; } }

/* Rum */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.room { margin: 0; }
.room--wide { grid-column: span 2; }
.room img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.room--wide img { aspect-ratio: 8 / 5; }
@media (max-width: 760px) {
  .rooms { grid-template-columns: 1fr; }
  .room--wide { grid-column: auto; }
  .room img, .room--wide img { aspect-ratio: 4 / 3; height: auto; }
}

/* Kontakt: indhold starter øverst, ét kontaktpunkt pr. linje */
.split--top { align-items: start; }
.split--top .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }

/* FAQ */
.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font: 400 1.2rem/1.35 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.25rem; color: var(--ink-soft); max-width: 62ch; }
.faq details ul { margin: 0; padding-left: 1.2rem; }
.faq details li { margin-bottom: .4rem; }
.faq details p:last-child { margin-bottom: 0; }
.faq-group { padding-top: 0; }
.faq-group + .faq-group { padding-top: 0; }
.faq-close { padding-top: 0; }
.faq-close p { font: 400 1.25rem/1.5 var(--serif); max-width: 36rem; }
.faq-group h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }

/* Sideoverskrift på undersider */
.page-head { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head p { color: var(--ink-soft); max-width: 40rem; font-size: 1.1rem; }

/* 404 */
.not-found { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.not-found-links { list-style: none; margin: 0; padding: 0; max-width: 40rem; }
.not-found-links li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem;
  padding: 1rem 0; border-top: 1px solid var(--line);
}
.not-found-links li:last-child { border-bottom: 1px solid var(--line); }
.not-found-links a { font: 400 1.3rem/1.3 var(--serif); text-decoration: none; }
.not-found-links a:hover { text-decoration: underline; }
.not-found-links span { color: var(--muted); }

/* CTA-bånd */
.cta {
  background: var(--dark); color: var(--on-dark);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.cta-grid { display: grid; grid-template-columns: minmax(0, 40rem); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.cta--photo .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.cta-photo { margin: 0; }
.cta-photo img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.cta-details { margin-top: 1.5rem; }
@media (max-width: 760px) {
  .cta-grid, .cta--photo .cta-grid { grid-template-columns: 1fr; }
  .cta--photo .cta-photo { order: 2; }  /* telefon og mail først på mobil */
  .cta-photo img { max-height: 320px; }
}
.cta p { color: #dedad0; max-width: 30rem; }
.cta-details > div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid #45433b; }
.cta-details > div:last-child { border-bottom: 1px solid #45433b; }
.cta-details dt { color: #b9b4a4; font-size: .92rem; }
.cta-details dd { margin: 0; font: 400 1.15rem/1.4 var(--serif); }

/* Footer */
.site-footer { background: var(--sand); border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-lede { margin-top: .8rem; max-width: 22rem; }
.site-footer address { font-style: normal; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font: 400 1.15rem/1.2 var(--serif); margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.social { display: flex; gap: .75rem; margin-top: 1rem; }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--ink); border-radius: 50%;
}
.social a:hover { background: var(--ink); color: var(--bg); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
