/* Workshop-Übersicht – Dark Theme wie Home/Tickets */
/* Änderungsprotokoll: 2026-10-01 | subagent-create-screen | @skill-css-rules, @skill-change-provenance | screen-workshops */

/* .screen-workshops-page | Änderungsprotokoll: 2026-10-01 | subagent-create-screen | @skill-css-rules, @skill-change-provenance | Page Root */
.screen-workshops-page {
    width: min(var(--color-home-max), calc(100% - 28px));
    margin: 0 auto;
    color: var(--color-home-text);
    padding: 32px 0 64px;
}

/* .screen-workshops-headline-wrap | Änderungsprotokoll: 2026-10-01 | subagent-create-screen | @skill-css-rules, @skill-change-provenance | Headline */
.screen-workshops-headline-wrap {
    margin: 0 0 36px;
}

/* .screen-workshops-headline | Änderungsprotokoll: 2026-10-01 | subagent-create-screen | @skill-css-rules, @skill-change-provenance | H1 */
.screen-workshops-headline {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin: 0 0 18px;
    color: var(--color-home-text);
}

/* .screen-workshops-intro | Änderungsprotokoll: 2026-10-01 | subagent-create-screen | @skill-css-rules, @skill-change-provenance | Intro */
.screen-workshops-intro {
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--color-home-line);
    border-left: 4px solid var(--color-home-cyan);
    border-radius: 12px;
    background: var(--color-home-panel);
    color: var(--color-home-lead);
    line-height: 1.65;
    font-size: 15px;
}

/* .screen-workshops-sold-out-info | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Grosse Ausverkauft-Infobox unter H1 */
.screen-workshops-sold-out-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 28px 28px 26px;
    border: 1px solid var(--color-danger-border);
    border-left: 6px solid var(--color-danger);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(248, 113, 113, 0.12), var(--color-home-panel));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

/* .screen-workshops-sold-out-info-title | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Infobox Titel */
.screen-workshops-sold-out-info-title {
    margin: 0;
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--color-home-text);
}

/* .screen-workshops-sold-out-info-text | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Infobox Text */
.screen-workshops-sold-out-info-text {
    margin: 0;
    max-width: 52rem;
    color: var(--color-home-lead);
    line-height: 1.7;
    font-size: clamp(15px, 1.6vw, 17px);
}

/* .screen-workshops-sold-out-info-waitlist-btn | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Infobox CTA */
.screen-workshops-sold-out-info-waitlist-btn {
    min-height: 52px;
    padding: 0 28px;
    font-size: 16px;
}

/* .screen-workshops-grid | Änderungsprotokoll: 2026-10-01 | subagent-create-screen | @skill-css-rules, @skill-change-provenance | Grid */
.screen-workshops-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

/* .screen-workshops-tile | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Tile Flex-Spalte; Pad-X Variable fuer volle CTA-Breite */
.screen-workshops-tile {
    --screen-workshops-tile-pad-x: 26px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    padding: 28px var(--screen-workshops-tile-pad-x) 30px;
    border: 1px solid var(--color-home-line);
    border-radius: 14px;
    background: var(--color-home-panel);
}

/* .screen-workshops-tile-header | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Badge und Titel gestapelt ohne Ueberlappung */
.screen-workshops-tile-header {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0 0 10px;
    position: static;
}

/* .screen-workshops-tile-title | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Title volle Breite unter Badge ohne Overlay */
.screen-workshops-tile-title {
    display: block;
    position: static;
    float: none;
    clear: both;
    width: 100%;
    max-width: 100%;
    font-size: clamp(22px, 2.4vw, 28px);
    margin: 0;
    padding: 0;
    color: var(--color-home-text);
    line-height: 1.25;
}

/* .screen-workshops-tile-desc | Änderungsprotokoll: 2026-10-01 | subagent-create-screen | @skill-css-rules, @skill-change-provenance | Description */
.screen-workshops-tile-desc {
    margin: 0 0 12px;
    color: var(--color-home-muted);
    line-height: 1.55;
    flex-grow: 1;
}

/* .screen-workshops-tile-date | Änderungsprotokoll: 2026-10-01 | subagent-create-screen | @skill-css-rules, @skill-change-provenance | Date */
.screen-workshops-tile-date {
    margin: 0 0 10px;
    color: var(--color-home-cyan);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* .screen-workshops-tile-price | Änderungsprotokoll: 2026-10-01 | auto | @skill-css-rules, @skill-change-provenance | Preis kleiner auf Workshop-Kacheln */
.screen-workshops-tile-price {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--color-home-text);
}

/* .screen-workshops-price-suffix | Änderungsprotokoll: 2026-10-01 | subagent-create-screen | @skill-css-rules, @skill-change-provenance | Suffix */
.screen-workshops-price-suffix {
    font-size: 14px;
    color: var(--color-home-muted);
    font-weight: 600;
}

/* .screen-workshops-btn | Änderungsprotokoll: 2026-10-03 | parent-agent | @skill-css-rules, @skill-change-provenance | CTA dunkles Türkis + weisse Schrift */
.screen-workshops-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    background: var(--color-primary-button);
    color: var(--color-primary-button-text);
    font-weight: 800;
    text-decoration: none;
    align-self: flex-start;
    border: none;
    cursor: pointer;
    font: inherit;
}

/* .screen-workshops-sold-out-badge | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Badge im Flow ueber Titel; VERBOTEN absolute top/right Overlay */
.screen-workshops-sold-out-badge {
    display: inline-flex;
    position: static;
    top: auto;
    right: auto;
    left: auto;
    float: none;
    clear: both;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    z-index: auto;
    margin: 0;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--color-danger);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

/* .screen-workshops-tile-actions | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | CTA-Zeile volle Kachelbreite (Padding ausgleichen) */
.screen-workshops-tile-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: auto;
    margin-left: calc(-1 * var(--screen-workshops-tile-pad-x));
    margin-right: calc(-1 * var(--screen-workshops-tile-pad-x));
    width: calc(100% + (2 * var(--screen-workshops-tile-pad-x)));
    box-sizing: border-box;
}

/* .screen-workshops-tile-action-btn | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Details-CTA volle Kachelbreite */
.screen-workshops-tile-action-btn {
    align-self: stretch;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 0;
}

/* .screen-workshops-waitlist-modal | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | Modal Overlay z-index ueber Feedback */
.screen-workshops-waitlist-modal {
    position: fixed;
    inset: 0;
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* .screen-workshops-waitlist-modal[hidden] | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | hidden gegen display:flex mit !important */
.screen-workshops-waitlist-modal[hidden] {
    display: none !important;
}

html.screen-workshops-waitlist-modal-page-scroll-locked,
html.screen-workshops-waitlist-modal-page-scroll-locked body {
    overflow: hidden;
}

/* .screen-workshops-waitlist-modal-backdrop | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | Backdrop 90% z-index 0 */
.screen-workshops-waitlist-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.9);
}

/* .screen-workshops-waitlist-modal-content | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | Dialog ueber Backdrop */
.screen-workshops-waitlist-modal-content {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 28px 24px 24px;
    border-radius: 14px;
    border: 2px solid var(--color-home-line);
    background: var(--color-home-panel);
    color: var(--color-home-text);
}

/* .screen-workshops-waitlist-modal-header-close-button | Änderungsprotokoll: 2026-10-25 | parent-agent | @skill-modal-popup-windows, @skill-css-rules, @skill-change-provenance | ×-Button z-index 2 ueber Dialog; Premium-Close-Look aus widgets-modals.css */
.screen-workshops-waitlist-modal-header-close-button {
    z-index: 2;
}

/* .screen-workshops-waitlist-modal-title | Änderungsprotokoll: 2026-10-25 | parent-agent | @skill-css-rules, @skill-change-provenance | Modal H2 Abstand Premium-Close */
.screen-workshops-waitlist-modal-title {
    margin: 0 3.25rem 12px 0;
    font-size: 24px;
}

/* .screen-workshops-waitlist-modal-intro | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Modal Intro */
.screen-workshops-waitlist-modal-intro {
    margin: 0 0 16px;
    color: var(--color-home-lead);
    line-height: 1.55;
    font-size: 14px;
}

/* .screen-workshops-waitlist-workshop-title | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | gewählter Workshop */
.screen-workshops-waitlist-workshop-title {
    margin: 0 0 14px;
    color: var(--color-home-cyan);
    font-weight: 700;
}

/* .screen-workshops-waitlist-success | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Erfolg */
.screen-workshops-waitlist-success {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--color-success);
    color: var(--color-success);
}

/* .screen-workshops-waitlist-global-error | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Globalfehler */
.screen-workshops-waitlist-global-error {
    margin: 0 0 14px;
    color: var(--color-danger);
}

/* .screen-workshops-waitlist-form .base-form-group | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Abstände */
.screen-workshops-waitlist-form .base-form-group {
    margin-bottom: 12px;
}

/* .screen-workshops-waitlist-field-invalid | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-modal-popup-windows | ungültig rot */
.screen-workshops-waitlist-field-invalid {
    border-color: var(--color-danger) !important;
    box-shadow: 0 0 0 1px var(--color-danger);
}

/* .screen-workshops-waitlist-field-valid | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-modal-popup-windows | gültig grün */
.screen-workshops-waitlist-field-valid {
    border-color: var(--color-success) !important;
    box-shadow: 0 0 0 1px var(--color-success);
}

/* .screen-workshops-waitlist-field-error-hidden | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Fehler versteckt */
.screen-workshops-waitlist-field-error-hidden {
    display: none;
}

/* .screen-workshops-waitlist-spam-svg | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Captcha SVG */
.screen-workshops-waitlist-spam-svg {
    width: 80px;
    height: 24px;
    margin-bottom: 8px;
}

/* .screen-workshops-waitlist-spam-text | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Captcha Text */
.screen-workshops-waitlist-spam-text {
    fill: var(--color-home-text);
    font-size: 16px;
    font-weight: 700;
}

/* .screen-workshops-waitlist-modal-actions | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-modal-popup-windows | nur CTA */
.screen-workshops-waitlist-modal-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}

/* .screen-workshops-waitlist-submit-button | Änderungsprotokoll: 2026-10-15 | parent-agent | @skill-css-rules, @skill-modal-popup-windows | Submit width auto */
.screen-workshops-waitlist-submit-button {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 769px) {
    /* .screen-workshops-grid | Änderungsprotokoll: 2026-10-01 | subagent-create-screen | @skill-css-rules, @skill-change-provenance | Desktop 3 Spalten */
    .screen-workshops-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

