/* ==========================================================================
   Clever Coating — designtokens
   ========================================================================== */
:root {
  --petrol: #0f4c5c;
  --petrol-700: #0b3b48;
  --petrol-900: #072630;
  --petrol-300: #4f8a99;
  --petrol-100: #dce9ec;
  --ink: #0d1a1f;
  --slate: #5a6870;
  --line: #d9e0e2;
  --paper: #ffffff;
  --mist: #f3f6f7;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 14px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 200ms;
  --t-med: 600ms;
  --t-slow: 1100ms;

  --z-nav: 40;
  --z-menu: 30;
  --z-loader: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(2.4rem, 6.5vw, 6rem); text-wrap: balance; }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--petrol-300); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--petrol); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 16px; }

.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--petrol); margin-bottom: 1.5rem;
}
.eyebrow--light { color: var(--petrol-100); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--petrol); color: #fff; font: 600 .95rem/1 var(--font);
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background var(--t-fast), transform var(--t-fast);
}
.btn:hover { background: var(--petrol-700); }
.btn:disabled { opacity: .5; cursor: progress; transform: none; }
.btn:active { transform: scale(.97); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: .85rem; }
.btn--light { background: #fff; color: var(--petrol); }
.btn--light:hover { background: var(--petrol-100); }

/* ==========================================================================
   Loader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  display: grid; place-items: center; background: var(--petrol);
  transition: transform 900ms var(--ease-in-out);
}
.loader__mark { width: 96px; fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round; overflow: visible; }
.loader__mark path { opacity: 0; transform: translateY(-14px); animation: layerIn 500ms var(--ease-out) forwards; }
.loader__mark path:nth-child(3) { animation-delay: 100ms; }
.loader__mark path:nth-child(2) { animation-delay: 300ms; }
.loader__mark path:nth-child(1) { animation-delay: 500ms; }
@keyframes layerIn { to { opacity: 1; transform: none; } }
.is-loaded .loader { transform: translateY(-100%); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  color: var(--petrol);
  transition: background var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease-out);
}
.nav.is-solid { background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
/* Hvid menu mens den ligger over det udfoldede heltebillede */
.nav.is-light, .nav.is-light .nav__toggle { color: #fff; }
.nav.is-light .btn--small { background: #fff; color: var(--petrol); }
.nav__brand {
  display: flex; align-items: center; gap: 12px; margin-right: auto;
  text-decoration: none; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem;
  min-height: 44px;
}
.mark { width: 34px; fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linejoin: round; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { text-decoration: none; font-size: .9rem; font-weight: 500; position: relative; padding: 10px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 400ms var(--ease-out);
}
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px; color: var(--petrol);
}
.nav__toggle span { width: 24px; height: 2px; background: currentColor; transition: transform 300ms var(--ease-out); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--paper);
  display: flex; align-items: flex-end; padding: 96px var(--gutter) 48px;
}
.menu[hidden] { display: none; }
.menu { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 32px; }
.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu .menu__cta { font-size: 1rem; letter-spacing: 0; color: #fff; padding: 0 28px; }
.menu a { font-size: clamp(2.2rem, 11vw, 3.5rem); font-weight: 500; letter-spacing: -0.03em; text-decoration: none; color: var(--petrol); padding: 4px 0; }

@media (max-width: 860px) {
  .nav__links, .nav .btn--small { display: none; }
  .nav__toggle { display: flex; }
}

/* ==========================================================================
   Hero — billedet folder sig ud til fuld bredde mens man scroller
   ========================================================================== */
.hero { height: 210vh; position: relative; }
.hero__sticky {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; padding: 96px var(--gutter) 24px;
}
.hero__title {
  font-size: clamp(3.4rem, 13.5vw, 13rem); font-weight: 600; letter-spacing: -0.055em; line-height: .88;
  color: var(--petrol); position: relative; z-index: 2;
}
.hero__title em { font-style: normal; color: var(--petrol-300); }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform var(--t-slow) var(--ease-out); }
.line:nth-child(2) > span { transition-delay: 120ms; text-indent: clamp(0px, 14vw, 22rem); }
.is-loaded .line > span { transform: none; transition-delay: 700ms; }
.is-loaded .line:nth-child(2) > span { transition-delay: 820ms; }

.hero__media {
  --p: 0;
  position: absolute; inset: 0; z-index: 1;
  clip-path: inset(
    calc(56% - 56% * var(--p)) calc(var(--gutter) * (1 - var(--p)) + 30% * (1 - var(--p)))
    calc(16% * (1 - var(--p))) calc(var(--gutter) * (1 - var(--p)))
    round calc(var(--radius) * (1 - var(--p)))
  );
  will-change: clip-path;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.15 - .15 * var(--p))); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,38,48,.7) 0%, rgba(7,38,48,.15) 55%, rgba(7,38,48,.55) 100%);
  opacity: var(--p);
}
.hero__title { transition: color 300ms; }
.hero.is-open .hero__title { color: #fff; }
.hero.is-open .hero__title em { color: var(--petrol-100); }

.hero__meta {
  position: relative; z-index: 2; grid-row: 3;
  display: flex; justify-content: flex-end; align-items: end; gap: 24px;
  color: var(--slate); font-weight: 500; max-width: 100%;
}
.hero__meta p { max-width: 30ch; }
.hero.is-open .hero__meta { color: #fff; }
.scroll-cue { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; min-height: 44px; }
.scroll-cue i { width: 1px; height: 44px; background: currentColor; transform-origin: top; animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 640px) {
  .hero { height: 170vh; }
  .hero__media { clip-path: inset(calc(48% - 48% * var(--p)) calc(var(--gutter) * (1 - var(--p))) calc(14% * (1 - var(--p))) calc(var(--gutter) * (1 - var(--p))) round calc(var(--radius) * (1 - var(--p)))); }
  .hero__meta .scroll-cue { display: none; }
}

/* ==========================================================================
   Intro + ord-for-ord reveal
   ========================================================================== */
.intro { padding: clamp(96px, 16vw, 220px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.statement { font-size: clamp(1.6rem, 4.2vw, 3.8rem); line-height: 1.15; font-weight: 500; letter-spacing: -0.025em; color: var(--petrol); max-width: 24ch; }
.statement .w { opacity: .14; transition: opacity 400ms; }
.statement .w.on { opacity: 1; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 28px 0; }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -0.03em; color: var(--petrol); white-space: nowrap; }
.marquee b { width: 46px; height: 14px; border: 2.5px solid var(--petrol-300); transform: skewX(-40deg); border-radius: 2px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sektioner
   ========================================================================== */
.section { padding: clamp(80px, 12vw, 180px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.section__head { margin-bottom: clamp(48px, 7vw, 96px); color: var(--petrol); }

.services__list { border-top: 1px solid var(--line); }
.service {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 10rem; gap: 24px; align-items: baseline;
  padding: 40px 0; border-bottom: 1px solid var(--line); isolation: isolate;
}
.service::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--petrol);
  transform: scaleY(0); transform-origin: bottom; transition: transform 500ms var(--ease-out);
}
.service:hover::before, .service:focus-within::before { transform: scaleY(1); }
.service, .service * { transition: color 300ms; }
.service:hover, .service:focus-within { color: #fff; }
.service h3 { font-size: clamp(1.6rem, 3.2vw, 2.8rem); font-weight: 500; letter-spacing: -0.03em; color: var(--petrol); }
.service:hover h3, .service:focus-within h3 { color: #fff; }
.service p { max-width: 46ch; }
.service__link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap;
  justify-self: end; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--petrol);
}
.service__link::after { content: ""; position: absolute; inset: 0; }
.service__link:focus-visible { outline-offset: 6px; }
.service__link span { display: inline-block; transition: transform 400ms var(--ease-out); }
.service:hover .service__link, .service:focus-within .service__link { color: #fff; }
.service:hover .service__link span { transform: translateX(6px); }
@media (max-width: 760px) {
  .service { grid-template-columns: 1fr; gap: 12px; }
}

/* ==========================================================================
   Lagsystemer — 3D-opbygning der skilles ad ved scroll
   ========================================================================== */
.layers { height: 260vh; background: var(--petrol-900); color: #fff; position: relative; }
.layers__sticky {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 24px;
  padding: 96px var(--gutter) 48px; max-width: var(--max); margin: 0 auto;
}
.layers h2 { margin-bottom: 40px; }
.layers__desc { max-width: 38ch; color: rgba(255,255,255,.78); min-height: 5em; }

.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); margin-bottom: 24px; }
.toggle button {
  position: relative; z-index: 1; min-width: 104px; min-height: 44px; border: 0; background: none; cursor: pointer;
  font: 600 .9rem var(--font); color: #fff; border-radius: 999px; transition: color 300ms;
}
.toggle button[aria-checked="true"] { color: var(--petrol); }
.toggle__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #fff; transition: transform 500ms var(--ease-out); }
.toggle[data-active="3"] .toggle__pill { transform: translateX(100%); }

.stack {

  position: relative; height: min(70vh, 620px); perspective: 1600px;
}
.stack__plane, .stack { transform-style: preserve-3d; }
.slab {
  --i: 0; --t: 18px;
  position: absolute; left: 40%; top: 50%; width: min(32vw, 420px); aspect-ratio: 1.35;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-38deg)
             translateZ(calc(var(--i) * (var(--t) + var(--spread) * 72px)));
  transition: transform 700ms var(--ease-out), opacity 500ms;
  border-radius: 3px;
}
/* Sideflader giver lagene tykkelse */
.slab::before, .slab::after { content: ""; position: absolute; background: inherit; filter: brightness(.7); }
.slab::before { left: 0; right: 0; bottom: 0; height: var(--t); transform-origin: bottom; transform: rotateX(90deg); }
.slab::after { top: 0; bottom: 0; right: 0; width: var(--t); transform-origin: right; transform: rotateY(-90deg); filter: brightness(.55); }

.slab--base   { --i: 0; --t: 34px; background: #4a5257 radial-gradient(circle at 30% 40%, rgba(255,255,255,.08) 0 1px, transparent 2px) 0 0/9px 9px; }
.slab--primer { --i: 1; --t: 8px;  background: #c7d0d3; }
.slab--epoxy1 { --i: 2; --t: 10px; background: var(--petrol-300); }
.slab--epoxy2 { --i: 3; --t: 10px; background: linear-gradient(135deg, #2a7486 0%, var(--petrol) 55%, #0b3d4a 100%); }
.slab--epoxy2 { box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }

/* base sidder lidt lavere så stakken står centreret */
.stack .slab { margin-top: 60px; }

/* Labels ligger fladt ovenpå 3D-scenen; JS placerer dem ud for hvert lag */
.stage { position: relative; }
.stack__labels { position: absolute; inset: 0; pointer-events: none; }
.stack__labels li {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  opacity: calc(var(--spread, 0) * 1.6 - .4);
  transition: opacity 400ms;
}
.stack__labels li::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.stack__labels[data-system="2"] [data-label="epoxy2"] { opacity: 0 !important; }

.stack[data-system="2"] .slab--epoxy2 { opacity: 0; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-38deg) translateZ(320px); pointer-events: none; }

@media (max-width: 860px) {
  .layers { height: 240vh; }
  .layers__sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 88px; align-items: start; }
  .layers h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 10vw, 3rem); }
  .layers__desc { min-height: 0; }
  .stack { height: 46vh; }
  .slab { width: 50vw; left: 40%; }
  .stack__labels li { font-size: .62rem; }
  .stack__labels li::before { width: 14px; }
}

/* Teknisk tegning + egenskaber */
.diagram { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.diagram figure { margin: 0; background: var(--mist); border-radius: var(--radius); padding: clamp(20px, 4vw, 48px); }
.diagram figcaption { margin-top: 16px; font-size: .85rem; color: var(--slate); }
.props { display: grid; gap: 0; border-top: 1px solid var(--line); }
.props li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.props strong { font-weight: 600; color: var(--petrol); font-size: 1.1rem; }
.props span { color: var(--slate); }
@media (max-width: 860px) { .diagram { grid-template-columns: 1fr; } }

/* Proces */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.step { padding: 32px 24px 32px 0; border-top: 2px solid var(--line); position: relative; }
.step::before {
  content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%; background: var(--petrol);
  transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-out);
}
.step.in::before { transform: scaleX(1); }
.step > span { display: block; font-size: .8rem; font-weight: 600; color: var(--petrol-300); margin-bottom: 40px; }
.step h3 { color: var(--petrol); margin-bottom: 12px; }
.step p { color: var(--slate); font-size: .95rem; }
.process__cta {
  margin-top: clamp(48px, 6vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px 32px; background: var(--mist); border-radius: var(--radius);
}
.process__cta p { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; color: var(--petrol); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step > span { margin-bottom: 16px; } }

/* ==========================================================================
   Projekt
   ========================================================================== */
/* Billedet beskæres til venstre del (porte, lift og gulv); højre halvdel af fotoet bruges ikke her */
.project {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center;
  gap: clamp(32px, 6vw, 96px); padding: 0 var(--gutter) 0 0; background: var(--mist);
}
.project__frame { position: relative; height: 100vh; height: 100dvh; min-height: 560px; overflow: hidden; }
.project__media { position: absolute; inset: -10% 0; }
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 60%; }
.project__card {
  position: relative; background: #fff; border-radius: var(--radius); padding: clamp(24px, 3.5vw, 44px);
  width: min(460px, 100%);
}
@media (max-width: 860px) {
  .project { grid-template-columns: 1fr; padding: 0 0 clamp(64px, 12vw, 96px); }
  .project__frame { height: 70vh; min-height: 420px; }
  .project__card { margin: -96px var(--gutter) 0; width: auto; }
}
.project__card h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--petrol); margin-bottom: 28px; }
.project__card dl { margin: 0; display: grid; gap: 0; }
.project__card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.project__card dt { color: var(--slate); }
.project__card dd { margin: 0; font-weight: 600; text-align: right; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact {
  background: var(--petrol); color: #fff;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px);
  padding: clamp(80px, 12vw, 160px) var(--gutter);
}
.contact h2 { margin-bottom: 28px; }
.contact__intro > p:not(.eyebrow) { color: rgba(255,255,255,.8); max-width: 40ch; }
.contact__info { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.2); }
.contact__info li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.2); flex-wrap: wrap; }
.contact__info span { color: rgba(255,255,255,.7); }
.contact__info a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__info a:hover { text-decoration: underline; }

.form { display: grid; gap: 40px; align-content: start; }
.form__group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form__group legend {
  grid-column: 1 / -1; padding: 0 0 16px; margin-bottom: 8px; width: 100%;
  font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--petrol-100);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 0; font: 500 1rem var(--font); color: #fff;
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.4); border-radius: 0;
  transition: border-color var(--t-fast);
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; cursor: pointer; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: #fff; box-shadow: 0 1px 0 #fff; }
.field [aria-invalid="true"] { border-bottom-color: #ffb4a8; }
.field__error { color: #ffcfc7; font-size: .85rem; min-height: 1.2em; }
.field__error:empty { min-height: 0; }
.field__help { font-size: .85rem; color: rgba(255,255,255,.65); }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status.is-error { padding: 16px 20px; border-radius: 10px; background: rgba(255,180,168,.16); color: #ffe1dc; }
.form__status a { color: #fff; white-space: nowrap; }
.form__note { font-size: .85rem; color: rgba(255,255,255,.7); }
.form__status { font-weight: 600; flex-basis: 100%; }
.form__status:empty { display: none; }
.form__status.is-success {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 10px;
  background: rgba(255,255,255,.12);
}
.form__status.is-success::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f4c5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .form__group { grid-template-columns: 1fr; }
}

/* Footer */
.footer { padding: 48px var(--gutter) 32px; }
/* Beskær den petrol-bjælke, der ligger i bunden af logofilen */
.footer__logo { width: min(560px, 90%); margin: 0 auto 8px; clip-path: inset(0 0 6% 0); margin-bottom: -2%; }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: 24px; }
.footer__group { display: flex; align-items: flex-start; gap: 8px 32px; flex-wrap: wrap; }
.footer__stack { display: flex; flex-direction: column; gap: 4px; }
.footer__row a { text-decoration: none; min-height: 24px; }
.footer__row a:hover { color: var(--petrol); }

/* ==========================================================================
   Scroll-reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Reduceret bevægelse
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
  .marquee__track { animation: none; }
  .hero { height: auto; }
  .hero__sticky { position: relative; }
  .layers { height: auto; }
  .layers__sticky { position: relative; height: auto; min-height: 100vh; }
}
