/* ============================================================
   gross::rechtsanwaelte — Mandatsaufnahme-Portal
   style.css
   ============================================================ */

/* Selbst gehostete Schriften (kein Google CDN — DSGVO-konform) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/playfair-display-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/playfair-display-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --navy:       #002855;
  --navy-light: #0a3d7a;
  --navy-dark:  #001640;
  --red:        #8B0000;
  --red-hover:  #a52020;
  --white:      #ffffff;
  --off-white:  #f7f7f5;
  --gray-100:   #f2f2f0;
  --gray-200:   #e4e4e0;
  --gray-400:   #bbbbb0;
  --gray-500:   #888880;
  --text:       #1a1a1a;
  --text-muted: #555550;

  --ff-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-sans:  Verdana, Geneva, Tahoma, sans-serif;

  --max-w:  1200px;
  --nav-h:  80px;

  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow:    0 4px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.14);
  --radius:    6px;
  --radius-lg: 14px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: #eeecea;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }

ul, ol { list-style: none; }

/* ── Typografie ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  color: var(--navy);
  line-height: 1.3;
}

h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h3 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Navigation ────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.site-nav .nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--ff-sans);
  font-size: 1.3rem;
  text-decoration: none;
  line-height: 1;
  letter-spacing: -0.01em;
}
.logo .logo-gross {
  font-weight: 700;
  color: var(--navy);
}
.logo .logo-sep {
  color: var(--red);
  font-weight: 400;
}
.logo .logo-ra {
  color: var(--red);
  font-weight: 400;
}

.nav-back {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s var(--ease);
  border: 1px solid var(--gray-200);
  padding: 7px 14px;
  border-radius: var(--radius);
}
.nav-back:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--gray-100);
}
.nav-back::before { content: '←'; }

/* ── Wrapper / Container ───────────────────────────────────── */
.portal-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Fortschritts-Balken ───────────────────────────────────── */
.wizard-progress {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  box-shadow: var(--shadow-sm);
}

.wizard-progress .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 120px;
}

.progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: var(--gray-200);
  transition: background 0.3s var(--ease);
}

.progress-step.completed:not(:last-child)::after {
  background: var(--red);
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s var(--ease);
  position: relative;
  z-index: 1;
}

.progress-step.active .step-circle {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(0,40,85,.15);
}

.progress-step.completed .step-circle {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.step-label {
  font-size: 0.65rem;
  margin-top: 6px;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.progress-step.active .step-label { color: var(--navy); font-weight: 700; }
.progress-step.completed .step-label { color: var(--red); }
.progress-step.step-incomplete .step-circle {
  background: #fff0f0;
  border-color: #c0392b;
  color: #c0392b;
}
.progress-step.step-incomplete .step-label { color: #c0392b; }

/* ── Formular-Bereich ──────────────────────────────────────── */
.wizard-body {
  flex: 1;
  padding: 40px 0 120px;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  border-top: 3px solid var(--navy);
}

.step-title {
  font-family: var(--ff-serif);
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.step-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

/* ── Formular-Elemente ─────────────────────────────────────── */
.form-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 28px 0 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--red);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,40,85,.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139,0,0,.1);
}

.form-group .field-error {
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 4px;
  display: none;
}

.form-group .field-error.visible {
  display: block;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888880' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* Radio-Buttons */
.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  cursor: pointer;
}

/* Bedingte Felder */
.conditional-field {
  display: none;
  padding: 16px;
  background: var(--gray-100);
  border-radius: var(--radius);
  margin-top: 12px;
  border-left: 3px solid var(--navy);
}

.conditional-field.visible {
  display: block;
}

/* Info-Box */
.info-box {
  background: #e8f0fa;
  border: 1px solid #b8cfea;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.5;
}

.info-box strong { display: block; margin-bottom: 4px; }

.warning-box {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #664d03;
  margin-bottom: 20px;
}

/* Gehalt-Grid */
.gehalt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gehalt-grid .form-group {
  margin-bottom: 0;
}

.gehalt-grid label {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  font-weight: 400 !important;
}

/* ── Upload-Bereich (Schritt 6) ────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--gray-400);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  background: var(--gray-100);
  position: relative;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--navy);
  background: #e8f0fa;
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-zone-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--gray-500);
}

.upload-zone-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.upload-zone-sub {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.upload-category {
  margin-top: 16px;
}

.upload-category select {
  width: auto;
  min-width: 200px;
}

.file-list {
  margin-top: 24px;
}

.file-list-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.file-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: box-shadow 0.2s var(--ease);
}

.file-list-item:hover {
  box-shadow: var(--shadow-sm);
}

.file-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.file-info {
  flex: 1;
  min-width: 0;
}

.file-name {
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.file-delete {
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.file-delete:hover {
  color: var(--red);
  background: rgba(139,0,0,.08);
}

.file-progress {
  height: 3px;
  background: var(--gray-200);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.file-progress-bar {
  height: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: width 0.3s;
}

/* Dokument-Checkliste */
.doc-checklist {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.doc-checklist h4 {
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.doc-checklist ul {
  list-style: none;
}

.doc-checklist li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 3px 0;
  padding-left: 20px;
  position: relative;
}

.doc-checklist li::before {
  content: '□';
  position: absolute;
  left: 0;
  color: var(--gray-400);
}

/* ── Zusammenfassung (Schritt 7) ───────────────────────────── */
.summary-section {
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.summary-section-header {
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.summary-section-header::after {
  content: '▾';
  transition: transform 0.2s;
}

.summary-section.collapsed .summary-section-header::after {
  transform: rotate(-90deg);
}

.summary-section-body {
  padding: 16px;
}

.summary-section.collapsed .summary-section-body {
  display: none;
}

.summary-row {
  display: flex;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.85rem;
  gap: 12px;
}

.summary-row:last-child { border-bottom: none; }

.summary-label {
  color: var(--text-muted);
  min-width: 180px;
  flex-shrink: 0;
}

.summary-value {
  color: var(--text);
  font-weight: 500;
  word-break: break-word;
}

/* Consent-Checkboxen */
.consent-section {
  margin: 32px 0 24px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.consent-row:hover {
  border-color: var(--navy);
  background: #f0f4fa;
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--navy);
  cursor: pointer;
}

.consent-row.checked {
  border-color: var(--navy);
  background: #e8f0fa;
}

.consent-text {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}

.consent-text strong { color: var(--navy); }

/* ── Wizard-Navigation ─────────────────────────────────────── */
.wizard-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 24px rgba(0,0,0,.08);
  padding: 16px 24px;
}

.wizard-nav-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.wizard-step-indicator {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--gray-100);
  color: var(--navy);
}

.btn-danger {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-danger:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: var(--white);
}

.btn-submit {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  padding: 12px 32px;
}

.btn-submit:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: var(--white);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-hidden {
  visibility: hidden;
  pointer-events: none;
}

/* ── Token-Invalid-Seite ───────────────────────────────────── */
.token-invalid {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h));
  background: var(--navy);
}

.token-invalid-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 500px;
  width: 100%;
  margin: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.token-invalid-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.token-invalid-card h2 {
  color: var(--navy);
  margin-bottom: 12px;
}

.token-invalid-card p {
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.token-invalid-contact {
  margin-top: 24px;
  padding: 16px;
  background: var(--gray-100);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Danke-Seite ───────────────────────────────────────────── */
.danke-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
}

.danke-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 580px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.danke-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
}

.danke-aktenzeichen {
  background: var(--gray-100);
  border-left: 4px solid var(--navy);
  padding: 14px 20px;
  border-radius: var(--radius);
  margin: 24px 0;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.danke-steps {
  text-align: left;
  margin: 24px 0;
}

.danke-step {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.danke-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Honeypot ──────────────────────────────────────────────── */
.hp-field {
  display: none !important;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

/* ── Toast-Benachrichtigungen ──────────────────────────────── */
.toast-container {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 20px;
  font-size: 0.875rem;
  max-width: 320px;
  border-left: 4px solid var(--navy);
  animation: slideIn 0.3s var(--ease);
}

.toast.success { border-left-color: #2e7d32; }
.toast.error   { border-left-color: var(--red); }
.toast.info    { border-left-color: var(--navy); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ── Ladeindikator ─────────────────────────────────────────── */
.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 300;
  align-items: center;
  justify-content: center;
}

.loading-overlay.active {
  display: flex;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Speicherstatus ────────────────────────────────────────── */
.save-status {
  font-size: 0.75rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.save-status.saving { color: var(--navy); }
.save-status.saved  { color: #2e7d32; }
.save-status.error  { color: var(--red); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: var(--gray-400);
  text-align: center;
  padding: 16px 24px;
  font-size: 0.75rem;
}

.site-footer a { color: var(--gray-400); }
.site-footer a:hover { color: var(--white); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form-row.cols-3 { grid-template-columns: 1fr; }
  .gehalt-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card { padding: 24px 20px; }
  .step-label { display: none; }
  .wizard-nav-inner { flex-wrap: wrap; }
  .summary-label { min-width: 120px; }
  .danke-card, .token-invalid-card { padding: 32px 24px; }
}

@media (max-width: 400px) {
  .gehalt-grid { grid-template-columns: 1fr 1fr; }
  .progress-step:not(.active) .step-circle { width: 28px; height: 28px; font-size: 0.7rem; }
}
