/* Buchungsstrecke Friesensteern: links Schritte, rechts mitlaufende Preisübersicht */
:root { --flaeche: #fff; --belegt: #8791a3; --wahl: var(--blau); --spanne: #d5deec; --warn: #9a2f1d; }
[hidden] { display: none !important; }
.bk { background: var(--sand); color: var(--ink); min-height: 100vh; }
.bk button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
.bk-head { display: flex; align-items: center; justify-content: space-between; min-height: 72px; background: var(--blau); color: #fff; padding: 8px max(18px, env(safe-area-inset-right, 0px)) 8px max(18px, env(safe-area-inset-left, 0px)); }
.bk-head img { height: 52px; width: auto; }
.bk-head span { font-size: .95rem; }
.bk-demo { background: var(--taupe); color: #fff; font-size: .92rem; margin: 0; padding: 8px 18px; }
.bk-main { max-width: 1180px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) max(16px, env(safe-area-inset-right, 0px)) clamp(32px, 5vw, 64px) max(16px, env(safe-area-inset-left, 0px)); }
.bk h1 { font: 400 clamp(2.2rem, 4.4vw, 3.4rem)/1.15 var(--f-serif); color: var(--ink); margin: 0; text-wrap: balance; }
.bk-intro { max-width: 58ch; margin: 12px 0 32px; color: var(--text); }
.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 28px; align-items: start; }
.bk-spalte { display: grid; gap: 20px; min-width: 0; }
.bk-box { background: var(--flaeche); border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); min-width: 0; }
.bk h2 { font: 400 1.5rem/1.3 var(--f-serif); color: var(--ink); margin: 0 0 16px; }
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bk .cal-nav button { width: 40px; height: 40px; font-size: 1.3rem; border: 1px solid var(--line); color: var(--ink); }
.bk .cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-monate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.cal-titel { font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.cal-tage { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; font-variant-numeric: tabular-nums; }
.cal-wt { font-size: .8rem; color: var(--muted); text-align: center; padding-bottom: 4px; }
.bk .cal-tag { aspect-ratio: 1; font-size: .95rem; line-height: 1; color: var(--ink); background: var(--sand); font-weight: 400; min-width: 0; }
.bk .cal-tag:hover:not(:disabled) { outline: 1px solid var(--wahl); }
.bk .cal-tag:disabled { cursor: default; }
.bk .cal-tag.aus { background: transparent; color: #b3b0a8; }
.bk .cal-tag.belegt { background: var(--belegt); color: #fff; text-decoration: line-through; }
.bk .cal-tag.spanne { background: var(--spanne); }
.bk .cal-tag.wahl { background: var(--wahl); color: #fff; font-weight: 500; }
.cal-legende { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--muted); margin-top: 14px; }
.cal-legende i { display: inline-block; width: 13px; height: 13px; margin-right: 6px; vertical-align: -1px; }
.bk-hinweis { margin: 14px 0 0; font-size: .95rem; min-height: 1.5em; font-weight: 400; color: var(--muted); }
.bk-hinweis.fehler { color: var(--warn); }
.felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feld { display: grid; gap: 4px; min-width: 0; }
.feld.breit { grid-column: 1 / -1; }
.feld label { font-size: .9rem; font-weight: 400; color: var(--muted); }
.feld input, .feld select, .feld textarea { font: 400 1rem/1.4 var(--f-sans); color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 10px 12px; width: 100%; border-radius: 0; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--wahl); outline-offset: -1px; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: .97rem; align-items: start; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--wahl); }
.checks { display: grid; gap: 12px; }
.bk-sum { position: sticky; top: 16px; display: grid; gap: 14px; }
.bk-sum p { margin: 0; }
.sum-daten { font-weight: 400; }
.sum-tab { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sum-tab td { padding: 6px 0; vertical-align: top; }
.sum-tab td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.sum-tab tr.gesamt td { border-top: 1px solid var(--ink); font-weight: 500; }
.sum-tab tr.anz td { font-weight: 500; font-size: 1.12rem; color: var(--blau); }
.sum-klein { font-size: .9rem; line-height: 1.5; color: var(--muted); }
.bk .bk-los { display: block; width: 100%; min-height: 50px; text-align: center; padding: 12px 16px; background: var(--wahl); color: #fff; font-weight: 500; font-size: 1.02rem; border-radius: 999px; }
.bk .bk-los:hover:not(:disabled) { background: var(--ink); }
.bk .bk-los:disabled { background: #b3b0a8; cursor: default; }
.bk-ok { background: var(--flaeche); border: 1px solid var(--line); padding: 20px; }
@media (max-width: 900px) { .bk-grid { grid-template-columns: minmax(0, 1fr); } .bk-sum { position: static; } }
@media (max-width: 620px) { .cal-monate, .felder { grid-template-columns: minmax(0, 1fr); } }
