/* ==========================================================================
   Termin buchen: Terminart + Kalender + Formular (Seite reservierung.html)
   ========================================================================== */
.page-hero--tight { padding-bottom: clamp(20px, 3vw, 36px); }
.res-steps { list-style: none; margin: 22px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-family: var(--f-sans); font-size: .78rem; letter-spacing: .08em; color: var(--ink-soft); }
.res-steps li { display: flex; align-items: center; gap: 8px; }
.res-steps span, .res__label span {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--rose); color: var(--rose-deep); box-shadow: 0 6px 14px -8px rgba(169, 71, 91, .45);
  font-family: var(--f-sans); font-size: .8rem; font-weight: 500; line-height: 1; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums;
}
.res-steps span::after, .res__label span::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(233, 180, 178, .6); }
.res__label { gap: 14px !important; }
.res-section { padding-bottom: clamp(60px, 9vw, 110px); }

/* Handy: Terminart, Kalender, Formular untereinander.
   Desktop: Kalender fest links, Terminart + Formular rechts daneben. */
.res { display: grid; gap: 26px; align-items: start; grid-template-areas: "types" "cal" "panel"; }
.res__types { grid-area: types; }
.res__cal { grid-area: cal; }
.res__panel { grid-area: panel; }
@media (min-width: 1000px) {
  .res { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "cal types" "cal panel"; gap: 26px 34px; }
  .res__cal { position: sticky; top: calc(var(--header-h) + 18px); }
}
.res__label { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--f-sans); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.res__types .choice__card { padding: 18px 18px 16px; }
.res__types .choice-grid { gap: 12px; }

/* ---------- Kalender ---------- */
.cal {
  position: relative; max-width: 680px; margin-inline: auto; padding: clamp(16px, 3vw, 28px);
  background: rgba(255, 255, 255, .7); border: 1px solid var(--rose-soft); border-radius: 14px; box-shadow: var(--shadow-soft);
}
.cal::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(233, 180, 178, .45); border-radius: 10px; pointer-events: none; }
.cal__head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cal__title { flex: 1; margin: 0; padding-left: .2em; text-align: center; font-family: var(--f-serif); font-weight: 500; text-transform: uppercase; letter-spacing: .2em; font-size: clamp(1.15rem, 3.4vw, 1.6rem); }
.cal__nav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rose-soft); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .25s; }
.cal__nav svg { width: 20px; height: 20px; }
.cal__nav:hover:not(:disabled) { background: var(--rose-soft); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__weekdays, .cal__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(4px, 1vw, 8px); }
.cal__weekdays { margin-bottom: 8px; }
.cal__weekdays span { text-align: center; font-family: var(--f-sans); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.cal__weekdays span:nth-child(n+6) { color: var(--rose-deep); }
.cal__day {
  position: relative; aspect-ratio: 1 / 1; min-height: 40px; padding: 0; border-radius: 10px; border: 1px solid var(--rose-soft); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
  font-family: var(--f-serif); color: var(--ink); transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.cal__num { font-size: clamp(1.05rem, 2.6vw, 1.4rem); font-weight: 500; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.cal__day.is-frei { background: linear-gradient(180deg, #fff, rgba(248, 217, 214, .55)); border-color: var(--rose); }
.cal__day.is-frei:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(110, 40, 55, .5); }
.cal__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose-deep); }
.cal__day.is-selected { background: var(--rose); border-color: var(--rose); color: #fff; box-shadow: 0 10px 24px -12px rgba(169, 71, 91, .7); }
.cal__day.is-selected .cal__dot { background: #fff; }
.cal__day.is-today .cal__num { color: var(--rose-deep); font-weight: 700; }
.cal__day.is-selected.is-today .cal__num { color: #fff; }
.cal__day.is-disabled { background: transparent; border-color: transparent; color: #c9b5b3; cursor: default; }
.cal__cell--empty { aspect-ratio: 1 / 1; }
.cal__state {
  position: absolute; inset: 70px 12px 60px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px; text-align: center; font-size: 1.08rem; line-height: 1.5; color: var(--ink-soft);
  background: rgba(255, 251, 249, .9); border-radius: 12px; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.cal__state[hidden] { display: none; }
.cal__state p { margin: 0; max-width: 24rem; }
.cal__state strong { color: var(--ink); }
.cal__legend { position: relative; z-index: 1; list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-family: var(--f-sans); font-size: .74rem; color: var(--ink-soft); }
.cal__legend li { display: flex; align-items: center; gap: 7px; }
.lg { position: relative; display: inline-block; width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--rose); background: linear-gradient(180deg, #fff, rgba(248, 217, 214, .7)); }
.lg--frei::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--rose-deep); }
.lg--sel { background: var(--rose); border-color: var(--rose); }
.lg--off { background: transparent; border-color: #e2cfcc; border-style: dashed; }
@media (max-width: 420px) { .cal__day { border-radius: 8px; } }
/* Gleich hohe Ziffern (die Schmuckschrift hat sonst unterschiedlich hohe Zahlen) */
.cal__title, .res-times__day, .res-date__day, .time-btn, .res-success p { font-variant-numeric: lining-nums; }

/* ---------- Uhrzeiten ---------- */
.res-times { max-width: 680px; margin: 16px auto 0; padding: 18px 18px 20px; background: rgba(255, 255, 255, .6); border: 1px solid var(--rose-soft); border-radius: 14px; }
.res-times[hidden] { display: none; }
.res-times__day { margin: 0 0 12px; text-align: center; font-family: var(--f-serif); font-size: 1.25rem; font-weight: 600; color: var(--rose-deep); }
.res-times__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }

/* ---------- Formular-Panel ---------- */
.res__panel { padding: clamp(20px, 3.5vw, 32px); background: rgba(255, 255, 255, .6); border: 1px solid var(--rose-soft); border-radius: 14px; box-shadow: var(--shadow-soft); }
.res-empty { text-align: center; padding: 18px 6px; color: var(--ink-soft); }
.res-empty[hidden] { display: none; }
.res-empty .icon-circle { margin: 0 auto 16px; }
.res-empty .icon-circle svg { width: 30px; height: 30px; }
.res-empty__title { margin: 0 0 8px; font-family: var(--f-serif); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); }
.res-empty p:last-child { margin: 0; }
.res-form { display: grid; gap: 18px; }
.res-form[hidden] { display: none; }
.res-date { text-align: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.res-date .eyebrow { margin-bottom: .3rem; }
.res-date__day { margin: 0; font-family: var(--f-serif); font-size: clamp(1.35rem, 3.6vw, 1.7rem); font-weight: 600; color: var(--rose-deep); }
.res-date__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: .4rem 0 0; font-size: .98rem; color: var(--ink-soft); }
.res-date__note svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.res-form .fields--2 { gap: 14px; }
@media (min-width: 1000px) and (max-width: 1199px) { .res-form .fields--2 { grid-template-columns: 1fr; } .res-form .field--full { grid-column: auto; } }
.res-form .notice { margin-top: 0; }
.res-success { text-align: center; padding: 10px 0; }
.res-success[hidden] { display: none; }
.res-success p { color: var(--ink-soft); }

/* Auswahl „Art eures Events“ (nur bei Showroom-Terminen) */
.pick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-chips label { position: relative; }
.pick-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick-chips span { display: block; padding: 9px 16px; border: 1px solid var(--rose-soft); border-radius: 999px; background: rgba(255, 255, 255, .75); font-family: var(--f-sans); font-size: .82rem; letter-spacing: .03em; cursor: pointer; transition: background .2s, border-color .2s; }
.pick-chips label:hover span { border-color: var(--rose); }
.pick-chips input:checked + span { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.pick-chips input:focus-visible + span { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.field.has-error .pick-chips span { border-color: #b3261e; }
[data-eventart][hidden] { display: none; }
