/* ===========================================================
   WorkshopsPro — Modernes Frontend-Stylesheet
   =========================================================== */

:root {
    --wsp-primary: 221 83% 53%;
    --wsp-primary-fg: 0 0% 100%;
    --wsp-text: 222 47% 11%;
    --wsp-muted: 215 16% 47%;
    --wsp-border: 214 32% 91%;
    --wsp-bg: 210 40% 98%;
    --wsp-card: 0 0% 100%;
    --wsp-radius: 14px;
    --wsp-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 24px rgba(15, 23, 42, 0.06);
    --wsp-shadow-hover: 0 4px 12px rgba(15, 23, 42, 0.08), 0 8px 32px rgba(15, 23, 42, 0.1);
}

.wsp-public {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 5rem;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    color: hsl(var(--wsp-text));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wsp-public *,
.wsp-public *::before,
.wsp-public *::after {
    box-sizing: border-box;
}

/* ===== HERO ===== */

.wsp-workshop__header {
    position: relative;
    /* Full-Bleed: aus dem zentrierten 1180px-Container auf volle Viewport-Breite ausbrechen. */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -2.5rem; /* das obere Padding von .wsp-public aufheben */
    margin-bottom: 2.5rem;
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, hsl(220 47% 11%) 0%, hsl(215 38% 18%) 50%, hsl(221 60% 28%) 100%);
    color: #fff;
    overflow: hidden;
}
.wsp-workshop__hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1 !important;
    z-index: 0;
}
/* Lesbarkeits-Overlay über dem (jetzt voll deckenden) Hero-Bild */
.wsp-workshop__header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsl(220 47% 11% / 0.6) 0%, hsl(221 60% 28% / 0.4) 100%);
    z-index: 0;
}

/* YooTheme-Section ohne oberen Abstand, damit der Banner bündig oben sitzt.
   Gilt nur auf Workshop-/Anmeldeseiten (public.css wird nur dort geladen).
   !important, weil YooTheme seine .uk-section-Regel ggf. nach unserer lädt. */
#tm-main.uk-section {
    padding-top: 0 !important;
}
/* Innerer Container: gleiche Breite + horizontaler Abstand wie die Boxen darunter. */
.wsp-workshop__header-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    flex-wrap: wrap;
}
.wsp-workshop__header-text { flex: 1 1 360px; min-width: 0; }
.wsp-workshop__header-cta { flex: 0 0 auto; }
.wsp-cta--hero {
    width: auto;
    margin-top: 0;
    background: #fff;
    color: hsl(221 60% 26%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}
.wsp-cta--hero:hover {
    background: rgba(255, 255, 255, 0.92);
    color: hsl(221 65% 20%);
}
.wsp-workshop__header .wsp-workshop__hero img {
    display: none; /* alte Variante deaktiviert */
}
.wsp-workshop__title {
    max-width: 720px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin: 0 0 .75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    /* Explizit weiß — sonst überschreibt eine Theme-h1-Regel den vom Header geerbten Wert. */
    color: #fff;
}
.wsp-workshop__subtitle {
    max-width: 600px;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1rem;
    font-weight: 400;
}
.wsp-workshop__date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin: 0;
}
/* Plakat randlos in der Karte: kein Innenabstand, Bild füllt die Box,
   die Karten-Rundung schneidet die Ecken sauber ab. */
/* Kombinierter Selektor (höhere Spezifität als .wsp-card) → Plakat sitzt randlos in der Box. */
.wsp-card.wsp-workshop__poster {
    padding: 0;
    border: none;
    overflow: hidden;
}
.wsp-card.wsp-workshop__poster img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

/* Chevron-Pfeile in Buttons/Links (kräftige, runde Kontur) */
.wsp-arrow {
    width: 0.9em;
    height: 0.9em;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    stroke-width: 2.5; /* überschreibt das inline-Attribut → kräftigerer Chevron */
}
.wsp-workshop__date svg {
    width: 1.05em;
    height: 1.05em;
    flex-shrink: 0;
    opacity: 0.9;
}
.wsp-workshop__back {
    margin-bottom: 1rem;
}
.wsp-workshop__back a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: hsl(var(--wsp-muted));
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: background-color 0.15s, color 0.15s;
}
.wsp-workshop__back a:hover {
    background: hsl(var(--wsp-border) / 0.5);
    color: hsl(var(--wsp-text));
}

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

.wsp-workshop__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 900px) {
    .wsp-workshop__grid { grid-template-columns: 1fr; }
}

.wsp-workshop__main > * + *,
.wsp-workshop__side > * + * {
    margin-top: 1.25rem;
}
.wsp-workshop__side { position: sticky; top: 1rem; }
@media (max-width: 900px) { .wsp-workshop__side { position: static; } }

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

.wsp-card {
    background: hsl(var(--wsp-card));
    border: 1px solid hsl(var(--wsp-border));
    border-radius: var(--wsp-radius);
    padding: 1.75rem;
    box-shadow: var(--wsp-shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}
.wsp-card:hover {
    box-shadow: var(--wsp-shadow-hover);
}
.wsp-card--accent {
    background: linear-gradient(180deg, #fff 0%, hsl(221 80% 98%) 100%);
    border: 1px solid hsl(221 80% 90%);
}
.wsp-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: hsl(var(--wsp-text));
    letter-spacing: -0.01em;
}
.wsp-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.wsp-prose { color: hsl(var(--wsp-text) / 0.85); }
.wsp-prose > * + * { margin-top: 1rem; }
.wsp-prose p { margin: 0 0 1rem; }
.wsp-prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.wsp-prose li + li { margin-top: 0.25rem; }

/* ===== LEADER & CO ===== */

.wsp-leader {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid hsl(var(--wsp-border));
}
.wsp-leader:last-child { border-bottom: 0; padding-bottom: 0; }
.wsp-leader:first-child { padding-top: 0; }
.wsp-leader img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid hsl(var(--wsp-card));
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.wsp-leader__name { font-weight: 600; margin: 0 0 0.25rem; }
.wsp-leader__role {
    display: inline-block;
    color: hsl(var(--wsp-primary));
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    background: hsl(var(--wsp-primary) / 0.1);
    padding: 0.2rem 0.55rem;
    border-radius: 99px;
}
.wsp-leader__bio { font-size: 0.95rem; color: hsl(var(--wsp-text) / 0.7); margin: 0; }

.wsp-organizers, .wsp-venues, .wsp-tariffs, .wsp-voices {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wsp-organizers li {
    padding: 0.85rem 0;
    border-bottom: 1px solid hsl(var(--wsp-border));
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.wsp-organizers li:last-child { border-bottom: 0; padding-bottom: 0; }
.wsp-organizers li:first-child { padding-top: 0; }
.wsp-organizers img { height: 32px; width: auto; }
.wsp-organizers a {
    color: hsl(var(--wsp-text));
    text-decoration: none;
    font-weight: 500;
}
.wsp-organizers a:hover { color: hsl(var(--wsp-primary)); }

.wsp-venues li {
    padding: 1rem 0;
    border-bottom: 1px solid hsl(var(--wsp-border));
}
.wsp-venues li:last-child { border-bottom: 0; padding-bottom: 0; }
.wsp-venues li:first-child { padding-top: 0; }
.wsp-venues strong { font-size: 1rem; }
.wsp-venues p { margin: 0.25rem 0; color: hsl(var(--wsp-text) / 0.7); font-size: 0.95rem; }
.wsp-venues a {
    color: hsl(var(--wsp-primary));
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}
.wsp-venues a:hover { text-decoration: underline; }

.wsp-schedule {
    list-style: none;
    margin: 0;
    padding: 0;
}
.wsp-schedule li {
    padding: 1.25rem 0 1.25rem 1rem;
    border-bottom: 1px solid hsl(var(--wsp-border));
    position: relative;
}
.wsp-schedule li:last-child { border-bottom: 0; padding-bottom: 0; }
.wsp-schedule li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.7rem;
    width: 8px;
    height: 8px;
    background: hsl(var(--wsp-primary));
    border-radius: 50%;
    box-shadow: 0 0 0 4px hsl(var(--wsp-primary) / 0.15);
}
.wsp-schedule__time {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: hsl(var(--wsp-muted));
    font-weight: 600;
    margin-bottom: 0.35rem;
}
.wsp-schedule strong { font-weight: 600; }
.wsp-schedule p { margin: 0.25rem 0 0; color: hsl(var(--wsp-text) / 0.7); }

.wsp-tariffs li {
    padding: 0.85rem 0;
    border-bottom: 1px solid hsl(var(--wsp-border));
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.25rem 0.75rem;
}
.wsp-tariffs li:last-child { border-bottom: 0; padding-bottom: 0; }
.wsp-tariffs li:first-child { padding-top: 0; }
.wsp-tariff__label { font-weight: 500; }
.wsp-tariff__amount {
    font-weight: 700;
    color: hsl(var(--wsp-text));
    font-variant-numeric: tabular-nums;
}
.wsp-tariff__desc {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    color: hsl(var(--wsp-muted));
    margin: 0;
}

.wsp-voices li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid hsl(var(--wsp-border));
}
.wsp-voices li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ===== CTA-BUTTONS ===== */

.wsp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
    text-align: center;
    background: linear-gradient(135deg, hsl(var(--wsp-primary)) 0%, hsl(245 70% 55%) 100%);
    color: hsl(var(--wsp-primary-fg));
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
    box-shadow: 0 4px 14px hsl(var(--wsp-primary) / 0.35);
    letter-spacing: -0.005em;
}
.wsp-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px hsl(var(--wsp-primary) / 0.45);
}
.wsp-cta:active { transform: translateY(0); }
.wsp-cta:disabled { opacity: 0.6; cursor: not-allowed; }
.wsp-cta--ghost {
    background: transparent;
    color: hsl(var(--wsp-primary));
    border: 1.5px solid hsl(var(--wsp-primary) / 0.3);
    box-shadow: none;
}
.wsp-cta--ghost:hover {
    background: hsl(var(--wsp-primary) / 0.08);
    border-color: hsl(var(--wsp-primary));
    transform: none;
    box-shadow: none;
}

/* Verfügbarkeit */
.wsp-availability {
    padding: .75rem 1rem;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.wsp-availability--low {
    background: hsl(45 90% 96%);
    border: 1px solid hsl(45 80% 80%);
    color: hsl(35 80% 30%);
}
.wsp-availability--full {
    background: hsl(0 80% 96%);
    border: 1px solid hsl(0 80% 85%);
    color: hsl(0 70% 35%);
}

/* Step-by-Step Wizard */
.wsp-steps {
    margin: 0 0 1.5rem;
}
.wsp-steps__progress {
    height: 6px;
    background: hsl(var(--wsp-border));
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.wsp-steps__bar {
    height: 100%;
    background: linear-gradient(90deg, hsl(var(--wsp-primary)) 0%, hsl(245 70% 55%) 100%);
    border-radius: 99px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.wsp-steps__labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .875rem;
}
.wsp-step-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: hsl(var(--wsp-muted));
    font-weight: 500;
    transition: color 0.2s;
}
.wsp-step-label.is-active { color: hsl(var(--wsp-primary)); }
.wsp-step-label.is-done { color: hsl(142 70% 35%); }
.wsp-step-num {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: hsl(var(--wsp-border));
    color: hsl(var(--wsp-text) / 0.7);
    font-weight: 600;
    font-size: .8rem;
    flex-shrink: 0;
    transition: background-color 0.2s, color 0.2s;
}
.wsp-step-label.is-active .wsp-step-num {
    background: hsl(var(--wsp-primary));
    color: #fff;
    box-shadow: 0 0 0 4px hsl(var(--wsp-primary) / 0.2);
}
.wsp-step-label.is-done .wsp-step-num {
    background: hsl(142 70% 50%);
    color: #fff;
}
@media (max-width: 600px) {
    .wsp-steps__labels { font-size: .75rem; }
}

.wsp-steps-nav__row {
    display: flex;
    gap: .75rem;
    align-items: center;
}
.wsp-steps-nav__row > button { flex: 1; }
.wsp-steps-nav__row > button[hidden] { display: none !important; }

/* Login-Hint */
.wsp-login-hint {
    background: hsl(221 80% 97%);
    border-color: hsl(221 80% 90%);
    margin-bottom: 1.5rem;
}
.wsp-login-hint__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== FORMS ===== */

.wsp-form .wsp-card + .wsp-card { margin-top: 1.25rem; }
.wsp-form label {
    display: block;
    margin-bottom: 0;
}
.wsp-form label > span {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: hsl(var(--wsp-text));
}
.wsp-form input[type="text"],
.wsp-form input[type="email"],
.wsp-form input[type="tel"],
.wsp-form input[type="date"],
.wsp-form input[type="password"],
.wsp-form select,
.wsp-form textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid hsl(var(--wsp-border));
    border-radius: 10px;
    font: inherit;
    font-size: 0.95rem;
    background: #fff;
    color: hsl(var(--wsp-text));
    transition: border-color 0.15s, box-shadow 0.15s;
}
.wsp-form input::placeholder, .wsp-form textarea::placeholder {
    color: hsl(var(--wsp-muted) / 0.7);
}
.wsp-form input:focus,
.wsp-form select:focus,
.wsp-form textarea:focus {
    outline: 0;
    border-color: hsl(var(--wsp-primary));
    box-shadow: 0 0 0 4px hsl(var(--wsp-primary) / 0.15);
}

.wsp-grid {
    display: grid;
    gap: 1rem;
}
.wsp-grid-2 { grid-template-columns: 1fr 1fr; }
.wsp-grid-full { grid-column: 1 / -1; }
@media (max-width: 700px) {
    .wsp-grid-2 { grid-template-columns: 1fr; }
}

/* Tarif-Karten */
.wsp-tariff-list { display: grid; gap: 0.75rem; }
.wsp-tariff-option {
    position: relative;
    display: block;
    border: 1.5px solid hsl(var(--wsp-border));
    border-radius: 12px;
    padding: 1.1rem 1.25rem 1.1rem 3rem;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.wsp-tariff-option:hover {
    border-color: hsl(var(--wsp-primary) / 0.5);
    background: hsl(var(--wsp-primary) / 0.02);
}
.wsp-tariff-option:has(input:checked) {
    border-color: hsl(var(--wsp-primary));
    background: hsl(var(--wsp-primary) / 0.05);
    box-shadow: 0 0 0 4px hsl(var(--wsp-primary) / 0.1);
}
.wsp-tariff-option input[type="radio"] {
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: hsl(var(--wsp-primary));
}
.wsp-tariff-option__main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.05rem;
}
.wsp-tariff-option__price {
    color: hsl(var(--wsp-text));
    font-variant-numeric: tabular-nums;
}
.wsp-tariff-option__desc {
    display: block;
    margin-top: 0.4rem;
    color: hsl(var(--wsp-muted));
    font-size: 0.9rem;
    line-height: 1.5;
}
.wsp-tariff-option__note {
    display: inline-block;
    margin-top: 0.5rem;
    color: hsl(35 90% 35%);
    background: hsl(45 95% 95%);
    font-size: 0.825rem;
    padding: 0.25rem 0.625rem;
    border-radius: 8px;
    font-weight: 500;
}

/* Höhere Spezifität als ".wsp-form label" (sonst würde display:block die Checkbox
   über den Text stapeln). Checkbox steht neben dem Text. */
.wsp-form label.wsp-check,
.wsp-check {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    cursor: pointer;
    line-height: 1.5;
}
.wsp-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    border: 1.5px solid hsl(var(--wsp-border));
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    position: relative;
    transition: background-color .12s, border-color .12s;
}
.wsp-check input[type="checkbox"]:checked {
    background: hsl(var(--wsp-primary));
    border-color: hsl(var(--wsp-primary));
}
.wsp-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l3 3 5-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.wsp-check input[type="checkbox"]:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px hsl(var(--wsp-primary) / 0.15);
}
.wsp-form label.wsp-check > span,
.wsp-check > span {
    flex: 1;
    display: block;
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 400;
    color: hsl(var(--wsp-text) / 0.9);
}
.wsp-check + .wsp-check {
    border-top: 1px solid hsl(var(--wsp-border) / 0.5);
    margin-top: 0.5rem;
    padding-top: 0.85rem;
}

/* ===== LETZTER SCHRITT: 2-Spalten-Layout (Inhalt 2/3 + Sidebar 1/3) ===== */

.wsp-step-last__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}
@media (min-width: 768px) {
    .wsp-step-last__grid {
        grid-template-columns: 2fr 1fr;
    }
}
.wsp-step-last__main {
    min-width: 0;
}
.wsp-step-last__side {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: sticky;
    top: 1rem;
}
.wsp-summary-card {
    border: 1px solid hsl(var(--wsp-border));
    border-radius: 0.6rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, hsl(var(--wsp-primary) / 0.06), hsl(var(--wsp-primary) / 0.02));
}
.wsp-summary-card__label {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: hsl(var(--wsp-muted));
    font-weight: 600;
}
.wsp-summary-card__price {
    margin: 0.25rem 0 0;
    font-size: 1.85rem;
    font-weight: 700;
    color: hsl(var(--wsp-text));
    line-height: 1.1;
}
.wsp-summary-card__tariff {
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
    color: hsl(var(--wsp-text) / 0.8);
    font-weight: 500;
}
.wsp-summary-card__tariff:empty {
    display: none;
}
.wsp-summary-card__tax {
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
    color: hsl(var(--wsp-muted));
    line-height: 1.4;
}
.wsp-summary-card__tax:empty {
    display: none;
}

/* ===== ZAHLUNGSARTEN ===== */

.wsp-payment-methods {
    display: grid;
    gap: 0.75rem;
}

.wsp-payment-method-option {
    display: block;
    cursor: pointer;
}

.wsp-payment-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wsp-payment-method-option__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 2px solid hsl(var(--wsp-border));
    border-radius: var(--wsp-radius);
    background: hsl(var(--wsp-card));
    transition: border-color .15s, background-color .15s;
}

.wsp-payment-method-option:hover .wsp-payment-method-option__inner {
    border-color: hsl(var(--wsp-primary) / 0.4);
    background: hsl(var(--wsp-primary) / 0.03);
}

.wsp-payment-method-option input[type="radio"]:checked + .wsp-payment-method-option__inner {
    border-color: hsl(var(--wsp-primary));
    background: hsl(var(--wsp-primary) / 0.05);
}

.wsp-payment-method-option__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    background: hsl(var(--wsp-bg));
    border-radius: 10px;
}

/* Nachweis-Upload-Sektion (erscheint unter Tarif-Liste wenn Nachweis erforderlich) */
.wsp-proof-section {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: hsl(45 90% 96%);
    border: 1px solid hsl(45 80% 80%);
    border-radius: 12px;
}
.wsp-proof-section h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: hsl(35 80% 30%);
}
.wsp-proof-hint {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    color: hsl(35 50% 40%);
}
.wsp-proof-section input[type="file"] {
    width: 100%;
    padding: 0.4rem;
    background: #fff;
    border-radius: 8px;
}
.wsp-proof-status {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    color: hsl(var(--wsp-muted));
}
.wsp-proof-status--ok { color: hsl(142 70% 35%); font-weight: 500; }
.wsp-proof-status--error { color: hsl(0 73% 41%); font-weight: 500; }
.wsp-check span a {
    color: hsl(var(--wsp-primary));
    font-weight: 500;
}

/* Form-Actions */
.wsp-form-actions {
    margin-top: 2rem;
    padding: 1.75rem;
    background: hsl(var(--wsp-card));
    border-radius: var(--wsp-radius);
    border: 1px solid hsl(var(--wsp-border));
    box-shadow: var(--wsp-shadow);
}
.wsp-form-msg {
    margin: 0 0 0.875rem;
    min-height: 1.4em;
    font-size: 0.9rem;
    color: hsl(var(--wsp-muted));
    text-align: center;
}
.wsp-form-msg--error {
    color: hsl(0 73% 41%);
    background: hsl(0 80% 96%);
    padding: 0.625rem 0.875rem;
    border-radius: 8px;
    border: 1px solid hsl(0 80% 88%);
}

/* Teilnahmebedingungen — Collapsible */
.wsp-terms {
    background: hsl(var(--wsp-bg));
    border: 1px solid hsl(var(--wsp-border));
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 1rem;
}
.wsp-terms summary {
    cursor: pointer;
    padding: 0.625rem 1rem;
    font-weight: 500;
    color: hsl(var(--wsp-text));
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.wsp-terms summary::-webkit-details-marker { display: none; }
.wsp-terms summary::before {
    content: '▸';
    font-size: 0.8em;
    transition: transform 0.2s;
}
.wsp-terms[open] summary::before {
    transform: rotate(90deg);
}
.wsp-terms-content {
    padding: 0.5rem 1rem 1rem;
    font-size: 0.925rem;
    color: hsl(var(--wsp-text) / 0.8);
    line-height: 1.6;
}

/* Success-Page */
.wsp-success .wsp-card { padding: 3rem 2rem; }
.wsp-success h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: hsl(var(--wsp-text));
}
.wsp-success__icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(142 76% 65%) 0%, hsl(160 84% 39%) 100%);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px hsl(142 76% 50% / 0.3);
}

/* Print */
@media print {
    .wsp-public {
        padding: 0;
        max-width: none;
    }
    .wsp-workshop__header {
        margin: 0 0 2rem;
        padding: 1.5rem 0;
        background: none !important;
        color: hsl(var(--wsp-text)) !important;
        border-radius: 0;
        border-bottom: 2px solid hsl(var(--wsp-text));
    }
    .wsp-workshop__title { color: hsl(var(--wsp-text)) !important; }
    .wsp-cta, .wsp-cta--ghost { display: none !important; }
    .wsp-card { box-shadow: none; border: 1px solid #ddd; page-break-inside: avoid; }
}
