/* =====================================================
   NYBOLIG HILLERØD — SPONSORAT QUIZ  v3
   Liquid Glass design på Nybolig-blå baggrund

   BAGGRUND:   #1170F5  → Nybolig digital blå (fra brandguide farveprøve)
   GLAS:       rgba(255,255,255,0.11) + backdrop-filter: blur(32px)
   ACCENT-1:   #37C36E  → Nybolig grøn (progress, selected, checks)
   ACCENT-2:   #FFFFFF  → Hvid primær tekst + CTA knap
   FJORD:      #587689  → Sekundær brug (subtle states)

   FONT: Inter — tættest match til NyboligWeb01 (swap via @font-face)
   ===================================================== */

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Primære brand-farver */
    --blue:          #1170F5;   /* Nybolig digital blå */
    --blue-deep:     #0A5BD4;
    --blue-dark:     #0847AA;
    --green:         #37C36E;   /* Nybolig grøn */
    --green-dark:    #2DA85E;

    /* Glas-tokens */
    --glass:         rgba(255, 255, 255, 0.11);
    --glass-hover:   rgba(255, 255, 255, 0.18);
    --glass-active:  rgba(255, 255, 255, 0.24);
    --glass-border:  rgba(255, 255, 255, 0.22);
    --glass-border-top: rgba(255, 255, 255, 0.45); /* Lys kant øverst */
    --glass-inset:   rgba(255, 255, 255, 0.30);
    --glass-strong:  rgba(255, 255, 255, 0.90);    /* Til CTA-knap */

    /* Tekst på glas */
    --t-primary:     #FFFFFF;
    --t-secondary:   rgba(255, 255, 255, 0.72);
    --t-muted:       rgba(255, 255, 255, 0.50);
    --t-placeholder: rgba(255, 255, 255, 0.35);

    /* Fejlfarve */
    --error:         #FF6B6B;
    --error-bg:      rgba(255, 100, 100, 0.15);

    /* Header + footer — Nybolig grøn (#37C36E) */
    --header-bg:     rgba(55, 195, 110, 0.82);
    --footer-bg:     rgba(55, 195, 110, 0.88);
    --header-h:      66px;

    --font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius:  8px;
    --radius-lg: 16px;
    --blur:    blur(32px) saturate(180%);
    --blur-sm: blur(20px) saturate(160%);
    --shadow:  0 8px 32px rgba(0, 30, 100, 0.30),
               inset 0 1px 0 rgba(255, 255, 255, 0.25);
    --ease:    0.18s ease;
}

html { scroll-behavior: smooth; }

/* ── BODY + BAGGRUND ────────────────────────────────── */
body {
    font-family: var(--font);
    color: var(--t-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    /*
       Baggrund: primær blå med en mørk blå radial gradient i hjørnerne.
       Den mørkeblå (#0847AA) bryder det flade og giver dybde til glaseffekten.
    */
    background:
        radial-gradient(ellipse 80% 60% at 110% -10%, #0847AA 0%, transparent 60%),
        radial-gradient(ellipse 70% 55% at -10% 110%, #082C69 0%, transparent 55%),
        var(--blue);
    overflow-x: hidden;
}

/*
   Dekorativ ambient baggrund — pseudo-elementer oven på gradienten.
   Giver ekstra dybde og noget at sløre bag glaselementerne.
*/
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

body::before {
    /* Blød hvid glød øverst til højre */
    width: 65vmax;
    height: 65vmax;
    background: radial-gradient(circle, rgba(255,255,255,0.11) 0%, transparent 65%);
    top: -22vmax;
    right: -18vmax;
}

body::after {
    /* Grøn glød nederst til venstre — Nybolig-grøn som ambient lys */
    width: 55vmax;
    height: 55vmax;
    background: radial-gradient(circle, rgba(55,195,110,0.14) 0%, transparent 65%);
    bottom: -18vmax;
    left: -12vmax;
}

/* ── CONTAINER ──────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ── HEADER ─────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 300;
    background: var(--header-bg);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    border-bottom: 1px solid var(--glass-border);
}

.header-inner {
    height: var(--header-h);
    max-width: 1160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 28px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-img {
    height: 30px;
    width: auto;
    display: block;
}

/* Firkant-logo (bruges hvis SVG er tilgængeligt som kvadratisk variant) */
.logo-square-img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

/* CSS fallback */
.logo-fallback {
    display: none;
    align-items: center;
    gap: 10px;
}

.logo-square-css {
    /* Firkant-logo i CSS — bruges hvis ingen billedfil */
    width: 36px;
    height: 36px;
    background: var(--glass-strong);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-square-css span {
    font-size: 14px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -0.03em;
    line-height: 1;
}

.logo-word {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--t-primary);
    line-height: 1;
    text-transform: uppercase;
}

.logo-sep {
    font-size: 14px;
    color: rgba(255,255,255,0.22);
    font-weight: 300;
}

.logo-place {
    font-size: 13px;
    font-weight: 400;
    color: var(--t-muted);
    letter-spacing: 0.03em;
}

/* Header højre gruppe (badge + firkant-logo) */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Firkant-logo wrap */
.logo-square-wrap {
    position: relative;
}

.logo-square-img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.logo-square-css {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.92);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-square-css span {
    font-size: 15px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -0.04em;
    line-height: 1;
}

/* Sponsorat badge */
.header-prize {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 7px 16px 7px 12px;
}

.prize-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--t-muted);
}

.prize-amount {
    font-size: 16px;
    font-weight: 800;
    color: var(--t-primary);
    letter-spacing: -0.01em;
}

/* Progress bar */
.progress-rail {
    height: 3px;
    background: rgba(255,255,255,0.10);
}

.progress-fill {
    height: 100%;
    background: var(--green);
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
    box-shadow: 0 0 8px rgba(55,195,110,0.60);
}

/* ── QUIZ MAIN ──────────────────────────────────────── */
.quiz-main {
    flex: 1;
    padding: 36px 0 80px;
    position: relative;
    z-index: 1;
}

/* Step-meta */
.step-meta {
    text-align: center;
    font-size: 13px;
    color: var(--t-muted);
    margin-bottom: 18px;
    letter-spacing: 0.03em;
    font-weight: 500;
}

.step-meta strong {
    color: var(--t-secondary);
    font-weight: 700;
}

/* ── LIQUID GLASS KORT ──────────────────────────────── */
.quiz-card {
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-border-top);
    box-shadow: var(--shadow);
    padding: 44px 48px;
    animation: cardIn 0.30s ease both;
    position: relative;
    overflow: hidden;
}

/* Subtil reflektion øverst i kortet */
.quiz-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 5%,
        rgba(255,255,255,0.55) 40%,
        rgba(255,255,255,0.55) 60%,
        transparent 95%);
    pointer-events: none;
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
    0%,100% { transform: translateX(0); }
    20%      { transform: translateX(-7px); }
    40%      { transform: translateX(7px); }
    60%      { transform: translateX(-4px); }
    80%      { transform: translateX(4px); }
}

/* Spørgsmålsstruktur */
.q-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
    opacity: 0.90;
}

.q-title {
    font-size: 27px;
    font-weight: 800;
    color: var(--t-primary);
    line-height: 1.20;
    letter-spacing: -0.022em;
    margin-bottom: 10px;
}

/* Blå + hvid accent er inverteret på blå baggrund:
   vi bruger grøn som accent i stedet */
.q-title .accent-fjord,
.q-title em {
    color: var(--green);
    font-style: italic;
}

.q-hint {
    font-size: 14px;
    color: var(--t-secondary);
    margin-bottom: 28px;
    line-height: 1.60;
}

/* ── VALG-MULIGHEDER ────────────────────────────────── */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.opt {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 17px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--t-primary);
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 52px;
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
}

.opt:hover {
    background: var(--glass-hover);
    border-color: rgba(255,255,255,0.40);
    transform: translateY(-1px);
}

.opt.selected {
    background: var(--glass-active);
    border-color: var(--green);
    box-shadow: 0 0 0 1px var(--green), inset 0 1px 0 rgba(255,255,255,0.15);
}

.opt-dot {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color var(--ease), background var(--ease);
}

.opt.selected .opt-dot {
    border-color: var(--green);
    background: var(--green);
}

.opt-dot::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--blue);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--ease);
}

.opt.selected .opt-dot::after { opacity: 1; }

.opt-icon {
    font-size: 18px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    line-height: 1;
}

.opt-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--t-primary);
    line-height: 1.35;
}

/* ── INPUT FELTER ───────────────────────────────────── */
.input-field {
    display: block;
    width: 100%;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    color: var(--t-primary);
    background: rgba(255,255,255,0.10);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 14px 18px;
    outline: none;
    transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
    appearance: none;
    -webkit-appearance: none;
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
}

.input-field:focus {
    border-color: rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.14);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.10);
}

.input-field::placeholder { color: var(--t-placeholder); }

.input-field.err {
    border-color: var(--error);
    box-shadow: 0 0 0 2px rgba(255,100,100,0.25);
}

textarea.input-field {
    resize: vertical;
    min-height: 145px;
    line-height: 1.65;
}

/* Caret / cursor hvid i felter */
.input-field { caret-color: var(--t-primary); }

.char-line {
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
    color: var(--t-muted);
    margin-top: 6px;
}

.err-msg {
    font-size: 13px;
    color: var(--error);
    margin-top: 7px;
    display: none;
}
.err-msg.show { display: block; }

/* ── KONTAKTFORMULAR ────────────────────────────────── */
.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: rgba(55,195,110,0.15);
    border: 1px solid rgba(55,195,110,0.35);
    border-radius: var(--radius);
    padding: 13px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #A8F0C6;
    line-height: 1.50;
}

.contact-note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--green);
}

.field { margin-bottom: 15px; }

.field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--t-secondary);
    margin-bottom: 7px;
    letter-spacing: 0.01em;
}

.field-label .req { color: var(--error); }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.privacy-note {
    font-size: 12px;
    color: var(--t-muted);
    line-height: 1.55;
    margin-top: 8px;
}
.privacy-note .req { color: var(--error); }

/* ── KNAPPER ────────────────────────────────────────── */
.quiz-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--ease);
    -webkit-appearance: none;
    letter-spacing: 0.01em;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* Primær — Solid hvid med blå tekst (max kontrast på blå baggrund) */
.btn-next {
    background: var(--glass-strong);
    color: var(--blue-deep);
    border-color: rgba(255,255,255,0.90);
    padding: 15px 32px;
}

.btn-next:hover:not(:disabled) {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,255,255,0.25);
}

.btn-next:active:not(:disabled) {
    transform: none;
    box-shadow: none;
}

/* Ghost — Tilbage */
.btn-back {
    background: var(--glass);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    color: var(--t-secondary);
    border-color: var(--glass-border);
    font-weight: 500;
    font-size: 14px;
    padding: 13px 18px;
}

.btn-back:hover:not(:disabled) {
    background: var(--glass-hover);
    color: var(--t-primary);
    border-color: rgba(255,255,255,0.38);
}

/* Fejl-boks */
.submit-err {
    background: var(--error-bg);
    border: 1px solid rgba(255,100,100,0.40);
    color: var(--error);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-top: 14px;
    line-height: 1.5;
}

/* ── AGENT TRUST PANEL ──────────────────────────────
   Vises under quiz-kortet på alle trin.
   Tilføj billedet: cp <foto.jpg> ~/nybolig-sponsorat-quiz/assets/team.jpg
   ─────────────────────────────────────────────────── */
.agent-trust {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 20px;
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-border-top);
    box-shadow: var(--shadow);
    overflow: hidden;
    opacity: 0;
    animation: agentIn 0.40s 0.18s ease forwards;
    position: relative;
    z-index: 1;
}

/* Reflektion */
.agent-trust::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 5%,
        rgba(255,255,255,0.50) 40%,
        rgba(255,255,255,0.50) 60%,
        transparent 95%);
    pointer-events: none;
}

@keyframes agentIn {
    to { opacity: 1; }
}

/* Fotosøjle */
.agent-photo-wrap {
    flex-shrink: 0;
    width: 140px;
    min-height: 110px;
    overflow: hidden;
    position: relative;
}

.agent-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.5s ease;
}

.agent-trust:hover .agent-photo {
    transform: scale(1.04);
}

/* Tekst-søjle */
.agent-body {
    flex: 1;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-left: 1px solid var(--glass-border);
}

.agent-quote {
    font-size: 13.5px;
    color: var(--t-secondary);
    line-height: 1.55;
    font-style: italic;
}

.agent-names {
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

/* Fallback uden billede */
.agent-trust.no-photo .agent-photo-wrap { display: none; }
.agent-trust.no-photo .agent-body { border-left: none; }

/* ── SUCCESS SCREEN ─────────────────────────────────── */
.success-screen {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 80px;
    position: relative;
    z-index: 1;
}

.success-card {
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    border-top-color: var(--glass-border-top);
    box-shadow: var(--shadow);
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    animation: cardIn 0.35s ease both;
    position: relative;
}

/* Reflektion */
.success-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 5%,
        rgba(255,255,255,0.55) 40%,
        rgba(255,255,255,0.55) 60%,
        transparent 95%);
    pointer-events: none;
    z-index: 2;
}

/* Foto-hero øverst */
.success-photo-wrap {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: rgba(8,44,105,0.60);
}

.success-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}

/* Gradient over billedet */
.success-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,50,130,0.10) 0%,
        rgba(10,50,130,0.60) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 20px 26px;
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--green);
    color: #1A2A1A;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 100px;
}

.success-badge svg {
    width: 13px;
    height: 13px;
    fill: #1A2A1A;
}

/* Fallback hvis billede mangler */
.success-icon-fallback {
    flex-direction: column;
    align-items: center;
    padding: 36px 24px 0;
    gap: 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(55,195,110,0.15);
    border: 2px solid rgba(55,195,110,0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.success-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--green);
    stroke-width: 2.5;
}

.success-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0;
}

/* Tekst-del */
.success-body-wrap {
    padding: 30px 40px 40px;
    text-align: center;
}

.success-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--t-primary);
    letter-spacing: -0.025em;
    margin-bottom: 14px;
    line-height: 1.1;
}

.success-body {
    font-size: 15px;
    color: var(--t-secondary);
    line-height: 1.70;
    margin-bottom: 10px;
}

.success-body strong { color: var(--t-primary); font-weight: 600; }

/* Social media follow-boks */
.success-social {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: rgba(55, 195, 110, 0.12);
    border: 1px solid rgba(55, 195, 110, 0.28);
    border-radius: var(--radius);
    padding: 14px 17px;
    margin: 18px 0 0;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.55;
    text-align: left;
}

.success-social svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    fill: var(--green);
    opacity: 0.90;
}

.success-social strong {
    color: var(--t-primary);
    font-weight: 700;
}

.success-contact {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    font-size: 14px;
    color: var(--t-secondary);
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.6;
}

.success-contact span { font-weight: 600; color: var(--t-primary); }

.success-contact a {
    color: var(--green);
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.success-contact a:hover { text-decoration: underline; }

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer {
    background: var(--footer-bg);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 22px 0;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1160px;
    padding: 0 28px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-brand {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--t-primary);
}

.footer-copy {
    font-size: 12px;
    color: var(--t-muted);
    line-height: 1.6;
}

.footer-copy a { color: rgba(255,255,255,0.50); text-decoration: none; }
.footer-copy a:hover { color: var(--t-primary); text-decoration: underline; }

/* ── RESPONSIVT ─────────────────────────────────────── */
@media (max-width: 620px) {
    :root { --header-h: 56px; }

    .header-inner { padding: 0 18px; }
    .container    { padding: 0 14px; }

    .quiz-main  { padding: 24px 0 60px; }
    .step-meta  { margin-bottom: 14px; }

    /* Quiz-kort */
    .quiz-card  { padding: 26px 20px 28px; border-radius: 12px; }
    .q-kicker   { font-size: 10px; margin-bottom: 7px; }
    .q-title    { font-size: 21px; letter-spacing: -0.018em; }
    .q-hint     { font-size: 13.5px; margin-bottom: 20px; }

    /* Valg — altid én kolonne på mobil */
    .options-grid { grid-template-columns: 1fr; }
    .opt          { min-height: 50px; padding: 12px 15px; }

    /* Kontaktformular */
    .field-row { grid-template-columns: 1fr; gap: 0; }

    /* Navigation */
    .quiz-nav   { flex-wrap: wrap; gap: 10px; margin-top: 16px; }
    .btn-back   { order: 2; font-size: 13px; padding: 12px 16px; }
    .btn-next   { order: 1; width: 100%; padding: 15px 20px; font-size: 15px; }

    /* ── Agent trust panel ──
       På mobil: billedet øverst i fuld bredde.
       Bruger aspect-ratio så billedet altid viser ansigterne
       uden at blive beskåret på sjove måder.             */
    .agent-trust        { flex-direction: column; border-radius: 12px; }

    .agent-photo-wrap   {
        width: 100%;
        height: auto;           /* Lad aspect-ratio styre højden */
        aspect-ratio: 16 / 7;  /* Bredformat — passer til 2 mænd side om side */
    }

    .agent-photo        {
        object-position: center 20%; /* Fokus på ansigter, ikke fødder */
    }

    .agent-body {
        border-left: none;
        border-top: 1px solid var(--glass-border);
        padding: 14px 18px;
    }

    /* ── Success-foto ──
       Landscape-foto vises i god højde.
       object-position sikrer ansigter er synlige.         */
    .success-photo-wrap {
        height: auto;
        aspect-ratio: 16 / 8;  /* Fungerer til bredformat-billedet */
    }

    .success-photo      { object-position: center 22%; }

    .success-body-wrap  { padding: 22px 20px 30px; }
    .success-title      { font-size: 26px; }
    .success-social     { font-size: 13px; }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        padding: 0 18px;
        gap: 6px;
    }
}

@media (max-width: 400px) {
    .quiz-card  { padding: 20px 14px; }
    .q-title    { font-size: 19px; }
}
