/* =========================================================================
   Salon Waclawik – Online-Terminbuchung und Verwaltung
   ========================================================================= */

/* ---------- Schrittanzeige ---------- */
.buchung__schritte { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: clamp(2rem, 4vw, 3rem); counter-reset: s; }
.buchung__schritte li { counter-increment: s; }
.buchung__schritte button { width: 100%; background: none; border: 0; border-top: 1px solid var(--rahmen-zart); padding: .9rem 0 0; text-align: left; font-weight: 400; font-size: .95rem; color: var(--braun); cursor: default; display: flex; flex-direction: column; gap: .15rem; }
.buchung__schritte button::before { content: counter(s, decimal-leading-zero); font-family: var(--font-titel); font-size: 1.5rem; line-height: 1; color: var(--rose); }
.buchung__schritte .aktiv button { border-top: 2px solid var(--pflaume); padding-top: calc(.9rem - 1px); color: var(--pflaume); }
.buchung__schritte .fertig button { cursor: pointer; border-top-color: var(--rahmen); color: var(--pflaume); }
.buchung__schritte .fertig button:hover { text-decoration: underline; }
@media (max-width: 600px) { .buchung__schritte button span { font-size: .8rem; } }

/* ---------- Raster: Schritte links, Zusammenfassung rechts ---------- */
.buchung__raster { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 980px) { .buchung__raster { grid-template-columns: 1fr 340px; gap: clamp(2rem, 4vw, 4rem); } }
.buchung__haupt h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .5rem; }
.buchung__haupt > section > p { color: var(--braun); margin-bottom: 1.75rem; }
.buchung__haupt section[hidden] { display: none; }
.buchung__zurueck { background: none; border: 0; padding: 0; margin-top: 2rem; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; color: var(--braun); }

.uebersicht { border: 1px solid var(--rahmen); padding: 1.75rem; background: var(--weiss); }
@media (min-width: 980px) { .uebersicht { position: sticky; top: 1.5rem; } }
.uebersicht h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.uebersicht dl { margin: 0; display: grid; gap: .9rem; }
.uebersicht dt { font-size: .78rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--braun); }
.uebersicht dd { margin: .1rem 0 0; font-family: var(--font-titel); font-size: 1.1rem; }
.uebersicht dd.leer { font-family: var(--font-text); font-size: 1rem; color: var(--braun); opacity: .7; }
.uebersicht__telefon { border-top: 1px solid var(--rahmen-zart); margin-top: 1.5rem; padding-top: 1.25rem; font-size: .95rem; color: var(--braun); }
.uebersicht__telefon a { font-family: var(--font-titel); font-size: 1.35rem; color: var(--pflaume); text-decoration: none; display: block; margin-top: .2rem; }

/* ---------- Schritt 1: Leistung ---------- */
.bereichswahl { margin-bottom: 1.5rem; }
.leistungsliste { list-style: none; display: grid; gap: .6rem; }
.leistung { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; align-items: center; text-align: left; border: 1px solid var(--rahmen-zart); background: transparent; padding: 1.05rem 1.25rem; cursor: pointer; transition: background .25s, border-color .25s; }
.leistung:hover { background: var(--weiss); border-color: var(--rahmen); }
.leistung[aria-pressed="true"] { background: var(--pflaume); color: var(--creme); border-color: var(--pflaume); }
.leistung__name { font-family: var(--font-titel); font-size: 1.15rem; font-weight: 500; }
.leistung__hinweis { grid-column: 1; font-size: .92rem; opacity: .8; }
.leistung__meta { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-size: .95rem; font-weight: 400; white-space: nowrap; }
.leistung__meta b { display: block; font-family: var(--font-titel); font-weight: 400; font-size: 1.05rem; }

/* ---------- Schritt 2: Person ---------- */
.personenwahl { list-style: none; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.personwahl { width: 100%; height: 100%; display: flex; align-items: center; gap: 1rem; text-align: left; border: 1px solid var(--rahmen-zart); background: transparent; padding: 1rem 1.15rem; cursor: pointer; transition: background .25s, border-color .25s; }
.personwahl:hover { background: var(--weiss); border-color: var(--rahmen); }
.personwahl__bild { width: 56px; height: 56px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-family: var(--font-titel); font-size: 1.25rem; flex: none; overflow: hidden; }
.personwahl__bild img { width: 100%; height: 100%; object-fit: cover; }
.personwahl strong { display: block; font-family: var(--font-titel); font-size: 1.1rem; }
.personwahl span span { font-size: .9rem; color: var(--braun); }

/* ---------- Schritt 3: Kalender und Zeiten ---------- */
.kalender { border: 1px solid var(--rahmen); padding: clamp(1rem, 2.5vw, 1.75rem); background: var(--weiss); max-width: 30rem; }
.kalender__kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.kalender__kopf h3 { font-size: 1.3rem; }
.kalender__kopf button { width: 40px; height: 40px; border: 1px solid var(--rahmen-zart); background: none; cursor: pointer; font-size: 1.1rem; }
.kalender__kopf button:hover:not([disabled]) { background: var(--sand); }
.kalender__kopf button[disabled] { opacity: .3; cursor: default; }
.kalender__raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.kalender__wt { font-size: .78rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--braun); padding-bottom: .4rem; }
.kalender__tag { aspect-ratio: 1; border: 0; background: none; font-family: var(--font-titel); font-size: 1.05rem; color: var(--braun); opacity: .35; display: grid; place-items: center; border-radius: 50%; }
button.kalender__tag { opacity: 1; color: var(--pflaume); cursor: pointer; background: var(--sand); transition: background .2s, color .2s; }
button.kalender__tag:hover { background: var(--rose); }
button.kalender__tag[aria-pressed="true"] { background: var(--pflaume); color: var(--creme); }
.zeiten-wahl { margin-top: 2rem; }
.zeiten-wahl h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.zeiten-wahl h4 { font-family: var(--font-text); font-size: .78rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--braun); margin: 1.25rem 0 .6rem; }
.zeiten-wahl__liste { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.zeit { width: 100%; border: 1px solid var(--rahmen-zart); background: transparent; padding: .7rem .25rem; cursor: pointer; font-weight: 400; transition: background .2s, color .2s, border-color .2s; }
.zeit:hover { background: var(--weiss); border-color: var(--rahmen); }
.zeit[aria-pressed="true"] { background: var(--pflaume); color: var(--creme); border-color: var(--pflaume); }
.laedt { color: var(--braun); font-style: italic; }

/* ---------- Schritt 4: Angaben ---------- */
.angaben { display: grid; gap: 1.1rem; max-width: 36rem; }
@media (min-width: 620px) { .angaben { grid-template-columns: 1fr 1fr; } .angaben .breit { grid-column: 1 / -1; } }
.angaben .honig { position: absolute; left: -9999px; }
.zustimmung { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; color: var(--braun); }
.zustimmung input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; flex: none; accent-color: var(--pflaume); }
.meldung { padding: 1rem 1.25rem; border: 1px solid var(--rahmen); background: var(--sand); }
.meldung--fehler { border-color: #9a3b33; color: #7a2a23; background: #f6e4e0; }

/* ---------- Bestätigung ---------- */
.bestaetigung { text-align: center; border: 1px solid var(--rahmen); padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem); background: var(--weiss); position: relative; overflow: hidden; }
.bestaetigung__schrift { width: min(70%, 15rem); margin: 0 auto .5rem; }
.bestaetigung h2 { margin-bottom: 1rem; }
.bestaetigung dl { display: inline-grid; grid-template-columns: auto auto; gap: .4rem 1.5rem; text-align: left; margin: 1.5rem 0; }
.bestaetigung dt { color: var(--braun); }
.bestaetigung dd { margin: 0; font-weight: 400; }
.bestaetigung .knopfreihe { justify-content: center; }

/* ---------- Verwaltung ---------- */
.verwaltung .kopf .innen { justify-content: space-between; align-items: center; min-height: 74px; }
.vw { padding-block: 2.5rem 5rem; }
.vw h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.vw h2 { font-size: 1.7rem; margin: 3rem 0 1rem; display: flex; align-items: center; gap: .75rem; }
.vw__zahl { font-family: var(--font-text); font-size: .95rem; font-weight: 500; background: var(--pflaume); color: var(--creme); border-radius: 999px; min-width: 1.9rem; height: 1.9rem; display: inline-grid; place-items: center; padding: 0 .5rem; }
.vw__anmeldung { max-width: 24rem; margin: 3rem auto; }
.vw__anmeldung h1 { margin-bottom: 1.5rem; }
.vw__modus, .vw__hinweis, .vw__leer { color: var(--braun); }
.vw__hinweis { font-size: .95rem; margin-bottom: 1.25rem; }
.vw__ok, .vw__fehler { padding: .9rem 1.2rem; margin-top: 1.25rem; border: 1px solid var(--rahmen); background: var(--sand); }
.vw__fehler { border-color: #9a3b33; color: #7a2a23; background: #f6e4e0; }
.vw__kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; }
.vw__kopfzeile h2 { margin-bottom: 0; }
.vw__blaettern { display: flex; gap: .5rem; }
.vw__tag { font-size: 1.15rem; margin: 2rem 0 .6rem; padding-bottom: .4rem; border-bottom: 1px solid var(--rahmen); }
.vw__termin { display: grid; gap: .6rem 1.5rem; padding: 1rem 1.15rem; border: 1px solid var(--rahmen-zart); margin-bottom: .5rem; background: var(--weiss); }
.vw__termin--anfrage { border-color: var(--rahmen); background: #fbf1ee; }
.vw__termin > div { display: flex; flex-direction: column; min-width: 0; }
.vw__termin span, .vw__termin em { font-size: .93rem; color: var(--braun); overflow-wrap: anywhere; }
.vw__tun { flex-direction: row !important; gap: .5rem; flex-wrap: wrap; align-items: center; }
@media (min-width: 900px) { .vw__termin { grid-template-columns: 1.1fr 1.4fr 1.5fr auto; align-items: center; } }
.inline { display: inline; }
.vw__zwei { display: grid; gap: 0 4rem; }
@media (min-width: 900px) { .vw__zwei { grid-template-columns: 1fr 1fr; } }
.vw__formular { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
.vw__formular .feld:nth-of-type(1), .vw__formular button { grid-column: 1 / -1; justify-self: start; }
.vw__formular .feld:nth-of-type(1) { justify-self: stretch; }
.vw__sperren { list-style: none; margin-top: 1.5rem; display: grid; gap: .5rem; }
.vw__sperren li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border: 1px solid var(--rahmen-zart); padding: .6rem .9rem; font-size: .95rem; }
code { font-size: .9em; background: var(--sand); padding: .1em .35em; }
