/* HIT Buchungskalender – Wizard styles */
.hitbk-wizard { font-family: inherit; max-width: 1080px; margin: 0 auto; color: #1f2d3d; }
.hitbk-wizard * { box-sizing: border-box; }

.hitbk-steps { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.hitbk-step { padding: .25rem .75rem; border-radius: 999px; background: #eee; font-size: .85rem; }
.hitbk-step.active { background: #2271b1; color: #fff; }
.hitbk-step.done { background: #4caf50; color: #fff; cursor: pointer; }
.hitbk-step.done:hover { background: #43a047; }

.hitbk-products { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 1rem; }
.hitbk-product { border: 1px solid #ddd; border-radius: 8px; padding: 1rem; cursor: pointer; transition: box-shadow .15s; background: #fff; }
.hitbk-product:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.hitbk-product.selected { border-color: #2271b1; box-shadow: 0 0 0 2px rgba(34,113,177,.25); }
.hitbk-product img { max-width: 100%; height: auto; border-radius: 4px; margin-bottom: .5rem; }
.hitbk-product h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.hitbk-product .meta { color: #555; font-size: .9rem; }

.hitbk-cat-section { margin-bottom: 2rem; }
.hitbk-cat-heading { margin: 0 0 .75rem; font-size: 1.05rem; font-weight: 700; padding-bottom: .35rem; border-bottom: 2px solid #2271b1; display: inline-block; }

.hitbk-staff { display: flex; flex-wrap: wrap; gap: .5rem; }
.hitbk-staff button { padding: .5rem 1rem; border: 1px solid #ddd; border-radius: 6px; background: #fff; cursor: pointer; }
.hitbk-staff button.selected { border-color: #2271b1; background: #eef5fb; }

/* === Booking Layout (Slot-Step) === */
.hitbk-booking { margin-top: 1rem; }
.hitbk-link-back {
    background: none; border: none; padding: 0; margin: 0 0 1rem;
    color: #2271b1; cursor: pointer; font-size: .95rem;
}
.hitbk-link-back:hover { text-decoration: underline; }

.hitbk-booking-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) 1fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 820px) {
    .hitbk-booking-layout { grid-template-columns: 1fr; }
}

.hitbk-product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.hitbk-product-card img {
    max-width: 100%; height: auto; border-radius: 6px; margin-bottom: .75rem;
}
.hitbk-product-card h3 { margin: 0 0 .5rem; font-size: 1.25rem; line-height: 1.3; }
.hitbk-product-meta {
    display: inline-flex; align-items: center; gap: .35rem;
    color: #4b5563; font-size: .95rem;
    padding: .25rem 0; border-bottom: 1px solid #eef0f3;
    margin-bottom: .75rem; width: 100%;
}
.hitbk-icon-clock { font-size: 1rem; }
.hitbk-product-desc { color: #374151; font-size: .92rem; line-height: 1.55; }
.hitbk-product-desc p:first-child { margin-top: 0; }
.hitbk-product-desc p:last-child { margin-bottom: 0; }

.hitbk-picker { min-width: 0; }
.hitbk-picker-title { font-size: 1.4rem; margin: 0 0 1rem; }

.hitbk-picker-toolbar {
    display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
    align-items: flex-end; margin-bottom: 1.25rem;
}
.hitbk-field { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; }
.hitbk-field > span { color: #4b5563; }
.hitbk-field select {
    padding: .45rem .6rem; border: 1px solid #d1d5db;
    border-radius: 6px; background: #fff; min-width: 200px;
}
.hitbk-field-tz .hitbk-tz-value {
    padding: .45rem .6rem; border: 1px solid #e5e7eb;
    border-radius: 6px; background: #f9fafb; color: #1f2d3d;
}

.hitbk-cal-and-slots {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(200px, 260px);
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 720px) {
    .hitbk-cal-and-slots { grid-template-columns: 1fr; }
}

.hitbk-cal { min-width: 0; }
.hitbk-loading { color: #6b7280; font-size: .9rem; margin-top: .5rem; text-align: center; }

.hitbk-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.hitbk-dow { text-align: center; font-size: .75rem; color: #6b7280; padding: .25rem 0; font-weight: 600; letter-spacing: .04em; }
.hitbk-day {
    aspect-ratio: 1/1;
    border: 1px solid transparent;
    border-radius: 8px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px;
    cursor: pointer;
    font-size: .95rem;
    background: #f1f5f9;
    color: #1f2d3d;
    padding: 0;
    transition: background-color .15s, color .15s, box-shadow .15s;
}
.hitbk-day:hover:not(:disabled) { background: #dbeafe; }
.hitbk-day.has-slots { background: #e0ecff; color: #1e3a8a; font-weight: 600; }
.hitbk-day.disabled { background: #f3f4f6; color: #9ca3af; cursor: default; font-weight: 400; }
.hitbk-day.selected { background: #f5b400; color: #1f2d3d; box-shadow: 0 0 0 2px rgba(245,180,0,.35); }
.hitbk-day.dim { visibility: hidden; }
.hitbk-day-num { font-size: 1rem; line-height: 1; }
.hitbk-day-na { font-size: .65rem; color: #9ca3af; line-height: 1; }

.hitbk-month-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.hitbk-month-nav strong { font-size: 1.05rem; }
.hitbk-nav-btn {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    font-size: 1.4rem !important;
    color: #4b5563 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex: 0 0 32px !important;
    transition: background .15s;
}
.hitbk-nav-btn:hover { background: #f3f4f6 !important; color: #111827 !important; box-shadow: none !important; }
.hitbk-nav-btn:active { background: #e5e7eb !important; box-shadow: none !important; transform: none !important; }
.hitbk-nav-btn:focus-visible { outline: 2px solid #2271b1 !important; outline-offset: 2px !important; }
.hitbk-nav-btn:focus { outline: none !important; box-shadow: none !important; }

/* Slot-Panel */
.hitbk-slot-panel { min-width: 0; }
.hitbk-slot-day { font-weight: 600; font-size: 1rem; margin-bottom: .25rem; }
.hitbk-slot-meta { color: #4b5563; font-size: .9rem; margin-bottom: .75rem; }
.hitbk-slot-empty { color: #6b7280; font-style: italic; }
.hitbk-slot-hint { color: #6b7280; font-size: .9rem; padding: 1rem 0; }
.hitbk-slot-groups { display: flex; flex-direction: column; gap: .75rem; }
.hitbk-slot-group {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: .5rem;
    align-items: start;
    padding-top: .5rem;
    border-top: 1px solid #e5e7eb;
}
.hitbk-slot-group:first-child { border-top: none; padding-top: 0; }
.hitbk-slot-hour { color: #6b7280; font-size: .85rem; padding-top: .5rem; }
.hitbk-slot-buttons { display: flex; flex-wrap: wrap; gap: .4rem; }
.hitbk-slot-buttons button {
    padding: .55rem .85rem;
    border-radius: 6px;
    border: 1px solid #c7d2fe;
    background: #eef2ff;
    color: #1e3a8a;
    cursor: pointer;
    font-size: .92rem;
    font-weight: 500;
    transition: background-color .15s, border-color .15s;
}
.hitbk-slot-buttons button:hover { background: #c7d2fe; }
.hitbk-slot-buttons button.selected { background: #2271b1; color: #fff; border-color: #2271b1; }

/* Legacy Slot-Liste (falls woanders genutzt) */
.hitbk-slots { display: grid; grid-template-columns: repeat(auto-fill,minmax(80px,1fr)); gap: .5rem; margin-top: 1rem; }
.hitbk-slots button { padding: .5rem; border-radius: 4px; border: 1px solid #ddd; background: #fff; cursor: pointer; }
.hitbk-slots button.selected { background: #2271b1; color: #fff; border-color: #2271b1; }

.hitbk-form { display: grid; gap: 1rem; max-width: 480px; }
.hitbk-form label { display: block; font-weight: 500; margin-bottom: .25rem; }
.hitbk-form input[type=text],
.hitbk-form input[type=email],
.hitbk-form input[type=tel],
.hitbk-form textarea { width: 100%; padding: .5rem; border: 1px solid #ccc; border-radius: 4px; }

.hitbk-wizard .hitbk-pay-options { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.25rem 0; }
.hitbk-wizard .hitbk-pay-label { flex: 0 0 100%; margin: 0 0 .25rem; font-weight: 500; }
.hitbk-wizard .hitbk-pay-option {
    display: flex !important; flex-direction: column; align-items: center; gap: .5rem;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb !important;
    border-radius: 10px;
    background: #fff !important;
    cursor: pointer;
    color: #374151 !important;
    font-size: .95rem;
    font-weight: 500;
    min-width: 130px;
    text-decoration: none;
    transition: border-color .15s, background-color .15s, color .15s;
}
.hitbk-wizard .hitbk-pay-option:hover { border-color: #93c5fd !important; background: #f0f7ff !important; }
.hitbk-wizard .hitbk-pay-option.selected { border-color: #2271b1 !important; background: #eef5fb !important; color: #1e3a8a !important; }
.hitbk-wizard .hitbk-pay-option svg { flex-shrink: 0; }

.hitbk-wizard .hitbk-actions { display: flex; gap: .5rem; justify-content: space-between; margin-top: 1.5rem; }
.hitbk-wizard .hitbk-btn {
    display: inline-flex !important; align-items: center; gap: .4rem;
    padding: .65rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .15s, border-color .15s, opacity .15s;
}
.hitbk-wizard .hitbk-btn-primary {
    background: #2271b1 !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(34,113,177,.35);
}
.hitbk-wizard .hitbk-btn-primary:hover:not(:disabled) { background: #1a5a96 !important; }
.hitbk-wizard .hitbk-btn-primary:disabled { background: #888 !important; cursor: not-allowed; opacity: .7; }
.hitbk-wizard .hitbk-btn-secondary {
    background: #fff !important;
    border: 1px solid #c4c9d4 !important;
    color: #374151 !important;
}
.hitbk-wizard .hitbk-btn-secondary:hover:not(:disabled) { background: #f3f4f6 !important; border-color: #9ca3af !important; }

/* Custom checkbox */
.hitbk-wizard .hitbk-checkbox {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    cursor: pointer;
    margin: 1.25rem 0;
    user-select: none;
}
.hitbk-wizard .hitbk-checkbox-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: border-color .15s, background-color .15s;
}
.hitbk-wizard .hitbk-checkbox.checked .hitbk-checkbox-box {
    background: #2271b1;
    border-color: #2271b1;
}
.hitbk-wizard .hitbk-checkbox:focus-visible { outline: 2px solid #2271b1; border-radius: 4px; }
.hitbk-wizard .hitbk-checkbox-label { color: #374151; font-size: .95rem; line-height: 1.5; }

.hitbk-summary { background: #f6f7f7; border-radius: 6px; padding: 1rem; margin-bottom: 1rem; }
.hitbk-error { color: #b22; padding: .75rem; background: #fee; border-radius: 4px; margin: 1rem 0; }
.hitbk-success { color: #1c5d2c; padding: 1rem; background: #e9f7ec; border-radius: 4px; }

#hitbk-payment-element { margin: 1rem 0; padding: .5rem; border: 1px solid #eee; border-radius: 4px; min-height: 200px; }
#hitbk-voucher-pe      { margin: 1rem 0; padding: .5rem; border: 1px solid #eee; border-radius: 4px; min-height: 200px; }

/* Gutschein-Typ-Auswahl (label mit Radio) */
#hitbk-voucher-wizard .hitbk-pay-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: flex-start;
}
#hitbk-voucher-wizard .hitbk-pay-options label {
    display: inline-flex !important;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.25rem;
    border: 2px solid #e5e7eb !important;
    border-radius: 10px;
    background: #fff !important;
    cursor: pointer;
    color: #374151 !important;
    font-size: .95rem;
    font-weight: 500;
    transition: border-color .15s, background-color .15s;
    flex: 0 0 auto;
}
#hitbk-voucher-wizard .hitbk-pay-options label:hover {
    border-color: #93c5fd !important;
    background: #f0f7ff !important;
}
#hitbk-voucher-wizard .hitbk-pay-options label.selected {
    border-color: #2271b1 !important;
    background: #eef5fb !important;
    color: #1e3a8a !important;
}
#hitbk-voucher-wizard .hitbk-pay-options label input[type=radio] {
    display: none;
}

.hitbk-voucher-row { display: flex; gap: .5rem; }
.hitbk-voucher-row input { flex: 1; text-transform: uppercase; letter-spacing: .1em; font-family: ui-monospace, SFMono-Regular, monospace; }
.hitbk-voucher-row button { padding: .5rem 1rem; border: 1px solid #ddd; border-radius: 4px; background: #fff; cursor: pointer; }

