/* Booking page styles (buchung.html + buchung-en.html) */
:root {
    --booking-ink: #173d39;
    --booking-peach: #f5c9ad;
    --booking-line: rgba(19, 78, 74, 0.14);
}

body { background: #fbf5eb; }
button { font: inherit; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.preview-note {
    background: var(--booking-ink);
    color: white;
    padding: 0.65rem 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.booking-hero {
    padding: clamp(2rem, 4vw, 3.25rem) 0 1.5rem;
    text-align: center;
}

.booking-hero .container { max-width: 820px; }
.booking-hero .section-label { margin-bottom: 1.15rem; }
.booking-hero .section-label::before { display: none; }
.booking-hero h1 {
    max-width: 760px;
    margin: 0 auto;
    color: var(--booking-ink);
    font-size: clamp(3rem, 7vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
}
.booking-hero .hero-text {
    max-width: 660px;
    margin: 1.75rem auto 0;
    color: var(--stone-600);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.75;
}

.booking-paths { padding: 2.25rem 0 clamp(4.5rem, 9vw, 7rem); }
.booking-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.booking-choice {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.4rem, 2.5vw, 1.9rem);
    overflow: hidden;
    border: 1px solid var(--booking-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--stone-700);
    text-align: left;
    text-decoration: none;
    box-shadow: 0 18px 55px rgba(38, 58, 55, 0.06);
    cursor: pointer;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.booking-choice::before {
    content: '';
    position: absolute;
    top: -4rem;
    right: -4rem;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: rgba(45, 212, 191, 0.1);
}

.booking-choice:hover,
.booking-choice:focus-visible,
.booking-choice[aria-expanded="true"] {
    transform: translateY(-5px);
    border-color: rgba(15, 118, 110, 0.5);
    background: white;
    box-shadow: 0 24px 65px rgba(19, 78, 74, 0.13);
}

.booking-choice[aria-expanded="true"] {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.13), 0 24px 65px rgba(19, 78, 74, 0.13);
}

.booking-choice--letter {
    background: var(--booking-ink);
    color: rgba(255, 255, 255, 0.8);
}
.booking-choice--letter::before { background: rgba(245, 201, 173, 0.12); }
.booking-choice--letter:hover,
.booking-choice--letter:focus-visible { background: #0f5049; }

.choice-index {
    display: inline-flex;
    width: 2.65rem;
    height: 2.65rem;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    border: 1px solid rgba(15, 118, 110, 0.24);
    border-radius: 50%;
    color: var(--teal-800);
    font-size: 0.82rem;
    font-weight: 600;
}
.booking-choice--letter .choice-index {
    border-color: rgba(255, 255, 255, 0.28);
    color: white;
}

.choice-kicker {
    margin-top: 1.75rem;
    color: var(--teal-700);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.booking-choice--letter .choice-kicker { color: var(--booking-peach); }
.booking-choice h2 {
    margin: 0.35rem 0 0.6rem;
    color: var(--booking-ink);
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.05;
}
.booking-choice--letter h2 { color: white; }
.booking-choice p { line-height: 1.6; }
.booking-choice--letter p { font-size: 0.94rem; }
.choice-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.5rem;
    color: var(--stone-500);
    font-size: 0.84rem;
}
.booking-choice--letter .choice-meta { color: rgba(255, 255, 255, 0.7); }
.choice-price {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
    line-height: 1.6;
}
.choice-action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.6rem;
    color: var(--teal-800);
    font-weight: 600;
}
.booking-choice--letter .choice-action { color: var(--booking-peach); }
.choice-action::after { content: '\2192'; transition: transform var(--transition-base); }
.booking-choice:hover .choice-action::after,
.booking-choice:focus-visible .choice-action::after { transform: translateX(3px); }

.booking-flow {
    display: none;
    padding: 0 0 clamp(5rem, 10vw, 8rem);
}
.booking-flow.is-visible { display: block; }
.booking-flow-card {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 3.5rem);
    border: 1px solid var(--booking-line);
    border-radius: 30px;
    background: white;
    box-shadow: var(--shadow-soft);
}
.booking-flow h2 { color: var(--booking-ink); }
.booking-flow .flow-intro { margin-top: 0.5rem; color: var(--stone-600); }
.person-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 2rem;
}
.person-choice {
    min-height: 96px;
    padding: 0.8rem 0.45rem;
    border: 1px solid var(--stone-200);
    border-radius: 18px;
    background: var(--warm-50);
    color: var(--stone-700);
    cursor: pointer;
    transition: border-color var(--transition-base), background var(--transition-base), color var(--transition-base), transform var(--transition-base);
}
.person-choice:hover,
.person-choice:focus-visible,
.person-choice[aria-pressed="true"] {
    border-color: var(--teal-700);
    background: var(--teal-50);
    color: var(--teal-900);
    transform: translateY(-2px);
}
.person-label-main {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.15;
}
.person-price { display: block; margin-top: 0.45rem; color: var(--stone-500); font-size: 0.82rem; font-weight: 600; }
.person-choice[aria-pressed="true"] .person-price { color: var(--teal-800); }
.slot-preview {
    display: none;
    margin-top: 2.25rem;
    padding: 1.4rem;
    border-radius: 18px;
    background: var(--teal-50);
}
.slot-preview.is-visible { display: block; }
.slot-preview strong { display: block; color: var(--teal-900); }
.slot-preview p { margin-top: 0.35rem; color: var(--stone-600); font-size: 0.94rem; }
.flow-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--stone-200);
    color: var(--stone-500);
    font-size: 0.86rem;
}

.booking-details { padding: clamp(4rem, 9vw, 6.5rem) 0; background: var(--booking-ink); color: rgba(255, 255, 255, 0.78); }
.booking-details .section-label { color: var(--booking-peach); }
.booking-details .section-label::before { background: var(--booking-peach); }
.details-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 7vw, 6rem); }
.details-layout h2 { color: white; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
.details-layout > div > p { margin-top: 1rem; }
.price-list { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.price-row strong { color: white; font-weight: 500; }
.price-row span { text-align: right; }
.price-row small { display: block; color: rgba(255, 255, 255, 0.58); }
.details-fine-print { margin-top: 1.25rem; font-size: 0.84rem; }

@media (max-width: 860px) {
    .booking-grid { grid-template-columns: 1fr; }
    .booking-choice { min-height: 0; }
    .details-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .preview-note { padding-inline: 1rem; font-size: 0.7rem; }
    .booking-hero { padding-top: 3.5rem; }
    .booking-hero h1 { font-size: clamp(3rem, 15vw, 4.25rem); }
    .booking-choice { min-height: 0; border-radius: 22px; }
    .choice-kicker { margin-top: 1.5rem; }
    .person-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .person-grid .person-choice:nth-child(4),
    .person-grid .person-choice:nth-child(5) { grid-column: span 1; }
    .price-row { grid-template-columns: 1fr; }
    .price-row span { text-align: left; }
}

[hidden] { display: none !important; }
.booking-choice[type="button"] { font: inherit; }
.selection-pill {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: var(--teal-50);
    color: var(--teal-800);
    font-size: 0.82rem;
    font-weight: 600;
}
.flow-panel h2 {
    margin-bottom: 0;
    color: var(--booking-ink);
    font-size: clamp(2rem, 4.5vw, 3rem);
}
.flow-panel { padding: 0; }
.person-result {
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    background: var(--teal-50);
    color: var(--teal-900);
    font-size: 0.92rem;
}
.person-choice[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--teal-700); }
.flow-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 2.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--stone-200);
}
.flow-actions .btn { min-height: 52px; }
.flow-back {
    border: 0;
    background: transparent;
    color: var(--teal-800);
    font-weight: 600;
    cursor: pointer;
}
.flow-back::before { content: none; }
.flow-next:disabled {
    background: var(--stone-300);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}
.calendar-shell {
    min-width: 0;
    margin-top: 2rem;
    padding: clamp(1rem, 3vw, 1.6rem);
    border: 1px solid var(--booking-line);
    border-radius: 22px;
    background: #fffdf9;
}
.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.calendar-toolbar strong { color: var(--booking-ink); font-size: 1.05rem; }
.calendar-status { margin: 0 0 1rem; color: var(--stone-500); font-size: 0.86rem; }
.calendar-status.is-error { color: #9d3f36; }
.calendar-nav { display: flex; gap: 0.45rem; }
.calendar-nav button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--stone-200);
    border-radius: 50%;
    background: white;
    color: var(--teal-800);
    cursor: pointer;
}
.calendar-nav button:disabled { color: var(--stone-300); cursor: not-allowed; }
.date-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}
.date-choice {
    min-width: 0;
    padding: 0.9rem 0.7rem;
    border: 1px solid var(--stone-200);
    border-radius: 16px;
    background: white;
    color: var(--stone-700);
    text-align: left;
    cursor: pointer;
}
.date-choice:hover,
.date-choice:focus-visible,
.date-choice[aria-pressed="true"] {
    border-color: var(--teal-700);
    background: var(--teal-50);
    color: var(--teal-900);
}
.date-choice[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--teal-700); }
.date-weekday {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.date-number {
    display: block;
    margin-top: 0.15rem;
    font-family: var(--font-serif);
    font-size: 1.65rem;
    line-height: 1.1;
}
.date-meta { display: block; margin-top: 0.3rem; color: var(--stone-500); font-size: 0.74rem; }
.time-area { margin-top: 1.6rem; padding-top: 1.35rem; border-top: 1px solid var(--stone-200); }
.time-area h3 {
    color: var(--booking-ink);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
}
.time-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.8rem;
}
.time-choice {
    min-height: 48px;
    border: 1px solid var(--stone-200);
    border-radius: 12px;
    background: white;
    color: var(--stone-700);
    font-weight: 600;
    cursor: pointer;
}
.time-choice:hover,
.time-choice:focus-visible,
.time-choice[aria-pressed="true"] {
    border-color: var(--teal-700);
    background: var(--teal-700);
    color: white;
}
.appointment-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1.25rem;
}
.appointment-preview div { padding: 0.9rem; border-radius: 14px; background: var(--teal-50); }
.appointment-preview span {
    display: block;
    color: var(--stone-500);
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.appointment-preview strong { display: block; margin-top: 0.15rem; color: var(--teal-900); font-size: 0.92rem; }
.booking-form { margin-top: 2rem; }
.form-section { min-width: 0; border: 0; }
.form-section + .form-section { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--stone-200); }
.form-section legend {
    width: 100%;
    color: var(--booking-ink);
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 600;
}
.form-section-copy { margin-top: 0.25rem; color: var(--stone-500); font-size: 0.9rem; }
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}
.form-grid > * { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 0.4rem; color: var(--stone-700); font-size: 0.88rem; font-weight: 600; }
.field input,
.field textarea {
    width: 100%;
    min-width: 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--stone-300);
    border-radius: 12px;
    background: white;
    color: var(--stone-800);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1); }
.required-mark { color: #9d3f36; }
.form-error { margin-top: 0.45rem; color: #9d3f36; font-size: 0.84rem; }
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.radio-card {
    position: relative;
    display: block;
    min-width: 0;
    padding: 1rem 1rem 1rem 2.8rem;
    border: 1px solid var(--stone-200);
    border-radius: 16px;
    cursor: pointer;
}
.radio-card:has(input:checked) {
    border-color: var(--teal-700);
    background: var(--teal-50);
    box-shadow: inset 0 0 0 1px var(--teal-700);
}
.radio-card input { position: absolute; top: 1.2rem; left: 1rem; accent-color: var(--teal-700); }
.radio-card strong { display: block; color: var(--booking-ink); }
.radio-card small { display: block; margin-top: 0.2rem; color: var(--stone-500); line-height: 1.45; }
.online-payment-note { margin-top: 1.25rem; padding: 1rem; border-radius: 16px; background: var(--teal-50); color: var(--teal-900); }
.checkbox-list { display: grid; gap: 0.85rem; margin-top: 1.4rem; }
.checkbox-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    color: var(--stone-600);
    font-size: 0.9rem;
    line-height: 1.55;
}
.checkbox-row input { width: 1.05rem; height: 1.05rem; margin-top: 0.2rem; accent-color: var(--teal-700); }
.checkbox-row a { color: var(--teal-700); text-underline-offset: 2px; }
.summary-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
    gap: 1rem;
    margin-top: 2rem;
}
.summary-card { padding: 1.35rem; border: 1px solid var(--booking-line); border-radius: 20px; background: #fffdf9; }
.summary-card h3 { color: var(--booking-ink); font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }
.summary-list { margin-top: 1rem; }
.summary-list div {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1rem;
    padding: 0.72rem 0;
    border-top: 1px solid var(--stone-200);
}
.summary-list dt { color: var(--stone-500); font-size: 0.84rem; }
.summary-list dd { color: var(--stone-800); font-weight: 500; text-align: right; }
.summary-price {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    background: var(--booking-ink);
    color: rgba(255, 255, 255, 0.78);
}
.summary-price h3 { color: white; }
.summary-price strong { display: block; margin-top: 1.4rem; color: white; font-family: var(--font-serif); font-size: 2.6rem; font-weight: 500; line-height: 1; }
.summary-price small { display: block; margin-top: 0.4rem; }
.summary-contact { margin-top: 1rem; color: var(--stone-600); line-height: 1.7; overflow-wrap: anywhere; }
.preview-stop {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(15, 118, 110, 0.25);
    border-radius: 14px;
    background: var(--teal-50);
    color: var(--teal-900);
    font-weight: 500;
}
.preview-stop.is-error { border-color: rgba(157, 63, 54, 0.35); background: #fff1ef; color: #8b342d; }
.staging-checklist { display: grid; gap: 0.45rem; margin-top: 0.85rem; padding-left: 1.2rem; font-weight: 400; }
.booking-faq { padding: clamp(4rem, 9vw, 7rem) 0; background: #fffdf9; }
.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2rem, 7vw, 6rem);
}
.faq-layout h2 { color: var(--booking-ink); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
.booking-faq .faq-list { min-width: 0; border-top: 1px solid var(--stone-200); }
.booking-faq .faq-list details { min-width: 0; overflow: visible; border-bottom: 1px solid var(--stone-200); }
.booking-faq .faq-list summary {
    position: relative;
    display: block;
    min-width: 0;
    padding: 1.35rem 3rem 1.35rem 0;
    overflow: visible;
    color: var(--booking-ink);
    font-weight: 600;
    line-height: 1.45;
    list-style: none;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.booking-faq .faq-list summary::-webkit-details-marker { display: none; }
.booking-faq .faq-list summary::after { content: '+'; position: absolute; top: 50%; right: 0; color: var(--teal-700); font-size: 1.4rem; font-weight: 400; transform: translateY(-50%); }
.booking-faq .faq-list details[open] summary::after { content: '\2212'; }
.booking-faq .faq-answer {
    min-width: 0;
    max-height: none;
    padding: 0 2.5rem 1.35rem 0;
    color: var(--stone-600);
    overflow: visible;
    overflow-wrap: anywhere;
    transition: none;
}
@media (max-width: 860px) {
    .faq-layout, .summary-shell { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .date-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .form-grid, .payment-grid { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .flow-actions { align-items: stretch; flex-direction: column-reverse; }
    .flow-actions .btn, .flow-back { width: 100%; min-height: 50px; justify-content: center; }
    .summary-list div { grid-template-columns: 1fr; gap: 0.2rem; }
    .summary-list dd { text-align: left; }
}
@media (max-width: 420px) {
    .person-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .time-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .calendar-toolbar { align-items: flex-start; }
}

/* Added 2026-09-02: language switch, notices, confirmation panel */
.booking-hero .text-language-switch { margin: 0 auto 1rem; max-width: none; text-align: center; }
.booking-hero .text-language-switch a { color: var(--teal-700); }
.booking-notice {
    max-width: 820px;
    margin: 0 auto 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(157, 63, 54, 0.3);
    border-radius: 14px;
    background: #fff1ef;
    color: #8b342d;
    font-weight: 500;
    text-align: center;
}
.booking-choice p { flex-grow: 0; }
.booking-choice .choice-meta { margin-top: auto; padding-top: 1rem; }
.booking-choice .choice-action { margin-top: 1.1rem; }
.confirmed-details {
    display: grid;
    gap: 0.35rem;
    margin-top: 1.25rem;
    padding: 1.2rem 1.35rem;
    border-radius: 18px;
    background: var(--teal-50);
    color: var(--teal-900);
    font-weight: 500;
}
.confirmed-details div:first-child { font-family: var(--font-serif); font-size: 1.35rem; }
.confirmed-place { margin-top: 1.25rem; color: var(--stone-600); }
.confirmed-actions { margin-top: 2rem; }

/* Added 2026-09-02: manage page (withdrawal, cancellation, rescheduling) */
.manage-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 2rem auto 0; max-width: 680px; }
.manage-cta .btn { flex: 1 1 300px; justify-content: center; text-align: center; min-height: 52px; }
.booking-hero .hero-text--wide { max-width: 780px; }
.withdraw-button-row { margin: 1rem 0 1.75rem; }
.withdraw-button-row .btn { min-width: 260px; justify-content: center; }
.policy-list { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
.policy-list p { padding: 0.85rem 1rem; border-radius: 12px; background: #fffdf9; border: 1px solid var(--booking-line); color: var(--stone-700); font-size: 0.95rem; }
.manage-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.manage-actions .btn { min-height: 48px; }
.legal-section { padding: clamp(3rem, 7vw, 5rem) 0; background: #fffdf9; }
.legal-section .page-prose { padding-top: 0; padding-bottom: 0; }
.model-form { padding: 1.25rem 1.5rem; border: 1px dashed var(--stone-300); border-radius: 16px; background: white; }
.model-form p { margin: 0.4rem 0; }
#panel-confirm .field input[readonly] { background: var(--warm-50); color: var(--stone-600); }

/* Compact cards, headings top-aligned across all three cards */
.booking-choice .choice-index { margin-bottom: 1.25rem; }
.booking-choice .choice-kicker { margin-top: 0; }

/* ============================================
   ux-sales-20260925 · L2a Buchungsstrecke
   Also loaded by widerruf(-en): the field and calendar-help rules apply there too.
   ============================================ */

/* L2-18 · funnel-18a: reschedule/cancel link under the language hint. */
.booking-hero .booking-manage-link { max-width: none; margin: -0.4rem auto 1.1rem; font-size: 0.9rem; text-align: center; }
.booking-hero .booking-manage-link a { color: var(--teal-700); font-weight: 600; text-underline-offset: 3px; }

/* L2-19 · benchmark-06+buchung-08a: Elisabeth with her titles in the hero.
   The photo is a 350x475 portrait, cropped to a round head-and-shoulders avatar. */
.booking-person {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    max-width: 680px;
    margin: 1.5rem auto 0;
    text-align: left;
}
.booking-person img {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 22%;
    background: var(--warm-50);
    box-shadow: 0 0 0 3px #fff, 0 8px 22px rgba(19, 78, 74, 0.12);
}
.booking-person p { min-width: 0; max-width: none; margin: 0; color: var(--stone-600); font-size: 0.86rem; line-height: 1.45; }
.booking-person strong { display: block; color: var(--booking-ink); font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.booking-person span { display: block; margin-top: 0.15rem; }

/* L2-10 · benchmark-23+buchung-10b: next free date on the two path cards (no counts).
   The weekend line on the online card only shows when a weekend time is actually free. */
.choice-next,
.choice-weekend { display: block; margin-top: 0.5rem; color: var(--teal-800); font-size: 0.84rem; font-weight: 600; }
.choice-weekend { margin-top: 0.2rem; }
.choice-next[hidden],
.choice-weekend[hidden] { display: none; }

/* L2-9 · benchmark-11+buchung-10c: step indicator above the selection pill.
   The "Schritt n von 4" prefix is read by screen readers and shown only on narrow screens. */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0 0 1.6rem;
    padding: 0;
    list-style: none;
}
.flow-steps li {
    min-width: 0;
    padding-top: 0.55rem;
    border-top: 3px solid var(--stone-200);
    color: var(--stone-500);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.flow-steps li.is-done { border-top-color: rgba(15, 118, 110, 0.4); color: var(--teal-800); }
.flow-steps li[aria-current="step"] { border-top-color: var(--teal-700); color: var(--teal-900); }
.flow-step-count {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* setStep() scrolls the flow to its top; keep the step list clear of the fixed header. */
#booking-flow { scroll-margin-top: 5.5rem; }

/* L2-1 · buchung-02+funnel-07+benchmark-05: no dead end in the calendar. */
.calendar-status a,
.calendar-help a { color: var(--teal-700); font-weight: 600; text-underline-offset: 2px; }
.calendar-retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: -0.25rem 0 1rem;
    padding: 0 1.15rem;
    border: 1px solid var(--teal-700);
    border-radius: 999px;
    background: #fff;
    color: var(--teal-800);
    font-weight: 600;
    cursor: pointer;
}
.calendar-retry:hover,
.calendar-retry:focus-visible { background: var(--teal-50); }
.calendar-help { margin-top: 1rem; color: var(--stone-600); font-size: 0.92rem; line-height: 1.6; }
.calendar-shell .calendar-help { margin: 0 0 1rem; }

/* L2-2 · buchung-03+funnel-02: times and "Weiter" scroll into view (booking.js revealIfNeeded). */
#time-area { scroll-margin-top: 5.5rem; }

/* L2-6 · buchung-07+benchmark-24: 16 px fields, so iOS does not zoom; placeholders in the page font. */
.field input,
.field textarea { font: inherit; font-size: 1rem; line-height: 1.45; }
.field input::placeholder,
.field textarea::placeholder { font-family: inherit; }

/* L2-12 · buchung-14+funnel-19+benchmark-19: confirmation with a next step. */
/* Scoped to #booking-flow: /widerruf(-en) loads this file too and keeps its look. */
#booking-flow .flow-panel h2[tabindex="-1"]:focus { outline: none; }
#panel-confirmed .confirmed-actions { display: grid; gap: 1rem; }
.confirmed-compass {
    padding: 1.35rem 1.4rem;
    border: 1px solid var(--booking-line);
    border-radius: 20px;
    background: #fffdf9;
}
.confirmed-compass p { max-width: none; }
.confirmed-compass-title { color: var(--booking-ink); font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.confirmed-compass-meta { margin-top: 0.35rem; color: var(--stone-500); font-size: 0.9rem; }
.confirmed-compass .btn { margin-top: 1rem; }
.confirmed-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; max-width: none; }
.confirmed-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal-700); font-weight: 600; text-underline-offset: 3px; }

/* L2-13 · buchung-15: neutral notice after a cancelled Stripe payment (was error red). */
.booking-notice--info { border-color: rgba(15, 118, 110, 0.28); background: var(--teal-50); color: var(--teal-900); }
.booking-flow-card > .booking-notice { max-width: none; margin: 0 0 1.4rem; text-align: left; }

/* L2-11 · buchung-11: pills now carry date and time; long ones wrap cleanly. */
#booking-flow .selection-pill { max-width: 100%; border-radius: 16px; line-height: 1.35; }

@media (max-width: 860px) {
    /* L2-11: the price card no longer stretches to 210 px on mobile; price and VAT inline. */
    .summary-price { min-height: 0; }
    .summary-price > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; }
    .summary-price h3 { flex-basis: 100%; }
    .summary-price strong { margin-top: 0.5rem; font-size: 2.2rem; }
    .summary-price small { margin-top: 0; }
}

@media (max-width: 680px) {
    /* L2-2: appointment preview in two columns, the date across both. */
    .appointment-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
    .appointment-preview > div { padding: 0.7rem 0.8rem; }
    .appointment-preview > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    /* L2-15 · buchung-24+funnel-15: compact entry, card 01 and the head of card 02 in the first screen.
       Entry spacing stays compact; booking and management share one mobile title scale. */
    .booking-hero--entry { padding-top: 1.5rem; padding-bottom: 1rem; }
    .booking-hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
    .booking-hero--entry .text-language-switch { margin-bottom: 0.4rem; font-size: 0.82rem; }
    .booking-hero--entry .booking-manage-link { margin: 0 auto 0.85rem; font-size: 0.82rem; }
    .booking-hero--entry .section-label { margin-bottom: 0.7rem; }
    .booking-hero--entry .hero-text { margin-top: 0.9rem; line-height: 1.6; }
    .booking-person { margin-top: 1rem; }
    .booking-paths { padding-top: 1rem; }
    .booking-grid { gap: 0.75rem; }
    .booking-choice { padding: 1.2rem; }
    .booking-choice .choice-index { display: none; }
    .booking-choice .choice-kicker { margin-top: 0; }
    .booking-choice .choice-meta { padding-top: 0.75rem; }
    .booking-choice .choice-action { margin-top: 0.85rem; }
}

@media (max-width: 479px) {
    /* L2-9: one line "Schritt 2 von 4 · Termin" instead of four labels. */
    .flow-steps { display: block; margin-bottom: 0.9rem; }
    .flow-steps li { display: none; padding-top: 0; border-top: 0; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
    .flow-steps li[aria-current="step"] { display: block; }
    .flow-step-count { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
}
