/* =========================
   BASIS
========================= */

.booking-page {
    padding: 0 0 3rem;
}

.booking-hero {
    padding: 1.5rem 0 1.1rem;
}

.booking-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.booking-eyebrow {
    margin: 0;
    font-size: 0.95rem;
    color: #8d6f62;
}

.booking-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5.2vw, 4.8rem);
    line-height: 0.98;
    color: #6a4738;
}

.booking-lead {
    margin: 0;
    max-width: 900px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #7a6156;
}

.booking-section {
    padding: 0 0 2.2rem;
}

/* =========================
   STEPS
========================= */

.booking-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.booking-step {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 58px;
    padding: 0.75rem 0.9rem;
    border-radius: 1rem;
    border: 1px solid rgba(170, 140, 124, 0.14);
    background: rgba(255, 255, 255, 0.72);
    color: #8a6f63;
}

.booking-step.is-current {
    border-color: rgba(166, 74, 86, 0.28);
    background: #fff8f6;
    color: #6a4738;
}

.booking-step.is-done {
    border-color: rgba(111, 161, 122, 0.24);
    background: #eef7f0;
    color: #45624c;
}

.booking-step__number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0e8e3;
    color: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    flex: 0 0 28px;
}

.booking-step.is-current .booking-step__number {
    background: #a64a56;
    color: #fff;
}

.booking-step.is-done .booking-step__number {
    background: #6fa17a;
    color: #fff;
}

.booking-step__label {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
}

/* =========================
   LAYOUT
========================= */

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1.25fr);
    gap: 1rem;
    align-items: start;
}

.booking-layout--single {
    grid-template-columns: minmax(0, 1fr);
}

/* =========================
   CARDS
========================= */

.booking-calendar-card,
.booking-slots-card,
.booking-step-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(170, 140, 124, 0.14);
    border-radius: 1.5rem;
    padding: 1rem;
    box-shadow: 0 10px 26px rgba(93, 66, 51, 0.08);
}

.booking-step-card__head {
    margin-bottom: 1rem;
}

.booking-step-card__head h2 {
    margin: 0 0 0.35rem;
    color: #6a4738;
    font-size: 1.8rem;
    line-height: 1.1;
}

.booking-step-card__head p {
    margin: 0;
    color: #7b5d50;
    line-height: 1.6;
}

/* =========================
   MINI SUMMARY
========================= */

.booking-summary-mini {
    margin-bottom: 0.85rem;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    background: #f8f3ef;
    border: 1px solid #eadfd7;
}

.booking-summary-mini__label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9a7d70;
}

.booking-summary-mini strong {
    color: #6a4738;
    font-size: 1rem;
}

/* =========================
   HEADER
========================= */

.booking-calendar-head {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.booking-calendar-title {
    text-align: center;
}

.booking-calendar-kicker {
    margin: 0 0 0.1rem;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a7d70;
}

.booking-calendar-head h2 {
    margin: 0;
    text-align: center;
    font-size: 1.9rem;
    color: #6a4738;
}

.booking-month-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(164, 129, 111, 0.2);
    background: #fffaf7;
    color: #8d5f52;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.booking-month-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(93, 66, 51, 0.08);
}

/* =========================
   GRID
========================= */

.booking-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
}

/* =========================
   WEEKDAYS
========================= */

.booking-weekday {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #8a6f63;
}

/* =========================
   DAY CELLS
========================= */

.booking-day {
    height: 52px;
    border-radius: 0.8rem;
    border: 1px solid #ddd4ce;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.booking-day__number {
    display: inline-block;
    line-height: 1;
}

.booking-day--empty {
    visibility: hidden;
}

.booking-day--unavailable {
    background: #e9e4df;
    border-color: #ddd2ca;
    color: #9c9087;
}

.booking-day--available {
    background: #cfe8d4;
    border-color: #9ec5a6;
    color: #2f5d39;
}

.booking-day--selected {
    border: 2px solid #cf9ca0 !important;
    background: inherit !important;
}

.booking-day--today {
    outline: 2px solid rgba(191, 118, 118, 0.25);
}

.booking-day:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(93, 66, 51, 0.08);
}

/* =========================
   RECHTER BLOCK
========================= */

.booking-slots-head {
    margin-bottom: 0.9rem;
}

.booking-slots-label {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    color: #8d6f62;
}

.booking-slots-head h2 {
    margin: 0;
    color: #6a4738;
    font-size: 2.2rem;
    line-height: 1.05;
}

.booking-empty {
    padding-top: 0.5rem;
    color: #6f584d;
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================
   TREATMENTS
========================= */

.booking-treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.booking-treatment-card {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    text-align: left;
    border: 1px solid #e3d8d1;
    background: #fffdfb;
    border-radius: 1.2rem;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    transition: all 0.15s ease;
}

.booking-treatment-card:hover {
    transform: translateY(-2px);
    border-color: #cf9ca0;
    box-shadow: 0 10px 18px rgba(93, 66, 51, 0.08);
    background: #fff8f6;
}

.booking-treatment-card__title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #6a4738;
}

.booking-treatment-card__text {
    display: block;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #7b5d50;
}

.booking-treatment-card__meta {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #9a7d70;
}

/* =========================
   SLOT AUSWAHL
========================= */

.booking-slots-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.booking-slots-list--column {
    display: grid;
    gap: 0.75rem;
}

.booking-slot-button {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #d8c8bf;
    background: #fffdfb;
    color: #6a4738;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    min-height: 42px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font: inherit;
    font-size: 0.95rem;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(93, 66, 51, 0.04);
    transition: all 0.15s ease;
}

.booking-slot-button--full {
    width: 100%;
    justify-content: center;
}

.booking-slot-button::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cdb8ad;
    flex: 0 0 10px;
    transition: all 0.15s ease;
}

.booking-slot-button:hover {
    transform: translateY(-1px);
    border-color: #caa5a9;
    box-shadow: 0 8px 16px rgba(93, 66, 51, 0.10);
    background: #fff8f6;
}

.booking-treatment-card.is-selected {
    border-color: #a64a56;
    background: #fff5f6;
    box-shadow: 0 10px 18px rgba(166, 74, 86, 0.12);
}

.booking-slot-button.is-selected {
    background: #a64a56;
    border-color: #a64a56;
    color: #fff;
    box-shadow: 0 8px 16px rgba(166, 74, 86, 0.24);
}

.booking-slot-button.is-selected::before {
    background: #fff;
}

.booking-slot-button__time {
    display: inline;
    font-size: 0.95rem;
    font-weight: 700;
    color: inherit;
    margin: 0;
}

.booking-slot-button__note {
    display: none;
}

/* =========================
   ACCOUNT GRID
========================= */

.booking-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.booking-account-card {
    border: 1px solid #eadfd7;
    background: #fffdfb;
    border-radius: 1.2rem;
    padding: 1rem;
}

.booking-account-card h3 {
    margin: 0 0 0.75rem;
    color: #6a4738;
    font-size: 1.2rem;
}

/* =========================
   CONFIRM SUMMARY
========================= */

.booking-confirm-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.booking-confirm-summary__item {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: #f8f3ef;
    border: 1px solid #eadfd7;
}

.booking-confirm-summary__item span {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9a7d70;
}

.booking-confirm-summary__item strong {
    color: #6a4738;
    font-size: 0.98rem;
    line-height: 1.45;
}

/* =========================
   FORM
========================= */

.booking-form-wrap {
    margin-top: 0.5rem;
}

.booking-form-head h3 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
    color: #6a4738;
}

.booking-form-head p {
    margin: 0 0 1rem;
    color: #7b5d50;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.booking-form-grid--single {
    grid-template-columns: 1fr;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.booking-field--full {
    grid-column: 1 / -1;
}

.booking-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #7b5d50;
}

.booking-field input,
.booking-field textarea {
    width: 100%;
    border: 1px solid #ddd2ca;
    border-radius: 0.7rem;
    padding: 0.6rem 0.7rem;
    font-size: 0.9rem;
    background: #fffdfb;
    color: #5e4337;
    transition: all 0.15s ease;
}

.booking-field input:focus,
.booking-field textarea:focus {
    border-color: #cf9ca0;
    box-shadow: 0 0 0 3px rgba(207, 156, 160, 0.15);
    outline: none;
}

/* =========================
   BUTTONS & ACTIONS
========================= */

.booking-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.booking-submit-button,
.booking-secondary-button {
    min-height: 40px;
    padding: 0 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    cursor: pointer;
}

.booking-submit-button {
    border: none;
    background: #a64a56;
    color: #fff;
}

.booking-submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(166, 74, 86, 0.25);
}

.booking-secondary-button {
    border: 1px solid #d8c8bf;
    background: #fffdfb;
    color: #6a4738;
}

.booking-secondary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(93, 66, 51, 0.08);
}

/* =========================
   ALERT
========================= */

.booking-alert {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    font-size: 0.95rem;
}

.booking-alert--error {
    background: #fff1f1;
    border: 1px solid #efcaca;
    color: #9a3e45;
}

/* =========================
   MODAL
========================= */

.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.booking-modal.is-open {
    display: block;
}

.booking-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(58, 39, 31, 0.38);
    backdrop-filter: blur(2px);
}

.booking-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 520px);
    margin: 8vh auto 0;
    background: #fffdfb;
    border: 1px solid rgba(170, 140, 124, 0.16);
    border-radius: 1.4rem;
    padding: 1.5rem 1.4rem 1.3rem;
    box-shadow: 0 22px 60px rgba(93, 66, 51, 0.22);
    text-align: center;
}

.booking-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.8rem;
    border: none;
    background: transparent;
    color: #8a6759;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.booking-modal__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f5eb;
    color: #2f7a45;
    font-size: 1.9rem;
    font-weight: 700;
}

.booking-modal__title {
    margin: 0 0 0.5rem;
    color: #6a4738;
    font-size: 1.7rem;
    line-height: 1.15;
}

.booking-modal__text {
    margin: 0 0 1rem;
    color: #7a6156;
    line-height: 1.6;
}

.booking-modal__details {
    display: grid;
    gap: 0.8rem;
    margin: 0 0 1.2rem;
}

.booking-modal__detail {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: #f8f3ef;
    border: 1px solid #eadfd7;
}

.booking-modal__label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9a7d70;
}

.booking-modal__detail strong {
    color: #6a4738;
    font-size: 1.02rem;
}

.booking-modal__button {
    min-height: 44px;
    padding: 0 1.2rem;
    border: none;
    border-radius: 999px;
    background: #a64a56;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .booking-layout,
    .booking-account-grid,
    .booking-confirm-summary,
    .booking-treatment-grid,
    .booking-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .booking-day {
        height: 44px;
        font-size: 0.85rem;
    }

    .booking-form-grid {
        grid-template-columns: 1fr;
    }

    .booking-field--full {
        grid-column: auto;
    }

    .booking-slots-head h2,
    .booking-calendar-head h2 {
        font-size: 1.6rem;
    }

    .booking-step {
        min-height: auto;
    }
}

.booking-confirm-summary--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.booking-confirm-summary__column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* optional schöner */
.booking-confirm-summary__item span {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 2px;
}

.booking-confirm-summary__item strong {
    font-size: 15px;
    font-weight: 600;
}

/* Kundennummer hervorheben */
.booking-customer-number {
    font-size: 14px;
    font-weight: 700;
    color: #d71920; /* dein CI rot */
}

.booking-modal__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Hauptbutton */
.booking-modal__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #a64a56, #c46a74);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 10px 22px rgba(166, 74, 86, 0.25);
}

/* Hover Effekt */
.booking-modal__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(166, 74, 86, 0.35);
}

/* Secondary Button */
.booking-modal__button--secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #6a4738;
    border: 1px solid rgba(170, 140, 124, 0.2);
    box-shadow: 0 6px 16px rgba(93, 66, 51, 0.1);
}

.booking-modal__button--secondary:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 600px) {
    .booking-modal__actions {
        flex-direction: column;
    }

    .booking-modal__button {
        width: 100%;
    }
}