@import url("/assets/fonts/fonts.css");

/* ============================================================
   THORR ARKITEKTER — "Tektonic Editorial"
   Dark Slate #2C353D · Gold #EFBB20 · Near-white #F4F2EF
   Fraunces (display serif) + Archivo (grotesk body)
   Redaktionel arkitektur-magasin-følelse: massiv slate brudt
   af sparsom, varm guld. Store serif-titler, guld-hårstreger
   som typografiske vejskilte, diagonal sektion-skæring.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --slate:      #2C353D;   /* primær dyb flade */
  --slate-2:    #333F48;   /* lidt lysere slate (kort på slate) */
  --slate-deep: #222A30;   /* footer / dybeste */
  --gold:       #EFBB20;   /* accent */
  --gold-deep:  #CD9900;   /* guld hover */
  --gold-soft:  #F6D775;   /* lys guld (tekst på slate) */

  --ink:        #262C31;   /* overskrifter på lyst */
  --text:       #454E55;   /* brødtekst på lyst */
  --mid:        #5B646B;   /* sekundær */
  --faint:      #9C9C9C;   /* labels, meta */

  --paper:      #F4F2EF;   /* near-white sektion */
  --paper-2:    #ECE9E4;   /* lidt dybere paper */
  --white:      #FFFFFF;

  --line:       #E1DDD6;   /* streg på lyst */
  --line-dark:  rgba(255,255,255,.14); /* streg på slate */

  /* typografi */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body:    "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(.8rem, .77rem + .12vw, .86rem);
  --step-0:  clamp(1.02rem, .99rem + .14vw, 1.12rem);   /* body ~17-18px */
  --step-1:  clamp(1.16rem, 1.06rem + .4vw, 1.4rem);
  --h3:      clamp(1.28rem, 1.12rem + .6vw, 1.55rem);
  --h2:      clamp(1.95rem, 1.35rem + 2.5vw, 2.9rem);
  --h1:      clamp(2.7rem, 1.7rem + 4.4vw, 4.6rem);
  --display: clamp(3.2rem, 1.9rem + 6vw, 6rem);

  --maxw: 1260px;
  --gutter: clamp(22px, 5vw, 56px);
  --section-y: clamp(72px, 9vw, 140px);

  --ease: cubic-bezier(.22, .61, .28, 1);
  --shadow: 0 30px 70px -40px rgba(20,26,31,.55);
}

/* ---------- Reset ---------- */
* { margin: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.72;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--slate); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 300; line-height: 1.08; color: var(--ink); letter-spacing: -.01em; overflow-wrap: break-word; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); font-weight: 400; }
h3 { font-size: var(--h3); font-family: var(--f-body); font-weight: 600; letter-spacing: 0; line-height: 1.25; }
p { text-wrap: pretty; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1500px; }
.container--narrow { max-width: 780px; }

/* ---------- Skip ---------- */
.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--gold); color: var(--slate); padding: 12px 20px; font-weight: 600; }
.skip:focus { left: 0; }

/* ---------- Typografiske vejskilte ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep);
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.label--light { color: var(--gold); }
.label--plain::before { display: none; }
.on-slate .label, .label--onslate { color: var(--gold); }

/* guld-hårstreg under H2 */
.rule-h2 { position: relative; padding-bottom: 22px; margin-bottom: 6px; }
.rule-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 54px; height: 1px; background: var(--gold); }
.center .rule-h2::after { left: 50%; transform: translateX(-50%); }

.lede { font-size: var(--step-1); line-height: 1.6; color: var(--mid); max-width: 60ch; }
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--slate { background: var(--slate); color: rgba(255,255,255,.82); }
.section--slate h1, .section--slate h2, .section--slate h3 { color: #fff; }
.section-head { max-width: 62ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lede { margin-top: 18px; }

/* ---------- Knapper ---------- */
.btn {
  --bg: var(--gold); --fg: var(--slate); --bd: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 1.05em 1.9em; font-family: var(--f-body); font-size: .92rem;
  font-weight: 600; letter-spacing: .04em;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  border-radius: 2px; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .25s var(--ease);
  transform: translateZ(0);
}
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn:hover svg { transform: translateX(4px); }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: currentColor; color: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: #fff; border-color: var(--ink); color: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--ghost-light:hover { --bg: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn--lg { padding: 1.2em 2.3em; font-size: 1rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .9rem; letter-spacing: .02em; color: var(--ink);
}
.arrow-link svg { width: 18px; height: 18px; color: var(--gold-deep); transition: transform .22s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }
.on-slate .arrow-link, .arrow-link--light { color: #fff; }
.arrow-link--light svg { color: var(--gold); }

/* ============================================================
   HEADER / NAV — transparent over hero, slate ved scroll
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(34,42,48,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line-dark);
}
.nav { display: flex; align-items: center; gap: 28px; height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex: none; }
.brand img { width: auto; height: 34px; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { font-family: var(--f-body); font-weight: 700; font-size: 1.02rem; letter-spacing: .16em; color: #fff; }
.brand__name span { font-size: .58rem; font-weight: 500; letter-spacing: .38em; color: var(--gold); margin-top: 4px; }

.nav__spacer { flex: 1; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links > li > a, .nav__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .7em .95em; font-size: .82rem; font-weight: 500;
  letter-spacing: .05em; color: rgba(255,255,255,.82);
  background: none; border: 0; transition: color .18s;
}
.nav__links > li > a:hover, .nav__trigger:hover { color: #fff; }
.nav__links > li > a[aria-current="page"] { color: #fff; }
.nav__links > li > a[aria-current="page"]::after,
.nav__links .has-menu[data-open="true"] .nav__trigger { color: #fff; }
.nav__trigger svg { width: 13px; height: 13px; transition: transform .2s; }
.has-menu[data-open="true"] .nav__trigger svg { transform: rotate(180deg); }

/* dropdown */
.has-menu { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 10px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-menu:hover .dropdown, .has-menu[data-open="true"] .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 13px; color: var(--ink); font-size: .92rem; transition: background .15s, color .15s; }
.dropdown a:hover { background: var(--paper); color: var(--gold-deep); }
.dropdown a svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; }

.nav__cta { flex: none; }
.nav__cta .btn { padding: .72em 1.35em; font-size: .82rem; }

/* burger */
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.06); position: relative; border-radius: 2px; }
.burger span, .burger span::before, .burger span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 1.6px; background: #fff; transform: translate(-50%,-50%); transition: .25s var(--ease); }
.burger span::before { transform: translate(-50%,-8px); }
.burger span::after { transform: translate(-50%,6px); }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translate(-50%,-50%) rotate(45deg); }
.menu-open .burger span::after { transform: translate(-50%,-50%) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding-bottom: clamp(64px, 10vh, 120px); padding-top: 120px;
  color: #fff; isolation: isolate; overflow: hidden;
}
.hero > .container { width: 100%; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(34,42,48,.55) 0%, rgba(34,42,48,.15) 32%, rgba(34,42,48,.35) 68%, rgba(34,42,48,.92) 100%);
}
.hero__inner { max-width: 820px; margin-inline: auto; text-align: center; }
.hero__inner .label { margin-bottom: 22px; justify-content: center; }
.hero h1 { color: #fff; font-weight: 300; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero__tag { margin: 24px auto 0; max-width: 52ch; font-size: var(--step-1); color: rgba(255,255,255,.82); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; justify-content: center; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(30px,6vh,54px); z-index: 1; display: flex; align-items: center; gap: 12px; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); writing-mode: vertical-rl; }
.hero__scroll::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); }
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* ============================================================
   INTRO-strip — centreret redaktionel statement
   ============================================================ */
.intro-center { max-width: 820px; margin-inline: auto; text-align: center; }
.intro-center .label { justify-content: center; margin-bottom: 24px; }
.intro__lead { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.4rem); line-height: 1.3; color: var(--ink); letter-spacing: -.01em; }
.intro__lead .g { color: var(--gold-deep); font-style: italic; }
.intro__sub { margin-top: 24px; color: var(--mid); font-size: var(--step-1); line-height: 1.65; max-width: 62ch; margin-inline: auto; }
.intro-center .arrow-link { margin-top: 28px; justify-content: center; }

/* ============================================================
   YDELSESKORT
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 54px; }
.svc {
  background: var(--white); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px;
  position: relative; transition: background .25s var(--ease); min-height: 260px;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.svc:hover { background: var(--paper); }
.svc:hover::before { transform: scaleX(1); }
.svc__ico { width: 56px; height: 56px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-deep); transition: border-color .3s var(--ease), background .3s var(--ease); }
.svc__ico svg { width: 26px; height: 26px; }
.svc:hover .svc__ico { border-color: var(--gold); background: var(--white); }
.svc__n { font-family: var(--f-display); font-weight: 300; font-size: 1rem; color: var(--faint); position: absolute; top: clamp(28px,3vw,40px); right: clamp(28px,3vw,40px); }
.svc h3 { margin-top: 4px; }
.svc p { font-size: .96rem; color: var(--mid); flex: 1; }
.svc .arrow-link { font-size: .82rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
/* 4-kolonne-variant (til 4/8 kort — undgår tomme celler i hårline-grid'et) */
.svc-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .svc-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid--4 { grid-template-columns: 1fr; } }

/* ============================================================
   PROJEKT-GRID (asymmetrisk)
   ============================================================ */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.4vw, 20px); margin-top: 54px; }
.proj { position: relative; overflow: hidden; display: block; background: var(--slate); height: 100%; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(34,42,48,.85)); opacity: .85; transition: opacity .35s; }
.proj:hover img { transform: scale(1.05); }
.proj__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px,2.4vw,30px); color: #fff; transform: translateY(8px); transition: transform .35s var(--ease); }
.proj:hover .proj__meta { transform: translateY(0); }
.proj__cat { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.proj__ttl { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1.1; margin-top: 8px; display: flex; align-items: center; gap: 12px; }
.proj__ttl svg { width: 20px; height: 20px; opacity: 0; transform: translateX(-8px); transition: .35s var(--ease); color: var(--gold); flex: none; }
.proj:hover .proj__ttl svg { opacity: 1; transform: translateX(0); }
/* venstre høj kolonne spænder 2 rækker; højre = wide over sq. Rækkehøjderne
   defineres af wide+sq, så den høje strækkes til SAMME totalhøjde -> flugter. */
.proj--tall { grid-column: 1; grid-row: 1 / span 2; }
.proj--wide { grid-column: 2; grid-row: 1; aspect-ratio: 16 / 10; }
.proj--sq { grid-column: 2; grid-row: 2; aspect-ratio: 16 / 10; }
@media (max-width: 760px) {
  .projects { grid-template-columns: 1fr; }
  .proj--tall, .proj--wide, .proj--sq { grid-column: 1; grid-row: auto; aspect-ratio: 16 / 10; }
}

/* uniform projekt-grid (projekter-hub) */
.proj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); margin-top: 48px; }
.proj-grid .proj { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .proj-grid { grid-template-columns: 1fr; } .proj-grid .proj { aspect-ratio: 4 / 3; } }

/* projekt-fakta (case) + galleri */
.stats--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .stats--4 { grid-template-columns: repeat(2, 1fr); } }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.5vw, 20px); margin-top: 44px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.map-embed { margin-top: 0; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(0.2); }

/* 404 */
.err { min-height: 70svh; display: grid; place-items: center; text-align: center; background: var(--slate); color: #fff; padding-top: 100px; }
.err h1 { color: #fff; font-size: var(--display); }
.err .label { justify-content: center; margin-bottom: 20px; }
.err p { color: rgba(255,255,255,.72); margin: 18px auto 30px; max-width: 46ch; }
.err .hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   SPLIT (tekst + billede)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split--flip .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__media .tag {
  position: absolute; bottom: 0; left: 0; background: var(--gold); color: var(--slate);
  padding: 16px 22px; max-width: 74%;
}
.split__media .tag b { display: block; font-family: var(--f-display); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.split__media .tag span { font-size: .78rem; letter-spacing: .06em; }
.split__body p + p { margin-top: 1em; }
.split__body .btn, .split__body .arrow-link { margin-top: 26px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--flip .split__media { order: 0; }
  .split__media img { aspect-ratio: 16/10; }
}

/* stat-liste med guld venstrekant */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.stat { border-left: 2px solid var(--gold); padding-left: 18px; }
.stat b { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); line-height: 1; color: var(--ink); }
.on-slate .stat b, .section--slate .stat b { color: #fff; }
.stat span { display: block; margin-top: 8px; font-size: .82rem; color: var(--mid); letter-spacing: .02em; }
.section--slate .stat span { color: rgba(255,255,255,.65); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; gap: 18px; } }

/* ============================================================
   PROCES — store tal
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(26px, 3vw, 50px); margin-top: 56px; counter-reset: step; }
.step { position: relative; }
.step__n { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; color: var(--gold); opacity: .9; }
.step h3 { margin-top: 16px; color: #fff; }
.section--slate .step h3 { color: #fff; }
.step p { margin-top: 10px; font-size: .93rem; color: rgba(255,255,255,.66); }
.step::after { content: ""; position: absolute; top: 20px; right: -12%; width: 24%; height: 1px; background: var(--line-dark); }
.step:last-child::after { display: none; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 30px; } .step::after { display: none; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 30px); margin-top: 52px; }
.quote { background: var(--white); border: 1px solid var(--line); padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; }
.quote__mark { font-family: var(--f-display); font-size: 3.4rem; line-height: .8; color: var(--gold); height: 34px; }
.quote p { font-family: var(--f-display); font-weight: 300; font-size: 1.16rem; line-height: 1.45; color: var(--ink); font-style: italic; margin-top: 8px; flex: 1; }
.quote__who { margin-top: 22px; font-size: .82rem; letter-spacing: .04em; color: var(--mid); }
.quote__who b { color: var(--ink); font-weight: 600; font-style: normal; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin-top: 44px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: absolute; right: 4px; top: 28px; width: 18px; height: 18px; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--gold-deep); transition: transform .25s var(--ease); }
.faq .pm::before { width: 16px; height: 1.5px; transform: translate(-50%,-50%); }
.faq .pm::after { width: 1.5px; height: 16px; transform: translate(-50%,-50%); }
.faq details[open] .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.faq details p { padding: 0 44px 26px 0; color: var(--text); }

/* ============================================================
   CTA-banner
   ============================================================ */
.cta-band { position: relative; background: var(--slate); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 340px; height: 340px; border: 1px solid var(--line-dark); border-radius: 50%; }
.cta-band::after { content: ""; position: absolute; right: 40px; top: 40px; width: 180px; height: 180px; border: 1px solid rgba(239,187,32,.25); border-radius: 50%; }
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 14px; max-width: 46ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--slate-deep); color: rgba(255,255,255,.62); padding-block: clamp(56px, 7vw, 88px) 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { font-size: .92rem; max-width: 30ch; line-height: 1.7; }
.footer-col h4 { font-family: var(--f-body); font-weight: 600; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.footer-col a { font-size: .92rem; color: rgba(255,255,255,.62); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { font-size: .92rem; line-height: 1.5; }
.footer-contact a { color: rgba(255,255,255,.62); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.42); }
.footer-bottom a { color: rgba(255,255,255,.42); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE HERO (undersider)
   ============================================================ */
.page-hero { position: relative; background: var(--slate); color: #fff; padding-top: clamp(130px, 16vh, 180px); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero--img { isolation: isolate; }
.page-hero--img .page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero--img .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(34,42,48,.9), rgba(34,42,48,.55)); }
.page-hero::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 1px solid rgba(239,187,32,.18); border-radius: 50%; pointer-events: none; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lede { color: rgba(255,255,255,.78); margin-top: 20px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: .78rem; letter-spacing: .04em; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,.7); }
.crumbs a:hover { color: var(--gold); }
.crumbs svg { width: 13px; height: 13px; color: rgba(255,255,255,.4); }
.crumbs [aria-current] { color: var(--gold); }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--h2); margin-top: 1.6em; padding-bottom: 20px; position: relative; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 1px; background: var(--gold); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose li { padding-left: .2em; }
.prose li::marker { color: var(--gold-deep); }
.prose a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { border-left: 2px solid var(--gold); padding-left: 22px; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 1.3rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--f-body); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; white-space: nowrap; } }

/* layout med sticky aside */
.layout-aside { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(36px, 5vw, 70px); align-items: start; }
.layout-aside > aside { position: sticky; top: 104px; }
.aside-card { background: var(--paper); border: 1px solid var(--line); padding: 28px; }
.aside-card h3 { font-size: 1.2rem; }
.aside-card p { font-size: .9rem; color: var(--mid); margin: 8px 0 18px; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-card .facts { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: .9rem; }
.aside-card .facts li { display: flex; gap: 10px; align-items: center; }
.aside-card .facts svg { width: 16px; height: 16px; color: var(--gold-deep); flex: none; }
@media (max-width: 900px) { .layout-aside { grid-template-columns: 1fr; } .layout-aside > aside { position: static; } }

/* feature-liste med guld-flueben */
.ticks { list-style: none; display: grid; gap: 13px; margin-top: 8px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; margin-top: 2px; }

/* kontakt-info kort */
.contact-list { list-style: none; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci { width: 46px; height: 46px; flex: none; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-deep); }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list .lbl { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.contact-list a, .contact-list .val { font-size: 1.05rem; color: var(--ink); font-weight: 500; }

/* form */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; font: inherit; font-size: .98rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 2px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field :focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(239,187,32,.18); }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--mid); }
.form__consent a { color: var(--gold-deep); text-decoration: underline; }
.form-note { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--mid); }
.form-note svg { width: 15px; height: 15px; color: var(--gold-deep); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Fillout embed (kontakt) ---------- */
/* MÅLT tidligere: Fillout-feltet caps ved ~525px og centrerer sig selv i embed'et.
   Vi kan ikke gøre feltet bredere — i stedet får overskrift + lede SAMME bredde-
   formel min(100% − 60px, 525px), centreret. Embed'et fylder blot containeren.
   Så flugter felt og tekst ved ENHVER skærmbredde. (Embed-div må ikke have inline width.) */
.ff-form > h2, .ff-form > p { width: calc(100% - 60px); max-width: 525px; margin-inline: auto; }
.ff-form [data-fillout-id] { position: relative; min-height: 500px; width: 100%; }
.ff-form [data-fillout-id]::before { content: ""; position: absolute; inset: 0; z-index: 2; background: #fff; }
.ff-form [data-fillout-id]::after {
  content: ""; position: absolute; left: 6px; right: 6px; top: 10px; bottom: 10px; z-index: 3;
  background:
    linear-gradient(var(--paper) 0 0) 0 0 / 55% 18px no-repeat,
    linear-gradient(var(--paper) 0 0) 0 34px / 100% 46px no-repeat,
    linear-gradient(var(--paper) 0 0) 0 104px / 55% 18px no-repeat,
    linear-gradient(var(--paper) 0 0) 0 138px / 100% 46px no-repeat,
    linear-gradient(var(--paper) 0 0) 0 208px / 55% 18px no-repeat,
    linear-gradient(var(--paper) 0 0) 0 242px / 100% 130px no-repeat,
    linear-gradient(rgba(239,187,32,.35) 0 0) 0 100% / 100% 50px no-repeat;
  animation: skel-pulse 1.4s ease-in-out infinite;
}
.ff-form [data-fillout-id].ff-ready::before,
.ff-form [data-fillout-id].ff-ready::after { display: none; }
@keyframes skel-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .ff-form [data-fillout-id]::after { animation: none; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .1s; }
.js .reveal[data-d="2"] { transition-delay: .2s; }
.js .reveal[data-d="3"] { transition-delay: .3s; }
.js .reveal[data-d="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* hero load-stagger */
.js .hero .anim { opacity: 0; transform: translateY(26px); animation: heroIn .9s var(--ease) forwards; }
.js .hero .anim[data-d="1"] { animation-delay: .15s; }
.js .hero .anim[data-d="2"] { animation-delay: .32s; }
.js .hero .anim[data-d="3"] { animation-delay: .5s; }
.js .hero .anim[data-d="4"] { animation-delay: .66s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .hero .anim { opacity: 1; transform: none; animation: none; } }

/* ---------- Mobil nav ---------- */
@media (max-width: 980px) {
  .burger { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; inset: 82px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--slate); border-bottom: 1px solid var(--line-dark);
    padding: 12px var(--gutter) 26px; transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; max-height: calc(100svh - 82px); overflow-y: auto;
  }
  .menu-open .nav__links { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav__links > li { border-bottom: 1px solid var(--line-dark); }
  .nav__links > li > a, .nav__trigger { width: 100%; padding: 16px 4px; font-size: 1rem; justify-content: space-between; }
  .nav__mobcta { display: block; margin-top: 22px; }
  .nav__mobcta .btn { width: 100%; justify-content: center; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; border: 0; box-shadow: none; background: transparent; padding: 0 0 10px;
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .has-menu[data-open="true"] .dropdown { max-height: 560px; }
  .has-menu:hover .dropdown { max-height: 0; }
  .has-menu[data-open="true"]:hover .dropdown { max-height: 560px; }
  /* åben-tilstandens desktop-transform translateX(-50%) skubber menuen ud af skærmen — nulstil */
  .has-menu:hover .dropdown,
  .has-menu[data-open="true"] .dropdown { transform: none; }
  .dropdown a { color: rgba(255,255,255,.7); padding: 11px 8px; }
  .dropdown a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .dropdown a svg { color: var(--gold); }
}
.nav__mobcta { display: none; }

/* ============================================================
   REVISIONER (runde 2)
   ============================================================ */
/* Dropdown-bro: usynligt felt dækker hullet mellem trigger og menu, så
   hover bevares — uden at røre selve menuens udseende. */
@media (min-width: 981px) {
  .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; background: transparent; }
}

/* --- Premium blog-oversigt: billedkort + featured --- */
.post-list { margin-top: 50px; display: grid; gap: clamp(20px, 2vw, 32px); }
.post-feat { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s var(--ease); }
.post-feat:hover { border-color: var(--gold); }
.post-feat__media { overflow: hidden; }
.post-feat__media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; transition: transform .6s var(--ease); }
.post-feat:hover .post-feat__media img { transform: scale(1.03); }
.post-feat__body { padding: clamp(30px, 3.5vw, 54px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.post-feat__body h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.12; }
.post-feat__body p { color: var(--mid); font-size: 1rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 26px); }
.post { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s var(--ease); }
.post:hover { border-color: var(--gold); }
.post__media { overflow: hidden; }
.post__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__media img { transform: scale(1.04); }
.post__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__cat { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.post h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.28rem; line-height: 1.18; }
.post p { font-size: .92rem; color: var(--mid); flex: 1; }
.post .arrow-link { font-size: .82rem; margin-top: 4px; }
@media (max-width: 820px) { .post-feat { grid-template-columns: 1fr; } .post-feat__media img { min-height: 220px; aspect-ratio: 16/9; } .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

/* --- Premium kontakt-split: mørkt info-panel + hvidt formkort --- */
.contact-split { display: grid; grid-template-columns: 0.9fr 1.1fr; border: 1px solid var(--line); overflow: hidden; }
.contact-panel { background: var(--slate); color: rgba(255,255,255,.8); padding: clamp(32px, 4vw, 60px); position: relative; overflow: hidden; }
.contact-panel::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px; border: 1px solid rgba(239,187,32,.2); border-radius: 50%; }
.contact-panel h2 { color: #fff; }
.contact-panel > p { color: rgba(255,255,255,.72); margin-top: 16px; }
.contact-panel .contact-list { margin-top: 34px; position: relative; z-index: 1; }
.contact-panel .contact-list .ci { border-color: rgba(255,255,255,.2); color: var(--gold); }
.contact-panel .contact-list .lbl { color: rgba(255,255,255,.5); }
.contact-panel .contact-list a, .contact-panel .contact-list .val { color: #fff; }
.contact-panel .contact-list a:hover { color: var(--gold); }
.contact-formwrap { background: var(--white); padding: clamp(28px, 3.5vw, 50px); }
.contact-formwrap .ff-form { text-align: left; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }

@media (min-width: 981px) { .nav__links { display: flex !important; } }
@media (max-width: 480px) { h1, h2 { hyphens: auto; } }
