/* ==========================================================================
   Elektronik Center — designsystem
   Marineblå · elektrisk blå · antracit · hvid
   --primary og --accent kan ændres i Admin › Indstillinger.
   ========================================================================== */

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("assets/fonts/bricolage-latin.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Noto Serif";
    src: url("assets/fonts/noto-serif-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Figtree";
    src: url("assets/fonts/figtree-latin.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #1AA3DC;
    --accent: #5BD1F7;
    --btn: color-mix(in srgb, var(--primary) 76%, #000);
    --link: color-mix(in srgb, var(--primary) 68%, #000);
    --primary-dark: color-mix(in srgb, var(--primary) 58%, #000);
    --primary-tint: color-mix(in srgb, var(--primary) 8%, #fff);

    --navy: #0A1628;
    --font-serif: "Noto Serif", Cambria, Georgia, serif;
    --navy-2: #0F2038;
    --anthracite: #151B25;
    --ink: #0E1A2B;
    --text: #1F2B3D;
    --muted: #596579;
    --on-dark: #B9C5D9;
    --paper: #F4F7FB;
    --line: #E1E7F0;
    --white: #fff;
    --danger: #B42318;
    --focus: var(--primary);

    /* Tema-farver (lys er standard; mørkt tema overstyrer nederst) */
    --bg: #fff;
    --surface: #fff;
    --field-border: var(--field-border);
    --field-border-hover: var(--field-border-hover);
    --btn-border: var(--btn-border);
    --placeholder: #66758A;
    --stars-off: var(--stars-off);
    --invalid-bg: #FFF9F8;
    --alert-bg: #FEF0EE;
    --alert-border: #F4B7B0;
    --hint-bg: #FFF6DD;
    --ok: #12805C;
    --header-bg: rgba(255,255,255,.94);
    --mobilebar-bg: rgba(255,255,255,.96);

    --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

    --wrap: min(1200px, calc(100% - 2.5rem));
    --radius: 20px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px rgba(10, 22, 40, .05), 0 4px 14px rgba(10, 22, 40, .05);
    --shadow-md: 0 10px 30px rgba(10, 22, 40, .10);
    --shadow-lg: 0 24px 60px rgba(10, 22, 40, .18);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--link); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.08;
    letter-spacing: -0.022em;
    margin: 0 0 .5em;
    text-wrap: balance;
}
h1 { font-size: calc(clamp(2.4rem, 5.6vw, 4.3rem) * var(--hscale, 1)); font-weight: 800; }
h2 { font-size: calc(clamp(1.8rem, 3.6vw, 2.7rem) * var(--hscale, 1)); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.2; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: var(--wrap); margin-inline: auto; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -9999px; top: 8px; z-index: 200;
    background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.hero, .page-hero, .band-dark, .band-cta, .site-footer { --focus: var(--accent); }

/* ---------- Knapper ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 48px; padding: 12px 26px;
    border-radius: 999px; border: 2px solid transparent;
    font: 700 1rem/1.1 var(--font-body);
    text-decoration: none; cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 15px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 38%, transparent); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 10px 28px color-mix(in srgb, var(--primary) 50%, transparent); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--btn-border); }
.btn-outline:hover { border-color: var(--primary); color: var(--link); background: var(--primary-tint); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-dark { background: var(--surface); color: var(--ink); border-color: var(--btn-border); }
.btn-ghost-dark:hover { border-color: var(--primary); color: var(--link); }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::before {
    content: ""; width: 18px; height: 18px; border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff;
    animation: spin .7s linear infinite;
}

/* ---------- Meddelelse + topbar ---------- */
.announce { position: relative; display: flex; justify-content: center; align-items: center; padding: 10px 52px 10px 20px; background: var(--btn); color: #fff; font-size: .94rem; font-weight: 600; }
.announce[hidden] { display: none; }
.announce p { margin: 0; text-align: center; }
.announce-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.announce-close:hover { background: rgba(255,255,255,.18); }
.announce-close .icon { width: 18px; height: 18px; }

.topbar { background: var(--anthracite); color: var(--on-dark); font-size: .88rem; }
.topbar-inner { width: var(--wrap); margin-inline: auto; min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-text, .topbar-mail { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { width: 15px; height: 15px; color: var(--accent); }
.topbar-mail { color: #fff; text-decoration: none; margin-left: auto; }
.topbar-mail:hover { color: var(--accent); }

/* ---------- Header / navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 22, 40, .08); }
.header-inner { width: var(--wrap); margin-inline: auto; min-height: 84px; display: flex; align-items: center; gap: 18px; position: relative; }

/* Logo og navn */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; margin-right: auto; }
.logo { --logo-h2: var(--ink); }
.logo-mark { height: 38px; width: auto; flex: none; }
.logo-img { height: 48px; width: auto; max-width: 240px; object-fit: contain; }
.wordmark { display: flex; flex-direction: column; line-height: 1.08; font-family: var(--font-serif); font-weight: 700; letter-spacing: -0.005em; }
.wm-1 { font-size: .95rem; color: var(--ink); }
.wm-2 { font-size: 1.15rem; color: var(--ink); }
.wordmark b { color: var(--primary); font-weight: 700; margin-right: .1em; }
.logo.logo-light { --logo-h2: #fff; margin-right: 0; }
.logo-light .wm-1, .logo-light .wm-2 { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link, .nav-group-link {
    position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; white-space: nowrap;
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav-link::after, .nav-group-link::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px;
    background: var(--btn); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover, .nav-group-link:hover { color: var(--link); }
.nav-link:hover::after, .nav-link.active::after, .nav-group:hover .nav-group-link::after, .nav-group.active .nav-group-link::after { transform: scaleX(1); }
.nav-link.active, .nav-group.active .nav-group-link { color: var(--link); }
.nav-chevron { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .25s var(--ease); }
.nav-group:hover .nav-chevron, .nav-group:focus-within .nav-chevron { transform: rotate(-90deg); }

.nav-group { position: relative; }
.nav-sub {
    position: absolute; top: calc(100% - 6px); left: 0; min-width: 200px; padding: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-sub a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-sub a:hover, .nav-sub a.active { background: var(--primary-tint); color: var(--link); }

/* Telefon */
.nav-phone {
    display: inline-flex; align-items: center; gap: 10px; margin-left: 10px; padding: 7px 16px 7px 8px;
    border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; flex: none;
    transition: border-color .2s, box-shadow .2s;
}
.nav-phone:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); color: var(--ink); }
.nav-phone-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--primary-tint); color: var(--link); flex: none; }
.nav-phone small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; line-height: 1.15; }
.nav-phone strong { display: block; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.2; letter-spacing: -0.01em; }
.nav-phone-bar { display: none; }
.nav-cta { margin-left: 8px; min-height: 46px; padding: 10px 22px; }

.nav-toggle { position: absolute; right: 0; top: 50%; width: 46px; height: 46px; margin: -23px 0 0; opacity: 0; z-index: 2; cursor: pointer; display: none; }
.nav-toggle-label { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
    transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; left: 0; }
.nav-toggle-label span::before { top: -6px; }
.nav-toggle-label span::after { top: 6px; }
.nav-toggle:checked + .nav-toggle-label span { background: transparent; }
.nav-toggle:checked + .nav-toggle-label span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle:checked + .nav-toggle-label span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-toggle-label { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Sektioner ---------- */
main { display: block; }
.band { padding-block: clamp(64px, 8vw, 112px); }
.band-tight { padding-top: clamp(36px, 5vw, 56px); }
.band-paper { background: var(--paper); }
.band-dark { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.band-dark h2, .band-dark h3 { color: #fff; }
.section-head { max-width: 660px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.band-dark .section-head p { color: var(--on-dark); }
.subhead { margin: 56px 0 24px; font-size: 1.5rem; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: var(--on-dark);
    padding: clamp(48px, 7vw, 96px) 0 clamp(110px, 12vw, 170px);
    background:
        radial-gradient(900px 520px at 88% -8%, color-mix(in srgb, var(--primary) 55%, transparent), transparent 62%),
        radial-gradient(700px 420px at -4% 108%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%),
        linear-gradient(180deg, #0A1628 0%, #0C1C33 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px);
    background-size: 30px 30px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid {
    position: relative; display: grid; grid-template-columns: .9fr 1.1fr;
    gap: clamp(28px, 4vw, 60px); align-items: center;
}
.hero h1 { color: #fff; font-size: var(--hero-h1, clamp(2rem, 3.6vw, 3rem)); }
.hero .lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--on-dark); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #E6ECF7; }
.hero-points .icon { color: var(--accent); }

.hero-visual { position: relative; }
.hero-visual::before {
    content: ""; position: absolute; inset: 8% -6% -8% 10%; border-radius: 40px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 70%, transparent), transparent 70%);
    filter: blur(36px); opacity: .55;
}
.hero-frame {
    position: relative; aspect-ratio: 16 / 9; border-radius: 28px 28px 110px 28px; overflow: hidden;
    background: var(--navy-2); border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow-lg);
}
.hero-frame { display: block; text-decoration: none; cursor: zoom-in; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero-frame:hover img { transform: scale(1.04); }
.zoom-badge { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(10, 22, 40, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-weight: 700; font-size: .86rem; border: 1px solid rgba(255,255,255,.2); }
.zoom-badge .icon { width: 1.1em; height: 1.1em; }
.chip {
    position: absolute; display: inline-flex; align-items: center; gap: 8px;
    background: rgba(10, 22, 40, .72); color: #fff; font-weight: 700; font-size: .93rem;
    padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    animation: float 6s ease-in-out infinite alternate;
}
.chip .icon { color: var(--accent); width: 1.15em; height: 1.15em; }
.chip-1 { bottom: -20px; left: 4%; }
.chip-2 { bottom: -20px; left: 36%; animation-delay: -2s; }
.chip-3 { bottom: -20px; left: 66%; animation-delay: -4s; }
.hero-visual { padding-bottom: 24px; }

.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-visual { animation: rise .9s var(--ease) .15s both; }

/* ---------- Tillid ---------- */
.trust { position: relative; z-index: 2; margin-top: -72px; }
.trust-card {
    list-style: none; margin: 0; padding: 8px; background: var(--surface); border-radius: 24px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-card li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; }
.trust-card li + li { border-left: 1px solid var(--line); }
.trust-icon {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 48px; height: 48px; border-radius: 14px; background: var(--primary-tint); color: var(--link);
}
.trust-icon .icon { width: 24px; height: 24px; }
.trust-card strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.08rem; line-height: 1.2; }
.trust-card span { color: var(--muted); font-size: .92rem; }
.trust + .band { padding-top: clamp(72px, 9vw, 120px); }

/* ---------- Ydelser ---------- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-tile {
    display: flex; flex-direction: column; text-decoration: none; color: inherit;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); color: inherit; }
.tile-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; border-radius: 16px; margin-bottom: 20px; color: #fff;
    background: linear-gradient(135deg, var(--btn), color-mix(in srgb, var(--primary) 45%, var(--navy)));
    box-shadow: 0 8px 18px color-mix(in srgb, var(--primary) 30%, transparent);
}
.tile-icon .icon { width: 26px; height: 26px; }
.service-tile h3 { margin-bottom: 8px; }
.service-tile p { color: var(--muted); font-size: .98rem; flex: 1; }
.tile-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--link); margin-top: 6px; }
.tile-link .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.service-tile:hover .tile-link .icon { transform: translateX(4px); }

/* ---------- Proces ---------- */
.band-dark::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 70%);
}
.band-dark > .wrap { position: relative; }
.process { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process li { counter-increment: step; position: relative; padding-top: 4px; }
.process li::before {
    content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 50%; margin-bottom: 22px;
    background: var(--btn); color: #fff; font: 800 1.25rem var(--font-head);
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--primary) 22%, transparent);
}
.process li:not(:last-child)::after {
    content: ""; position: absolute; top: 30px; left: 72px; right: -8px; height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,.28), rgba(255,255,255,.04));
}
.process p { margin: 0; color: var(--on-dark); font-size: .98rem; }
.process-cta { margin-top: 48px; }

/* ---------- Kategorier & produkter ---------- */
.category-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.category-tile {
    position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
    border-radius: var(--radius); text-decoration: none; background: var(--navy-2);
}
.category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.category-tile::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 15%, rgba(10, 22, 40, .94) 100%);
}
.category-tile:hover img { transform: scale(1.06); }
.category-label { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; color: #fff; display: flex; flex-direction: column; }
.category-label strong { font: 700 1.35rem/1.2 var(--font-head); letter-spacing: -0.01em; }
.category-label span { color: #D3DCEB; font-size: .95rem; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.product-card {
    display: flex; flex-direction: column; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-media {
    position: relative; aspect-ratio: 4 / 3; background: var(--paper);
    display: flex; align-items: center; justify-content: center;
}
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.no-image { color: var(--muted); font-size: .92rem; }
.stand-badge {
    position: absolute; top: 12px; left: 12px; z-index: 1;
    padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700;
}
.stand-badge.ny { background: #DDF5E8; color: #0C5E3D; }
.stand-badge.brugt { background: #E8ECF3; color: #384256; }
.stand-badge.renoveret { background: var(--primary-tint); color: var(--link); }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body .brand { color: var(--muted); font-size: .86rem; font-weight: 600; margin: 0 0 2px; }
.product-body h3 { margin-bottom: 8px; }
.product-body .desc { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.product-body .category-tag { font-size: .85rem; color: var(--muted); margin: 0 0 12px; }
.product-footer {
    margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.price { font: 800 1.4rem/1 var(--font-head); color: var(--ink); letter-spacing: -0.015em; }
.price.no-price { font-size: 1rem; font-weight: 700; color: var(--muted); }
.product-cta {
    display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem;
    color: var(--link); text-decoration: none; padding: 8px 4px;
}
.product-cta .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.product-cta:hover .icon { transform: translateX(3px); }

.empty-state {
    background: var(--paper); border: 1px dashed var(--field-border); border-radius: var(--radius);
    padding: clamp(28px, 5vw, 56px); text-align: center; color: var(--muted);
}
.empty-state p { max-width: 36em; margin: 0 auto 20px; }

/* ---------- Om os / hvorfor ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-images { position: relative; padding: 0 0 56px; }
.about-img-main {
    width: 78%; aspect-ratio: 4 / 5; object-fit: cover;
    border-radius: 28px; background: var(--primary-tint); box-shadow: var(--shadow-md);
}
.about-img-small {
    position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 7 / 5; object-fit: cover;
    border-radius: var(--radius); border: 8px solid var(--paper); background: var(--paper); box-shadow: var(--shadow-md);
}
.band:not(.band-paper) .about-img-small { border-color: var(--bg); }
.exp-badge {
    position: absolute; top: 24px; right: 4%;
    background: var(--btn); color: #fff; border-radius: 20px; padding: 16px 22px; text-align: center; line-height: 1.1;
    box-shadow: 0 14px 34px color-mix(in srgb, var(--primary) 45%, transparent);
}
.exp-badge strong { display: block; font: 800 2.4rem/1 var(--font-head); }
.exp-badge span { font-weight: 700; font-size: .9rem; }
.about-copy > p { color: var(--muted); font-size: 1.1rem; }
.why-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-icon {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 44px; height: 44px; border-radius: 12px; background: var(--surface); color: var(--link);
    border: 1px solid var(--line);
}
.why-list strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.05rem; line-height: 1.25; margin-bottom: 2px; }
.why-list span:not(.why-icon) { color: var(--muted); font-size: .94rem; }

.brands { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.brand-chip { padding: 8px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .95rem; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--surface); }
.value-card p { color: var(--muted); margin: 0; }

/* ---------- Anmeldelser ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.review-card { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 2px; color: var(--stars-off); }
.stars .star.on { color: #F5A524; }
.review-card blockquote { margin: 0; color: var(--text); flex: 1; }
.review-card figcaption strong { display: block; color: var(--ink); }
.review-card figcaption span { color: var(--muted); font-size: .9rem; }

/* ---------- CTA-bånd ---------- */
.band-cta {
    position: relative; overflow: hidden; color: var(--on-dark);
    background:
        radial-gradient(700px 360px at 100% 0%, color-mix(in srgb, var(--primary) 60%, transparent), transparent 65%),
        linear-gradient(180deg, #0A1628, #0D1E39);
}
.band-cta h2 { color: #fff; }
.band-cta p { color: var(--on-dark); font-size: 1.1rem; max-width: 34em; }
.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.cta-simple { grid-template-columns: 1fr auto; }
.cta-simple p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.cta-simple .cta-actions { margin: 0; }
.cta-contact {
    list-style: none; margin: 0; padding: 26px; display: grid; gap: 20px; border-radius: var(--radius);
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.cta-contact li { display: flex; gap: 14px; align-items: flex-start; color: #E6ECF7; }
.cta-contact .icon { color: var(--accent); margin-top: 3px; }
.cta-contact strong { display: block; color: #fff; }
.cta-contact a { color: #fff; }

/* ---------- Undersider ---------- */
.page-hero {
    position: relative; overflow: hidden; color: var(--on-dark);
    padding: clamp(44px, 6vw, 84px) 0 clamp(40px, 5vw, 68px);
    background:
        radial-gradient(700px 320px at 95% -20%, color-mix(in srgb, var(--primary) 50%, transparent), transparent 65%),
        linear-gradient(180deg, #0A1628, #0C1C33);
}
.page-hero h1 { color: #fff; font-size: calc(clamp(2.1rem, 4.6vw, 3.4rem) * var(--hscale, 1)); max-width: 18em; }
.page-hero p { color: var(--on-dark); font-size: 1.12rem; max-width: 40em; }
.page-hero .hero-actions { margin-top: 28px; }
.breadcrumb { font-size: .92rem; color: var(--on-dark); margin-bottom: 18px; }
.breadcrumb a { color: var(--on-dark); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 6px; opacity: .6; }

.hero-search {
    display: flex; align-items: center; gap: 10px; max-width: 560px; margin-top: 24px;
    background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.22); border-radius: 999px;
    padding: 6px 6px 6px 20px;
}
.hero-search:focus-within { border-color: var(--accent); background: rgba(255,255,255,.12); }
.hero-search .search-icon { color: var(--on-dark); }
.hero-search input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font: 500 1rem var(--font-body); color: #fff; padding: 10px 0;
}
.hero-search input::placeholder { color: #93A3BC; }
.hero-search .btn { min-height: 44px; padding: 10px 24px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose p { color: var(--text); }

/* ---------- FAQ ---------- */
.faq-wrap .faq { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--primary) 55%, var(--line)); box-shadow: var(--shadow-sm); }
.faq summary {
    cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--ink);
    list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.6rem/1 var(--font-head); color: var(--link); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Formularer ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
    padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 1.7rem; }
.form-note { color: var(--muted); font-size: .92rem; margin: 0 0 22px; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; padding: 0; font-size: .98rem; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
    display: block; width: 100%; min-height: 52px; padding: 13px 16px;
    border: 1.5px solid var(--field-border); border-radius: var(--radius-sm); background: var(--surface);
    font: 400 1rem var(--font-body); color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select {
    appearance: none; -webkit-appearance: none; padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23596579' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
}
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--field-border-hover); }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 0; border-color: var(--primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
}
.field [aria-invalid="true"] { border-color: var(--danger); background: var(--invalid-bg); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .15); }
.field-error { display: flex; gap: 6px; align-items: center; margin: 8px 0 0; color: var(--danger); font-size: .92rem; font-weight: 600; }
.field-error .icon { width: 1.1em; height: 1.1em; }
.field-hint { font-size: .9rem; color: var(--muted); margin: -6px 0 16px; }
.form-alert {
    display: flex; gap: 10px; align-items: center; margin: 0 0 22px; padding: 14px 18px;
    background: var(--alert-bg); border: 1px solid var(--alert-border); border-radius: var(--radius-sm); color: var(--danger); font-weight: 600;
}
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.segment { position: relative; display: block; cursor: pointer; }
.segment input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segment span {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 14px;
    border: 1.5px solid var(--field-border); border-radius: 14px; font-weight: 700; color: var(--ink);
    transition: border-color .2s, background-color .2s, color .2s;
}
.segment:hover span { border-color: var(--field-border-hover); }
.segment input:checked + span { border-color: var(--primary); background: var(--primary-tint); color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent); }
.segment input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; font-size: .95rem; color: var(--text); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--primary); cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-aside { display: grid; gap: 20px; position: sticky; top: 108px; }
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.aside-card h2 { font-size: 1.25rem; }
.aside-card p { color: var(--muted); }
.mini-steps { margin: 0; padding-left: 1.2em; color: var(--text); display: grid; gap: 8px; }
.aside-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.aside-points li { display: flex; gap: 8px; align-items: center; }
.aside-points .icon { color: var(--ok); }
.form-actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.success-card { text-align: center; padding-block: clamp(40px, 6vw, 72px); }
.success-card p { color: var(--muted); max-width: 30em; margin-inline: auto; }
.success-card .form-actions-row { justify-content: center; }
.success-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 20px;
    border-radius: 50%; background: #DDF5E8; color: #0C5E3D;
}
.success-icon .icon { width: 34px; height: 34px; stroke-width: 2.4; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-card { border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); background: var(--paper); }
.contact-card h2 { font-size: 1.6rem; }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--link); }
.contact-list strong { display: block; color: var(--ink); }
.admin-hint { margin: 0 0 24px; padding: 12px 16px; background: var(--hint-bg); border-radius: 10px; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0F141B; color: var(--on-dark); }
.footer-inner { padding-block: 80px 52px; display: grid; grid-template-columns: 1.55fr .95fr .95fr 1.35fr; gap: 48px; }
.footer-about .logo { margin-bottom: 22px; }
.footer-about p { font-size: .98rem; max-width: 30em; margin-bottom: 24px; }
.site-footer h4 { color: #fff; font: 700 .86rem var(--font-body); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 24px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 14px; align-items: center; font-size: .98rem; }
.footer-contact .icon { color: #fff; width: 1.15em; height: 1.15em; }
.footer-checks li { display: flex; gap: 12px; align-items: center; }
.footer-checks .icon { color: var(--accent); width: 1.05em; height: 1.05em; }
.newsletter .nl-row { display: flex; gap: 8px; padding: 6px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.04); }
.newsletter .nl-row:focus-within { border-color: var(--accent); }
.newsletter input[type="email"] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; padding: 10px 12px; font: 500 1rem var(--font-body); }
.newsletter input::placeholder { color: #8E9BB1; }
.newsletter .btn { min-height: 46px; padding: 10px 20px; border-radius: 10px; }
.nl-consent { display: flex !important; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .85rem; color: var(--on-dark); cursor: pointer; }
.nl-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--primary); }
.nl-msg { margin: 12px 0 0; font-weight: 600; font-size: .92rem; }
.nl-msg.ok { color: #7BE0A8; }
.nl-msg.err { color: #FFA39B; }
.social-links { display: flex; gap: 10px; margin-top: 22px; }
.social-links a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background-color .2s; }
.social-links a:hover { background: var(--btn); color: #fff; }
.review-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: #fff !important; font-weight: 600; }
.review-link .icon { color: #F5A524; }
.footer-bottom { padding-block: 22px 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; color: #93A0B6; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a, .link-btn { color: #93A0B6; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: none; }
.link-btn:hover { color: #fff; }

/* ---------- Mobil handlingslinje ---------- */
.mobile-bar { display: none; }

/* ---------- Sidebilleder, Foto & print ---------- */
.page-hero.has-photo {
    background-image: linear-gradient(90deg, rgba(10, 22, 40, .90) 0%, rgba(10, 22, 40, .68) 55%, rgba(10, 22, 40, .42) 100%), var(--hero-photo);
    background-size: cover; background-position: center;
}
.svc-list { display: grid; gap: clamp(56px, 7vw, 96px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; scroll-margin-top: 110px; }
.svc-row.reverse .svc-media { order: 2; }
.svc-media { border-radius: 28px; overflow: hidden; background: var(--primary-tint); aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.svc-copy > p { color: var(--muted); font-size: 1.1rem; }
.svc-price { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--primary-tint); color: var(--link) !important; font-weight: 700 !important; font-size: 1rem !important; }
.svc-copy .cta-actions { margin-top: 22px; }
.svc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-tiles .category-tile { aspect-ratio: 1 / 1; }

/* ---------- Kontakt ---------- */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.info-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
a.info-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--text); }
.info-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--primary-tint); color: var(--link); margin-bottom: 14px; }
.info-icon .icon { width: 26px; height: 26px; }
.info-card h3 { font-size: 1.12rem; margin: 0 0 2px; }
.info-card p { margin: 0; color: var(--muted); font-weight: 500; overflow-wrap: anywhere; }
.band-tight + .band-paper-soft { margin-top: 0; }
.band-paper-soft { background: var(--paper); padding-bottom: clamp(56px, 7vw, 96px); padding-top: clamp(48px, 6vw, 80px); }
.band-tight:has(+ .band-paper-soft) { padding-bottom: clamp(40px, 5vw, 64px); }
.form-kicker { color: var(--link); font-weight: 700; margin: 0 0 6px; font-size: .95rem; }
.map-box { position: relative; min-height: 460px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--primary-tint); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px; gap: 6px; }
.map-placeholder .info-icon { background: var(--surface); }
.map-placeholder h3 { margin: 0; }
.map-placeholder p { margin: 0; color: var(--text); font-weight: 600; }
.map-placeholder .map-note { font-size: .88rem; color: var(--muted); font-weight: 400; max-width: 30em; margin-top: 8px; }
.map-placeholder .cta-actions { justify-content: center; margin-top: 16px; }
.map-box.is-loaded .map-placeholder { display: none; }
.review-cta { text-align: center; margin: 36px 0 0; }

/* ---------- Cookie-besked ---------- */
.cookie {
    position: fixed; left: 20px; bottom: 20px; z-index: 150; width: min(450px, calc(100% - 40px));
    background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 24px;
    animation: rise .5s var(--ease) both;
}
.cookie[hidden] { display: none; }
.cookie-head { display: flex; align-items: center; gap: 10px; color: var(--link); }
.cookie-head .icon { width: 26px; height: 26px; }
.cookie-head h2 { font-size: 1.2rem; margin: 0; }
.cookie p { font-size: .93rem; margin: 12px 0 18px; color: var(--text); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; min-height: 48px; padding-inline: 16px; }

/* ---------- Åbent nu ---------- */
.open-pill { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: #fff; margin-right: 16px; }
.open-pill i { width: 9px; height: 9px; border-radius: 50%; background: #7BE0A8; box-shadow: 0 0 0 4px rgba(123,224,168,.22); }
.open-pill.is-closed i { background: #FFA39B; box-shadow: 0 0 0 4px rgba(255,163,155,.2); }
.topbar-hours { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Fotoalbum ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; grid-auto-flow: dense; }
.g-item {
    position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; cursor: zoom-in;
    border-radius: 18px; background: var(--primary-tint); box-shadow: var(--shadow-sm); text-decoration: none;
}
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, .78)); opacity: 0; transition: opacity .3s var(--ease); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-cap { position: absolute; left: 16px; right: 64px; bottom: 13px; z-index: 2; color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.3; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.g-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); opacity: 0; transform: scale(.85); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.g-zoom .icon { width: 18px; height: 18px; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap, .g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; transform: none; }
.gallery.has-feature .g-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery.is-single { grid-template-columns: minmax(0, 860px); }
@media (hover: none) {
    .g-item::after, .g-cap, .g-zoom { opacity: 1; transform: none; }
}

.album-cta { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; margin-top: 44px; padding: 26px 30px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.album-cta-icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--primary-tint); color: var(--link); }
.album-cta-icon .icon { width: 26px; height: 26px; }
.album-cta p { margin: 0; flex: 1 1 280px; font-weight: 600; color: var(--ink); font-size: 1.08rem; }
.album-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Billedvisning (lightbox) ---------- */
body.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 84px 92px; background: rgba(5, 10, 20, .95); animation: lbfade .25s var(--ease) both; }
.lb-stage { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transition: opacity .2s; }
.lb-img.is-loading { opacity: .25; }
.lb-bar { position: absolute; left: 0; right: 0; bottom: 20px; padding: 0 84px; text-align: center; color: #fff; }
.lb-cap { font-weight: 600; font-size: 1.05rem; min-height: 1.4em; }
.lb-count { color: #B9C5D9; font-size: .9rem; margin-top: 2px; }
.lb-btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1); color: #fff; cursor: pointer; transition: background-color .2s; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; margin-top: -26px; }
.lb-prev .icon { transform: rotate(180deg); }
.lb-next { right: 14px; top: 50%; margin-top: -26px; }
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Animationer ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-9px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivt ---------- */
@media (max-width: 1180px) {
    .nav-toggle, .nav-toggle-label { display: inline-flex; }
    .logo { margin-right: auto; }
    .nav-phone-bar { display: inline-flex; order: 1; margin: 0; padding: 0; border: 0; background: transparent; }
    .nav-phone-bar .nav-phone-icon { width: 46px; height: 46px; border: 1px solid var(--line); background: var(--surface); }
    .nav-phone-bar .nav-phone-text { display: none; }
    .main-nav {
        position: absolute; top: calc(100% + 1px); left: calc(-1 * (100vw - 100%) / 2); right: calc(-1 * (100vw - 100%) / 2);
        flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100vh - 100px); overflow-y: auto;
        padding: 12px 1.25rem 24px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(10, 22, 40, .12);
        opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
    }
    .nav-toggle:checked ~ .main-nav { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
    .nav-link, .nav-group-link { padding: 15px 14px; border-radius: 12px; font-size: 1.05rem; }
    .nav-link::after, .nav-group-link::after, .nav-chevron { display: none; }
    .nav-link.active, .nav-group.active .nav-group-link { background: var(--primary-tint); }
    .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 4px 14px; min-width: 0; background: transparent; transition: none; }
    .nav-sub a { padding: 12px 14px; font-weight: 500; }
    .nav-phone-inpanel { margin: 10px 0 0; padding: 10px 14px 10px 10px; }
    .nav-cta { margin: 12px 0 0; min-height: 52px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid, .about-split, .cta-grid, .form-layout, .contact-grid, .cta-simple { grid-template-columns: minmax(0, 1fr); }
    .hero-visual { max-width: 560px; }
    .trust-card { grid-template-columns: 1fr 1fr; }
    .trust-card li:nth-child(3) { border-left: 0; }
    .trust-card li:nth-child(n+3) { border-top: 1px solid var(--line); }
    .service-cards, .value-grid { grid-template-columns: 1fr 1fr; }
    .process { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
    .process li::after { display: none; }
    .category-tiles { grid-template-columns: 1fr 1fr; }
    .about-images { max-width: 540px; }
    .form-aside { position: static; }
    .svc-row { grid-template-columns: minmax(0, 1fr); }
    .svc-row.reverse .svc-media { order: 0; }
    .svc-tiles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    body { font-size: 1rem; }
    body:not(.page-bestil) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .topbar-text { display: none; }
    .topbar-inner { justify-content: center; }
    .topbar-phone { margin: 0; }
    .header-inner { min-height: 68px; }
    .hero { padding-bottom: 150px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-points { gap: 8px 20px; font-size: .95rem; }
    .chip { font-size: .85rem; padding: 8px 13px; }
    .chip-1 { left: 2%; } .chip-2 { left: 33%; } .chip-3 { left: 62%; }
    .trust { margin-top: -88px; }
    .trust-card li { padding: 16px 14px; gap: 10px; }
    .trust-icon { width: 40px; height: 40px; border-radius: 12px; }
    .trust-card strong { font-size: .98rem; }
    .trust-card span { font-size: .84rem; }
    .service-cards, .value-grid, .category-tiles, .why-list, .field-row { grid-template-columns: minmax(0, 1fr); }
    .process { grid-template-columns: 1fr; gap: 28px; }
    .cta-actions .btn { flex: 1 1 100%; }
    .footer-inner { grid-template-columns: 1fr; padding-top: 52px; }
    .segmented { gap: 10px; }
    .mobile-bar {
        display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: var(--mobilebar-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
        border-top: 1px solid var(--line); box-shadow: 0 -8px 26px rgba(10, 22, 40, .1);
    }
    .mobile-bar .btn { flex: 1; min-height: 50px; padding-inline: 14px; }
    .mobile-bar .btn-primary { flex: 2; }
    .cookie { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom) + 10px); padding: 20px; }
    .page-bestil .cookie { bottom: 12px; }
    .info-cards { grid-template-columns: minmax(0, 1fr); }
    .svc-tiles { grid-template-columns: 1fr 1fr; gap: 14px; }
    .map-box { min-height: 400px; }
    .newsletter .nl-row { flex-wrap: wrap; }
    .newsletter .btn { width: 100%; }
}

@media (max-width: 720px) {
    .gallery { gap: 10px; }
    .g-item { border-radius: 14px; }
    .g-cap { font-size: .82rem; left: 10px; bottom: 9px; right: 54px; }
    .g-zoom { width: 34px; height: 34px; right: 8px; bottom: 8px; }
    .lb { padding: 56px 10px 150px; }
    .lb-bar { padding: 0 14px; bottom: 86px; }
    .lb-btn { width: 46px; height: 46px; }
    .lb-prev, .lb-next { top: auto; bottom: 22px; margin-top: 0; }
    .lb-prev { left: 12px; } .lb-next { right: 12px; }
    .album-cta { padding: 22px 20px; }
    .album-cta-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 400px) {
    .trust-card { grid-template-columns: 1fr; }
    .trust-card li + li { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 420px) {
    .header-inner { gap: 10px; }
    .logo { gap: 9px; min-width: 0; }
    .logo-mark { height: 30px; }
    .wm-1 { font-size: .8rem; }
    .wm-2 { font-size: .95rem; }
    .logo-img { max-width: 150px; height: 40px; }
    .nav-phone-bar .nav-phone-icon, .nav-toggle-label { width: 42px; height: 42px; }
    .nav-toggle { width: 42px; height: 42px; margin-top: -21px; }
    .segment span { padding: 12px 8px; gap: 6px; font-size: .95rem; }
    .form-card { padding: 20px 16px; }
}


/* ---------- Menu på middelstore skærme (1181–1290 px): lidt mere kompakt ---------- */
@media (min-width: 1181px) and (max-width: 1290px) {
    .header-inner { gap: 12px; }
    .nav-link, .nav-group-link { padding: 10px 7px; font-size: .9rem; }
    .nav-link::after { left: 7px; right: 7px; }
    .nav-phone { margin-left: 4px; padding: 6px 12px 6px 6px; }
    .nav-phone small { display: none; }
    .nav-phone-icon { width: 36px; height: 36px; }
    .logo-mark { height: 33px; }
    .wm-1 { font-size: .86rem; } .wm-2 { font-size: 1.02rem; }
    .theme-toggle { width: 42px; height: 42px; margin-left: 0; }
}
@media (min-width: 1291px) and (max-width: 1380px) {
    .nav-link, .nav-group-link { padding: 10px 9px; }
}

/* ---------- Meget smalle mobiler: telefonikonet i toppen udgår (bundbjælken har "Ring") ---------- */
@media (max-width: 380px) {
    .nav-phone-bar { display: none; }
}

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

/* ---------- Telefonbestilling ---------- */
.hero-call { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; padding: 14px 18px; max-width: 34em; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #fff; font-weight: 600; }
.hero-call .icon { color: var(--accent); width: 1.4em; height: 1.4em; }
.hero-call a, .call-box a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.process-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.call-box { display: flex; align-items: center; gap: 12px; margin: 0; color: #fff; font: 600 1.15rem/1.4 var(--font-body); max-width: 30em; }
.call-box .icon { color: var(--accent); width: 1.5em; height: 1.5em; }
.band-cta p a.call-number { color: #fff; font-weight: 700; white-space: nowrap; }
a.call-number { white-space: nowrap; font-weight: 700; }
.mobile-bar .btn-lg { width: 100%; min-height: 54px; }
.lb[hidden], .lb-btn[hidden] { display: none; }

/* ---------- Tema-knap (lys / mørk) ---------- */
.theme-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; flex: none; margin-left: 4px;
    border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
    transition: border-color .2s, background-color .2s;
}
.theme-toggle:hover { border-color: var(--primary); }
.theme-toggle .icon { width: 22px; height: 22px; }
html[data-theme="dark"] .theme-toggle .ico-moon, html:not([data-theme="dark"]) .theme-toggle .ico-sun { display: none; }
html.theme-anim body, html.theme-anim .site-header, html.theme-anim .band, html.theme-anim .card, html.theme-anim * { transition: background-color .3s, color .3s, border-color .3s !important; }

html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0C1420;
    --surface: #141F30;
    --paper: #0F1928;
    --line: #26344C;
    --ink: #F2F6FC;
    --text: #CCD6E6;
    --muted: #9DABC2;
    --link: color-mix(in srgb, var(--primary) 50%, #fff);
    --primary-tint: color-mix(in srgb, var(--primary) 20%, #141F30);
    --field-border: #36465F;
    --field-border-hover: #51648A;
    --btn-border: #3F516F;
    --placeholder: #8D9BB3;
    --stars-off: #3A4960;
    --invalid-bg: rgba(255, 138, 128, .10);
    --alert-bg: rgba(255, 138, 128, .10);
    --alert-border: rgba(255, 138, 128, .42);
    --danger: #FF9A90;
    --hint-bg: rgba(245, 165, 36, .16);
    --ok: #5CD6A0;
    --header-bg: rgba(12, 20, 32, .9);
    --mobilebar-bg: rgba(12, 20, 32, .94);
    --anthracite: #080D15;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.35), 0 4px 14px rgba(0,0,0,.3);
    --shadow-md: 0 10px 30px rgba(0,0,0,.45);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
}
html[data-theme="dark"] .band-dark { background: #08111F; border-block: 1px solid rgba(255,255,255,.06); }
html[data-theme="dark"] .site-footer { background: #070C14; border-top: 1px solid rgba(255,255,255,.06); }
html[data-theme="dark"] .page-hero, html[data-theme="dark"] .hero, html[data-theme="dark"] .band-cta { border-bottom: 1px solid rgba(255,255,255,.06); }
html[data-theme="dark"] .logo-img { background: #fff; padding: 6px 12px; border-radius: 12px; }
html[data-theme="dark"] .field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239DABC2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea { color: var(--ink); }
html[data-theme="dark"] .about-img-small, html[data-theme="dark"] .band:not(.band-paper) .about-img-small { border-color: var(--bg); }
html[data-theme="dark"] .band-paper .about-img-small { border-color: var(--paper); }
html[data-theme="dark"] .product-media img { background: #fff; }
html[data-theme="dark"] .exp-badge { color: #fff; }
html[data-theme="dark"] .empty-state { background: var(--paper); }
html[data-theme="dark"] .svc-media, html[data-theme="dark"] .service-img { background: var(--primary-tint); }

@media (max-width: 1180px) {
    .theme-toggle { order: 2; margin-left: 0; }
    .nav-toggle-label { order: 3; }
}
@media (max-width: 420px) {
    .theme-toggle { width: 42px; height: 42px; }
}
