/*
 * Warteliste-Bühne (Widget cod_warteliste) — EIN EIGENES DESIGN, getrennt von der Plattform.
 *
 * Auftrag des Betreibers vom 13.09.2026: Die Startseite der Warteliste communityofdreams.net
 * bekommt ein komplett eigenes Design, losgelöst vom Standard-Design von Community of Dreams,
 * mit eigenen Variablen, damit sich nichts vermischt.
 *
 * DREI REGELN, bewacht als embed_warteliste_kapselung (includes/widget-warteliste.php):
 * 1. Jede Variable heißt --wl-* und steht innerhalb von .wl-seite, nie auf :root, html oder body.
 * 2. --cod-* steht nur im Brückenblock `.wl-seite .cod-embed-newsletter` — dort werden die
 *    Variablen umgelenkt, die das geerbte Anmeldeformular selbst anbietet. Sonst nirgends.
 * 3. Die Pflichttexte des Formulars (.cod-elm__legal, .cod-elm__legalbox) werden weder
 *    versteckt noch unter 12 px verkleinert.
 *
 * Schriften: nur Plattform-Schriften. Lato und Arial Rounded kommen aus embed-design.css
 * (lädt das geerbte Formular ohnehin), dort mit Gewicht 400 deklariert — deshalb steht hier
 * überall font-weight:400, sonst fettet der Browser ein zweites Mal. Permanent Marker liegt
 * seit 13.09.2026 als eigene Datei in assets/fonts und trägt nur das Akzentwort.
 *
 * Baseline Safari/iOS 15.4: kein color-mix mit var(), keine Container-Queries, dvh nur mit
 * vh davor, -webkit-Zwillinge für background-clip.
 */

@font-face {
    font-family: "WL Permanent Marker";
    src: url("../fonts/permanent-marker.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.wl-seite {
    --wl-nacht: #0d1431;
    --wl-nacht-hell: #17224c;
    --wl-glut: #f59a1b;
    --wl-sonne: #f3c531;
    --wl-magenta: #d9479a;
    --wl-himmel: #4ba6dc;
    --wl-gras: #4cb46c;
    --wl-papier: #fbf6ee;
    --wl-weiss: #ffffff;
    --wl-text-hell: #f5f2ff;
    --wl-leise-hell: #b9c1e0;
    --wl-text-dunkel: #1b2140;
    --wl-leise-dunkel: #555d7b;
    --wl-rand: rgba(28, 42, 87, 0.12);
    --wl-feld-rand: #cfd5e6;
    --wl-knopf: linear-gradient(95deg, #f3c531, #f59a1b);
    --wl-knopf-schrift: #1b1030;
    --wl-display: "Lato Heavy - Semibold", "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wl-etikett: "Lato Semibold - Family", "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wl-lauf: "Arial Rounded MT Light - Family", "Arial Rounded MT", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wl-hand: "WL Permanent Marker", "Comic Sans MS", cursive;
    --wl-breite: 1180px;
    --wl-radius: 22px;
    --wl-radius-feld: 14px;

    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 0;
    background: var(--wl-nacht);
    color: var(--wl-text-hell);
    font-family: var(--wl-lauf);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-align: left;
}
.wl-seite *,
.wl-seite *::before,
.wl-seite *::after { box-sizing: border-box; }
.wl-seite a { color: inherit; }
.wl-seite .wl-innen { position: relative; z-index: 1; max-width: var(--wl-breite); margin: 0 auto; padding: 0 24px; }

/* ── Erstes Bild ─────────────────────────────────────────────────── */
.wl-seite .wl-start {
    position: relative;
    overflow: hidden;
    padding: 28px 0 96px;
    background:
        radial-gradient(1400px 520px at 72% 112%, rgba(245, 154, 27, 0.78), transparent 64%),
        radial-gradient(1000px 460px at 16% 108%, rgba(217, 71, 154, 0.62), transparent 62%),
        radial-gradient(800px 360px at 46% 100%, rgba(243, 197, 49, 0.42), transparent 60%),
        radial-gradient(900px 500px at 95% -10%, rgba(75, 166, 220, 0.22), transparent 60%),
        linear-gradient(180deg, #0a1029 0%, #111a3f 50%, #2b2155 100%);
}
.wl-seite .wl-sterne {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    pointer-events: none;
    background-image:
        radial-gradient(2.2px 2.2px at 12% 18%, #fff 50%, transparent 55%),
        radial-gradient(1.6px 1.6px at 28% 32%, #fff 50%, transparent 55%),
        radial-gradient(2.6px 2.6px at 46% 9%, #fff 50%, transparent 55%),
        radial-gradient(1.6px 1.6px at 63% 24%, #fff 50%, transparent 55%),
        radial-gradient(2.2px 2.2px at 81% 12%, #fff 50%, transparent 55%),
        radial-gradient(1.6px 1.6px at 91% 36%, #fff 50%, transparent 55%),
        radial-gradient(2px 2px at 6% 44%, #fff 50%, transparent 55%),
        radial-gradient(1.6px 1.6px at 36% 50%, #fff 50%, transparent 55%),
        radial-gradient(2.4px 2.4px at 54% 40%, #fff 50%, transparent 55%),
        radial-gradient(1.6px 1.6px at 72% 6%, #fff 50%, transparent 55%),
        radial-gradient(1.8px 1.8px at 22% 6%, #fff 50%, transparent 55%),
        radial-gradient(1.4px 1.4px at 97% 8%, #fff 50%, transparent 55%);
}
.wl-seite .wl-kopfleiste { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wl-seite .wl-logo { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); line-height: 0; }
.wl-seite .wl-logo img { display: block; height: 40px; width: auto; max-width: 100%; }
.wl-seite .wl-logo-text { font-family: var(--wl-display); font-weight: 400; font-size: 18px; line-height: 1.2; color: var(--wl-text-dunkel); }
.wl-seite .wl-kopf-link {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
    border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--wl-text-hell); font-family: var(--wl-etikett); font-weight: 400; font-size: 15px; text-decoration: none;
}
.wl-seite .wl-kopf-link:hover,
.wl-seite .wl-kopf-link:focus-visible { background: rgba(255, 255, 255, 0.1); color: var(--wl-text-hell); }
.wl-seite .wl-kopf-link:focus-visible { outline: 3px solid var(--wl-himmel); outline-offset: 3px; }

/* Raster mit Flächen: Am Desktop steht die Karte rechts neben Titel und Unterzeile, auf dem
   Telefon kommt sie DIREKT nach dem Titel — so steht das E-Mail-Feld im ersten Bildschirm. */
.wl-seite .wl-held {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    grid-template-areas: "kopf karte" "unter karte";
    column-gap: 56px;
    row-gap: 26px;
    margin-top: 56px;
}
.wl-seite .wl-held-kopf { grid-area: kopf; align-self: end; }
.wl-seite .wl-unterzeile { grid-area: unter; align-self: start; }
.wl-seite .wl-karte { grid-area: karte; align-self: center; }

.wl-seite .wl-oberzeile {
    display: inline-flex; align-items: baseline; gap: 10px; margin: 0 0 20px;
    font-family: var(--wl-etikett); font-weight: 400; font-size: 13px; line-height: 1.45;
    letter-spacing: .14em; text-transform: uppercase; color: var(--wl-sonne);
}
.wl-seite .wl-puls {
    flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--wl-gras);
    animation: wl-puls 2.4s ease-out infinite;
}
@keyframes wl-puls {
    0% { box-shadow: 0 0 0 0 rgba(76, 180, 108, .6); }
    80%, 100% { box-shadow: 0 0 0 12px rgba(76, 180, 108, 0); }
}
.wl-seite .wl-titel {
    margin: 0; padding: 0;
    font-family: var(--wl-display); font-weight: 400;
    font-size: clamp(42px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -0.025em;
    color: var(--wl-text-hell); text-transform: none; text-wrap: balance;
}
.wl-seite .wl-hand {
    display: inline-block; padding: 0 .06em;
    font-family: var(--wl-hand); font-weight: 400; letter-spacing: 0; transform: rotate(-3deg);
    color: var(--wl-glut);
    background: linear-gradient(95deg, #f3c531, #f59a1b 45%, #d9479a);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.wl-seite .wl-unterzeile { margin: 0; max-width: 34em; font-size: clamp(18px, 1.7vw, 21px); color: var(--wl-leise-hell); }
.wl-seite .wl-unterzeile b,
.wl-seite .wl-unterzeile strong { color: var(--wl-text-hell); font-weight: 400; font-family: var(--wl-lauf); }

/* ── Die Karte mit dem geerbten Anmeldeformular ───────────────────── */
.wl-seite .wl-karte {
    position: relative;
    background: var(--wl-weiss);
    color: var(--wl-text-dunkel);
    border-radius: var(--wl-radius);
    padding: 30px;
    box-shadow: 0 30px 80px -20px rgba(4, 8, 30, 0.7);
}
.wl-seite .wl-karte::before {
    content: ""; position: absolute; top: -2px; right: -2px; bottom: -2px; left: -2px;
    border-radius: 24px; z-index: -1;
    background: linear-gradient(135deg, #f3c531, #d9479a 50%, #4ba6dc);
}
.wl-seite .wl-karte-titel {
    margin: 0 0 6px; padding: 0;
    font-family: var(--wl-display); font-weight: 400; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em;
    color: var(--wl-text-dunkel); text-transform: none;
}
.wl-seite .wl-karte-hinweis { margin: 0 0 20px; font-size: 15px; line-height: 1.55; color: var(--wl-leise-dunkel); }

/* Brückenblock: die Variablen, die das Formular selbst anbietet, auf die Bühne umgelenkt. */
.wl-seite .cod-embed-newsletter {
    --cod-newsletter-cta-bg: var(--wl-knopf);
    --cod-newsletter-cta-color: var(--wl-knopf-schrift);
    --cod-newsletter-cta-radius: 999px;
    --cod-newsletter-field-radius: var(--wl-radius-feld);
    --cod-modal-field-radius: var(--wl-radius-feld);
    --cod-color-muted: var(--wl-leise-dunkel);
    max-width: none;
    width: 100%;
    margin: 0;
    color: var(--wl-text-dunkel);
}
.wl-seite .cod-elm__panel { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; max-width: none; }
.wl-seite .cod-elm__panel form { margin: 0; }
.wl-seite .cod-elm__panel p { margin: 0 0 14px; }
.wl-seite .cod-elm__panel label {
    display: block; margin: 0 0 6px;
    font-family: var(--wl-etikett); font-weight: 400; font-size: 14px; line-height: 1.3; color: var(--wl-text-dunkel);
}
.wl-seite .cod-elm__panel input[type="text"],
.wl-seite .cod-elm__panel input[type="email"] {
    display: block; width: 100%; min-height: 50px; margin: 0; padding: 0 16px;
    border: 1.5px solid var(--wl-feld-rand); background: var(--wl-weiss); color: var(--wl-text-dunkel);
    font-family: var(--wl-lauf); font-weight: 400; font-size: 16px; line-height: 1.2; box-shadow: none;
}
.wl-seite .cod-elm__panel input[type="text"]:focus,
.wl-seite .cod-elm__panel input[type="email"]:focus {
    outline: none; border-color: var(--wl-himmel); box-shadow: 0 0 0 4px rgba(75, 166, 220, .22);
}
.wl-seite .cod-elm__legal { color: var(--wl-leise-dunkel); }
.wl-seite .cod-elm__submit-wrap { margin: 0; }
.wl-seite .cod-elm__btn-primary {
    width: 100%; min-height: 54px; padding: 0 24px;
    font-family: var(--wl-etikett); font-weight: 400; font-size: 17px; line-height: 1.2;
}
.wl-seite .wl-vorteile {
    display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 14px 0 0; padding: 0; list-style: none;
    font-size: 14px; color: var(--wl-leise-dunkel);
}
.wl-seite .wl-vorteile li { margin: 0; padding: 0; }
.wl-seite .wl-vorteile li::before { content: "\2713"; margin-right: 6px; color: var(--wl-gras); }

/* ── Helle Abschnitte ────────────────────────────────────────────── */
.wl-seite .wl-hell { background: var(--wl-papier); color: var(--wl-text-dunkel); padding: 96px 0; }
.wl-seite .wl-etikett {
    margin: 0 0 12px; font-family: var(--wl-etikett); font-weight: 400; font-size: 13px;
    letter-spacing: .14em; text-transform: uppercase; color: #b3337a;
}
.wl-seite .wl-abschnitt-titel {
    margin: 0; padding: 0; max-width: 18em;
    font-family: var(--wl-display); font-weight: 400; font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08; letter-spacing: -0.02em; color: var(--wl-text-dunkel); text-transform: none; text-wrap: balance;
}
.wl-seite .wl-drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.wl-seite .wl-punkt { padding-top: 22px; border-top: 2px solid var(--wl-rand); }
.wl-seite .wl-blase { display: block; width: 46px; height: 40px; margin: 0 0 18px; }
.wl-seite .wl-punkt-titel { margin: 0 0 8px; padding: 0; font-family: var(--wl-display); font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--wl-text-dunkel); text-transform: none; }
.wl-seite .wl-punkt p { margin: 0; color: var(--wl-leise-dunkel); }
.wl-seite .wl-kulisse {
    display: flex; gap: 18px; align-items: flex-start; margin-top: 64px; padding: 26px 30px;
    border-radius: var(--wl-radius); background: var(--wl-weiss); border: 1px solid var(--wl-rand);
}
.wl-seite .wl-kulisse .wl-blase { flex: 0 0 auto; margin: 0; }
.wl-seite .wl-kulisse p { margin: 0; color: var(--wl-text-dunkel); }
.wl-seite .wl-kulisse strong { font-family: var(--wl-etikett); font-weight: 400; }
.wl-seite .wl-zweiter-abschnitt { margin-top: 96px; }

.wl-seite .wl-schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 56px 0 0; padding: 0; list-style: none; counter-reset: wl-schritt; }
.wl-seite .wl-schritte li {
    counter-increment: wl-schritt; margin: 0; padding: 26px;
    border-radius: var(--wl-radius); background: var(--wl-nacht); color: var(--wl-text-hell);
}
.wl-seite .wl-schritte li::before {
    content: counter(wl-schritt); display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%;
    font-family: var(--wl-display); font-weight: 400; font-size: 18px; color: var(--wl-nacht); background: var(--wl-sonne);
}
.wl-seite .wl-schritt-titel { margin: 0 0 6px; padding: 0; font-family: var(--wl-display); font-weight: 400; font-size: 20px; line-height: 1.25; color: var(--wl-text-hell); text-transform: none; }
.wl-seite .wl-schritte p { margin: 0; font-size: 16px; color: var(--wl-leise-hell); }

/* ── Das Band ─────────────────────────────────────────────────────── */
.wl-seite .wl-band { overflow: hidden; padding: 88px 0; background: var(--wl-nacht-hell); text-align: center; }
.wl-seite .wl-band p {
    margin: 0; font-family: var(--wl-hand); font-weight: 400; font-size: clamp(30px, 4.6vw, 60px);
    line-height: 1.2; color: var(--wl-text-hell); transform: rotate(-1.5deg);
}
.wl-seite .wl-band span { display: inline-block; margin: 0 .15em; }
.wl-seite .wl-band span:nth-child(1) { color: var(--wl-himmel); }
.wl-seite .wl-band span:nth-child(2) { color: var(--wl-gras); }
.wl-seite .wl-band span:nth-child(3) { color: var(--wl-glut); }

/* ── Häufige Fragen ───────────────────────────────────────────────── */
.wl-seite .wl-fragen { max-width: 820px; margin: 48px 0 0; }
.wl-seite .wl-fragen details { border-bottom: 1px solid var(--wl-rand); }
.wl-seite .wl-fragen summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    min-height: 64px; cursor: pointer; list-style: none;
    font-family: var(--wl-etikett); font-weight: 400; font-size: 18px; color: var(--wl-text-dunkel);
}
.wl-seite .wl-fragen summary::-webkit-details-marker { display: none; }
.wl-seite .wl-fragen summary::after { content: "+"; flex: 0 0 auto; font-family: var(--wl-display); font-size: 26px; color: #b3337a; transition: transform .2s ease; }
.wl-seite .wl-fragen details[open] summary::after { transform: rotate(45deg); }
.wl-seite .wl-fragen summary:focus-visible { outline: 3px solid var(--wl-himmel); outline-offset: 2px; }
.wl-seite .wl-fragen details p { margin: 0 0 20px; max-width: 40em; color: var(--wl-leise-dunkel); }
.wl-seite .wl-fragen details a { text-decoration: underline; }

/* ── Schluss ──────────────────────────────────────────────────────── */
.wl-seite .wl-schluss {
    overflow: hidden; padding: 104px 0; text-align: center;
    background:
        radial-gradient(900px 360px at 50% 120%, rgba(245, 154, 27, 0.5), transparent 62%),
        radial-gradient(700px 300px at 20% 110%, rgba(217, 71, 154, 0.35), transparent 60%),
        var(--wl-nacht);
}
.wl-seite .wl-schluss-titel {
    margin: 0 auto; padding: 0; max-width: 14em;
    font-family: var(--wl-display); font-weight: 400; font-size: clamp(34px, 5vw, 64px);
    line-height: 1.05; letter-spacing: -0.02em; color: var(--wl-text-hell); text-transform: none;
}
.wl-seite .wl-schluss-knopf {
    display: inline-flex; align-items: center; justify-content: center; min-height: 54px; margin-top: 32px; padding: 0 34px;
    border-radius: 999px; background: var(--wl-knopf); color: var(--wl-knopf-schrift);
    font-family: var(--wl-etikett); font-weight: 400; font-size: 17px; text-decoration: none;
    box-shadow: 0 12px 28px -8px rgba(245, 154, 27, .7); transition: transform .15s ease;
}
.wl-seite .wl-schluss-knopf:hover { transform: translateY(-1px); color: var(--wl-knopf-schrift); }
.wl-seite .wl-schluss-knopf:focus-visible { outline: 3px solid var(--wl-himmel); outline-offset: 3px; }

/* ── Breiten ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .wl-seite .wl-held {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "kopf" "karte" "unter";
        margin-top: 36px;
    }
    .wl-seite .wl-drei,
    .wl-seite .wl-schritte { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .wl-seite .wl-hell { padding: 72px 0; }
    .wl-seite .wl-zweiter-abschnitt { margin-top: 72px; }
}
@media (max-width: 480px) {
    .wl-seite .wl-innen { padding: 0 18px; }
    .wl-seite .wl-start { padding-bottom: 72px; }
    .wl-seite .wl-karte { padding: 22px; }
    .wl-seite .wl-kopf-link { display: none; }
    .wl-seite .wl-logo img { height: 32px; }
    .wl-seite .wl-oberzeile { font-size: 12px; letter-spacing: .1em; }
    .wl-seite .wl-kulisse { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .wl-seite .wl-puls { animation: none; }
    .wl-seite .wl-fragen summary::after,
    .wl-seite .wl-schluss-knopf { transition: none; }
}
