/* DerKassenDoc Support – mobile-first */

:root {
  --navy: #0f2847;
  --navy-dark: #0a1f38;
  --petrol: #1fa8a8;
  --petrol-dark: #178f8f;
  --petrol-light: #eef9f9;
  --white: #ffffff;
  --bg: #fafbfc;
  --text: #243447;
  --text-muted: #64748b;
  --border: #e8edf2;
  --border-strong: #d1dae3;
  --hint-bg: #f4faf9;
  --hint-border: #cce8e8;
  --urgent-bg: #fff5f5;
  --urgent-border: #fed7d7;
  --urgent-text: #9b2c2c;
  --urgent-btn: #e53e3e;
  --urgent-btn-hover: #c53030;
  --shadow: 0 1px 8px rgba(15, 40, 71, 0.06);
  --shadow-lg: 0 4px 20px rgba(15, 40, 71, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --touch: 48px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-claim: "Segoe Script", "Apple Chancery", "Brush Script MT", cursive;
  --max-width: 640px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    url("assets/background.png") no-repeat left top,
    url("assets/background.png") no-repeat right bottom;
  background-size: 45% auto, 40% auto;
  opacity: 0.07;
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--petrol-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.65rem 1rem;
  min-height: var(--header-h);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.header-logo {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}

.header-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.brand-accent {
  color: var(--petrol);
}

.brand-area {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.header-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 9.5rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-muted);
}

.header-status-dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--border-strong);
}

.header-status.availability--open {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #047857;
}

.header-status.availability--open .header-status-dot {
  background: #10b981;
}

.header-status.availability--emergency {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.header-status.availability--emergency .header-status-dot {
  background: #ef4444;
  animation: status-pulse 2s ease-in-out infinite;
}

.header-status.availability--emergency-idle {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.header-status.availability--emergency-idle .header-status-dot {
  background: #f97316;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.header-status.availability--closed,
.header-status.availability--silent {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.header-status.availability--closed .header-status-dot,
.header-status.availability--silent .header-status-dot {
  background: #f97316;
}

.header-status-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Main layout */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.section {
  margin-top: 1.75rem;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
}

.section-intro {
  margin: -0.5rem 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Hero – persönliche Karte mit Portrait */
.hero-card {
  margin-top: 1rem;
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-portrait-wrap {
  flex: 0 0 42%;
  max-width: 200px;
  display: flex;
  align-items: flex-end;
  line-height: 0;
}

.hero-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 0.25rem;
}

.hero-greeting {
  margin: 0 0 0.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--petrol);
}

.hero-card h1 {
  margin: 0;
  font-size: clamp(1.4rem, 5.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}

.hero-claim {
  margin: 0.2rem 0 0.45rem;
  font-family: var(--font-claim);
  font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  color: var(--petrol-dark);
  line-height: 1.2;
}

.hero-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-portrait {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left bottom;
}

.hero-card .hint-box {
  margin-bottom: 1rem;
}

.emergency-banner {
  margin: 0 0 1rem;
  padding: 1.1rem 1rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.emergency-banner-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.emergency-banner-phone {
  display: block;
  margin: 0 0 0.35rem;
  font-size: clamp(1.65rem, 7vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.emergency-banner-phone:hover {
  color: var(--petrol-dark);
}

.emergency-banner-phone[aria-disabled="true"] {
  color: var(--text-muted);
  cursor: default;
  pointer-events: none;
}

.emergency-banner-status {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.emergency-banner-notdienst {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--petrol-dark);
}

.emergency-banner--active .emergency-banner-notdienst {
  color: #991b1b;
}

.emergency-banner--offline .emergency-banner-notdienst {
  color: var(--text-muted);
  font-weight: 500;
}

.emergency-banner-disclaimer {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.emergency-banner--open {
  border-color: #a7f3d0;
  background: linear-gradient(180deg, #f0fdf9 0%, var(--white) 100%);
}

.emergency-banner--open .emergency-banner-status {
  color: #047857;
}

.emergency-banner--active {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff5f5 0%, var(--white) 100%);
}

.emergency-banner--active .emergency-banner-kicker {
  color: #b91c1c;
}

.emergency-banner--active .emergency-banner-phone {
  color: #b91c1c;
}

.emergency-banner--active .emergency-banner-status {
  color: #991b1b;
}

.emergency-banner--offline {
  border-color: var(--border);
  background: #f8fafc;
}

.emergency-banner--offline .emergency-banner-status {
  color: var(--text-muted);
  font-weight: 500;
}

.hero-action {
  margin-bottom: 0.85rem;
}

a.btn--hero {
  text-decoration: none;
}

.btn--hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 64px;
  padding: 0.95rem 1.15rem;
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--petrol) 0%, var(--petrol-dark) 100%);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(26, 168, 168, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn--hero:hover {
  box-shadow: 0 8px 24px rgba(26, 168, 168, 0.45);
}

.btn--hero:active {
  transform: scale(0.98);
}

.btn--hero-single {
  justify-content: center;
  gap: 0.65rem;
}

.btn--hero-single .btn-hero-label {
  flex: 0 1 auto;
}

.btn--hero-single .btn-hero-arrow {
  flex-shrink: 0;
}

.btn-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
}

.btn-hero-label {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
}

.btn-hero-sub {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.92;
}

.btn-hero-arrow {
  flex-shrink: 0;
  opacity: 0.95;
}

.hero-action-note {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}

.hero-action-note strong {
  color: var(--navy);
  font-weight: 600;
}

.hero-secondary {
  margin-bottom: 0.85rem;
}

.btn--pause {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 58px;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--petrol);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white) 0%, var(--petrol-light) 100%);
  color: var(--petrol-dark);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(26, 168, 168, 0.22);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s, background 0.15s;
}

.btn--pause:hover,
.btn--pause:focus-visible {
  border-color: var(--petrol-dark);
  background: linear-gradient(180deg, #f0fbfb 0%, #dff3f3 100%);
  box-shadow: 0 8px 22px rgba(26, 168, 168, 0.3);
  transform: translateY(-1px);
}

.btn--pause:active {
  transform: scale(0.98);
  box-shadow: 0 3px 12px rgba(26, 168, 168, 0.18);
}

.btn-pause-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #b8e8e8;
  color: var(--petrol);
}

.btn-pause-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
}

.btn-pause-label {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  text-align: left;
}

.btn-pause-arrow {
  flex-shrink: 0;
  color: var(--petrol-dark);
  opacity: 0.95;
}

.btn-pause-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.25;
}

button.btn--pause {
  cursor: pointer;
  text-align: left;
}

button.btn--pause .btn-pause-text {
  flex: 1;
}

.form-field-error {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--urgent-btn);
  background: rgba(200, 60, 60, 0.08);
  border: 1px solid rgba(200, 60, 60, 0.2);
  border-radius: var(--radius-sm);
}

.form-field-error[hidden] {
  display: none !important;
}

.form-group--invalid input,
.form-group--invalid textarea,
.form-group--invalid select {
  border-color: var(--urgent-btn);
  box-shadow: 0 0 0 1px rgba(200, 60, 60, 0.15);
}

.form-hint--standalone {
  margin: 0 0 0.85rem;
}

/* Pause-Seite */
.pause-card {
  margin-top: 0.25rem;
}

.pause-quick-tips {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  list-style: none;
  background: var(--hint-bg);
  border: 1px solid var(--hint-border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}

.pause-quick-tips li {
  position: relative;
  margin-bottom: 0.4rem;
  padding-left: 0.15rem;
}

.pause-quick-tips li:last-child {
  margin-bottom: 0;
}

.pause-more {
  margin-top: 0;
}

.pause-learn-sub {
  margin: 1rem 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.pause-learn-sub:first-of-type {
  margin-top: 0.75rem;
}

.pause-learn-note {
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.pause-tip {
  margin: 0 0 0.85rem;
  text-align: left;
}

.pause-finish-back {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.88rem;
}

.pause-finish-back a {
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
}

.pause-finish-back a:hover {
  color: var(--petrol-dark);
  text-decoration: underline;
}

/* Wartungsmodus */
html.is-maintenance-check body {
  visibility: hidden;
}

.maintenance-card {
  margin-top: 0.25rem;
  text-align: center;
}

.maintenance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--petrol-light);
  color: var(--petrol-dark);
}

.maintenance-card h1 {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
  color: var(--navy);
}

.maintenance-lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.maintenance-phone {
  margin-bottom: 1rem;
  text-align: center;
}

.maintenance-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Admin – Wartung steuern */
.admin-card {
  margin-top: 0.25rem;
}

.admin-card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
  color: var(--navy);
}

.admin-lead {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.admin-panel {
  text-align: left;
}

.admin-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.admin-input {
  width: 100%;
  min-height: var(--touch);
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
}

.admin-login-btn {
  margin-bottom: 0.5rem;
}

.admin-error {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--urgent-btn);
}

.admin-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.35rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.admin-status-dot {
  flex-shrink: 0;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--border-strong);
}

.admin-status-dot--on {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.admin-status-dot--off {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.admin-updated {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.admin-section-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.admin-status--phone {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.admin-status-dot--phone-hidden {
  background: #94a3b8;
  box-shadow: none;
}

.admin-btn--phone-on {
  color: #1e40af;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
}

.admin-btn--phone-off {
  color: #475569;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(71, 85, 105, 0.1);
}

.admin-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.admin-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  width: 100%;
  min-height: 56px;
  padding: 0.85rem 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

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

.admin-btn:not(:disabled):hover {
  transform: translateY(-1px);
}

.admin-btn-title {
  font-size: 1rem;
  font-weight: 800;
}

.admin-btn-sub {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
}

.admin-btn--on {
  color: #92400e;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fbbf24;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}

.admin-btn--off {
  color: #065f46;
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #6ee7b7;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.18);
}

.admin-feedback {
  margin: 0 0 0.85rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.admin-feedback--success {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.admin-feedback--error {
  color: var(--urgent-text);
  background: var(--urgent-bg);
  border: 1px solid var(--urgent-border);
}

.admin-links {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  text-align: center;
}

.admin-links a {
  font-weight: 600;
}

.admin-logout {
  max-width: 12rem;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .wizard-review-ask--pulse {
    animation: none;
  }
}

.calm-strip {
  margin-bottom: 0.85rem;
}

.calm-strip-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.calm-strip-toggle:hover,
.calm-strip-toggle--open {
  border-color: var(--petrol);
  color: var(--petrol-dark);
  background: var(--petrol-light);
}

.calm-strip-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--petrol);
  flex-shrink: 0;
}

.calm-panel {
  margin-top: 0.65rem;
  padding: 0.85rem 0.9rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.calm-panel-text {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.calm-continue {
  width: 100%;
  margin-top: 0.5rem;
}

.hint-box {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--hint-bg);
  border: 1px solid var(--hint-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--navy);
}

.hint-icon {
  flex-shrink: 0;
  color: var(--petrol);
  margin-top: 0.1rem;
}

.hint-box p {
  margin: 0;
}

.hint-box--tip {
  background: #f8fafc;
  border-color: var(--border);
}

.hint-box--tip .hint-icon {
  color: var(--navy);
}

/* Flow steps */
.flow-steps {
  margin-top: 1.25rem;
}

.flow-steps-list {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.25;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
}

.flow-step--active {
  color: var(--navy);
  border-color: var(--petrol);
  background: var(--petrol-light);
}

.flow-step--last {
  font-size: 0.6rem;
}

.flow-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--border);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
}

.flow-step--active .flow-step-num {
  background: var(--petrol);
  color: var(--white);
}

.step-badge {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--petrol-dark);
  background: var(--petrol-light);
  border-radius: 6px;
}

.step-badge--urgent {
  color: var(--urgent-text);
  background: var(--urgent-bg);
}

.section--primary .section-intro {
  margin-top: -0.25rem;
}

.section--primary .selfcheck {
  border-color: var(--petrol);
  box-shadow: var(--shadow-lg);
}

.selfcheck--open .selfcheck-summary {
  border-bottom: 1px solid var(--border);
}

.flow-bridge {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flow-bridge-block {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
}

.flow-bridge-block--success {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.flow-bridge-title {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.flow-bridge-text {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.flow-bridge-block--success .flow-bridge-text {
  margin-bottom: 0;
}

.flow-bridge-block .btn {
  margin-top: 0.25rem;
}

.problem-selected-hint {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  color: var(--petrol-dark);
  background: var(--petrol-light);
  border-radius: var(--radius-sm);
  border: 1px solid #b8e0e0;
}

/* Contact cards */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 72px;
  padding: 1rem 1rem 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: var(--petrol);
  box-shadow: var(--shadow-lg);
}

.contact-card--whatsapp {
  border-color: #c5e8e8;
  background: linear-gradient(135deg, #f8fdfd 0%, var(--white) 100%);
}

.contact-card--whatsapp .contact-card-icon {
  color: #25d366;
}

.contact-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--petrol-light);
  color: var(--petrol-dark);
}

.contact-card--form .contact-card-icon {
  color: var(--navy);
}

.contact-card--email .contact-card-icon {
  color: var(--navy);
}

.contact-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-card-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.contact-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-card-arrow {
  flex-shrink: 0;
  color: var(--petrol);
}

/* Problem list */
.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 64px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.problem-item:hover {
  border-color: var(--petrol);
}

.problem-item.is-selected {
  border-color: var(--petrol);
  background: var(--petrol-light);
  box-shadow: 0 0 0 2px rgba(26, 158, 158, 0.25);
}

.problem-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--petrol-light);
  color: var(--petrol-dark);
}

.problem-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.problem-title {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.problem-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.problem-arrow {
  flex-shrink: 0;
  color: var(--petrol);
}

/* WhatsApp section visibility */
.section--whatsapp.is-hidden {
  display: none;
}

.section--whatsapp.is-visible {
  display: block;
  animation: fadeIn 0.25s ease;
}

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

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group legend {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  padding: 0;
}

fieldset.form-group {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.required {
  color: var(--urgent-btn);
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
select,
textarea {
  width: 100%;
  min-height: var(--touch);
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

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='%235a6b7d' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2rem;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  min-height: var(--touch);
  padding: 0.35rem 0;
}

.radio-label input,
.checkbox-label input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--petrol);
}

.form-error {
  margin: 0.4rem 0 0;
  color: var(--urgent-btn);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-hint,
.form-note {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-note {
  text-align: center;
}

.wizard-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.wizard-mail-status {
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-sm);
}

.wizard-mail-status--success {
  color: var(--petrol-dark);
  background: rgba(26, 168, 168, 0.12);
  border: 1px solid rgba(26, 168, 168, 0.35);
}

.wizard-mail-status--error {
  color: #8b2e2e;
  background: rgba(200, 60, 60, 0.08);
  border: 1px solid rgba(200, 60, 60, 0.25);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn--primary:hover {
  background: var(--petrol-dark);
}

.btn--whatsapp {
  margin-top: 0.25rem;
}

.btn--urgent {
  background: var(--urgent-btn);
  color: var(--white);
  margin-top: 0.5rem;
}

.btn--urgent:hover {
  background: var(--urgent-btn-hover);
}

/* Self-check collapse */
.selfcheck {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.selfcheck-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  padding: 1rem 2.5rem 1rem 1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  min-height: var(--touch);
}

.selfcheck-summary::-webkit-details-marker {
  display: none;
}

.selfcheck-summary-title {
  width: 100%;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.selfcheck-summary-desc {
  width: 100%;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.selfcheck-chevron {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--petrol);
  transition: transform 0.2s;
}

.selfcheck[open] .selfcheck-chevron {
  transform: translateY(-50%) rotate(180deg);
}

.selfcheck-list {
  margin: 0;
  padding: 0 1rem 1rem;
  list-style: none;
  border-top: 1px solid var(--border);
}

.selfcheck-step {
  border-bottom: 1px solid var(--border);
}

.selfcheck-step:last-child {
  border-bottom: none;
}

.selfcheck-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  cursor: pointer;
  font-weight: 400;
}

.selfcheck-cb {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--petrol);
}

.selfcheck-step-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.selfcheck-step-content strong {
  color: var(--navy);
  font-size: 0.95rem;
}

/* Urgent section */
.section--urgent {
  margin-top: 2.5rem;
}

.urgent-card {
  padding: 1.35rem 1.25rem;
  background: var(--urgent-bg);
  border: 1px solid var(--urgent-border);
  border-radius: var(--radius);
  text-align: center;
}

.urgent-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--urgent-text);
}

.urgent-text {
  margin: 0 0 0.75rem;
  color: var(--urgent-text);
  font-weight: 500;
}

.urgent-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Hours */
.hours-card {
  padding: 1.15rem 1.25rem;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.hours-card h2 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.hours-time {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
}

.hours-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hours-emergency {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
}

.hours-time-extra {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9em;
}

/* Google Bewertungen (im Wizard nach gelöstem Fall) */
.review-box-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.625rem;
}

.review-star {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.review-star-empty {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='1.75'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.review-star-filled {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b' stroke='%23f59e0b' stroke-width='1'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.review-star-half {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='h'%3E%3Cstop offset='50%25' stop-color='%23f59e0b'/%3E%3Cstop offset='50%25' stop-color='%23cbd5e1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23h)' d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.review-box-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1rem;
}

.review-box-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: var(--petrol-light);
  border: 1px solid #b8e8e8;
  border-radius: var(--radius-sm);
  transition: background 0.15s, border-color 0.15s;
}

.review-box-link:hover {
  background: #dff3f3;
  border-color: var(--petrol);
}

.review-box-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--white);
  background: #4285f4;
  border-radius: 50%;
}

/* Legal */
.section--legal-compact {
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}
.section--legal h1,
.section--legal h2 {
  font-size: 1.15rem;
}

.section--legal h2 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
}

.section--legal ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
}

.section--legal li {
  margin-bottom: 0.35rem;
}

.form-privacy {
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  background: rgba(26, 168, 168, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.form-privacy-label {
  min-height: auto;
  padding: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.form-privacy-label a {
  color: var(--petrol-dark);
  font-weight: 600;
}

.form-privacy-hint {
  margin-top: 0.65rem;
  margin-bottom: 0;
  font-size: 0.82rem;
}

.form-privacy-error {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--urgent-btn);
  background: rgba(200, 60, 60, 0.08);
  border: 1px solid rgba(200, 60, 60, 0.2);
  border-radius: var(--radius-sm);
}

.form-privacy-error[hidden] {
  display: none !important;
}

.assistent-back-wrap {
  margin: 0.75rem 0 0;
  padding: 0 1rem;
}

.assistent-back {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--petrol-dark);
  text-decoration: none;
}

.assistent-back:hover {
  text-decoration: underline;
}

.section--wizard-page {
  padding-top: 0.25rem;
}

.section--wizard-page .wizard-card {
  margin-top: 0;
}

.legal-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-text a {
  color: var(--petrol-dark);
}

.legal-note {
  font-style: italic;
  margin-top: 0.75rem;
}

/* Seitenende – schlanke Zeile statt Footer */
.page-minimal {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
  text-align: center;
}

.page-minimal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.65rem;
}

.page-minimal-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
}

.page-minimal-nav a:hover {
  color: var(--petrol-dark);
}

.page-minimal-sep {
  color: var(--border-strong);
  font-size: 0.85rem;
}

.page-minimal-tagline {
  margin: 0;
  font-size: 0.78rem;
  color: var(--border-strong);
}

/* Tablet & desktop */
@media (min-width: 480px) {
  .hero-inner {
    gap: 1rem;
  }

  .hero-portrait-wrap {
    flex: 0 0 38%;
    max-width: 240px;
  }

  .hero-card h1 {
    font-size: 2rem;
  }

  .form-row {
    flex-direction: row;
    gap: 1rem;
  }

  .form-row .form-group {
    flex: 1;
  }
}

@media (min-width: 768px) {
  :root {
    --max-width: 720px;
  }

  .hero-portrait-wrap {
    max-width: 260px;
  }

  .wizard-avatar {
    width: 72px;
    height: 72px;
  }

  main {
    padding: 0 1.5rem 3rem;
  }

  .header-inner {
    padding: 0.75rem 1.5rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }
}

/* Hilfe-Assistent (Wizard) */
.section--wizard {
  margin-top: 1.25rem;
}

.wizard-placeholder {
  padding: 1rem 1.1rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: #f8fafc;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.wizard-placeholder p {
  margin: 0;
}

.wizard-placeholder strong {
  color: var(--navy);
}

.wizard-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
}

.wizard-card--open {
  animation: wizard-in 0.3s ease;
}

@keyframes wizard-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-card-header {
  padding: 1.15rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.wizard-card-header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.wizard-card-intro {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.wizard-panel {
  padding: 1.15rem 1.25rem 1.25rem;
}

.wizard-panel--onboarding {
  padding-top: 0.5rem;
}

.onboarding-greeting {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--petrol-dark);
}

.onboarding-lead {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.onboarding-steps {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

.onboarding-steps li + li {
  margin-top: 0.35rem;
}

.onboarding-steps strong {
  color: var(--navy);
}

.wizard-panel[hidden] {
  display: none !important;
}

.wizard-label {
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.device-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 84px;
  padding: 0.85rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fafcfd;
  cursor: pointer;
  font: inherit;
  color: var(--navy);
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.device-btn:hover,
.device-btn:focus-visible {
  border-color: var(--petrol);
  background: var(--petrol-light);
}

.device-btn:active {
  transform: scale(0.98);
}

.device-btn-icon {
  color: var(--petrol-dark);
}

.device-btn-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

.wizard-progress {
  margin-bottom: 0.75rem;
}

.wizard-progress-device {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--petrol-dark);
  background: var(--petrol-light);
  border-radius: 6px;
}

.wizard-chat {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.wizard-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
  object-position: center top;
}

.wizard-chat-content {
  flex: 1;
  min-width: 0;
}

.wizard-speaker-name {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--petrol-dark);
  letter-spacing: 0.02em;
}

.wizard-bubble {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--hint-border);
  border-radius: var(--radius);
  border-top-left-radius: 4px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 400;
}

.wizard-bubble--tip {
  background: var(--petrol-light);
  border-color: transparent;
}

.wizard-hint {
  margin: -0.5rem 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.wizard-answers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wizard-answer-btn {
  width: 100%;
  min-height: var(--touch);
  padding: 0.85rem 1rem;
  text-align: left;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.wizard-answer-btn:hover,
.wizard-answer-btn:focus-visible {
  border-color: var(--petrol);
  background: var(--petrol-light);
}

.wizard-works-again-wrap {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.wizard-works-again-btn {
  display: block;
  width: 100%;
  min-height: var(--touch);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--petrol-dark);
  background: rgba(26, 168, 168, 0.1);
  border: 2px solid var(--petrol);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.wizard-works-again-btn:hover,
.wizard-works-again-btn:focus-visible {
  background: rgba(26, 168, 168, 0.18);
  border-color: var(--petrol-dark);
}

.wizard-works-again-btn--inline {
  margin-top: 0.75rem;
}

.wizard-back {
  display: block;
  margin-top: 1rem;
  padding: 0.5rem;
  border: none;
  background: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wizard-back[hidden] {
  display: none;
}

.wizard-panel--success {
  text-align: center;
  padding: 0.5rem 0;
  position: relative;
}

.wizard-success-portrait {
  width: min(160px, 42vw);
  height: auto;
  margin: 0 auto 0.75rem;
  object-fit: contain;
}

.wizard-success-icon {
  position: absolute;
  top: 0;
  right: calc(50% - 72px);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--petrol);
  border-radius: 50%;
}

.wizard-success-title {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.35rem;
}

.wizard-success-text {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.wizard-review-ask {
  margin: 0 0 1rem;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(165deg, #fffdf8 0%, #fff8e8 45%, var(--petrol-light) 100%);
  border: 1px solid #f0d78a;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.12);
}

.wizard-review-ask--prominent {
  position: relative;
}

.wizard-review-ask--pulse {
  animation: review-pulse 0.85s ease-out 1;
}

@keyframes review-pulse {
  0% {
    transform: scale(0.98);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
  }
  40% {
    transform: scale(1.01);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.12);
  }
}

.wizard-review-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #b45309;
}

.wizard-review-heading {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.wizard-review-text {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.55;
}

.wizard-review-ask--has-ratings .wizard-review-text {
  font-weight: 600;
}

.wizard-review-steps {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.wizard-review-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(240, 215, 138, 0.8);
  border-radius: 999px;
}

.wizard-review-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--white);
  background: #f59e0b;
  border-radius: 50%;
}

.review-cta-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 3.35rem;
  padding: 0.75rem 0.9rem;
  margin: 0 0 0.65rem;
  text-align: left;
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  border: 2px solid #fbbf24;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.25);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.review-cta-btn:hover,
.review-cta-btn:focus-visible {
  transform: translateY(-1px);
  border-color: #f59e0b;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35);
}

.review-cta-stars {
  display: flex;
  flex-shrink: 0;
  gap: 0.1rem;
}

.review-cta-stars .review-star {
  width: 1.1rem;
  height: 1.1rem;
}

.review-cta-label {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.review-cta-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
}

.review-cta-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.review-cta-arrow {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f59e0b;
}

.wizard-review-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.wizard-review-link {
  width: 100%;
}

.wizard-restart-btn {
  width: 100%;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  opacity: 0.85;
}

.wizard-wa-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.wizard-wa-text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.wizard-summary {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  list-style: none;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text);
}

.wizard-summary li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

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

.wizard-summary strong {
  color: var(--navy);
  font-size: 0.82rem;
}

.wizard-send-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn--email {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--border-strong);
}

.btn--email:hover {
  border-color: var(--petrol);
  background: var(--petrol-light);
}

.wizard-wa-form .form-group {
  margin-bottom: 0.85rem;
}

.section--hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Entspannung / Atemübung */
.section--calm {
  margin-top: 1rem;
}

.calm-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.calm-summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 2.5rem 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  min-height: var(--touch);
}

.calm-summary::-webkit-details-marker {
  display: none;
}

.calm-summary::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--petrol);
  border-bottom: 2px solid var(--petrol);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s;
}

.calm-card[open] .calm-summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.calm-summary-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.calm-summary-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.calm-body {
  padding: 0 1.15rem 1.25rem;
  border-top: 1px solid #d4efef;
}

.calm-text {
  margin: 1rem 0 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.calm-tips {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.calm-tips li {
  margin-bottom: 0.25rem;
}

.breath-exercise {
  text-align: center;
  margin-bottom: 0;
  padding: 0;
}

.pause-breathe-panel {
  margin: 0 -0.15rem;
  padding: 1.35rem 1rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, #0f2847 0%, #1a4a78 42%, #2563a8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 28px rgba(15, 40, 71, 0.22);
}

.pause-card.pause-card--breathing {
  border-color: #3b7cb8;
  box-shadow: 0 8px 28px rgba(37, 99, 168, 0.2);
}

.pause-card.pause-card--done {
  border-color: #b8e8e8;
}

.breath-phase {
  margin: 0 0 1.1rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  min-height: 1.5em;
  letter-spacing: 0.02em;
  transition: color 0.35s ease;
}

.breath-phase--inhale {
  color: #b8e8ff;
}

.breath-phase--exhale {
  color: #e8f4ff;
}

.breath-ring-stage {
  position: relative;
  width: 11.5rem;
  height: 11.5rem;
  margin: 0 auto 0.85rem;
}

.breath-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.breath-ring-track {
  fill: none;
  stroke-linecap: round;
}

.breath-ring-track--total {
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 3;
}

.breath-ring-track--phase {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 4;
}

.breath-ring-progress {
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.15s linear;
}

.breath-ring-progress--total {
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 3;
}

.breath-ring-progress--phase {
  stroke: #7ec8ff;
  stroke-width: 4;
  filter: drop-shadow(0 0 6px rgba(126, 200, 255, 0.55));
}

.breath-ring-core {
  position: absolute;
  inset: 22%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3d8fd4 0%, #2563a8 55%, #1a4a78 100%);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.25),
    inset 0 2px 8px rgba(255, 255, 255, 0.2);
  transform: scale(0.88);
  transition: transform 4s ease-in-out, box-shadow 0.35s ease;
}

.breath-ring-core--inhale {
  transform: scale(1);
  box-shadow:
    0 12px 32px rgba(126, 200, 255, 0.35),
    inset 0 2px 10px rgba(255, 255, 255, 0.28);
}

.breath-ring-core--exhale {
  transform: scale(0.82);
}

.breath-countdown {
  display: inline-block;
  margin: 0;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.breath-countdown-unit {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.breath-countdown--tick {
  animation: breath-count-pop 0.45s ease;
}

@keyframes breath-count-pop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

.pause-total-text {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.breath-count {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  min-height: 1.25em;
}

.pause-tip-bubble {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: left;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  border-left: 3px solid #7ec8ff;
}

.pause-stop-btn {
  width: 100%;
  max-width: 14rem;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.pause-stop-btn:hover,
.pause-stop-btn:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

.breath-circle-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  margin-bottom: 0.75rem;
}

.breath-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--petrol-light);
  border: 3px solid var(--petrol);
  transform: scale(0.7);
  transition: transform 4s ease-in-out, border-color 0.3s;
}

.breath-circle--large {
  transform: scale(1);
  border-color: var(--petrol-dark);
}

.breath-circle--small {
  transform: scale(0.55);
}

.btn--calm {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--petrol-light);
  border: 2px solid var(--petrol);
  border-radius: var(--radius);
  cursor: pointer;
}

.btn--calm:hover {
  background: #d4efef;
}

.btn--calm-secondary {
  width: 100%;
  min-height: 44px;
  margin-top: 0.5rem;
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.calm-done {
  margin: 1rem 0 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--petrol-light);
  border-radius: var(--radius-sm);
  text-align: center;
}

.calm-continue {
  margin-top: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .breath-circle,
  .breath-ring-core,
  .breath-ring-progress {
    transition: none !important;
  }

  .breath-countdown--tick {
    animation: none;
  }
}

.section--more {
  margin-top: 1.75rem;
  padding-top: 0.25rem;
}

.contact-cards--compact .contact-card {
  min-height: 64px;
}

@media (min-width: 480px) {
  .device-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-status.availability--emergency .header-status-dot {
    animation: none;
  }

  .wizard-card--open {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
