/* =========================================================
   Demo Virksomhed – Tavle-konfigurator (100vh no-scroll SPA)
   ========================================================= */
:root {
    --primary: #b45309;
    --primary-bright: #fbbf24;
    --primary-glow: rgba(251, 191, 36, .55);
    --primary-shadow: rgba(180, 83, 9, .35);
    --gold: #f59e0b;
    --edge-gold: #fcd34d;
    --glass: rgba(4, 16, 35, .92);
    --void: #0b1120;
    --text: #f8fafc;
    --muted: #94a3b8;
    --danger: #f87171;
    --ok: #34d399;
    --line: rgba(255, 255, 255, .12);
    --hdr: 56px;
    --ftr: 52px;
    --nav: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--void);
    color: var(--text);
    font-family: 'Montserrat', system-ui, sans-serif;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
body {
    height: 100dvh;
    background:
        radial-gradient(circle at 50% 25%, var(--primary-shadow) 0%, transparent 60%),
        linear-gradient(to bottom, #0b1120, #111827);
}
a { color: var(--primary-bright); }
button { font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary-bright); outline-offset: 2px; }

/* ---------- Lyn-canvas ---------- */
#boltCanvas { position: fixed; inset: 0; width: 100vw; height: 100dvh; z-index: 250; pointer-events: none; }

/* ---------- Header ---------- */
.topbar {
    position: fixed; top: 0; left: 0; right: 0; height: var(--hdr); z-index: 100;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 0;
    display: flex; flex-direction: column; justify-content: flex-start; gap: 6px;
    background: linear-gradient(to bottom, rgba(1,3,8,.97), rgba(1,3,8,.7));
    height: calc(var(--hdr) + env(safe-area-inset-top, 0px));
}
.topbar-row { display: flex; align-items: center; justify-content: space-between; max-width: 640px; width: 100%; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.logo-mark { font-size: 1.15rem; filter: drop-shadow(0 0 6px var(--primary-glow)); }
.logo-text { font-family: 'Cinzel', serif; font-weight: 900; font-size: .88rem; letter-spacing: 2px; }
.lang-toggle { display: flex; border: 1px solid var(--primary); border-radius: 5px; overflow: hidden; box-shadow: 0 0 10px var(--primary-shadow); }
.lang-toggle button {
    display: flex; align-items: center; gap: 6px; background: rgba(4, 9, 20, .85); border: 0; padding: 5px 9px; cursor: pointer;
    font-family: 'Cinzel', serif; font-weight: 700; font-size: .68rem; letter-spacing: 1px; color: var(--muted);
}
.lang-toggle svg { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); flex: none; }
.lang-toggle button:not(.active) svg { opacity: .55; }
.lang-toggle button.active { background: var(--primary); color: #fff; box-shadow: 0 0 10px var(--primary-glow); }

.topnav {
    position: fixed; left: 0; right: 0; z-index: 100;
    top: calc(56px + env(safe-area-inset-top, 0px)); height: auto;
    display: flex; gap: 4px; align-items: stretch; overflow: hidden;
    padding: 0 max(10px, calc((100% - 640px) / 2));
}
.topnav::-webkit-scrollbar { display: none; }
.navbtn {
    flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px;
    background: rgba(4, 9, 20, .85); border: 1px solid rgba(251, 191, 36, .3); border-radius: 6px;
    padding: 4px 2px; cursor: pointer; font-family: 'Cinzel', serif; font-size: .52rem; font-weight: 700;
    letter-spacing: .6px; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: all .2s;
}
.navbtn .ico { font-size: 1rem; line-height: 1.1; }
.navbtn:hover, .navbtn.active { color: #fff; background: var(--primary); border-color: var(--primary-bright); box-shadow: 0 0 10px var(--primary-glow); }
.navbtn--cta { background: linear-gradient(135deg, var(--gold), var(--edge-gold)); color: #0b1120; border-color: transparent; box-shadow: 0 0 12px rgba(212,175,55,.5); }
.navbtn--cta:hover, .navbtn--cta.active { color: #0b1120; background: linear-gradient(135deg, var(--edge-gold), #fff2c4); border-color: transparent; }

/* ---------- App / panel ---------- */
.app {
    position: fixed; left: 0; right: 0;
    top: calc(var(--hdr) + env(safe-area-inset-top, 0px));
    bottom: calc(var(--ftr) + var(--nav) + env(safe-area-inset-bottom, 0px));
    padding: 4px 10px 8px; display: flex; justify-content: center;
}
.panel {
    position: relative; width: 100%; max-width: 640px; height: 100%;
    background: var(--glass); backdrop-filter: blur(20px);
    border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    box-shadow: inset 0 0 40px var(--primary-shadow), 0 20px 40px rgba(0,0,0,.7);
}
.scene { position: absolute; inset: 0; display: none; flex-direction: column; }
.scene.active { display: flex; animation: sceneIn .35s ease; }
@keyframes sceneIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

.scene-head { flex-shrink: 0; padding: 14px 18px 4px; }
.scene-body { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 18px 10px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.scene-body--center { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.scene-actions {
    flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; padding: 10px 18px 14px;
    border-top: 1px solid var(--line); background: rgba(1, 3, 8, .35);
}
.scene-actions--row { flex-direction: row; }
.scene-actions--row .btn { flex: 1; }
.scene-form { display: flex; flex-direction: column; height: 100%; min-height: 0; }

/* ---------- Typografi ---------- */
.title { font-family: 'Cinzel', serif; font-size: clamp(1.05rem, 4.2vw, 1.4rem); font-weight: 700; color: var(--primary-bright); text-transform: uppercase; letter-spacing: .6px; line-height: 1.25; margin-bottom: 8px; }
.sub, .hint { font-size: .8rem; color: var(--muted); line-height: 1.5; margin-bottom: 8px; }
.hint { font-size: .7rem; margin: 8px 0 4px; }
h3 { font-family: 'Cinzel', serif; font-size: .9rem; margin-bottom: 4px; }
p { font-size: .82rem; line-height: 1.55; color: var(--muted); }
.label { display: block; margin: 14px 0 6px; font-family: 'Space Mono', monospace; font-size: .66rem; letter-spacing: .5px; text-transform: uppercase; color: var(--primary-bright); }
.label--h { margin-top: 18px; }
.badge { display: inline-block; font-family: 'Space Mono', monospace; font-size: .6rem; letter-spacing: 1.2px; color: var(--edge-gold); border: 1px solid rgba(240, 212, 136, .4); border-radius: 20px; padding: 4px 10px; background: rgba(1,3,8,.5); }
.badge--float { position: absolute; left: 14px; bottom: 12px; }

/* ---------- Billeder (konfigureres i script.js) ---------- */
.imgbox, .scene--intro {
    background:
        var(--img, none) center / cover no-repeat,
        repeating-linear-gradient(45deg, rgba(251,191,36,.06) 0 10px, transparent 10px 20px),
        linear-gradient(135deg, #0b2545, #13315c 55%, #b45309);
}

/* ---------- Intro ---------- */
.scene--intro { overflow: hidden; }
.intro-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(1,3,8,.25) 0%, rgba(1,3,8,.55) 45%, rgba(1,3,8,.95) 100%); }
.intro-content { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 20px 22px 18px; gap: 10px; }
.intro-logo { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; background: rgba(4,16,35,.8); border: 2px solid var(--primary-bright); box-shadow: 0 0 22px var(--primary-glow); }
.intro-title { font-family: 'Cinzel', serif; font-size: clamp(1.15rem, 5vw, 1.7rem); font-weight: 900; line-height: 1.25; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.intro-title span { color: var(--primary-bright); }
.intro-text { max-width: 420px; font-size: .88rem; color: #cbd5e1; }
.scene--intro .scene-actions { position: relative; background: rgba(1,3,8,.75); border-top: 0; }

/* ---------- Hero ---------- */
.hero-strip { position: relative; flex: 0 0 clamp(90px, 24%, 170px); border-bottom: 1px solid var(--line); }
.hero-strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, rgba(4,16,35,.9)); }
.hero-strip .badge { z-index: 1; }
.ticks { list-style: none; margin-top: 8px; }
.ticks li { position: relative; padding: 9px 0 9px 28px; font-size: .84rem; line-height: 1.45; color: #cbd5e1; border-bottom: 1px dashed var(--line); }
.ticks li::before { content: "⚡"; position: absolute; left: 0; top: 8px; }
.ticks strong { color: var(--text); }

/* ---------- Knapper ---------- */
.btn {
    display: block; width: 100%; text-align: center; text-decoration: none; cursor: pointer;
    font-family: 'Cinzel', serif; font-weight: 700; font-size: .74rem; letter-spacing: 1.1px; text-transform: uppercase;
    padding: 12px 16px; min-height: 44px; border-radius: 8px; color: var(--primary-bright);
    background: linear-gradient(160deg, rgba(14,24,42,.92), rgba(4,8,18,.96));
    border: 1px solid rgba(251,191,36,.5); border-bottom: 2px solid var(--edge-gold);
    transition: all .25s ease;
}
.btn:hover { color: #fff; border-color: var(--primary-bright); box-shadow: 0 0 18px var(--primary-glow); }
.btn:active { transform: scale(.98); }
.btn--accent { color: #fff; border-color: rgba(251,191,36,.6); background: linear-gradient(160deg, rgba(30,27,60,.95), rgba(8,6,20,.98)); }
.btn--ghost { background: transparent; color: var(--muted); border-color: var(--line); border-bottom-color: var(--line); }
.btn--big { padding: 15px 16px; font-size: .82rem; box-shadow: 0 0 18px var(--primary-shadow); animation: pulse 2.4s infinite ease-in-out; }
.btn--sm { width: auto; padding: 6px 14px; min-height: 34px; font-size: .66rem; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 10px var(--primary-shadow); } 50% { box-shadow: 0 0 24px var(--primary-glow); } }

/* ---------- Slideshow ---------- */
.slide { display: none; }
.slide.active { display: block; animation: sceneIn .3s ease; }
.slide-img { height: clamp(120px, 30vh, 230px); border-radius: 10px; border: 1px solid var(--line); margin-bottom: 12px; }
.slide-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.arrow { width: 40px; height: 40px; border-radius: 50%; cursor: pointer; background: rgba(8,14,28,.9); border: 1px solid var(--primary); color: var(--primary-bright); }
.arrow:hover { background: var(--primary); color: #fff; }
.dots { display: flex; gap: 7px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); cursor: pointer; }
.dots span.active { background: var(--primary-bright); box-shadow: 0 0 6px var(--primary-glow); }

/* ---------- Kvalitet ---------- */
.qcard { display: flex; gap: 12px; padding: 12px; margin-bottom: 10px; border: 1px solid rgba(251,191,36,.3); border-radius: 10px; background: rgba(4,8,18,.7); }
.qico { flex: 0 0 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; background: rgba(180,83,9,.2); border: 1px solid rgba(251,191,36,.4); }

/* ---------- Spor-valg ---------- */
.track-card {
    display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer;
    padding: 22px 16px; border-radius: 12px; background: linear-gradient(160deg, rgba(14,24,42,.92), rgba(4,8,18,.96));
    border: 1px solid rgba(251,191,36,.5); border-bottom: 3px solid var(--edge-gold); transition: all .25s;
}
.track-card--alt { border-color: rgba(251,191,36,.55); }
.track-card:hover { box-shadow: 0 0 22px var(--primary-glow); transform: translateY(-2px); }
.track-ico { font-size: 2rem; }
.track-tag { font-family: 'Space Mono', monospace; font-size: .62rem; letter-spacing: 2px; color: var(--edge-gold); }
.track-name { font-family: 'Cinzel', serif; font-weight: 700; font-size: .95rem; line-height: 1.3; }

/* ---------- Konfigurator ---------- */
.steps { display: flex; gap: 6px; margin-bottom: 8px; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); }
.steps i.on { background: var(--primary-bright); box-shadow: 0 0 6px var(--primary-glow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--col { flex-direction: column; }
.chip {
    cursor: pointer; padding: 10px 14px; min-height: 42px; text-align: left; border-radius: 8px; font-size: .78rem; font-weight: 500;
    background: rgba(4,9,20,.8); border: 1px solid rgba(251,191,36,.3); color: var(--text); transition: all .2s;
}
.chips:not(.chips--col) .chip { text-align: center; min-width: 64px; font-family: 'Space Mono', monospace; font-weight: 700; }
.chip:hover { border-color: var(--primary-bright); }
.chip.active { background: var(--primary); border-color: var(--primary-bright); color: #fff; box-shadow: 0 0 10px var(--primary-glow); }
.chip small { display: block; font-size: .62rem; color: var(--edge-gold); letter-spacing: .5px; margin-top: 1px; }
.chip.active small { color: #fff; }

.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px; border: 1px dashed rgba(251,191,36,.4); border-radius: 8px; cursor: pointer; font-size: .8rem; line-height: 1.45; color: #cbd5e1; }
.check input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--primary-bright); margin-top: 1px; }
.check--req { border-style: solid; border-color: rgba(248,113,113,.5); margin-bottom: 8px; }
.req { font-style: normal; font-family: 'Space Mono', monospace; font-size: .6rem; color: var(--danger); border: 1px solid var(--danger); border-radius: 3px; padding: 1px 4px; }

.cap { position: sticky; top: 0; z-index: 5; margin: 0 -4px 6px; padding: 10px 12px; border-radius: 8px; background: rgba(4,9,20,.97); border: 1px solid rgba(251,191,36,.4); }
.cap-text { font-family: 'Space Mono', monospace; font-size: .72rem; line-height: 1.5; }
.cap-text b { color: var(--primary-bright); }
.cap-bar { height: 8px; margin-top: 6px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.cap-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--primary-bright)); transition: width .25s, background .25s; }
.cap.over { border-color: var(--danger); }
.cap.over .cap-bar i { background: var(--danger); }
.warn { margin-top: 8px; padding: 8px 10px; border-radius: 6px; font-size: .72rem; line-height: 1.4; color: #fecaca; background: rgba(248,113,113,.15); border: 1px solid rgba(248,113,113,.5); }

.pgroup { margin-top: 14px; }
.pgroup h4 { font-family: 'Cinzel', serif; font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--edge-gold); padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.prow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.prow.has .pname span { color: var(--primary-bright); }
.pname { min-width: 0; font-size: .78rem; line-height: 1.3; }
.pname small { display: block; font-size: .62rem; color: var(--muted); font-family: 'Space Mono', monospace; }
.qty { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.qty button { width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; font-weight: 700; background: rgba(8,14,28,.9); border: 1px solid var(--primary); color: var(--primary-bright); }
.qty button:active { background: var(--primary); color: #fff; }
.qty input { width: 44px; height: 38px; text-align: center; border-radius: 6px; font-family: 'Space Mono', monospace; font-size: .85rem; color: var(--text); background: rgba(1,3,8,.75); border: 1px solid rgba(251,191,36,.4); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Formularer ---------- */
.field { margin-bottom: 11px; }
.field label, .row3 small { display: block; margin-bottom: 4px; font-family: 'Space Mono', monospace; font-size: .64rem; text-transform: uppercase; color: var(--primary-bright); }
.input {
    width: 100%; padding: 10px 11px; min-height: 42px; border-radius: 6px; font-family: 'Montserrat', sans-serif; font-size: 16px; /* 16px = ingen iOS-zoom */
    color: var(--text); background: rgba(1,3,8,.75); border: 1px solid rgba(251,191,36,.4); outline: none; resize: none;
}
.input:focus { border-color: var(--primary-bright); box-shadow: 0 0 8px var(--primary-glow); }
.input.invalid { border-color: var(--danger); }
.input--sm { width: 110px; }
.inline-field { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .85rem; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg { display: flex; border: 1px solid var(--primary); border-radius: 8px; overflow: hidden; margin: 6px 0 4px; }
.seg button { flex: 1; padding: 10px 6px; min-height: 42px; cursor: pointer; border: 0; background: rgba(4,9,20,.85); font-family: 'Cinzel', serif; font-weight: 700; font-size: .72rem; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); }
.seg button.active { background: var(--primary); color: #fff; box-shadow: 0 0 10px var(--primary-glow); }
.infobox { margin: 8px 0; padding: 11px 12px; border-radius: 8px; font-size: .74rem; line-height: 1.5; color: #cbd5e1; background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.4); }
.infobox strong { color: var(--edge-gold); }
.summary { border: 1px solid rgba(251,191,36,.35); border-radius: 10px; background: rgba(4,8,18,.75); padding: 4px 12px 8px; }
.sum-block { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sum-block:last-child { border-bottom: 0; }
.sum-block h4 { font-family: 'Cinzel', serif; font-size: .78rem; color: var(--primary-bright); margin-bottom: 3px; }
.sum-block ul { list-style: none; }
.sum-block li { font-size: .74rem; line-height: 1.5; color: #cbd5e1; }
.sum-block li b { color: var(--text); }
.sum-empty { font-size: .74rem; color: var(--muted); padding: 8px 0; }

/* ---------- Kontakt ---------- */
.callbtn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 12px; border-radius: 10px; text-decoration: none; color: #fff; font-size: 1.5rem; background: linear-gradient(135deg, var(--primary), #78350f); box-shadow: 0 0 16px var(--primary-shadow); }
.callbtn small { display: block; font-size: .62rem; font-family: 'Space Mono', monospace; text-transform: uppercase; opacity: .85; }
.callbtn strong { font-family: 'Cinzel', serif; font-size: 1.05rem; letter-spacing: 1px; }
.clist { list-style: none; margin-bottom: 14px; }
.clist li { display: flex; gap: 10px; padding: 8px 0; font-size: .8rem; line-height: 1.45; color: #cbd5e1; border-bottom: 1px dashed var(--line); }
.clist strong { color: var(--text); }

/* ---------- Bekræftelse ---------- */
.done { text-align: center; align-items: center; }
.done-ico { font-size: 3rem; filter: drop-shadow(0 0 14px var(--primary-glow)); }
.ref { margin-top: 6px; padding: 10px 18px; border: 1px solid rgba(251,191,36,.4); border-radius: 8px; background: rgba(4,8,18,.8); }
.ref small { display: block; font-family: 'Space Mono', monospace; font-size: .62rem; text-transform: uppercase; color: var(--muted); }
.ref strong { font-family: 'Space Mono', monospace; font-size: 1.1rem; color: var(--edge-gold); letter-spacing: 2px; }

/* ---------- Footer ---------- */
.footer {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; text-align: center;
    height: calc(var(--ftr) + env(safe-area-inset-bottom, 0px)); padding: 6px 10px env(safe-area-inset-bottom, 0px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    background: rgba(1,3,8,.92); border-top: 1px solid var(--line);
}
.footer-line { font-size: .6rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 12px; }
.footer-links a { font-size: .58rem; color: var(--muted); text-decoration: underline; text-decoration-color: rgba(148,163,184,.4); }
.footer-links a:hover { color: var(--primary-bright); }

/* ---------- Modal / toast / cookie ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(1,3,8,.85); backdrop-filter: blur(6px); }
.modal-box { width: 100%; max-width: 440px; max-height: 80dvh; overflow-y: auto; padding: 20px; border-radius: 12px; background: #06101f; border: 1px solid var(--primary); border-top: 3px solid var(--edge-gold); display: flex; flex-direction: column; gap: 12px; }
.modal-box h3 { color: var(--primary-bright); font-size: 1rem; }
.toast { position: fixed; left: 50%; bottom: calc(var(--ftr) + var(--nav) + 22px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 320; max-width: 90vw; padding: 10px 16px; border-radius: 22px; font-size: .76rem; text-align: center; background: #06101f; border: 1px solid var(--primary-bright); box-shadow: 0 0 18px var(--primary-glow); opacity: 0; pointer-events: none; transition: all .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.cookie { position: fixed; left: 10px; right: 10px; bottom: calc(var(--ftr) + var(--nav) + 8px + env(safe-area-inset-bottom, 0px)); max-width: 620px; margin: 0 auto; z-index: 280; display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-size: .7rem; line-height: 1.4; border-radius: 10px; background: rgba(2,6,16,.98); border: 1px solid var(--primary); box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.6); }

/* ---------- Responsivt ---------- */
@media (max-height: 640px) {
    :root { --hdr: 56px; --ftr: 46px; }
    .scene-head { padding-top: 10px; }
    .scene-actions { padding: 8px 14px 10px; }
    .intro-logo { display: none; }
    .btn { padding: 9px 14px; min-height: 40px; }
}
@media (min-width: 700px) {
    :root { --hdr: 56px; }
    .logo-text { font-size: 1rem; }
    .navbtn { font-size: .58rem; padding: 5px 10px; }
    .footer { flex-direction: row; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Adresse-rækker (postnr./by, etage/side) */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row2 .field { min-width: 0; }
#b2b_zip, #b2c_zip, #b2c_dzip { max-width: 100%; }
h4.label--h { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }

.qlink { text-align: center; margin: 10px 0 0; font-size: .78rem; }
.qlink a { color: var(--primary-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- El-installatør tilføjelser ---------- */
.logo-text small { color: var(--gold); font-size: inherit; }
.hdr-right { display: flex; align-items: center; gap: 8px; }
.callpill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; min-width: 36px; padding: 0 10px; border-radius: 18px; background: #dc2626; color: #fff; text-decoration: none; font-weight: 700; font-size: .72rem; box-shadow: 0 0 12px rgba(220,38,38,.5); }
.callpill-t { display: none; }
@media (min-width: 520px) { .callpill-t { display: inline; } }
.lede { color: var(--muted); font-size: .92rem; line-height: 1.5; margin: 8px 0 12px; }
.tag { font-style: normal; font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: #fde68a; border: 1px solid rgba(251,191,36,.5); border-radius: 5px; padding: 1px 5px; margin-left: 4px; vertical-align: middle; }
.cvrrow { display: flex; gap: 8px; }
.cvrrow .input { flex: 1; min-width: 0; }
.cvrrow .btn { flex: none; width: auto; }
select.input { appearance: auto; }
.hint.ok { color: var(--ok); }
.hint.err { color: var(--danger); }
.btn--accent { color: #fff; border-color: rgba(251,191,36,.7); background: linear-gradient(160deg, #b45309, #78350f); }
.logo { min-width: 0; }
.logo-text { white-space: nowrap; }
@media (max-width: 480px) { .logo-text { font-size: .66rem; letter-spacing: 1px; } .logo-mark { font-size: 1rem; } .hdr-right { gap: 6px; } .lang-toggle button span { display: none; } .lang-toggle button { padding: 5px 7px; } }

/* ---------- Hovedmenu ---------- */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.mtile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 108px; padding: 14px 12px; text-align: left; cursor: pointer; border-radius: 12px; border: 1px solid rgba(251,191,36,.35); background: linear-gradient(160deg, rgba(30,41,59,.9), rgba(8,12,24,.95)); color: var(--text); transition: transform .15s, border-color .2s, box-shadow .2s; }
.mtile:hover, .mtile:active { border-color: var(--primary-bright); box-shadow: 0 0 14px var(--primary-glow); transform: translateY(-2px); }
.mtile .mico { font-size: 1.6rem; line-height: 1; }
.mtile strong { font-family: 'Cinzel', serif; font-size: .9rem; letter-spacing: .5px; text-transform: uppercase; }
.mtile small { font-size: .68rem; color: var(--muted); line-height: 1.3; }
.mtile--wide { grid-column: 1 / -1; min-height: 84px; }
.trustline { margin-top: 14px; text-align: center; font-size: .7rem; color: var(--muted); }
#sc-menu .scene-head .lede { margin: 4px 0 0; }

/* ---------- Vedhæftede filer ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.attach-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; width: 100%; cursor: pointer; }
.sr-only:focus-visible + .attach-btn { outline: 2px solid var(--primary-bright); outline-offset: 2px; }
.field .opt { text-transform: none; color: var(--muted); }
.filelist { list-style: none; margin: 8px 0 0; display: grid; gap: 6px; }
.filelist li { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.04); font-size: .75rem; }
.filelist .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist small { color: var(--muted); flex: none; }
.filelist button { flex: none; width: 36px; height: 36px; border: 0; border-radius: 8px; background: rgba(220,38,38,.2); color: #fecaca; cursor: pointer; }

/* ---------- Om os: kort ---------- */
.mapbox { margin: 12px 0 8px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #0b1120; }
.mapbox iframe { width: 100%; height: 100%; border: 0; display: block; }
.maplink { display: flex; align-items: center; justify-content: center; min-height: 48px; width: 100%; margin-bottom: 14px; text-decoration: none; }

/* ---------- Kalender ---------- */
.cal { border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: rgba(4,8,18,.6); margin-bottom: 10px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal-head strong { font-family: 'Cinzel', serif; font-size: .85rem; letter-spacing: .5px; }
.cal-head .arrow { width: 40px; height: 40px; }
.cal-head .arrow:disabled { opacity: .3; cursor: default; }
.cal-wd, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.cal-wd span { font-size: .62rem; color: var(--muted); text-transform: uppercase; padding: 2px 0; }
.cal-grid button { min-height: 40px; border-radius: 8px; border: 1px solid transparent; background: rgba(255,255,255,.05); color: var(--text); font-size: .85rem; font-weight: 700; cursor: pointer; }
.cal-grid button:disabled { opacity: .25; cursor: default; background: transparent; }
.cal-grid button:not(:disabled):hover { border-color: var(--primary-bright); }
.cal-grid button.sel { background: var(--primary); border-color: var(--primary-bright); color: #fff; box-shadow: 0 0 10px var(--primary-glow); }

/* ---------- Tre handlinger ---------- */
.scene-actions--tri { display: flex; flex-direction: column; gap: 8px; }
.scene-actions--tri .btnrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scene-actions--tri .btn { min-height: 48px; padding: 8px 6px; font-size: .74rem; }
.backlink { background: none; border: 0; color: var(--primary-bright); font-size: .75rem; font-weight: 700; padding: 6px 0 8px; cursor: pointer; min-height: 36px; }
