/* Buchungsformular (reservierung.php) - identisch auf allen drei Standorten */
.bk { text-align: left; margin-top: 1.5rem; --bk-accent: var(--btn-primary, #7A5C61); --bk-soft: #f6f1ee; --bk-line: #ddd3d0; --bk-err: #b3261e; --bk-ok: #2e7d4f; }
.bk * { box-sizing: border-box; }
.bk-step { background: #fff; border: 1px solid var(--bk-line); border-radius: 14px; padding: 1.1rem 1.2rem 1.2rem; margin: 0 0 1rem; transition: opacity .2s ease; }
.bk-step h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; font-size: 1.15rem; line-height: 1.25; }
.bk-num { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--bk-accent); color: #fff; font-size: 1rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.bk-step.bk-done .bk-num { background: var(--bk-ok); }
.bk-step.bk-locked { opacity: .45; pointer-events: none; }
.bk-lockhint { display: none; margin: 0; font-size: .9rem; color: #777; }
.bk-step.bk-locked .bk-lockhint { display: block; }
.bk-step.bk-locked .bk-body { display: none; }

/* Personen */
.bk-stepper { display: inline-flex; align-items: center; border: 1px solid var(--bk-accent); border-radius: 12px; overflow: hidden; background: #fff; }
.bk-stepper button { width: 3.2rem; height: 3.2rem; border: 0; background: var(--bk-soft); color: var(--bk-accent); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.bk-stepper button:active { background: var(--bk-line); }
.bk-stepper input { width: 4rem; height: 3.2rem; border: 0; text-align: center; font-size: 1.4rem; font-weight: 700; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.bk-stepper input::-webkit-outer-spin-button, .bk-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bk-unit { margin-left: .8rem; font-size: 1.05rem; }

/* Kalender (flatpickr inline) */
.bk-calwrap { display: flex; justify-content: center; }
.bk-calwrap .flatpickr-calendar { box-shadow: none; border: 1px solid var(--bk-line); border-radius: 12px; width: 100%; max-width: 360px; }
.bk-calwrap .flatpickr-days, .bk-calwrap .flatpickr-weekdaycontainer, .bk-calwrap .flatpickr-innerContainer, .bk-calwrap .flatpickr-rContainer, .bk-calwrap .dayContainer { width: 100%; min-width: 0; max-width: none; }
.bk-calwrap .flatpickr-day { max-width: 14.2857%; flex-basis: 14.2857%; height: 2.6rem; line-height: 2.6rem; border-radius: 8px; font-weight: 600; }
.bk-calwrap .flatpickr-day.flatpickr-disabled, .bk-calwrap .flatpickr-day.flatpickr-disabled:hover { color: #c7bebb; font-weight: 400; background: transparent; }
.bk-calwrap .flatpickr-day:not(.flatpickr-disabled):not(.selected):not(.prevMonthDay):not(.nextMonthDay) { background: #e9f4ec; border-color: #cfe6d6; color: #1f5a37; }
.bk-calwrap .flatpickr-day.selected, .bk-calwrap .flatpickr-day.selected:hover { background: var(--bk-accent); border-color: var(--bk-accent); color: #fff; }
.bk-legend { margin: .6rem 0 0; font-size: .85rem; color: #666; text-align: center; }
.bk-legend i { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; background: #e9f4ec; border: 1px solid #cfe6d6; vertical-align: -1px; margin-right: .25rem; }

/* Uhrzeiten */
.bk-times { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .6rem; }
.bk-times li { position: relative; }
.bk-times input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.bk-times label { display: block; text-align: center; padding: .85rem .5rem; border: 1px solid var(--bk-accent); border-radius: 10px; background: #fff; font-size: 1.05rem; font-weight: 600; color: var(--bk-accent); }
.bk-times input:checked + label { background: var(--bk-accent); color: #fff; }
.bk-times input:focus-visible + label { outline: 3px solid #1a73e8; outline-offset: 2px; }

/* Daten */
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.bk-grid .bk-full { grid-column: 1 / -1; }
.bk-field label { display: block; margin: 0 0 .25rem; font-weight: 600; font-size: .95rem; }
.bk-field input, .bk-field textarea { display: block; width: 100%; height: auto; padding: .75rem .85rem; font-size: 1.05rem; font-family: inherit; border: 1px solid #9c8f8c; border-radius: 10px; background: #fff; color: inherit; }
.bk-field textarea { min-height: 5.5rem; resize: vertical; }
.bk-field input:focus, .bk-field textarea:focus { outline: 3px solid rgba(26,115,232,.35); border-color: #1a73e8; }
.bk-field.bk-bad input { border-color: var(--bk-err); background: #fff7f6; }
.bk-fieldmsg { display: none; margin: .3rem 0 0; font-size: .88rem; color: var(--bk-err); }
.bk-field.bk-bad .bk-fieldmsg { display: block; }
.bk-hint { margin: .3rem 0 0; font-size: .85rem; color: #777; }
.bk-mailsug { display: none; margin: .4rem 0 0; padding: .55rem .7rem; font-size: .92rem; background: #fff8e1; border: 1px solid #f0d98a; border-radius: 8px; }
.bk-mailsug button { margin: .25rem .4rem 0 0; padding: .3rem .7rem; border-radius: 8px; border: 1px solid var(--bk-accent); background: #fff; color: var(--bk-accent); font-size: .9rem; font-weight: 600; cursor: pointer; }
.bk-mailsug button.bk-primary { background: var(--bk-accent); color: #fff; }

/* Meldungen, Zusammenfassung, Button */
.bk-msg { margin: .7rem 0 0; font-size: .95rem; color: #555; }
.bk-msg.bk-warn { color: var(--bk-err); font-weight: 600; }
.bk-summary { background: var(--bk-soft); border: 1px dashed var(--bk-accent); border-radius: 12px; padding: .9rem 1.1rem; margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.5; }
.bk-summary small { display: block; color: #666; }
.bk-legal { font-size: .88rem; line-height: 1.45; color: #555; margin: 0 0 1rem; }
.bk-error { display: none; margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 10px; background: #fdecea; border: 1px solid #f3b8b3; color: var(--bk-err); font-weight: 600; }
.bk .reservationbtn { width: 100%; height: 3.4rem; font-size: 1.2rem; font-weight: 700; border-radius: 12px; cursor: pointer; }
.bk .reservationbtn:disabled { opacity: .6; cursor: wait; }

@media (max-width: 560px) {
    .bk-step { padding: 1rem .9rem 1.1rem; border-radius: 12px; }
    .bk-grid { grid-template-columns: 1fr; }
    .bk-times { grid-template-columns: 1fr 1fr; }
}
