/**
 * Supporter Wall - Frontend Stylesheet
 * 
 * INHALTSVERZEICHNIS:
 * 0. Globale CSS-Variablen (:root) -> Farben, Schriften, Größen & Template-Einstellungen
 * 1. Grund-Container & Layout-Wrapper
 * 2. Wand-Kopfzeile (Überschrift links & Filter rechts)
 * 3. Masonry-Grid (Stabiles 3-Spalten Flex-Layout)
 * 4. Unterstützer-Karten (Kachel-Aufbau & Hover-Effekte)
 * 5. Foto-Bereich & Namens-Badge (Überlappung)
 * 6. Kachel-Inhalt (Kategorien-Pillen & Zitat-Typografie)
 * 7. Farbvarianten der Kacheln (Pastell-Hell vs. Primärfarbe)
 * 8. Infinite-Scroll Ladeindikator (Spinner)
 * 9. Postkarten-Formular (Rahmen, Grid & Typografie)
 * 10. Formular-Felder & Checkboxen (Eingaben, Labels, Custom Checks)
 * 11. Foto-Upload Box & Zitat-Textarea mit Zeichenzähler
 * 12. Anti-Bot-Verifizierungsbox (Statusbalken & Farbwechsel)
 * 13. Absende-Button & Status-Meldungen
 * 14. Responsive Anpassungen (Tablets & Smartphones)
 * 15. Seiten-Template: Hero, Sektionen & Floating-CTA
 */


/* ==========================================================================
   0. GLOBALE CSS-VARIABLEN (:root)
========================================================================== */
:root {
    /* --- Basis-Skalierung (entkoppelt das Plugin von der html-Schriftgröße des Themes) --- */
    --sw-unit: 10px;
    /* 10px entspricht der Darstellung des aktiven Themes; über diesen Wert lässt sich das gesamte Plugin proportional skalieren */

    /* --- Schriften --- */
    --sw-font-family: inherit;
    /* Fließtext- und Formularschrift */
    --sw-font-heading: inherit;
    /* Überschriften- und Badgeschrift */

    /* --- Schriftgrößen (Wall & Kacheln) --- */
    --sw-font-size-wall-title: calc(3.52 * var(--sw-unit));
    /* Überschrift "Wir unterstützen..." */
    --sw-font-size-wall-title-mobile: calc(2.56 * var(--sw-unit));
    /* Überschrift auf Smartphones */
    --sw-font-size-filter: calc(1.52 * var(--sw-unit));
    /* Text im Filter-Dropdown */
    --sw-font-size-name: calc(2 * var(--sw-unit));
    /* Name im roten Badge auf der Karte */
    --sw-font-size-pill: calc(1.15 * var(--sw-unit));
    /* Gruppen-/Kategorie-Pillen */
    --sw-font-size-quote: calc(1.57 * var(--sw-unit));
    /* Zitat/Statement in der Karte */

    /* --- Schriftgrößen (Postkarten-Formular) --- */
    --sw-font-size-badge: calc(3.2 * var(--sw-unit));
    /* "Hier mitmachen:" Haupt-Badge */
    --sw-font-size-badge-mobile: calc(2.32 * var(--sw-unit));
    /* "Hier mitmachen:" auf Smartphones */
    --sw-font-size-intro: calc(1.68 * var(--sw-unit));
    /* Einleitungstext der Postkarte */
    --sw-font-size-input: calc(1.6 * var(--sw-unit));
    /* Text-, E-Mail- und Textarea-Felder */
    --sw-font-size-checkbox: calc(1.52 * var(--sw-unit));
    /* Checkbox-Labels */
    --sw-font-size-hint: calc(1.25 * var(--sw-unit));
    /* Kleine Hilfstexte (z. B. unter Upload/E-Mail) */
    --sw-font-size-btn: calc(1.84 * var(--sw-unit));
    /* "Unterstützung absenden"-Button */

    /* --- Haupt- & Akzentfarben --- */
    --sw-primary: #e30613;
    /* Partei-/Hauptfarbe (Rahmen, Buttons, Badges) */
    --sw-primary-hover: #c7040f;
    /* Dunklerer Ton bei Button-Hover */
    --sw-primary-disabled: #e4757c;
    /* Deaktivierter Button */

    /* --- Kachel-Farben --- */
    --sw-card-bg-light: #faebee;
    /* Zartes Pastell-Rosa für helle Kacheln */
    --sw-card-text-light: #1e272e;
    /* Textfarbe auf hellen Kacheln */
    --sw-card-bg-red: var(--sw-primary);
    /* Hintergrund für rote Kacheln */
    --sw-card-text-red: #ffffff;
    /* Textfarbe auf roten Kacheln */

    /* --- Neutrale Farben & Hintergründe --- */
    --sw-bg-white: #ffffff;
    /* Weiß für Karten & Formular-Innenbereich */
    --sw-text-main: #2f3542;
    /* Haupttextfarbe (Formular, Filter) */
    --sw-text-muted: #747d8c;
    /* Graue Hinweistexte und Zähler */
    --sw-border-gray: #dcdde1;
    /* Dezente graue Trennlinien / Ränder */
    --sw-photo-bg: #f1f2f6;
    /* Hintergrund für Bildbereiche */
    --sw-placeholder-bg: #fce8e9;
    /* Hintergrund für den Foto-Platzhalter */

    /* --- Statusfarben --- */
    --sw-success: #2ed573;
    /* Grün für DOI-Erfolgsbanner & Bot-Check */
    --sw-success-bg: #e8f8f0;
    /* Zartes Grün für Erfolgs-Hinweise */
    --sw-warning: #ffa502;
    /* Orange während der Bot-Prüfung */

    /* --- Abmessungen & Geometrie (Postkarte) --- */
    --sw-postcard-border: 20px;
    /* Dicke des Postkarten-Außenrahmens */
    --sw-postcard-border-mobile: 14px;
    /* Dicke des Außenrahmens auf Mobilgeräten */

    /* --- Seiten-Template & Hero (NEU) --- */
    --sw-container-max-width: 1240px;
    /* Maximale Inhaltsbreite der gesamten Seite */
    --sw-hero-bg: var(--sw-primary);
    /* Hintergrundfarbe des Hero-Bereichs */
    --sw-hero-text: #ffffff;
    /* Textfarbe im Hero-Bereich */
    --sw-hero-slant: 35px;
    /* Höhe/Steilheit der Schrägkante am unteren Hero-Rand (Standard für beide Hero-Varianten) */
    --sw-hero-fullbleed-slant: var(--sw-hero-slant);
    /* Eigene Schrägenhöhe nur für den Vollbild-Hero (z. B. 55px für steilere Schräge) */
    --sw-hero-stripe-height: 12px;
    /* Stärke/Dicke des roten Akzentstreifens an der unteren Schräge des Vollbild-Heros */
    --sw-hero-fullbleed-min-height: 740px;
    /* Mindesthöhe des erweiterten Vollbild-Heros (Desktop) */
    --sw-hero-fullbleed-min-height-tablet: 440px;
    /* Mindesthöhe des erweiterten Vollbild-Heros (Tablet bis 900px) */
    --sw-hero-kicker-bg: #ffffff;
    /* Hintergrund des kleinen Kickers über H1 */
    --sw-hero-kicker-text: var(--sw-primary);
    /* Textfarbe des Kickers */
    --sw-hero-img-border: 12px;
    /* Rahmenstärke um das Hero-Porträtbild */
    --sw-hero-img-border-color: #ffffff;
    /* Rahmenfarbe um das Hero-Porträtbild */
    --sw-font-size-hero-kicker: calc(1.36 * var(--sw-unit));
    /* Schriftgröße Kicker ("Gemeinsam stark") */
    --sw-font-size-hero-title: clamp(calc(3.52 * var(--sw-unit)), 4vw, calc(5.44 * var(--sw-unit)));
    /* Dynamische Größe der H1-Hauptüberschrift */
    --sw-font-size-hero-fullbleed-title: clamp(calc(3.8 * var(--sw-unit)), 4.6vw, calc(6.2 * var(--sw-unit)));
    /* Plakative Großbuchstaben-Überschrift im erweiterten Vollbild-Hero */
    --sw-font-size-hero-lead: clamp(calc(1.68 * var(--sw-unit)), 1.5vw, calc(2 * var(--sw-unit)));
    /* Größe des Einleitungstextes im Hero */
    --sw-font-size-hero-btn: calc(1.68 * var(--sw-unit));
    /* Schriftgröße der Hero-Buttons */
    --sw-font-size-hero-counter: calc(1.52 * var(--sw-unit));
    /* Schriftgröße des Live-Zählers im Hero */
    --sw-section-form-bg: #f7f4f4;
    /* Leicht abgesetzter Hintergrund der Formular-Zone */
    --sw-section-wall-bg: var(--sw-bg-white);
    /* Hintergrund der Unterstützer-Wand-Zone */
    --sw-section-divider: #eaeaea;
    /* Trennlinie zwischen Formular-Zone und Wand */
    --sw-floating-cta-bg: var(--sw-primary);
    /* Hintergrund des schwebenden Mitmach-Buttons */
    --sw-floating-cta-text: #ffffff;
    /* Textfarbe des schwebenden Mitmach-Buttons */
    --sw-floating-cta-size: calc(1.6 * var(--sw-unit));
    /* Schriftgröße des schwebenden Mitmach-Buttons */

    /* --- SuperSupporter Highlight ([super_supporter]) --- */
    --sw-super-bg: #fdf1f3;
    /* Zarter Pastell-Hintergrund des SuperSupporter-Blocks */
    --sw-super-headline-color: var(--sw-primary);
    /* Primärrot für Überschrift & Namens-Badges passend zur restlichen Seite */
    --sw-font-size-super-headline: calc(3.6 * var(--sw-unit));
    /* Hauptüberschrift im SuperSupporter-Block */
    --sw-font-size-super-headline-mobile: calc(2.5 * var(--sw-unit));
    /* Hauptüberschrift auf Smartphones */
    --sw-font-size-super-name: calc(2.65 * var(--sw-unit));
    /* Name & Rolle auf dem weißen Bild-Overlay */
    --sw-font-size-super-name-mobile: calc(2.15 * var(--sw-unit));
    /* Name & Rolle auf Smartphones */
    --sw-font-size-super-text: calc(1.65 * var(--sw-unit));
    /* Zweispaltiger Text unter den Porträts */
    --sw-font-size-super-cta: calc(1.75 * var(--sw-unit));
    /* Text im roten runden Störer */
}


/* ==========================================================================
   1. GRUND-CONTAINER & LAYOUT-WRAPPER
========================================================================== */
.sw-wall-wrapper {
    width: 100%;
    margin: 30px 0;
    box-sizing: border-box;
    font-family: var(--sw-font-family);
}


/* ==========================================================================
   2. WAND-KOPFZEILE (ÜBERSCHRIFT LINKS & FILTER RECHTS)
========================================================================== */
.sw-wall-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.sw-wall-title {
    color: var(--sw-primary);
    font-family: var(--sw-font-heading);
    font-size: var(--sw-font-size-wall-title);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0;
    max-width: 65%;
}

.sw-filter-box {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--sw-primary);
    border-radius: 0;
    padding: 10px 18px;
    background: var(--sw-bg-white);
    min-width: 170px;
    justify-content: space-between;
    box-sizing: border-box;
}

.sw-filter-box:focus-within {
    outline: 3px solid var(--sw-card-text-light);
    outline-offset: 2px;
}

.sw-filter-icon {
    color: var(--sw-primary);
    margin-right: 12px;
    flex-shrink: 0;
}

.sw-filter-box select {
    border: none;
    background: transparent;
    font-size: var(--sw-font-size-filter);
    font-weight: 700;
    color: var(--sw-primary);
    font-family: var(--sw-font-family);
    cursor: pointer;
    outline: none;
    width: 100%;
    text-align: right;
    text-align-last: right;
}


/* ==========================================================================
   3. MASONRY-GRID (STABILES 3-SPALTEN FLEX-LAYOUT)
========================================================================== */
.sw-grid {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.sw-col {
    flex: 1 1 0px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}


/* ==========================================================================
   4. UNTERSTÜTZER-KARTEN (KACHEL-AUFBAU & HOVER-EFFEKTE)
========================================================================== */
.sw-card {
    width: 100%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: var(--sw-bg-white);
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sw-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


/* ==========================================================================
   5. FOTO-BEREICH & NAMENS-BADGE (ÜBERLAPPUNG)
========================================================================== */
.sw-photo-wrap {
    width: 100%;
    position: relative;
    line-height: 0;
    background-color: var(--sw-photo-bg);
}

.sw-photo {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(0.75);
    transition: filter 0.35s ease;
}

.sw-card:hover .sw-photo {
    filter: saturate(1);
}

.sw-photo-placeholder {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--sw-placeholder-bg);
    color: var(--sw-primary);
}

.sw-photo-placeholder svg {
    width: 90px;
    height: 90px;
    fill: currentColor;
    opacity: 0.85;
}

.sw-name-badge {
    position: absolute;
    bottom: -16px;
    left: 0;
    z-index: 5;
    background: var(--sw-primary);
    color: #ffffff;
    font-family: var(--sw-font-heading);
    font-size: var(--sw-font-size-name);
    font-weight: 800;
    padding: 8px 18px;
    line-height: 1.15;
    letter-spacing: -0.3px;
    max-width: 85%;
    word-break: break-word;
}


/* ==========================================================================
   6. KACHEL-INHALT (KATEGORIEN-PILLEN & ZITAT-TYPOGRAFIE)
========================================================================== */
.sw-body {
    padding: 30px 20px 24px 20px;
    display: flex;
    flex-direction: column;
}

.sw-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.sw-pill {
    display: inline-block;
    border-radius: 50px;
    font-size: var(--sw-font-size-pill);
    font-weight: 700;
    padding: 3px 12px;
    line-height: 1.2;
}

.sw-quote {
    font-family: var(--sw-font-family);
    font-size: var(--sw-font-size-quote);
    line-height: 1.45;
    margin: 0;
    font-weight: 400;
}


/* ==========================================================================
   7. FARBVARIANTEN DER KACHELN (PASTELL-HELL VS. PRIMÄRFARBE)
========================================================================== */
.sw-card--light .sw-body {
    background: var(--sw-card-bg-light);
    color: var(--sw-card-text-light);
}

.sw-card--light .sw-pill {
    border: 1.5px solid var(--sw-card-text-light);
    color: var(--sw-card-text-light);
}

.sw-card--red .sw-body {
    background: var(--sw-card-bg-red);
    color: var(--sw-card-text-red);
}

.sw-card--red .sw-pill {
    border: 1.5px solid var(--sw-card-text-red);
    color: var(--sw-card-text-red);
}


/* ==========================================================================
   8. INFINITE-SCROLL LADEINDIKATOR (SPINNER)
========================================================================== */
.sw-sentinel {
    text-align: center;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.sw-loader {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--sw-primary);
    border-radius: 50%;
    animation: sw-spin 0.8s linear infinite;
}

@keyframes sw-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* ==========================================================================
   9. POSTKARTEN-FORMULAR (RAHMEN, GRID & TYPOGRAFIE)
========================================================================== */
.sw-postcard-container {
    max-width: 1240px;
    margin: 50px auto;
    background: var(--sw-bg-white);
    border: var(--sw-postcard-border) solid var(--sw-primary);
    padding: 100px 45px 50px 45px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    font-family: var(--sw-font-family);
}

.sw-postcard-header-badge {
    position: absolute;
    top: 0;
    left: 45px;
    background: var(--sw-primary);
    color: #ffffff;
    font-family: var(--sw-font-heading);
    font-size: var(--sw-font-size-badge);
    font-weight: 800;
    line-height: 1.1;
    padding: 14px 28px 18px 28px;
    letter-spacing: -0.5px;
    z-index: 2;
    margin: 0;
}

.sw-postcard-intro {
    font-size: var(--sw-font-size-intro);
    line-height: 1.55;
    color: var(--sw-text-main);
    margin: 0 0 35px 0;
    max-width: 95%;
}

.sw-postcard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}


/* ==========================================================================
   10. FORMULAR-FELDER & CHECKBOXEN (EINGABEN, LABELS, CUSTOM CHECKS)
========================================================================== */
.sw-input-group {
    margin-bottom: 15px;
}

.sw-input-group input[type="text"],
.sw-postcard-container input[type="email"] {
    width: 100%;
    border: 1.5px solid var(--sw-primary);
    padding: 12px 14px;
    font-size: var(--sw-font-size-input);
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    background: var(--sw-bg-white);
    color: var(--sw-text-main);
    font-family: var(--sw-font-family);
}

.sw-input-group input[type="text"]:focus,
.sw-postcard-container input[type="email"]:focus {
    border-color: var(--sw-primary-hover);
    background: #fffafa;
}

.sw-input-group input[type="text"]:focus-visible,
.sw-postcard-container input[type="email"]:focus-visible,
.sw-textarea-box textarea:focus-visible {
    outline: 3px solid rgba(227, 6, 19, 0.25);
    outline-offset: 1px;
}

.sw-field-hint {
    font-size: var(--sw-font-size-hint);
    color: var(--sw-text-muted);
    margin-top: 5px;
}

.sw-checkbox-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sw-checkbox-heading {
    font-size: calc(1.44 * var(--sw-unit));
    font-weight: 700;
    color: var(--sw-text-main);
    margin-bottom: 4px;
}

.sw-checkbox-label {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: var(--sw-font-size-checkbox);
    color: var(--sw-text-main);
    user-select: none;
}

.sw-checkbox-label input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.sw-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--sw-primary);
    border-radius: 3px;
    margin-right: 12px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    background: var(--sw-bg-white);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sw-checkbox-label input[type="checkbox"]:focus-visible+.sw-checkbox-custom {
    outline: 3px solid var(--sw-card-text-light);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.18);
}

.sw-checkbox-label input[type="checkbox"]:checked+.sw-checkbox-custom {
    background: var(--sw-primary);
}

.sw-checkbox-label input[type="checkbox"]:checked+.sw-checkbox-custom::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.sw-checkbox-text {
    font-weight: 500;
}

.sw-consent-box {
    margin-top: 24px;
    padding: 14px 16px;
    background: #fafafa;
    border: 1px solid var(--sw-border-gray);
}

.sw-checkbox-label--consent {
    align-items: flex-start;
    cursor: default;
    font-size: calc(1.4 * var(--sw-unit));
    line-height: 1.45;
}

.sw-checkbox-label--consent input[type="checkbox"] {
    top: 3px;
    transform: none;
}

.sw-checkbox-label--consent .sw-checkbox-custom {
    margin-top: 3px;
}

.sw-checkbox-label--consent label {
    cursor: pointer;
}

.sw-checkbox-label--consent a {
    color: var(--sw-primary);
    font-weight: 700;
    text-decoration: underline;
}

.sw-checkbox-label--consent a:focus-visible {
    outline: 2px solid var(--sw-primary);
    outline-offset: 2px;
}


/* ==========================================================================
   11. FOTO-UPLOAD BOX & ZITAT-TEXTAREA MIT ZEICHENZÄHLER
========================================================================== */
.sw-file-box {
    border: 1.5px solid var(--sw-primary);
    padding: 14px;
    margin-bottom: 25px;
    position: relative;
}

.sw-file-legend {
    font-size: calc(1.36 * var(--sw-unit));
    font-weight: 700;
    color: var(--sw-primary);
    margin-bottom: 8px;
    display: block;
}

.sw-file-box input[type="file"] {
    width: 100%;
    font-size: calc(1.44 * var(--sw-unit));
    cursor: pointer;
    font-family: var(--sw-font-family);
}

.sw-file-hint {
    font-size: var(--sw-font-size-hint);
    color: var(--sw-text-muted);
    margin-top: 8px;
}

.sw-field-error {
    color: var(--sw-primary);
    font-size: calc(1.36 * var(--sw-unit));
    font-weight: 700;
    margin-top: 6px;
}

.sw-textarea-box {
    position: relative;
}

.sw-textarea-box textarea {
    width: 100%;
    height: 150px;
    border: 1.5px solid var(--sw-primary);
    border-radius: 0;
    padding: 14px;
    font-size: var(--sw-font-size-input);
    line-height: 1.45;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
    font-family: var(--sw-font-family);
}

.sw-textarea-box textarea:focus {
    background: #fffafa;
}

.sw-char-counter {
    font-size: calc(1.31 * var(--sw-unit));
    color: var(--sw-text-muted);
    margin-top: 6px;
}


/* ==========================================================================
   12. ANTI-BOT-VERIFIZIERUNGSBOX (STATUSBALKEN & FARBWECHSEL)
========================================================================== */
.sw-antibot-box {
    margin-top: 18px;
    background: #fdfdfd;
    border: 1px solid var(--sw-border-gray);
    border-radius: 2px;
    padding: 8px 12px;
    box-sizing: border-box;
}

.sw-antibot-text {
    font-size: calc(1.31 * var(--sw-unit));
    color: #57606f;
    margin-bottom: 6px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sw-antibot-box.is-passed .sw-antibot-text {
    color: var(--sw-success);
    font-weight: 700;
}

.sw-antibot-bar-wrap {
    width: 100%;
    height: 5px;
    background: #eceff1;
    border-radius: 3px;
    overflow: hidden;
}

.sw-antibot-bar {
    width: 0%;
    height: 100%;
    background: var(--sw-warning);
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

.sw-antibot-bar.is-passed {
    background: var(--sw-success);
}


/* ==========================================================================
   13. ABSENDE-BUTTON & STATUS-MELDUNGEN
========================================================================== */
.sw-submit-wrap {
    text-align: center;
    margin-top: 35px;
}

.sw-btn-postcard {
    display: inline-block;
    background: var(--sw-primary);
    color: #ffffff;
    border: none;
    padding: 14px 45px;
    font-size: var(--sw-font-size-btn);
    font-weight: 800;
    cursor: pointer;
    border-radius: 0;
    font-family: var(--sw-font-heading);
    transition: background 0.2s ease, transform 0.15s ease;
}

.sw-btn-postcard:hover {
    background: var(--sw-primary-hover);
    transform: translateY(-1px);
}

.sw-btn-postcard:disabled {
    background: var(--sw-primary-disabled);
    cursor: not-allowed;
    transform: none;
}

.sw-btn-postcard:focus-visible {
    outline: 3px solid var(--sw-card-text-light);
    outline-offset: 3px;
}

#sw-form-status {
    margin-top: 15px;
    font-weight: 600;
}

.sw-alert {
    padding: 16px 20px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-size: calc(1.6 * var(--sw-unit));
    line-height: 1.5;
}

.sw-alert--success {
    background-color: var(--sw-success-bg);
    border-left: 6px solid var(--sw-success);
    color: var(--sw-card-text-light);
}

.sw-alert--error {
    background-color: var(--sw-placeholder-bg);
    border-left: 6px solid var(--sw-primary);
    color: var(--sw-card-text-light);
}


/* ==========================================================================
   14. RESPONSIVE ANPASSUNGEN (TABLETS & SMARTPHONES)
========================================================================== */
@media (max-width: 992px) {
    .sw-col-2 {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .sw-wall-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 25px;
    }

    .sw-wall-title {
        max-width: 100%;
        font-size: var(--sw-font-size-wall-title-mobile);
    }

    .sw-filter-box {
        width: 100%;
    }

    .sw-postcard-container {
        border-width: var(--sw-postcard-border-mobile);
        padding: 85px 18px 30px 18px;
    }

    .sw-postcard-header-badge {
        left: 18px;
        font-size: var(--sw-font-size-badge-mobile);
        padding: 10px 18px 14px 18px;
    }

    .sw-postcard-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sw-btn-postcard {
        padding: 10px 15px;
    }
}

@media (max-width: 600px) {
    .sw-col-1 {
        display: none !important;
    }
}


/* ==========================================================================
   15. SEITEN-TEMPLATE: HERO, SEKTIONEN & FLOATING-CTA
========================================================================== */

/* Sanftes Scrollen für Sprungmarken (respektiert reduzierte Bewegung) */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Barrierefreier Skip-Link (nur bei Tastaturfokus sichtbar) */
.sw-skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--sw-bg-white);
    color: var(--sw-primary);
    padding: 12px 20px;
    font-weight: 800;
    z-index: 9999;
    border: 3px solid var(--sw-primary);
    text-decoration: none;
}

.sw-skip-link:focus {
    top: 20px;
    outline: 3px solid var(--sw-card-text-light);
}

.sw-page-wrapper {
    width: 100%;
    overflow-x: hidden;
    font-family: var(--sw-font-family);
}

/* Zentrierter Inhalts-Container */
.sw-container {
    max-width: var(--sw-container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* --- ZONE 1: KAMPAGNEN-HERO --- */
.sw-hero {
    background-color: var(--sw-hero-bg);
    color: var(--sw-hero-text);
    padding: 65px 0 calc(50px + var(--sw-hero-slant)) 0;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--sw-hero-slant)), 0 100%);
}

.sw-hero-inner {
    max-width: var(--sw-container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    box-sizing: border-box;
}

.sw-hero-content {
    flex: 1 1 60%;
    max-width: 720px;
}

/* Kleines Label über der Hauptüberschrift */
.sw-hero-kicker {
    display: inline-block;
    background: var(--sw-hero-kicker-bg);
    color: var(--sw-hero-kicker-text);
    font-weight: 800;
    font-size: var(--sw-font-size-hero-kicker);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    margin-bottom: 18px;
}

.sw-hero-title {
    color: var(--sw-hero-text);
    font-family: var(--sw-font-heading);
    font-size: var(--sw-font-size-hero-title);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.sw-hero-lead p {
    font-size: var(--sw-font-size-hero-lead);
    line-height: 1.55;
    margin: 0 0 30px 0;
    color: var(--sw-hero-text);
    opacity: 0.95;
}

/* Hero CTA-Buttons */
.sw-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.sw-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: var(--sw-font-size-hero-btn);
    font-weight: 800;
    font-family: var(--sw-font-heading);
    text-decoration: none;
    transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}

.sw-hero-btn:focus-visible {
    outline: 3px solid var(--sw-hero-text);
    outline-offset: 3px;
}

.sw-hero-btn--primary {
    background: var(--sw-hero-text);
    color: var(--sw-hero-bg);
}

.sw-hero-btn--primary:hover {
    background: var(--sw-photo-bg);
    color: var(--sw-primary-hover);
    transform: translateY(-2px);
}

.sw-hero-btn--secondary {
    background: transparent;
    color: var(--sw-hero-text);
    border: 2px solid var(--sw-hero-text);
}

.sw-hero-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--sw-hero-text);
}

/* Live-Zähler im Hero */
.sw-hero-counter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--sw-font-size-hero-counter);
    background: rgba(0, 0, 0, 0.18);
    padding: 8px 16px;
}

.sw-counter-dot {
    width: 10px;
    height: 10px;
    background: var(--sw-success);
    border-radius: 50%;
    display: inline-block;
}

/* Optionales Kampagnen-Porträt rechts im Hero */
.sw-hero-media {
    flex: 0 0 340px;
}

.sw-hero-image-frame {
    border: var(--sw-hero-img-border) solid var(--sw-hero-img-border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    line-height: 0;
    background: var(--sw-hero-img-border-color);
}

.sw-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- ZONE 1 (ALTERNATIV): ERWEITERTER VOLLBILD-HERO (.sw-hero--fullbleed) --- */
.sw-hero--fullbleed {
    background-color: var(--sw-primary);
    min-height: var(--sw-hero-fullbleed-min-height);
    display: flex;
    align-items: center;
    padding: 85px 0 calc(85px + var(--sw-hero-fullbleed-slant) + var(--sw-hero-stripe-height)) 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--sw-hero-fullbleed-slant)), 0 100%);
}

.sw-hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: var(--sw-hero-stripe-height);
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(115deg, #181a1f 0%, #3a0d12 58%, #8c060e 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--sw-hero-fullbleed-slant)), 0 100%);
}

.sw-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--sw-hero-bg-position, 75% 50%);
    display: block;
}

.sw-hero--has-bg .sw-hero-bg-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(12, 14, 18, 0.82) 0%, rgba(12, 14, 18, 0.62) 38%, rgba(12, 14, 18, 0.25) 64%, rgba(12, 14, 18, 0.04) 100%);
}

.sw-hero--fullbleed .sw-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.sw-hero--fullbleed .sw-hero-content {
    max-width: 640px;
}

.sw-hero--fullbleed .sw-hero-kicker {
    background: var(--sw-primary);
    color: #ffffff;
    border-radius: 3px;
}

.sw-hero--fullbleed .sw-hero-title {
    font-size: var(--sw-font-size-hero-fullbleed-title);
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.sw-hero--fullbleed .sw-hero-lead p {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
    max-width: 560px;
}

.sw-hero--fullbleed .sw-hero-btn {
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sw-hero--fullbleed .sw-hero-btn--primary,
.sw-hero--fullbleed .sw-hero-btn--primary:visited {
    background: #ffffff;
    color: var(--sw-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.sw-hero--fullbleed .sw-hero-btn--primary:hover {
    background: var(--sw-photo-bg);
    color: var(--sw-primary-hover);
}

.sw-hero--fullbleed .sw-hero-btn--secondary,
.sw-hero--fullbleed .sw-hero-btn--secondary:visited {
    background: rgba(0, 0, 0, 0.28);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

.sw-hero--fullbleed .sw-hero-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.sw-hero--fullbleed .sw-hero-counter {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    backdrop-filter: blur(4px);
    color: #ffffff;
}

/* --- ZONE 2 (OBEN): POSTKARTEN-FORMULAR --- */
.sw-section--form {
    position: relative;
    z-index: 1;
    margin-top: calc(-1 * var(--sw-hero-slant));
    /* Zieht Sektion automatisch um exakt die Schräge hoch */
    padding: calc(50px + var(--sw-hero-slant)) 0 70px 0;
    background: var(--sw-section-form-bg);
    border-top: none;
    border-bottom: 1px solid var(--sw-section-divider);
}

.sw-hero--fullbleed + .sw-section--form {
    margin-top: calc(-1 * var(--sw-hero-fullbleed-slant));
    padding-top: calc(50px + var(--sw-hero-fullbleed-slant));
}

/* --- ZONE 3 (UNTEN): UNTERSTÜTZER-WAND --- */
.sw-section--wall {
    padding: 65px 0 80px 0;
    background: var(--sw-section-wall-bg);
}

/* --- SCHWEBENDER "HIER MITMACHEN" BUTTON --- */
.sw-floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 990;
    background: var(--sw-floating-cta-bg);
    color: var(--sw-floating-cta-text);
    font-family: var(--sw-font-heading);
    font-weight: 800;
    font-size: var(--sw-floating-cta-size);
    padding: 14px 24px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border: 2px solid var(--sw-floating-cta-text);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

.sw-floating-cta:hover {
    background: var(--sw-primary-hover);
    color: var(--sw-floating-cta-text);
    transform: translateY(-2px);
}

.sw-floating-cta:focus-visible {
    outline: 3px solid var(--sw-card-text-light);
    outline-offset: 2px;
}

.sw-floating-cta.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
}

@media (max-width: 900px) {
    .sw-hero-inner {
        flex-direction: column;
        text-align: left;
    }

    .sw-hero-media {
        flex: 0 0 auto;
        width: 100%;
        max-width: 320px;
    }

    .sw-hero--fullbleed {
        min-height: var(--sw-hero-fullbleed-min-height-tablet);
        padding: 64px 0 calc(64px + var(--sw-hero-fullbleed-slant) + var(--sw-hero-stripe-height)) 0;
    }

    .sw-hero--fullbleed .sw-hero-inner {
        align-items: flex-start;
    }

    .sw-hero--fullbleed .sw-hero-bg-img {
        object-position: var(--sw-hero-bg-position, 68% top);
    }

    .sw-hero--has-bg .sw-hero-bg-layer::after {
        background: linear-gradient(180deg, rgba(12, 14, 18, 0.65) 0%, rgba(12, 14, 18, 0.78) 100%);
    }
}

@media (max-width: 600px) {
    .sw-hero--fullbleed {
        min-height: auto;
        padding: 52px 0 calc(56px + var(--sw-hero-fullbleed-slant) + var(--sw-hero-stripe-height)) 0;
    }

    .sw-hero--fullbleed .sw-hero-btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Wenn der Theme-Header über die Admin-Option im Seiten-Template ausgeblendet ist */
body.sw-template-no-header {
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/* ==========================================================================
   16. SUPER-SUPPORTER HIGHLIGHT ([super_supporter] & ZONE 1B)
========================================================================== */
.sw-section--super {
    position: relative;
    z-index: 1;
    margin-top: calc(-1 * var(--sw-hero-slant));
    padding: calc(55px + var(--sw-hero-slant)) 0 55px 0;
    background: var(--sw-bg-white);
    border-bottom: 1px solid var(--sw-section-divider);
}

.sw-hero--fullbleed + .sw-section--super {
    margin-top: calc(-1 * var(--sw-hero-fullbleed-slant));
    padding-top: calc(55px + var(--sw-hero-fullbleed-slant));
}

.sw-section--super + .sw-section--form {
    margin-top: 0;
    padding-top: 60px;
}

.sw-super-wrapper {
    max-width: var(--sw-container-max-width);
    margin: 0 auto;
    font-family: var(--sw-font-family);
    box-sizing: border-box;
}

.sw-super-card {
    background: var(--sw-super-bg);
    padding: 40px 44px 48px 44px;
    box-sizing: border-box;
}

.sw-super-headline {
    color: var(--sw-super-headline-color);
    font-family: var(--sw-font-heading);
    font-size: var(--sw-font-size-super-headline);
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: -0.5px;
    margin: 0 0 28px 0;
}

.sw-super-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 36px;
}

.sw-super-photos--single {
    max-width: 560px;
    grid-template-columns: 1fr;
}

.sw-super-person {
    margin: 0;
    padding: 0;
    position: relative;
}

.sw-super-photo-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--sw-photo-bg);
    line-height: 0;
}

.sw-super-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    filter: saturate(0.75);
    transition: filter 0.35s ease;
}

.sw-super-person:hover .sw-super-photo {
    filter: saturate(1);
}

.sw-super-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--sw-placeholder-bg);
    color: var(--sw-primary);
}

.sw-super-photo-placeholder svg {
    width: 110px;
    height: 110px;
    fill: currentColor;
    opacity: 0.85;
}

.sw-super-caption {
    position: relative;
    z-index: 2;
    width: 72%;
    min-height: 96px;
    margin: -76px 0 0 0;
    padding: 14px 20px 16px 20px;
    box-sizing: border-box;
    background: var(--sw-bg-white);
    color: var(--sw-super-headline-color);
    font-family: var(--sw-font-heading);
    font-size: var(--sw-font-size-super-name);
    font-weight: 800;
    line-height: 1.22;
}

.sw-super-lower {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 36px;
    align-items: center;
}

.sw-super-lower--no-cta {
    grid-template-columns: 1fr;
}

.sw-super-text {
    column-count: 2;
    column-gap: 32px;
    color: var(--sw-text-main);
    font-size: var(--sw-font-size-super-text);
    line-height: 1.5;
}

.sw-super-text p {
    color: var(--sw-text-main);
    margin: 0 0 14px 0;
}

.sw-super-text p:last-child {
    margin-bottom: 0;
}

.sw-super-cta-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sw-super-cta-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(260px, 100%);
    aspect-ratio: 1 / 1;
    padding: 26px;
    box-sizing: border-box;
    border-radius: 50%;
    background: var(--sw-primary);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-family: var(--sw-font-heading);
    font-size: var(--sw-font-size-super-cta);
    font-weight: 800;
    line-height: 1.3;
    transform: rotate(-7deg);
    box-shadow: 0 10px 26px rgba(227, 6, 19, 0.22);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.sw-super-cta-circle:visited {
    color: #ffffff;
}

.sw-super-cta-circle:hover {
    background: var(--sw-primary-hover);
    color: #ffffff;
    transform: rotate(-4deg) scale(1.03);
    box-shadow: 0 14px 30px rgba(199, 4, 15, 0.28);
}

.sw-super-cta-circle:focus-visible {
    outline: 3px solid var(--sw-card-text-light);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .sw-super-lower {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sw-super-caption {
        width: 78%;
        margin-top: -54px;
        min-height: 76px;
    }
}

@media (max-width: 768px) {
    .sw-super-card {
        padding: 28px 20px 32px 20px;
    }

    .sw-super-headline {
        font-size: var(--sw-font-size-super-headline-mobile);
        margin-bottom: 22px;
    }

    .sw-super-photos {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 28px;
    }

    .sw-super-caption {
        width: 82%;
        margin-top: -48px;
        min-height: auto;
        padding: 12px 16px;
        font-size: var(--sw-font-size-super-name-mobile);
    }

    .sw-super-text {
        column-count: 1;
    }

    .sw-super-cta-circle {
        width: min(220px, 100%);
    }
}