/*
Theme Name: Sunflower Child (Joshi)
Theme URI: https://example.com/joshi
Description: Child theme of Sunflower for Joshi project. Override styles + templates here without touching the parent.
Author: Joshi
Version: 2.19.0
Template: sunflower
Text Domain: sunflower-child
*/

/* Font loading for Barlow Condensed & Caveat */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-700.woff2) format('woff2');}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-800.woff2) format('woff2');}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-900.woff2) format('woff2');}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-700italic.woff2) format('woff2');}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-800italic.woff2) format('woff2');}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url(assets/fonts/barlow-condensed-900italic.woff2) format('woff2');}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/caveat-400.woff2) format('woff2');}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/caveat-400.woff2) format('woff2');}

/* Global font — Barlow Condensed für alle Texte auf der Seite */
body, body.home, p, h1, h2, h3, h4, h5, h6, a, button, input, textarea, select, li, span, div, label {
    font-family: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif !important;
}

/* ===== Responsive Foundation (device-width, kein uniform scaling mehr) =====
   Guard gegen horizontales Scrollen durch noch-nicht-reflowte Sections. */
html, body { overflow-x: hidden; max-width: 100%; }

/* TEMP: Grüne Termine ausgeblendet (kommt später rein). Zum Reaktivieren: Block entfernen. */
body.home .joshi-termine { display: none !important; }

/* ===== MOBILVARIANTE-Overrides ===== */
/* M1: Top-Reiter (Grüne Niedersachsen / Sei dabei) raus aus Header → rein in Footer.
   Footer-Mobile-Links default versteckt (Desktop zeigt sie oben in der Nav). */
.joshi-footer-mobilelink { display: none; }
@media (max-width: 768px) {
    .topmenu { display: none !important; } /* ganze Top-Nav-Leiste mobil weg (Burger ersetzt sie; Links bleiben im DOM für den Burger) */
    .joshi-footer-mobilelink { display: block !important; }
}
/* ps-headline-mobile (Sonnenblume hinter Text-Schriftzug) — nur auf dem Handy sichtbar */
.ps-headline-mobile { display: none; }

/* Visually-hidden (sr-only): für Screenreader/SEO sichtbar, optisch entfernt — z.B. die Seiten-h1 im Hero. */
.joshi-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* M2: Hero auf dem Handy = Magenta-Badge oben → MACH'S GRÜN → großer Schriftzug mit Sonnenblume
   dahinter. Animation (Windrad/Bus-Video) + Desktop-Schriftzug (mit eigener Sonne) weg. */
@media (max-width: 600px) {
    .hero-poster { width: 100% !important; height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; padding: 18px 14px 28px !important; }
    .poster-stage {
        position: relative !important; top: auto !important; left: auto !important; transform: none !important;
        width: 100% !important; height: auto !important; min-height: 86vh !important;
        display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 0.5rem !important;
    }
    .poster-stage > * { position: static !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; }
    .ps-header-anim, .ps-schriftzug { display: none !important; }
    /* Headline (Sonnenblume) oben, MACH'S GRÜN unten; Badge überlappt die Sonnenblume (top-right) */
    .ps-machs-gruen { order: 3; width: 56% !important; max-width: 240px !important; height: auto !important; margin-top: 2rem !important; }
    .ps-headline-mobile {
        order: 1; position: relative !important;
        display: flex !important; align-items: center !important; justify-content: center !important;
        width: 100% !important; margin-top: 0.4rem;
    }
    .ps-headline-mobile .ps-sunflower {
        position: absolute !important; top: 46% !important; left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 72% !important; max-width: 300px !important; height: auto !important; z-index: 0 !important;
    }
    .ps-headline-mobile .ps-schriftzug-mobile {
        position: relative !important; width: 100% !important; height: auto !important;
        z-index: 1 !important; display: block !important;
    }
    /* Badge im Fluss zwischen Headline und MACH'S GRÜN: negativer Margin überlappt den
       Headline-Boden, right:% schiebt es links-mittig (38%-Look), MACH'S GRÜN folgt sauber. */
    .ps-badge-svg { order: 2; position: relative !important; right: 4% !important; z-index: 3 !important; width: 40% !important; max-width: 165px !important; height: auto !important; margin: -4.8rem 0 0 !important; }
}
/* Mobile-Hamburger (per JS aus den Topmenu-Links gebaut) — nur <=768px sichtbar */
.joshi-burger { display: none; }
.joshi-burger-panel { display: none; }
@media (max-width: 768px) {
    .joshi-burger {
        display: flex; align-items: center; justify-content: center;
        position: fixed; top: 14px; right: 14px; z-index: 1200;
        width: 48px; height: 48px; padding: 0; box-sizing: border-box;
        background: var(--joshi-tanne); color: #fff;
        border: none; border-radius: 50%; cursor: pointer;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.20);
        transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
        -webkit-tap-highlight-color: transparent;
    }
    .joshi-burger:hover { background: var(--joshi-klee); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.26); }
    .joshi-burger:active { transform: scale(0.93); }
    .joshi-burger.is-open { background: var(--joshi-klee); }
    .joshi-burger svg { width: 26px !important; height: 26px !important; flex-shrink: 0; display: block; }
    .joshi-burger-panel.is-open {
        display: block;
        position: fixed; top: 70px; right: 12px; z-index: 1200;
        background: var(--joshi-tanne); border-radius: 12px;
        box-shadow: 0 10px 28px rgba(0,0,0,.35);
        min-width: 230px; max-width: 80vw; padding: 8px;
    }
    .joshi-burger-panel ul { list-style: none; margin: 0; padding: 0; }
    .joshi-burger-panel li { margin: 0; }
    .joshi-burger-panel a {
        display: block; padding: 13px 18px; color: #fff;
        font-family: var(--joshi-display); font-weight: 800; font-size: 1.15rem;
        text-decoration: none; border-radius: 8px; white-space: nowrap;
    }
    .joshi-burger-panel a:hover, .joshi-burger-panel a:active { background: var(--joshi-klee); }
}

/* Sektions-Navigator (schwebende Pille unten) — nur <=768px */
.joshi-secnav { display: none; }
@media (max-width: 768px) {
    .joshi-secnav {
        display: flex; align-items: center; gap: 5px;
        position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 1100;
        background: var(--joshi-tanne); color: #fff;
        border-radius: 999px; padding: 5px; max-width: calc(100vw - 20px);
        box-shadow: 0 6px 22px rgba(0, 0, 0, 0.30); border: 1px solid rgba(255, 255, 255, 0.14);
        font-family: var(--joshi-display);
        -webkit-tap-highlight-color: transparent;
    }
    .joshi-secnav button:focus { outline: none; }
    .joshi-secnav button:focus-visible { outline: 2px solid var(--joshi-grashalm); outline-offset: 2px; }
    .joshi-secnav__label {
        display: inline-flex; align-items: center; gap: 8px; min-width: 0;
        background: transparent; border: none; color: #fff; cursor: pointer;
        font-family: var(--joshi-display); font-weight: 800; font-size: 1rem; line-height: 1;
        padding: 9px 4px 9px 15px; border-radius: 999px; white-space: nowrap;
    }
    .joshi-secnav__label:hover, .joshi-secnav__label:focus, .joshi-secnav__label:active { background: rgba(255, 255, 255, 0.12) !important; }
    .joshi-secnav__name { overflow: hidden; text-overflow: ellipsis; }
    .joshi-secnav__count { font-weight: 600; opacity: 0.7; font-size: 0.82rem; }
    .joshi-secnav__ic { display: inline-flex; opacity: 0.9; }
    .joshi-secnav__ic svg { width: 18px !important; height: 18px !important; }
    .joshi-secnav__btn {
        display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
        width: 38px; height: 38px; padding: 0; box-sizing: border-box;
        background: var(--joshi-klee); border: none; border-radius: 50%; color: #fff; cursor: pointer;
        transition: background 0.15s ease, transform 0.1s ease;
    }
    .joshi-secnav__btn:hover { background: var(--joshi-grashalm); color: var(--joshi-tanne); }
    .joshi-secnav__btn:active { transform: scale(0.92); }
    .joshi-secnav__btn svg { width: 20px !important; height: 20px !important; }
    .joshi-secnav__list {
        display: none; list-style: none; margin: 0;
        position: absolute; bottom: calc(100% + 10px); left: 0; right: 0; margin-inline: auto;
        width: max-content; min-width: 220px; max-width: 86vw;
        background: var(--joshi-tanne); border-radius: 14px; padding: 6px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.36); border: 1px solid rgba(255, 255, 255, 0.14);
    }
    .joshi-secnav.is-open .joshi-secnav__list { display: block; }
    .joshi-secnav__list li { margin: 0; }
    .joshi-secnav__list button {
        display: block; width: 100%; text-align: left; cursor: pointer;
        background: transparent; border: none; color: #fff; border-radius: 9px;
        font-family: var(--joshi-display); font-weight: 800; font-size: 1.05rem;
        padding: 12px 16px; white-space: nowrap;
    }
    .joshi-secnav__list button:hover { background: rgba(255, 255, 255, 0.1); }
    .joshi-secnav__list li.is-active button { background: var(--joshi-klee); }
}

/* ================================================================== */
/*  0. Uniform Scaling — Referenz-Breite 1247px für ALLE Viewports    */
/*  zoom wird via JS in header.php gesetzt (CSS calc(100vw) für zoom   */
/*  nicht supported). Body bleibt layout 1247 wide.                    */
/* ================================================================== */

/* MOBILE (device-width): lesbare Größen. Früher fürs uniform-scaling auf Riesengrößen
   inflated — jetzt sane Werte da echte Gerätebreite greift. */
@media (max-width: 800px) {
    body.home .intro-text { font-size: 1.25rem !important; line-height: 1.45 !important; }
    body.home .body-text  { font-size: 1.05rem !important; line-height: 1.2 !important; }
    body.home h2.title-koepfe  { font-size: 2.8rem !important; }
    body.home h2.title-infos   { font-size: 2rem !important; }
    body.home h2.title-vorort  { font-size: 3.2rem !important; max-width: none !important; }
    body.home h2.title-gruende { font-size: 2.4rem !important; }
    body.home h2.title-waere   { font-size: 2.2rem !important; }
    body.home h2.title-brauchen{ font-size: 3.2rem !important; }
    body.home h2.title-spende  { font-size: 2.2rem !important; }
    body.home h2.title-social  { font-size: 2.8rem !important; }
    body.home .note-social     { font-size: 1.1rem !important; }
    body.home .joshi-termine__heading { font-size: 2.2rem !important; }
    body.home .joshi-event-details__title { font-size: 1.4rem !important; }
    body.home .joshi-event-details__time,
    body.home .joshi-event-details__location { font-size: 0.9rem !important; }
}
@media (max-width: 500px) {
    body.home .intro-text { font-size: 1.15rem !important; }
    body.home .body-text  { font-size: 1.4rem !important; }
    body.home h2.title-koepfe  { font-size: 2.4rem !important; }
    body.home h2.title-vorort  { font-size: 2.6rem !important; }
    body.home h2.title-brauchen{ font-size: 2.6rem !important; }
    body.home h2.title-social  { font-size: 2.4rem !important; }
    body.home h2.title-gruende { font-size: 2.1rem !important; }
}

/* Navigation oben — device-width: kompakt, passt in eine Zeile (vorher fürs Scaling 2rem). */
@media (max-width: 800px) {
    .home nav.navbar-expand-lg.py-0 a,
    .home .topmenu a,
    .home .menubar a,
    .home .right-bar a,
    .home .main-menu a { font-size: 1rem !important; line-height: 1.3 !important; }
    .home .topmenu { padding: 10px 0 !important; }
}
@media (max-width: 500px) {
    .home nav.navbar-expand-lg.py-0 a,
    .home .topmenu a,
    .home .menubar a,
    .home .right-bar a,
    .home .main-menu a { font-size: 0.9rem !important; }
}

/* ================================================================== */
/*  1. Brand-Variablen                                                */
/* ================================================================== */
:root {
    --joshi-tanne:    #005437;
    --joshi-klee:     #008939;
    --joshi-grashalm: #8abd24;
    --joshi-sand:     #f5f1e9;
    --joshi-magenta:  #8abd24; /* alias auf grashalm — kein magenta mehr im Joshi-Branding */
    --joshi-skew:     12deg;
    --joshi-display:  'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
    --joshi-illu:     /wp-content/themes/sunflower-child/assets/illustrations;
}

/* Generische Brand-Klassen */
.cta-magenta,
.has-magenta-background-color { background: var(--joshi-magenta) !important; color:#fff !important; }
.has-magenta-color { color: var(--joshi-magenta) !important; }
.joshi-skew     { transform: skewX(calc(-1 * var(--joshi-skew))); display: inline-block; }
.joshi-skew > * { transform: skewX(var(--joshi-skew));            display: inline-block; }

/* Hand-geschriebene Annotation (Designer-Notiz) */
.handwriting {
    font-family: 'Caveat', cursive !important;
    font-weight: 700 !important;
}

.joshi-note {
    position: absolute;
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    z-index: 4;
    line-height: 1.1;
    transform: rotate(-6deg);
    pointer-events: none;
}
.joshi-note--white { color: #fff; }
.joshi-note--arrow::before {
    content: "→";
    margin-right: 0.3em;
    font-size: 1.4em;
    display: inline-block;
    transform: rotate(-15deg);
}

/* Volle Breite für alignfull Sections trotz Theme-Container */
.joshi-section.alignfull,
.joshi-plakat.alignfull,
.hero-section.alignfull,
.section-dark.alignfull,
.joshi-themen.alignfull,
.joshi-termine.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* ----------------------------------------------------------------- */
/*  Home-Page: Header passt zum Plakat                               */
/* ----------------------------------------------------------------- */
body.home { background: #fff !important; }

/* Dekorative weiße Eck-Formen ausblenden */
.home .concave-30px {
    display: none !important;
}

/* (A) Topmenu sits at the very top, solid tanne (Design-Spec), right-aligned */
.home .topmenu {
    padding: 12px 0 !important;
    z-index: 100;
    position: relative;
}
.home nav.navbar-expand-lg.py-0 {
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
}
.home nav.navbar-expand-lg.py-0 .navbar-collapse {
    display: flex !important;
    width: 100%;
}
.home nav.navbar-expand-lg.py-0 .navbar-nav {
    gap: 0 20px;
    margin-left: auto !important; /* right align */
    margin-right: 0 !important;
    justify-content: flex-end !important;
    flex-direction: row !important;
}
.home nav.navbar-expand-lg.py-0 a {
    color: #fff !important;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
    font-size: 0.9rem !important;
    text-transform: none !important;
    text-decoration: none;
    letter-spacing: 0.5px !important;
    padding: 0 !important;
}
.home nav.navbar-expand-lg.py-0 a:hover { color: #FFF17A !important; }
/* Separator | using border-right on li for bulletproof reliability */
.home .topmenu li:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding-right: 20px !important;
}
.home .topmenu li {
    display: flex;
    align-items: center;
}
.home .topmenu li:not(:first-child) {
    padding-left: 20px !important;
}

/* Main-Menü Barlow Condensed ExtraBold (upright, kein italic) */
.home .right-bar.menubar a,
.home .main-menu a,
.home .menubar .nav-link {
    font-family: var(--joshi-display);
    font-weight: 800;
    font-style: normal;
}

/* Menubar (Main-Menu + Search): transparent über Plakat */
.home .right-bar,
.home .right-bar.menubar,
.home .menubar.nav-center {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* (B) Joshi-Brand-Badge auf Home verstecken — Plakat hat eigenes MACH'S GRÜN */
.home .top-bar { display: none !important; height: 0 !important; overflow: hidden !important; margin: 0 !important; padding: 0 !important; }

/* Eliminate ALL spacing between topmenu and hero */
.home #page { padding-top: 0 !important; margin-top: 0 !important; }
.home #content { padding: 0 !important; margin: 0 !important; max-width: 100% !important; width: 100% !important; }
.home #content .row { margin: 0 !important; padding: 0 !important; }
.home #content .col-12 { padding: 0 !important; }
.home .site-main { padding: 0 !important; margin: 0 !important; }
.home article { margin: 0 !important; padding: 0 !important; }
.home .entry-content { margin: 0 !important; padding: 0 !important; }
.home .entry-content > :first-child { margin-top: 0 !important; }

/* ================================================================== */
/*  2. Hero Section (Kampagnen-Poster, Design-Vorbild 2.png)          */
/*  UNIFORM SCALING STAGE — alle Elemente in 1400x720 Bühne,           */
/*  ein transform:scale skaliert die komplette Komposition zusammen.   */
/* ================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 0 !important;
    background: var(--joshi-grashalm);
}

/* Hero: contain via JS --hero-scale — ganze 1400×750-Komposition passt IMMER rein
   (Verhältnis erhalten, nichts geclippt). Rand = grashalm bg = nahtlos unsichtbar.
   Stage zentriert → gleichmäßige grashalm-Ränder. */
.hero-poster {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: var(--joshi-grashalm);
}
.poster-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1400px;
    height: 750px;
    transform-origin: center center;
    transform: translate(-50%, -50%) scale(var(--hero-scale, 1));
}

@media (orientation: portrait) {
    .hero-poster {
        height: auto;
        aspect-ratio: 1400 / 750;
    }
}

/* Fallback für Browser ohne container queries: discrete scales */
@supports not (container-type: inline-size) {
    .poster-stage { transform: scale(1); }
    @media (max-width: 1400px) { .poster-stage { transform: scale(0.93); } }
    @media (max-width: 1200px) { .poster-stage { transform: scale(0.79); } }
    @media (max-width: 1000px) { .poster-stage { transform: scale(0.65); } }
    @media (max-width: 800px)  { .poster-stage { transform: scale(0.52); } }
    @media (max-width: 600px)  { .poster-stage { transform: scale(0.39); } }
    @media (max-width: 500px)  { .poster-stage { transform: scale(0.32); } }
    @media (max-width: 400px)  { .poster-stage { transform: scale(0.26); } }
}

/* === Stage Children: alle absolut in 1400x720 coords === */

.ps-machs-gruen {
    position: absolute;
    top: 40px;
    left: 70px;
    width: 260px;
    height: auto;
    z-index: 3;
}
.ps-schriftzug {
    position: absolute;
    top: 40px;
    left: 80px;
    width: 820px;
    height: auto;
    z-index: 5;
}

.ps-badge-svg {
    position: absolute;
    top: 428px;
    left: 340px;
    width: 240px;
    height: auto;
    z-index: 10;
}
.ps-header-anim {
    position: absolute;
    top: 215px;
    right: 110px;
    width: 520px;
    height: auto;
    z-index: 7;
    pointer-events: none;
    display: block;
}

.ps-sunflower {
    position: absolute;
    top: 30px;
    left: 540px;
    width: 320px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.ps-illustration {
    position: absolute;
    top: 180px;
    left: 880px;       /* SVG content im rechten Drittel - linksshift damit Bike sichtbar */
    width: 520px;      /* width so right edge = 1400 = stage right */
    height: auto;
    transform: rotate(-4deg);
    transform-origin: center center;
    z-index: 2;
    pointer-events: none;
    animation: drive-in 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.4s both;
}
@keyframes drive-in {
    0%   { transform: translateX(700px) rotate(-4deg); }
    100% { transform: translateX(0)     rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) {
    .ps-illustration { animation: none; }
}


/* ================================================================== */
/*  3. Generic Joshi-Section (Wrapper)                                */
/* ================================================================== */
.joshi-section {
    padding: 5rem 2rem;
    position: relative;
}
.joshi-section--dark   { background: var(--joshi-tanne);    color:#fff; }
.joshi-section--green  { background: var(--joshi-klee);     color:#fff; }
.joshi-section--gras   { background: var(--joshi-grashalm); color: var(--joshi-tanne); }
.joshi-section--sand   { background: var(--joshi-sand);     color: var(--joshi-tanne); }
.joshi-section h2,
.joshi-themen h2,
.joshi-termine h2 {
    font-family: var(--joshi-display);
    font-weight: 800;
    font-style: normal;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin: 0 0 1.5rem 0;
}
.joshi-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
}

/* 2-Spalten-Layout */
.joshi-2col { grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 800px) { .joshi-2col { grid-template-columns: 1fr; } }

/* ================================================================== */
/*  4. „Unsere Grünen Köpfe"  (Tanne-grüner Hintergrund)              */
/* ================================================================== */
.joshi-koepfe { background: var(--joshi-tanne); color:#fff; }
.joshi-koepfe h2 { font-size: clamp(2rem, 5vw, 3.5rem); color: #fff; }
.joshi-koepfe p { color: #fff; }
.joshi-koepfe__photo { border-radius: 12px; overflow: hidden; background: var(--joshi-sand); }
.joshi-koepfe__photo img { width: 100%; height: auto; display: block; min-height: 300px; }

/* ================================================================== */
/*  5. „Grüne vor Ort"-Pille                                          */
/* ================================================================== */
.joshi-vor-ort { background: var(--joshi-tanne); color:#fff; padding: 6rem 2rem; }
.joshi-vor-ort__pill {
    display: inline-flex;
    align-items: center;
    background: var(--joshi-grashalm);
    color: var(--joshi-tanne);
    padding: 2rem 4rem 2rem 3rem;
    border-radius: 200px;
    font-family: var(--joshi-display);
    font-weight: 800;
    font-style: normal;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
    text-transform: none;
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
.joshi-vor-ort__pill::before {
    content:""; width: 1.8em; height: 1.8em;
    background: url('assets/illustrations/GruenevorOrt.svg') center/contain no-repeat;
    margin-right: 0.6em;
}
.joshi-vor-ort__note { max-width: 280px; font-size: 0.95rem; line-height: 1.5; }
.joshi-vor-ort__note a { color: var(--joshi-grashalm); font-weight: 700; }

/* ================================================================== */
/*  6. „10 gute Gründe" Video-Block                                   */
/* ================================================================== */
.joshi-video { background: var(--joshi-tanne); color:#fff; padding: 5rem 2rem; }
.joshi-video__teaser {
    font-family: var(--joshi-display);
    font-weight: 800;
    font-style: normal;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    color: var(--joshi-grashalm);
}
.joshi-video__card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: var(--joshi-sand); }
.joshi-video__card img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 300px; }
.joshi-video__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--joshi-grashalm); color: var(--joshi-tanne);
    display:flex; align-items:center; justify-content:center;
    font-size: 2rem; box-shadow: 0 8px 20px rgba(0,0,0,.35);
    text-decoration: none;
}
.joshi-video__play::after { content: "▶"; margin-left: 4px; }

/* ================================================================== */
/*  7. „Unsere Themen" - Karussell                                    */
/* ================================================================== */
.joshi-themen { background: var(--joshi-sand); padding: 5rem 2rem; position: relative; }
.joshi-themen h2 { color: var(--joshi-tanne); max-width: 1200px; margin: 0 auto 1.5rem; }

.joshi-themen__viewport {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.joshi-themen__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(33.333% - 1rem);
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    /* Scrollbar verstecken */
    scrollbar-width: none;
}
.joshi-themen__track::-webkit-scrollbar { display: none; }
.joshi-themen__card {
    scroll-snap-align: start;
}
.joshi-themen__card a {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.joshi-themen__card a:hover {
    transform: scale(1.03);
}
.joshi-themen__card img {
    width: 100%; height: auto; display: block;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
}
.joshi-themen__card-placeholder {
    aspect-ratio: 3 / 4;
    background: var(--joshi-grashalm);
    color: var(--joshi-tanne);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--joshi-display);
    font-weight: 800;
    font-style: normal;
    font-size: 1.5rem;
    text-align: center;
    padding: 1rem;
    border-radius: 6px;
}

/* Detail-Page (single-joshi_theme.php) */
.joshi-theme-single { background: var(--joshi-sand); padding-bottom: 4rem; }
.joshi-theme-hero { width: 100%; max-height: 70vh; overflow: hidden; }
.joshi-theme-poster { width: 100%; height: auto; display: block; }
.joshi-theme-content { max-width: 900px; margin: 0 auto; padding: 3rem 2rem; }
.joshi-theme-title {
    font-family: var(--joshi-display);
    font-weight: 900;
    font-style: normal;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--joshi-tanne);
    margin: 0 0 1.5rem;
}
.joshi-theme-excerpt { font-size: 1.25rem; line-height: 1.5; color: var(--joshi-klee); font-weight: 600; margin-bottom: 2rem; }
.joshi-theme-body { font-size: 1.1rem; line-height: 1.6; color: #222; }
.joshi-theme-body p { margin: 0 0 1em; }
.joshi-theme-back { margin-top: 3rem; }
.joshi-theme-back a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--joshi-klee);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
}
.joshi-theme-back a:hover { background: var(--joshi-tanne); }
@media (max-width: 900px) {
    /* Slider mobil: Karte mittig mit Peek links+rechts (wie Mockup). padding-inline lässt
       auch die erste/letzte Karte zentrieren. */
    .joshi-themen__track { grid-auto-columns: 62%; padding-inline: 19%; scroll-padding-inline: 19%; }
    .joshi-themen__card { scroll-snap-align: center; }
    /* weniger Weiß über "Unsere Themen" + weniger Platz unter dem Slider bis zum Dunkelgrün */
    .joshi-themen { padding-top: 2rem !important; padding-bottom: 1.25rem !important; }
    .joshi-themen h2 { padding-left: 22px; } /* "Unsere Themen" von der Kante wegrücken (mobil) */
}

.joshi-themen__nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 48px !important; height: 48px !important;
    min-width: 48px; max-width: 48px;
    padding: 0 !important;
    box-sizing: border-box;
    border-radius: 50% !important;
    background: var(--joshi-klee);
    color: #fff;
    border: none;
    font-family: var(--joshi-display);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    z-index: 3;
    display: flex; align-items: center; justify-content: center;
}
.joshi-themen__nav--prev { left: 1rem; }
.joshi-themen__nav--next { right: 1rem; }
.joshi-themen__nav:hover { background: var(--joshi-tanne); }
.joshi-themen__nav.is-disabled,
.joshi-themen__nav:disabled {
    opacity: 0.4; /* sichtbar, aber gedimmt am Rand (vorher 0 = linker Pfeil ganz weg) */
    pointer-events: none;
    cursor: default;
}
/* u-fade override — Nav-Buttons sofort klickbar, kein IntersectionObserver-Wait */
.joshi-themen__nav.u-fade:not(.is-disabled):not(:disabled) {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Karussell Pagination Dots */
.joshi-themen__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 1.5rem auto 0;
    max-width: 1200px;
    padding: 0 1rem;
}
.joshi-themen__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--joshi-klee);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}
.joshi-themen__dot:hover { background: var(--joshi-grashalm); }
.joshi-themen__dot.is-active {
    background: var(--joshi-tanne);
    border-color: var(--joshi-tanne);
    transform: scale(1.2);
}
.joshi-themen__dot:focus-visible {
    outline: 2px solid var(--joshi-tanne);
    outline-offset: 2px;
}

/* ================================================================== */
/*  8. „Wir brauchen dich" Spenden-CTA                                */
/* ================================================================== */
.joshi-spenden { background: var(--joshi-grashalm); color: var(--joshi-tanne); padding: 5rem 2rem; }
.joshi-spenden__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto; }
@media (max-width: 800px) { .joshi-spenden__inner { grid-template-columns: 1fr; } }
.joshi-spenden__heading {
    font-family: var(--joshi-display);
    font-weight: 800;
    font-style: normal;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
    background: #fff;
    color: var(--joshi-tanne);
    padding: 0.4em 0.7em 0.3em;
    transform: skewX(calc(-1 * var(--joshi-skew)));
    display: inline-block;
}
.joshi-spenden__heading > span { display:inline-block; transform: skewX(var(--joshi-skew)); }
.joshi-spenden__illu img { width: 320px; max-width: 100%; height: 320px; display: block; }
.joshi-spenden__text { font-family: var(--joshi-display); font-weight: 800; font-style: normal; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; }

/* ================================================================== */
/*  9. „Grüne Termine" — Section enthält Sunflower-Events             */
/* ================================================================== */
.joshi-termine {
    background: var(--joshi-sand) !important;
    padding: 4rem 2rem !important;
    color: var(--joshi-tanne) !important;
}
.joshi-termine .joshi-termine__heading,
.joshi-termine > h2:first-child,
.joshi-termine .wp-block-heading:first-of-type {
    color: var(--joshi-klee) !important;
    font-family: var(--joshi-display);
    font-weight: 800;
    font-style: normal;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    max-width: 800px;
    margin: 0 auto 1.5rem !important;
    text-align: left;
}

/* Sunflower-Events inside Termine → ohne eigene "Nächste Termine"-Headline */
.joshi-termine .wp-block-heading:not(:first-of-type),
.joshi-termine > .wp-block-group .wp-block-heading {
    display: none !important;
}

/* Container für Events */
.joshi-termine > .wp-block-group {
    background: transparent !important;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}
.joshi-termine .wp-block-group__inner-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Event-Cards: kein Bild, Datums-Pille, kompakte Zeile */
.joshi-termine .card,
.joshi-termine article.post,
.joshi-termine article.type-sunflower_event {
    display: flex !important;
    align-items: center;
    gap: 1.5rem;
    background: #fff !important;
    border-radius: 6px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    border: none !important;
    flex-direction: row !important;
}
.joshi-termine .card img,
.joshi-termine article img,
.joshi-termine .wp-post-image,
.joshi-termine .card-img,
.joshi-termine figure,
.joshi-termine .post-thumbnail { display: none !important; }

.joshi-termine .card-body,
.joshi-termine .entry-content,
.joshi-termine .entry-header { padding: 0 !important; flex: 1; }

/* Datums-Pille vor jeder Card */
.joshi-termine .card::before,
.joshi-termine article::before {
    display: none !important;
}

/* Force event cards to stack vertically in a list, centered max-width */
.joshi-termine .row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.joshi-termine .row > div {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

.joshi-termine .p-4 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    width: 100%;
    padding: 0 !important;
    text-align: left !important;
}
.joshi-termine .joshi-event-details {
    flex: 1 !important;
    max-width: none !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.joshi-date-badge {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: var(--joshi-sand);
    border: 2px solid var(--joshi-klee);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.joshi-date-badge__weekday {
    font-family: var(--joshi-display);
    font-size: 0.95rem;
    font-weight: 800;
    font-style: normal;
    color: var(--joshi-klee);
    text-transform: uppercase;
}

.joshi-date-badge__day {
    font-family: var(--joshi-display);
    font-size: 2rem;
    font-weight: 900;
    font-style: normal;
    color: var(--joshi-tanne);
    margin-top: -2px;
}

.joshi-event-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    text-align: left;
}

.joshi-event-details__time {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666 !important;
}

.joshi-event-details__title {
    font-family: var(--joshi-display);
    font-size: 1.5rem;
    font-weight: 800;
    font-style: normal;
    color: var(--joshi-tanne) !important;
    line-height: 1.1;
}

.joshi-event-details__location {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    color: #888 !important;
    font-style: normal;
}

.event-card__icon--green {
    display: block !important;
    margin-left: auto;
    flex-shrink: 0;
}

.event-card__icon--white {
    display: none !important;
}

/* ================================================================== */
/*  10. „Folge uns auf Social Media"                                  */
/* ================================================================== */
.joshi-social { background: var(--joshi-tanne); padding: 5rem 2rem; }
.joshi-social__inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
    align-items: center; max-width: 1100px; margin: 0 auto;
}
@media (max-width: 800px) { .joshi-social__inner { grid-template-columns: 1fr; } }
.joshi-social__note { font-size: 0.95rem; color: var(--joshi-grashalm); }
.joshi-social__heading {
    font-family: var(--joshi-display);
    font-weight: 800;
    font-style: normal;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--joshi-grashalm);
    line-height: 0.95;
}
.joshi-social__illu img { max-width: 360px; height: auto; }

/* Allow top menu items to sit on a single line on mobile viewports */
@media (max-width: 600px) {
    .home nav.navbar-expand-lg.py-0 .navbar-nav {
        gap: 5px 12px !important;
        justify-content: center !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        flex-direction: row !important;
        padding: 5px 0 !important;
    }
    .home nav.navbar-expand-lg.py-0 li {
        text-align: center !important;
        white-space: normal !important;
        border-right: none !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .home nav.navbar-expand-lg.py-0 a {
        font-size: 1rem !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
    }
    .home .topmenu li:not(:last-child) {
        border-right: none !important;
        padding-right: 0 !important;
    }
    .home .topmenu li:not(:first-child) {
        padding-left: 0 !important;
    }
    /* Add clean separator using pseudo elements */
    .home .topmenu li:not(:last-child)::after {
        content: "|" !important;
        color: rgba(255, 255, 255, 0.4) !important;
        margin-left: 12px !important;
        margin-right: 2px !important;
        font-size: 1rem !important;
        pointer-events: none !important;
    }
}

/* ================================================================== */
/*  11. Prototype Section Alignments (Visual Parity)                 */
/* ================================================================== */

/* KÖPFE SECTION */
.section-koepfe { padding: 80px 0; border-top: 20px solid var(--joshi-tanne); margin-top: -20px; position:relative; z-index:6; background-color: var(--joshi-tanne); color: #fff;}
.koepfe-container { display: flex; gap: 60px; max-width: 1000px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2;}
.koepfe-map { max-width: 1100px; margin: 60px auto 0; padding: 0 40px; position: relative; z-index: 2; }
.koepfe-map iframe { display: block; width: 100%; height: 600px; border: 0; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.koepfe-left { position: relative; flex: 0 0 45%; }
.team-photo { width: 100%; border-radius: 0; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2)); }
.koepfe-right { flex: 1; padding-top: 10px;}
.note-koepfe-right { display: flex; align-items: center; margin-bottom: 20px; margin-left: -30px; }
.koepfe-arrow-right { margin-right: 15px; }

body.home h2.title-koepfe {
    font-size: 3.2rem !important;
    margin-bottom: 25px !important;
    font-family: var(--joshi-display) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #fff !important;
    text-transform: none !important;
}

.intro-text { font-size: 1.1rem; margin-bottom: 15px; line-height: 1.4; color: #ddd;}
.body-text { color: #ccc;}
.heart-icon { color: var(--joshi-grashalm); font-style: normal; }

/* INFOS & VOR ORT — neues Layout: links Verpasse keine Infos, rechts Fahrrad */
/* Grüne vor Ort — spiegelt Social-Media-Layout: Lime-Kurve rechts, Rad straddelt den
   Strich (Rand des Hellgrün), "Verpasse keine Infos" links im Dunkelgrün. */
.section-infos {
    position: relative;
    overflow: hidden;
    background-color: var(--joshi-tanne);
    color: #fff;
    min-height: 420px;
    display: block;
}
/* Halbkreis-Kurve: rechte Hälfte, Strich startet in der Mitte (50%).
   "Grüne vor Ort" mittig im Hellgrün rechts vom Rad (spiegelt Social "Folge uns auf Social Media"). */
.section-infos .vor-ort-lime-blob {
    position: absolute; top: 0; left: 50%; right: 0; bottom: 0;
    background-color: var(--joshi-grashalm);
    border-radius: 400px 0 0 400px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 60px 60px 60px 180px;
    z-index: 1;
    text-decoration: none !important;
}
body.home .section-infos .title-vorort-lime {
    font-size: 5.5rem !important;
    line-height: 0.9 !important;
    font-family: var(--joshi-display) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    color: var(--joshi-tanne) !important;
    text-transform: none !important;
    text-align: left !important;
    margin: 0 !important;
    transform: skewX(-6deg);
}
/* Location-Pin unter "Grüne vor Ort", in Tannengrün (sichtbar auf Lime) */
.section-infos .vor-ort-pin { width: 52px; height: 52px; color: var(--joshi-tanne); margin-top: 0.5rem; display: block; }
/* "Verpasse keine Infos": zentriert in der dunkelgrünen Linkszone (klar links vom Rad), mehrzeilig */
.section-infos .vor-ort-text {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 38%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
    z-index: 2;
    text-decoration: none !important;
    color: var(--joshi-grashalm) !important;
    font-family: var(--joshi-display) !important;
    font-style: normal !important;
    font-weight: 900 !important;
    font-size: 4rem !important;
    line-height: 0.9 !important;
    transition: color 0.2s;
}
.section-infos .vor-ort-text > span { transform: skewX(-6deg); max-width: 300px; display: block; }
/* Finger-Icon mittig unter "Verpasse keine Infos" (erbt grashalm via currentColor) */
.section-infos .vor-ort-finger { width: 56px; height: 56px; display: block; flex-shrink: 0; }
.section-infos .vor-ort-text:hover { color: #fff !important; }
/* Rad: horizontal + vertikal zentriert (straddelt den Strich = Rand des Hellgrün), wie Social-Phone */
.section-infos .vor-ort-bike-link {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    z-index: 3;
    line-height: 0;
}
.section-infos img.bike-static {
    width: 460px;
    height: auto;
    max-width: 90vw;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.35));
}

/* Grüne vor Ort — Mobile-Stack (spiegelt Social): absolute Spalten → vertikal gestapelt.
   "Verpasse keine Infos" → Rad → "Grüne vor Ort" (lime auf Dunkelgrün, kein Kurven-Blob). */
@media (max-width: 900px) {
    .section-infos {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 1.25rem; padding: 50px 20px; min-height: 0;
    }
    .section-infos .vor-ort-text {
        position: static; transform: none; width: 100%;
        justify-content: center; order: 1;
        font-size: 2rem !important;
        margin-bottom: 3rem; /* mehr Abstand zum Lastenrad (Rad+Text weiter runter) */
        color: #fff !important; /* "Verpasse keine Infos" + Finger weiß (nur mobil) */
    }
    .section-infos .vor-ort-text > span { max-width: none; }
    .section-infos .vor-ort-bike-link {
        position: static; margin: 0 auto 2.25rem; order: 2; /* mehr Abstand Rad -> "Grüne vor Ort" */
        width: fit-content; height: auto; line-height: 0;
    }
    .section-infos img.bike-static { width: 320px; max-width: 85%; height: auto; margin: 0 auto; }
    .section-infos .vor-ort-lime-blob {
        position: static; border-radius: 0; width: 100%; padding: 0;
        align-items: center; justify-content: center; order: 3;
        background: transparent;
    }
    body.home .section-infos .title-vorort-lime {
        text-align: center !important;
        color: #fff !important; /* "Grüne vor Ort" weiß (nur mobil) */
        font-size: 3.5rem !important;
    }
    .section-infos .vor-ort-pin { color: #fff !important; } /* Marker weiß (sichtbar auf Tanne, nur mobil) */
}
.infos-container { display: flex; width: 100%; align-items: stretch; max-width: 1000px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2;}
.infos-col { flex: 1; padding: 60px 40px 100px 0; }

body.home h2.title-infos {
    font-size: 2rem !important;
    margin-bottom: 15px !important;
    font-family: var(--joshi-display) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 0.9 !important;
    display: inline-block !important;
    color: var(--joshi-klee) !important;
    text-transform: none !important;
}
/* Section-infos hat sand-bg → Text-Farben anpassen */
.section-infos .body-text,
.section-infos p { color: var(--joshi-tanne) !important; }
.section-infos .icon-cursor { color: var(--joshi-tanne) !important; }

.icon-cursor {
    margin-top: 30px;
    display: block;
    color: #fff;
    margin-left: auto;
    margin-right: auto;
    transform: scale(1.5) rotate(180deg);
    transform-origin: center center;
}
.vor-ort-col { flex: 1.2; position: relative; }
.lime-blob-right {
    position: absolute; top: 0; left: -600px; right: -50vw; bottom: 0;
    background-color: var(--joshi-grashalm);
    border-radius: 400px 0 0 400px;
    padding: 40px 40px 40px 680px;
    display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 1.5rem;
    overflow: hidden;
    z-index: 0;
}
.section-infos .infos-col { position: relative; z-index: 2; }
.lime-blob-right .title-vorort { order: 1; margin-left: 0 !important; flex-shrink: 0; }
.lime-blob-right img.crowd-img {
    order: 2;
    transform: translateX(900px);
    opacity: 0;
    transition: transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.6s ease-out;
    will-change: transform;
}
.lime-blob-right.is-rolled-in img.crowd-img {
    transform: translateX(0);
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .lime-blob-right img.crowd-img {
        transform: none;
        opacity: 1;
        transition: none;
    }
}

body.home .title-vorort {
    font-size: 4.5rem !important;
    line-height: 0.85 !important;
    text-align: right !important;
    width: 100% !important;
    max-width: 250px !important;
    margin-bottom: 20px !important;
    font-family: var(--joshi-display) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    color: var(--joshi-tanne) !important;
    text-transform: none !important;
}
.lime-blob-right img.crowd-img { max-width: 100%; max-height: 180px; width: auto; height: auto; object-fit: contain; margin: 0; }

/* GRÜNDE SECTION */
.section-gruende { padding: 100px 0; background-color: var(--joshi-tanne); color: #fff; }
/* Grid: Heading oben über volle Breite, Video links + Teaser rechts auf GLEICHER Höhe (gleiche Grid-Zeile). */
.gruende-container { display: grid; grid-template-columns: 50% 1fr; grid-template-areas: "video heading" "video text"; column-gap: 60px; row-gap: 1.25rem; align-items: start; max-width: 1140px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2;}
.gruende-container > .title-gruende { grid-area: heading; }
.gruende-video { grid-area: video; }

body.home h2.title-gruende {
    font-size: 2.8rem !important;
    margin-bottom: 15px !important;
    display: inline-block !important;
    font-family: var(--joshi-display) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1.05 !important; /* >0.9: Umlaut-Punkte (ü/ä) Zeile 2 überlappen sonst Zeile 1 */
    color: #fff !important;
    text-transform: none !important;
}
.video-placeholder { position: relative; border-radius: 4px; overflow: hidden; margin-top:10px; box-shadow: 0 10px 20px rgba(0,0,0,0.3); display: block; cursor: pointer; aspect-ratio: 16 / 9; }
.video-placeholder img { transition: transform 0.3s ease; width: 100%; height: 100%; object-fit: cover; }
.video-placeholder:hover img { transform: scale(1.05); }
.video-placeholder .play-icon { transition: transform 0.2s ease; }
.video-placeholder:hover .play-icon { transform: translate(-50%, -50%) scale(1.1); }
.video-placeholder--embed:focus-visible { outline: 3px solid var(--joshi-grashalm); outline-offset: 4px; }
.video-placeholder--playing { cursor: default; }
.video-placeholder--playing:hover img { transform: none; }

/* ================================================================== */
/*  Sticky Menu — Topmenu + Menubar bleibt beim Scrollen oben          */
/* ================================================================== */
/* Sticky braucht overflow:visible an ALL parents — sunflower setzt overflow:hidden auf #page + body */
html, body, body.home, #page.site {
    overflow-x: clip !important;
    overflow-y: visible !important;
}
.topmenu,
.menubar,
.right-bar.menubar {
    position: sticky !important;
    top: 0;
    z-index: 200;
    background-color: var(--joshi-grashalm) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.home .topmenu { top: 0; }
.home .menubar { top: 38px; } /* unter dem topmenu */

/* Sunflower-Hauptheader ausblenden: Custom-Logo + Hauptmenü (theme_location "mainmenu")
   stecken beide in .right-bar.menubar. Live waren das die Balken "NDS Kampagnendesign 2026"
   (Logo) + "Karte Kandidierende Kommunalwahl 2021" (Menü) — kommen aus der Live-Konfiguration,
   nicht aus unserem Code. Unser Design nutzt nur das topmenu (grashalm) + den eigenen
   .joshi-burger; der theme-eigene .hamburger fliegt gleich mit raus. */
.menubar,
.right-bar.menubar,
.hamburger:not(.joshi-burger),
/* Live-Variante des Sunflower-Headers (andere Markup-Version, Multisite gruene-niedersachsen.de):
   grüner Seitentitel-Balken (.bloginfo.bg-primary) + komplette Haupt-Navbar (.navbar-main).
   .navbar-main enthält Logo + Hauptmenü UND wird beim Scrollen zum fixierten Sticky-Header
   (.stuck) — eine Regel deckt statischen Balken, Menü und Sticky-Header ab. Topmenu (.navbar-top)
   bleibt unberührt. Live in der Vorschau verifiziert. */
.bloginfo.bg-primary,
.navbar-main { display: none !important; }

/* Live: unser Topmenu als dauerhafte Nav oben fixieren. Der Original-Sticky-Header war die jetzt
   ausgeblendete .navbar-main; das Topmenu war nur INNERHALB von #masthead sticky und würde sonst
   beim Scrollen mit wegscrollen. Greift nur live (dort ist es nav.navbar-top.topmenu) — lokal ist
   es div.topmenu, also unberührt. Topmenu + Hero sind beide grashalm → nahtlos, keine Verschiebung. */
.navbar-top.topmenu { position: fixed !important; top: 0; left: 0; right: 0; width: 100% !important; z-index: 1000; }
body.admin-bar .navbar-top.topmenu { top: 32px !important; } /* nur eingeloggte Admins; Besucher: top 0 */

/* Topmenu: gleicher vertikaler Abstand oben + unten */
.topmenu { padding: 8px 0 !important; }
.topmenu .navbar { padding: 0 !important; min-height: 0 !important; }
.topmenu .container-fluid { padding-top: 0 !important; padding-bottom: 0 !important; }
.topmenu .navbar-collapse { padding: 0 !important; }
.topmenu .navbar-nav { padding: 0 !important; margin: 0 !important; display: flex; align-items: center; }
.topmenu .navbar-nav .menu-item { display: flex; align-items: center; }
.topmenu .navbar-nav a { padding-top: 0 !important; padding-bottom: 0 !important; line-height: 1.4 !important; }

/* ================================================================== */
/*  Footer: minimal compact — 3 Links horizontal + Logo                */
/* ================================================================== */
.site-footer { padding: 0 !important; margin: 0 !important; }
.section-social { margin-bottom: 0 !important; }
.site-footer .container.site-info { padding: 20px 2rem !important; min-height: 0 !important; max-width: 1200px; }
.site-footer__content { padding: 0 !important; }
.site-footer__content--top { padding: 0 !important; margin-bottom: 12px !important; min-height: 0 !important; }
.site-footer__content--bottom { padding: 0 !important; min-height: 0 !important; align-items: center; }
.joshi-footer-links { padding: 0 !important; min-height: 0 !important; }
/* Footer u-fade override — Links sofort sichtbar, kein Intersection-Wait */
.site-footer .u-fade,
.site-footer.u-fade { opacity: 1 !important; pointer-events: auto !important; }
.joshi-footer-links {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
}
.joshi-footer-links .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 1.5rem;
    padding: 0;
    margin: 0 auto !important;
    list-style: none;
    width: auto !important;
}
.joshi-footer-links .nav-item { display: inline-flex; }
.joshi-footer-links .nav-link {
    color: var(--joshi-tanne) !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem !important;
    font-weight: 600;
    padding: 4px 0 !important;
    text-decoration: none;
}
.joshi-footer-links .nav-link:hover { color: var(--joshi-klee) !important; text-decoration: underline; }
.site-footer__content--bottom { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 1rem; }
.footerlogo { display: inline-flex !important; align-items: center; gap: 0; width: auto !important; height: auto !important; flex: 0 0 auto; }
.footerlogo img { height: 32px !important; width: auto !important; max-width: 80px !important; }
.footerlogo .concave-30px { display: none !important; }
.sunflower__socials { display: inline-flex !important; gap: 8px; width: auto !important; min-width: 0 !important; height: auto !important; flex: 0 0 auto; }
.sunflower__socials:empty { display: none !important; }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; }
.gruende-text { grid-area: text; padding-top: 0; }

body.home h2.title-waere {
    font-size: 2.5rem !important;
    margin-bottom: 15px !important;
    font-family: var(--joshi-display) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 0.9 !important;
    display: inline-block !important;
    color: #fff !important;
    text-transform: none !important;
}

/* WIR BRAUCHEN DICH */
.section-brauchen { display: flex; align-items: center; justify-content: center; gap: 2rem; padding: 60px 40px; overflow: hidden; position: relative; background-color: var(--joshi-grashalm); color: var(--joshi-tanne); }
.brauchen-lime-blob { flex: 0 1 380px; background-color: var(--joshi-grashalm); display: flex; justify-content: flex-end; z-index: 2;}

body.home h2.title-brauchen {
    font-size: 4.5rem !important;
    line-height: 0.85 !important;
    text-align: right !important;
    font-family: var(--joshi-display) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    display: inline-block !important;
    color: var(--joshi-tanne) !important;
    text-transform: none !important;
}
.brauchen-heart { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; z-index: 10; }
.brauchen-heart img.heart-3d { width: 200px; height: auto; max-height: 280px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); transform: rotate(10deg); }
.brauchen-right-col { flex: 0 1 380px; z-index: 1;}

/* Brauchen/Spenden: auf schmalen Viewports stapeln (Glas oben, Texte drunter) */
@media (max-width: 900px) {
    .section-brauchen { flex-direction: column; gap: 1.5rem; padding: 50px 20px; text-align: center; }
    .brauchen-lime-blob,
    .brauchen-right-col { flex: 0 0 auto; justify-content: center; }
    .brauchen-lime-blob { order: 2; }
    .brauchen-heart { order: 1; }
    .brauchen-right-col { order: 3; }
    body.home h2.title-brauchen { text-align: center !important; }
}

body.home h2.title-spende {
    font-size: 2.5rem !important;
    line-height: 1.05 !important; /* >0.9: Umlaut-Punkte (für/grüne) Zeile 2 überlappen sonst Zeile 1 */
    font-family: var(--joshi-display) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    display: inline-block !important;
    color: #fff !important;
    text-transform: none !important;
}

/* SOCIAL MEDIA — Toolkit links, Phone zentriert (straddelt Halbkreis-Strich), Folge-uns rechts */
.section-social {
    position: relative;
    overflow: hidden;
    background-color: var(--joshi-tanne);
    color: #fff;
    min-height: 420px;
    display: block;
}

/* Halbkreis-Kurve: rechte Hälfte, Strich startet exakt in der Mitte (50%).
   Text mittig im Hellgrün (align-items center → zentriert bei ~75% Viewport, klar rechts vom Phone). */
.social-lime-blob {
    position: absolute; top: 0; left: 50%; right: 0; bottom: 0;
    /* TEMP (solange Termine raus): uniform Tannengrün statt Lime-Kurve, weniger durcheinander.
       Lime zurück = transparent -> var(--joshi-grashalm). */
    background-color: transparent;
    border-radius: 400px 0 0 400px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 60px 60px 60px 180px; /* padding-left-Floor hält Text rechts vom Phone bei schmalen Viewports */
    z-index: 1;
}

/* Toolkit-Text + QR: zentriert in der dunkelgrünen Linkshälfte (0–50%), vertikal mittig.
   width:50% = exakt bis zur Lime-Kurve (Section-Mitte) → justify-center trifft Dunkelgrün-Mitte. */
.social-left {
    /* Vertikal zentrieren OHNE transform: top/bottom:0 = volle Hoehe, align-items:center mittet.
       (transform:translateY(-50%) wird von .u-fade.is-visible ueberschrieben -> QR fiel 100px runter.) */
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 50%;
    display: flex; flex-direction: row; align-items: center; justify-content: center;
    gap: 1.5rem;
    padding-left: 0;
    z-index: 2;
}
/* QR+Text nach links rücken (justify-center → padding-right schiebt Gruppe ~R/2 nach links),
   damit Abstand QR↔Handy ≈ Abstand Handy↔Titel (vorher 16px vs. 134px).
   !important + höhere Spezifität schlägt parent-Theme .container{padding-right:0!important}. */
.section-social .container.social-left { padding-left: 0 !important; padding-right: 13rem !important; }

/* Phone: horizontal + vertikal zentriert in der Section (straddelt den Strich).
   left:0 + right:0 + margin:auto = robustes Zentrieren (kein 50%-translate-coord-problem bei alignfull). */
.social-phone-link {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    z-index: 3;
    line-height: 0;
}
.phone-img, .social-3d {
    transform: rotate(5deg);
    height: 360px;
    width: auto;
    max-width: 90vw;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
    display: block;
}

.note-social {
    font-family: var(--joshi-display) !important;
    font-weight: 800 !important;
    font-style: normal !important;
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
    color: #fff !important;
    transform: none;
    margin: 0;
    text-align: left;
    flex-shrink: 0;
    max-width: 200px;
}

/* Toolkit-QR (ersetzt "QR Code"-Platzhalter) — grashalm-Module auf dunkelgrün */
.section-social .social-qr {
    width: 200px;
    height: 200px;
    display: block;
    flex-shrink: 0;
}

body.home h2.title-social {
    font-size: 3.5rem !important;
    line-height: 0.9 !important;
    font-family: var(--joshi-display) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    display: inline-block !important;
    color: #fff !important; /* weiß auf Tannengrün (Lime-Blob jetzt transparent) */
    text-transform: none !important;
}

/* Responsive adjustments for prototype sections */
@media (max-width: 1000px) {
    .koepfe-container, .gruende-container, .infos-container { flex-direction: column; gap: 30px; }
    .gruende-container { grid-template-columns: 1fr; grid-template-areas: "video" "heading" "text"; }
    /* Reihenfolge mobil: Video → Überschrift → Teaser. Überschrift+Teaser zentriert (wie übriger Mobil-Text). */
    .gruende-container > .title-gruende { padding-left: 22px !important; padding-right: 22px !important; justify-self: center !important; text-align: center !important; }
    .koepfe-left { flex: 0 0 100%; }
    .note-koepfe-right { margin-left: 0; }
    .infos-col { padding: 40px 0; text-align: center; }
    .icon-cursor { display: block; margin: 20px auto 0 auto; transform: scale(1.3) rotate(-15deg); }
    .vor-ort-col { width: 100%; }
    .lime-blob-right { position: static; border-radius: 0; padding: 40px; width: 100%; text-align: center; display: flex; justify-content: center; align-items: center; }
    .lime-blob-right img.crowd-img { margin-left: 0; margin-top: 0; max-width: 100%; }
    .gruende-video { width: 100%; }
    .gruende-text { padding-top: 0; margin-top: -1rem; padding-left: 22px; padding-right: 22px; text-align: center; }
    /* brauchen-Overrides entfernt — JS-zoom skaliert ganze Seite uniform, kein extra responsive nötig */
}

/* Social-Media Mobile: alle absolute-Spalten → vertikal gestapelt (Phone, Folge-uns, Toolkit) */
@media (max-width: 900px) {
    .section-social {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 1.5rem; padding: 50px 20px; min-height: 0;
    }
    .section-social .container.social-left,
    .social-left {
        position: static; transform: none; width: 100%;
        flex-direction: row; justify-content: center; align-items: center;
        padding-left: 0 !important; padding-right: 0 !important; gap: 1rem; order: 3;
    }
    .note-social { text-align: center; max-width: none; }
    .social-phone-link {
        position: static; transform: none; margin: 0; order: 1;
    }
    .social-3d { transform: rotate(5deg); height: 280px; margin: 0 auto; }
    .social-lime-blob {
        position: static; transform: none; border-radius: 0;
        width: 100%; padding: 20px; text-align: center;
        align-items: center; justify-content: center; order: 2;
        background: transparent;
    }
    body.home h2.title-social { color: #fff !important; text-align: center !important; line-height: 1 !important; }
}
