/* GONDEL BAR — buchen.css: Buchungsassistent „Skipass buchen“ (skipass.html).
   Baut auf site.css auf (Farben, Schrift, Buttons). Keine Inline-Styles (strenge CSP). */

.buchen { padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 clamp(80px, 10vw, 130px); min-height: 100vh; }
.buchen__kopf { max-width: 760px; }
.buchen__kopf h1 { font-family: var(--display); font-weight: 750; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.045em; margin-top: 1rem; }
.buchen__kopf h1 em { color: var(--brass-2); font-weight: 300; }
.buchen__lead { margin-top: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.buchen__hinweis { margin-top: 1rem; display: inline-block; padding: .45rem .9rem; border-radius: 999px; font-size: .88rem; color: var(--brass-2); background: rgba(246, 182, 94, .12); border: 1px solid var(--line-brass); }
.buchen__noscript, .buchen__fehler { margin-top: 2rem; padding: 1.2rem 1.4rem; border: 1px dashed var(--line-brass); border-radius: 14px; max-width: 60ch; }
.buchen__noscript a, .buchen__fehler a { color: var(--brass-2); }

.buchen__grid { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.buchen__grid[hidden] { display: none; }

/* ---------- Schritte ---------- */
.schritte { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 36px); }
.schritte li { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .9rem; border-radius: 999px; font-size: .84rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); border: 1px solid var(--line); }
.schritte li.ist-fertig { color: var(--ink-2); border-color: var(--line-brass); }
.schritte li.ist-fertig::before { content: ""; width: 9px; height: 5px; border-left: 1.8px solid var(--brass-2); border-bottom: 1.8px solid var(--brass-2); transform: rotate(-45deg) translateY(-1px); }
.schritte li.ist-aktiv { color: #1b130b; background: var(--brass-2); border-color: var(--brass-2); }
.schritte button { all: unset; cursor: pointer; }
.schritte button:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 4px; border-radius: 999px; }

.schritt { border: 0; margin: 0; padding: 0; min-width: 0; }
.schritt[hidden] { display: none; }
.schritt__titel { font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 2.4vw, 1.9rem); letter-spacing: -.03em; line-height: 1.15; padding: 0; }
.schritt__titel:focus { outline: none; }
.schritt__text { margin-top: .5rem; color: var(--ink-2); }

/* ---------- Auswahlkarten ---------- */
.karten { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.karte { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.2rem 1.25rem 1.25rem; border-radius: 18px; border: 1px solid var(--line); background: rgba(15, 34, 24, .55); cursor: pointer; transition: border-color .3s ease, background-color .3s ease, box-shadow .4s ease, translate .4s var(--ease-reveal); }
.karte input { position: absolute; opacity: 0; pointer-events: none; }
.karte:has(input:focus-visible) { outline: 2px solid var(--brass-2); outline-offset: 3px; }
.karte:has(input:checked) { border-color: var(--brass); background: rgba(194, 152, 96, .1); box-shadow: 0 14px 40px -24px rgba(246, 182, 94, .55); }
@media (hover: hover) { .karte:hover { border-color: var(--line-brass); translate: 0 -2px; } }
.karte__haken { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-brass); }
.karte input:checked ~ .karte__haken { background: var(--brass-2); border-color: var(--brass-2); }
.karte input:checked ~ .karte__haken::after { content: ""; position: absolute; left: 7px; top: 6px; width: 9px; height: 5px; border-left: 2px solid #1b130b; border-bottom: 2px solid #1b130b; transform: rotate(-45deg); }
.karte input[type="checkbox"] ~ .karte__haken { border-radius: 7px; }
.karte__name { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; padding-right: 34px; }
.karte__text { color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
.karte__meta { margin-top: auto; padding-top: .6rem; color: var(--brass-2); font-size: .9rem; font-weight: 600; }
.karte__hinweis { color: var(--ink-3); font-size: .85rem; }
.karte__meta span { display: block; }
.karte__meta .karte__dauer { font-weight: 500; color: var(--ink-2); font-size: .86rem; }

.karten--getraenke { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.karten--getraenke .karte { padding: 1rem 1.05rem; }
.karten--getraenke .karte__name { font-size: 1rem; }

.karten--abrechnung { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.karte__preis { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 750; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; margin-top: .4rem; }
.karte__preis small { display: block; font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .02em; color: var(--ink-3); }
.karte__liste { margin-top: .7rem; display: grid; gap: .3rem; font-size: .88rem; color: var(--ink-2); }
.karte__liste li { display: flex; justify-content: space-between; gap: 12px; }
.karte__liste li span:last-child { white-space: nowrap; color: var(--ink); }
.karte__punkte { margin-top: .5rem; display: grid; gap: .3rem; font-size: .92rem; color: var(--ink-2); }
.karte__punkte li { padding-left: 1.1rem; position: relative; }
.karte__punkte li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }

/* ---------- Kalender ---------- */
.kalender { margin-top: 1.2rem; padding: clamp(14px, 2vw, 22px); border: 1px solid var(--line); border-radius: 20px; background: rgba(9, 22, 15, .5); max-width: 460px; }
.kalender__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kalender__monat { font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
.kalender__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-brass); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.kalender__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kalender__nav:disabled { opacity: .3; cursor: default; }
.kalender__tage, .kalender__raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.kalender__tage { margin-top: 14px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.kalender__raster { margin-top: 6px; }
.tag { aspect-ratio: 1; min-height: 40px; border-radius: 12px; border: 1px solid transparent; background: rgba(239, 230, 212, .05); color: var(--ink); font-size: .95rem; font-weight: 600; cursor: pointer; transition: background-color .25s ease, border-color .25s ease; }
.tag--leer { background: none; cursor: default; }
.tag:disabled { cursor: not-allowed; color: rgba(239, 230, 212, .28); background: transparent; }
.tag--belegt:disabled { text-decoration: line-through; color: rgba(239, 230, 212, .32); background: repeating-linear-gradient(135deg, rgba(239, 230, 212, .05) 0 4px, transparent 4px 8px); }
@media (hover: hover) { .tag:not(:disabled):not(.tag--leer):hover { border-color: var(--brass-2); } }
.tag--gewaehlt, .tag--bereich { background: var(--brass-2); color: #1b130b; }
.tag--bereich { background: rgba(219, 186, 139, .45); }
.tag--heute { border-color: var(--line-brass); }
.kalender__legende { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .8rem; color: var(--ink-3); }
.punkt { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 2px; }
.punkt--frei { background: rgba(239, 230, 212, .14); }
.punkt--belegt { background: repeating-linear-gradient(135deg, rgba(239, 230, 212, .3) 0 2px, transparent 2px 4px); }
.punkt--gewaehlt { background: var(--brass-2); }
.kalender__auswahl { margin-top: .8rem; font-weight: 600; color: var(--brass-2); min-height: 1.6em; }

/* ---------- Felder ---------- */
.felder { display: grid; gap: 18px; margin-top: 1.4rem; }
.felder[hidden] { display: none; }
.felder--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.schritt > .felder--zwei { margin-top: 1.4rem; }
.feld { display: grid; gap: .4rem; margin-top: 1.4rem; }
.felder > .feld, .felder--zwei > .feld { margin-top: 0; }
.feld[hidden] { display: none; }
.feld label, .feld__label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--ink-3); }
.feld input[type="text"], .feld input[type="email"], .feld input[type="tel"], .feld input[type="number"], .feld select, .feld textarea {
  width: 100%; min-height: 52px; padding: .75rem 1rem; border-radius: 14px;
  border: 1px solid rgba(239, 230, 212, .22); background: rgba(5, 14, 9, .55); color: var(--ink);
  font: inherit; font-size: 1rem; transition: border-color .25s ease, box-shadow .25s ease;
}
.feld textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.feld select { appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23dbba8b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; }
.feld select option { background: #0f2218; color: var(--ink); }
.feld input::placeholder, .feld textarea::placeholder { color: rgba(239, 230, 212, .38); }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--brass-2); box-shadow: 0 0 0 3px rgba(219, 186, 139, .2); }
.feld [aria-invalid="true"] { border-color: #f08a6a; }
.feld__hilfe { font-size: .85rem; color: var(--ink-3); }
.feld__fehler { font-size: .88rem; color: #ffab8f; min-height: 0; }
.feld__fehler:empty { display: none; }
.schritt > .feld__fehler { margin-top: .8rem; }
.feld--falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pillen { display: flex; flex-wrap: wrap; gap: 8px; }
.pille { position: relative; cursor: pointer; }
.pille input { position: absolute; opacity: 0; pointer-events: none; }
.pille span { display: inline-flex; align-items: center; min-height: 46px; padding: .5rem 1.15rem; border-radius: 999px; border: 1px solid rgba(239, 230, 212, .22); font-weight: 600; font-size: .94rem; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.pille input:checked + span { background: var(--brass-2); border-color: var(--brass-2); color: #1b130b; }
.pille input:focus-visible + span { outline: 2px solid var(--brass-2); outline-offset: 3px; }

.zaehler { display: flex; align-items: stretch; gap: 8px; max-width: 280px; }
.zaehler input { text-align: center; font-weight: 700; font-size: 1.15rem; -moz-appearance: textfield; }
.zaehler input::-webkit-outer-spin-button, .zaehler input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.zaehler__btn { flex: none; width: 52px; border-radius: 14px; border: 1px solid var(--line-brass); background: rgba(9, 22, 15, .4); color: var(--ink); font-size: 1.4rem; cursor: pointer; }

.extra { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; }
.extra__name { font-weight: 600; }
.extra__preis { color: var(--ink-3); font-size: .88rem; }
.extra .zaehler { max-width: 200px; }
.extra .zaehler input { width: 72px; min-height: 46px; padding: .4rem; border-radius: 12px; border: 1px solid rgba(239, 230, 212, .22); background: rgba(5, 14, 9, .55); color: var(--ink); font: inherit; font-weight: 700; text-align: center; }
.extra .zaehler__btn { width: 46px; }

.haken { margin-top: 1.2rem; display: flex; align-items: flex-start; gap: .8rem; font-size: .94rem; color: var(--ink-2); cursor: pointer; }
.haken input { flex: none; width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--brass); }
.haken a { color: var(--brass-2); }

/* ---------- Preisliste, Überblick ---------- */
.preisliste { margin-top: 1.4rem; border: 1px solid var(--line); border-radius: 16px; padding: .2rem 1.1rem; }
.preisliste summary { cursor: pointer; padding: .8rem 0; font-weight: 600; color: var(--brass-2); }
.preisliste table { width: 100%; border-collapse: collapse; margin-bottom: .8rem; font-size: .92rem; }
.preisliste td { padding: .45rem 0; border-top: 1px solid var(--line); }
.preisliste td:last-child { text-align: right; white-space: nowrap; }
.preisliste .einheit { color: var(--ink-3); }

.ueberblick { margin-top: 1.2rem; display: grid; grid-template-columns: minmax(120px, 34%) 1fr; border-top: 1px solid var(--line); }
.ueberblick dt, .ueberblick dd { margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.ueberblick dt { color: var(--ink-3); font-size: .9rem; padding-right: 1rem; }
.ueberblick dd { white-space: pre-line; overflow-wrap: anywhere; }
.ueberblick dd.ueberblick__preis { font-family: var(--display); font-weight: 750; font-size: 1.3rem; color: var(--brass-2); }

/* ---------- Navigation ---------- */
.assistent__meldung { margin-top: 1.4rem; color: #ffab8f; font-weight: 600; }
.assistent__meldung:empty { display: none; }
.assistent__nav { margin-top: clamp(26px, 3vw, 36px); display: flex; justify-content: space-between; gap: 12px; }
.assistent__nav [hidden] { display: none; }
.assistent__nav .btn--ghost:only-child { margin-left: auto; }
.assistent__nav [data-weiter] { margin-left: auto; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- Skipass-Karte (Zusammenfassung) ---------- */
.pass { position: sticky; top: calc(var(--header-h) + 20px); }
.pass__karte {
  position: relative; padding: 1.5rem 1.5rem 1.3rem; border-radius: 22px;
  background: linear-gradient(160deg, rgba(219, 186, 139, .16), rgba(15, 34, 24, .9) 42%), var(--forest-850);
  border: 1px solid var(--line-brass); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .8);
}
.pass__karte::before, .pass__karte::after { content: ""; position: absolute; top: calc(100% - 118px); width: 22px; height: 22px; border-radius: 50%; background: var(--forest-900); border: 1px solid var(--line-brass); }
.pass__karte::before { left: -12px; clip-path: inset(0 0 0 50%); }
.pass__karte::after { right: -12px; clip-path: inset(0 50% 0 0); }
.pass__kicker { font-size: .74rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--brass-2); }
.pass__name { margin-top: .35rem; font-family: var(--display); font-weight: 750; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.15; }
.pass__daten { margin-top: 1rem; display: grid; gap: .55rem; font-size: .92rem; }
.pass__daten div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; }
.pass__daten dt { color: var(--ink-3); }
.pass__daten dd { margin: 0; overflow-wrap: anywhere; }
.pass__preis { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px dashed var(--line-brass); min-height: 96px; }
.pass__preis-label { font-size: .82rem; color: var(--ink-3); }
.pass__preis-wert { font-family: var(--display); font-weight: 800; font-size: 2.1rem; letter-spacing: -.04em; line-height: 1.1; color: var(--ink); }
.pass__preis-zusatz { font-size: .84rem; color: var(--ink-2); margin-top: .2rem; }
.pass__mwst { margin-top: .8rem; font-size: .8rem; color: var(--ink-3); padding: 0 .4rem; }

.leiste { display: none; }

/* ---------- Fertig ---------- */
.fertig { margin-top: clamp(28px, 4vw, 48px); max-width: 640px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-brass); border-radius: 22px; background: rgba(15, 34, 24, .6); }
.fertig[hidden] { display: none; }
.fertig:focus { outline: none; }
.fertig h2 { font-family: var(--display); font-weight: 750; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.04em; line-height: 1.1; margin: .8rem 0 1rem; }
.fertig p + p { margin-top: .8rem; }
.fertig strong { color: var(--brass-2); }
.fertig .btn-row { margin-top: 1.6rem; }

/* ---------- Tablet und Handy ---------- */
@media (max-width: 980px) {
  .buchen__grid { grid-template-columns: minmax(0, 1fr); }
  .pass { display: none; }
  .leiste {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: .7rem var(--gutter) max(.7rem, env(safe-area-inset-bottom));
    background: rgba(9, 22, 15, .92); border-top: 1px solid var(--line-brass);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .leiste.ist-leer { display: none; }
  .leiste__label { font-size: .78rem; color: var(--ink-3); }
  .leiste__preis { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.15; }
  .page-buchen .footer { padding-bottom: 90px; }
}
@media (max-width: 600px) {
  .felder--zwei { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .schritte { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 4px; scroll-padding-inline: var(--gutter); }
  .schritte::-webkit-scrollbar { display: none; }
  .schritte li { flex: none; padding: .42rem .8rem; font-size: .8rem; }
  .assistent__nav .btn { flex: 1 1 0; padding-left: 1rem; }
  .assistent__nav .btn--ghost { flex: 0 0 auto; }
  .ueberblick { grid-template-columns: minmax(0, 1fr); }
  .ueberblick dt { border-bottom: 0; padding-bottom: 0; }
  .ueberblick dd { padding-top: .2rem; }
  .tag { min-height: 0; border-radius: 10px; font-size: .9rem; }
}
