/* ==========================================================
   omfangsdrænpris.dk – style.css
   Bootstrap 5.3 + egne komponenter
   ========================================================== */

/* ---------- Fonts (/assets/fonts) ---------- */
@font-face {
    font-family: "Lora";
    src: url("/assets/fonts/lora-variable.woff") format("woff");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Lora";
    src: url("/assets/fonts/lora-italic-variable.woff") format("woff");
    font-weight: 400 700;
    font-style: italic;
    font-display: swap;
}
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
    /* Vand / blå */
    --ink:        #0b2536;   /* dybt vand – tekst og mørke flader */
    --deep:       #0b4f7a;   /* dyb vandblå */
    --blue:       #0b6fa8;   /* primær vandblå */
    --aqua:       #2bb3df;   /* lys vandblå accent */
    --mist:       #e9f5fb;   /* lys blå tone */
    --mist-2:     #f4f9fc;

    /* Grøn (Normes-grøn – justér her hvis I har den eksakte hex) */
    --green:      #2f8a3f;
    --green-dark: #22692f;
    --green-soft: #e8f4ea;

    /* Neutrale */
    --text:       #23343f;
    --muted:      #5b6b76;
    --line:       #dbe6ed;
    --white:      #ffffff;

    /* Resultatfarver */
    --warn:       #c2410c;
    --amber:      #b7791f;

    --radius:     16px;
    --radius-lg:  24px;
    --shadow-sm:  0 2px 8px rgba(11, 37, 54, .06);
    --shadow:     0 12px 32px -12px rgba(11, 37, 54, .22);
    --shadow-lg:  0 30px 60px -20px rgba(11, 37, 54, .35);

    --font-head:  "Lora", Georgia, "Times New Roman", serif;
    --font-body:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--text);
    --bs-link-color: var(--green);
    --bs-link-color-rgb: 47, 138, 63;
    --bs-link-hover-color: var(--green-dark);
    --bs-link-hover-color-rgb: 34, 105, 47;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .section-title, .sub-title {
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.2;
}
h4, h5, h6 { font-family: var(--font-body); font-weight: 700; color: var(--ink); }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--aqua); color: #fff; }

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 2000;
    background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .6rem 1.35rem; transition: all .2s ease; }
.btn-lg { padding: .8rem 1.7rem; font-size: 1.05rem; }
.btn-xl { padding: 1rem 2.2rem; font-size: 1.15rem; border-radius: 999px; }

.btn-green {
    background: var(--green);
    border: 2px solid var(--green);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(47, 138, 63, .7);
}
.btn-green:hover, .btn-green:focus {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -10px rgba(34, 105, 47, .8);
}
.btn-green:active { transform: translateY(0); }

.btn-ghost-light {
    border: 2px solid rgba(255,255,255,.55);
    color: #fff;
    background: transparent;
}
.btn-ghost-light:hover { background: #fff; color: var(--deep); border-color: #fff; }

.link-arrow { font-weight: 600; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 3px; }

/* ---------- Eyebrows ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .75rem;
}
.eyebrow::before {
    content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}
.eyebrow--light { color: #9fe3f7; }
.eyebrow .bi { font-size: .95rem; }
.eyebrow:has(.bi)::before { display: none; }

/* ==========================================================
   HEADER
   ========================================================== */
.topbar {
    background: var(--ink);
    color: #b9d6e6;
    font-size: .82rem;
    padding: .4rem 0;
}
.topbar .bi { color: var(--aqua); }

.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(11,37,54,.35); border-color: var(--line); }
.site-header .navbar { padding: .7rem 0; }

/* Logo / brand */
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; padding: 0; }
.brand-drop { width: 26px; height: 33px; flex: 0 0 auto; filter: drop-shadow(0 3px 5px rgba(11,111,168,.35)); }
.brand-drop-wave { animation: dropWave 3.2s linear infinite; }
@keyframes dropWave { from { transform: translateX(0); } to { transform: translateX(32px); } }

.brand-text {
    position: relative;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: -.02em;
    line-height: 1;
    padding-bottom: 7px;
}
.brand-water {
    background: linear-gradient(100deg, var(--deep) 0%, var(--blue) 30%, var(--aqua) 50%, var(--blue) 70%, var(--deep) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: waterShine 6s ease-in-out infinite;
}
@keyframes waterShine { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.brand-pris { color: var(--green); }
.brand-tld { color: var(--muted); font-weight: 500; font-size: .8em; }
.brand-wave {
    position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; overflow: hidden;
}
.brand-wave path {
    fill: none; stroke: var(--aqua); stroke-width: 1.6; stroke-linecap: round;
    animation: waveSlide 2.8s linear infinite;
}
@keyframes waveSlide { from { transform: translateX(0); } to { transform: translateX(-25px); } }
.brand:hover .brand-wave path { stroke: var(--green); }

/* Menu */
.navbar-nav .nav-link {
    color: var(--ink);
    font-weight: 500;
    font-size: .97rem;
    padding: .5rem .8rem !important;
    border-radius: 8px;
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active { color: var(--blue); }
@media (min-width: 992px) {
    .navbar-nav .nav-link:not(.dropdown-toggle)::after {
        content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px;
        background: var(--aqua); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s;
    }
    .navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
    .navbar-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: .5rem;
    min-width: 270px;
}
.dropdown-item { border-radius: 8px; padding: .6rem .8rem; font-weight: 500; color: var(--ink); }
.dropdown-item .bi { color: var(--blue); margin-right: .45rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--mist); color: var(--deep); }
.nav-cta { padding: .55rem 1.1rem; font-size: .95rem; }

.navbar-toggler { border: 0; padding: .5rem; display: flex; flex-direction: column; gap: 5px; box-shadow: none !important; }
.toggler-bar { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .navbar-collapse { padding: .75rem 0 .5rem; }
    .navbar-nav .nav-link { padding: .7rem .5rem !important; border-bottom: 1px solid var(--line); border-radius: 0; }
    .dropdown-menu { box-shadow: none; border: 0; background: var(--mist-2); }
    .nav-cta { width: 100%; }
    .brand-text { font-size: 1.2rem; }
}

/* ==========================================================
   WAVE EDGES (fælles)
   ========================================================== */
.wave-edge { position: absolute; left: 0; width: 100%; height: 60px; display: block; z-index: 1; }
.wave-edge--top { top: -1px; transform: rotate(180deg); }
.wave-edge--bottom { bottom: -1px; transform: rotate(180deg); }
.wave-edge path { fill: #fff; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
    position: relative;
    overflow: hidden;
    color: #e4f3fa;
    padding: 4.5rem 0 7rem;
    background:
        radial-gradient(1000px 500px at 85% -10%, rgba(43,179,223,.35), transparent 60%),
        radial-gradient(700px 400px at -10% 110%, rgba(47,138,63,.25), transparent 60%),
        linear-gradient(160deg, #0a3a5c 0%, var(--deep) 45%, #0a6197 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-lines path {
    fill: none; stroke: rgba(159,227,247,.18); stroke-width: 1.5;
    stroke-dasharray: 8 10;
    animation: flow 30s linear infinite;
}
.hero-lines path:nth-child(2) { stroke: rgba(159,227,247,.12); animation-duration: 40s; }
.hero-lines path:nth-child(3) { stroke: rgba(159,227,247,.08); animation-duration: 55s; }
@keyframes flow { to { stroke-dashoffset: -540; } }

.hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    font-weight: 600;
    margin-bottom: 1.25rem;
    max-width: 14ch;
}
.hero .lead { font-size: 1.1rem; color: #cfe7f3; max-width: 60ch; }
.hero-motto {
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1.3rem;
    color: #fff;
    margin: 1.25rem 0 1.75rem;
    display: inline-block;
    border-left: 3px solid var(--aqua);
    padding-left: .9rem;
}
.hero-motto span { color: #9fe3f7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.25rem; }
.hero-facts {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
    border-top: 1px solid rgba(255,255,255,.18);
    padding-top: 1.4rem;
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--font-head); font-size: 1.2rem; color: #fff; }
.hero-facts span { font-size: .85rem; color: #a9cde0; line-height: 1.35; }
@media (max-width: 575.98px) {
    .hero { padding: 3rem 0 6rem; }
    .hero-facts { grid-template-columns: 1fr; gap: .6rem; }
    .hero-facts li { flex-direction: row; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
}

/* ==========================================================
   CONTACT BOX (hero + bund)
   ========================================================== */
.contact-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    color: var(--text);
    position: relative;
}
.contact-box--hero::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
    background: linear-gradient(140deg, var(--aqua), transparent 40%, transparent 60%, var(--green));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
.contact-box-head { display: flex; gap: .9rem; align-items: center; margin-bottom: 1.1rem; }
.contact-box-icon {
    flex: 0 0 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(140deg, var(--blue), var(--aqua));
    color: #fff; font-size: 1.35rem;
    box-shadow: 0 8px 16px -8px rgba(11,111,168,.8);
}
.contact-box .contact-box-title { font-size: 1.55rem; margin: 0; color: var(--ink); }
.contact-box-sub { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.contact-box .form-control,
.contact-box .form-select {
    border: 1.5px solid var(--line);
    background-color: var(--mist-2);
    border-radius: 12px;
    padding: .7rem .9rem;
    font-size: .97rem;
    color: var(--ink);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.contact-box .form-control::placeholder { color: #8396a3; }
.contact-box .form-control:focus,
.contact-box .form-select:focus {
    border-color: var(--blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(43,179,223,.18);
}
.contact-box .form-control.is-invalid { border-color: #dc3545; }
.contact-box .submit-btn { border-radius: 12px; }
.contact-box-note { font-size: .8rem; color: var(--muted); margin: .75rem 0 0; text-align: center; }
.contact-box .alert { border-radius: 12px; font-size: .92rem; }
.contact-box .alert:not(.d-none) { display: flex; }
.contact-success-wrapper .success-icon { font-size: 4rem; color: var(--green); line-height: 1; }
.contact-success-wrapper h3 { color: var(--ink); }

/* ==========================================================
   SECTIONS (fælles)
   ========================================================== */
.section { padding: 5.5rem 0; position: relative; }
.section-white { background: #fff; }
.section-tint { background: linear-gradient(180deg, var(--mist-2), var(--mist)); }
.section-head { max-width: 820px; margin: 0 auto 3rem; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
.section-lead { font-size: 1.1rem; color: var(--muted); }
.sub-title { font-size: 1.75rem; margin-bottom: 1rem; }
@media (max-width: 767.98px) { .section { padding: 4rem 0; } }

/* ---------- Sektion 1: emneliste ---------- */
.topic-list { list-style: none; padding: 0; margin: 1.5rem 0 0; counter-reset: none; }
.topic-list li {
    display: flex; gap: 1.1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
}
.topic-list li:last-child { border-bottom: 0; }
.topic-num {
    flex: 0 0 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
    color: var(--blue);
    background: var(--mist);
    border: 1.5px solid #c7e6f4;
    transition: all .25s;
}
.topic-list li:hover .topic-num { background: var(--blue); color: #fff; border-color: var(--blue); }
.topic-list h3 { font-size: 1.25rem; margin: .35rem 0 .35rem; }
.topic-list h3 a { color: var(--green); text-decoration: underline; text-decoration-color: rgba(47,138,63,.35); }
.topic-list h3 a:hover { text-decoration-color: currentColor; }
.topic-list p { margin: 0; color: var(--text); }

.photo-frame {
    position: relative; margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.photo-frame::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11,37,54,.75));
}
.photo-frame figcaption {
    position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; z-index: 1;
    display: flex; gap: .6rem; align-items: center;
    color: #fff; font-size: .9rem; font-weight: 500;
}
.photo-frame figcaption .bi {
    flex: 0 0 36px; height: 36px; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--green); font-size: 1.1rem;
}
@media (min-width: 992px) {
    .photo-frame { transform: rotate(1.2deg); }
    .photo-frame:hover { transform: rotate(0); transition: transform .4s; }
}

/* ==========================================================
   SEKTION 2: SELVTEST
   ========================================================== */
.section-test {
    position: relative;
    padding: 7rem 0 7.5rem;
    color: #e4f3fa;
    overflow: hidden;
    background:
        radial-gradient(800px 400px at 15% 20%, rgba(43,179,223,.35), transparent 60%),
        radial-gradient(700px 500px at 90% 90%, rgba(47,138,63,.28), transparent 60%),
        linear-gradient(180deg, #0a6197 0%, var(--deep) 55%, #0a3a5c 100%);
}
.test-head h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .9rem; }
.test-head p { color: #cfe7f3; font-size: 1.1rem; max-width: 640px; margin: 0 auto 2.5rem; }

/* bobler */
.test-bubbles span {
    position: absolute; bottom: -40px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.18);
    animation: bubble 16s linear infinite;
}
.test-bubbles span:nth-child(1) { left: 6%;  width: 18px; height: 18px; animation-delay: 0s; }
.test-bubbles span:nth-child(2) { left: 18%; width: 10px; height: 10px; animation-delay: 4s; animation-duration: 12s; }
.test-bubbles span:nth-child(3) { left: 82%; width: 24px; height: 24px; animation-delay: 2s; animation-duration: 18s; }
.test-bubbles span:nth-child(4) { left: 92%; width: 12px; height: 12px; animation-delay: 7s; }
.test-bubbles span:nth-child(5) { left: 70%; width: 8px;  height: 8px;  animation-delay: 9s; animation-duration: 11s; }
.test-bubbles span:nth-child(6) { left: 30%; width: 14px; height: 14px; animation-delay: 11s; animation-duration: 20s; }
@keyframes bubble {
    0%   { transform: translate(0, 0); opacity: 0; }
    10%  { opacity: 1; }
    100% { transform: translate(20px, -900px); opacity: 0; }
}

.quiz {
    background: #fff;
    color: var(--text);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.55);
    position: relative;
    min-height: 420px;
}
.quiz-progress { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.quiz-progress-bar { flex: 1; height: 10px; background: var(--mist); border-radius: 99px; overflow: hidden; }
.quiz-progress-fill {
    display: block; height: 100%; width: 14.28%;
    background: linear-gradient(90deg, var(--aqua), var(--blue));
    border-radius: 99px;
    transition: width .45s cubic-bezier(.4,1.4,.6,1);
    position: relative;
}
.quiz-progress-fill::after {
    content: ""; position: absolute; inset: 0;
    background: repeating-linear-gradient(-45deg, rgba(255,255,255,.25) 0 8px, transparent 8px 16px);
    animation: stripes 1s linear infinite;
}
@keyframes stripes { to { background-position: 22px 0; } }
.quiz-progress-label { font-size: .9rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

.quiz-step { display: none; text-align: center; }
.quiz-step.is-active { display: block; animation: stepIn .35s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.quiz-icon {
    display: inline-grid; place-items: center;
    width: 72px; height: 72px; border-radius: 22px;
    background: var(--mist); color: var(--blue);
    font-size: 2rem; margin-bottom: 1.25rem;
}
.quiz-question {
    font-size: clamp(1.3rem, 2.6vw, 1.85rem);
    max-width: 680px; margin: 0 auto .5rem;
    min-height: 2.4em;
}
.quiz-hint { color: var(--muted); margin: 0; }
.quiz-explain { display: none; }

.quiz-answers {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    max-width: 520px; margin: 2rem auto 0;
}
.quiz-btn {
    border: 2.5px solid transparent;
    border-radius: 18px;
    padding: 1.25rem 1rem;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: .06em;
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    transition: transform .15s, box-shadow .2s, background .2s;
    cursor: pointer;
}
.quiz-btn .bi { font-size: 1.5rem; }
.quiz-btn--yes { background: var(--green); color: #fff; box-shadow: 0 10px 20px -10px rgba(47,138,63,.9); }
.quiz-btn--yes:hover { background: var(--green-dark); transform: translateY(-2px); }
.quiz-btn--no { background: #fff; color: var(--ink); border-color: var(--line); }
.quiz-btn--no:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.quiz-btn.is-chosen { outline: 4px solid rgba(43,179,223,.35); }
.quiz-btn:active { transform: scale(.98); }

.quiz-nav { text-align: center; margin-top: 1.25rem; }
.quiz-back, .quiz-restart {
    background: none; border: 0; color: var(--muted); font-weight: 600; font-size: .92rem;
    padding: .4rem .8rem; border-radius: 8px;
}
.quiz-back:hover:not(:disabled), .quiz-restart:hover { color: var(--blue); background: var(--mist); }
.quiz-back:disabled { opacity: 0; pointer-events: none; }

/* Resultat */
.quiz.is-done .quiz-progress,
.quiz.is-done .quiz-steps,
.quiz.is-done .quiz-answers,
.quiz.is-done .quiz-nav { display: none; }
.quiz-results { animation: stepIn .4s ease both; }
.quiz-result { display: none; text-align: left; border-radius: 20px; padding: 1.75rem; border: 2px solid var(--line); }
.quiz-result.is-active { display: block; }
.quiz-result h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: .8rem 0 .7rem; }
.quiz-result p { margin-bottom: 1.25rem; }
.quiz-result[data-result="A"]     { border-color: #f3c9b5; background: linear-gradient(180deg, #fff6f1, #fff); }
.quiz-result[data-result="Bplus"] { border-color: #f1dcae; background: linear-gradient(180deg, #fffaef, #fff); }
.quiz-result[data-result="B"]     { border-color: #bfe0f1; background: linear-gradient(180deg, var(--mist), #fff); }
.quiz-result[data-result="C"]     { border-color: #c6e5cb; background: linear-gradient(180deg, var(--green-soft), #fff); }
.result-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .8rem; border-radius: 99px;
    font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: #fff;
}
.result-badge--a     { background: var(--warn); }
.result-badge--bplus { background: var(--amber); }
.result-badge--b     { background: var(--blue); }
.result-badge--c     { background: var(--green); }

.quiz-summary {
    margin-top: 1.25rem;
    padding: 1.5rem 1.75rem;
    border-radius: 20px;
    background: var(--mist-2);
    border: 1px solid var(--line);
}
.quiz-summary h4 { font-size: 1.1rem; margin-bottom: .8rem; }
.quiz-summary-label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: .45rem; }
.quiz-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.quiz-tag {
    display: inline-block; padding: .25rem .75rem; border-radius: 99px;
    background: #fff; border: 1.5px solid #bfe0f1; color: var(--deep);
    font-size: .85rem; font-weight: 600;
}
.quiz-explain-list { list-style: none; padding: 0; margin: 0; }
.quiz-explain-list li {
    padding: .75rem 0 .75rem 1.9rem;
    border-top: 1px solid var(--line);
    position: relative;
}
.quiz-explain-list li::before {
    content: ""; position: absolute; left: 0; top: 1.05rem;
    width: 14px; height: 18px;
    background: linear-gradient(180deg, var(--aqua), var(--blue));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 40'%3E%3Cpath d='M16 1C16 1 2 17.5 2 26a14 14 0 0 0 28 0C30 17.5 16 1 16 1Z'/%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 32 40'%3E%3Cpath d='M16 1C16 1 2 17.5 2 26a14 14 0 0 0 28 0C30 17.5 16 1 16 1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.quiz-explain-list strong { display: block; color: var(--ink); }
.quiz-explain-list p { margin: .15rem 0 0; font-size: .97rem; }
.quiz-none { margin: 0; color: var(--muted); }
.quiz-restart { display: block; margin: 1.25rem auto 0; }

@media (max-width: 575.98px) {
    .quiz { padding: 1.5rem 1.15rem; border-radius: 22px; }
    .quiz-btn { padding: 1.1rem .5rem; font-size: 1.2rem; }
    .quiz-result, .quiz-summary { padding: 1.25rem; }
    .quiz-result .btn { width: 100%; white-space: normal; }
}

/* ==========================================================
   SEKTION 3: PRISER
   ========================================================== */
.price-row { margin-bottom: 4.5rem; }
.price-card {
    height: 100%;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bfe0f1; }
.price-card--mid { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,111,168,.08); }
.price-type {
    display: inline-block;
    font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .35rem;
}
.price-card h3 { font-size: 1.35rem; margin: 0 0 1rem; }
.depth-svg { width: 100%; height: auto; margin-bottom: 1rem; border-radius: 12px; overflow: visible; }
.depth-svg .d-ground { fill: #efe6d6; }
.depth-svg .d-wall { fill: #c9d3da; stroke: #9fb0bc; stroke-width: 1; }
.depth-svg .d-roof { fill: #b9472f; }
.depth-svg .d-trench { fill: #d9c9ac; stroke: #b8a17a; stroke-dasharray: 3 3; }
.depth-svg .d-pipe { fill: var(--blue); stroke: #fff; stroke-width: 1.5; }
.depth-svg .d-grass { stroke: var(--green); stroke-width: 4; stroke-linecap: round; }
.depth-svg .d-brace { stroke: #8a6a3b; stroke-width: 2.5; stroke-linecap: round; }
.depth-svg .d-measure { stroke: var(--ink); stroke-width: 1.5; marker-start: none; stroke-dasharray: 2 3; }
.depth-svg .d-label { font: 700 14px var(--font-body); fill: var(--ink); }

.price { padding: 1rem 0 1.1rem; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); margin-bottom: 1.1rem; }
.price-amount { display: block; font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; color: var(--deep); line-height: 1.2; }
.price-unit { font-size: .85rem; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { position: relative; padding: .35rem 0 .35rem 1.6rem; font-size: .97rem; }
.price-list li::before {
    content: ""; position: absolute; left: 0; top: .78rem;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 0 3px var(--green-soft);
}

.price-why {
    background: var(--mist-2);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 2.75rem;
}
.factor-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.factor-list li { display: flex; gap: .9rem; padding: .7rem 0; }
.factor-list .bi {
    flex: 0 0 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center;
    background: #fff; border: 1px solid var(--line);
    color: var(--blue); font-size: 1.15rem;
}
.factor-list strong { color: var(--ink); }
.illus { border-radius: 20px; background: #fff; }
@media (max-width: 575.98px) { .price-why { padding: 1.5rem; } }

/* ==========================================================
   SEKTION 4: FEJL
   ========================================================== */
.fejl-sign { max-height: 230px; mix-blend-mode: multiply; }
.fault-card {
    display: flex; flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 2rem 2rem 1.75rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--text);
    text-decoration: none;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.fault-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
    background: linear-gradient(180deg, var(--aqua), var(--blue));
    transition: width .3s;
}
.fault-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bfe0f1; color: var(--text); }
.fault-card:hover::before { width: 8px; }
.fault-num {
    position: absolute; right: 1.25rem; top: .5rem;
    font-family: var(--font-head); font-weight: 700; font-size: 4.5rem; line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px #c7e3f2;
    pointer-events: none;
}
.fault-tag {
    align-self: flex-start;
    font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--warn); background: #fff1ea;
    padding: .25rem .65rem; border-radius: 99px; margin-bottom: .9rem;
}
.fault-card h3 { font-size: 1.35rem; margin-bottom: .7rem; padding-right: 3.5rem; }
.fault-card p { margin-bottom: 1.25rem; }
.fault-link { margin-top: auto; font-weight: 700; color: var(--green); }
.fault-link .bi { transition: margin .2s; }
.fault-card:hover .fault-link .bi { margin-left: 4px; }

/* ==========================================================
   SEKTION 5: OM
   ========================================================== */
.about-photo { position: relative; margin: 0 0 1.5rem; }
.about-photo > img:first-child {
    width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    aspect-ratio: 3 / 2; object-fit: cover;
}
.about-stamp {
    position: absolute; right: -14px; bottom: -36px;
    width: 38%; max-width: 200px;
    background: #fff; border-radius: 50%;
    padding: 6px; box-shadow: var(--shadow);
    aspect-ratio: 1; object-fit: contain; padding: 14px;
    transform: rotate(-8deg);
}
@media (max-width: 575.98px) { .about-stamp { right: 6px; bottom: -28px; width: 34%; } }
.trust-chips { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.trust-chips li {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem .9rem; border-radius: 99px;
    background: var(--green-soft); color: var(--green-dark);
    font-weight: 600; font-size: .9rem;
}

/* ==========================================================
   SEKTION 6: KUNDESAGER
   ========================================================== */
.case-card {
    display: flex; flex-direction: column;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.case-card > header {
    padding: 1.6rem 1.6rem 1.25rem;
    background: linear-gradient(150deg, var(--deep), var(--blue));
    color: #fff;
}
.case-num {
    display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: #9fe3f7; margin-bottom: .4rem;
}
.case-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: .6rem; }
.case-customer { font-size: .88rem; color: #cfe7f3; }
.case-steps { padding: 1.4rem 1.6rem .5rem; margin: 0; }
.case-steps dt {
    font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--blue);
    display: flex; align-items: center; gap: .5rem;
}
.case-steps dt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.case-steps dd {
    margin: .25rem 0 1.1rem;
    padding-left: 1rem; margin-left: 3px;
    border-left: 2px solid var(--mist);
    font-size: .95rem;
}
.case-steps dd ol { padding-left: 1.1rem; margin: .3rem 0 0; }
.case-steps dd ol li { margin-bottom: .3rem; }
.case-quote {
    margin: 0 1.6rem 1.6rem;
    padding: 1.25rem 1.25rem 1rem;
    background: var(--green-soft);
    border-radius: 16px;
    position: relative;
}
.case-quote::before {
    content: "\201C"; position: absolute; top: -.6rem; left: 1rem;
    font-family: var(--font-head); font-size: 3.5rem; line-height: 1; color: var(--green);
}
.case-quote p { font-family: var(--font-head); font-style: italic; font-size: 1rem; color: var(--ink); margin: .5rem 0 .75rem; }
.case-quote footer { font-weight: 700; font-size: .9rem; color: var(--green-dark); }
.case-quote footer span { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }

/* ==========================================================
   SEKTION 7: KØREPLAN
   ========================================================== */
.roadmap { position: relative; margin-top: 1rem; }
.roadmap-pipe {
    position: absolute; top: 36px; left: 16.66%; right: 16.66%; height: 8px;
    background: #d9eef8; border-radius: 99px; overflow: hidden;
}
.roadmap-pipe span {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg, var(--aqua) 0 18px, transparent 18px 36px);
    animation: pipeFlow 1.6s linear infinite;
    opacity: .7;
}
@keyframes pipeFlow { from { background-position: 0 0; } to { background-position: 36px 0; } }
.roadmap-step { text-align: center; padding: 0 .75rem; position: relative; }
.roadmap-num {
    display: inline-grid; place-items: center;
    width: 80px; height: 80px; border-radius: 50%;
    background: #fff;
    border: 3px solid var(--blue);
    font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--blue);
    margin-bottom: 1.25rem;
    box-shadow: 0 0 0 8px #fff, var(--shadow);
    position: relative; z-index: 1;
}
.roadmap-step h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.roadmap-step p { color: var(--muted); }
@media (max-width: 767.98px) {
    .roadmap-pipe { display: none; }
    .roadmap-step { text-align: left; padding: 0 0 0 96px; min-height: 80px; }
    .roadmap-num { position: absolute; left: 0; top: 0; width: 64px; height: 64px; font-size: 1.6rem; }
}
.prep-note {
    display: flex; gap: 1rem; align-items: flex-start;
    max-width: 760px; margin: 2.5rem auto 0;
    padding: 1.15rem 1.4rem;
    background: #fffaef; border: 1px solid #f1dcae; border-radius: 16px;
}
.prep-note .bi { font-size: 1.5rem; color: var(--amber); line-height: 1; margin-top: .1rem; }
.prep-note p { margin: 0; }

/* ==========================================================
   KONTAKT-BÅND (bund)
   ========================================================== */
.contact-band {
    position: relative;
    padding: 7rem 0 6rem;
    color: #e4f3fa;
    overflow: hidden;
    background:
        radial-gradient(700px 400px at 100% 0%, rgba(43,179,223,.35), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(47,138,63,.35), transparent 60%),
        linear-gradient(150deg, var(--green-dark) 0%, #136150 35%, var(--deep) 100%);
}
.contact-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.contact-band .lead { color: #d6ece4; font-size: 1.1rem; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li { display: flex; gap: .7rem; align-items: center; padding: .35rem 0; font-weight: 500; }
.check-list--light li { color: #fff; }
.check-list--light .bi { color: #9be7a8; font-size: 1.25rem; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer-linkline {
    background: var(--mist);
    border-top: 1px solid var(--line);
    padding: 1rem 0;
    font-size: .95rem;
}
.footer-linkline .container { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
.footer-linkline-label { color: var(--muted); font-weight: 600; }
.footer-linkline a { color: var(--green); font-weight: 600; }

.site-footer {
    background: var(--mist-2);
    border-top: 1px solid var(--line);
    padding: 4rem 0 1.5rem;
    font-size: .97rem;
    color: var(--text);
}
.footer-title {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--line);
    position: relative;
}
.footer-title::after {
    content: ""; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--green);
}
.site-footer p { color: var(--muted); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { display: flex; gap: .6rem; padding: .3rem 0; align-items: baseline; }
.footer-list .bi { color: var(--blue); }
.site-footer a { color: var(--green); font-weight: 500; }
.site-footer a:hover { color: var(--green-dark); }
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
    margin-top: 3rem; padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: .88rem; color: var(--muted);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
