/* ── CSS Variables (White-Label Theming) ──────────────────────────── */
:root {
  --primary:       #6366f1;
  --primary-dark:  #4f46e5;
  --primary-light: #e0e7ff;
  --accent:        #10b981;
  --accent-light:  #d1fae5;
  --bg:            #f6f7f9;
  --surface:       #ffffff;
  --surface-2:     #fbfcfe;
  --border:        #e7e9ef;
  --border-strong: #d7dae3;
  --text:          #0e1116;
  --text-muted:    #6b7280;
  --error:         #ef4444;
  --error-light:   #fee2e2;
  --warning:       #f59e0b;
  --success:       #22c55e;
  --shadow-sm:     0 1px 2px rgba(16,24,40,.05);
  --shadow:        0 8px 30px -12px rgba(16,24,40,.16), 0 2px 6px -2px rgba(16,24,40,.06);
  --shadow-lg:     0 30px 70px -24px rgba(16,24,40,.28);
  --radius:        14px;
  --radius-sm:     10px;
  --radius-lg:     22px;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --ease:          cubic-bezier(.4, 0, .2, 1);
  --transition:    .18s var(--ease);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Selbst-gehostete Inter-Schrift (OFL) – kein Google-CDN, kein US-Transfer (DSGVO). */
@font-face { font-family:'Inter'; font-style:normal; font-weight:300; font-display:swap; src:url('/fonts/inter-300.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('/fonts/inter-700.woff2') format('woff2'); }

/* Sichtbarer Tastatur-Fokus (Barrierefreiheit) */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ── Header ────────────────────────────────────────────────────────── */
.site-header {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo-img { height: 40px; width: 40px; object-fit: contain; border-radius: 11px; }
.logo-placeholder {
  width: 40px; height: 40px;
  background: linear-gradient(150deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 17px; letter-spacing: -.01em;
  box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--primary) 55%, transparent);
}
.logo-text h1 { font-size: 16px; font-weight: 650; line-height: 1.2; letter-spacing: -.01em; }
.logo-text p  { font-size: 12.5px; color: var(--text-muted); margin-top: 1px; }
.header-contact { font-size: 13px; color: var(--text-muted); text-align: right; display: flex; flex-direction: column; gap: 2px; }
.header-contact a { color: var(--text); text-decoration: none; font-weight: 550; }
.header-contact a:hover { color: var(--primary); }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 64px 24px 80px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.hero h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 12px; position: relative; }
.hero p  { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 460px; margin: 0 auto; position: relative; }

/* ── Wizard Container ──────────────────────────────────────────────── */
.wizard-wrap {
  max-width: 700px;
  margin: -44px auto 64px;
  padding: 0 16px;
  position: relative;
}

/* ── Progress Bar ──────────────────────────────────────────────────── */
.progress-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: none;
  padding: 22px 32px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.progress-bar::-webkit-scrollbar { display: none; }
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 64px;
  position: relative;
  cursor: default;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 2px;
  border-radius: 2px;
  background: var(--border-strong);
  transition: background .35s var(--ease);
}
.step-item.done:not(:last-child)::after { background: var(--accent); }
.step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 650;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative; z-index: 1;
}
.step-item.active .step-dot  { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: 0 0 0 4px var(--primary-light); }
.step-item.done .step-dot    { border-color: var(--accent); background: var(--accent); color: #fff; }
.step-label { font-size: 11.5px; font-weight: 550; color: var(--text-muted); white-space: nowrap; transition: color var(--transition); }
.step-item.active .step-label { color: var(--text); font-weight: 600; }
.step-item.done .step-label   { color: var(--text-muted); }
/* Erledigte Schritte sind anklickbar (zurückspringen) */
.step-item.done { cursor: pointer; }
.step-item.done:hover .step-dot   { transform: scale(1.08); }
.step-item.done:hover .step-label { color: var(--text); }

/* ── Card ──────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 36px 40px 40px;
  box-shadow: var(--shadow);
  animation: fadeIn .32s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.card-title {
  font-size: 21px; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: 6px;
}
.card-subtitle { font-size: 14.5px; color: var(--text-muted); margin-bottom: 28px; }

/* ── Treatment Type Toggle ─────────────────────────────────────────── */
.type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.type-btn {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  cursor: pointer;
  background: var(--surface);
  transition: var(--transition);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  position: relative;
}
.type-btn:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-1px); }
.type-btn.selected { border-color: var(--primary); background: color-mix(in srgb, var(--primary-light) 55%, var(--surface)); box-shadow: 0 0 0 1px var(--primary) inset; }
.type-btn .type-icon {
  width: 46px; height: 46px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  transition: var(--transition);
}
.type-btn.selected .type-icon { background: var(--surface); border-color: var(--primary); }
.type-btn .type-label { font-weight: 650; font-size: 15px; letter-spacing: -.01em; }
.type-btn .type-desc  { font-size: 12.5px; color: var(--text-muted); }

/* ── Treatment Grid ────────────────────────────────────────────────── */
.treatment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.treatment-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
}
.treatment-card:hover    { border-color: var(--border-strong); background: var(--surface-2); }
.treatment-card.selected { border-color: var(--primary); background: color-mix(in srgb, var(--primary-light) 45%, var(--surface)); box-shadow: 0 0 0 1px var(--primary) inset; }
.treatment-card .tc-radio {
  width: 20px; height: 20px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  flex-shrink: 0;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.treatment-card.selected .tc-radio { border-color: var(--primary); background: var(--primary); }
.treatment-card.selected .tc-radio::after {
  content: ''; width: 7px; height: 7px;
  background: #fff; border-radius: 50%;
}
.treatment-card .tc-name { font-weight: 550; font-size: 14px; }
.treatment-card .tc-type { font-size: 12.5px; color: var(--text-muted); }

/* ── Calendar ──────────────────────────────────────────────────────── */
.calendar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.cal-nav {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--text); transition: var(--transition);
}
.cal-nav:hover { background: var(--surface-2); border-color: var(--border-strong); }
.cal-month-year { font-weight: 650; font-size: 16px; letter-spacing: -.01em; }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day-header {
  text-align: center; font-size: 11px; font-weight: 600;
  color: var(--text-muted); padding: 6px 0; text-transform: uppercase; letter-spacing: .04em;
}
.cal-day {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 550;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
}
.cal-day.empty    { cursor: default; }
.cal-day.disabled { color: var(--border-strong); cursor: not-allowed; }
.cal-day.past     { color: var(--border-strong); cursor: not-allowed; }
.cal-day.today    { font-weight: 700; }
.cal-day.today::after {
  content: ''; width: 4px; height: 4px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  bottom: 3px; left: 50%; transform: translateX(-50%);
}
.cal-day.has-slots:not(.disabled):not(.past) { color: var(--text); }
.cal-day.has-slots:not(.disabled):not(.past):hover { background: var(--surface-2); border-color: var(--border-strong); }
.cal-day.selected { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--primary) 55%, transparent); }
.cal-day.selected.today::after { background: #fff; }

/* ── Time Slots ────────────────────────────────────────────────────── */
.slots-label { font-weight: 650; font-size: 14.5px; margin: 24px 0 12px; letter-spacing: -.01em; }
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}
.slot-btn {
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  text-align: center;
  font-size: 14px; font-weight: 550;
  color: var(--text);
  transition: var(--transition);
}
.slot-btn:hover { border-color: var(--border-strong); background: var(--surface-2); }
.slot-btn.selected { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--primary) 55%, transparent); }
.slots-empty { color: var(--text-muted); font-size: 14px; padding: 20px 0; text-align: center; }

/* ── Form Fields ───────────────────────────────────────────────────── */
.form-grid { display: grid; gap: 18px; }
.form-grid-2 { grid-template-columns: 1fr 1fr; }

.field {
  display: flex; flex-direction: column; gap: 7px;
}
.field label {
  font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: -.005em;
}
.field label .req { color: var(--error); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--text-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px var(--primary-light);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field textarea { resize: vertical; min-height: 92px; line-height: 1.55; }
.field 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='%236b7280' 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; cursor: pointer; }
.field .hint { font-size: 12.5px; color: var(--text-muted); }
.field .err  { font-size: 12.5px; color: var(--error); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); box-shadow: 0 0 0 3.5px var(--error-light); }
.field.has-error .err { display: block; }

/* ── Upload Zone ───────────────────────────────────────────────────── */
.upload-zone {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  background: var(--surface-2);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary-light) 40%, var(--surface));
}
.upload-zone input[type=file] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.upload-icon { font-size: 34px; margin-bottom: 8px; }
.upload-text   { font-weight: 650; font-size: 15px; }
.upload-subtext{ font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }
.upload-preview {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  margin-top: 12px;
}
.upload-preview img { height: 56px; width: 56px; object-fit: cover; border-radius: 8px; }
.preview-pdf { font-size: 34px; }
.preview-info { flex: 1; text-align: left; }
.preview-name { font-weight: 600; font-size: 13px; }
.preview-size { font-size: 12.5px; color: var(--text-muted); }
.remove-file {
  background: none; border: none; cursor: pointer; color: var(--error); font-size: 18px; padding: 4px;
}

/* ── Summary ───────────────────────────────────────────────────────── */
.summary-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 24px;
}
.summary-row {
  padding: 14px 16px;
  background: var(--surface);
  display: flex; flex-direction: column; gap: 3px;
}
.summary-row .s-label { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--text-muted); letter-spacing: .06em; }
.summary-row .s-value { font-size: 14.5px; font-weight: 550; }

.appointment-box {
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 24px;
  display: flex; gap: 16px; align-items: center;
  box-shadow: 0 12px 30px -14px color-mix(in srgb, var(--primary) 60%, transparent);
}
.appt-icon { font-size: 30px; }
.appt-date  { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.appt-time  { font-size: 14px; color: rgba(255,255,255,.85); }
.appt-treatment { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn-row { display: flex; gap: 12px; margin-top: 30px; }
.btn-row.end { justify-content: flex-end; }

.btn {
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: -.01em;
  transition: var(--transition);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--primary) 60%, transparent);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 10px 22px -6px color-mix(in srgb, var(--primary) 65%, transparent); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--text-muted); background: var(--surface-2); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-success { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn-success:hover { background: #059669; }

/* ── Icons (Inline-SVG, currentColor) ──────────────────────────────── */
svg { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; }
.btn-ico, .alert-ico, .tc-ico { display: inline-flex; align-items: center; }
.btn-ico svg  { width: 17px; height: 17px; }
.alert-ico svg{ width: 18px; height: 18px; }
.tc-ico       { color: var(--text-muted); }
.tc-ico svg   { width: 14px; height: 14px; vertical-align: -.15em; }
.type-icon svg   { width: 23px; height: 23px; color: var(--text); }
.appt-icon svg   { width: 28px; height: 28px; }
.success-icon svg{ width: 40px; height: 40px; color: var(--accent); }
.upload-icon svg { width: 30px; height: 30px; color: var(--text-muted); }
.cal-nav svg     { width: 19px; height: 19px; }
.preview-pdf svg { width: 30px; height: 30px; color: var(--text-muted); }
.remove-file svg { width: 18px; height: 18px; }

/* ── Success Screen ────────────────────────────────────────────────── */
.success-screen {
  text-align: center;
  padding: 24px 0;
}
.success-icon {
  width: 76px; height: 76px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; margin: 0 auto 22px;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-light) 45%, transparent);
}
.success-title   { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.success-text    { color: var(--text-muted); font-size: 15px; line-height: 1.6; max-width: 400px; margin: 0 auto 24px; }
.success-id      { font-size: 12.5px; color: var(--text-muted); margin-top: 20px; }
.success-id code { background: var(--surface-2); border: 1px solid var(--border); padding: 3px 8px; border-radius: 6px; font-family: ui-monospace, monospace; }

/* ── Loading Spinner ───────────────────────────────────────────────── */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Badge ─────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.badge-pending   { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: var(--primary-light); color: var(--primary-dark); }
.badge-completed { background: var(--accent-light); color: #065f46; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }

/* ── DSGVO Consent ─────────────────────────────────────────────────── */
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  line-height: 1.5;
}
.consent-label input[type=checkbox] {
  width: 18px !important;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--primary);
  cursor: pointer;
}
#f-consent.has-error .consent-label { color: var(--error); }
#consent-err { display: none; font-size: 12.5px; color: var(--error); }
#f-consent.has-error #consent-err { display: block; }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 28px 24px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--primary); text-decoration: underline; }

/* ── Alert ─────────────────────────────────────────────────────────── */
.alert {
  padding: 13px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  margin-bottom: 20px;
  display: flex; gap: 10px; align-items: flex-start;
}
.alert-error   { background: var(--error-light); color: #991b1b; border: 1px solid #fca5a5; }
.alert-success { background: var(--accent-light); color: #065f46; border: 1px solid #6ee7b7; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 44px 16px 60px; }
  .hero p  { font-size: 14.5px; }

  .wizard-wrap { margin-top: -40px; }

  .progress-bar { padding: 16px 14px 14px; }
  .card { padding: 24px 20px 28px; }
  .card-title { font-size: 19px; }

  .type-toggle { grid-template-columns: 1fr; }
  .treatment-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr; }

  .step-label { display: none; }
  .step-dot { width: 26px; height: 26px; font-size: 12px; }
  .step-item:not(:last-child)::after { top: 13px; }

  .site-header .inner { height: 60px; }
  .logo-text h1 { font-size: 14.5px; }
  .header-contact { display: none; }

  .btn { padding: 12px 20px; }
  .btn-row { flex-direction: column-reverse; }
  .btn-row .btn { width: 100%; }

  .appointment-box { flex-direction: column; gap: 8px; text-align: center; }
  .upload-zone { padding: 22px 16px; }
}

/* ── Reduced Motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ── Demo-Modus: Gestaltungs-Hinweise (nur wenn body.demo-mode) ───────────── */
.demo-mode .demo-hint { position: relative; outline: 2px dashed var(--primary); outline-offset: -2px; }
.demo-mode .demo-hint::after {
  content: attr(data-hint); position: absolute; top: 8px; right: 8px; z-index: 5;
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.18); pointer-events: none;
}
.demo-mode.demo-hints-off .demo-hint { outline: none; }
.demo-mode.demo-hints-off .demo-hint::after { display: none; }
.demo-mode.demo-hints-off .demo-hint-note { display: none; }
#demo-picker .demo-hint-note { opacity: .9; font-size: 13px; }
#demo-hints-toggle {
  background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: 7px;
  padding: 6px 12px; cursor: pointer; font: inherit; font-size: 13px;
}
#demo-hints-toggle:hover { background: rgba(255,255,255,.28); }
@media (max-width: 640px) { #demo-picker .demo-hint-note { display: none; } }
