/* ─── RESET ──────────────────────────────────────────────── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Red Hat Display', Arial, sans-serif;
    background: var(--offwhite);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
  }

  /* ─── LAYOUT ─────────────────────────────────────────────── */
  .app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  /* ─── HEADER ─────────────────────────────────────────────── */
  .header {
    background: var(--navy);
    padding: 14px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(205,171,93,0.2), 0 4px 32px rgba(0,0,0,0.28);
    border-bottom: 1px solid rgba(205,171,93,0.15);
  }
  .logo {
    display: flex;
    align-items: center;
  }
  .logo-mark {
    height: 44px;
    width: auto;
    max-width: min(200px, 46vw);
    display: block;
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 10px;
    box-sizing: content-box;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
  }
  .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .page-indicator {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.05em;
  }
  .page-indicator span {
    color: var(--gold);
    font-weight: 600;
  }

  /* ─── PROGRESS BAR ───────────────────────────────────────── */
  .progress-track {
    height: 3px;
    background: rgba(255,255,255,0.1);
    position: relative;
  }
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.5s cubic-bezier(.4,0,.2,1);
    width: 0%;
  }

  /* ─── STEP DOTS ──────────────────────────────────────────── */
  .step-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0 0;
  }
  .step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    transition: all 0.3s ease;
    cursor: default;
  }
  .step-dot.active {
    background: var(--navy);
    transform: scale(1.4);
  }
  .step-dot.done {
    background: var(--gold);
  }

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

  /* ─── DEBUG BAR (?debug=1) ───────────────────────────────── */
  #debugBar {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    max-width: calc(100vw - 24px);
    padding: 10px 12px;
    background: #1E274A;
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  }
  #debugBar button {
    border: 0;
    border-radius: 6px;
    padding: 6px 10px;
    background: #CDAB5D;
    color: #1E274A;
    font-weight: 600;
    cursor: pointer;
  }
  #debugBar span { opacity: 0.75; }

  /* ─── LEGAL FOOTER (alle Seiten) ─────────────────────────── */
  .legal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 18px 24px 28px;
    background: var(--offwhite, #F7F5F0);
    border-top: 1px solid rgba(30, 39, 74, 0.08);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }
  .legal-footer a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .legal-footer a:hover {
    color: var(--gold-dark, #a88a3d);
  }
  .legal-footer-sep {
    color: var(--muted, #9ca3af);
  }
