/* JFV Burscheid-Hilgen e.V. — VeloQuill-Theme auf Bulma 1.0.4
   Reihenfolge: fonts.css → bulma.min.css → Bundle-CSS (Spenden) → theme.css
   Layout, Navbar, Buttons, Formulare, Progress, Breadcrumb, Tabelle = Bulma.
   Eigenes CSS nur für Tokens und die eigenständigen Komponenten
   (Heftpapier/Handschrift, Wunschliste, Preisliste, Zeitleiste, Logo-Figur …). */

/* ---------- Tokens + Bulma-Variablen ---------- */

:root {
    /* Logo-Rot #F63535 für Flächen/Grafik; dunkleres Rot für Text/Buttons (Kontrast ≥ 4.5) */
    --rot: #F63535;
    /* WCAG 2.2 AAA (1.4.6): Text-/Knopf-Rot ≥ 7:1 auf Weiß, #F4F4F5 und --rot-hell; --rot bleibt für Linien/Schmuck */
    --rot-tief: #A11218;
    --rot-auf-dunkel: #FF8F8F; /* Rot als Text auf --tinte: 7,8:1 */
    --rot-dunkel: #7F0D12;
    --rot-hell: #FEEDED;
    --tinte: #1C1C1C;
    --tinte-weich: #4A4A50; /* ≥ 7,7:1 auf allen hellen Flächen */
    --papier: #FFFFFF;
    --heftlinie: #BFD7EE;
    --heftrand: #E8908A;
    --flaeche: #F4F4F5;
    --linie: #E4E4E7;

    --display: "Anybody", "Arial Narrow", sans-serif;
    --hand: "Playpen Sans", "Comic Neue", cursive;

    /* Bulma */
    --bulma-family-primary: "Source Sans 3", "Segoe UI", sans-serif;
    --bulma-family-secondary: "Source Sans 3", "Segoe UI", sans-serif;
    --bulma-body-size: 1.0625rem;
    --bulma-body-line-height: 1.6;
    --bulma-body-color: var(--tinte);
    --bulma-text: var(--tinte);
    --bulma-text-strong: var(--tinte);
    --bulma-strong-color: var(--tinte);

    --bulma-primary-h: 358deg;
    --bulma-primary-s: 80%;
    --bulma-primary-l: 35%;
    --bulma-primary-invert-l: 100%;
    --bulma-link-h: 358deg;
    --bulma-link-s: 80%;
    --bulma-link-l: 35%;
    --bulma-link-text: var(--rot-tief);

    --bulma-radius: 6px;
    --bulma-radius-small: 4px;
    --bulma-control-radius: 6px;

}

/* Bulma 1 definiert Komponenten-Variablen direkt auf der Komponente —
   deshalb hier überschreiben, nicht auf :root. */
.navbar { --bulma-navbar-height: 5rem; --bulma-navbar-item-img-max-height: 3.2rem; }
.progress { --bulma-progress-bar-background-color: var(--rot-hell); --bulma-progress-border-radius: 999px; }
.breadcrumb { --bulma-breadcrumb-item-color: var(--tinte-weich); --bulma-breadcrumb-item-active-color: var(--tinte); }
.footer { --bulma-footer-background-color: var(--tinte); }

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

a { color: var(--rot-tief); text-underline-offset: 0.18em; }
a:hover { color: var(--rot-dunkel); }

:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; }
/* WCAG 2.4.7/1.4.11: Bulma färbt den Fokus rot (2,96:1 auf Dunkel, unsichtbar auf Rot) und schaltet ihn
   bei .button/.input/select ganz ab → überall ein deutlicher Rahmen, auf dunklen/roten Flächen weiß. */
html :is(a, button, input, select, textarea, summary, [tabindex], .button, .input, .textarea, .select select):focus-visible {
    outline: 3px solid var(--tinte) !important;
    outline-offset: 3px;
}
html :is(.footer.is-jfv, .section.is-tinte, .section.dark, .section.band) :focus-visible {
    outline-color: #fff !important;
    box-shadow: none;
}
/* 2.4.11: fokussierte Elemente nicht unter der klebenden Kopfleiste verstecken */
html { scroll-padding-top: 6rem; }

/* 1.4.1: Links im Fließtext nicht nur über die Farbe erkennbar */
main :is(p, li, dd, td, address, label, .kasten-text, .content) a:not(.button):not(.preis):not(.foerderer-logo):not([class*="vq-don"]) {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}
main :is(p, li, dd, td, address, label, .kasten-text, .content) a:not(.button):hover { text-decoration-thickness: 2px; }
/* 1.4.10: lange Adressen/URLs brechen um statt seitlich zu scrollen */
main a, .footer a { overflow-wrap: anywhere; }

/* Infokasten-Überschrift ist h2 (richtige Gliederung), sieht aus wie h3 */
h2.wie-h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-variation-settings: "wdth" 88; font-weight: 750; line-height: 1.15; }

.lesbar { max-width: 38rem; }

.skip {
    position: absolute;
    left: -999px;
    top: 0.5rem;
    background: var(--tinte);
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 100;
}
.skip:focus { left: 0.5rem; color: #fff; }

/* ---------- Typografie (Bulma setzt h1–h6 zurück) ---------- */

h1, h2, h3 {
    font-family: var(--display);
    font-variation-settings: "wdth" 78;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    text-wrap: balance;
    color: var(--tinte);
    hyphens: auto;
    overflow-wrap: break-word;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-variation-settings: "wdth" 72; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-variation-settings: "wdth" 88; font-weight: 750; line-height: 1.15; }

p:not(:last-child) { margin-bottom: 1em; }

.einleitung {
    font-size: clamp(1.15rem, 1.6vw, 1.3rem);
    line-height: 1.5;
    color: var(--tinte-weich);
    max-width: 36rem;
}

/* ---------- Navbar (Bulma) ---------- */

.navbar.is-jfv {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #ECECEE;
    background: rgba(255, 255, 255, 0.97);
}
.navbar.is-jfv .navbar-item,
.navbar.is-jfv .navbar-link { font-weight: 600; color: var(--tinte); }
.navbar.is-jfv a.navbar-item:hover { background: transparent; color: var(--rot-tief); }
.navbar.is-jfv a.navbar-item.is-active,
.navbar.is-jfv a.navbar-item.is-active:hover {
    background: transparent;
    box-shadow: none;
    border: 0;
    color: var(--rot-tief);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.55em;
}
.navbar.is-jfv .navbar-brand .navbar-item { padding-left: 0; }
.navbar.is-jfv .navbar-brand img { height: 3.2rem; width: auto; max-height: 3.2rem; }
.navbar.is-jfv .navbar-burger { color: var(--tinte); height: var(--bulma-navbar-height); width: var(--bulma-navbar-height); }

/* ---------- Buttons (Bulma .button) ---------- */

.button { font-weight: 700; }
.button.is-primary { background-color: var(--rot-tief); color: #fff; }
.button.is-primary:hover,
.button.is-primary:focus-visible { background-color: var(--rot-dunkel); color: #fff; }
.button.is-dark.is-outlined { border-width: 2px; border-color: var(--tinte); color: var(--tinte); }
.button.is-dark.is-outlined:hover { background: var(--tinte); color: #fff; }
.button.is-white { color: var(--rot-tief); }
.button.is-white:hover { background: var(--tinte); color: #fff; }

/* ---------- Heftpapier (das eine laute Element) ---------- */

.heft {
    position: relative;
    background-color: var(--papier);
    background-image:
        linear-gradient(90deg, transparent 2.4rem, var(--heftrand) 2.4rem, var(--heftrand) calc(2.4rem + 1.5px), transparent calc(2.4rem + 1.5px)),
        repeating-linear-gradient(180deg, transparent 0, transparent calc(2rem - 1px), var(--heftlinie) calc(2rem - 1px), var(--heftlinie) 2rem);
    background-position: 0 0, 0 1.1rem;
    padding: 1.6rem 1.5rem 1.4rem 3.4rem;
    box-shadow: 0 1px 0 rgba(28, 28, 28, 0.06), 0 14px 30px -12px rgba(28, 28, 28, 0.3);
}
.heft.is-links { transform: rotate(-1.2deg); }
.heft.is-rechts { transform: rotate(1.2deg); }

.heft-wunsch {
    font-family: var(--hand);
    font-size: clamp(1.25rem, 2.1vw, 1.6rem);
    line-height: 2rem;
    color: #1F3A8A;
    margin: 0;
}
.heft-kind {
    font-family: var(--hand);
    font-size: 1rem;
    line-height: 2rem;
    color: var(--tinte-weich);
    margin: 0;
}
.heft p:not(:last-child) { margin-bottom: 0; }

/* Simulierte Kinderhandschrift — jfv.js zerlegt den Text in Buchstaben */
.hs-klein { font-family: "Schoolbell", var(--hand); font-size: 1.18em; color: #55575E; letter-spacing: 0.03em; word-spacing: 0.12em; }
.hs-mittel { font-family: "Playpen Sans", var(--hand); color: #1F3A8A; }
.hs-gross { font-family: "Gochi Hand", var(--hand); font-size: 1.12em; color: #1E3796; }
.hs-teen { font-family: "Kalam", var(--hand); font-weight: 300; font-size: 1.02em; color: #2B3FA6; }

.hs-wort { display: inline-block; white-space: nowrap; }
.hs-z { display: inline-block; }
.hs-durch { position: relative; display: inline-block; margin-right: 0.15em; }
.hs-durch::after {
    content: "";
    position: absolute;
    left: -0.1em;
    right: -0.1em;
    top: 52%;
    height: 0.11em;
    min-height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform: rotate(-5deg);
}
.hs-durch.hs-anim::after { animation: hs-strich 0.25s ease-out both; animation-delay: inherit; }
.hs-anim .hs-z { animation: hs-zeichen 0.12s ease-out both; }
@keyframes hs-zeichen { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(-30% -30% -30% 0); } }
@keyframes hs-strich { from { right: 100%; } }

/* ---------- Hero ---------- */

.hero.is-jfv {
    background: #fff;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #ECECEE;
}
/* Die jubelnde Figur aus dem Logo (Vektor), groß angeschnitten */
.hero.is-jfv::before {
    content: "";
    position: absolute;
    right: -3rem;
    bottom: -6rem;
    width: min(34rem, 46vw);
    aspect-ratio: 194 / 256;
    background: url("../img/figur.svg") no-repeat center / contain;
    pointer-events: none;
}
.hero.is-jfv .hero-body {
    position: relative;
    z-index: 1;
    padding-top: clamp(3rem, 7vw, 6rem);
    padding-bottom: clamp(3rem, 7vw, 6rem);
}

.hero-wunsch { max-width: 25rem; margin-top: 6rem; }
.hero-wunsch .heft { transform: rotate(-2.2deg); transition: opacity 0.25s ease; }
.hero-wunsch .heft.blendet { opacity: 0; }
.hero-wunsch .heft-wunsch { min-height: 8rem; }

.hero-wunsch .preis {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 2px dashed var(--heftlinie);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--tinte);
    background: var(--papier);
    text-decoration: none;
}
.hero-wunsch .preis b { font-family: var(--display); font-variation-settings: "wdth" 80; font-size: 1.35rem; }
.hero-wunsch .preis:hover span { text-decoration: underline; }

.wunsch-steuerung { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.6rem; padding-left: 0.4rem; }
/* 2.5.8: Tippfläche 24×24 px, sichtbarer Punkt bleibt klein */
.wunsch-punkt {
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}
.wunsch-punkt::before {
    content: "";
    position: absolute;
    inset: 0.35rem;
    border-radius: 50%;
    border: 2px solid var(--rot-tief);
    background: #fff;
}
.wunsch-punkt[aria-current="true"]::before { background: var(--rot-tief); }
.wunsch-pause {
    margin-left: 0.6rem;
    background: none;
    border: 0;
    padding: 0.2rem 0;
    min-height: 1.5rem;
    font: inherit;
    font-size: 0.9rem;
    color: var(--tinte-weich);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

/* ---------- Abschnitte (Bulma .section) ---------- */

.section.abschnitt { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.section.is-flaeche { background: var(--flaeche); }
.section.is-tinte { background: var(--tinte); color: #fff; }
.section.is-tinte h2 { color: #fff; }
.section.is-tinte .einleitung { color: #C9C9CE; }
.section.is-familien { background: var(--rot-hell); }

.kopfzeile { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.kopfzeile h2 { margin-bottom: 0.3em; }

/* ---------- Wunschzettel-Karten ---------- */

.wunsch { display: flex; flex-direction: column; height: 100%; }
.column:nth-child(3n+1) > .wunsch .heft { transform: rotate(-1.4deg); }
.column:nth-child(3n+2) > .wunsch .heft { transform: rotate(0.9deg); }
.column:nth-child(3n+3) > .wunsch .heft { transform: rotate(-0.6deg); }
@media screen and (min-width: 1024px) {
    .column:nth-child(3n+2) > .wunsch { margin-top: 1.5rem; }
}
.wunsch-info { padding: 1.5rem 0.25rem 0; }
.wunsch-info h3 { margin-bottom: 0.35rem; }
.wunsch-info p { color: var(--tinte-weich); }

/* Spendenstand: Bulma <progress class="progress is-primary"> + Zahlen */
.stand { margin: 0 0 1rem; }
.stand .progress { margin-bottom: 0.45rem; }
.stand-zahlen { display: flex; justify-content: space-between; font-size: 0.95rem; }
.stand-zahlen span { color: var(--tinte-weich); }

/* ---------- Zeitleiste abgeschlossener Projekte ---------- */

.zeitleiste { list-style: none; margin: 0; padding: 0; }
.erledigt { border-top: 2px solid var(--tinte); padding: 1.5rem 0; }
.erledigt:last-child { border-bottom: 2px solid var(--tinte); }
.erledigt-jahr {
    font-family: var(--display);
    font-variation-settings: "wdth" 60;
    font-weight: 800;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--rot-tief);
    min-width: 6rem;
}
.erledigt-fakten { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.erledigt-fakten li { font-size: 0.95rem; color: var(--tinte-weich); }
.erledigt-fakten b { display: block; font-family: var(--display); font-variation-settings: "wdth" 80; font-size: 1.5rem; color: var(--tinte); }
.erledigt-dank { font-family: var(--hand); color: #1F3A8A; font-size: 1.1rem; margin: 1rem 0 0; }

/* ---------- Bild-Platzhalter ---------- */

.foto {
    position: relative;
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 14px, transparent 14px 28px),
        linear-gradient(160deg, #F25A5A, #C8161D);
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.foto.is-hoch { aspect-ratio: 4 / 5; }
.foto.is-breit { aspect-ratio: 16 / 9; }
.foto.is-grau { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.35) 0 14px, transparent 14px 28px), linear-gradient(160deg, #E4E4E7, #C4C4CA); }
.foto.is-dunkel { background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 14px, transparent 14px 28px), linear-gradient(160deg, #3A3A3F, #1C1C1C); }
.foto span {
    background: rgba(28, 28, 28, 0.82);
    color: #fff;
    font-size: 0.82rem;
    padding: 0.35rem 0.65rem;
    margin: 0.75rem;
    border-radius: 3px;
}

/* ---------- Preisliste „Was Ihre Spende bewirkt“ ---------- */

.preisliste { list-style: none; margin: 0; padding: 0; }
.preisliste li {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 1.25rem;
    align-items: baseline;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.preisliste li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.18); }
.preisliste b {
    font-family: var(--display);
    font-variation-settings: "wdth" 70;
    font-weight: 800;
    font-size: 2rem;
    color: var(--rot-auf-dunkel);
    line-height: 1;
}
.preisliste span { color: #EDEDEF; }

/* ---------- Werte + Entwicklungsbereiche ---------- */

.werte {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2em 0.6em;
    font-family: var(--display);
    font-variation-settings: "wdth" 70;
    font-weight: 800;
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    line-height: 1;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}
.saeule { border-top: 6px solid var(--rot-tief); padding-top: 1.25rem; height: 100%; }
.column:nth-child(2) > .saeule { border-top-color: var(--tinte); }
.column:nth-child(3) > .saeule { border-top-color: #BDBDC3; }
.saeule p, .saeule ul { color: var(--tinte-weich); }
.saeule ul { margin: 0; padding-left: 1.1rem; list-style: disc; }
.saeule li { margin-bottom: 0.3rem; }

/* ---------- Häkchen-Liste, Zitat ---------- */

.haken { list-style: none; margin: 0; padding: 0; }
.haken li { position: relative; padding: 0.7rem 0 0.7rem 2.4rem; border-bottom: 1px solid var(--linie); }
.haken li::before {
    content: "";
    position: absolute;
    left: 0.2rem;
    top: 0.95rem;
    width: 1.1rem;
    height: 0.6rem;
    border-left: 3px solid var(--rot-tief);
    border-bottom: 3px solid var(--rot-tief);
    transform: rotate(-45deg);
}
.is-familien .haken li { border-bottom-color: #F6CFCF; }

.zitat { margin: 0; padding: 2rem 0 0; border-top: 6px solid var(--rot); }
.zitat p {
    font-family: var(--display);
    font-variation-settings: "wdth" 85;
    font-weight: 600;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.2;
}
.zitat footer { color: var(--tinte-weich); }

/* ---------- Förderer ---------- */

.foerderer-logo {
    border: 1px solid var(--linie);
    min-height: 7rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--display);
    font-variation-settings: "wdth" 75;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--tinte-weich);
    padding: 1rem;
}
.foerderer-logo img { max-height: 5rem; width: auto; object-fit: contain; }
a.foerderer-logo:not(.is-aufruf) { text-decoration: none; }
a.foerderer-logo:not(.is-aufruf):hover { border-color: var(--tinte-weich); }
.foerderer-logo.is-aufruf {
    border: 2px dashed var(--rot-tief);
    color: var(--rot-tief);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}
.foerderer-logo.is-aufruf:hover { background: var(--rot-hell); }

/* ---------- Spenden-Band ---------- */

.section.band { background: var(--rot-tief); color: #fff; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.band h2 { color: #fff; margin-bottom: 0.3em; }
.band p { font-size: 1.15rem; max-width: 36rem; }

/* ---------- Unterseiten-Kopf (mit Bulma .breadcrumb) ---------- */

.section.seitenkopf { background: var(--rot-hell); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.seitenkopf h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); color: var(--rot-dunkel); }
.seitenkopf .breadcrumb { font-size: 0.95rem; margin-bottom: 1rem; }
.seitenkopf .breadcrumb a { color: var(--tinte-weich); padding-left: 0; }
.seitenkopf .breadcrumb li + li a { padding-left: 0.5em; }

/* ---------- Projekt-Detail ---------- */

.detail-text h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 2.5rem; }
.detail-text > h2:first-child { margin-top: 0; }

.spendenkasten {
    position: sticky;
    top: 6.5rem;
    background: var(--papier);
    border: 2px solid var(--tinte);
    border-radius: 8px;
    padding: 1.75rem;
}
.spendenkasten .gross {
    font-family: var(--display);
    font-variation-settings: "wdth" 70;
    font-weight: 800;
    font-size: 2.6rem;
    line-height: 1;
    margin: 0 0 0.25rem;
}
.spendenkasten .progress { height: 1rem; }

.table.kosten th { color: var(--tinte-weich); font-weight: 600; }
.table.kosten td:last-child, .table.kosten th:last-child { text-align: right; white-space: nowrap; }
.table.kosten tfoot td { font-weight: 700; border-top: 2px solid var(--tinte); }

/* ---------- Wunschliste zum Abhaken ---------- */

.posten-titel { margin-top: 2rem; font-size: 1.2rem; }
.posten-raster {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6.6rem, 1fr));
    gap: 0.5rem;
}
.posten-raster.is-breit { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.posten a,
.posten.ist-weg {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    height: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.3;
}
.posten a { border: 2px dashed var(--rot-tief); color: var(--tinte); text-decoration: none; background: #fff; }
.posten a:hover { background: var(--rot-tief); border-style: solid; color: #fff; }
.posten-name { font-weight: 600; }
.posten-betrag { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 750; font-size: 1.15rem; }
.posten-aktion { font-size: 0.82rem; text-decoration: underline; text-underline-offset: 0.15em; }
.posten.ist-weg { background: var(--rot-hell); border: 2px solid transparent; color: var(--tinte-weich); position: relative; padding-right: 1.8rem; }
.posten.ist-weg::after {
    content: "";
    position: absolute;
    right: 0.7rem;
    top: 0.75rem;
    width: 0.75rem;
    height: 0.4rem;
    border-left: 2.5px solid var(--rot-tief);
    border-bottom: 2.5px solid var(--rot-tief);
    transform: rotate(-45deg);
}
.posten.ist-weg .posten-name { color: var(--tinte); text-decoration: line-through; text-decoration-color: var(--rot); text-decoration-thickness: 2px; }
.posten-von { font-size: 0.82rem; }

/* ---------- Formulare (Bulma .field/.control/.input …) ---------- */

.formular fieldset { border: 0; margin: 0 0 2rem; padding: 0; min-width: 0; }
.formular legend {
    font-family: var(--display);
    font-variation-settings: "wdth" 85;
    font-weight: 750;
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
    padding: 0;
}
.formular .label { font-weight: 600; }
/* Feld-Spalten: Abstand kommt vom .field, nicht zusätzlich von den Bulma-Spalten */
.formular .columns { margin-top: 0; margin-bottom: 0; }
.formular .columns > .column { padding-top: 0; padding-bottom: 0; }
.formular .input, .formular .textarea, .formular .select select { border-width: 2px; box-shadow: none; }
.formular .input:focus, .formular .textarea:focus, .formular .select select:focus { border-color: var(--rot-tief); box-shadow: 0 0 0 3px rgba(161, 18, 24, 0.2); }

/* Betrags-Kacheln */
.betraege { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
.betrag input { position: absolute; opacity: 0; pointer-events: none; }
.betrag label {
    display: block;
    text-align: center;
    padding: 0.9rem 0.5rem;
    border: 2px solid #CFCFD4;
    border-radius: 6px;
    font-family: var(--display);
    font-variation-settings: "wdth" 80;
    font-weight: 750;
    font-size: 1.4rem;
    cursor: pointer;
    background: #fff;
}
.betrag input:checked + label { border-color: var(--rot-tief); background: var(--rot-tief); color: #fff; }
.betrag input:focus-visible + label { outline: 3px solid var(--tinte); outline-offset: 2px; }

/* Auswahl-Chips (Bulma .radio/.checkbox als Basis) */
.wahl { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.wahl.is-spalten { display: grid; grid-template-columns: 1fr 1fr; }
.wahl .radio, .wahl .checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #CFCFD4;
    border-radius: 6px;
    padding: 0.65rem 1rem;
    font-weight: 600;
    margin: 0;
}
.wahl input { accent-color: var(--rot-tief); width: 1.1rem; height: 1.1rem; }
.wahl .radio:has(input:checked), .wahl .checkbox:has(input:checked) { border-color: var(--rot-tief); background: var(--rot-hell); }
.checkbox.is-einfach input { accent-color: var(--rot-tief); margin-right: 0.4rem; }

.bewirkt-live { margin-top: 1rem; min-height: 4rem; }
.bewirkt-live .heft { padding-top: 0.9rem; padding-bottom: 0.9rem; }
.bewirkt-live .heft-wunsch { font-size: 1.15rem; }

.posten-hinweis { background: var(--rot-hell); border-left: 6px solid var(--rot-tief); padding: 1rem 1.25rem; margin-bottom: 2rem; }

/* ---------- Kasten (Infoblock mit Randlinie) ---------- */

.kasten { background: var(--flaeche); padding: 1.75rem; border-left: 6px solid var(--rot-tief); margin-bottom: 1.5rem; }
.kasten.is-rot { border-left-color: var(--rot); }
.kasten.is-tinte { border-left-color: var(--tinte); }
.kasten :is(h2, h3) { margin-bottom: 0.6rem; }
.kasten dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; margin: 0 0 1rem; }
.kasten dt { color: var(--tinte-weich); }
.kasten dd { margin: 0; font-weight: 600; }
.ablauf { margin: 0 0 1rem; padding-left: 1.3rem; list-style: decimal; }
.ablauf li { margin-bottom: 0.5rem; }
.hilfe { font-size: 0.9rem; color: var(--tinte-weich); }

/* ---------- Team, Termine ---------- */

.person h3 { margin: 1rem 0 0.2rem; }
.person p { color: var(--tinte-weich); }

.termine { list-style: none; margin: 0; padding: 0; }
.termin { border-bottom: 1px solid var(--linie); }
.termin-datum {
    font-family: var(--display);
    font-variation-settings: "wdth" 65;
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 0.9;
    color: var(--rot-tief);
    min-width: 5rem;
}
.termin-datum small { display: block; font-family: var(--bulma-family-primary); font-size: 0.85rem; font-weight: 600; color: var(--tinte-weich); margin-top: 0.3rem; }
.termin h3 { margin: 0 0 0.2rem; font-size: 1.25rem; }
.termin p { color: var(--tinte-weich); }

/* ---------- Rechtstexte ---------- */

.recht h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.recht h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.recht address { font-style: normal; margin-bottom: 1rem; }
.platzhalter { background: #FFF1C2; padding: 0 0.3rem; border-radius: 3px; }

/* ---------- Footer (Bulma .footer) ---------- */

.footer.is-jfv { background-color: var(--tinte); color: #C9C9CE; padding: clamp(3rem, 6vw, 4.5rem) 1.5rem 2rem; font-size: 0.98rem; }
.footer.is-jfv a { color: #fff; }
.footer.is-jfv h2 { font-size: 1.15rem; font-variation-settings: "wdth" 85; color: #fff; margin-bottom: 0.8rem; }
.footer.is-jfv li { margin-bottom: 0.4rem; }
.footer.is-jfv address { font-style: normal; }
.fuss-leitsatz {
    font-family: var(--display);
    font-variation-settings: "wdth" 70;
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.05;
    color: #fff;
}
.fuss-unten {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}

/* =====================================================================
   VeloQuill-Integration: Sections aus dem Seitenaufbau, Core-Blöcke,
   Spenden-Modul (.vq-don-*) im Look des Prototyps
   ===================================================================== */

/* Sections des Seitenaufbaus = „Abschnitte“ des Prototyps */
.jfv main > .section:not(.seitenkopf):not(.band) { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.jfv main > .section.light { background: var(--flaeche); }
.jfv main > .section.dark { background: var(--tinte); color: #fff; }
.jfv main > .section.dark :is(h1, h2, h3, .werte) { color: #fff; }
.jfv main > .section.dark .einleitung { color: #C9C9CE; }
.jfv main > .section.dark a:not(.button) { color: #fff; }
.jfv main > .section.dark .haken li { border-bottom-color: rgba(255, 255, 255, 0.18); }
@media screen and (min-width: 1216px) {
    .jfv main > .section > .container:not(.is-fluid) { max-width: 1152px; }
}
/* Blöcke innerhalb einer Spalte: Abstand untereinander */
.jfv main .column > [id^="block-"] + [id^="block-"] { margin-top: 2rem; }
/* Mehrere Termine/Fragen direkt untereinander ohne Zusatzabstand */
.jfv main .column > [id^="block-"]:has(> .termin) + [id^="block-"]:has(> .termin),
.jfv main .column > [id^="block-"]:has(> .jfv-frage) + [id^="block-"]:has(> .jfv-frage) { margin-top: 0; }
.jfv main .column > [id^="block-"]:has(> .termin) { border-bottom: 1px solid var(--linie); }

.einleitung > p { margin-bottom: 0.6em; }
.band-text p { font-size: 1.15rem; max-width: 36rem; }
.saeule-text ul { margin: 0; padding-left: 1.1rem; list-style: disc; }
.saeule-text li { margin-bottom: 0.3rem; }
.saeule-ziel { margin-top: 1rem; font-size: 0.95rem; }
.saeule-text, .saeule-ziel { color: var(--tinte-weich); }
.jfv main .columns > .column:nth-child(2) .saeule { border-top-color: var(--tinte); }
.jfv main .columns > .column:nth-child(3) .saeule { border-top-color: #BDBDC3; }
.jfv main .columns > .column:nth-child(4) .saeule { border-top-color: var(--rot); }
.jfv main > .section.dark .saeule-text, .jfv main > .section.dark .saeule-ziel { color: #D4D4D8; }

/* Textblöcke */
.jfv-text .content, .jfv-text-media .content { font-size: 1.0625rem; }
.jfv .content :is(h2, h3) { margin-top: 1.6em; }
.jfv .content ul { margin-left: 1.1rem; }
.jfv-headline { margin-bottom: 0.3em; }
.jfv-bild img { display: block; width: 100%; border-radius: 4px; }
.jfv-bild figcaption { font-size: 0.9rem; color: var(--tinte-weich); margin-top: 0.5rem; }
.jfv-text-media.is-bild-links { flex-direction: row-reverse; }
.person-foto img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.foto span:only-child { font-family: var(--display); font-size: 2.5rem; font-weight: 800; background: none; }

/* FAQ */
.jfv-frage { border-bottom: 1px solid var(--linie); }
.jfv-frage:first-of-type { border-top: 1px solid var(--linie); }
.jfv-frage summary {
    list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
    font-family: var(--display); font-variation-settings: "wdth" 85; font-weight: 750; font-size: 1.3rem; line-height: 1.25;
}
.jfv-frage summary::-webkit-details-marker { display: none; }
.jfv-frage summary::after {
    content: ""; position: absolute; right: 0.4rem; top: 1.45rem; width: 0.7rem; height: 0.7rem;
    border-right: 3px solid var(--rot-tief); border-bottom: 3px solid var(--rot-tief); transform: rotate(45deg); transition: transform 0.2s;
}
.jfv-frage[open] summary::after { transform: rotate(-135deg); top: 1.75rem; }
.jfv-frage .content { padding: 0 0 1.25rem; color: var(--tinte-weich); max-width: 44rem; }

/* Termine & News */
.termin-meta { font-weight: 600; color: var(--tinte) !important; margin-bottom: 0.3rem !important; }
.termin-text { color: var(--tinte-weich); }
.termin.ist-vorbei { opacity: 0.55; }
.jfv-news { list-style: none; margin: 0; padding: 0; }
.jfv-news-eintrag { border-top: 2px solid var(--tinte); padding: 1.5rem 0; }
.jfv-news-eintrag img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.jfv-news-datum { font-size: 0.9rem; color: var(--tinte-weich); margin-bottom: 0.3rem !important; }
.jfv-news h3 a { color: var(--tinte); text-decoration: none; }
.jfv-news h3 a:hover { color: var(--rot-tief); }
.jfv-news-teaser { color: var(--tinte-weich); margin-bottom: 0.6rem; }
.jfv-weiter { font-weight: 700; }

/* Zitat klein (Stimmen von Jugendlichen) */
.zitat.is-klein p, .zitat.is-klein .zitat-text { font-size: 1.25rem; }
.zitat .zitat-text p { font-family: var(--display); font-variation-settings: "wdth" 85; font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; }
.zitat.is-klein .zitat-text p { font-size: 1.25rem; }

/* Footer-Ergänzungen */
.fuss-unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.fuss-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.fuss-social a { display: inline-flex; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; }
.fuss-cookie { background: none; border: 0; padding: 0; color: #fff; font: inherit; text-decoration: underline; cursor: pointer; }
.navbar.is-jfv .navbar-link.is-active { color: var(--rot-tief); }
/* Bulma färbt .navbar-link bei Hover/Fokus/aktiv flächig in der Primärfarbe → roter Text auf Rot */
.navbar.is-jfv .navbar-link,
.navbar.is-jfv .navbar-link:hover,
.navbar.is-jfv .navbar-link:focus,
.navbar.is-jfv .navbar-link:focus-within,
.navbar.is-jfv .navbar-link.is-active,
.navbar.is-jfv .navbar-item.has-dropdown:hover .navbar-link { background: transparent; }
.navbar.is-jfv .navbar-link:hover { color: var(--rot-tief); }
@media screen and (min-width: 1024px) {
    /* Aktiver Menüpunkt mit Unterpunkten wie die übrigen aktiven: rot + Unterstrich */
    .navbar.is-jfv .navbar-link.is-active {
        text-decoration: underline;
        text-decoration-thickness: 3px;
        text-underline-offset: 0.55em;
    }
    /* Aktiver Unterpunkt im Dropdown: rot + fett statt Unterstrich */
    .navbar.is-jfv .navbar-dropdown a.navbar-item.is-active { text-decoration: none; font-weight: 700; }
}
.navbar.is-jfv .navbar-burger { border-radius: 0; }
.navbar.is-jfv .navbar-burger:focus:not(:focus-visible) { outline: none; }
.navbar.is-jfv .navbar-burger:focus-visible { outline-offset: -6px; }
.navbar.is-jfv .navbar-dropdown .navbar-item { font-weight: 500; }

/* ---------- Spenden-Modul im JFV-Look ---------- */

:root { --vq-don-accent: var(--rot-tief); --vq-don-line: #CFCFD4; --vq-don-soft: var(--rot-hell); }

/* Wunschzettel in Karten = Heftpapier */
.vq-don-wish {
    position: relative;
    background-color: var(--papier);
    background-image:
        linear-gradient(90deg, transparent 2.4rem, var(--heftrand) 2.4rem, var(--heftrand) calc(2.4rem + 1.5px), transparent calc(2.4rem + 1.5px)),
        repeating-linear-gradient(180deg, transparent 0, transparent calc(2rem - 1px), var(--heftlinie) calc(2rem - 1px), var(--heftlinie) 2rem);
    background-position: 0 0, 0 1.1rem;
    padding: 1.6rem 1.5rem 1.4rem 3.4rem;
    box-shadow: 0 1px 0 rgba(28, 28, 28, 0.06), 0 14px 30px -12px rgba(28, 28, 28, 0.3);
}
.vq-don-wish__text { font-family: var(--hand); font-style: normal; font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 2rem; color: #1F3A8A; margin: 0 !important; }
.vq-don-wish__author { font-family: var(--hand); font-size: 1rem; line-height: 2rem; color: var(--tinte-weich); margin: 0; opacity: 1; }

.vq-don-card { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.vq-don-card__body { padding: 1.5rem 0.25rem 0; }
.vq-don-card__title { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 750; }
.vq-don-card__body > p { color: var(--tinte-weich); }
.vq-don-cards > .column:nth-child(3n+1) .vq-don-wish { transform: rotate(-1.4deg); }
.vq-don-cards > .column:nth-child(3n+2) .vq-don-wish { transform: rotate(0.9deg); }
.vq-don-cards > .column:nth-child(3n+3) .vq-don-wish { transform: rotate(-0.6deg); }
@media screen and (min-width: 1024px) {
    .vq-don-cards > .column:nth-child(3n+2) > .vq-don-card { margin-top: 1.5rem; }
}
.vq-don-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.vq-don-head__intro { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--tinte-weich); max-width: 36rem; }
.vq-don-progress__numbers span { color: var(--tinte-weich); }

/* Zeitleiste */
.vq-don-timeline__item { border-top: 2px solid var(--tinte); padding: 1.5rem 0; }
.vq-don-timeline__item:last-child { border-bottom: 2px solid var(--tinte); }
.vq-don-timeline__year { font-family: var(--display); font-variation-settings: "wdth" 60; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--rot-tief); min-width: 6rem; }
.vq-don-timeline__title a { color: inherit; }
.vq-don-facts li { font-size: 0.95rem; color: var(--tinte-weich); }
.vq-don-facts b { font-family: var(--display); font-variation-settings: "wdth" 80; color: var(--tinte); }
.vq-don-thanks { font-family: var(--hand); font-style: normal; color: #1F3A8A; font-size: 1.1rem; }
.vq-don-timeline__image img { border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; }

/* Spendenkasten */
.vq-don-box { position: sticky; top: 6.5rem; border: 2px solid var(--tinte); border-radius: 8px; padding: 1.75rem; }
.vq-don-box__amount { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 800; font-size: 2.6rem; }
.vq-don-box .progress { height: 1rem; }

/* Wunschliste */
.vq-don-wishlist__group { font-family: var(--display); font-variation-settings: "wdth" 88; font-size: 1.2rem; margin-top: 2rem; }
.vq-don-items { grid-template-columns: repeat(auto-fill, minmax(6.6rem, 1fr)); }
.vq-don-item > a, .vq-don-item.is-taken, .vq-don-item.is-reserved { padding: 0.6rem 0.7rem; border-radius: 6px; font-size: 0.9rem; line-height: 1.3; }
.vq-don-item > a { border: 2px dashed var(--rot-tief); background: #fff; color: var(--tinte); text-decoration: none; }
.vq-don-item > a:hover, .vq-don-item > a:focus-visible { background: var(--rot-tief); border-style: solid; color: #fff; }
.vq-don-item > a:hover .vq-don-item__action { color: #fff; }
.vq-don-item__name { font-weight: 600; }
.vq-don-item__amount { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 750; font-size: 1.15rem; }
.vq-don-item__action { color: inherit; font-weight: 400; font-size: 0.82rem; text-decoration: underline; text-underline-offset: 0.15em; }
.vq-don-item.is-taken { background: var(--rot-hell); border: 2px solid transparent; color: var(--tinte-weich); position: relative; padding-right: 1.8rem; }
.vq-don-item.is-taken::after { content: ""; position: absolute; right: 0.7rem; top: 0.75rem; width: 0.75rem; height: 0.4rem; border-left: 2.5px solid var(--rot-tief); border-bottom: 2.5px solid var(--rot-tief); transform: rotate(-45deg); }
.vq-don-item.is-taken .vq-don-item__name { color: var(--tinte); text-decoration-color: var(--rot); text-decoration-thickness: 2px; }
.vq-don-item__by { font-size: 0.82rem; opacity: 1; }

/* Was Ihre Spende bewirkt (auf dunkler Section wie im Prototyp) */
.vq-don-impact__list li { display: block; padding: 0; border-bottom: 1px solid var(--linie); }
.vq-don-impact__list li:first-child { border-top: 1px solid var(--linie); }
.vq-don-impact__list li > a, .vq-don-impact__list li:not(:has(a)) { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.25rem; align-items: baseline; padding: 1.1rem 0; text-decoration: none; }
.vq-don-impact__list b { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 800; font-size: 2rem; color: var(--rot-tief); line-height: 1; min-width: 0; }
.vq-don-impact__list a:hover span { text-decoration: underline; }
.vq-don-impact__title { margin-bottom: 0.4em; }
.vq-don-impact__intro { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--tinte-weich); }
.section.dark .vq-don-impact__list li { border-color: rgba(255, 255, 255, 0.18); }
.section.dark .vq-don-impact__list b { color: var(--rot-auf-dunkel); }
.section.dark .vq-don-impact__list span { color: #EDEDEF; }
.section.dark .vq-don-impact__intro { color: #C9C9CE; }

/* Spendenformular */
.vq-don-form { max-width: none; }
.vq-don-fieldset > legend { font-family: var(--display); font-variation-settings: "wdth" 85; font-weight: 750; font-size: 1.35rem; margin-bottom: 0.9rem; }
.vq-don-form .label { font-weight: 600; }
.vq-don-form .columns { margin-top: 0; margin-bottom: 0; }
.vq-don-form .columns > .column { padding-top: 0; padding-bottom: 0; }
.vq-don-form .input, .vq-don-form .select select { border-width: 2px; box-shadow: none; }
.vq-don-form .input:focus, .vq-don-form .select select:focus { border-color: var(--rot-tief); box-shadow: 0 0 0 3px rgba(161, 18, 24, 0.2); }
.vq-don-amounts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
.vq-don-amount label { border-color: #CFCFD4; border-radius: 6px; font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 750; font-size: 1.4rem; background: #fff; min-height: 3.6rem; }
.vq-don-amount input:checked + label { border-color: var(--rot-tief); background: var(--rot-tief); color: #fff; }
.vq-don-amount input:focus-visible + label { outline-color: var(--tinte); }
.vq-don-impact-live { border-left: 0; padding: 0; background: none; }
.vq-don-impact-live .vq-don-impact-text {
    background-color: var(--papier);
    background-image: repeating-linear-gradient(180deg, transparent 0, transparent calc(2rem - 1px), var(--heftlinie) calc(2rem - 1px), var(--heftlinie) 2rem);
    padding: 0.9rem 1.25rem; font-family: var(--hand); font-size: 1.15rem; line-height: 2rem; color: #1F3A8A;
    box-shadow: 0 1px 0 rgba(28, 28, 28, 0.06), 0 10px 24px -12px rgba(28, 28, 28, 0.3);
}
.vq-don-check input { accent-color: var(--rot-tief); }

/* veloquill-form: Absende-Text ist ein nackter Textknoten → Bulma hält das Icon für das einzige Kind
   (.button .icon:first-child:last-child) und zieht es mit negativem Rand an den Text */
.button.vq-form-submit .icon:first-child:last-child { margin-inline-start: 0.6em; margin-inline-end: calc(var(--bulma-button-padding-horizontal) * -0.25); }
/* veloquill-form: Checkbox/Radio-Labels mit Abstand und Theme-Farbe */
/* 2.5.8 + leichtere Bedienung bei motorischen Einschränkungen: Kästchen 24×24 px */
.field .control > .checkbox input, .field .control > .radio input, .vq-don-check input {
    accent-color: var(--rot-tief);
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 0.6rem 0 0;
    flex: none;
    vertical-align: middle;
}
.field .control > .checkbox, .field .control > .radio { display: flex; align-items: flex-start; gap: 0; padding: 0.3rem 0; line-height: 1.5; }
.field .control > .checkbox > span, .field .control > .radio > span { padding-top: 0.05rem; }
.vq-don-receipt { background: var(--flaeche); border-radius: 6px; }
.vq-don-item-notice { background: var(--rot-hell); border: 0; border-left: 6px solid var(--rot-tief); border-radius: 0; }
.vq-don-item-amount { font-family: var(--display); font-variation-settings: "wdth" 75; }
.vq-don-paypal-hint { color: var(--tinte-weich); opacity: 1; }

/* Danke-Seite */
.vq-don-confirmation__title { color: var(--rot-dunkel); }
.vq-don-confirmation__lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 40rem; }

/* ---------- Responsiv (nur Komponenten; Layout regelt Bulma) ---------- */

@media screen and (max-width: 1023px) {
    /* Bündig mit dem Seiteninhalt (Bulma .section: 1.5rem) */
    .navbar.is-jfv .navbar-brand { padding-left: 1.5rem; }
    .navbar.is-jfv .navbar-brand .navbar-item { padding-left: 0; margin-left: -0.6rem; }
    .navbar.is-jfv .navbar-menu { box-shadow: none; border-top: 1px solid #ECECEE; padding: 0.5rem 1.5rem 1.25rem; }
    .navbar.is-jfv .navbar-menu .navbar-item { padding-left: 0; padding-right: 0; }
    .navbar.is-jfv .navbar-burger:hover, .navbar.is-jfv .navbar-burger.is-active { background: transparent; }
    .navbar.is-jfv .navbar-end .navbar-item .button { width: 100%; }
    /* Menüpunkt mit Unterpunkten: bündig wie die übrigen, ohne Pfeil (Unterpunkte sind mobil immer offen) */
    .navbar.is-jfv .navbar-menu .navbar-link { padding-left: 0; padding-right: 0; }
    .navbar.is-jfv .navbar-menu .navbar-link::after { display: none; }
    .navbar.is-jfv .navbar-menu .navbar-dropdown { padding: 0 0 0.35rem 0; margin: 0 0 0.35rem 0.15rem; border-left: 2px solid var(--linie); }
    .navbar.is-jfv .navbar-menu .navbar-dropdown .navbar-item { padding: 0.45rem 0 0.45rem 1rem; color: var(--tinte-weich); }
    /* Aktiv mobil: rot + fett statt Unterstrich; Unterpunkt mit roter Randmarke */
    .navbar.is-jfv .navbar-menu a.navbar-item.is-active,
    .navbar.is-jfv .navbar-menu .navbar-link.is-active { text-decoration: none; color: var(--rot-tief); font-weight: 700; }
    .navbar.is-jfv .navbar-menu .navbar-dropdown a.navbar-item.is-active { box-shadow: inset 2px 0 0 var(--rot-tief); margin-left: -2px; padding-left: calc(1rem + 2px); }
    .hero-wunsch { margin-top: 0; }
    .hero.is-jfv::before { width: 13rem; right: -3rem; bottom: auto; top: 1rem; opacity: 0.18; }
    .spendenkasten, .vq-don-box { position: static; }
    /* Spendenstand auf Handy/Tablet direkt unter dem Seitenkopf statt am Ende */
    .detail-spalten { display: flex; flex-direction: column; }
    .detail-spalten > .column:last-child { order: -1; }
}
@media screen and (max-width: 768px) {
    /* 1.4.10: Bulma-Knöpfe brechen sonst nicht um → seitliches Scrollen bei 320 px */
    .button { white-space: normal; height: auto; min-height: 2.5em; text-align: center; }
    /* Große Spaltenabstände (is-6/is-8) sind breiter als der Seitenrand → Überbreite */
    .columns.is-6, .columns.is-8 { --bulma-column-gap: 0.75rem; }
    .betraege, .vq-don-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wahl.is-spalten { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hs-anim .hs-z, .hs-durch.hs-anim::after { animation: none; }
    .jfv-frage summary::after { transition: none; }
    .hero-wunsch .heft { transition: none; }
    .wunsch-pause { display: none; }
}
