/* Buchungsseite Eisstockbahn (habsgut, 2026-11-09) — Quelle: Farm-habsgut/website/fbw
 *
 * ⛔ Gestaltung wie die Gutscheinseite (gutschein-shop.css, Vorgabe Markus
 *    2026-11-09: „an der Gutscheinseite orientieren, auch wegen Typo"):
 *    Hausschriften per `font: inherit` (Enfold lädt Instrument Serif/Inter),
 *    Farben #3e4844 und Linien statt Karten, viel Luft oben und unten.
 * ⛔ Selektoren mit der Container-id: Enfold setzt `#top label`, `#top select`
 *    per id-Regel, die jede reine Klassenregel schlägt.
 */
#hg-eisstockbahn {
  --eb-dunkel: #3e4844;
  --eb-linie: rgba(62, 72, 68, .18);
  --eb-toenung: rgba(62, 72, 68, .07);
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.25rem 6rem;
  color: var(--eb-dunkel);
}
@media (max-width: 680px) { #hg-eisstockbahn { padding: 3rem 1rem 4rem; } }
#hg-eisstockbahn * { box-sizing: border-box; }

/* Kopf: Bild, Überschrift in der Hausschrift, Einleitung */
#hg-eisstockbahn .hg-eb-head img { display: block; width: 100%; aspect-ratio: 16 / 7;
  object-fit: cover; margin: 0 0 2.5rem; }
#hg-eisstockbahn .hg-eb-head h2 { margin: 0 0 .9rem; font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 400; line-height: 1.15; color: inherit; }
#hg-eisstockbahn .hg-eb-head p { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.65;
  opacity: .85; max-width: 60ch; }
#hg-eisstockbahn .hg-eb-head p.hg-eb-cta { margin: 2rem 0 0; opacity: 1; font-weight: 600; }

/* Abschnitte: Linie oben, kleine Versal-Überschrift — wie die Gutscheinseite */
#hg-eisstockbahn .hg-eb-step { border-top: 1px solid var(--eb-linie); margin: 3rem 0 0; padding: 2rem 0 0; }
#hg-eisstockbahn .hg-eb-step > h3 { margin: 0 0 1.2rem; font: inherit; font-weight: 600; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .18em; opacity: .6; color: inherit; }

#hg-eisstockbahn .hg-eb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 520px) { #hg-eisstockbahn .hg-eb-row { grid-template-columns: 1fr; } }
#hg-eisstockbahn label { display: block; margin: 0; font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; color: inherit; }
#hg-eisstockbahn input:not([type=checkbox]), #hg-eisstockbahn select, #hg-eisstockbahn textarea {
  display: block; width: 100%; margin-top: .45rem; padding: .75rem 0;
  font: inherit; font-weight: 400; font-size: 1rem; color: inherit;
  border: 0; border-bottom: 1px solid var(--eb-linie); border-radius: 0; background: transparent; }
#hg-eisstockbahn input:focus, #hg-eisstockbahn select:focus, #hg-eisstockbahn textarea:focus {
  outline: none; border-bottom-color: var(--eb-dunkel); }
#hg-eisstockbahn textarea { resize: vertical; min-height: 5.5rem; }

/* Auswahl-Felder (Dauer, Uhrzeit) wie die Betragsstufen der Gutscheinseite */
#hg-eisstockbahn .hg-eb-dauer, #hg-eisstockbahn .hg-eb-times { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
#hg-eisstockbahn .hg-eb-chip { font: inherit; font-weight: 500; font-size: 1rem; color: inherit;
  padding: .85rem 1.3rem; border: 1px solid var(--eb-linie); border-radius: 2px; background: transparent;
  cursor: pointer; transition: border-color .15s ease, background .15s ease; }
#hg-eisstockbahn .hg-eb-chip:hover { border-color: var(--eb-dunkel); }
#hg-eisstockbahn .hg-eb-chip.sel { border-color: var(--eb-dunkel); box-shadow: inset 0 0 0 1px var(--eb-dunkel);
  background: var(--eb-toenung); }
#hg-eisstockbahn .hg-eb-chip:disabled { opacity: .35; cursor: default; text-decoration: line-through; }

/* Kalender */
#hg-eisstockbahn .hg-eb-calhead { display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .8rem; font-size: 1.1rem; }
#hg-eisstockbahn .hg-eb-calhead button { font: inherit; width: 2.4rem; height: 2.4rem; border: 1px solid var(--eb-linie);
  border-radius: 2px; background: transparent; color: inherit; cursor: pointer; font-size: 1.1rem; }
#hg-eisstockbahn .hg-eb-calhead button:disabled { opacity: .25; cursor: default; }
#hg-eisstockbahn .hg-eb-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
#hg-eisstockbahn .hg-eb-wd { text-align: center; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .5; padding-bottom: .3rem; }
#hg-eisstockbahn .hg-eb-day { height: 2.8rem; font: inherit; font-size: .95rem; color: inherit; opacity: .3;
  border: 1px solid transparent; border-radius: 2px; background: transparent; cursor: default; }
#hg-eisstockbahn .hg-eb-day.hg-eb-available, #hg-eisstockbahn .hg-eb-day.hg-eb-limited { opacity: 1; cursor: pointer;
  border-color: var(--eb-linie); background: #fff; font-weight: 600; }
#hg-eisstockbahn .hg-eb-day.hg-eb-limited { background: #fbf3e1; }
#hg-eisstockbahn .hg-eb-day.hg-eb-full { opacity: .45; text-decoration: line-through; }
#hg-eisstockbahn .hg-eb-day:hover:not(:disabled) { border-color: var(--eb-dunkel); }
#hg-eisstockbahn .hg-eb-day.sel { background: var(--eb-dunkel); border-color: var(--eb-dunkel); color: #fff; }
#hg-eisstockbahn .hg-eb-legend { font-size: .8rem; opacity: .65; margin: .9rem 0 0; }
#hg-eisstockbahn .hg-eb-legend i { display: inline-block; width: .8rem; height: .8rem; margin: 0 .25rem 0 .8rem; vertical-align: -1px;
  border: 1px solid var(--eb-linie); }
#hg-eisstockbahn .hg-eb-legend i:first-child { margin-left: 0; }
#hg-eisstockbahn .hg-eb-legend i.hg-eb-available { background: #fff; }
#hg-eisstockbahn .hg-eb-legend i.hg-eb-limited { background: #fbf3e1; }
#hg-eisstockbahn .hg-eb-legend i.hg-eb-full { background: repeating-linear-gradient(135deg, transparent 0 3px, var(--eb-linie) 3px 4px); }

/* Formular */
#hg-eisstockbahn .hg-eb-form { display: grid; gap: 1.4rem; }
#hg-eisstockbahn .hg-eb-check { display: flex; gap: .6rem; align-items: flex-start; margin-top: .6rem;
  font-size: 18px; font-weight: 400; letter-spacing: 0; line-height: 1.5; cursor: pointer; }
#hg-eisstockbahn .hg-eb-check input { margin-top: .35rem; }
#hg-eisstockbahn .hg-eb-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
#hg-eisstockbahn .hg-eb-sum { margin: 1rem 0 0; font-size: 18px; line-height: 1.6; }
#hg-eisstockbahn .hg-eb-sum strong { font-size: 20px; }
#hg-eisstockbahn .hg-eb-pay { justify-self: start; margin-top: 1rem; font: inherit; font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .14em; padding: 1.05rem 2.4rem; border: 1px solid var(--eb-dunkel);
  border-radius: 2px; background: var(--eb-dunkel); color: #fff; cursor: pointer; transition: background .15s ease, color .15s ease; }
#hg-eisstockbahn .hg-eb-pay:hover { background: transparent; color: var(--eb-dunkel); }
#hg-eisstockbahn .hg-eb-pay:disabled { opacity: .45; cursor: default; }
#hg-eisstockbahn .hg-eb-pay:disabled:hover { background: var(--eb-dunkel); color: #fff; }
#hg-eisstockbahn .hg-eb-muted { margin: .45rem 0 0; font-size: .82rem; opacity: .65; line-height: 1.5; }

/* Meldungen */
#hg-eisstockbahn .hg-eb-msg { margin: 0 0 2.5rem; padding: .9rem 1.1rem; border-left: 3px solid var(--eb-dunkel);
  background: var(--eb-toenung); font-size: 1rem; line-height: 1.55; }
#hg-eisstockbahn .hg-eb-ok { border-left-color: #4f7a3a; }
#hg-eisstockbahn .hg-eb-warn { border-left-color: #b3261e; background: rgba(179, 38, 30, .07); }

/* Enfold färbt Auswahllisten per `#top …`-Regel grau — mit zwei ids gewinnt
   die Linie der Gutscheinseite. */
#top #hg-eisstockbahn select { background: transparent; border: 0; border-bottom: 1px solid var(--eb-linie);
  border-radius: 0; box-shadow: none; color: inherit; height: auto; }
/* Personen schmal, Dauer daneben */
#hg-eisstockbahn .hg-eb-row.hg-eb-pd { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.6rem; }
#hg-eisstockbahn .hg-eb-pd > label { flex: 0 0 140px; }
#hg-eisstockbahn .hg-eb-pd .hg-eb-dauer { margin-top: 0; }
/* Personen (nach der Uhrzeit): schmal; Feldhöhe wie die Auswahlfelder, damit
   die Linie mit der Kante der Knöpfe abschließt */
#hg-eisstockbahn .hg-eb-pers { max-width: 220px; }
#top #hg-eisstockbahn .hg-eb-pers select { height: 3.15rem; padding: .85rem 0; line-height: 1.4; }
/* Enfold legt auch auf Text- und Notizfelder eine graue Fläche (`#top input`) —
   gleiche Linie wie die Gutscheinseite. */
#top #hg-eisstockbahn input:not([type=checkbox]), #top #hg-eisstockbahn textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--eb-linie); border-radius: 0;
  box-shadow: none; color: inherit; margin-bottom: 0; }
#top #hg-eisstockbahn input:not([type=checkbox]):focus, #top #hg-eisstockbahn textarea:focus {
  border-bottom-color: var(--eb-dunkel); }
/* Formular-Raster darf nie breiter als die Spalte werden (Handy: Zusammenfassung
   und Meldung liefen rechts hinaus). */
#hg-eisstockbahn .hg-eb-form { grid-template-columns: minmax(0, 1fr); }
#hg-eisstockbahn .hg-eb-sum, #hg-eisstockbahn .hg-eb-msg { overflow-wrap: anywhere; }
/* Typo wie die Gutscheinseite (gemessen 2026-11-09 auf habsgut.at/gutschein:
   h3 Instrument Serif 50 px, Gewicht 400, keine Versalien, Laufweite -1.5 px;
   Einleitung Inter 20 px / 32 px). Größe und Laufweite setzt das Theme für h3 —
   hier nur, was davon abweichen würde. */
#hg-eisstockbahn .hg-eb-head h3.hg-eb-titel { margin: 0 0 .9rem; font-weight: 400; text-transform: none;
  color: inherit; }
#hg-eisstockbahn .hg-eb-head p { font-size: 20px; line-height: 32px; opacity: 1; letter-spacing: -0.2px; }
#hg-eisstockbahn .hg-eb-head p.hg-eb-cta { font-weight: 600; }
/* Kalender wieder mit großen, quadratischen Feldern (Vorgabe Markus 2026-11-09) */
#hg-eisstockbahn .hg-eb-day { height: auto; aspect-ratio: 1; font-size: 1.05rem; }
@media (max-width: 520px) { #hg-eisstockbahn .hg-eb-head p { font-size: 18px; line-height: 28px; } }
/* Enfold setzt Text in <label> klein (`#top label span`) — wie auf der
   Gutscheinseite: Größe vom Haken-Satz erben. */
#top #hg-eisstockbahn .hg-eb-check, #top #hg-eisstockbahn .hg-eb-check span,
#top #hg-eisstockbahn .hg-eb-check a { font-size: 18px; font-weight: 400; line-height: 1.5; letter-spacing: 0; }
