/* ==========================================================================
   YELS – Bausteine
   Laufband · Vorher/Nachher · Hotspots · Bewertungen · FAQ · Karten ·
   Preisliste · Ablauf-Schritte · Buchungs-Wizard · Kalender
   ========================================================================== */

/* --- 1. Endlos-Laufband -------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1rem, 2vw, 2rem);
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.marquee.is-dragging { cursor: grabbing; }
.marquee-track {
  display: flex; gap: clamp(.35rem, .6vw, .6rem);
  width: max-content;
  will-change: transform;
}
.marquee-item {
  position: relative; flex: 0 0 auto;
  width: clamp(190px, 24vw, 320px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-m); overflow: hidden;
  background: var(--paper-warm);
}
.marquee-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-out), filter .5s var(--ease);
}
.marquee-item.is-wide {            /* Gruppenfotos im Querformat */
  width: clamp(300px, 38vw, 500px);
  aspect-ratio: 3 / 2;
}
.marquee-item:hover img { transform: scale(1.07); }
.marquee-item .tag {
  position: absolute; left: .7rem; bottom: .7rem;
  background: rgba(255,255,255,.92); color: var(--ink);
  padding: .35em .8em; border-radius: var(--radius-pill);
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease-out);
}
.marquee-item:hover .tag { opacity: 1; transform: none; }
.marquee-hint { font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase;
                color: var(--ink-muted); }

/* --- 2. Vorher/Nachher --------------------------------------------------- */
.ba {
  position: relative; width: 100%; aspect-ratio: 7 / 5;
  border-radius: var(--radius-l); overflow: hidden;
  background: var(--paper-warm);
  touch-action: pan-y;            /* vertikales Scrollen bleibt möglich */
  user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after-wrap {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.ba-label {
  position: absolute; top: 1rem; z-index: 3;
  background: rgba(14,14,13,.72); color: #fff;
  padding: .4em .9em; border-radius: var(--radius-pill);
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  pointer-events: none;
}
.ba-label.before { left: 1rem; }
.ba-label.after  { right: 1rem; background: rgba(255,255,255,.92); color: var(--ink); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 2px; background: #fff; z-index: 4;
  transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(14,14,13,.12);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center; cursor: ew-resize;
  box-shadow: 0 8px 24px -8px rgba(14,14,13,.5);
  transition: transform var(--t-fast) var(--ease);
}
.ba:hover .ba-knob { transform: translate(-50%, -50%) scale(1.06); }
.ba-range {                         /* unsichtbarer Regler = Tastaturbedienung */
  position: absolute; inset: auto 0 0 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0; z-index: 5;
}
.ba-range:focus-visible + .ba-handle .ba-knob { outline: 3px solid var(--ink); outline-offset: 3px; }

.ba-layout { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1.15fr .85fr;
             align-items: center; }
@media (max-width: 880px) { .ba-layout { grid-template-columns: 1fr; } }

/* --- 3. Bild-Hotspots ---------------------------------------------------- */
.hotspots-layout { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.hotspots-head { max-width: 62ch; margin-inline: auto; text-align: center; }
/* .section-head ist sonst links/rechts verteilt – hier steht nur die
   Überschrift drin, also mittig setzen.                                   */
#leistungen .section-head { justify-content: center; }
#leistungen .section-head > div { max-width: none; }
.hotspots-head .eyebrow::before { display: none; }   /* Strich vor dem Label weg */

.hotspot-stage { position: relative; }
.hotspot-figure {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--paper-warm);
}
@media (max-width: 640px) { .hotspot-figure { aspect-ratio: 4 / 3; } }
.hotspot-figure > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
                        transition: filter var(--t-mid) var(--ease); }
/* Bild leicht zurücknehmen, solange ein Fenster offen ist */
.hotspot-stage.has-open .hotspot-figure > img { filter: brightness(.92); }

.hotspot {
  position: absolute; z-index: 3;
  width: 34px; height: 34px; padding: 0;
  transform: translate(-50%, -50%);
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.9);
  display: grid; place-items: center;
  transition: transform var(--t-mid) var(--ease-out), background var(--t-mid) var(--ease);
}
.hotspot::before {                      /* pulsierender Ring */
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.75);
  animation: hs-pulse 2.6s var(--ease-out) infinite;
}
.hotspot .core { width: 9px; height: 9px; border-radius: 50%; background: var(--ink);
                 transition: background var(--t-fast) var(--ease); }
.hotspot:hover { transform: translate(-50%, -50%) scale(1.18); }
.hotspot[aria-expanded="true"] { background: var(--ink); }
.hotspot[aria-expanded="true"] .core { background: var(--accent-mid); }
.hotspot[aria-expanded="true"]::before { border-color: var(--ink); animation: none; }
.hotspot:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@keyframes hs-pulse {
  0%   { transform: scale(.9);  opacity: .9; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* --- Das Fenster neben dem Punkt --------------------------------------- */
.hotspot-pop[hidden] { display: none; }
.hotspot-pop {
  position: absolute; z-index: 4;
  width: min(320px, 42%);
  background: var(--paper);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card), 0 24px 60px rgba(0,0,0,.14);
  padding: clamp(1.1rem, 1.8vw, 1.5rem);
  /* --shift schiebt das Fenster senkrecht zurück ins Bild (siehe hotspots.js) */
  transform: translateY(calc(-50% + var(--shift, 0px))) scale(.96);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease-out);
}
.hotspot-pop.to-right { margin-left: 26px; transform-origin: left center; }
.hotspot-pop.to-left  { margin-right: 26px; transform-origin: right center; }
.hotspot-pop.is-open  { opacity: 1; transform: translateY(calc(-50% + var(--shift, 0px))) scale(1); }

.hotspot-pop h3 { font-size: 1.15rem; margin: .45rem 0 .55rem; }
.hotspot-pop p  { margin-bottom: 1rem; }
.hotspot-pop .link { font-size: var(--fs-small); }

.hotspot-pop-close {
  position: absolute; top: .55rem; right: .55rem;
  width: 26px; height: 26px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--ink-muted);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.hotspot-pop-close:hover { background: var(--paper-warm); color: var(--ink); }
.hotspot-pop-close:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Auf dem Handy ist neben dem Punkt kein Platz – und über dem Bild auch
   nicht: die Karte ist höher als das Bild und würde oben abgeschnitten.
   Deshalb rutscht sie dort einfach unter das Bild.                        */
@media (max-width: 640px) {
  .hotspot-pop {
    position: static;
    width: auto; margin: .9rem 0 0;
    transform: translateY(10px);
    box-shadow: var(--shadow-card);
  }
  .hotspot-pop.is-open { transform: none; }
  .hotspot-stage.has-open .hotspot-figure > img { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hotspot::before { animation: none; }
  .hotspot-pop, .hotspot-pop.is-open { transition: opacity var(--t-fast) var(--ease); }
}

/* --- 4. Bewertungen ------------------------------------------------------ */
.reviews-marquee {
  position: relative; overflow: hidden; cursor: grab;
  padding-block: .25rem 1rem;
  /* links und rechts weich auslaufen lassen */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews-marquee.is-dragging { cursor: grabbing; }
.reviews-track {
  display: flex; align-items: stretch; gap: var(--gap-m);
  width: max-content; will-change: transform;
}
.reviews-track > .review { flex: 0 0 auto; width: min(88vw, 380px); }
@media (max-width: 640px) {
  .reviews-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
}
.review {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: clamp(1.4rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: var(--gap-s);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease);
}
.reviews-track .review:hover { box-shadow: var(--shadow-card); }
.stars { color: var(--accent); letter-spacing: .12em; font-size: 1rem; }
.review .txt { color: var(--ink-soft); }
.review .who { margin-top: auto; display: flex; align-items: center; gap: .8rem;
               padding-top: var(--gap-s); border-top: 1px solid var(--line); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: var(--accent-mid); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
}
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-m); }
.rating-summary .big { font-family: var(--font-display); font-weight: 900; font-size: 3.4rem;
                       line-height: 1; letter-spacing: -.05em; }

/* --- 5. FAQ-Akkordeon ---------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; gap: var(--gap-m); align-items: flex-start; justify-content: space-between;
  padding: 1.5rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  letter-spacing: -.02em; line-height: 1.25;
  transition: color var(--t-fast) var(--ease);
}
.faq-q:hover { color: var(--ink-muted); }
.faq-q:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.faq-icon {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong); position: relative;
  transition: background var(--t-mid) var(--ease), transform var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--ink);
  transform: translate(-50%, -50%); transition: transform var(--t-mid) var(--ease-out),
              background var(--t-mid) var(--ease);
}
.faq-icon::before { width: 13px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 13px; }
.faq-item.is-open .faq-icon { background: var(--ink); border-color: var(--ink); transform: rotate(90deg); }
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after { background: var(--paper); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height var(--t-mid) var(--ease-out); }
.faq-a .inner { padding-bottom: 1.6rem; color: var(--ink-soft); max-width: 68ch; }

/* --- 6. Karten & Raster -------------------------------------------------- */
.grid { display: grid; gap: var(--gap-m); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .grid-5 { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card-img {
  position: relative; display: block; border-radius: var(--radius-m); overflow: hidden;
  background: var(--paper-warm); aspect-ratio: 4 / 5;
}
.card-img img { width: 100%; height: 100%; object-fit: cover;
                transition: transform 1s var(--ease-out); }
.card-img:hover img { transform: scale(1.06); }
.card-img .overlay {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.2rem 1.2rem;
  background: linear-gradient(transparent, rgba(14,14,13,.78));
  color: #fff;
}
.card-img .overlay .sub { font-size: var(--fs-small); color: rgba(255,255,255,.75); }

.tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  transition: transform var(--t-mid) var(--ease-out), border-color var(--t-mid) var(--ease);
}
.tile:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.tile .n { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1;
           letter-spacing: -.05em; color: var(--accent); }

/* Team */
.team-card .photo { border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 5;
                    background: var(--paper-warm); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover;
                        transition: transform 1s var(--ease-out); filter: saturate(.95); }
.team-card:hover .photo img { transform: scale(1.05); }
.team-card .role { font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase;
                   color: var(--ink-muted); }

/* --- 7. Preisliste ------------------------------------------------------- */
.price-group + .price-group { margin-top: var(--gap-xl); }
.price-row {
  display: grid; grid-template-columns: 1fr auto; gap: var(--gap-s) var(--gap-m);
  align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.price-row:first-of-type { border-top: 1px solid var(--line); }
.price-row .nm { font-weight: 700; }
.price-row .ds { grid-column: 1 / 2; font-size: var(--fs-small); color: var(--ink-muted);
                 max-width: 68ch; line-height: 1.6; }
.price-row .hint { display: block; margin-top: .55em; font-size: var(--fs-micro);
                   color: var(--ink); opacity: .75; }
.price-row .pr { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
                 letter-spacing: -.02em; white-space: nowrap; }
.price-row .dur { grid-column: 2; font-size: var(--fs-micro); color: var(--ink-muted);
                  text-align: right; }

/* --- 8. Ablauf-Schritte -------------------------------------------------- */
.steps { display: grid; gap: var(--gap-m); grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.step .no { font-family: var(--font-display); font-weight: 900; font-size: var(--fs-micro);
            letter-spacing: .14em; color: var(--ink-muted); margin-bottom: .8em; display: block; }

/* ==========================================================================
   9. Buchungs-Wizard
   ========================================================================== */
.booking { --w: 880px; }
.booking-shell { max-width: var(--w); margin-inline: auto; }

.progress { margin-bottom: clamp(2rem, 4vw, 3rem); }
.progress-bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 0%; background: var(--ink);
                  transition: width .5s var(--ease-out); }
.progress-steps { display: flex; justify-content: space-between; gap: .5rem; margin-top: .9rem; }
.progress-steps li {
  flex: 1; list-style: none; font-size: var(--fs-micro); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted);
  transition: color var(--t-mid) var(--ease);
}
.progress-steps li + li { text-align: center; }
.progress-steps li:last-child { text-align: right; }
.progress-steps li.is-done { color: var(--accent); }
.progress-steps li.is-current { color: var(--ink); }

.wz-step { display: none; }
.wz-step.is-active { display: block; animation: wz-in .45s var(--ease-out); }
@keyframes wz-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.wz-head { margin-bottom: var(--gap-l); }
.wz-actions {
  display: flex; flex-wrap: wrap; gap: var(--gap-s); align-items: center;
  margin-top: var(--gap-l); padding-top: var(--gap-m); border-top: 1px solid var(--line);
}
.wz-actions .spacer { margin-left: auto; }

/* Auswahlkarten (Leistung / Mitarbeiterin) */
.choice-list { display: grid; gap: .7rem; }
.choice {
  display: flex; gap: var(--gap-m); align-items: center; width: 100%; text-align: left;
  padding: 1.1rem 1.3rem; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.choice:hover { border-color: var(--line-strong); transform: translateX(3px); }
.choice[aria-pressed="true"] { border-color: var(--ink); background: var(--accent-soft); }
.choice:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice .thumb {
  width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; overflow: hidden;
  background: var(--accent-mid); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.choice .thumb img { width: 100%; height: 100%; object-fit: cover; }
.choice .body { flex: 1; min-width: 0; }
.choice .body .t { display: block; font-weight: 700; line-height: 1.35; }
.choice .body .s { display: block; font-size: var(--fs-small); color: var(--ink-muted); line-height: 1.45; }
.choice .meta { text-align: right; white-space: nowrap; }
.choice .meta .p { display: block; font-family: var(--font-display); font-weight: 800;
                   font-size: 1.05rem; letter-spacing: -.02em; }
.choice .meta .d { display: block; font-size: var(--fs-micro); color: var(--ink-muted); margin-top: .2em; }

@media (max-width: 560px) {
  .choice { padding: 1rem; gap: .8rem; flex-wrap: wrap; }
  .choice .meta { text-align: left; width: 100%; padding-left: 2.4rem; }
  .choice .meta .p, .choice .meta .d { display: inline; }
  .choice .meta .d::before { content: " · "; }
}
.choice .tick {
  width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%;
  border: 1px solid var(--line-strong); position: relative;
}
.choice[aria-pressed="true"] .tick { background: var(--ink); border-color: var(--ink); }
.choice[aria-pressed="true"] .tick::after {
  content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px;
  border: solid var(--paper); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}

/* Zusammenfassung */
/* Server nicht erreichbar o. Ä. – im Kalender statt der Tage */
.cal-fehler {
  padding: var(--gap-m); border-radius: var(--radius-m);
  background: var(--paper-warm); color: var(--ink);
  font-size: var(--fs-small); line-height: 1.6; text-align: center;
}

/* --- Schritt 1: Gruppen und Merkzettel ---------------------------------- */
.svc-group { margin-bottom: var(--gap-l); }
.svc-group-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--gap-s); margin-bottom: .8rem;
}
.svc-group-head h3 { margin: 0; }

.wz-pick {
  position: sticky; bottom: .75rem; z-index: 2;
  background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: var(--radius-m); padding: .9rem 1rem;
  box-shadow: var(--shadow-card);
}
.wz-pick[hidden] { display: none; }
.wz-pick-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.wz-chip {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .4em .5em .4em .9em; border-radius: var(--radius-pill);
  border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper);
  font-size: var(--fs-small); font-weight: 600; font-family: inherit;
  transition: opacity var(--t-fast) var(--ease);
}
.wz-chip:hover { opacity: .82; }
.wz-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.wz-chip .x {
  display: grid; place-items: center;
  width: 1.4em; height: 1.4em; border-radius: 50%;
  background: rgba(255,255,255,.18); font-size: .9em; line-height: 1;
}
.wz-pick-sum { margin: .7rem 0 0; font-size: var(--fs-small); color: var(--ink-muted); }

.summary { background: var(--paper-soft); border-radius: var(--radius-m);
           padding: clamp(1.3rem, 2.4vw, 1.9rem); }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .7rem var(--gap-m); }
.summary dt { font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase;
              color: var(--ink-muted); }
.summary dd { margin: 0; font-weight: 700; text-align: right; }
/* Mehrere Behandlungen: jede bekommt eine eigene Zeile in der rechten Spalte */
.summary dd.li { grid-column: 2; display: flex; justify-content: space-between;
                 gap: var(--gap-s); text-align: left; }
.summary dd.li .pr { color: var(--ink-muted); font-weight: 600; white-space: nowrap; }
.summary .total { border-top: 1px solid var(--line-strong); margin-top: 1rem; padding-top: 1rem; }
/* Was jetzt online fällig ist und was vor Ort bleibt */
.summary .zahlung { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.summary .zahlung .zeile { display: flex; justify-content: space-between; gap: var(--gap-s);
                           font-size: var(--fs-small); color: var(--ink-muted); }
.summary .zahlung .zeile + .zeile { margin-top: .35rem; }
.summary .zahlung .jetzt { color: var(--ink); font-weight: 700; font-size: 1rem; }

/* Erfolgs-Screen */
.done { text-align: center; max-width: 46ch; margin-inline: auto; padding-block: clamp(2rem, 5vw, 4rem); }
.done .seal {
  width: 84px; height: 84px; margin: 0 auto var(--gap-m); border-radius: 50%;
  background: var(--accent-mid); display: grid; place-items: center;
  animation: pop .6s var(--ease-out) both;
}
.done .seal svg { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }

/* ==========================================================================
   10. Kalender + Zeit-Slots
   ========================================================================== */
.cal-layout { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: 1fr 300px; }
@media (max-width: 780px) { .cal-layout { grid-template-columns: 1fr; } }

.cal { border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1rem, 2vw, 1.5rem); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.cal-title { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
             letter-spacing: -.02em; }
.cal-nav { display: flex; gap: .4rem; }
.cal-nav button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: none; cursor: pointer; display: grid; place-items: center;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.cal-nav button:hover:not([disabled]) { background: var(--paper-soft); border-color: var(--ink); }
.cal-nav button[disabled] { opacity: .3; cursor: not-allowed; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .08em;
           text-transform: uppercase; color: var(--ink-muted); text-align: center;
           padding-bottom: .5rem; }
.cal-day {
  aspect-ratio: 1; border: 1px solid transparent; border-radius: var(--radius-s);
  background: none; cursor: pointer; position: relative;
  font-size: var(--fs-small); font-weight: 600;
  display: grid; place-items: center;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.cal-day.is-free { background: var(--accent-soft); }
.cal-day.is-free::after {
  content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
}
.cal-day:hover:not([disabled]) { border-color: var(--ink); }
.cal-day[disabled] { color: #C3B4C4; cursor: not-allowed; }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.cal-day.is-selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cal-day.is-selected::after { background: var(--accent-mid); }
.cal-day:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }

.cal-legend { display: flex; flex-wrap: wrap; gap: var(--gap-m); margin-top: 1rem;
              font-size: var(--fs-micro); color: var(--ink-muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: .45em; }
.cal-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.slots { display: flex; flex-direction: column; min-height: 240px; }
.slots-title { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
               letter-spacing: -.02em; margin-bottom: .9rem; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem;
             max-height: 340px; overflow-y: auto;
             /* Platz für den Schatten unten, sonst klebt er auf den Knöpfen */
             padding-bottom: 2px; scrollbar-width: thin; }
/* Liegt noch etwas unterhalb? Dann läuft die Liste weich aus, statt
   abgeschnitten zu wirken. Die Klasse setzt calendar.js. */
.slot-list.hat-mehr {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent 100%);
          mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent 100%);
}
.slot {
  padding: .7em .4em; border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  background: var(--paper); cursor: pointer; font-size: var(--fs-small); font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.slot:hover { border-color: var(--ink); transform: translateY(-1px); }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.slots-empty { color: var(--ink-muted); font-size: var(--fs-small); }
.slots-hinweis { color: var(--ink-muted); font-size: var(--fs-micro); line-height: 1.5;
                 margin: .9rem 0 0; }
.slots-hinweis strong { color: var(--ink); font-weight: 700; }

.loading { display: inline-flex; align-items: center; gap: .6em; font-size: var(--fs-small);
           color: var(--ink-muted); }
.loading::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--line-strong); border-top-color: var(--ink);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- 11. Info-Boxen ------------------------------------------------------ */
.note {
  display: flex; gap: .8rem; padding: 1rem 1.2rem;
  background: var(--accent-soft); border-radius: var(--radius-m);
  font-size: var(--fs-small); color: var(--ink-soft);
}
.note strong { color: var(--ink); }

/* Platzhalter-Markierung – verschwindet, wenn echte Inhalte da sind */
.placeholder-note {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-muted); border: 1px dashed var(--line-strong);
  padding: .4em .8em; border-radius: var(--radius-pill);
}

/* --- 12. Kontakt --------------------------------------------------------- */
.info-row { display: grid; grid-template-columns: 120px 1fr; gap: var(--gap-m);
            padding: .9rem 0; border-bottom: 1px solid var(--line); }
.info-row dt { font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase;
               color: var(--ink-muted); }
.info-row dd { margin: 0; }
.map-placeholder {
  aspect-ratio: 16 / 10; border-radius: var(--radius-m); background: var(--paper-warm);
  display: grid; place-items: center; text-align: center; color: var(--ink-muted);
  border: 1px dashed var(--line-strong);
}

/* ==========================================================================
   Bewegung in Buchung und Lernbereich
   Diese Seiten waren bisher völlig statisch – gerade dort, wo die Kundin am
   längsten bleibt.
   ========================================================================== */

/* Schritt im Wizard kommt federnd, nicht hineingeschoben */
.wz-step.is-active { animation: wz-in .55s var(--ease-spring) both; }
@keyframes wz-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* Die Auswahlkarten laufen gestaffelt ein */
.wz-step.is-active .choice { animation: choice-in .5s var(--ease-spring) both; }
.wz-step.is-active .choice-list .choice:nth-child(1) { animation-delay: .04s; }
.wz-step.is-active .choice-list .choice:nth-child(2) { animation-delay: .09s; }
.wz-step.is-active .choice-list .choice:nth-child(3) { animation-delay: .14s; }
.wz-step.is-active .choice-list .choice:nth-child(4) { animation-delay: .19s; }
.wz-step.is-active .choice-list .choice:nth-child(5) { animation-delay: .24s; }
.wz-step.is-active .choice-list .choice:nth-child(6) { animation-delay: .29s; }
@keyframes choice-in {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: none; }
}

/* Gewählte Karte bekommt einen Akzentrand statt nur einer Füllung */
.choice[aria-pressed="true"] {
  border-color: var(--accent); background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}

/* Uhrzeiten erscheinen gestaffelt, sobald ein Tag gewählt wurde */
.slot-list .slot { animation: slot-in .34s var(--ease-out) both; }
.slot-list .slot:nth-child(2)  { animation-delay: .02s; }
.slot-list .slot:nth-child(3)  { animation-delay: .04s; }
.slot-list .slot:nth-child(4)  { animation-delay: .06s; }
.slot-list .slot:nth-child(5)  { animation-delay: .08s; }
.slot-list .slot:nth-child(6)  { animation-delay: .10s; }
.slot-list .slot:nth-child(7)  { animation-delay: .12s; }
.slot-list .slot:nth-child(8)  { animation-delay: .14s; }
.slot-list .slot:nth-child(n+9) { animation-delay: .16s; }
@keyframes slot-in {
  from { opacity: 0; transform: scale(.9); }
  to   { opacity: 1; transform: none; }
}
.slot:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.slot[aria-pressed="true"] {
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-color: var(--accent-deep); color: var(--paper);
}

/* Freie Tage im Kalender: ein Hauch Akzent statt nur einer Fläche */
.cal-day.is-free {
  background: var(--accent-soft);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease-spring),
              border-color var(--t-fast) var(--ease);
}
.cal-day.is-free:hover:not([disabled]) { transform: scale(1.08); background: var(--accent-mid); }
.cal-day.is-selected {
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-color: var(--accent-deep); color: var(--paper);
}

/* Bewertungskarten: der Schein kommt aus [data-spotlight], hier nur die Hebung */
.review:hover { box-shadow: var(--shadow-lift); }

/* FAQ: die Antwort fährt weicher auf */
.faq-a { transition: height var(--t-mid) var(--ease-out); }
.faq-item.is-open .faq-icon { box-shadow: 0 0 0 4px var(--accent-soft); }

@media (prefers-reduced-motion: reduce) {
  .wz-step.is-active, .wz-step.is-active .choice, .slot-list .slot { animation: none; }
  .cal-day.is-free:hover:not([disabled]) { transform: none; }
  .slot:hover { transform: none; }
}
