/* Terminbuchung (termin.php) */

.booking-area { padding: 200px 0 140px; }
@media (max-width: 991px) { .booking-area { padding: 150px 0 100px; } }

.booking-preview { margin-bottom: 30px; border-radius: 12px; }

.booking-intro { margin-bottom: 40px; padding-right: 20px; }
.booking-eyebrow { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 20px; background: #eef9d3; color: #2f4300; font-weight: 600; font-size: 14px; }
.booking-intro h1 { font-size: 48px; line-height: 1.1; margin-bottom: 20px; }
@media (max-width: 767px) { .booking-intro h1 { font-size: 34px; } }
.booking-intro p { font-size: 18px; line-height: 1.6; }
.booking-facts { list-style: none; padding: 0; margin: 26px 0 0; }
.booking-facts li { padding: 12px 0; border-top: 1px solid #ececec; font-size: 16px; }

.booking-card { padding: 36px; border-radius: 24px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .07); }
@media (max-width: 575px) { .booking-card { padding: 22px; } }

.booking-step { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 20px; }
.booking-step span { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bs-dark); color: #c4ee18; font-size: 14px; flex-shrink: 0; }

.booking-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; margin-bottom: 36px; }
.booking-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 6px;
    border-radius: 16px;
    border: 1.5px solid #e6e6e6;
    color: #121212;
    transition: all .2s ease;
    line-height: 1.2;
}
.booking-day:hover { border-color: #10302a; transform: translateY(-2px); }
.booking-day.active { background: var(--bs-black); border-color: #10302a; color: #fff; }
.booking-day .wd { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: .7; }
.booking-day .d { font-size: 26px; font-weight: 700; margin: 2px 0; }
.booking-day .m { font-size: 13px; }
.booking-day .n { margin-top: 6px; font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #eef9d3; color: #2f4300; }
.booking-day.active .n { background: #c4ee18; color: #10180f; }

.booking-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.booking-time {
    display: block;
    padding: 13px 0;
    text-align: center;
    border-radius: 12px;
    border: 1.5px solid #e6e6e6;
    font-weight: 600;
    color: #121212;
    transition: all .2s ease;
}
.booking-time:hover { background: #c4ee18; border-color: #c4ee18; color: #10180f; }

.booking-selected { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; padding: 16px 20px; border-radius: 14px; background: #eef9d3; }
.booking-selected a { text-decoration: underline; color: #2f4300; }
/* Formular (eigene Gestaltung – unabhängig von den Theme-Formularen) */
.booking-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; margin-bottom: 22px; }
.booking-field-wide { grid-column: 1 / -1; }
@media (max-width: 767px) { .booking-fields { grid-template-columns: 1fr; } }
.booking-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #121212; letter-spacing: .01em; }
.booking-field .req { color: #5d8a19; }
.booking-control { position: relative; }
.booking-control > svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: #8a918b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: stroke .2s ease; }
.booking-form .booking-control input,
.booking-form .booking-control select,
.booking-form .booking-control textarea {
    display: block;
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 0 18px 0 46px;
    border: 1.5px solid #e2e5df;
    border-radius: 14px;
    background: #fafbf8;
    color: #121212;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
    outline: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.booking-form .booking-control textarea { height: auto; min-height: 120px; padding: 14px 18px; resize: vertical; }
.booking-form .booking-control input::placeholder,
.booking-form .booking-control textarea::placeholder { color: #a3a9a4; opacity: 1; }
.booking-form .booking-control input:hover,
.booking-form .booking-control select:hover,
.booking-form .booking-control textarea:hover { border-color: #c9cec6; }
.booking-form .booking-control input:focus,
.booking-form .booking-control select:focus,
.booking-form .booking-control textarea:focus { border-color: #10302a; background: #fff; box-shadow: 0 0 0 4px rgba(196, 238, 24, .35); }
.booking-control:focus-within > svg { stroke: #10302a; }
/* Dropdown mit eigenem Pfeil */
.booking-select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid #10302a; border-bottom: 2px solid #10302a; transform: rotate(45deg); pointer-events: none; }
.booking-form .booking-select select { padding-right: 46px; cursor: pointer; text-overflow: ellipsis; }
/* Checkbox */
.booking-consent { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0 0 26px; cursor: pointer; font-size: 14.5px; line-height: 1.55; color: #555; }
.booking-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.booking-check-box { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; display: grid; place-items: center; border: 1.5px solid #c9cec6; border-radius: 7px; background: #fff; transition: all .2s ease; }
.booking-check-box svg { width: 14px; height: 14px; fill: none; stroke: #10180f; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: all .2s ease; }
.booking-consent input:checked + .booking-check-box { background: #c4ee18; border-color: #c4ee18; }
.booking-consent input:checked + .booking-check-box svg { opacity: 1; transform: scale(1); }
.booking-consent input:focus-visible + .booking-check-box { box-shadow: 0 0 0 4px rgba(196, 238, 24, .35); border-color: #10302a; }
.booking-consent:hover .booking-check-box { border-color: #10302a; }
.booking-consent-text a { color: #10302a; text-decoration: underline; }

.booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 54px;
    padding: 0 30px;
    border: 0;
    border-radius: 27px;
    background: var(--bs-dark);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: pointer;
}
.booking-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16, 48, 42, .25); }
.booking-btn-lg { width: 100%; }
.booking-btn-danger { background: #c62828; }
.booking-link { text-decoration: underline; color: #555; }

.booking-message { max-width: 640px; margin: 0 auto; text-align: center; }
.booking-message h1 { font-size: 44px; margin-bottom: 18px; }
.booking-message-inline { padding: 30px 0; }
.booking-check { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 50%; background: #c4ee18; color: #10180f; font-size: 34px; font-weight: 700; }
.booking-when { font-size: 22px; font-weight: 600; color: #10302a; }
.booking-sub { color: #666; }
.booking-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; margin-top: 30px; }

/* Tage ohne freie Termine und „Heute“ */
.booking-day.is-disabled { cursor: default; border-style: dashed; border-color: #ececec; background: #fafafa; color: #b4b8b5; }
.booking-day.is-disabled:hover { transform: none; border-color: #ececec; }
.booking-day.is-disabled .n { background: #f0f0f0; color: #a1a5a2; }
.booking-day.is-today .wd { opacity: 1; font-weight: 700; color: #5d8a19; letter-spacing: .5px; }
.booking-day.is-today.active .wd { color: #c4ee18; }
.booking-day.is-today { box-shadow: inset 0 0 0 1.5px #c4ee18; }
.booking-day.is-today.is-disabled { box-shadow: none; }
