/* AuraFlow: fælles stilark (runde 4, 02-11-2026).
   Retning: flade farver som en tryksag, rigtige skærmbilleder og én stor orange bølge tegnet
   fra logoets kurve. Ingen skygger, ingen glød, ingen kort-på-kort.
   Skrift: Barlow i én familie (SIL Open Font License), ligger lokalt i /fonts.
   Bevægelse: kun som svar på noget, brugeren gør. Intet animerer af sig selv. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/Barlow-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --navy: #0b1f3a;
  --orange: #F08A4B;       /* logoets orange */
  --on-orange: #0b1f3a;    /* tekst på orange */

  --bg: #ffffff;
  --surface: #f1f7fb;
  --surface-2: #e6f1f8;
  --text: #0b1f3a;
  --muted: #41536a;
  --border: #d3e0ea;
  --accent: #035d90;
  --focus: #035d90;
  --illu-fill: #035d90;
  --orange-ui: #a8410f;    /* dyb orange til små markører på lys baggrund */

  /* Farvefladerne */
  --sky: #cfe8f5;
  --sky-ink: #0b1f3a;
  --mango: #ffcf5c;
  --mango-ink: #0b1f3a;
  --house: #0f5c4c;
  --house-ink: #ffffff;
  --peach: #ffe4d4;
  --peach-ink: #0b1f3a;
  --footer: #0b1f3a;
  --footer-ink: #eaf4fb;

  /* Standard: fladen er siden selv. Hver .band sætter sine egne. */
  --band-bg: var(--bg);
  --band-ink: var(--text);

  --gutter: clamp(16px, 4.5vw, 64px);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1730;
    --surface: #10223f;
    --surface-2: #162c4e;
    --text: #eaf2fa;
    --muted: #b4c3d6;
    --border: #2a4266;
    --accent: #8fd6fb;
    --focus: #8fd6fb;
    --illu-fill: #8fd6fb;
    --orange-ui: #f6a877;

    --sky: #0e2c4a;
    --sky-ink: #eaf4fb;
    --mango: #63460a;
    --mango-ink: #fff3d1;
    --house: #0c4438;
    --house-ink: #ffffff;
    --peach: #4a2a1a;
    --peach-ink: #ffe9dc;
    --footer: #060f20;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.1875rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: #bae6fd; color: #0b1f3a; }

h1, h2, h3 { font-weight: 600; line-height: 1.04; letter-spacing: -.018em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); line-height: 1; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.65rem); line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; max-width: 60ch; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 600; }
figure { margin: 0; }
figcaption { font-size: .95rem; color: var(--muted); margin-top: .7rem; max-width: 52ch; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.lead { font-size: clamp(1.25rem, 1.7vw, 1.45rem); line-height: 1.42; max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: .7em 1em; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Farveflader ---------- */
.band { background: var(--band-bg); color: var(--band-ink); overflow: hidden; }
.band a:not(.btn) { color: inherit; }
.band :focus-visible { outline-color: currentColor; }
.band--sky { --band-bg: var(--sky); --band-ink: var(--sky-ink); }
.band--mango { --band-bg: var(--mango); --band-ink: var(--mango-ink); }
.band--house { --band-bg: var(--house); --band-ink: var(--house-ink); }
.band--peach { --band-bg: var(--peach); --band-ink: var(--peach-ink); }
.band--orange { --band-bg: var(--orange); --band-ink: var(--on-orange); }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .7em 1.4em; border-radius: 6px;
  font: 600 1.125rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn--ink { background: var(--band-ink); color: var(--band-bg); }
.btn--ink:hover { background: var(--band-bg); color: var(--band-ink); border-color: var(--band-ink); }
.btn--primary { background: var(--orange); color: var(--on-orange); }
.btn--primary:hover { background: var(--text); color: var(--bg); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.6rem; }
.text-link { font-weight: 600; }

/* ---------- Top ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; color: var(--text); text-decoration: none; }
.brand-word { width: auto; height: 32px; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav-list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-list a, .lang-link { display: inline-flex; align-items: center; min-height: 44px; padding: .3em .8em; color: var(--text); text-decoration: none; font-weight: 500; font-size: 1.0625rem; }
.nav-list a:hover, .lang-link:hover { text-decoration: underline; text-underline-offset: .4em; }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: .4em; }
.nav-toggle { display: none; align-items: center; gap: .5em; min-height: 44px; padding: .3em .8em; border-radius: 6px; border: 2px solid var(--text); background: transparent; color: var(--text); font: 600 1rem var(--font); cursor: pointer; }
@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav-list { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: .4rem var(--gutter) 1.2rem; background: var(--bg); border-bottom: 2px solid var(--text); }
  .js .nav-list.is-open { display: flex; }
  .js .nav-list a { font-size: 1.25rem; padding: .6em 0; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: .6rem; }
  .no-js .nav, .no-js .nav-list { flex-wrap: wrap; }
}

/* ---------- Forsidens åbning ---------- */
.hero { position: relative; overflow: hidden; }
.hero-wave { position: absolute; left: 60%; bottom: 0; width: max(118%, 1100px); max-width: none; overflow: visible; transform: translate(-50%, 43%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero-text { padding-block: clamp(44px, 6vw, 84px) clamp(64px, 9vw, 132px); }
.hero-text h1 { max-width: 12em; }
.hero-text .lead { margin-bottom: 1.7rem; max-width: 28em; }
.hero-phones { display: flex; justify-content: flex-end; gap: clamp(12px, 2vw, 24px); height: clamp(320px, 36vw, 462px); overflow: hidden; }
.hero-phones .phone { flex: 0 1 260px; min-width: 0; width: 50%; height: auto; align-self: flex-start; }
.hero-phones .phone + .phone { margin-top: 56px; }

/* Telefoner: rigtige skærmbilleder, skåret af i bunden */
.phone { border: 7px solid var(--navy); border-radius: 30px; background: #fff; }
.phone--cut { border-bottom: 0; border-radius: 30px 30px 0 0; }

/* ---------- Sektioner ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(44px, 5vw, 72px) clamp(32px, 4vw, 56px); }
.heading { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 1rem clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.heading h2 { margin: 0; }
.heading p { margin: 0; }

/* Status: altid ord, aldrig kun farve */
.tag { display: inline-block; padding: .22em .7em .26em; border-radius: 4px; background: var(--band-ink); color: var(--band-bg); font-size: 1rem; font-weight: 600; line-height: 1.25; }

/* ---------- Projekter som farvebånd ---------- */
.project { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.project-text { padding-block: clamp(44px, 6vw, 88px); }
.project-text > .tag { margin-bottom: 1rem; }
.project-name { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -.02em; margin-bottom: .35em; }
.gains { list-style: none; padding: 0; margin: 1.3rem 0 1.6rem; display: grid; gap: .55rem; max-width: 34em; }
.gains li { position: relative; padding-left: 2.1rem; }
.gains li::before { content: ""; position: absolute; left: 0; top: .42em; width: 1.35rem; height: .55rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M2.4 6c4.2-3.8 8.4-3.8 12.6 0s8.4 3.8 12.6 0' fill='none' stroke='%23000' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M2.4 6c4.2-3.8 8.4-3.8 12.6 0s8.4 3.8 12.6 0' fill='none' stroke='%23000' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }

.mango-pics { position: relative; align-self: stretch; min-height: 320px; margin-right: calc((100vw - min(1200px, 100vw - 2 * var(--gutter))) / -2); }
.mango-pics .wide { position: absolute; left: 22%; top: clamp(32px, 6vw, 80px); width: 900px; max-width: none; border: 7px solid var(--navy); border-radius: 16px 0 0 0; }
.mango-pics .phone { position: absolute; left: 0; top: clamp(96px, 12vw, 170px); width: clamp(170px, 19vw, 230px); }

.house-grid { align-items: stretch; }
.house-pics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); }
.house-pics .phone-wrap { position: relative; overflow: hidden; }
.house-pics .phone { position: absolute; left: 0; top: clamp(32px, 5vw, 64px); width: 100%; }

/* Prøv-selv-stempelkortet */
.stamp { --band-bg: var(--bg); --band-ink: var(--text); align-self: center; background: var(--band-bg); color: var(--band-ink); padding: clamp(18px, 2.2vw, 26px); border-radius: 12px; }
.stamp h4 { margin: 0 0 .9rem; font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.stamp-row { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; max-width: 230px; }
.stamp-row li { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--muted); font-size: .8125rem; font-weight: 600; transition: background-color .15s ease, transform .15s ease; }
.stamp-row li.on { background: var(--orange); border-color: var(--orange); transform: scale(1.04); }
.stamp-row li.free { border-style: dashed; border-color: var(--text); }
.stamp-row li.free.on { background: var(--text); color: var(--bg); border-style: solid; }
.stamp-status { margin: 0 0 .8rem; min-height: 3em; font-size: 1.0625rem; line-height: 1.3; }
.stamp-btn { width: 100%; }
.no-js .stamp-btn { display: none; }

/* Mango-domæner */
.markets { display: flex; flex-wrap: wrap; gap: .7rem 1rem; margin: 1.2rem 0 0; }
.market { display: inline-flex; flex-direction: column; min-width: min(100%, 15rem); padding: .7rem 1rem .75rem; border: 2px solid currentColor; border-radius: 6px; text-decoration: none; }
.market:hover .market-domain { text-decoration: underline; }
.market-country { font-size: 1rem; }
.market-domain { font-size: 1.3125rem; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow-wrap: normal; }
.market-price { font-size: 1rem; }

/* På vej */
.coming { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.coming-item { padding: clamp(22px, 3vw, 36px); }
.coming-item h4 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; margin: .8rem 0 .4em; }
.coming-item p { margin: 0; }

/* Det kan vi bygge */
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 44px) clamp(28px, 5vw, 80px); }
.offers h3 { margin-bottom: .3em; }
.offers h3 a { color: var(--text); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.offers h3 a:hover { text-decoration-thickness: 3px; }
.offers p { margin: 0; color: var(--muted); }

/* Forløb: en rigtig rækkefølge, derfor numre */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); counter-reset: p; }
.process li { counter-increment: p; }
.process li::before { content: counter(p); display: block; font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 600; line-height: 1; margin-bottom: .25em; }
.process h3 { margin-bottom: .3em; }
.process p { margin: 0; }

/* Kontaktfeltet */
.talk { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem clamp(24px, 5vw, 80px); align-items: end; padding-block: clamp(52px, 7vw, 96px); }
.talk h2 { margin-bottom: .3em; }
.talk p { margin-bottom: 0; }
.reach { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; line-height: 1.25; }
.reach + p { margin-top: 1.1rem; }
.reach-note { display: block; margin-top: .3rem; font-size: 1.0625rem; font-weight: 400; }

/* ---------- Undersider ---------- */
.page-intro { padding-block: clamp(44px, 7vw, 96px) clamp(40px, 6vw, 80px); }
.page-intro h1 { max-width: 13em; }
.page-intro p { margin: 0; }

/* Ydelser */
.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem clamp(28px, 5vw, 80px); padding-block: clamp(40px, 6vw, 72px); border-top: 2px solid var(--text); scroll-margin-top: 90px; }
.service:first-child { border-top: 0; }
.service h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.facts { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .55rem; }
.facts li { position: relative; padding-left: 1.2rem; max-width: 34em; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-ui); }
.band .facts li::before { background: currentColor; }
.aside { margin: 1.2rem 0 0; padding: .9rem 1.1rem 1rem; background: var(--surface-2); }
.aside strong { display: block; }

/* Projekter-siden */
.case-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(48px, 7vw, 96px); scroll-margin-top: 90px; }
.case-grid .project-name { margin-top: .8rem; }
.case-pics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(12px, 2vw, 22px); align-items: start; }
.case-pics .phone + .phone { margin-top: 44px; }
.case-wide { grid-column: 1 / -1; }
.case-wide img { width: 100%; border: 7px solid var(--navy); border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.sub-h { font-size: 1.3125rem; font-weight: 600; letter-spacing: 0; margin: 1.7rem 0 .6rem; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1.2rem; margin: 1.2rem 0; }
.dl dt { font-weight: 600; }
.dl dd { margin: 0; }
.fine { font-size: 1rem; }
.note { padding-left: 1rem; border-left: 4px solid currentColor; }
.steps-list { padding: 0 0 0 1.4rem; margin: 0 0 1.4rem; display: grid; gap: .5rem; }
.steps-list li { max-width: 34em; }
.steps-list li::marker { font-weight: 600; }

/* Om os */
.vision { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; line-height: 1.15; letter-spacing: -.012em; margin: 0 0 1rem; text-wrap: balance; max-width: 22em; }
.twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); }
.twocol h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.promises { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.promises h3 { margin-bottom: .3em; }
.promises p { margin: 0; }

/* Privatliv */
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 2rem; }

/* ---------- Bund ---------- */
.site-footer { background: var(--footer); color: var(--footer-ink); padding-block: clamp(44px, 6vw, 72px) 1.6rem; }
.site-footer a { color: inherit; }
.site-footer .brand { color: #fff; }
.site-footer :focus-visible { outline-color: currentColor; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer-grid h2 { font-size: 1.125rem; font-weight: 600; letter-spacing: 0; margin-bottom: .6rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-tag { max-width: 24rem; margin-top: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; margin-top: 2.4rem; padding-top: 1.1rem; border-top: 1px solid currentColor; font-size: 1rem; }
.footer-bottom p { margin: 0; max-width: none; }

/* ---------- Reduceret bevægelse ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Meget brede skærme: bølgen vokser med bredden og skal holdes under teksten */
@media (min-width: 1700px) {
  .hero-wave { left: 66%; transform: translate(-50%, 52%); }
}

/* ---------- Mindre skærme ---------- */
@media (max-width: 960px) {
  .hero-grid, .project, .heading, .case-grid, .service, .talk, .twocol { grid-template-columns: minmax(0, 1fr); }
  .hero-text { padding-bottom: 8px; }
  .hero-phones { justify-content: center; height: clamp(340px, 86vw, 560px); }
  .hero-phones .phone { flex-basis: 240px; }
  .hero-wave { left: 50%; width: max(150%, 900px); transform: translate(-50%, 30%); }
  .project-text { padding-bottom: 8px; }
  .mango-pics { min-height: clamp(320px, 78vw, 540px); margin-left: 0; }
  .house-pics .phone-wrap { min-height: 460px; }
  .house-pics .phone { top: 0; }
  .process, .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1.125rem; }
  .process, .offers, .coming, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .house-pics { grid-template-columns: minmax(0, 1fr); }
  .house-pics .phone-wrap { min-height: 104vw; justify-self: center; width: min(82%, 300px); }
  .stamp { margin-bottom: 0; }
  .stamp-row { max-width: none; grid-template-columns: repeat(5, minmax(0, 52px)); }
  .stamp-status { min-height: 0; }
  .dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dl dd { margin-bottom: .6rem; }
  .actions .btn { flex: 1 1 100%; }
  .market { width: 100%; }
}
/* Netlify lægger en ramme til sit mærkat i hjørnet på gratis-planen. Sidens CSP blokerer indholdet,
   så rammen bliver tom og usynlig, men den dækker stadig links og er et tomt stop for tastaturet. */
#nl-badge-frame { display: none !important; }

@media print { .site-header, .nav-toggle, .hero-wave { display: none; } }
