/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Rivernile - fælles stilark. Hvid og rolig opbygning med navy og guld som markering. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0a192f;
  --gold: #b89b5e;
  --gold-light: #d4bc8a;
  --text: #1e293b;
  --muted: #6b7280;
  --line: #e7e5e0;
  --soft: #f6f5f2;
  --pad-x: 7%;
  --max: 1240px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text); background: #fff; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
main { display: block; }
.indre { max-width: var(--max); margin: 0 auto; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(8px);
  height: 84px; padding: 0 var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
nav.rullet { border-bottom-color: var(--line); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo img { width: 38px; height: 38px; border-radius: 50%; }
.nav-right { display: flex; align-items: center; gap: 2.8rem; }
nav ul { list-style: none; display: flex; align-items: center; gap: 2.4rem; }
nav ul a {
  text-decoration: none; color: var(--text); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; transition: all 0.25s;
}
nav ul a:hover, nav ul a.aktiv { color: var(--navy); border-bottom-color: var(--gold); }
.nav-cta { border: 1px solid var(--navy) !important; padding: 9px 18px !important; }
.nav-cta:hover, .nav-cta.aktiv { background: var(--navy); color: #fff !important; }

/* SPROG */
.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
  display: flex; align-items: center; gap: 4px; background: none; border: 1px solid transparent;
  padding: 3px 7px; border-radius: 3px; cursor: pointer; font-size: 0.72rem; font-weight: 600; color: var(--muted); font-family: inherit;
}
.lang-btn.active { border-color: var(--line); color: var(--navy); }
.lang-flag { width: 18px; height: 12px; border-radius: 2px; }

/* MOBILMENU */
.hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1002; }
.hamburger span { display: block; width: 26px; height: 1.5px; background: var(--navy); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(10,25,47,0.35); z-index: 999; }
.mobile-overlay.show { display: block; }
.mobile-nav {
  display: none; position: fixed; top: 0; right: 0; width: min(340px, 88vw); height: 100vh; background: #fff; z-index: 1001;
  flex-direction: column; padding: 100px 2rem 2rem; box-shadow: -10px 0 30px rgba(0,0,0,0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.mobile-nav a.aktiv { color: var(--gold); }
.mobile-lang { display: flex; gap: 8px; margin-top: 1.5rem; }

/* FÆLLES */
section { padding: 90px var(--pad-x); }
.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600; color: var(--navy); line-height: 1.2; letter-spacing: -0.02em; }
.sektion-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; }
.mere-link { color: var(--navy); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 4px; white-space: nowrap; }
.mere-link:hover { color: var(--gold); }
.bg-soft { background: var(--soft); }
.bg-light { background: #fff; }
.knap {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none; border: 1px solid var(--navy);
  padding: 0.95rem 2.2rem; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; font-family: inherit; transition: all 0.25s;
}
.knap:hover { background: #fff; color: var(--navy); }
.knap-lys { background: transparent; color: var(--navy); }
.knap-lys:hover { background: var(--navy); color: #fff; }
.knap-navy { background: var(--navy); color: #fff; }

/* FORSIDE: KARRUSEL */
.forside-top { padding: 120px var(--pad-x) 40px; }
.karrusel { position: relative; max-width: var(--max); margin: 0 auto; aspect-ratio: 16 / 8; background: #fff; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; display: flex; align-items: center; justify-content: center; }
.slide.aktiv { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.slide-tekst {
  position: absolute; left: 0; bottom: 0; z-index: 2; background: rgba(255,255,255,0.94);
  padding: 1.6rem 2rem 1.4rem 0; max-width: 460px;
}
.slide-tekst h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 0.3rem; }
.slide-tekst p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.slide-tekst p.slide-kredit { color: var(--navy); font-size: 0.85rem; margin: -0.4rem 0 1.1rem; }
.karrusel-prikker { display: flex; gap: 10px; justify-content: center; margin-top: 1.4rem; }
.karrusel-prikker button { width: 26px; height: 2px; border: none; background: #cfcac0; cursor: pointer; padding: 0; }
.karrusel-prikker button.aktiv { background: var(--navy); width: 40px; }

.intro-blok { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; max-width: var(--max); margin: 0 auto; align-items: start; }
.intro-blok h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 600; color: var(--navy); line-height: 1.15; letter-spacing: -0.025em; }
.intro-blok h1 em { font-style: normal; color: var(--gold); }
.intro-blok p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.6rem; }
.intro-links { display: flex; gap: 2rem; flex-wrap: wrap; }

/* KRÆFTER GENNEM HUSET (animation) */
.kraefter { background: #fff; }
.kraefter-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: center; max-width: var(--max); margin: 0 auto; }
.kraefter-tekst p { color: var(--muted); font-size: 1.05rem; margin: 1.2rem 0 1.6rem; }
.last-liste { list-style: none; border-top: 1px solid var(--line); }
.last-liste li { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.last-sym { width: 34px; height: 34px; border: 1px solid var(--gold); color: var(--navy); font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kraefter-fig svg { width: 100%; height: auto; display: block; }
.kraefter-fig .lab { font: 700 22px Inter, sans-serif; fill: #0a192f; }
.kraefter-fig .lab-lille { font: 500 14px Inter, sans-serif; fill: #6b7280; }
.kraefter-fig .lastvej { stroke-dasharray: 14 18; animation: lastvej 1.6s linear infinite; }
.kraefter-fig .sne { animation: sne 3.2s ease-in infinite; }
.kraefter-fig .snelag { opacity: 0; animation: snelag 6.4s ease-in-out infinite; }
.kraefter-fig .vind line { animation: vind 1.8s ease-in-out infinite; }
.kraefter-fig .vind line:nth-child(2) { animation-delay: 0.25s; }
.kraefter-fig .vind line:nth-child(3) { animation-delay: 0.5s; }
.kraefter-fig .egenlast { animation: puls 2.4s ease-in-out infinite; }
.kraefter-fig .tryk { animation: tryk 1.6s ease-in-out infinite; transform-origin: 400px 412px; }
@keyframes lastvej { to { stroke-dashoffset: -64; } }
@keyframes sne { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(70px); opacity: 0; } }
@keyframes snelag { 0%, 20% { opacity: 0; } 45%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes vind { 0%, 100% { transform: translateX(-8px); opacity: 0.4; } 50% { transform: translateX(6px); opacity: 1; } }
@keyframes puls { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@keyframes tryk { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .kraefter-fig * { animation: none !important; }
  .kraefter-fig .snelag { opacity: 1; }
}

/* REFERENCER: TEMAER OG LISTE */
.tema-sektion { background: #fff; }
.tema-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; max-width: var(--max); margin: 2.5rem auto 0; border-top: 1px solid var(--line); }
.tema-flise { display: grid; grid-template-columns: 64px 1fr 20px; align-items: center; gap: 0.8rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.tema-flise:hover .tema-navn { color: var(--gold); }
.tema-antal { font-size: 1.9rem; font-weight: 600; color: var(--gold); line-height: 1; }
.tema-navn { font-weight: 600; font-size: 1rem; transition: color 0.2s; }
.referencer { background: #fff; }
.ref-vaerktoej { display: flex; align-items: center; gap: 1.5rem; max-width: var(--max); margin: 2rem auto 1.2rem; flex-wrap: wrap; }
.ref-soeg { flex: 1 1 320px; max-width: 520px; padding: 0.9rem 0; border: none; border-bottom: 1px solid var(--navy); font-family: inherit; font-size: 1rem; background: transparent; }
.ref-soeg:focus { outline: none; border-bottom-color: var(--gold); }
.ref-taeller { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; }
.ref-filter { justify-content: flex-start; max-width: var(--max); margin: 0 auto; }
.ref-liste { list-style: none; max-width: var(--max); margin: 1.5rem auto 0; border-top: 1px solid var(--line); }
.ref-liste li { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.ref-liste strong { color: var(--navy); font-weight: 600; }
.ref-liste p { color: var(--muted); font-size: 0.92rem; margin-top: 0.15rem; }
.ref-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; font-size: 0.8rem; color: var(--muted); }
.ref-kk { font-weight: 700; letter-spacing: 0.12em; color: var(--gold); }
.ref-flere { display: block; margin: 2rem auto 0; }
@media (max-width: 1100px) { .tema-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .tema-grid { grid-template-columns: 1fr; } .ref-liste li { grid-template-columns: 1fr; gap: 0.4rem; } }

/* STATIKKEN BAG PROJEKTET */
.lastvej { background: var(--soft); }
.lastvej-indre { max-width: var(--max); margin: 0 auto; }
.lastvej-tekst { color: var(--muted); font-size: 1.02rem; max-width: 760px; margin: 1rem 0 2rem; }
.lastvej-fig { position: relative; background: #fff; border: 1px solid var(--line); padding: 2%; margin: 0; }
.lastvej-fig img { display: block; width: 100%; height: auto; }
.lastvej-ramme { position: relative; }
.lastvej-ramme svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lastvej-snit { max-width: 820px; }
.lastvej-fig .puls { fill: #b89b5e; stroke: #0a192f; stroke-width: 2; }
.lastvej-fig .reaktion circle { fill: none; stroke: #2e8b3d; stroke-width: 3; animation: reaktion 1.3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes reaktion { 0%, 100% { opacity: 0.2; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1.15); } }
.lastvej-kilde { font-size: 0.8rem; color: #9a9a9a; margin-top: 0.8rem; }
.statik-figurer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: var(--max); margin: 2.5rem auto 0; }
.statik-figurer figure { margin: 0; }
.statik-figurer img { width: 100%; height: auto; display: block; background: #fff; border: 1px solid var(--line); padding: 2%; cursor: zoom-in; }
.statik-figurer figcaption { margin-top: 0.8rem; font-size: 0.92rem; color: var(--text); }
.statik-figurer figcaption strong { color: var(--navy); display: block; margin-bottom: 0.2rem; }
@media (max-width: 900px) { .statik-figurer { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .lastvej-fig svg { display: none; } }

/* 3D-MODEL */
.model3d { background: var(--soft); }
.model3d-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 3.5rem; align-items: center; max-width: var(--max); margin: 0 auto; }
.model3d-grid p { color: var(--muted); margin-top: 1rem; }
.model3d-hjaelp { font-size: 0.85rem; color: var(--gold) !important; font-weight: 600; letter-spacing: 0.04em; }
.model3d model-viewer { width: 100%; height: 520px; background: radial-gradient(circle at 50% 40%, #ffffff 0%, #ecebe6 100%); --poster-color: transparent; }
@media (max-width: 900px) { .model3d-grid { grid-template-columns: 1fr; gap: 1.5rem; } .model3d model-viewer { height: 380px; } }

/* DANMARKSKORT */
.danmarkskort { background: var(--soft); }
.kort-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: center; max-width: var(--max); margin: 0 auto; }
.kort-tekst p { color: var(--muted); font-size: 1.02rem; margin: 1.2rem 0 1.6rem; }
.kort-filter { justify-content: flex-start; margin: 0 0 1.4rem; }
.kort-kilde { font-size: 0.75rem !important; color: #9a9a9a !important; margin: 0 !important; }
.kort-fig svg { width: 100%; height: auto; display: block; }
.kort-fig .land { fill: #fff; stroke: #cfcac0; stroke-width: 1; stroke-linejoin: round; }
.kort-fig .bornholm-ramme { fill: none; stroke: #cfcac0; stroke-dasharray: 4 4; }
.kort-fig circle { fill: rgba(184,155,94,0.55); stroke: var(--navy); stroke-width: 1; transition: opacity 0.3s, transform 0.3s; transform-box: fill-box; transform-origin: center; cursor: default; }
.kort-fig circle:hover { fill: var(--gold); transform: scale(1.25); }
.kort-fig circle.skjult { opacity: 0.08; }
.kort-fig .kort-etiketter text { font: 600 12px Inter, sans-serif; fill: var(--navy); paint-order: stroke; stroke: var(--soft); stroke-width: 3px; }

/* GUIDE: HVAD KRÆVER MIT PROJEKT */
.guide { max-width: var(--max); margin: 0 auto; }
.guide-trin, .guide-resultat { padding: 2.2rem 0; border-top: 1px solid var(--line); }
.guide-trin h2, .guide-resultat h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0.4rem 0 1.4rem; }
.guide-knapper { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.guide-valg {
  background: #fff; border: 1px solid #cfcac0; color: var(--navy); font-family: inherit; font-size: 0.95rem; font-weight: 500;
  padding: 0.85rem 1.3rem; cursor: pointer; transition: all 0.2s; text-align: left;
}
.guide-valg:hover { border-color: var(--navy); }
.guide-valg.aktiv { background: var(--navy); border-color: var(--navy); color: #fff; }
.guide-kort-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.4rem; }
.guide-kort { display: flex; flex-direction: column; gap: 0.6rem; background: var(--soft); padding: 1.5rem; text-decoration: none; color: var(--text); border-top: 2px solid var(--gold); transition: background 0.2s; }
.guide-kort:hover { background: #efede8; }
.guide-kort strong { color: var(--navy); font-size: 1.02rem; line-height: 1.35; }
.guide-kort ul { list-style: none; font-size: 0.9rem; color: var(--muted); }
.guide-kort li { padding: 0.25rem 0 0.25rem 1rem; position: relative; }
.guide-kort li::before { content: ''; position: absolute; left: 0; top: 0.85em; width: 6px; height: 1px; background: var(--gold); }
.guide-kort .ydelse-pil { margin-top: auto; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; }
.guide-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.4rem; }
.guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; padding: 2rem 2.2rem; background: var(--navy); color: #fff; }
.guide-cta h3 { font-size: 1.3rem; font-weight: 600; }
.guide-cta p { color: rgba(255,255,255,0.7); margin-top: 0.3rem; }
.guide-cta .knap { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.guide-cta .knap:hover { background: #fff; border-color: #fff; }

/* SIDEHOVED (undersider) */
.page-hero { padding: 160px var(--pad-x) 50px; background: #fff; }
.page-hero-content { max-width: var(--max); margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 600; color: var(--navy); line-height: 1.1; letter-spacing: -0.03em; max-width: 900px; }
.page-hero h1::after { content: ''; display: block; width: 56px; height: 2px; background: var(--gold); margin-top: 1.6rem; }
.hero-sub { color: var(--muted); font-size: 1.1rem; margin-top: 1.4rem; max-width: 720px; }
.back-link { color: var(--muted); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; text-decoration: none; margin-bottom: 2rem; display: inline-block; }
.back-link:hover { color: var(--gold); }

/* YDELSESSIDER */
.page-content { padding: 40px var(--pad-x) 90px; }
.page-grid { display: grid; grid-template-columns: 1fr 320px; gap: 5rem; max-width: var(--max); margin: 0 auto; }
.page-main h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 2.8rem 0 1rem; }
.page-main h2:first-child { margin-top: 0; }
.page-main p { color: var(--muted); margin-bottom: 1.2rem; line-height: 1.8; }
.page-main section, .process-section { padding: 0; }
.kk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0 3rem; }
.kk-card { border-top: 1px solid var(--navy); padding: 1.4rem 0 0; }
.kk-card h3 { color: var(--navy); margin: 0.8rem 0 0.5rem; font-size: 1.05rem; font-weight: 600; }
.kk-card p { margin-bottom: 0; }
.kk-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; color: var(--gold); }
.case-image { margin: 2rem 0; }
.case-image img { width: 100%; border: 1px solid var(--line); }
.case-image figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }
.process-section { margin-top: 60px; }
.process-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 1.5rem; }
.process-track { background: var(--soft); padding: 36px; }
.track-header h3 { color: var(--navy); font-weight: 600; }
.process-steps { list-style: none; counter-reset: trin; margin-top: 24px; }
.process-steps li { position: relative; padding-left: 46px; margin-bottom: 22px; font-size: 0.95rem; color: var(--text); }
.process-steps li::before {
  counter-increment: trin; content: counter(trin); position: absolute; left: 0; top: 0; width: 28px; height: 28px;
  border: 1px solid var(--navy); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700;
}
.service-list { list-style: none; margin: 0 0 2.5rem; }
.service-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; line-height: 1.55; }
.service-list li strong { color: var(--navy); font-weight: 600; }
.page-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.aside-card { background: var(--soft); padding: 2rem; }
.aside-card h3 { color: var(--navy); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 700; }
.aside-card ul { list-style: none; margin-top: 1rem; }
.aside-card ul li { color: var(--text); margin-bottom: 10px; font-size: 0.92rem; }
.aside-card ul a { text-decoration: none; border-bottom: 1px solid var(--gold-light); }
.aside-card ul a:hover { color: var(--gold); }
.aside-cta { background: var(--navy); color: #fff; }
.aside-cta h3 { color: var(--gold-light); }
.aside-cta p { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin: 0.8rem 0 0; line-height: 1.6; }
.page-aside .aside-card:last-child { position: sticky; top: 110px; }
.btn-send {
  display: block; text-align: center; background: var(--gold); color: var(--navy); padding: 0.9rem; margin-top: 1.2rem;
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; transition: all 0.25s;
}
.btn-send:hover { background: #fff; }

/* YDELSESGRUPPER */
.gruppe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; max-width: var(--max); margin: 3rem auto 0; }
.gruppe { border-top: 1px solid var(--navy); padding-top: 1.4rem; scroll-margin-top: 110px; }
.gruppe h3, .gruppe h2 { color: var(--navy); font-size: 1.15rem; font-weight: 600; margin: 0.5rem 0 0.4rem; letter-spacing: -0.01em; }
.gruppe p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; margin-bottom: 1rem; }
.gruppe ul { list-style: none; }
.gruppe li { border-top: 1px solid var(--line); }
.gruppe li:last-child { border-bottom: 1px solid var(--line); }
.gruppe li a, .gruppe li span { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; font-size: 0.9rem; color: var(--text); text-decoration: none; transition: color 0.2s; }
.gruppe li a::after { content: '\2192'; color: var(--gold); }
.gruppe li a:hover { color: var(--gold); }
.gruppe-grid-stor { grid-template-columns: repeat(2, 1fr); gap: 4.5rem 5rem; }
.gruppe-stor h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0.6rem 0 0.5rem; }
.gruppe-stor p { font-size: 1rem; }
.gruppe-stor li a, .gruppe-stor li span { font-size: 1rem; padding: 0.85rem 0; }

/* YDELSER (rækker) */
.intro { max-width: 760px; color: var(--muted); font-size: 1.05rem; }
.intro p + p { margin-top: 1rem; }
.ydelse-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 4rem; max-width: var(--max); margin: 3rem auto 0; border-top: 1px solid var(--line); }
.ydelse-kort {
  display: grid; grid-template-columns: 48px 1fr 24px; gap: 1rem; align-items: start;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: all 0.25s;
}
.ydelse-kort:hover h3 { color: var(--gold); }
.ydelse-nr { font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; padding-top: 4px; }
.ydelse-kort h3 { color: var(--navy); font-size: 1.08rem; font-weight: 600; line-height: 1.35; transition: color 0.25s; }
.ydelse-kort p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; margin-top: 0.3rem; }
.ydelse-pil { color: var(--gold); font-size: 1.1rem; padding-top: 2px; }
.citat { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 300; line-height: 1.5; color: var(--navy); max-width: 900px; margin: 0 auto; text-align: center; }
.citat::before, .citat::after { content: ''; display: block; width: 56px; height: 2px; background: var(--gold); margin: 0 auto 1.8rem; }
.citat::after { margin: 1.8rem auto 0; }

/* PROJEKTKORT */
.projekt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2rem; max-width: var(--max); margin: 3rem auto 0; }
.projekt-card { text-decoration: none; color: inherit; display: block; }
.projekt-img { aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; }
.projekt-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform 0.6s ease; }
a.projekt-card:hover .projekt-img img { transform: scale(1.04); }
.projekt-img.uden-billede { background: var(--soft); border-color: var(--soft); }
.projekt-img.uden-billede span.stor { color: #cdc8bd; font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; text-align: center; padding: 0 1.5rem; line-height: 1.2; }
.billed-antal { position: absolute; right: 10px; bottom: 10px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); background: rgba(255,255,255,0.9); padding: 3px 8px; }
.projekt-meta { padding: 1.1rem 0 0; }
.projekt-tag { display: flex; flex-wrap: wrap; align-items: center; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.35rem; }
.projekt-tag span + span { color: var(--navy); }
.projekt-tag span + span::before { content: ''; display: inline-block; width: 1px; height: 0.9em; background: var(--gold-light); margin: 0 0.6rem; vertical-align: -0.1em; }
.roller { margin: 1.8rem 0 0; max-width: 680px; }
.roller .etiket { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.roller table { width: 100%; border-collapse: collapse; }
.roller th, .roller td { text-align: left; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; vertical-align: top; }
.roller thead th { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 0; font-weight: 700; }
.roller tbody th { color: var(--muted); font-weight: 500; width: 45%; padding-right: 1rem; }
.roller td { color: var(--navy); font-weight: 600; }
.roller td a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }
.projekt-meta h3 { font-size: 1.08rem; font-weight: 600; color: var(--navy); line-height: 1.3; transition: color 0.25s; }
a.projekt-card:hover h3 { color: var(--gold); }
.projekt-adr { font-size: 0.85rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; margin-top: 0.2rem; }
.projekt-adr span + span::before { content: ''; display: inline-block; width: 1px; height: 0.8em; background: var(--gold); margin: 0 0.6rem; }
.projekt-kredit { font-size: 0.82rem; color: var(--navy); font-weight: 600; margin-top: 0.5rem; display: flex; align-items: center; gap: 8px; }
.projekt-kredit::before { content: ''; width: 16px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-kredit { margin-top: 0.8rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.kredit-boks { border-left: 2px solid var(--gold); background: var(--soft); padding: 1.3rem 1.6rem; margin: 1.8rem 0 0; max-width: 680px; }
.kredit-boks .etiket { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.kredit-boks p { color: var(--navy) !important; font-size: 1.05rem !important; line-height: 1.6 !important; margin: 0 0 0.4rem !important; font-weight: 500; }
.kredit-boks a { color: var(--navy); font-size: 0.9rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); }
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.8rem; max-width: var(--max); margin: 0 auto; }
.filter button {
  background: none; border: none; border-bottom: 1px solid transparent; font-family: inherit; color: var(--muted);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 0; cursor: pointer;
}
.filter button:hover { color: var(--navy); }
.filter button.aktiv { color: var(--navy); border-bottom-color: var(--gold); }
.projekt-card.skjult { display: none; }

/* PROJEKTSIDE */
.projekt-hero-meta { margin-bottom: 0.6rem; }
.hovedbillede { display: block; width: 100%; max-width: var(--max); margin: 0 auto; border: 1px solid var(--line); background: #fff; cursor: zoom-in; padding: 0; aspect-ratio: 16 / 9; }
.hovedbillede img { width: 100%; height: 100%; object-fit: contain; padding: 3%; display: block; }
.projekt-indhold { display: grid; grid-template-columns: 1fr 320px; gap: 5rem; max-width: var(--max); margin: 0 auto; }
.projekt-tekst p { color: var(--text); font-size: 1.1rem; line-height: 1.85; margin-bottom: 1.2rem; max-width: 680px; }
.projekt-tekst .projekt-kredit { font-size: 0.92rem; }
.projekt-tekst .projekt-kredit a { color: var(--navy); }
.galleri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: var(--max); margin: 4rem auto 0; }
.galleri button { border: 1px solid var(--line); background: #fff; cursor: zoom-in; padding: 0; aspect-ratio: 4 / 3; display: block; overflow: hidden; }
.galleri img { width: 100%; height: 100%; object-fit: contain; padding: 6%; display: block; transition: transform 0.5s ease; }
.galleri button:hover img { transform: scale(1.04); }
.projekt-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: var(--max); margin: 5rem auto 0; border-top: 1px solid var(--line); }
.projekt-nav a { text-decoration: none; display: block; padding: 1.8rem 0; }
.projekt-nav small { display: block; color: var(--gold); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.3rem; }
.projekt-nav strong { color: var(--navy); font-size: 1.2rem; font-weight: 600; transition: color 0.25s; }
.projekt-nav a:hover strong { color: var(--gold); }
.projekt-nav .naeste { text-align: right; }

/* LYSBOKS */
.lysboks { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(255,255,255,0.98); align-items: center; justify-content: center; flex-direction: column; gap: 1rem; padding: 1rem; }
.lysboks.open { display: flex; }
.lysboks-scene { display: flex; align-items: center; gap: 1.5rem; width: min(1400px, 100%); }
.lysboks-billede { flex: 1; display: flex; align-items: center; justify-content: center; }
.lysboks-billede img { max-width: 100%; max-height: 84vh; object-fit: contain; }
.lysboks button { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.lysboks button:hover { border-color: var(--navy); }
.lysboks button svg { width: 20px; height: 20px; }
.lysboks-luk { position: absolute; top: 1.2rem; right: 1.2rem; }
.lysboks-taeller { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.1em; }

/* OM OS */
.om-grid { display: grid; grid-template-columns: 340px 1fr; gap: 5rem; align-items: start; max-width: var(--max); margin: 0 auto; }
.om-foto { position: sticky; top: 110px; }
.om-foto img { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.om-foto-caption { margin-top: 1rem; }
.om-foto-caption strong { display: block; color: var(--navy); font-weight: 600; }
.om-foto-caption span { font-size: 0.88rem; color: var(--muted); display: block; }
.om-foto-caption .om-foto-cred { color: var(--gold); font-size: 0.82rem; }
.om-tekst p { font-size: 1.08rem; color: var(--text); margin-bottom: 1.5rem; line-height: 1.85; }
.om-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.stat-num { font-size: 2.4rem; font-weight: 600; color: var(--navy); line-height: 1; }
.stat-num em { font-style: normal; color: var(--gold); }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.om-teaser { display: grid; grid-template-columns: 300px 1fr; gap: 4.5rem; align-items: center; max-width: var(--max); margin: 0 auto; }
.om-teaser img { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.om-teaser p { color: var(--muted); font-size: 1.05rem; margin: 1.2rem 0 1.8rem; max-width: 640px; }

/* KONTAKT */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 6rem; max-width: var(--max); margin: 0 auto; }
.kontakt-info-item { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.kontakt-info-item:first-child { border-top: 1px solid var(--line); }
.kontakt-info-item .etiket { display: block; font-size: 0.7rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 4px; }
.kontakt-info-item a, .kontakt-info-item p { font-size: 1.1rem; color: var(--navy); text-decoration: none; font-weight: 500; }
.kontakt-form { display: flex; flex-direction: column; gap: 1.3rem; }
.kontakt-form label { font-size: 0.7rem; font-weight: 700; color: var(--navy); letter-spacing: 0.14em; text-transform: uppercase; display: flex; flex-direction: column; gap: 0.5rem; }
.kontakt-form input, .kontakt-form textarea {
  padding: 0.9rem 0; border: none; border-bottom: 1px solid #cfcac0; background: transparent;
  font-family: inherit; font-size: 1rem; color: var(--text); font-weight: 400; letter-spacing: 0; text-transform: none; border-radius: 0;
}
.kontakt-form input:focus, .kontakt-form textarea:focus { outline: none; border-bottom-color: var(--navy); }
.kontakt-form button { align-self: flex-start; margin-top: 0.6rem; }
.form-note { font-size: 0.8rem; color: var(--muted); }
.form-note a { color: var(--navy); }
.hp-field { display: none; }

/* CTA */
.cta-baand { text-align: center; background: var(--soft); }
.cta-baand h2 { margin-bottom: 1rem; }
.cta-baand p { color: var(--muted); max-width: 620px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* TEKSTSIDE */
.tekstside { max-width: 760px; margin: 0 auto 0 0; }
.tekstside h2 { font-size: 1.3rem; margin: 2.4rem 0 0.8rem; }
.tekstside h2:first-child { margin-top: 0; }
.tekstside p, .tekstside li { color: var(--text); line-height: 1.85; margin-bottom: 0.8rem; }
.tekstside a { color: var(--navy); }
.tekst-wrap { max-width: var(--max); margin: 0 auto; }

/* KONTAKTBJÆLKE */
.sticky-contact { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 998; display: flex; flex-direction: column; }
.sticky-contact a { display: flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; text-decoration: none; padding: 11px 15px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; border-left: 2px solid var(--gold); transition: all 0.25s; }
.sticky-contact a:hover { background: var(--gold); color: var(--navy); }
.sticky-contact svg { width: 16px; height: 16px; flex-shrink: 0; }

/* COOKIE */
.cookie-banner { display: none; position: fixed; bottom: 1.5rem; left: 1.5rem; width: min(400px, calc(100vw - 3rem)); z-index: 10000; }
.cookie-banner.show { display: block; }
.cookie-card { background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: 0 20px 50px rgba(10,25,47,0.12); padding: 1.5rem; }
.cookie-card h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 0.5rem; font-weight: 600; }
.cookie-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.cookie-card a { color: var(--navy); }
.cookie-card button { width: 100%; background: var(--navy); color: #fff; border: none; padding: 0.75rem; font-weight: 600; letter-spacing: 0.14em; font-size: 0.75rem; cursor: pointer; font-family: inherit; }
.cookie-card button:hover { background: var(--gold); color: var(--navy); }

/* FOOTER */
footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 70px var(--pad-x) 30px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; max-width: var(--max); margin: 0 auto; }
footer .logo { color: #fff; margin-bottom: 1rem; }
footer h4 { color: var(--gold-light); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 1rem; font-weight: 700; }
footer ul { list-style: none; }
footer li { margin-bottom: 0.5rem; }
footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
footer a:hover { color: var(--gold-light); }
.footer-bund { max-width: var(--max); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; }

/* RESPONSIVT */
@media (max-width: 1100px) {
  .projekt-grid, .gruppe-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --pad-x: 6%; }
  section { padding: 64px var(--pad-x); }
  nav { height: 70px; }
  .hamburger { display: flex; }
  .nav-right { display: none; }
  .forside-top { padding: 96px var(--pad-x) 20px; }
  .karrusel { aspect-ratio: 4 / 5; }
  .slide-tekst { position: static; padding: 1rem 0 0; max-width: none; background: none; width: 100%; }
  .slide { flex-direction: column; justify-content: flex-start; }
  .slide img { height: 55%; }
  .intro-blok, .page-grid, .projekt-indhold, .kontakt-grid, .om-grid, .om-teaser, .kk-grid, .kraefter-grid, .kort-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ydelse-grid, .guide-kort-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 120px var(--pad-x) 30px; }
  .om-foto { position: static; max-width: 320px; }
  .om-teaser img { max-width: 280px; }
  .page-aside .aside-card:last-child { position: static; }
  .om-stats { grid-template-columns: 1fr 1fr; }
  .galleri { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .sticky-contact { top: auto; bottom: 0; left: 0; transform: none; flex-direction: row; }
  .sticky-contact a { flex: 1; justify-content: center; border-left: none; border-top: 2px solid var(--gold); padding: 10px 8px; font-size: 0.75rem; }
  body { padding-bottom: 46px; }
  .cookie-banner { bottom: 60px; left: 0.75rem; width: calc(100vw - 1.5rem); }
  .lysboks-scene > button { display: none; }
}
@media (max-width: 640px) {
  .projekt-grid, .footer-grid, .gruppe-grid, .gruppe-grid-stor { grid-template-columns: 1fr; }
  .projekt-nav { grid-template-columns: 1fr; }
  .projekt-nav .naeste { text-align: left; }
  .galleri { grid-template-columns: 1fr; }
  .hovedbillede { aspect-ratio: 4 / 3; }
}
