/* ============================================================
   Way Akademie Auth – Globale Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');

/* ---- Spinner ---------------------------------------------- */
.way-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: way-spin 0.65s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
    flex-shrink: 0;
}
.way-spinner--dark {
    border-color: rgba(184, 1, 91, 0.15);
    border-top-color: #b8015b;
}
@keyframes way-spin {
    to { transform: rotate(360deg); }
}

/* ---- Buttons ---------------------------------------------- */
.way-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 26px;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s, border-color 0.15s;
    line-height: 1;
    text-decoration: none;
    margin-top: 10px;
    margin-right: 10px;
}
.way-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.way-btn--primary {
    background: #b8015b;
    color: #fff;
}
.way-btn--primary:not(:disabled):hover {
    background: #9a014d;
}
.way-btn--ghost {
    background: transparent;
    color: #b8015b;
    border: 1px solid #d0a97e;
}
.way-btn--ghost:not(:disabled):hover {
    background: #fdf5ef;
    color: #9a014d;
    border-color: #b8015b;
}
.way-btn--full {
    width: 100%;
    margin-right: 0;
    box-sizing: border-box;
}

/* ---- Formular-Wrapper ------------------------------------- */
.way-form {
    font-family: inherit;
    max-width: 600px;
}
.way-form--register {
    max-width: 720px;
}

.way-form__title {
    margin: 0 0 6px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
}
.way-form__subtitle {
    margin: 0 0 20px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}
.way-form__section-title {
    margin: 28px 0 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #b8015b;
    border-bottom: 2px solid #d0a97e;
    padding-bottom: 6px;
}
.way-form__section-title:first-of-type {
    margin-top: 20px;
}

/* ---- Fehler / Erfolg ------------------------------------- */
.way-form__error {
    background: #fff5f5;
    border: 1px solid #ffc0c0;
    color: #c0392b;
    padding: 10px 14px;
    border-radius: 5px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ---- Felder ---------------------------------------------- */
.way-form__field {
    margin-bottom: 14px;
    flex: 1;
    min-width: 0;
}
.way-form__field--small {
    flex: 0 0 auto;
    min-width: 120px;
    max-width: 160px;
}
.way-form__row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.way-form__label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
}
.way-form__input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    font-size: 0.95rem;
    line-height: 1.4;
    box-sizing: border-box;
    transition: border-color 0.15s;
    background: #fff;
    color: #1a1a1a;
    font-family: inherit;
}
.way-form__input:focus {
    outline: none;
    border-color: #b8015b;
    box-shadow: 0 0 0 3px rgba(184, 1, 91, 0.08);
}
.way-form__input:disabled {
    background: #f5f5f5;
    color: #aaa;
}
.way-form__select {
    appearance: auto;
}
.way-form__checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    color: #333;
}
.way-form__checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.way-form__hint {
    font-size: 0.825rem;
    color: #888;
    margin-top: 10px;
}
.way-form__hint a {
    color: #b8015b;
    text-decoration: underline;
}
.way-form__hint a:hover {
    color: #9a014d;
}
.way-form__actions {
    margin-top: 24px;
    border-top: 1px solid #d0a97e;
    padding-top: 20px;
}

/* ---- Google Login ----------------------------------------- */
.way-auth__divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 14px;
    color: #bbb;
    font-size: 0.82rem;
}
.way-auth__divider::before,
.way-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e8e8;
}
.way-auth__google-btn {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}
.way-auth__facebook-btn {
    width: 100%;
    margin-right: 0;
    background: #1877f2;
    color: #fff;
    justify-content: center;
    gap: 10px;
    margin-top: 0;
}
.way-auth__facebook-btn:not(:disabled):hover { background: #1464cc; }
.way-auth__facebook-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ---- Auth-Tabs (Login / Registrieren) --------------------- */
.way-auth__tabs {
    display: flex;
    gap: 0;
    margin-bottom: 22px;
    border-bottom: 2px solid #e8e8e8;
}
.way-auth__tab {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 0.925rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
    font-family: inherit;
}
.way-auth__tab:hover { color: #b8015b; }
.way-auth__tab--active {
    color: #b8015b;
    border-bottom-color: #b8015b;
}

/* ---- Coupon Row ------------------------------------------- */
.way-coupon-row { display: flex; gap: 8px; align-items: center; }
.way-coupon-row .way-form__input { flex: 1; }
.way-coupon-apply { white-space: nowrap; min-width: 100px; }
.way-coupon-msg { margin: 6px 0 0; font-size: 0.85rem; font-weight: 600; }
.way-coupon-msg--valid   { color: #27ae60; }
.way-coupon-msg--invalid { color: #c0392b; }

/* ---- Academy Button (kompakt) ----------------------------- */
.way-ab {
    display: inline-block;
}

/* ---- Modal ----------------------------------------------- */
.way-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.way-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}
.way-modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 36px 32px 32px;
    width: 100%;
    max-width: 420px;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: way-modal-in 0.2s ease;
}
@keyframes way-modal-in {
    from { opacity: 0; transform: translateY(-10px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)     scale(1);    }
}
.way-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #bbb;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.15s;
}
.way-modal__close:not(:disabled):hover { color: #b8015b; }
.way-modal__close:disabled { opacity: 0.4; cursor: not-allowed; }
.way-modal__dialog .way-form__title { margin-bottom: 6px; }
.way-modal__dialog .way-form__subtitle { margin-bottom: 18px; }
.way-modal__dialog--lg {
    max-width: 500px;
}
body.way-modal-open {
    overflow: hidden;
}

/* ---- Checkout -------------------------------------------- */
.way-form--checkout {
    max-width: 780px;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 60px;
}
/* Logo als Seitenhintergrund – Klasse wird per JS auf body gesetzt */
body.way-checkout-page {
    background-image:
        linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.75)),
        var(--way-logo-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Innerer Formular-Wrapper */
.way-checkout__inner {
    padding-top: 8px;
}

/* Schritt-Anzeige */
.way-checkout__steps {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}
.way-checkout__step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #bbb;
}
.way-checkout__step--active {
    color: #b8015b;
}
.way-checkout__step--done {
    color: #d0a97e;
}
.way-checkout__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eee;
    font-size: 0.8rem;
    font-weight: 700;
    color: #bbb;
    flex-shrink: 0;
}
.way-checkout__step--active .way-checkout__step-num {
    background: #b8015b;
    color: #fff;
}
.way-checkout__step--done .way-checkout__step-num {
    background: #d0a97e;
    color: #fff;
}
.way-checkout__step-divider {
    flex: 1;
    height: 2px;
    background: #eee;
    margin: 0 14px;
    min-width: 24px;
}

/* Fixed Bestell-Pille oben */
/* top: 32px = WordPress Admin-Bar Höhe */
.way-checkout__top-bar {
    position: fixed;
    top: 32px;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 10px 20px 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.way-checkout__top-pill {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    background: #b8015b;
    color: #fff;
    border-radius: 10px;
    padding: 9px 22px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 3px 16px rgba(184, 1, 91, 0.35);
    box-sizing: border-box;
}
.way-checkout__top-pill-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 340px;
    opacity: 0.9;
}
.way-checkout__top-pill-sep {
    opacity: 0.4;
    flex-shrink: 0;
}
.way-checkout__top-pill-price {
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    color: #fde8f3;
}

.way-checkout__bildungsurlaub-status {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.way-checkout__bildungsurlaub-status--ok {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}
.way-checkout__bildungsurlaub-status--blocked {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.way-checkout__top-pill-offer-badge {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fde8f3;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 2px 8px;
    flex-shrink: 0;
}

/* Test-Badge */
.way-checkout__test-badge {
    background: #fffbe6;
    border: 1px solid #f5c400;
    color: #7a5c00;
    padding: 8px 14px;
    border-radius: 5px;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

/* Übersichts-Karten (Schritt 3) */
.way-checkout__overview-card {
    border: 1px solid #e8e8e8;
    border-left: 3px solid #d0a97e;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 14px;
    background: #fdfaf7;
}
.way-checkout__overview-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 0.875rem;
    font-weight: 700;
    color: #555;
}
.way-checkout__overview-edit {
    background: none;
    border: none;
    color: #b8015b;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
    line-height: 1;
}
.way-checkout__overview-edit:hover { color: #9a014d; }
.way-checkout__overview-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 0.875rem;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}
.way-checkout__overview-row:last-child { border-bottom: none; }
.way-checkout__overview-row--total {
    font-weight: 700;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 2px solid #d0a97e;
    border-bottom: none;
    color: #b8015b;
}
.way-checkout__overview-label {
    color: #999;
    flex-shrink: 0;
    min-width: 90px;
}
.way-checkout__overview-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    padding: 5px 0;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}
.way-checkout__overview-check:last-child { border-bottom: none; }
.way-checkout__check-yes  { color: #2e9e2e; font-weight: 700; flex-shrink: 0; }
.way-checkout__check-no   { color: #cc3333; font-weight: 700; flex-shrink: 0; }
.way-checkout__check-info { color: #b8015b; font-weight: 700; flex-shrink: 0; }

/* Raten-Optionen Einzug */
.way-checkout__installment-opts {
    margin-top: 10px;
    padding-left: 24px;
}

/* Lange Rechtstexte: Checkbox oben ausrichten */
.way-checkout__legal-label {
    align-items: flex-start;
}
.way-checkout__legal-label input[type="checkbox"],
.way-checkout__legal-label input[type="radio"] {
    margin-top: 3px;
    flex-shrink: 0;
}

/* ---- Passwort-Toggle ------------------------------------- */
.way-form__pw-wrap {
    position: relative;
}
.way-form__pw-wrap .way-form__input {
    padding-right: 42px;
}
.way-form__pw-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    padding: 4px;
    display: flex;
    align-items: center;
    line-height: 1;
    transition: color 0.15s;
}
.way-form__pw-toggle:hover { color: #b8015b; }

/* ---- Validierungsfehler ---------------------------------- */
.way-form__input--error {
    border-color: #cc3333 !important;
}
.way-form__input--error:focus {
    box-shadow: 0 0 0 3px rgba(204, 51, 51, 0.08) !important;
    border-color: #cc3333 !important;
}
.way-form__field-error {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #cc3333;
    margin-top: 5px;
}
.way-form__field-error::before {
    content: '!';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #cc3333;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}
.way-form__error-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.82rem;
    font-weight: 400;
    color: #a00;
}
.way-form__error-hint a {
    color: #a00;
    text-decoration: underline;
    font-weight: 600;
}
.way-form__error-hint a:hover {
    color: #700;
}

.way-form__input--ok {
    border-color: #2e7d32 !important;
}
.way-form__input--ok:focus {
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.08) !important;
    border-color: #2e7d32 !important;
}
.way-form__field-ok {
    font-size: 0.8rem;
    color: #2e7d32;
    margin-top: 5px;
}

/* ---- Akkordeon-Sektionen (Schritt 2) --------------------- */
.way-checkout__section-card {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}
.way-checkout__section-card--error {
    border-color: #ffc0c0;
}
.way-checkout__section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    background: #fafafa;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
    font-family: inherit;
}
.way-checkout__section-toggle:hover {
    background: #f4f4f4;
}
.way-checkout__section-toggle-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #444;
    flex: 1;
}
.way-checkout__section-card--error .way-checkout__section-toggle-title {
    color: #cc3333;
}
.way-checkout__section-toggle-summary {
    font-size: 0.8rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
.way-checkout__section-toggle-icon {
    font-size: 0.65rem;
    color: #b8015b;
    flex-shrink: 0;
}
.way-checkout__section-body {
    padding: 4px 14px 10px;
    border-top: 1px solid #e8e8e8;
    background: #fff;
}
.way-checkout__book-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: #333;
}
.way-checkout__book-row:last-child { border-bottom: none; }
.way-checkout__book-title { flex: 1; }
.way-checkout__book-price { font-weight: 600; white-space: nowrap; color: #b8015b; }

/* ---- Responsive ------------------------------------------ */
/* WordPress Admin-Bar: 32px Desktop, 46px Mobile */
@media screen and (max-width: 782px) {
    .way-checkout__top-bar { top: 46px; }
    .way-form--checkout { padding-top: 94px; }
}
@media (max-width: 600px) {
    .way-checkout__top-pill-name { max-width: 160px; }
}
@media (max-width: 480px) {
    .way-form__row { flex-direction: column; }
    .way-form__field--small { max-width: none; }
    .way-modal__dialog { padding: 24px 16px 20px; }
    .way-modal { align-items: flex-start; padding: 12px; }

    /* Formular: Innenabstand damit Felder nicht am Rand kleben */
    .way-form--checkout {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    /* Schritt-Indikator: Label unter den Kreis, gleichmäßig verteilt */
    .way-checkout__steps { margin-bottom: 18px; }
    .way-checkout__step {
        flex: 1;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        min-width: 0;
    }
    .way-checkout__step-label {
        font-size: 0.68rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        text-align: center;
    }
    .way-checkout__step-divider {
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 13px; /* vertikal zentriert auf dem 28px Kreis */
        min-width: 14px;
        margin-left: 2px;
        margin-right: 2px;
    }

    /* Top Pill kompakter */
    .way-checkout__top-pill { padding: 8px 14px; gap: 7px; }
    .way-checkout__top-pill-name { max-width: 110px; }
    .way-checkout__top-pill-price { font-size: 0.875rem; }

    /* Akkordeon: Summary kürzer */
    .way-checkout__section-toggle-summary { max-width: 130px; }

    /* Buttons im Actions-Bereich: full-width */
    .way-form__actions .way-btn {
        display: flex;
        width: 100%;
        margin-right: 0;
        box-sizing: border-box;
    }

    /* Übersichts-Karten kompakter */
    .way-checkout__overview-card { padding: 12px 14px; }
    .way-checkout__overview-row { font-size: 0.82rem; }
    .way-checkout__overview-label { min-width: 70px; }
    .way-checkout__overview-check { font-size: 0.82rem; }
}

/* ---- Sticky Bottom-Bar (Checkout Navigation) ------------- */
.way-checkout__bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 780px;
    z-index: 999;
    background: #fff;
    border-top: 1px solid #d0a97e;
    padding: 14px 20px 18px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}
/* Platz für fixed Top- und Bottom-Bar */
.way-checkout__inner {
    padding-bottom: 90px;
}

/* ============================================================
   User-Status-Bar  [way_user_status]
   ============================================================ */
.way-user-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.way-user-status__name {
    font-weight: 600;
    color: #1a1a1a;
}

.way-user-status__logout {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    background: transparent;
    color: #555;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.way-user-status__logout:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #aaa;
    color: #1a1a1a;
}
.way-user-status__logout:disabled {
    opacity: 0.6;
    cursor: default;
}

.way-user-status__link {
    color: #b8015b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
    white-space: nowrap;
}
.way-user-status__link:hover {
    color: #8a0044;
    text-decoration: underline;
}
.way-user-status__link--register {
    padding: 5px 14px;
    border: 1px solid #b8015b;
    border-radius: 6px;
    color: #b8015b;
    text-decoration: none;
}
.way-user-status__link--register:hover {
    background: #b8015b;
    color: #fff;
    text-decoration: none;
}
.way-user-status__link--academy {
    padding: 5px 14px;
    background: #b8015b;
    border: 1px solid #b8015b;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s;
}
.way-user-status__link--academy:hover {
    background: #8a0044;
    border-color: #8a0044;
    color: #fff;
    text-decoration: none;
}

/* ---- Erfolgs-Meldung ------------------------------------- */
.way-form__success {
    background: #f0faf0;
    border: 1px solid #a8d5a8;
    color: #2e7d32;
    padding: 10px 14px;
    border-radius: 5px;
    margin-bottom: 16px;
    font-size: 0.875rem;
}

/* ---- Buchungsübersicht [way_my_bookings] ------------------ */
.way-bookings__loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    padding: 20px 0;
}
.way-bookings__empty {
    color: #888;
    font-size: 0.95rem;
}
.way-bookings__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.way-bookings__item {
    border: 1px solid #e8e8e8;
    border-left: 3px solid #d0a97e;
    border-radius: 8px;
    padding: 14px 16px;
    background: #fdfaf7;
}
.way-bookings__item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.way-bookings__item-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a1a;
}
.way-booking__badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.way-booking__badge--paid    { background: #e8f5e9; color: #2e7d32; }
.way-booking__badge--partial { background: #fff8e1; color: #f57f17; }
.way-booking__badge--unpaid  { background: #fce4ec; color: #c62828; }
.way-bookings__item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.825rem;
    color: #666;
}
.way-bookings__item-booked {
    margin-left: auto;
    color: #aaa;
    font-size: 0.8rem;
}

/* ---- Profil-Formular -------------------------------------- */
.way-form--profile {
    max-width: 680px;
}

/* Honeypot – für Menschen unsichtbar, Bots füllen es aus */
.way-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    tabindex: -1;
}

/* ============================================================
   Passwort-Stärke-Anzeige
   ============================================================ */
.way-pw-strength {
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
    font-size: 0.82rem;
    color: #444;
}

.way-pw-strength__bar-wrap {
    height: 5px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 7px;
    overflow: hidden;
}
.way-pw-strength__bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s, background 0.3s;
    background: #ccc;
}
.way-pw-strength__bar[data-score="0"] { background: #ccc; }
.way-pw-strength__bar[data-score="1"] { background: #e53935; }
.way-pw-strength__bar[data-score="2"] { background: #fb8c00; }
.way-pw-strength__bar[data-score="3"] { background: #fdd835; }
.way-pw-strength__bar[data-score="4"] { background: #7cb342; }
.way-pw-strength__bar[data-score="5"] { background: #2e7d32; }

.way-pw-strength__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.83rem;
    color: #333;
}
.way-pw-strength__label strong {
    font-weight: 600;
}

.way-pw-strength__heading {
    margin: 0 0 5px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #666;
    text-transform: uppercase;
}

.way-pw-strength__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.way-pw-strength__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.82rem;
}
.way-pw-strength__item--ok {
    color: #2e7d32;
}

.way-pw-strength__checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    min-width: 14px;
    border: 1.5px solid #bbb;
    border-radius: 3px;
    background: #fff;
    font-size: 10px;
    color: transparent;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.way-pw-strength__item--ok .way-pw-strength__checkbox {
    border-color: #2e7d32;
    background: #2e7d32;
    color: #fff;
}
.way-pw-strength__item--ok .way-pw-strength__checkbox::after {
    content: '✓';
    font-size: 9px;
    line-height: 1;
}

/* =========================================================================
   Course Table  [way_course_table]
   ========================================================================= */
.way-course-table {
    font-family: "Playfair Display", serif;
}
.way-course-table__title {
    font-size: 24px;
    font-weight: 700;
    color: #9b1b5a;
    margin-bottom: 20px;
}
.way-course-table__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}
.way-course-table__filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.way-course-table__label {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}
.way-course-table__select {
    padding: 8px 32px 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.way-course-table__select:focus {
    outline: none;
    border-color: #9b1b5a;
}
.way-course-table__loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 14px;
    padding: 20px 0;
}
.way-course-table__empty {
    color: #888;
    font-size: 14px;
    padding: 20px 0;
}
.way-course-table__error {
    color: #c0392b;
    font-size: 14px;
    padding: 8px 0;
}
.way-course-table__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    border: none !important;
}
.way-course-table__table th {
    text-align: left;
    padding: 10px 14px;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 2px solid #ddd !important;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}
.way-course-table__table td {
    padding: 11px 14px;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #eee !important;
    vertical-align: middle;
    font-size: 15px;
    color: #444;
}
.way-course-table__table tbody tr:hover {
    background: #fdf5f9;
}
.way-course-table__location-link {
    color: #9b7030;
    text-decoration: none;
    font-weight: 500;
}
.way-course-table__location-link:hover {
    text-decoration: underline;
}
.way-course-table__date-icon {
    margin-right: 5px;
    font-style: normal;
}
.way-course-table__offer-price {
    color: #9b1b5a;
    font-weight: 700;
    font-size: 15px;
}
.way-course-table__normal-price {
    color: #888;
    text-decoration: line-through;
    white-space: nowrap;
    font-size: 15px;
}
.way-course-table__book-btn {
    background: #9b1b5a;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.way-course-table__book-btn:hover {
    background: #7d1449;
}
@media (max-width: 650px) {
    .way-course-table__table thead { display: none; }
    .way-course-table__table tr { display: block; border-bottom: 1px solid #ddd; padding: 10px 0; }
    .way-course-table__table td { display: block; padding: 4px 0; border: none; }
    .way-course-table__book-btn { width: 100%; margin-top: 6px; }
}

/* Blöcke-Button */
.way-course-table__blocks-btn {
    display: inline-block;
    margin-left: 8px;
    background: none;
    border: 1px solid #9b1b5a;
    color: #9b1b5a;
    border-radius: 3px;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
    vertical-align: middle;
    transition: background 0.15s, color 0.15s;
}
.way-course-table__blocks-btn:hover {
    background: #9b1b5a;
    color: #fff;
}

/* Overlay */
.way-course-table__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.way-course-table__overlay-box {
    background: #fff;
    border-radius: 0;
    width: 100%;
    max-width: 420px;
    padding: 28px 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    position: relative;
}
.way-course-table__overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.way-course-table__overlay-close {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
    padding: 0;
}
.way-course-table__overlay-close:hover { color: #333; }
.way-course-table__overlay-name {
    font-size: 17px;
    font-weight: 700;
    color: #9b1b5a;
    margin-bottom: 16px;
}
.way-course-table__overlay-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.way-course-table__overlay-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #333;
}
.way-course-table__overlay-list li:last-child { border-bottom: none; }
.way-course-table__overlay-num {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #9b1b5a;
    padding: 2px 7px;
    border-radius: 3px;
    white-space: nowrap;
}
