  :root {
    /* ── Primær: navy ── */
    --navy: #0f2240;
    --navy-deep: #0b1a33;
    --navy-mid: #1a3560;
    --blue: #1e4fa0;
    --sky: #3b82e8;

    /* ── Sekundær: gylden ── */
    --accent: #e8a020;
    --accent-dark: #a06010;
    --accent-light: #fdf3e0;

    /* ── Flader og streger ── */
    --cream: #f9f6f0;
    --white: #ffffff;
    --gray-light: #f2f4f8;
    --gray: #9aa3b2;
    --border: #dde2ee;

    /* ── Tekst ── */
    --text: #1a2540;
    --text-muted: #5a6480;

    /* ── Status ── */
    --success: #166b3c;
    --success-bg: #e6f5ec;
    --error: #b62222;
    --error-bg: #fdeaea;

    /* ── Skrift ── */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

    --shadow: 0 4px 24px rgba(15,34,64,0.10);
    --shadow-lg: 0 12px 48px rgba(15,34,64,0.16);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* ── BACKGROUND DECORATION ── */
  body::before {
    content: '';
    position: fixed;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,130,232,0.08) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
  }

  /* ── HEADER ── */
  header {
    background: var(--navy);
    padding: 0 2rem;
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  }
  .header-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
  }
  .logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
  }
  .logo-icon {
    width: 32px; height: 37px;
    display: block; flex-shrink: 0;
  }
  .logo-icon svg { width: 100%; height: 100%; display: block; }
  .logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
  }
  .logo-text span { color: var(--accent); }

  .header-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    padding: 4px 12px; border-radius: 20px;
    letter-spacing: 0.05em;
  }

  /* ── SCREENS ── */
  .screen { display: none; animation: fadeIn 0.4s ease; }
  .screen.active { display: block; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

  /* ── LOGIN SCREEN ── */
  #screen-login {
    min-height: calc(100vh - 68px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
  }
  #screen-login.active { display: flex; }

  .login-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 440px; width: 100%;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative; overflow: hidden;
  }
  .login-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--sky) 100%);
  }

  .login-hero { text-align: center; margin-bottom: 2rem; }
  .login-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--accent-light), #fdeac0);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin: 0 auto 1.2rem;
    border: 2px solid rgba(232,160,32,0.2);
  }
  .login-hero h1 {
    font-family: var(--font-display);
    font-size: 1.7rem; font-weight: 600;
    color: var(--navy); margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
  }
  .login-hero p {
    font-size: 0.9rem; color: var(--text-muted);
    line-height: 1.6;
  }

  .form-group { margin-bottom: 1.2rem; }
  .form-group label {
    display: block; font-size: 0.875rem; font-weight: 600;
    color: var(--navy); margin-bottom: 6px;
    letter-spacing: 0.02em; text-transform: uppercase;
  }
  .form-control {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px; font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text); background: var(--white);
    transition: all 0.2s;
    letter-spacing: 0.05em;
  }
  .form-control:focus {
    outline: none; border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59,130,232,0.12);
  }
  .form-control.error { border-color: var(--error); }
  .form-control.field-required-error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(208,48,48,0.12);
    animation: shake 0.3s ease;
  }
  @keyframes shake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
  }

  .btn-primary {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--white); border: none; border-radius: 10px;
    font-size: 0.95rem; font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer; transition: all 0.2s;
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
  }
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15,34,64,0.3);
  }
  .btn-primary:active { transform: translateY(0); }

  .error-msg {
    color: var(--error); font-size: 0.875rem;
    margin-top: 8px; display: none;
    align-items: center; gap: 5px;
  }
  .error-msg.show { display: flex; }

  .login-footer {
    text-align: center; margin-top: 1.5rem;
    font-size: 0.875rem; color: var(--text-muted);
    line-height: 1.6;
  }
  .login-footer a { color: var(--blue); text-decoration: none; }

  /* ── DEMO CODES ── */
  .demo-codes {
    max-width: 440px; width: 100%;
    background: rgba(59,130,232,0.06);
    border: 1px solid rgba(59,130,232,0.15);
    border-radius: 12px; padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem; color: var(--text-muted);
    text-align: center;
  }
  .demo-codes strong { color: var(--navy); display: block; margin-bottom: 4px; }
  .code-pill {
    display: inline-block;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 6px; padding: 2px 10px;
    font-family: monospace; font-size: 0.9rem;
    color: var(--blue); margin: 2px;
    cursor: pointer; transition: all 0.15s;
  }
  .code-pill:hover { background: var(--accent-light); border-color: var(--accent); }

  /* ── MAIN APP ── */
  #screen-app {
    max-width: 860px; margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
  }

  /* ── PROGRESS ── */
  .progress-header {
    background: var(--white);
    border-radius: 16px; padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }
  .progress-header-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
  }
  .progress-header h2 {
    font-family: var(--font-display);
    font-size: 1.25rem; font-weight: 600;
    color: var(--navy);
  }
  .step-count {
    font-size: 0.875rem; color: var(--text-muted); font-weight: 500;
  }
  .progress-bar-track {
    height: 6px; background: var(--gray-light); border-radius: 3px;
    overflow: hidden;
  }
  .progress-bar-fill {
    height: 100%; border-radius: 3px;
    background: linear-gradient(90deg, var(--sky) 0%, var(--accent) 100%);
    transition: width 0.5s ease;
  }
  .progress-steps {
    display: flex; gap: 0.5rem; margin-top: 1rem;
    flex-wrap: wrap;
  }
  .progress-step { white-space: nowrap; }
  .progress-step {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.875rem; color: var(--text-muted);
    padding: 3px 10px; border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--gray-light);
    transition: all 0.2s;
  }
  .progress-step.active {
    color: var(--blue); background: rgba(59,130,232,0.08);
    border-color: rgba(59,130,232,0.3);
    font-weight: 600;
  }
  .progress-step.done {
    color: var(--success); background: rgba(46,158,91,0.08);
    border-color: rgba(46,158,91,0.3);
  }
  .step-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

  /* ── SECTION CARDS ── */
  .section-card {
    background: var(--white);
    border-radius: 16px; padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    animation: fadeIn 0.35s ease;
  }
  .section-card.hidden { display: none; }

  .section-title {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 1.5rem; padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .section-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
  }
  .section-icon.blue { background: rgba(59,130,232,0.1); }
  .section-icon.amber { background: rgba(232,160,32,0.12); }
  .section-icon.navy { background: rgba(15,34,64,0.08); }

  .section-title h3 {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 600;
    color: var(--navy);
  }
  .section-title p { font-size: 0.875rem; color: var(--text-muted); margin-top: 2px; }

  /* ── FORM ELEMENTS ── */
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-row.three { grid-template-columns: 1fr 1fr 1fr; }
  .form-row.moebler { grid-template-columns: 1fr 1fr 80px 1fr; gap: 0.75rem; }
  @media (max-width: 820px) { .form-row.moebler { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .form-row.moebler { grid-template-columns: 1fr; } }
  @media (max-width: 600px) { .form-row, .form-row.three { grid-template-columns: 1fr; } }

  .field-label {
    display: block; font-size: 0.875rem; font-weight: 600;
    color: var(--navy); margin-bottom: 5px;
    letter-spacing: 0.02em; text-transform: uppercase;
  }
  .field-hint {
    font-size: 0.875rem; color: var(--text-muted);
    margin-top: 4px; font-weight: 400; text-transform: none;
    letter-spacing: 0;
  }
  .field-label .required { color: var(--accent); margin-left: 2px; }

  /* ── HOUSEHOLD PERSONS ── */
  .persons-grid { display: flex; flex-direction: column; gap: 1rem; }
  .person-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 12px; padding: 1.2rem;
    position: relative;
  }
  .person-card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
  }
  .person-tag {
    font-size: 0.875rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 3px 10px; border-radius: 20px;
  }
  .person-tag.adult { background: rgba(30,79,160,0.1); color: var(--blue); }
  .person-tag.child { background: rgba(232,160,32,0.12); color: var(--accent-dark); }
  .remove-btn {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); font-size: 1.1rem; padding: 2px 6px;
    border-radius: 4px; transition: all 0.15s;
  }
  .remove-btn:hover { color: var(--error); background: rgba(208,48,48,0.08); }

  .add-person-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
  .btn-outline {
    padding: 9px 18px; border-radius: 8px; font-size: 0.875rem;
    font-family: var(--font-body); font-weight: 600;
    cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
  }
  .btn-outline.blue {
    background: rgba(59,130,232,0.06);
    border: 1.5px solid rgba(59,130,232,0.3);
    color: var(--blue);
  }
  .btn-outline.blue:hover { background: rgba(59,130,232,0.12); border-color: var(--blue); }
  .btn-outline.amber {
    background: rgba(232,160,32,0.06);
    border: 1.5px solid rgba(232,160,32,0.3);
    color: var(--accent-dark);
  }
  .btn-outline.amber:hover { background: rgba(232,160,32,0.12); border-color: var(--accent); }

  /* ── INSURANCE SELECTOR ── */
  .insurance-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
  }
  .insurance-option {
    border: 2px solid var(--border);
    border-radius: 12px; padding: 1.1rem;
    cursor: pointer; transition: all 0.2s;
    background: var(--white); text-align: center;
    user-select: none;
  }
  .insurance-option:hover { border-color: var(--blue); box-shadow: 0 2px 12px rgba(59,130,232,0.1); }
  .insurance-option.selected {
    border-color: var(--blue);
    background: rgba(59,130,232,0.05);
    box-shadow: 0 2px 12px rgba(59,130,232,0.12);
  }
  .insurance-option .ins-icon { font-size: 1.8rem; margin-bottom: 6px; }
  .insurance-option .ins-name {
    font-size: 0.875rem; font-weight: 600; color: var(--navy);
  }
  .insurance-option .check {
    display: none; color: var(--blue); font-size: 1.1rem; margin-top: 4px;
  }
  .insurance-option.selected .check { display: block; }

  /* ── ULYKKE SECTION ── */
  .person-insure-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 12px; padding: 1.5rem;
    margin-bottom: 1rem;
  }
  .person-insure-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 1.2rem;
  }
  .person-insure-header .badge {
    font-size: 0.875rem; font-weight: 700;
    padding: 3px 10px; border-radius: 20px;
  }
  .person-insure-header .badge.adult { background: rgba(30,79,160,0.1); color: var(--blue); }
  .person-insure-header .badge.child { background: rgba(232,160,32,0.12); color: var(--accent-dark); }
  .person-insure-header .name { font-weight: 600; font-size: 0.95rem; color: var(--navy); }

  /* ── TOGGLE ── */
  .toggle-row {
    display: flex; align-items: flex-start; justify-content: space-between;
    padding: 0.9rem 0; border-bottom: 1px solid var(--border);
    gap: 1rem;
  }
  .toggle-row:last-child { border-bottom: none; padding-bottom: 0; }
  .toggle-label { flex: 1; }
  .toggle-label strong { font-size: 0.88rem; color: var(--navy); display: block; }
  .toggle-label small { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; display: block; margin-top: 2px; }

  .toggle {
    position: relative; width: 44px; height: 24px;
    flex-shrink: 0; margin-top: 1px;
  }
  .toggle input { opacity: 0; width: 0; height: 0; }
  .toggle-slider {
    position: absolute; inset: 0;
    background: var(--border); border-radius: 12px;
    cursor: pointer; transition: all 0.2s;
  }
  .toggle-slider::before {
    content: ''; position: absolute;
    width: 18px; height: 18px; left: 3px; top: 3px;
    background: var(--white); border-radius: 50%;
    transition: all 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  }
  .toggle input:checked + .toggle-slider { background: var(--sky); }
  .toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

  /* ── SUM SELECTOR ── */
  .sum-options { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
  .sum-pill {
    padding: 6px 14px; border-radius: 20px;
    font-size: 0.875rem; font-weight: 600;
    border: 1.5px solid var(--border);
    background: var(--white); color: var(--text-muted);
    cursor: pointer; transition: all 0.15s;
  }
  .sum-pill:hover { border-color: var(--blue); color: var(--blue); }
  .sum-pill.selected {
    background: var(--blue); color: var(--white);
    border-color: var(--blue);
  }

  /* ── INFO BOX ── */
  .info-box {
    background: rgba(59,130,232,0.06);
    border: 1px solid rgba(59,130,232,0.18);
    border-radius: 10px; padding: 0.9rem 1.1rem;
    font-size: 0.875rem; color: var(--text-muted);
    line-height: 1.6; margin-top: 0.75rem;
    display: flex; gap: 8px; align-items: flex-start;
  }
  .info-box .info-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

  /* ── SKADER ── */
  .skader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  @media (max-width: 500px) { .skader-grid { grid-template-columns: 1fr; } }
  .skader-item { text-align: center; }
  .number-input-wrap {
    display: flex; align-items: center; justify-content: center;
    gap: 0.5rem; margin-top: 0.5rem;
  }
  .num-btn {
    width: 32px; height: 32px; border-radius: 8px;
    border: 1.5px solid var(--border); background: var(--white);
    font-size: 1.1rem; cursor: pointer; color: var(--text-muted);
    transition: all 0.15s; display: flex; align-items: center; justify-content: center;
  }
  .num-btn:hover { border-color: var(--blue); color: var(--blue); }
  .num-display {
    width: 48px; text-align: center; font-size: 1.2rem;
    font-weight: 700; color: var(--navy);
    border: 1.5px solid var(--border); border-radius: 8px;
    padding: 4px; font-family: var(--font-display);
  }

  /* ── NAVIGATION BUTTONS ── */
  .nav-buttons {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }
  .btn-back {
    padding: 11px 22px; border-radius: 10px;
    border: 1.5px solid var(--border); background: var(--white);
    color: var(--text-muted); font-size: 0.9rem;
    font-family: var(--font-body); font-weight: 600;
    cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
  }
  .btn-back:hover { border-color: var(--gray); color: var(--navy); }
  .btn-next {
    padding: 11px 28px; border-radius: 10px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--white); border: none;
    font-size: 0.9rem; font-family: var(--font-body); font-weight: 600;
    cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
  }
  .btn-next:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(15,34,64,0.3); }

  /* ── STEP SECTIONS ── */
  .step-section { display: none; }
  .step-section.active { display: block; }

  /* ── SUMMARY ── */
  .summary-header {
    text-align: center; padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: 16px; margin-bottom: 1.5rem;
    color: var(--white);
  }
  .summary-header .check-circle {
    width: 60px; height: 60px; background: rgba(255,255,255,0.15);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 1.8rem;
    margin: 0 auto 1rem;
  }
  .summary-header h2 {
    font-family: var(--font-display); font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }
  .summary-header p { opacity: 0.8; font-size: 0.9rem; }

  .btn-pdf {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, #f5c842 100%);
    color: var(--navy); border: none; border-radius: 12px;
    font-size: 1rem; font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 4px 20px rgba(232,160,32,0.35);
  }
  .btn-pdf:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232,160,32,0.4); }

  /* ── INDBO SPECIFIC ── */
  .coverage-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 12px; border-radius: 20px; font-size: 0.875rem; font-weight: 600;
  }
  .coverage-badge.included { background: rgba(46,158,91,0.1); color: var(--success); }
  .coverage-badge.optional { background: rgba(59,130,232,0.1); color: var(--blue); }

  .standard-dækning {
    background: rgba(46,158,91,0.05);
    border: 1px solid rgba(46,158,91,0.2);
    border-radius: 10px; padding: 1rem 1.2rem;
    margin-bottom: 1rem;
  }
  .standard-dækning h4 { font-size: 0.875rem; font-weight: 700; color: var(--success); margin-bottom: 0.5rem; }
  .standard-items { display: flex; gap: 0.5rem; flex-wrap: wrap; }
  .standard-item {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.875rem; color: var(--success); background: rgba(46,158,91,0.08);
    padding: 3px 10px; border-radius: 6px;
  }

  .tilvalg-section { border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 0.5rem; }
  .tilvalg-header { font-size: 0.875rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }

  .tilvalg-card {
    border: 1.5px solid var(--border); border-radius: 12px;
    overflow: hidden; margin-bottom: 0.75rem; transition: all 0.2s;
    position: relative;
  }
  .tilvalg-card.active { border-color: var(--blue); }
  .tilvalg-card:not(.active)::after {
    content: "Tilvælg for at se beskrivelsen af dækningen";
    display: block;
    padding: 0 1.2rem 0.85rem;
    background: var(--white);
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.7;
    line-height: 1.45;
    pointer-events: none;
  }

  .tilvalg-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.2rem; cursor: pointer; background: var(--white);
  }
  .tilvalg-top:hover { background: var(--gray-light); }
  .tilvalg-left { display: flex; align-items: center; gap: 10px; }
  .tilvalg-icon { font-size: 1.4rem; }
  .tilvalg-name { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
  .tilvalg-sub { font-size: 0.875rem; color: var(--text-muted); margin-top: 1px; }

  .tilvalg-body {
    display: none; padding: 1rem 1.2rem;
    border-top: 1px solid var(--border);
    background: var(--gray-light);
    animation: fadeIn 0.2s ease;
  }
  .tilvalg-body.open { display: block; }

  .cykel-items { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.75rem; }
  .cykel-item {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 10px; padding: 1rem;
  }
  .cykel-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
  .cykel-item-title { font-size: 0.875rem; font-weight: 600; color: var(--navy); }

  .smykke-items { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.75rem; }
  .smykke-item {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 10px; padding: 1rem;
  }

  .møbel-items { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.75rem; }
  .møbel-item {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 10px; padding: 1rem;
  }

  .ur-items { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.75rem; }
  .ur-item {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 10px; padding: 1rem;
  }

  /* ── FEJLBESKED ──
     På desktop står den som en boks over Næste-knappen.
     På telefon og tablet klæber den fast nederst på skærmen,
     så den ikke kan overses, uanset hvor man er scrollet hen. */
  .validation-toast {
    margin-top: 1rem;
    padding: 0.85rem 1.1rem;
    background: var(--error-bg);
    border: 1.5px solid rgba(182,34,34,0.35);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: var(--error);
    font-weight: 500;
    line-height: 1.5;
    align-items: flex-start;
    gap: 10px;
  }
  .validation-toast .toast-luk {
    margin-left: auto;
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--error);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    min-width: 32px; min-height: 32px;
  }
  .validation-toast .toast-luk:hover { background: rgba(182,34,34,0.12); }

  @media (max-width: 820px) {
    .validation-toast {
      position: fixed;
      left: 12px; right: 12px;
      bottom: calc(12px + env(safe-area-inset-bottom, 0px));
      margin: 0;
      z-index: 200;
      background: var(--white);
      border: 2px solid var(--error);
      box-shadow: 0 8px 32px rgba(15,34,64,0.30);
    }
    .validation-toast .toast-luk { min-width: 40px; min-height: 40px; }
  }

  /* Fejl direkte under fødselsdatofeltet */
  .felt-fejl {
    display: none;
    margin-top: 6px;
    font-size: 0.9375rem;
    color: var(--error);
    font-weight: 600;
    line-height: 1.45;
  }
  .felt-fejl.vis { display: block; }

  /* ══════════════════════════════════════════
     RESPONSIVE — tablet og telefon
     ══════════════════════════════════════════ */

  /* Alle inputfelter mindst 16px, ellers zoomer Safari på iPhone
     ind ved fokus og zoomer aldrig ud igen. */
  @media (max-width: 900px) {
    .form-control,
    .num-display,
    input[type="text"], input[type="email"], input[type="tel"],
    input[type="number"], input[type="date"], select, textarea {
      font-size: 16px;
    }
  }

  /* ── TABLET ── */
  @media (max-width: 820px) {
    header { padding: 0 1.25rem; }
    #screen-app { padding: 2rem 1.25rem 3rem; }
    .section-card { padding: 1.6rem; }
  }

  /* ── TELEFON ── */
  @media (max-width: 600px) {
    header { padding: 0 1rem; }
    .header-badge { display: none; }
    .logo-text { font-size: 1.05rem; }

    #screen-app { padding: 1.5rem 1rem 3rem; }
    .section-card { padding: 1.3rem; }
    .progress-header { padding: 1.2rem 1rem; }

    /* Trin-pillerne fylder fem rækker på en telefon. Her ruller de
       vandret i én række i stedet. */
    .progress-steps {
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      padding-bottom: 4px;
      margin-left: -1rem; margin-right: -1rem;
      padding-left: 1rem; padding-right: 1rem;
    }
    .progress-steps::-webkit-scrollbar { display: none; }
    .progress-step { flex-shrink: 0; }

    .progress-header-top { flex-direction: column; align-items: flex-start; gap: 4px; }
    .progress-header h2 { font-size: 1.1rem; }

    /* Brødtekst og forklaringer op fra 14px til 15px */
    .info-box,
    .toggle-label small,
    .tilvalg-sub,
    .field-hint,
    .tilvalg-card:not(.active)::after {
      font-size: 0.9375rem;
    }
    .toggle-label strong { font-size: 0.95rem; }
    .tilvalg-name { font-size: 0.95rem; }

    /* Trykflader op på mindst 40px */
    .num-btn { width: 40px; height: 40px; font-size: 1.25rem; }
    .remove-btn {
      min-width: 40px; min-height: 40px;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 1.2rem; padding: 0;
    }
    .sum-pill { padding: 10px 16px; }
    .sum-options { gap: 0.6rem; }
    .toggle { width: 50px; height: 30px; }
    .toggle-slider::before { width: 24px; height: 24px; }
    .toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

    /* Navigationsknapper i fuld bredde, så de er nemme at ramme */
    .nav-buttons { gap: 0.75rem; }
    .btn-back, .btn-next { padding: 14px 20px; justify-content: center; }

    .summary-header { padding: 2rem 1.25rem 1.25rem; }
    .summary-header h2 { font-size: 1.35rem; }
    .section-title { gap: 10px; }
    .section-icon { width: 38px; height: 38px; font-size: 18px; }
  }

  /* ── SMÅ TELEFONER ── */
  @media (max-width: 380px) {
    .logo-text { font-size: 0.95rem; }
    .section-card { padding: 1.1rem; }
    .insurance-grid { grid-template-columns: 1fr; }
  }

  /* Respekter brugerens ønske om mindre bevægelse */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
  }