/* WoW Termine – Buchungsfenster im Design der Website: weiß, Marineblau, dünne Linien */
.wow-t {
  --wt-navy: #1F3D63; --wt-navy-2: #2F5A8A; --wt-ink: #18263A; --wt-muted: #5A6779;
  --wt-line: #DDE4EC; --wt-feld: #C9D3DE; --wt-soft: #F3F6FA; --wt-rot: #A3261B; --wt-gruen: #2C6B47;
  --wt-text: 17px;
  font-size: var(--wt-text); line-height: 1.55; color: var(--wt-ink); text-align: left;
  border: 2px solid #9AABBF; border-radius: 10px; background: #fff;
  box-shadow: 0 4px 18px rgba(31, 61, 99, .08);
  padding: 28px; max-width: 860px; margin: 0 auto; box-sizing: border-box;
}
.wow-t--gross { --wt-text: 19px; }
.wow-t * { box-sizing: border-box; }
.wow-t p { text-align: left; }
.wow-t h2, .wow-t h3 { font-weight: 500; color: var(--wt-ink); margin: 0 0 12px; }
.wow-t h3 { font-size: 1.1em; }
.wow-t h3 + .wow-t-reihe, .wow-t h3 + .wow-t-kal-box { margin-bottom: 22px; }

/* Rahmen: links die Schritte, rechts der Inhalt */
.wow-t-rahmen { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
.wow-t-schrittliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.wow-t-schrittliste li { display: grid; grid-template-columns: 30px 1fr; align-items: center; column-gap: 10px; color: var(--wt-muted); }
.wow-t-schrittliste li small { grid-column: 2; font-size: .82em; line-height: 1.4; color: var(--wt-muted); margin-top: 2px; }
.wow-t-nr { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--wt-feld); display: grid; place-items: center; font-size: .85em; }
.wow-t-schrittliste li.aktiv { color: var(--wt-ink); font-weight: 600; }
.wow-t-schrittliste li.aktiv .wow-t-nr { border-color: var(--wt-navy); color: var(--wt-navy); }
.wow-t-schrittliste li.fertig .wow-t-nr { background: var(--wt-navy); border-color: var(--wt-navy); color: #fff; }
.wow-t-inhalt { min-width: 0; display: flex; flex-direction: column; }
.wow-t-schritt { display: flex; flex-direction: column; }

/* Auswahl-Knöpfe */
.wow-t-reihe { display: flex; flex-wrap: wrap; gap: 8px; }
.wow-t .wow-t-knopf {
  font: inherit; font-size: .95em; color: var(--wt-navy); background: #fff;
  border: 1.5px solid var(--wt-feld); border-radius: 6px; padding: 8px 14px; min-height: 44px;
  cursor: pointer; line-height: 1.2; text-transform: none; letter-spacing: 0;
}
.wow-t .wow-t-knopf:hover { border-color: var(--wt-navy); background: #fff; color: var(--wt-navy); }
.wow-t .wow-t-knopf[aria-pressed="true"] { background: var(--wt-navy); border-color: var(--wt-navy); color: #fff; }
.wow-t-zeit { min-width: 100px; }

/* Kalender */
.wow-t-kal-box { border: 1px solid var(--wt-line); border-radius: 8px; padding: 14px; max-width: 420px; }
.wow-t-kal-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.wow-t-kal-kopf strong { font-weight: 600; color: var(--wt-ink); }
.wow-t .wow-t-kal-pfeil { font: inherit; font-size: 1.4em; line-height: 1; width: 40px; height: 40px; border: 1px solid var(--wt-line); border-radius: 6px; background: #fff; color: var(--wt-navy); cursor: pointer; padding: 0; }
.wow-t .wow-t-kal-pfeil:disabled { opacity: .35; cursor: default; }
.wow-t-kal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.wow-t-kal-wt { font-size: .78em; color: var(--wt-muted); padding: 4px 0; }
.wow-t .wow-t-kal-tag { font: inherit; font-size: .95em; height: 42px; border: 1px solid transparent; border-radius: 6px; background: var(--wt-soft); color: var(--wt-ink); cursor: pointer; padding: 0; }
.wow-t .wow-t-kal-tag:hover:not(:disabled) { border-color: var(--wt-navy); background: #fff; }
.wow-t .wow-t-kal-tag:disabled { background: transparent; color: #B8C2CE; cursor: default; }
.wow-t .wow-t-kal-tag.an { background: var(--wt-navy); color: #fff; }

/* Formular */
.wow-t-wahl { margin: 14px 0 0; font-weight: 600; color: var(--wt-navy); }
.wow-t-feld { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.wow-t-feld label, .wow-t-label { font-size: .92em; font-weight: 600; color: var(--wt-ink); }
.wow-t-feld input, .wow-t-feld textarea {
  font: inherit; color: var(--wt-ink); background: #fff; width: 100%; min-width: 0;
  border: 1px solid var(--wt-feld); border-radius: 6px; padding: 10px 12px; min-height: 46px;
  -webkit-appearance: none; appearance: none;
}
.wow-t-feld textarea { resize: vertical; }
.wow-t-feld input:focus, .wow-t-feld textarea:focus { border-color: var(--wt-navy); outline: none; box-shadow: 0 0 0 2px rgba(31, 61, 99, .15); }

/* Navigation */
.wow-t-nav { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.wow-t .wow-t-senden, .wow-t .wow-t-zurueck {
  font: inherit; font-weight: 500; border-radius: 6px; padding: 12px 26px; min-height: 48px; cursor: pointer;
  text-transform: none; letter-spacing: 0; line-height: 1.2;
}
.wow-t .wow-t-senden { color: #fff; background: var(--wt-navy); border: 1.5px solid var(--wt-navy); }
.wow-t .wow-t-senden:hover { background: var(--wt-navy-2); border-color: var(--wt-navy-2); color: #fff; }
.wow-t .wow-t-senden:disabled { opacity: .6; cursor: wait; }
.wow-t .wow-t-zurueck { color: var(--wt-navy); background: #fff; border: 1.5px solid var(--wt-navy); }
.wow-t .wow-t-zurueck:hover { background: var(--wt-soft); color: var(--wt-navy); }
.wow-t .wow-t-knopf:focus-visible, .wow-t button:focus-visible { outline: 2px solid var(--wt-navy-2); outline-offset: 2px; }

.wow-t-klein { font-size: .85em; color: var(--wt-muted); margin: 12px 0 0; }
.wow-t-klein a { color: var(--wt-navy); }
.wow-t-fehler { color: var(--wt-rot); margin: 14px 0 0; font-weight: 600; }
.wow-t-ok { color: var(--wt-gruen); font-weight: 600; }
.wow-t-hinweis, .wow-t-laden { margin: 0; color: var(--wt-muted); }
.wow-t-falle { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Abschluss mit Foto */
.wow-t-danke { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wow-t-danke .wow-t-foto { width: 200px; max-width: 60%; height: auto; border-radius: 0; }
.wow-t-danke h3 { color: var(--wt-navy); margin: 8px 0 0; }
.wow-t-zusammen { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.wow-t-danke p { text-align: center; max-width: 46ch; margin: 6px 0 0; }

/* Seiten für Bestätigen, Ablehnen, Stornieren */
.wow-t-aktion { padding: 48px 16px; }
.wow-t-liste { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 20px; }
.wow-t-liste dt { color: var(--wt-muted); }
.wow-t-liste dd { margin: 0; }

@media (max-width: 700px) {
  .wow-t { padding: 18px 16px; }
  .wow-t-rahmen { grid-template-columns: 1fr; gap: 18px; }
  .wow-t-schrittliste { flex-direction: row; gap: 10px; border-bottom: 1px solid var(--wt-line); padding-bottom: 14px; }
  /* ab 2.1.3: drei gleich breite Spalten, Kreis mittig über der Beschriftung, alle oben bündig */
  .wow-t-schrittliste li { grid-template-columns: 1fr; align-items: start; align-content: start; justify-items: center; text-align: center; flex: 1 1 0; min-width: 0; font-size: .82em; line-height: 1.3; row-gap: 6px; }
  .wow-t-schrittliste li > span:not(.wow-t-nr) { grid-column: 1; }
  .wow-t-schrittliste li small { display: none; }
  /* ab 2.1.4: am Handy Überschriften, Auswahl-Knöpfe und „Ihre Auswahl“ mittig */
  .wow-t-schritt h3, .wow-t-wahl { text-align: center; }
  .wow-t-reihe { justify-content: center; }
  .wow-t-nr { width: 26px; height: 26px; }
  .wow-t-kal-box { max-width: none; }
  .wow-t-zeit { min-width: calc(33.333% - 6px); flex: 1 1 calc(33.333% - 6px); }
  .wow-t-nav button { flex: 1; }
  .wow-t-liste { grid-template-columns: 1fr; }
}
