/*
 * marke-herbstlauf.css – Look des Herbstlauf Niederrhein (Kerken, präsentiert von Westenergie)
 * Wird nur mit font_set = herbstlauf geladen (Body-Klasse be-marke-herbstlauf), ZULETZT.
 *
 * Richtung „Das Logo wörtlich nehmen“ (HERBSTLAUF-DEV-PLAN.md, Fassung 2, 02.12.2026):
 *   - Weißer Grund wie im Logo. Pink #E60055 führt (Knöpfe, Akzentzeile, Zahlen auf Hell als #C4004B),
 *     Petrol nur tief #006B72 als Fläche, das helle Logo-Petrol #009BA5 nur in den Pinselstrichen.
 *   - Signatur: der Pinselrahmen des Quadratlogos (assets/img/herbstlauf/pinsel-*.png, freigestellt aus
 *     Logo-Herbstlauf-Niederrhein.png, nur die Striche). Er rahmt das Kopffoto, wie das Logo seine
 *     Bildmarke rahmt, und setzt einen Akzent im Faktenband. Auf Unterseiten ein kurzer Strich unter dem
 *     Titel. Sonst nirgends.
 *   - Typografie: Rubik (Titel, Zahlen), Source Sans 3 (Text, Bedienung).
 * Kontraste (gerechnet, am gerenderten Bild nachmessen): Weiß auf #E60055 4,67:1, #C4004B auf Weiß 5,41:1,
 * Weiß auf #006B72 6,28:1, #FF5C8A auf #1D1D1B 5,75:1, Weiß auf #1D1D1B 16,9:1.
 */

body.be-marke-herbstlauf {
    --h-pink: #E60055;
    --h-pink-schrift: #C4004B;
    --h-pink-hell: #FF5C8A;
    --h-petrol: #009BA5;
    --h-petrol-tief: #006B72;
    --h-ink: #1D1D1B;
    --h-grau: #4B4F52;
    --h-linie: rgba(29, 29, 27, 0.12);
    --h-hauch: #EEF6F6;
    --h-radius: 10px;
    --h-pinsel-ol: url('../img/herbstlauf/pinsel-ol.png');
    --h-pinsel-or: url('../img/herbstlauf/pinsel-or.png');
    --h-pinsel-ul: url('../img/herbstlauf/pinsel-ul.png');
    --h-pinsel-ur: url('../img/herbstlauf/pinsel-ur.png');
    color: var(--h-ink);
    hyphens: manual;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ── Typografie ─────────────────────────────────────────────────────────────── */
body.be-marke-herbstlauf :is(h1, h2, h3, h4, .section__title, .intro-section__title, .photo-band__title,
                             .be-routen__heading, .be-rundkurs__heading, .be-faq__heading, .cta-card__title) {
    font-family: Rubik, 'Trebuchet MS', Arial, sans-serif;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.015em;
    hyphens: none;
    text-wrap: balance;
    color: inherit;
}
body.be-marke-herbstlauf :is(h2, .section__title, .intro-section__title, .be-routen__heading, .be-rundkurs__heading, .be-faq__heading) {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.06;
}
body.be-marke-herbstlauf :is(.section__kicker, .be-routen__kicker, .be-rundkurs__kicker, .be-faq__kicker, .photo-band__kicker) {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Source Sans 3', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--h-pink-schrift);
}
/* Die Vorzeile trägt einen kurzen Strich in Petrol: ein Pinselansatz, nicht der Rahmen selbst. */
body.be-marke-herbstlauf :is(.section__kicker, .be-routen__kicker, .be-rundkurs__kicker, .be-faq__kicker, .photo-band__kicker)::before {
    content: '';
    width: 1.75rem;
    height: 4px;
    border-radius: 2px 4px 3px 1px;
    background: var(--h-petrol);
    transform: rotate(-4deg);
    flex: none;
}
body.be-marke-herbstlauf .section__header--center .section__kicker { justify-content: center; }
body.be-marke-herbstlauf :is(h1, h2, h3, .facts-bar__value, .photo-band__title, .hero__title),
body.be-marke-herbstlauf :is(h1, h2, h3, .facts-bar__value, .photo-band__title, .hero__title) * { hyphens: none !important; -webkit-hyphens: none !important; }
body.be-marke-herbstlauf :is(p, li) { hyphens: manual; -webkit-hyphens: manual; }

/* ── Knöpfe: Pink ist die Handlung ──────────────────────────────────────────── */
body.be-marke-herbstlauf .btn {
    font-family: 'Source Sans 3', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    border-radius: 999px;
    padding-inline: 1.6em;
}
body.be-marke-herbstlauf .btn--primary,
body.be-marke-herbstlauf .btn--white {
    background: var(--h-pink);
    border-color: var(--h-pink);
    color: #FFFFFF;
}
body.be-marke-herbstlauf .btn--primary:hover,
body.be-marke-herbstlauf .btn--white:hover {
    background: var(--h-pink-schrift);
    border-color: var(--h-pink-schrift);
    color: #FFFFFF;
}
body.be-marke-herbstlauf .btn--outline {
    background: transparent;
    border: 2px solid var(--h-ink);
    color: var(--h-ink);
}
body.be-marke-herbstlauf .btn--outline:hover { background: var(--h-ink); color: #FFFFFF; }
body.be-marke-herbstlauf .btn--ghost {
    background: transparent;
    border: 2px solid var(--h-ink);
    color: var(--h-ink);
}
body.be-marke-herbstlauf .btn--ghost:hover { background: var(--h-ink); color: #FFFFFF; }
/* „Anmeldung 2027 folgt“: ruhiger Hinweis in Pink, kein toter grauer Kasten. */
body.be-marke-herbstlauf .btn--disabled {
    background: rgba(230, 0, 85, 0.08);
    border: 2px solid var(--h-pink);
    color: var(--h-pink-schrift);
    opacity: 1;
}
body.be-marke-herbstlauf :is(a, button, .btn, summary):focus-visible {
    outline: 3px solid var(--h-ink);
    outline-offset: 2px;
    box-shadow: 0 0 0 6px #FFFFFF;
}

/* ── Kopf ───────────────────────────────────────────────────────────────────── */
body.be-marke-herbstlauf .site-header { background: #FFFFFF; border-bottom: 1px solid var(--h-linie); }
body.be-marke-herbstlauf .nav__link { font-family: 'Source Sans 3', Arial, sans-serif; font-weight: 600; }
/* Farbe und Unterstrich nur am Rechner (weiße Kopfleiste). Im Burger-Panel gilt das Weiß aus layout.css. */
@media (min-width: 1024px) {
    body.be-marke-herbstlauf .nav__link {
        color: var(--h-ink);
        background-image: linear-gradient(var(--h-pink), var(--h-pink));
        background-size: 0 3px;
        background-position: 0 100%;
        background-repeat: no-repeat;
        transition: background-size 0.25s ease, color 0.2s ease;
    }
    body.be-marke-herbstlauf .nav__link:hover,
    body.be-marke-herbstlauf .nav__item.current-menu-item > .nav__link { background-size: 100% 3px; color: var(--h-pink-schrift); }
}
body.be-marke-herbstlauf .header__social-link {
    color: var(--h-ink);
    display: inline-flex; align-items: center; justify-content: center; min-width: 30px; min-height: 30px;
}

/* ── Kopfbild: das ganze Foto randlos, Verlauf in tiefem Petrol, Banderole in Pink ──────────────
   Fassung 2 (Dennis 02.12.2026: „Hero sollte komplettes Bild erhalten“, keine „Luftschlangen“ am Bild).
   Das Foto ist höchstens 1500 px breit: Die Hauptpersonen stehen rechts, die linken 45 % liegen unter dem
   Verlauf. Die letzte Zeile des Leitsatzes steht als deckende Banderole in Pink (auf jedem Foto lesbar). */
body.be-marke-herbstlauf .hero { min-height: min(92svh, 860px); }
body.be-marke-herbstlauf .hero__overlay {
    display: block;
    background:
        linear-gradient(90deg, rgba(0, 70, 75, 0.94) 0%, rgba(0, 70, 75, 0.78) 34%, rgba(0, 70, 75, 0.12) 68%, rgba(0, 70, 75, 0) 100%),
        linear-gradient(0deg, rgba(29, 29, 27, 0.55) 0%, rgba(29, 29, 27, 0) 38%);
}
body.be-marke-herbstlauf .hero__poster { object-position: 62% 40%; }
body.be-marke-herbstlauf .hero__content { color: #FFFFFF; }
body.be-marke-herbstlauf .hero__inner { max-width: 640px; }
body.be-marke-herbstlauf .hero__title {
    font-size: clamp(2.8rem, 6.2vw, 6rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    text-shadow: none;
}
body.be-marke-herbstlauf .hero__title-akzent {
    display: inline;
    color: #FFFFFF;
    background: var(--h-pink);
    padding: 0 0.16em 0.04em;
    margin-left: -0.16em;
    line-height: 1.22;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
body.be-marke-herbstlauf .hero__eyebrow { color: #FFFFFF; text-shadow: none; }
body.be-marke-herbstlauf .hero__meta { color: #FFFFFF; font-weight: 600; text-shadow: none; }
body.be-marke-herbstlauf .hero__meta .be-icon-svg { color: #FFFFFF; }
body.be-marke-herbstlauf .hero__meta-item { display: inline-flex; align-items: flex-start; gap: 0.4rem; }
body.be-marke-herbstlauf .hero__meta-item .be-icon-svg { flex: none; margin-top: 0.2em; }
body.be-marke-herbstlauf .hero__meta-sep { display: none; }
body.be-marke-herbstlauf .hero__actions { gap: 0.75rem; }
body.be-marke-herbstlauf .hero :is(.btn, .hero__title, .hero__meta, .hero__eyebrow) { text-shadow: none; }
/* Auf dem Foto: Hinweisknopf weiß umrandet auf Pink-Hauch, zweiter Knopf weiß umrandet. */
body.be-marke-herbstlauf .hero .btn--disabled { background: rgba(230, 0, 85, 0.88); border-color: var(--h-pink); color: #FFFFFF; }
body.be-marke-herbstlauf .hero .btn--ghost { background: rgba(255, 255, 255, 0.06); border-color: #FFFFFF; color: #FFFFFF; }
body.be-marke-herbstlauf .hero .btn--ghost:hover { background: #FFFFFF; color: var(--h-ink); }
body.be-marke-herbstlauf .hero :is(a, .btn):focus-visible { outline-color: #FFFFFF; box-shadow: 0 0 0 6px rgba(0, 70, 75, 0.9); }
body.be-marke-herbstlauf .hero__scroll { display: none; }
/* Countdown (sobald der Termin 2027 steht) und „präsentiert von“: weiß auf eigener Petrol-Fläche, wie hk. */
body.be-marke-herbstlauf .hero .be-countdown--hero {
    display: inline-flex; width: auto; max-width: 100%;
    padding: 0.75rem 1.1rem 0.65rem; border-radius: 14px;
    background: rgba(0, 70, 75, 0.88);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
body.be-marke-herbstlauf .hero .be-countdown--hero :is(.be-countdown__value, .be-countdown__label, .be-countdown__sep) { color: #FFFFFF; opacity: 1; text-shadow: none; }
body.be-marke-herbstlauf .hero .be-countdown__label { font-size: max(11px, 0.6875rem); }
body.be-marke-herbstlauf .hero :is(.hero__presenter-label, .hero__presenter-name) { color: #FFFFFF; opacity: 1; }
@media (max-width: 640px) {
    body.be-marke-herbstlauf.be-marke-herbstlauf .hero .be-countdown--hero::before { content: none; }
}
/* Unter 1024 px läuft der Text über die Bildmitte: der Verlauf trägt über die ganze Breite. */
@media (max-width: 1023px) {
    body.be-marke-herbstlauf .hero__overlay {
        background:
            linear-gradient(90deg, rgba(0, 70, 75, 0.92) 0%, rgba(0, 70, 75, 0.78) 70%, rgba(0, 70, 75, 0.5) 100%),
            linear-gradient(0deg, rgba(29, 29, 27, 0.5) 0%, rgba(29, 29, 27, 0) 40%);
    }
    body.be-marke-herbstlauf .hero__poster { object-position: 66% 40%; }
}

/* ── Fakten als Startnummer: weiße Karte mit pinker Oberkante und vier Lochpunkten ─────────
   Die Karte ragt ins Kopfbild (Signatur statt Pinselecken). Fläche darunter im Nebelton, der in den
   Streckenabschnitt übergeht. */
body.be-marke-herbstlauf .facts-bar {
    position: relative;
    z-index: 3;
    background: var(--h-hauch);
    overflow: visible;
    padding-top: 0;
}
body.be-marke-herbstlauf .facts-bar__inner {
    position: relative;
    margin-top: -4.5rem;
    background: #FFFFFF;
    border-radius: 14px;
    border-top: 10px solid var(--h-pink);
    box-shadow: 0 28px 56px -30px rgba(0, 70, 75, 0.5), 0 2px 0 rgba(29, 29, 27, 0.04);
    padding-block: 2rem 1.75rem;
}
body.be-marke-herbstlauf .facts-bar__inner::before {
    content: '';
    position: absolute;
    inset: 12px 14px auto;
    height: calc(100% - 24px);
    pointer-events: none;
    background:
        radial-gradient(circle, var(--h-hauch) 0 4px, transparent 4.5px) 0 0 / 9px 9px no-repeat,
        radial-gradient(circle, var(--h-hauch) 0 4px, transparent 4.5px) 100% 0 / 9px 9px no-repeat,
        radial-gradient(circle, var(--h-hauch) 0 4px, transparent 4.5px) 0 100% / 9px 9px no-repeat,
        radial-gradient(circle, var(--h-hauch) 0 4px, transparent 4.5px) 100% 100% / 9px 9px no-repeat;
}
body.be-marke-herbstlauf .facts-bar__icon { color: var(--h-petrol-tief); }
body.be-marke-herbstlauf .facts-bar__value {
    font-family: Rubik, Arial, sans-serif;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.015em;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    color: var(--h-ink);
}
body.be-marke-herbstlauf .facts-bar__label {
    font-family: 'Source Sans 3', Arial, sans-serif;
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.9375rem;
    color: var(--h-grau);
}
@media (max-width: 639px) {
    body.be-marke-herbstlauf .facts-bar__inner { margin-top: -2.5rem; padding-block: 1.5rem 1.25rem; }
    body.be-marke-herbstlauf .facts-bar__value { font-size: 1.12rem; }
    body.be-marke-herbstlauf .facts-bar__label { font-size: 0.875rem; }
}
/* Streckenabschnitt im selben Nebelton: Fakten und Strecken lesen sich als ein Band. */
body.be-marke-herbstlauf section.be-rundkurs[data-be-section="sec_routen"] { background: var(--h-hauch); }

/* ── Rundenplan (Block `rundkurs`): 5 km in Pink, 3 km in Petrol, Stadionrunde in Tinte ── */
body.be-marke-herbstlauf .be-rundkurs { --rk-1: var(--h-pink); --rk-2: var(--h-petrol-tief); --rk-3: var(--h-ink); --rk-grund: #FFFFFF; --rk-tinte: var(--h-ink); --rk-sel: var(--h-pink); }
body.be-marke-herbstlauf .be-rundkurs__karte {
    border: 1px solid var(--h-linie); border-radius: var(--h-radius);
    background: linear-gradient(160deg, #FFFFFF 0%, var(--h-hauch) 100%);
}
body.be-marke-herbstlauf :is(.be-rundkurs__punkt text, .be-rundkurs__nord text, .be-rundkurs__massstab text, .be-rundkurs__schild text) { font-family: 'Source Sans 3', Arial, sans-serif; }
body.be-marke-herbstlauf .be-rundkurs__schild--lauf rect { fill: var(--h-ink); }
body.be-marke-herbstlauf .be-rundkurs__schild--lauf text { fill: #FFFFFF; }
body.be-marke-herbstlauf :is(.be-rundkurs__wahl, .be-rundkurs__startort) {
    border: 1px solid var(--h-linie); border-radius: var(--h-radius); background: #FFFFFF;
}
body.be-marke-herbstlauf .be-rundkurs__wahl { border-left-width: 5px; }
body.be-marke-herbstlauf .be-rundkurs__lauf[data-linie="1"] .be-rundkurs__wahl { border-left-color: var(--h-pink); }
body.be-marke-herbstlauf .be-rundkurs__lauf[data-linie="2"] .be-rundkurs__wahl { border-left-color: var(--h-petrol-tief); }
body.be-marke-herbstlauf .be-rundkurs__lauf[data-linie="3"] .be-rundkurs__wahl { border-left-color: var(--h-ink); }
body.be-marke-herbstlauf .be-rundkurs__label { font-family: Rubik, Arial, sans-serif; font-weight: 700; letter-spacing: -0.02em; color: var(--h-ink); }
body.be-marke-herbstlauf .be-rundkurs__zeit { font-family: 'Source Sans 3', Arial, sans-serif; font-weight: 700; color: var(--h-pink-schrift); }
body.be-marke-herbstlauf :is(.be-rundkurs__note, .be-rundkurs__rechnung span) { color: var(--h-grau); }
body.be-marke-herbstlauf .be-rundkurs__startort { background: var(--h-ink); border-color: var(--h-ink); color: #FFFFFF; }
body.be-marke-herbstlauf .be-rundkurs__startort-marke { background: var(--h-pink); color: #FFFFFF; }
body.be-marke-herbstlauf .be-rundkurs__startort-titel { color: var(--h-pink-hell); font-family: 'Source Sans 3', Arial, sans-serif; }
/* Tippziel 48 px (Hausregel; der Kern hat hier 44 px, Prüfung tippziele 02.12.2026). */
body.be-marke-herbstlauf .be-rundkurs__route { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.55); min-height: 48px; display: inline-flex; align-items: center; }
body.be-marke-herbstlauf .be-rundkurs__route:hover { background: var(--h-pink); border-color: var(--h-pink); color: #FFFFFF; }
body.be-marke-herbstlauf .be-rundkurs__route:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; box-shadow: none; }

/* Google-Karte in voller Inhaltsbreite wie wc und hk (der Kern setzt die Höhe inline, !important nötig). */
body.be-marke-herbstlauf .be-karte__rahmen { max-width: none; }
body.be-marke-herbstlauf .be-karte .be-map-gate { --be-map-h: clamp(420px, 44vw, 620px) !important; min-height: var(--be-map-h) !important; border-radius: var(--h-radius); }

/* ── Einleitung, Karten, Galerie ─────────────────────────────────────────────── */
body.be-marke-herbstlauf .intro-section__photo img { border-radius: var(--h-radius); }
body.be-marke-herbstlauf .intro-section__photo-accent { border-color: var(--h-pink); border-radius: var(--h-radius); }
body.be-marke-herbstlauf .intro-section__claim {
    font-family: Rubik, Arial, sans-serif;
    font-weight: 600;
    font-size: clamp(1.25rem, 1.7vw, 1.5rem);
    line-height: 1.3;
    color: var(--h-pink-schrift);
    border-left: 4px solid var(--h-petrol);
    padding-left: 1rem;
}
body.be-marke-herbstlauf .intro-section__body { color: var(--h-grau); }
body.be-marke-herbstlauf .cta-card {
    border: 1px solid var(--h-linie);
    border-radius: var(--h-radius);
    overflow: hidden;
    box-shadow: 0 16px 36px -30px rgba(29, 29, 27, 0.45);
}
body.be-marke-herbstlauf .cta-card__title { font-size: 1.45rem; line-height: 1.12; color: var(--h-ink); }
body.be-marke-herbstlauf .cta-card__text { color: var(--h-grau); }
body.be-marke-herbstlauf .cta-card__arrow { color: var(--h-pink-schrift); }
body.be-marke-herbstlauf .gallery-item { border-radius: 8px; overflow: hidden; }

/* ── Fotoband: tiefes Petrol trägt den Text ─────────────────────────────────── */
body.be-marke-herbstlauf .photo-band { background-attachment: scroll; position: relative; }
body.be-marke-herbstlauf .photo-band__overlay {
    background:
        linear-gradient(rgba(0, 0, 0, var(--text-schleier, 0)), rgba(0, 0, 0, var(--text-schleier, 0))),
        linear-gradient(90deg, rgba(0, 70, 75, 0.94) 0%, rgba(0, 70, 75, 0.80) 45%, rgba(0, 70, 75, 0.22) 100%);
}
@media (max-width: 1023px) {
    body.be-marke-herbstlauf .photo-band__overlay {
        background: linear-gradient(90deg, rgba(0, 70, 75, 0.94) 0%, rgba(0, 70, 75, 0.84) 65%, rgba(0, 70, 75, 0.5) 100%);
    }
}
@media (max-width: 639px) {
    body.be-marke-herbstlauf .photo-band__overlay { background: linear-gradient(180deg, rgba(0, 70, 75, 0.92) 0%, rgba(0, 70, 75, 0.86) 100%); }
    body.be-marke-herbstlauf .photo-band__title { font-size: 2rem; }
}
body.be-marke-herbstlauf .photo-band__content { position: relative; z-index: 1; }
body.be-marke-herbstlauf .photo-band__kicker { color: #FFFFFF; }
body.be-marke-herbstlauf .photo-band__kicker::before { background: var(--h-pink-hell); }
body.be-marke-herbstlauf .photo-band__title { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.04; color: #FFFFFF; }

/* ── FAQ und Partner ─────────────────────────────────────────────────────────── */
body.be-marke-herbstlauf .faq-item { border: 1px solid var(--h-linie); border-radius: var(--h-radius); background: #FFFFFF; margin-bottom: 0.6rem; }
body.be-marke-herbstlauf .faq-item > summary { font-weight: 700; color: var(--h-ink); min-height: 48px; }
body.be-marke-herbstlauf .faq-item > summary::marker,
body.be-marke-herbstlauf .faq-item > summary::-webkit-details-marker { color: var(--h-pink); }
body.be-marke-herbstlauf .be-faq + .be-faq { padding-top: 0; }
body.be-marke-herbstlauf .sponsors-wall__item { border-radius: var(--h-radius); border: 1px solid var(--h-linie); box-shadow: none; }
body.be-marke-herbstlauf .sponsors-wall__tier-label { display: none; }
body.be-marke-herbstlauf .sponsors-cta:empty { display: none; }

/* ── Fuß: Fast-Schwarz, Pink nur in der hellen Stufe ─────────────────────────── */
body.be-marke-herbstlauf .footer__newsletter { background: var(--h-petrol-tief); }
body.be-marke-herbstlauf .footer__newsletter-title { color: #FFFFFF; font-family: Rubik, Arial, sans-serif; font-size: var(--text-2xl); line-height: 1.05; }
body.be-marke-herbstlauf .footer__newsletter-desc { color: rgba(255, 255, 255, 0.9); }
body.be-marke-herbstlauf .footer__main { background: var(--h-ink); color: rgba(255, 255, 255, 0.86); }
body.be-marke-herbstlauf .footer__heading { font-family: 'Source Sans 3', Arial, sans-serif; color: var(--h-pink-hell); letter-spacing: 0.12em; font-size: var(--text-base); line-height: 1.05; }
body.be-marke-herbstlauf .footer__main a { color: #FFFFFF; }
body.be-marke-herbstlauf :is(.footer__tagline, .footer__location, .footer__address, .footer__organizer, .footer__contact-item) { color: rgba(255, 255, 255, 0.86); }
body.be-marke-herbstlauf .footer__location .be-icon-svg { color: var(--h-pink-hell); }
body.be-marke-herbstlauf .footer__bottom { background: #111110; color: rgba(255, 255, 255, 0.74); }
body.be-marke-herbstlauf .footer__bottom a { color: rgba(255, 255, 255, 0.88); }
body.be-marke-herbstlauf .footer__copyright { color: rgba(255, 255, 255, 0.78); }
body.be-marke-herbstlauf .footer__main :is(a, button):focus-visible { outline-color: #FFFFFF; box-shadow: 0 0 0 6px var(--h-ink); }

/* ── Unterseiten: Titel mit kurzem Pinselstrich ──────────────────────────────── */
body.be-marke-herbstlauf .page-banner__title { font-family: Rubik, Arial, sans-serif; text-transform: none; letter-spacing: -0.02em; }
body.be-marke-herbstlauf .page-banner__title::after {
    content: '';
    display: block;
    width: 3.5rem;
    height: 6px;
    margin-top: 0.9rem;
    border-radius: 3px 6px 4px 2px;
    background: linear-gradient(90deg, var(--h-pink) 0 58%, var(--h-petrol) 58% 100%);
    transform: rotate(-3deg);
}
body.be-marke-herbstlauf .page-banner__subtitle { max-width: 52rem; text-wrap: pretty; }
@media (max-width: 639px) {
    body.be-marke-herbstlauf .page-banner__title { font-size: clamp(1.5rem, 7.4vw, 2.25rem); }
}

/* ── Rechtstexte und Fließtext (Lehre aus wc und hk: :is() schlägt .prose h2) ─ */
body.be-marke-herbstlauf .prose h2 {
    font-size: clamp(1.3rem, 1.05rem + 0.7vw, 1.625rem);
    line-height: 1.2;
    color: var(--h-ink);
    border-left: 0;
    padding-left: 0;
    margin: 2.75rem 0 0.9rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--h-linie);
}
body.be-marke-herbstlauf .prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
body.be-marke-herbstlauf .prose h3 { font-size: clamp(1.08rem, 1rem + 0.3vw, 1.2rem); line-height: 1.3; color: var(--h-ink); margin: 1.9rem 0 0.5rem; }
body.be-marke-herbstlauf .page-prose { max-width: 70ch; }
body.be-marke-herbstlauf .prose :is(p, li) { color: var(--h-ink); }
body.be-marke-herbstlauf :is(.ct-info__title, .ct-form-card__title) { font-size: var(--text-2xl); line-height: 1.15; }
body.be-marke-herbstlauf mark {
    font-weight: 700;
    color: var(--h-ink);
    background: linear-gradient(transparent 58%, rgba(230, 0, 85, 0.18) 58%, rgba(230, 0, 85, 0.18) 92%, transparent 92%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-inline: 0.08em;
}

/* Die Marke von Facebook trägt weiße Schrift nur mit 4,23:1, eine Stufe dunkler erreicht AA. */
body.be-marke-herbstlauf .reg-social-btn--facebook { background: #0F63D6; }

@media (prefers-reduced-motion: reduce) {
    body.be-marke-herbstlauf .nav__link { transition: none; }
}

/* ── Runde 1 (Messung 02.12.2026) ──────────────────────────────────────────── */
/* Vorzeile im Seitenkopf der Unterseiten: volles Weiß. Mit 65 % Deckkraft 4,36:1 auf dem Foto (Kontrastscan). */
body.be-marke-herbstlauf .page-banner__kicker { color: #FFFFFF; opacity: 1; }

/* ── Fassung 2 (Dennis 02.12.2026: „zu viele weiße Sektionen“, „langweilig im 2er Grid untereinander“) ──
   Selektoren mit `section[…]`: Die Bearbeitungsmarken im Text tragen dasselbe data-be-section und bekamen sonst Fläche und
   Abstände des Abschnitts mit (auf dem City Trail als dunkler Kasten in einer gelben Karte sichtbar, 03.12.2026).
   Familie und Region als randloses Diptychon: zwei Farbflächen über die volle Breite, Foto ohne Rahmen bis an
   die Kante, einmal rechts (Pink), einmal links (tiefes Petrol). Ein Schachbrett statt zweier weißer Zeilen.
   Der Text bleibt bündig zur Inhaltskante aller anderen Bänder (Rand wie --container-max 1536 px). */
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) {
    --h-kante: max(clamp(1rem, 5vw, 3rem), calc((100vw - 1536px) / 2 + 3rem));
    padding-block: 0;
    color: #FFFFFF;
}
body.be-marke-herbstlauf section[data-be-section="sec_ablauf"] { background: var(--h-pink); }
body.be-marke-herbstlauf section[data-be-section="sec_intro"] { background: var(--h-petrol-tief); }
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) > .container {
    max-width: none;
    padding-inline: 0;
}
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .intro-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
}
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .intro-section__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(3.5rem, 7vw, 6.5rem);
    max-width: none;
}
body.be-marke-herbstlauf section[data-be-section="sec_ablauf"] .intro-section__text { padding-inline: var(--h-kante) clamp(2rem, 5vw, 5rem); }
body.be-marke-herbstlauf section[data-be-section="sec_intro"] .intro-section__text { padding-inline: clamp(2rem, 5vw, 5rem) var(--h-kante); }
body.be-marke-herbstlauf section[data-be-section="sec_intro"] .intro-section__photo { order: -1; }
/* Das Fotofeld trägt im Kern ein Seitenverhältnis. Mit voller Zeilenhöhe rechnete es daraus 1154 px Breite in einer
   720-px-Spalte (gemessen 1440 px, Seite 434 px breiter als das Fenster). Hier füllt es nur seine Spalte. */
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .intro-section__photo {
    position: relative;
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: auto;
    min-height: 26rem;
    overflow: hidden;
}
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .intro-section__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}
/* Auch das Fotofeld selbst ohne Rundung aus dem Kern (Prüfer, niedrig): randlos heißt bis an die Kante. */
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .intro-section__photo { border-radius: 0; }
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .intro-section__photo-accent { display: none; }
/* Leitsatz nach dem Text, groß in der Titelschrift (über der Vorzeile wirkte die Reihenfolge unruhig, Runde 2). */
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .intro-section__claim {
    font-family: Rubik, Arial, sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    border: 0;
    padding: 0;
    margin: 1.25rem 0 0;
}
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) :is(.section__kicker, .intro-section__title, .intro-section__body, .intro-section__body p) { color: #FFFFFF; }
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .section__kicker::before { background: #FFFFFF; }
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .intro-section__title {
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.02;
    max-width: 16ch;
}
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .intro-section__body { font-size: 1.125rem; line-height: 1.6; max-width: 56ch; }
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) mark {
    color: #FFFFFF;
    background: linear-gradient(transparent 88%, #FFFFFF 88%, #FFFFFF 96%, transparent 96%);
}
/* Knöpfe auf den Farbflächen: weiß mit Markenschrift. */
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) :is(.btn--primary, .btn--disabled) {
    background: #FFFFFF; border-color: #FFFFFF; color: var(--h-ink);
}
body.be-marke-herbstlauf section[data-be-section="sec_ablauf"] :is(.btn--primary, .btn--disabled) { color: var(--h-pink-schrift); }
body.be-marke-herbstlauf section[data-be-section="sec_intro"] .btn--primary { color: var(--h-petrol-tief); }
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .btn--primary:hover { background: var(--h-ink); border-color: var(--h-ink); color: #FFFFFF; }
body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) :is(a, .btn):focus-visible { outline-color: #FFFFFF; box-shadow: 0 0 0 6px var(--h-ink); }
@media (max-width: 899px) {
    body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .intro-section__grid { grid-template-columns: 1fr; }
    body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .intro-section__photo { order: -1; aspect-ratio: 3 / 2; min-height: 0; }
    body.be-marke-herbstlauf :is(section[data-be-section="sec_ablauf"], section[data-be-section="sec_intro"]) .intro-section__text {
        padding: 2.5rem clamp(1rem, 5vw, 3rem) 3rem;
    }
}

/* ── Karten „Alles für deinen Lauftag“: Weiß, kompakter ─────────────────────── */
body.be-marke-herbstlauf section[data-be-section="sec_cta"] { padding-block: clamp(4rem, 7vw, 6rem); }

/* ── Galerie als Mosaik auf Fast-Schwarz: das erste Foto groß ───────────────────── */
body.be-marke-herbstlauf .gallery-section { background: var(--h-ink); color: #FFFFFF; }
body.be-marke-herbstlauf .gallery-section :is(.section__title) { color: #FFFFFF; }
body.be-marke-herbstlauf .gallery-section .section__kicker { color: var(--h-pink-hell); }
body.be-marke-herbstlauf .gallery-section .section__kicker::before { background: var(--h-pink-hell); }
body.be-marke-herbstlauf .gallery-section .section__link { color: var(--h-pink-hell); }
body.be-marke-herbstlauf .gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(170px, 16vw, 290px);
    gap: 8px;
}
body.be-marke-herbstlauf .gallery-section .gallery-item { height: 100%; aspect-ratio: auto; border-radius: 6px; }
body.be-marke-herbstlauf .gallery-section .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
body.be-marke-herbstlauf .gallery-section .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
    body.be-marke-herbstlauf .gallery-section .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; gap: 6px; }
    body.be-marke-herbstlauf .gallery-section .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
    body.be-marke-herbstlauf .gallery-section .gallery-item:nth-child(6) { grid-column: span 2; }
}

/* ── Westenergie als Präsentator: eigene Bühne im Nebelton, großes Logo ─────────── */
body.be-marke-herbstlauf .be-praesentator { background: var(--h-hauch); }
body.be-marke-herbstlauf .be-praesentator__kicker { color: var(--h-pink-schrift); }
body.be-marke-herbstlauf .be-praesentator__heading { color: var(--h-ink); }
body.be-marke-herbstlauf .be-praesentator__karte { border-radius: 14px; border: 0; border-top: 10px solid var(--h-pink); box-shadow: 0 24px 48px -32px rgba(0, 70, 75, 0.45); }

/* ── Partner: kompakt, kein leerer Rest ──────────────────────────────────────── */
body.be-marke-herbstlauf .sponsors-section { padding-block: clamp(3.5rem, 6vw, 5rem); }
body.be-marke-herbstlauf .sponsors-cta:not(:has(*)) { display: none; }

/* ── Seitenköpfe der Unterseiten: tiefes Petrol von links statt Pink über Grün ──── */
body.be-marke-herbstlauf .page-banner__overlay {
    background:
        linear-gradient(90deg, rgba(0, 70, 75, 0.94) 0%, rgba(0, 70, 75, 0.78) 45%, rgba(0, 70, 75, 0.35) 100%);
}
@media (max-width: 767px) {
    body.be-marke-herbstlauf .page-banner__overlay { background: linear-gradient(90deg, rgba(0, 70, 75, 0.92) 0%, rgba(0, 70, 75, 0.82) 100%); }
}

/* ── Runde 2 (Abzug 02.12.2026) ─────────────────────────────────────────────── */
/* Ortszeile am Handy: Der Kern stellt sie auf flex-wrap: wrap und gibt dem Text die volle Breite, er brach unter das
   Symbol (gemessen 390 px: Text 338 px breit, eigene Zeile). Symbol und Text bleiben eine Zeile. */
body.be-marke-herbstlauf .hero .hero__meta .hero__meta-item { flex-wrap: nowrap; }
body.be-marke-herbstlauf .hero .hero__meta .hero__meta-item > span { flex: 1 1 auto; width: auto; min-width: 0; }
/* Startnummer als Karte im Inhaltsraster: Der Behälter ist bis 1536 px breit und lief bei 1440 px von Rand zu Rand,
   die Lochpunkte saßen am Bildschirmrand. Hier schmaler als die Inhaltskante und mittig. */
body.be-marke-herbstlauf .facts-bar__inner {
    width: min(1180px, calc(100% - 2 * clamp(1rem, 5vw, 3rem)));
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}
/* Logo zwischen 1024 und 1339 px (Dennis 02.12.2026: „Logo größer, Subline wirkt sonst zu klein“): layout.css schrumpft es
   dort auf 56 % (gemessen 56 px bei 1100), gescrollt stand es mit 75 px größer als oben und passte neben das Menü.
   Oben jetzt dieselben 75 % wie gescrollt. */
@media (min-width: 1024px) and (max-width: 1339px) {
    body.be-marke-herbstlauf .site-header:not(.is-scrolled) .header__logo img { max-height: calc(var(--logo-max-height) * 0.75); }
}
