/* =============================================================================
   wizard/auswahl.css  |  v1.0  |  14.10.2026
   AUSWAHL UND DIE DREI FORMULARE (Auftrag Dirk 14.10.2026, Teil 2 und 3; Vorbild Mockup_Wizard_Schritt_minus1.html
   und Mockup_Formular_*.html, ausgemessen). Gemeinsamer Rahmen fuer wizard_auswahl.html, wizard_termin_vorort.html,
   wizard_termin_video.html, wizard_selbst.html, wizard_bestaetigt.html.
   Masse aus dem Stellwerk (Reiter "Auswahl"): der Lader setzt --aw-* aus firma_einstellungen.wizard_aw_*;
   leer = die Vorgabe hier (wie im Mockup). Farben nur aus Tokens (style.css, bausteine.css).
   Untergrenzen aus der Schrift: Karten und Bild wachsen mit dem Inhalt (min-height), nichts wird abgeschnitten.
   ============================================================================= */
:root {
  /* Farbverlauf des Kopfs wie im Mockup (Sonne zu Abend); eigene Tokens, keine Hausfarbe */
  --aw-verlauf-1: #f6c27a; --aw-verlauf-2: #e98b3a; --aw-verlauf-3: #5c6f8f; --aw-verlauf-4: #2b3a57;
}
.aw-band { background: var(--bs-primary, var(--upc-teal)); height: 12px; }
.aw-main { max-width: var(--wizard-breite, 1080px); margin: var(--aw-abstand-oben, 12px) auto var(--aw-abstand-unten, 24px); padding: 0 16px; }
.aw-karte { background: var(--white, #fff); border: 1px solid var(--gray-light); border-radius: 14px; overflow: hidden; }

/* Kopf der Karte: Text links, Bild rechts */
.aw-intro { display: grid; grid-template-columns: 1fr var(--aw-bild-breite, 40%); gap: 24px; align-items: center; padding: 24px 26px;
  background: linear-gradient(135deg, var(--aw-verlauf-1) 0%, var(--aw-verlauf-2) 35%, var(--aw-verlauf-3) 75%, var(--aw-verlauf-4) 100%); color: #fff; }
.aw-intro.ohne-bild { grid-template-columns: 1fr; }
.aw-klein { display: block; color: #fff; opacity: .9; font-weight: 700; letter-spacing: .6px; font-size: 12px; text-transform: uppercase; }
.aw-intro h1 { margin: 6px 0 8px; font-size: var(--aw-h1, 28px); line-height: 1.2; color: #fff; }
.aw-intro p { margin: 0 0 14px; color: #fff; opacity: .95; font-size: 15px; line-height: 1.5; }
.aw-vorteile { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.aw-vorteile li { display: flex; gap: 8px; align-items: center; }
.aw-vorteile li::before { content: '✓'; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.22);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.aw-vorteile li.aw-rabatt { font-weight: 700; }
.aw-bild { min-height: var(--aw-bild-hoehe, 240px); height: var(--aw-bild-hoehe, 240px); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.12); }
.aw-bild img { width: 100%; height: 100%; object-fit: cover; object-position: center var(--aw-bild-pos, 50%); display: block; }

/* Auswahlkarten */
.aw-wahl { padding: 22px 26px 26px; display: grid; grid-template-columns: repeat(var(--aw-spalten, 3), 1fr); gap: var(--aw-karten-gap, 16px); }
.aw-w { border: 2px solid var(--gray-light); border-radius: 12px; padding: 18px; background: var(--white, #fff); text-align: left; font: inherit; color: inherit;
  display: flex; flex-direction: column; gap: 8px; cursor: pointer; text-decoration: none; min-height: var(--aw-karte-h, 150px);
  transition: border-color .15s, background .15s; }
.aw-w, .aw-w:hover, .aw-w * { text-decoration: none; }
.aw-w:hover, .aw-w:focus-visible { border-color: var(--bs-primary, var(--upc-teal)); background: var(--upc-teal-light); }
.aw-sym { width: var(--aw-symbol, 72px); height: var(--aw-symbol, 72px); border-radius: 16px; background: var(--upc-teal-light); flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center; padding: 12px; }
.aw-sym i { display: block; width: 100%; height: 100%; background: var(--bs-primary, var(--upc-teal));
  -webkit-mask: var(--aw-maske) center / contain no-repeat; mask: var(--aw-maske) center / contain no-repeat; }
.aw-sym img { width: 100%; height: 100%; object-fit: contain; }
.aw-w b { font-size: 17px; }
.aw-w .aw-t { color: var(--gray-med); font-size: 14px; line-height: 1.45; flex: 1; }
.aw-tag { align-self: flex-start; background: var(--bs-secondary, var(--solar-orange)); color: #fff; font-size: 12px; border-radius: 10px; padding: 2px 9px; }
.aw-weiter { color: var(--bs-primary, var(--upc-teal)); font-weight: 700; font-size: 14px; margin-top: 4px; }
.aw-weiter::after { content: ' →'; }

/* Formulare */
.aw-formular { padding: 22px 26px 26px; }
.aw-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.aw-felder .aw-feld { display: flex; flex-direction: column; gap: 4px; }
.aw-felder .aw-feld.breit { grid-column: 1 / -1; }
.aw-felder .aw-feld.breit select { max-width: calc(50% - 8px); }   /* 18.10.2026: Anrede so breit wie ein Feld der Zeile darunter */
.aw-felder .aw-adresse { grid-column: 1 / -1; display: grid; grid-template-columns: 3fr 1fr; gap: 12px 16px; }
.aw-felder .aw-adresse2 { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 3fr; gap: 12px 16px; }
.aw-feld label { font-size: var(--bs-label-size, 14px); font-weight: 600; }
.aw-feld input, .aw-feld textarea, .aw-feld select { width: 100%; box-sizing: border-box; min-height: var(--bs-field-h, 42px); padding: 8px 12px; border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm, 8px); font: inherit; background: var(--bs-field-bg, #fff); }
.aw-feld input.fehlt, .aw-feld textarea.fehlt { border-color: var(--err, var(--danger, #c0392b)); }
.aw-termin { margin-top: 18px; }
.aw-termin h2 { font-size: 17px; margin: 0 0 10px; }
.aw-tage, .aw-zeiten { display: flex; flex-wrap: wrap; gap: 8px; }
.aw-zeiten { margin-top: 10px; }
.aw-tage button, .aw-zeiten button { border: 1px solid var(--gray-light); background: var(--white, #fff); border-radius: 10px; padding: 8px 12px; font: inherit;
  min-height: 44px; cursor: pointer; }
.aw-tage button.aktiv, .aw-zeiten button.aktiv { border-color: var(--bs-primary, var(--upc-teal)); background: var(--upc-teal-light); font-weight: 700; }
.aw-hinweis { color: var(--gray-med); font-size: 13px; margin: 8px 0 0; }
.aw-haken { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; font-size: 14px; }
.aw-haken input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; }
.aw-knoepfe { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.aw-wege { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.aw-weg { border: 2px solid var(--gray-light); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.aw-weg p { margin: 0; color: var(--gray-med); font-size: 14px; flex: 1; }
.aw-meldung { margin-top: 12px; font-size: 14px; }
.aw-meldung.rot { color: var(--err, var(--danger, #c0392b)); }
.aw-ergebnis { padding: 26px; }
.aw-ergebnis h2 { margin: 0 0 10px; font-size: 22px; }
.aw-kasten { background: var(--upc-teal-light); border-radius: 10px; padding: 14px 16px; margin: 14px 0; line-height: 1.6; }
.aw-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* Tablet und Telefon (Breite der Karte, nicht des Fensters) */
@media (max-width: 900px) {
  .aw-intro { grid-template-columns: 1fr 38%; gap: 18px; }
  .aw-intro h1 { font-size: min(var(--aw-h1, 28px), 24px); }
}
@media (max-width: 560px) {
  .aw-intro { grid-template-columns: 1fr; padding: 18px; }
  .aw-bild { order: -1; height: min(var(--aw-bild-hoehe, 240px), 160px); min-height: 120px; }
  .aw-intro h1 { font-size: min(var(--aw-h1, 28px), 22px); }
  .aw-wahl, .aw-formular { padding: 16px; }
  .aw-felder, .aw-wege, .aw-felder .aw-adresse, .aw-felder .aw-adresse2 { grid-template-columns: 1fr; }
  .aw-knoepfe .bs-btn, .aw-knoepfe button { flex: 1 1 100%; }
}
