@charset "UTF-8";
/* Startseite lasseer-benefizlauf.at (nur index.html)
   Kopfbereich mit Diashow, Wofür wir laufen, Sponsoren, Facebook-Feed, Bewerbe, Nenngeld, Strecken,
   Ergebnisse, Zeitplan, Lageplan, Abstände der Abschnitte.
   Nach jeder Änderung an dieser Datei in index.html die Zahl hinter index.css?v= um eins erhöhen,
   sonst zeigen Browser bis zu einen Tag lang noch die alte Version (der Server lässt CSS 24 h im Cache). */

.fb-feed .card { display: flex; flex-direction: column; height: calc(100% - 1rem); }
.fb-feed .card-image img { height: 200px; object-fit: cover; }
.fb-feed .fb-image-only .card-image img { height: auto; }
.fb-feed .card-content { flex: 1 1 auto; padding: 16px 20px; }
.fb-feed .fb-date { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.95rem; }
.fb-feed .fb-text { margin: 0; white-space: pre-line; }
.fb-feed .card-action { padding: 12px 20px; }
.fb-feed .card-action a { color: #004A99 !important; text-transform: none !important; margin-right: 0 !important; }
@media (min-width: 601px) { .fb-feed .row { display: flex; flex-wrap: wrap; } }
.lb-zeitplan { width: auto; margin: 0 0 12px 5px; }
.lb-zeitplan tr { border: 0; }
.lb-zeitplan td { padding: 2px 16px 2px 0; vertical-align: top; }
.lb-zeitplan td:first-child { white-space: nowrap; }
#lageplan { scroll-margin-top: 64px; }   /* Link "Lageplan" bei den Bewerben */

/* Lageplan: Grafik links, Beschreibung rechts (am Handy untereinander) */
.lb-lageplan { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 40px; margin-top: 16px; }
.lb-lageplan-karte { flex: 1 1 420px; max-width: 620px; margin: 0; }
.lb-lageplan-karte img { display: block; width: 100%; height: auto; border: 1px solid #e3e0d8; border-radius: 3px; }
.lb-lageplan-karte figcaption { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 10px; }
.lb-lageplan-karte figcaption a { color: #004a99; font-family: lb-medium, sans-serif; }
.lb-lageplan-text { flex: 1 1 320px; }
.lb-lageplan-text h4 { margin-top: 0; }
.lb-nr { display: inline-block; min-width: 22px; height: 22px; margin-right: 6px; padding: 0 5px; border-radius: 11px; color: #fff; font-family: lb-medium, sans-serif; font-size: 13px; line-height: 22px; text-align: center; vertical-align: 1px; }
.lb-nr-1 { background: #004a99; } .lb-nr-2 { background: #c2185b; } .lb-nr-3 { background: #ef6c00; } .lb-nr-4 { background: #5e35b1; }
.lb-nr-5 { background: #2e7d32; } .lb-nr-6 { background: #f9a825; } .lb-nr-7 { background: #3949ab; } .lb-nr-wc { background: #0277bd; border-radius: 4px; font-size: 11px; }
.lb-nr-p { background: #1565c0; border-radius: 4px; }

/* Sponsoren: Logos zentriert in zwei Gruppen */
.lb-sponsoren { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 30px; margin: 0 auto 26px; }
.lb-sponsoren-haupt { gap: 20px 44px; margin-top: 24px; margin-bottom: 34px; }
.lb-sponsoren a { display: inline-flex; }
.lb-sponsoren img { transition: transform .2s; }
.lb-sponsoren a:hover img { transform: scale(1.06); }

/* Bewerbe als Karten */
.lb-bewerbe { margin: 4px 0 8px; }
.lb-gruppe { margin-top: 30px; }
.lb-gruppe-titel { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; color: var(--farbe); font-family: lb-medium, sans-serif; font-size: 1.05rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; }
.lb-gruppe-titel::after { content: ""; flex: 1; height: 1px; background: #dfe6ef; }
.lb-gruppe-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 20px; }
.lb-bewerb { display: flex; flex-direction: column; padding: 16px 20px 18px; background: #fff; border: 1px solid #e3e8ef; border-top: 4px solid var(--farbe); border-radius: 6px; box-shadow: 0 1px 3px rgba(16,40,80,.06); }
.lb-bewerb h4, .lb-bewerb h5 { margin: 8px 0 8px; font-family: lb-medium, sans-serif; font-size: 1.45rem; line-height: 1.25; color: #004a99; }
.lb-bewerb .lb-kennung { align-self: flex-start; }
.lb-bewerb p { margin: 0 0 14px; font-size: 14px; line-height: 1.65; }
.lb-infos { margin: 0 !important; padding: 12px 0 0 !important; border-top: 1px solid #edf0f5; }
.lb-infos li { position: relative; margin: 0 0 6px; padding-left: 26px; font-size: 13.5px; line-height: 1.55; list-style: none; }
.lb-infos li:last-child { margin-bottom: 0; }
.lb-infos li i { position: absolute; left: 0; top: 3px; width: 18px; color: var(--farbe); font-size: 13px; text-align: center; }
.lb-kennung { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--hell); color: var(--farbe); font-family: lb-medium, sans-serif; font-size: 12.5px; line-height: 1.6; }
.lb-neu { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #ffa500; color: #fff; font-family: lb-medium, sans-serif; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; vertical-align: 4px; }
.lb-g-kinder { --farbe: #2e7d32; --hell: #e8f5e9; } .lb-g-fuenf { --farbe: #e65100; --hell: #fff3e0; }
.lb-g-drei { --farbe: #00838f; --hell: #e0f4f5; } .lb-g-sechs, .lb-strecke { --farbe: #004a99; --hell: #e8f0fa; }

/* Nenngeld: kompakte Tabelle, aktueller Tarif hervorgehoben, am Handy seitlich wischbar mit fester erster Spalte */
.lb-nenngeld-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid #e3e8ef; border-radius: 6px; }
.lb-nenngeld { width: 100%; margin: 0; border-collapse: collapse; }
.lb-nenngeld th, .lb-nenngeld td { padding: 12px 14px; border-bottom: 1px solid #edf0f5; border-radius: 0; line-height: 1.5; text-align: right; white-space: nowrap; }
.lb-nenngeld tbody tr:last-child th, .lb-nenngeld tbody tr:last-child td { border-bottom: 0; }
.lb-nenngeld thead th { padding-top: 9px; padding-bottom: 9px; background: #f1f5fa; color: #004a99; font-family: lb-medium, sans-serif; font-size: 13px; vertical-align: bottom; }
.lb-nenngeld th[scope=row], .lb-nenngeld thead th:first-child { text-align: left; white-space: normal; background: #fff; font-family: lb-medium, sans-serif; }
.lb-nenngeld thead th:first-child { background: #f1f5fa; }
.lb-nenngeld .aktuell { background: #fff4e0 !important; color: #111; font-family: lb-medium, sans-serif; }
.lb-nenngeld thead th.aktuell::before { content: "aktuell"; display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 999px; background: #e65100; color: #fff; font-size: 10px; line-height: 1.7; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.lb-nenngeld tbody tr:hover > * { background-color: #f3f6fa; }
.lb-nenngeld tbody tr:hover > .aktuell { background-color: #ffe7bf !important; }
@media (max-width: 600px) {
	.lb-nenngeld th, .lb-nenngeld td { padding: 10px 10px; font-size: 13px; }
	.lb-nenngeld .nenngeld_datum { display: block; }
	.lb-nenngeld th[scope=row], .lb-nenngeld thead th:first-child { position: sticky; left: 0; z-index: 1; min-width: 128px; box-shadow: 1px 0 0 #e3e8ef; }
}

/* Strecken als Karten mit eigener Karte der Runde */
.lb-strecken { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin-top: 24px; }
.lb-strecke { display: flex; flex-direction: column; padding: 0 0 16px; overflow: hidden; background: #fff; border: 1px solid #e3e8ef; border-radius: 6px; box-shadow: 0 1px 3px rgba(16,40,80,.06); color: #535353; transition: box-shadow .2s, transform .2s; }
.lb-strecke:hover { box-shadow: 0 6px 18px rgba(16,40,80,.12); transform: translateY(-2px); }
.lb-strecke img { display: block; width: 100%; height: auto; margin-bottom: 14px; }
.lb-strecke .lb-kennung, .lb-strecke h5, .lb-strecke p, .lb-strecke-link { margin-left: 18px; margin-right: 18px; }
.lb-strecke h5 { margin-top: 8px; margin-bottom: 6px; color: #004a99; font-family: lb-medium, sans-serif; }
.lb-strecke p { margin-top: 0; font-size: 14px; line-height: 1.6; }
.lb-strecke .lb-kennung { align-self: flex-start; }
.lb-strecke-link { margin-top: auto; color: #004a99; font-family: lb-medium, sans-serif; font-size: 13.5px; }
@media (max-width: 600px) {
	.lb-strecke { display: grid; grid-template-columns: 104px 1fr; column-gap: 14px; align-items: start; padding: 12px; }
	.lb-strecke img { grid-row: 1 / span 4; margin: 0; border: 1px solid #edf0f5; border-radius: 4px; }
	.lb-strecke .lb-kennung, .lb-strecke h5, .lb-strecke p, .lb-strecke-link { margin-left: 0; margin-right: 0; }
	.lb-strecke .lb-kennung { justify-self: start; }
	.lb-strecke h5 { margin: 6px 0 2px; font-size: 1.35rem; }
	.lb-strecke p { margin-bottom: 4px; font-size: 13px; line-height: 1.5; }
}
.lb-strecke-gross { --farbe: #004a99; --hell: #e8f0fa; } .lb-strecke-klein { --farbe: #e65100; --hell: #fff3e0; } .lb-strecke-mini { --farbe: #2e7d32; --hell: #e8f5e9; }

/* Ergebnisse: Jahre als Knöpfe */
.lb-jahre { display: flex; flex-wrap: wrap; gap: 8px; }
.lb-jahre a { padding: 5px 14px; border: 1px solid #cfdae8; border-radius: 999px; color: #004a99; font-family: lb-medium, sans-serif; transition: background-color .2s; }
.lb-jahre a:hover { background: #e8f0fa; }

/* Zeitplan: zwei Tage nebeneinander (am Handy untereinander) */
.lb-tage { display: grid; grid-template-columns: minmax(250px, 1fr) 2fr; gap: 20px; align-items: start; margin: 18px 0 16px; }
@media (max-width: 800px) { .lb-tage { grid-template-columns: 1fr; } }
.lb-tag { padding: 16px 20px 10px; background: #f6f8fb; border-radius: 6px; }
.lb-tag h5 { margin: 0 0 8px; color: #004a99; font-family: lb-medium, sans-serif; }
.lb-tag .lb-zeitplan { width: 100%; margin: 0; }
.lb-tag .lb-zeitplan tr { border-bottom: 1px solid #e3e8ef; }
.lb-tag .lb-zeitplan tr:last-child { border-bottom: 0; }
.lb-tag .lb-zeitplan td { padding: 8px 14px 8px 0; }
.lb-tag .lb-zeitplan td:first-child { width: 1%; color: #004a99; font-family: lb-medium, sans-serif; font-variant-numeric: tabular-nums; }
.lb-tag .lb-zeitplan tr.lb-start td:last-child { font-family: lb-medium, sans-serif; color: #222; }
@media (max-width: 600px) { .lb-tag .lb-zeitplan td { padding-top: 10px; padding-bottom: 10px; line-height: 1.5; } }
.lb-hinweis { margin: -6px 0 0; padding: 10px 16px; background: #fff8ec; border-left: 3px solid #ffa500; border-radius: 4px; }
#zeitplan mark { padding: 0 1px; background: none; color: #e65100; font-family: lb-medium, sans-serif; }

/* Gleiche Abstände vor allen Abschnitten: jeder Abschnitt beginnt mit 26px Luft (plus Rand der Überschrift),
   der letzte Block eines Abschnitts hat unten keinen Außenabstand mehr. Ergibt überall ca. 47px bis zur Überschrift. */
.section.scrollspy { padding-top: 26px; padding-bottom: 0; }
.section.scrollspy > .container > :last-child, .lb-lageplan-text > :last-child, #box > .row > :last-child { margin-bottom: 0; }
.section.scrollspy > .container > hr:last-child { display: none; }  /* Trennlinie nach der letzten News */
.section.scrollspy > .container > :has(+ hr:last-child) { margin-bottom: 0; }

/* Wofür wir laufen: Sterntalerhof und Spendensummen */
.lb-wofuer { margin: 8px 0 26px; padding: 48px 0 28px; background: #f1f5fa; }
.lb-wofuer .row { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 0; }
.lb-wofuer h2 { margin-top: 0; }
.lb-wofuer p { font-size: 1.1rem; line-height: 1.6; }
.lb-wofuer-links a { display: inline-block; margin: 4px 28px 4px 0; color: #004a99; font-family: lb-medium, sans-serif; }
.lb-wofuer-links a:hover { text-decoration: underline; }
.lb-zahl { margin: 0 0 24px; padding-left: 18px; border-left: 4px solid #ffa500; line-height: 1.3; }
.lb-zahl-wert { display: block; font-family: lb-medium, sans-serif; font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1.1; color: #004a99; }
.lb-zahl-text { display: block; margin-top: 4px; font-size: 1rem; color: #535353; }

/* Marchfelder Bank Laufserie: Kasten am Ende der Bewerbe */
.lb-serie { display: flex; align-items: center; gap: 24px; margin: 36px 0 8px; padding: 20px 24px; background: #fff; border: 1px solid #dfe6ef; border-left: 4px solid #004a99; border-radius: 6px; }
.lb-serie img { flex: 0 0 auto; width: 150px; height: auto; }
.lb-serie h4 { margin: 0 0 6px; font-size: 1.5rem; }
.lb-serie p { margin: 0; }
@media (max-width: 600px) {
	.lb-serie { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
	.lb-serie img { width: 130px; }
}

/* Kopfbereich: genau so hoch wie das Fenster (minus Menüleiste), unten Text und Knöpfe auf einem dunklen Verlauf.
   Schriftgrößen richten sich nach Fensterbreite und -höhe (vw/vh), damit der Text auch in niedrigen Fenstern nicht zu viel verdeckt. */
#index-banner.parallax-container { height: calc(100vh - 64px); height: calc(100svh - 64px); min-height: 320px; display: flex; align-items: flex-end; isolation: isolate; line-height: 1.3; }
@media (max-width: 600px) {
	#index-banner.parallax-container { height: calc(100vh - 56px); height: calc(100svh - 56px); }
}
.lb-hero-text { position: relative; z-index: 1; padding-bottom: clamp(70px, 11vh, 110px); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.35), 0 1px 18px rgba(0,0,0,.35); }
.lb-hero-text > * { animation: lb-rein .9s ease-out both; }
.lb-hero-text > :nth-child(2) { animation-delay: .1s; }
.lb-hero-text > :nth-child(3) { animation-delay: .2s; }
.lb-hero-text > :nth-child(4) { animation-delay: .3s; }
@keyframes lb-rein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lb-hero-dach { margin: 0 0 12px; font-family: lb-medium, sans-serif; font-size: 15px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.lb-hero-dach::before { content: ""; display: inline-block; width: 34px; height: 3px; margin: 0 12px 0 0; vertical-align: middle; background: #ffa500; }
.lb-hero-dach span { white-space: nowrap; }
.lb-hero-titel { margin: 0; font-family: lb-medium, sans-serif; font-weight: 400; font-size: clamp(2rem, min(5.6vw, 10vh), 5rem); line-height: 1.05; letter-spacing: -.01em; color: #fff; overflow-wrap: break-word; text-wrap: balance; }
/* Überschrift: bis ca. 22 Zeichen (z. B. „Anmeldung jetzt offen“) passen überall in eine Zeile, Längeres bricht sauber in eine zweite Zeile um */
@media (max-width: 992px) { .lb-hero-titel { font-size: clamp(2rem, min(6.8vw, 10vh), 5rem); } }
.lb-hero-unter { margin: 10px 0 0; font-family: lb-light, sans-serif; font-size: clamp(1.3rem, min(2.6vw, 3.6vh), 2rem); line-height: 1.25; }
.lb-hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.lb-knopf { display: inline-block; padding: 13px 24px; border: 2px solid #fff; border-radius: 3px; font-family: lb-medium, sans-serif; font-size: 15px; line-height: 1.2; letter-spacing: .03em; text-shadow: none; transition: background-color .2s, border-color .2s; }
.lb-knopf-voll, .lb-knopf-voll:visited { background: #fff; color: #004a99; }
.lb-knopf-voll:hover { background: #e3edf9; border-color: #e3edf9; color: #004a99; }
.lb-knopf-rand, .lb-knopf-rand:visited { color: #fff; }
.lb-knopf-rand:hover { background: rgba(255,255,255,.18); color: #fff; }
.lb-knopf:focus-visible, .lb-hero-weiter:focus-visible { outline: 3px solid #ffa500; outline-offset: 3px; }
.lb-hero-weiter, .lb-hero-weiter:visited { position: absolute; left: 50%; bottom: 16px; z-index: 1; width: 44px; height: 44px; margin-left: -22px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; opacity: .9; animation: lb-wippen 2.4s ease-in-out infinite; }
.lb-hero-weiter:hover { color: #fff; opacity: 1; }
@keyframes lb-wippen { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (max-width: 600px) {
	.lb-hero-text { padding-bottom: 76px; }
	.lb-hero-titel { font-size: clamp(1.5rem, 7.2vw, 3rem); }
	.lb-hero-unter { font-size: 1.2rem; }
	.lb-hero-dach { font-size: 12.5px; letter-spacing: .1em; }
	.lb-hero-dach span { display: block; }
	.lb-hero-dach::before { display: block; margin: 0 0 9px; }
	.lb-hero-dach .lb-trenner { display: none; }
	.lb-knopf { padding: 12px 18px; font-size: 14px; }
}

/* Diashow: langsames Überblenden mit leichtem Zoom */
.lb-hero { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; background: #1d2b3a; }
.lb-hero::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: radial-gradient(ellipse 75% 65% at 18% 88%, rgba(0,0,0,.42), rgba(0,0,0,0) 72%), linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,0) 28%, rgba(0,0,0,.08) 48%, rgba(0,0,0,.66)); }
.lb-hero-bild { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease-in-out; }
.lb-hero-bild.aktiv { opacity: 1; animation: lb-zoom 9s linear forwards; }
@keyframes lb-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
/* Bildausschnitt je Foto (waagrecht senkrecht), damit die Läufer auch in breiten, niedrigen Fenstern im Bild bleiben */
.lb-hero-bild[data-nr="1"] { background-position: 50% 35%; }
.lb-hero-bild[data-nr="2"] { background-position: 50% 55%; }
.lb-hero-bild[data-nr="3"] { background-position: 50% 35%; }
.lb-hero-bild[data-nr="4"] { background-position: 50% 45%; }
/* Bilder in /img/hero/: 1600 px breit (Standard), 2560 px (große und hochauflösende Bildschirme), Hochformat 900 × 1600 (Handy) */
.lb-hero-bild[data-nr="1"] { background-image: url(/img/hero/hero-1-1600.jpg); }
.lb-hero.geladen [data-nr="2"] { background-image: url(/img/hero/hero-2-1600.jpg); }
.lb-hero.geladen [data-nr="3"] { background-image: url(/img/hero/hero-3-1600.jpg); }
.lb-hero.geladen [data-nr="4"] { background-image: url(/img/hero/hero-4-1600.jpg); }
@media (min-width: 1601px), (min-width: 1000px) and (min-resolution: 1.5dppx), (min-width: 1000px) and (-webkit-min-device-pixel-ratio: 1.5) {
	.lb-hero-bild[data-nr="1"] { background-image: url(/img/hero/hero-1-2560.jpg); }
	.lb-hero.geladen [data-nr="2"] { background-image: url(/img/hero/hero-2-2560.jpg); }
	.lb-hero.geladen [data-nr="3"] { background-image: url(/img/hero/hero-3-2560.jpg); }
	.lb-hero.geladen [data-nr="4"] { background-image: url(/img/hero/hero-4-2560.jpg); }
}
@media (max-width: 800px) and (orientation: portrait) {
	.lb-hero-bild[data-nr="1"] { background-image: url(/img/hero/hero-1-hoch.jpg); }
	.lb-hero.geladen [data-nr="2"] { background-image: url(/img/hero/hero-2-hoch.jpg); }
	.lb-hero.geladen [data-nr="3"] { background-image: url(/img/hero/hero-3-hoch.jpg); }
	.lb-hero.geladen [data-nr="4"] { background-image: url(/img/hero/hero-4-hoch.jpg); }
	.lb-hero .lb-hero-bild[data-nr] { background-position: 50% 40%; }
}
@media (prefers-reduced-motion: reduce) {
	.lb-hero-bild { transition: none; }
	.lb-hero-bild.aktiv, .lb-hero-weiter, .lb-hero-text > * { animation: none; }
}
.lb-hero-credit { position: absolute; right: 12px; bottom: 8px; z-index: 1; color: rgba(255,255,255,.75); font-size: 11px; line-height: 1.2; text-shadow: 0 1px 2px rgba(0,0,0,.8); }
