/* Synvix Booking · Buchungsseiten nach Synvix CI v1.0 (Tokens unten), Inter und JetBrains Mono, selbst gehostet.
   Hell und Dunkel nach Systemeinstellung, ohne Cookie. Kontraste nach WCAG 2.1 AA:
   - Weiße Schrift auf dem Verlauf Cyan→Blau erreicht nur 1,2 bis 4,0 : 1. Knöpfe, gewählter Tag und Haken tragen
     deshalb --sx-deep-blue (6,2 : 1); der Verlauf bleibt bei Signet, Schritt-Punkt und Erfolgszeichen.
   - --text-muted ist im hellen Modus #6B7280 (4,8 : 1) statt #8B949E (3,1 : 1).
   - Feldrahmen haben 3 : 1 gegen die Fläche (Nicht-Text-Kontrast), Kacheln und Zeitknöpfe den hellen Rahmen. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("schrift/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("schrift/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("schrift/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("schrift/inter-700.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("schrift/mono-400.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url("schrift/mono-700.woff2") format("woff2"); }

:root {
  color-scheme: light;
  /* Marke */
  --sx-cyan: #00F0FF;
  --sx-blue: #007BFF;
  --sx-deep-blue: #1A56DB;
  --sx-dark: #0D1117;
  --sx-grey: #8B949E;
  --sx-gradient: linear-gradient(135deg, #00F0FF 0%, #007BFF 100%);

  /* Hell (Standard) */
  --bg-page: #F3F4F6;
  --bg-card: #FFFFFF;
  --bg-day-available: #EEF1F5;
  --bg-day-hover: #E1E8F3;
  --border: #E5E7EB;
  --border-input: #7C8796;
  --border-slot: #D9DEE5;
  --text-primary: #0D1117;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-disabled: #9CA3AF;
  --link: #1A56DB;
  --focus-ring: rgba(0, 123, 255, 0.35);
  --tooltip-bg: #FFFFFF;
  --shadow-tooltip: 0 4px 16px rgba(13, 17, 23, 0.10);
  --fehler: #DC2626;
  --flaeche-fehler: #FEF2F2;
  --flaeche-hinweis: #EEF3FB;
  --punkt-offen: #D1D5DB;

  --radius-card: 8px;
  --radius-input: 6px;
  --radius-day: 6px;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg-page: #0D1117;
    --bg-card: #161B22;
    --bg-day-available: #1F2630;
    --bg-day-hover: #263040;
    --border: #2A313C;
    --border-input: #6E7681;
    --border-slot: #30363D;
    --text-primary: #E6EDF3;
    --text-secondary: #B1BAC4;
    --text-muted: #8B949E;
    --text-disabled: #4D5561;
    --link: #58A6FF;
    --tooltip-bg: #1F2630;
    --fehler: #F87171;
    --flaeche-fehler: #2A1618;
    --flaeche-hinweis: #172640;
    --punkt-offen: #3A414C;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #0D1117;
  --bg-card: #161B22;
  --bg-day-available: #1F2630;
  --bg-day-hover: #263040;
  --border: #2A313C;
  --border-input: #6E7681;
  --border-slot: #30363D;
  --text-primary: #E6EDF3;
  --text-secondary: #B1BAC4;
  --text-muted: #8B949E;
  --text-disabled: #4D5561;
  --link: #58A6FF;
  --tooltip-bg: #1F2630;
  --fehler: #F87171;
  --flaeche-fehler: #2A1618;
  --flaeche-hinweis: #172640;
  --punkt-offen: #3A414C;
}

/* Grundlagen */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: 16px; }
body { margin: 0; padding: 100px 0 32px; font-family: var(--font-sans); color: var(--text-primary);
       background: var(--bg-page); line-height: 1.5; }
a { color: var(--link); }
p { margin: 0 0 12px; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--sx-blue); outline-offset: 2px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nichtsichtbar { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sprung { position: absolute; left: 8px; top: -100px; background: var(--bg-card); color: var(--link); padding: 8px 12px;
          border-radius: var(--radius-input); z-index: 10; }
.sprung:focus { top: 8px; }

/* Karte */
.karte { max-width: 930px; width: 100%; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border);
         border-radius: var(--radius-card); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.karte:focus { outline: none; }
.eingebettet { padding: 0; }

/* Schritte */
.stepper { display: flex; justify-content: center; align-items: center; gap: 32px; height: 38px; margin: 0; padding: 0 16px;
           list-style: none; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 14px; }
.schritt { display: flex; align-items: center; gap: 8px; color: var(--text-muted); white-space: nowrap; }
.schritt .punkt { display: inline-flex; align-items: center; justify-content: center; width: 10px; height: 10px;
                  border-radius: 50%; background: var(--punkt-offen); flex: none; }
.schritt.aktiv { color: var(--text-primary); font-weight: 700; }
.schritt.aktiv .punkt { background: var(--sx-gradient); }
.schritt.erledigt { color: var(--text-secondary); }
.schritt.erledigt .punkt { width: 16px; height: 16px; background: var(--sx-deep-blue); }
.schritt.erledigt .punkt svg { width: 12px; height: 12px; }

/* Spalten */
.spalten { display: flex; min-height: 597px; }
.links { flex: none; width: 400px; display: flex; flex-direction: column; padding: 20px 24px 16px;
         border-right: 1px solid var(--border); }
.rechts { flex: 1; min-width: 0; padding: 36px 46px 24px; }
.einzeln { display: flex; flex-direction: column; min-height: 320px; padding: 20px 24px 16px; }

.logo { display: block; height: 32px; margin-bottom: 16px; }
.logo .eigenes-logo { display: block; height: 32px; width: auto; max-width: 240px; object-fit: contain; }
.hinweis-oben { margin: 0 0 16px; color: var(--text-secondary); white-space: pre-line; }
.signet { display: block; }
.titel { margin: 0 0 12px; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--text-primary); }

/* Beschreibung mit „Mehr anzeigen“ */
.beschreibung { font-size: 14px; line-height: 1.5; color: var(--text-secondary); display: -webkit-box;
                -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.beschreibung.offen { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
/* Routing-Formular (Bauplan 8): eine Spalte, so schmal wie das Formular der Buchungsseite */
.karte.schmal { max-width: 560px; }
.routing .beschreibung { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; margin-bottom: 20px; }
.routing .nachricht { color: var(--text-primary); font-size: 15px; margin-bottom: 16px; }
.beschreibung p { margin: 0 0 8px; }
.beschreibung p:last-child { margin-bottom: 0; }
.mehr { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 0; padding: 4px 0; border: 0; background: none;
        color: var(--link); font-size: 14px; text-decoration: underline; cursor: pointer; align-self: flex-start; }
.mehr svg { width: 12px; height: 12px; transition: transform 120ms ease; }
.mehr[aria-expanded="true"] svg { transform: rotate(180deg); }
.nach-beschreibung { height: 24px; flex: none; }

/* Formular */
.formular { margin: 0; }
.feld { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.feld > label, .feld > legend { display: block; margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 500;
                                color: var(--text-primary); }
.stern { color: inherit; }
.zusatz { font-weight: 400; color: var(--text-muted); }
.hilfe { margin: -4px 0 8px; font-size: 12px; color: var(--text-muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  display: block; width: 100%; height: 40px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--text-primary);
  background: var(--bg-card); border: 1px solid var(--border-input); border-radius: var(--radius-input); }
textarea { height: auto; min-height: 88px; padding: 8px 12px; resize: vertical; }
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="url"]:focus, select:focus, textarea:focus {
  outline: 2px solid transparent; border-color: var(--sx-blue); box-shadow: 0 0 0 3px var(--focus-ring); }
[aria-invalid="true"] { border-color: var(--fehler) !important; }
.feldfehler { margin: 6px 0 0; font-size: 12px; color: var(--fehler); }
.wahl, .feld > .wahl { display: flex; align-items: center; gap: 10px; min-height: 32px; margin: 0; font-size: 14px;
                       font-weight: 400; cursor: pointer; }
.wahl input { width: 18px; height: 18px; margin: 0; accent-color: var(--sx-deep-blue); flex: none; }

/* Datenschutz-Kästchen */
.zustimmung { margin: 20px 0 0; }
.zustimmung-zeile { display: flex; align-items: flex-start; gap: 12px; }
.zustimmung input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 2px 0 0;
                    border: 1px solid var(--border-input); border-radius: 4px; background: var(--bg-card); cursor: pointer;
                    display: grid; place-content: center; }
.zustimmung input:checked { background: var(--sx-deep-blue)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
  center / 12px 12px no-repeat; border-color: var(--sx-deep-blue); }
.zustimmung input:focus-visible { outline: 2px solid var(--sx-blue); outline-offset: 2px; }
.zustimmung label { font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--text-primary); cursor: pointer; }
.zustimmung .feldfehler { margin-left: 30px; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px;
         border-radius: var(--radius-input); border: 1px solid var(--border-slot); background: var(--bg-card);
         color: var(--text-primary); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.knopf:hover { border-color: var(--sx-blue); }
.knopf.haupt { background: var(--sx-deep-blue); border-color: var(--sx-deep-blue); color: #FFFFFF; }
.knopf.haupt:hover { filter: brightness(1.05); }
.knopf.haupt:active { transform: translateY(1px); }
.knopf.warnung { border: 1px solid var(--fehler); color: var(--fehler); background: var(--bg-card); }
.knopf.weiter { width: 100%; height: 48px; margin-top: 24px; font-size: 16px; }
.knopf.weiter[aria-disabled="true"] { opacity: .55; cursor: not-allowed; filter: none; }
.knopf.weiter:focus-visible { box-shadow: 0 0 0 3px var(--focus-ring); }
.knopf svg { width: 16px; height: 16px; flex: none; }
.textlink { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; background: none;
            color: var(--link); font-size: 14px; text-decoration: underline; cursor: pointer; }
.textlink svg { width: 14px; height: 14px; }

/* Rechtliches unten in der linken Spalte */
.rechtliches { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.rechtliches a, .rechtliches button { color: var(--text-muted); text-decoration: none; padding: 4px 0; border: 0;
                                       background: none; font-size: 12px; cursor: pointer; }
.rechtliches a:hover, .rechtliches button:hover { text-decoration: underline; }
.rechtliches .sprachwahl { margin-left: auto; }

/* Zusammenfassung */
.zusammenfassung { margin: 0 0 8px; display: grid; gap: 12px; font-size: 14px; }
.zusammenfassung div { min-width: 0; }
.zusammenfassung dt { color: var(--text-muted); font-size: 12px; }
.zusammenfassung dd { margin: 0; color: var(--text-primary); font-weight: 500; overflow-wrap: anywhere; }

/* Hinweise */
.hinweis { margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius-input); background: var(--flaeche-hinweis);
           font-size: 14px; }
.hinweis.fehler { background: var(--flaeche-fehler); border-left: 3px solid var(--fehler); }
.hinweis ul { margin: 6px 0 0; padding-left: 18px; }
.hinweis p { margin: 0; }

/* Kalender */
.kalender { position: relative; }
.monatskopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.monat { margin: 0; font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--text-muted); }
.blaettern { display: flex; gap: 12px; }
.pfeil { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0;
         border: 0; border-radius: var(--radius-input); background: none; color: var(--text-secondary); cursor: pointer; }
.pfeil svg { width: 16px; height: 16px; }
.pfeil:hover:not(:disabled) { background: var(--bg-day-available); }
.pfeil:disabled { color: var(--text-disabled); cursor: default; }
.raster { display: flex; flex-direction: column; gap: 4px; }
.woche { display: grid; grid-template-columns: repeat(7, minmax(0, 59px)); gap: 4px; }
.woche.kopf { margin-bottom: 12px; }
.wt { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--text-muted); text-align: center;
      letter-spacing: .04em; }
.tag { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1;
       font-family: var(--font-mono); font-size: 14px; color: var(--text-muted); border-radius: var(--radius-day); }
.tag button { width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius-day);
              background: var(--bg-day-available); color: var(--text-secondary); font-family: var(--font-mono);
              font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color 120ms ease; }
.tag button:hover { background: var(--bg-day-hover); }
.tag.gewaehlt button { background: var(--sx-deep-blue); color: #FFFFFF; }
.tag.angeklickt button { background: color-mix(in srgb, var(--sx-deep-blue) 55%, var(--bg-card));
                         color: var(--text-primary); }
.tag.heute::after { content: ""; position: absolute; left: 50%; bottom: 9px; width: 4px; height: 4px; margin-left: -2px;
                    border-radius: 50%; background: var(--sx-blue); pointer-events: none; }
.tag.heute.gewaehlt::after { background: #FFFFFF; }
.leer-hinweis { margin: 16px 0 0; font-size: 14px; color: var(--text-secondary); }

/* Gesperrter Kalender in Schritt 1: leicht ausgegraut, Tage nicht wählbar, der Hinweis steht fest, bis die Angaben
   vollständig sind. booking.js setzt dann .frei; bis dahin sind die Tage disabled und das Raster aria-disabled
   (inaktive Bedienelemente, WCAG 1.4.3). */
.raster-flaeche { position: relative; }
.gesperrt .wt, .gesperrt .tag { transition: opacity 160ms ease; }
.gesperrt:not(.frei) .wt, .gesperrt:not(.frei) .tag:not(.angeklickt) { opacity: .55; }
.gesperrt:not(.frei) .tag button { pointer-events: none; }
.gesperrt:not(.frei) .tag:has(button) { cursor: not-allowed; }
.sperrhinweis { position: absolute; left: -20px; right: -20px; top: 50%; transform: translateY(-50%); z-index: 2;
                padding: 10px 16px; text-align: center; font-family: var(--font-mono); font-size: 14px; line-height: 1.5;
                color: var(--text-primary); background: var(--tooltip-bg); border: 1px solid var(--border);
                border-radius: 6px; box-shadow: var(--shadow-tooltip); pointer-events: none;
                transition: opacity 120ms ease, visibility 0s; }
.sperrhinweis.an-zeile { transform: none; }
.frei .sperrhinweis { opacity: 0; visibility: hidden; transition: opacity 120ms ease, visibility 0s linear 120ms; }

/* Freie Zeiten */
.kalender-und-zeiten { display: block; }
.zeiten { position: relative; margin-top: 28px; }
.uhrformat { position: absolute; top: 0; right: 0; z-index: 1; display: flex; padding: 2px; gap: 2px;
             border: 1px solid var(--border-slot); border-radius: var(--radius-input); background: var(--bg-card); }
.uhrformat button { height: 26px; padding: 0 8px; border: 0; border-radius: 4px; background: none; cursor: pointer;
                    font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.uhrformat button[aria-pressed="true"] { background: var(--bg-day-available); color: var(--text-primary); font-weight: 700; }
.tageszeiten { animation: einfahren 160ms ease-out; }
@keyframes einfahren { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.zeiten-titel { display: flex; align-items: center; min-height: 32px; margin: 0 0 12px; padding-right: 96px; white-space: nowrap;
                font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--text-primary); }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px;
         grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.slot { display: flex; gap: 8px; }
.slot.gewaehlt { grid-column: 1 / -1; }
.slot-zeit, .slot-ok { flex: 1; height: 40px; padding: 0 8px; border-radius: 6px; font-family: var(--font-mono);
                       font-size: 14px; cursor: pointer; }
.slot-zeit { border: 1px solid var(--border-slot); background: var(--bg-card); color: var(--text-primary); }
.slot-zeit:hover { border-color: var(--sx-blue); }
.slot.gewaehlt .slot-zeit { border-color: var(--sx-blue); color: var(--link); font-weight: 700; }
.slot-ok { border: 1px solid var(--sx-deep-blue); background: var(--sx-deep-blue); color: #FFFFFF; font-family: var(--font-sans);
           font-weight: 600; }
.slot-ok:hover { filter: brightness(1.05); }
.zonenwahl { margin-top: 16px; font-size: 12px; color: var(--text-muted); }
.zonenwahl summary { cursor: pointer; padding: 4px 0; width: max-content; max-width: 100%; }
.zonen-inhalt { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 8px; }
.zonen-inhalt label { width: 100%; font-size: 12px; color: var(--text-secondary); }
.zonen-inhalt select { width: auto; flex: 1; min-width: 180px; height: 36px; font-size: 14px; }
.zonen-inhalt .knopf { min-height: 36px; font-size: 14px; }

/* Code */
.code-ansicht h2 { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.code-ansicht p { font-size: 14px; }
.code-ansicht .formular { max-width: 320px; }
input.code { max-width: 200px; font-family: var(--font-mono); font-size: 18px; letter-spacing: .3em; }
.code-ansicht .knopf.haupt { margin-top: 8px; }

/* Erfolg */
.erfolg { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 48px 24px 40px;
          min-height: 520px; justify-content: center; }
.erfolg .zeichen { width: 48px; height: 48px; margin-bottom: 16px; }
.erfolg h1 { margin: 0 0 8px; font-size: 22px; font-weight: 700; }
.erfolg > p { color: var(--text-secondary); font-size: 14px; max-width: 460px; }
.erfolg .zusammenfassung { margin: 16px 0 24px; text-align: left; min-width: min(360px, 100%); padding: 16px 20px;
                           border: 1px solid var(--border); border-radius: var(--radius-input); }
.knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Verwalten */
.verwalten h2 { margin: 24px 0 8px; font-size: 16px; font-weight: 700; }
.verwalten h2:first-child { margin-top: 0; }
.verwalten .formular { max-width: 420px; }

/* Übersicht */
.liste { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.eintrag { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 16px;
           border: 1px solid var(--border); border-radius: var(--radius-input); color: var(--text-primary);
           text-decoration: none; }
.eintrag:hover { border-color: var(--sx-blue); }
.eintrag-titel { font-weight: 600; }
.eintrag-dauer { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); white-space: nowrap; }

/* Fuß: erstellt mit */
.erstellt { display: flex; justify-content: center; align-items: center; height: 41px; border-top: 1px solid var(--border); }
.erstellt a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 4px 8px; }
.erstellt-mit { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.erstellt-name { font-size: 14px; font-weight: 700; color: var(--text-secondary); }
.erstellt a:hover .erstellt-name { text-decoration: underline; }

/* Breite Karte mit Zeiten neben dem Kalender */
@media (min-width: 1272px) {
  .karte.breit { max-width: 1240px; }
  .breit .kalender-und-zeiten { display: flex; gap: 32px; align-items: flex-start; }
  .breit .kalender { flex: none; width: 436px; }
  .breit .zeiten { margin-top: 0; flex: 1; min-width: 0; }
  .breit .slots { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  body { padding-left: 16px; padding-right: 16px; }
  .spalten { flex-direction: column; min-height: 0; }
  .links { width: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .rechts { padding: 24px; }
  .woche { grid-template-columns: repeat(7, 1fr); }
  .rechtliches { padding-top: 20px; }
  .slot-zeit, .slot-ok, .knopf { min-height: 44px; height: 44px; }
  .knopf.weiter { height: 48px; }
  .mehr, .textlink { min-height: 44px; }
  .sperrhinweis { left: -12px; right: -12px; }
}

@media (max-width: 480px) {
  body { padding-top: 16px; padding-left: 8px; padding-right: 8px; }
  .titel { font-size: 20px; }
  .links { padding: 16px; }
  .rechts { padding: 20px 12px; }
  .woche { gap: 2px; }
  .raster { gap: 2px; }
  .monatskopf { margin-bottom: 20px; }
  .stepper { gap: 16px; font-size: 12px; }
  .sperrhinweis { left: -4px; right: -4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* Gruppentermine (TT-10): freie Plätze unter der Uhrzeit */
.slot-zeit .slot-plaetze { display: block; font-size: 12px; font-weight: 400; color: var(--text-secondary); }
/* Serientermine (TT-08) */
.serie-titel { margin: 20px 0 8px; font-size: 16px; }
.serie-liste { margin: 0 0 16px; padding-left: 22px; }
.serie-liste li { margin: 4px 0; }
.serie-status { color: var(--text-secondary); }
.hinweis-serie { margin: 0 0 16px; color: var(--text-secondary); }

/* Stufe 2, Paket 5b (TM-10): Seite eines Standorts */
.standort { margin: 0 0 24px; }
.standort-text { white-space: pre-line; }
.standort-titel { font-size: 1rem; margin: 16px 0 8px; }
.standort-zeiten { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
.standort-zeiten div { display: contents; }
.standort-zeiten dd { margin: 0; }
.eintrag-wer { font-weight: 400; }

/* Stufe 2, RO-04: mehrstufige Formulare */
.schritt-anzeige { margin: 0 0 12px; color: var(--text-2, inherit); font-size: .9rem; }
.schritt-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; flex-direction: row-reverse; justify-content: flex-end; }

/* Stufe 3: Begrüßungsvideo (TT-16), Bewertungen (WF-09), Warteliste (TT-20) */
.begruessung { display: block; width: 100%; max-height: 320px; border-radius: 12px; margin: 12px 0; background: #000; }
.bewertungen { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; }
.bewertungen .sterne { color: #F59E0B; letter-spacing: 2px; }
.bewertungen blockquote { margin: 8px 0 0; color: var(--text-secondary); font-size: .92rem; }
.warteliste { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.sterne-wahl { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; }
.sterne-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sterne-wahl label { font-size: 2rem; color: var(--border-input); cursor: pointer; }
.sterne-wahl input:checked ~ label, .sterne-wahl label:hover, .sterne-wahl label:hover ~ label { color: #F59E0B; }
.sterne-wahl input:focus-visible + label { outline: 2px solid var(--sx-blue); outline-offset: 2px; }

/* Stufe 3, Teil 2: Sofort-Gespräch (TT-18), mehrere Termine (TT-11), Anschluss-Termin (TT-12) */
.sofort { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.sofort .hilfe { margin: 0 0 8px; }
.sofort-knopf { width: 100%; min-height: 44px; }
.mehrfach { margin: 16px 0; }
.mehrfach h2 { font-size: 16px; margin: 0 0 4px; }
.mehrfach-liste { margin: 8px 0 12px; padding-left: 20px; }
.mehrfach-liste li { margin: 4px 0; }
.mehrfach .knopf.haupt { width: 100%; }
.slot.gemerkt .slot-zeit { border-color: var(--sx-deep-blue); font-weight: 600; }
.anschluss { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }

/* Stufe 4: Bot-Schutz und Konten */
.honigtopf { display: none; }
.unsichtbar-ganz { display: none; }
.konto-karte { max-width: 34rem; margin: 0 auto; }
.konto-karte .feld { margin-bottom: 1rem; }
.konto-karte label { display: block; font-weight: 600; margin-bottom: .25rem; }
.konto-karte input[type=text], .konto-karte input[type=email], .konto-karte input[type=password],
.konto-karte input[type=number] { width: 100%; max-width: 100%; box-sizing: border-box; }
.konto-karte .hilfe { font-size: .9rem; opacity: .85; margin-top: .25rem; }
.konto-karte .fehler { color: #B42318; }
.konto-avv { max-height: 18rem; overflow-y: auto; border: 1px solid #C9D2DC; padding: .75rem; white-space: pre-wrap;
  overflow-wrap: anywhere; font-size: .85rem; }

/* Stufe 4, Whitelabel (Punkt 16): eigene Kopf- und Fußzeile des Mandanten (gesäubertes HTML, booking.gestaltung) */
.mandant-kopf, .mandant-fuss { max-width: 1060px; margin: 0 auto 16px; padding: 0 16px; color: var(--text-secondary);
                               overflow-wrap: anywhere; }
.mandant-kopf img, .mandant-fuss img { max-width: 100%; height: auto; }
.mandant-fuss { margin-top: 16px; font-size: 14px; }
.rechtstext { max-width: 72ch; overflow-wrap: anywhere; }
.rechtstext h1, .rechtstext h2, .rechtstext h3 { font-size: 18px; margin: 20px 0 8px; }
