/* moerlenbacher-volkslauf.de – Farben aus dem Logo und von sv-moerlenbach.de (Blau #254AA5, Lavendel #B3B3E0) */
@font-face { font-family: Anton; src: url(fonts/anton-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url(fonts/barlow-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url(fonts/barlow-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Barlow; src: url(fonts/barlow-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Barlow; src: url(fonts/barlow-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --nacht: #1a3a8c;
  --indigo: #254aa5;
  --blau: #2f5cc4;
  --himmel: #1fa2e6;
  --lavendel: #b3b3e0;
  --zitrone: #ffd23f;
  --zitrone-tief: #f5b700;
  --text: #1a1f33;
  --grau: #5b6078;
  --hell: #eeeef8;
  --weiss: #fff;
  --rand: rgba(37, 74, 165, .14);
  --rund: 22px;
  --schatten: 0 20px 50px -20px rgba(26, 58, 140, .35);
  --anzeige: Anton, Impact, 'Arial Narrow Bold', sans-serif;
  --schrift: Barlow, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --breite: 1180px;
  --kopf: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 10px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.6 var(--schrift); color: var(--text); background: var(--weiss); overflow-x: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h2 { font: 400 clamp(2.2rem, 5.2vw, 4rem)/1.02 var(--anzeige); letter-spacing: .01em; text-transform: uppercase; }
h2 em { font-style: normal; color: var(--blau); }
h3 { font-weight: 800; font-size: 1.25rem; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--zitrone); color: var(--nacht); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--zitrone); outline-offset: 3px; border-radius: 6px; }
.rahmen { width: min(var(--breite), 100% - 32px); margin-inline: auto; }

/* ---------- Knöpfe ---------- */
/* Knöpfe schräg wie auf sv-moerlenbach.de: Fläche als schräges Parallelogramm (::before), Schrift kursiv in Großbuchstaben */
.knopf { --h: 52px; --kb: transparent; --kr: transparent; --ks: 0 0 0 transparent; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: var(--h); padding: 0 1.8em; border: 0; border-radius: 0; background: none; font: italic 800 .95rem/1 var(--schrift); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), color .25s; position: relative; isolation: isolate; white-space: nowrap; }
.knopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--kb); box-shadow: inset 0 0 0 2px var(--kr), var(--ks); transform: skewX(-16deg); transition: background .25s, box-shadow .25s, transform .3s cubic-bezier(.2,.8,.2,1); }
.knopf:hover::before { transform: skewX(-16deg) scaleX(1.04); }
.knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.knopf:hover svg { transform: translateX(4px); }
.knopf--zitrone { --kb: var(--zitrone); --ks: 0 10px 30px -8px rgba(255, 210, 63, .7); color: var(--nacht); }
.knopf--zitrone::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-16deg); background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.75) 50%, transparent 70%) -200% 0 / 250% 100% no-repeat; animation: glanz 4.5s ease-in-out infinite; }
.knopf--zitrone:hover { --kb: #ffdc5e; --ks: 0 16px 40px -10px rgba(255, 210, 63, .9); }
.knopf--indigo { --kb: var(--indigo); color: #fff; }
.knopf--indigo:hover { --kb: var(--blau); }
.knopf--glas { --kb: rgba(255,255,255,.12); --kr: rgba(255,255,255,.4); color: #fff; }
.knopf--glas::before { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.knopf--glas:hover { --kb: rgba(255,255,255,.22); }
.knopf--rand { --kr: var(--indigo); color: var(--indigo); }
.knopf--rand:hover { --kb: var(--indigo); color: #fff; }
.knopf--gross { --h: 62px; font-size: 1.05rem; padding: 0 2.1em; }
.knopf--klein { --h: 42px; padding: 0 1.4em; font-size: .85rem; }
.knopf--breit { width: 100%; }
@keyframes glanz { 0%, 55% { background-position: -200% 0; } 85%, 100% { background-position: 200% 0; } }

/* ---------- Lesefortschritt als Laufbahn ---------- */
.bahn { position: fixed; inset: 64px 0 auto; height: 4px; z-index: 60; background: rgba(26,58,140,.15); pointer-events: none; opacity: var(--sichtbar, 0); transition: opacity .3s; }
.bahn__fuellung { height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--himmel), var(--zitrone)); }
.bahn__laeufer { position: absolute; top: 4px; left: clamp(34px, calc(var(--p, 0) * 100%), calc(100% - 50px)); transform: translateX(-50%); }
.bahn__km { display: block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: var(--zitrone); color: var(--nacht); font: 800 .72rem/1.4 var(--schrift); white-space: nowrap; box-shadow: 0 4px 14px -4px rgba(0,0,0,.35); }

/* ---------- Kopf ---------- */
.kopf { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--kopf); display: flex; align-items: center; gap: 24px; padding: 0 max(16px, (100% - var(--breite)) / 2); color: #fff; transition: background .35s, box-shadow .35s, height .35s; }
.kopf.ist-gescrollt { background: rgba(26, 58, 140, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); --kopf: 64px; height: 64px; }
.kopf__marke { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font: 400 1.15rem/1 var(--anzeige); text-transform: uppercase; letter-spacing: .03em; }
.kopf__marke img { width: 56px; height: 56px; transition: transform .6s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 4px 14px rgba(0,0,0,.35)); }
.kopf__marke:hover img { transform: rotate(-12deg) scale(1.06); }
.kopf__marke b { font-weight: 400; color: var(--zitrone); display: block; font-size: .78em; }
.kopf__nav { display: flex; gap: 4px; margin-left: auto; }
.kopf__nav a { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.kopf__nav a:hover, .kopf__nav a.ist-aktiv { background: rgba(255,255,255,.12); color: #fff; }
.kopf__menue { display: none; }

/* ---------- Start ---------- */
.held { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--kopf) + 30px) 0 90px; color: #fff; background: var(--nacht); overflow: hidden; isolation: isolate; }
.held__bild { position: absolute; inset: 0; z-index: -3; }
.held__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.08); animation: atmen 22s ease-in-out infinite alternate; }
@keyframes atmen { to { transform: scale(1.16) translate(-1.5%, -1%); } }
.held__schleier { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(1200px 600px at 85% 20%, rgba(31,162,230,.35), transparent 60%),
  linear-gradient(100deg, rgba(26,58,140,.97) 0%, rgba(26,58,140,.88) 38%, rgba(37,74,165,.55) 70%, rgba(37,74,165,.35) 100%),
  linear-gradient(0deg, rgba(26,58,140,.9), transparent 45%); }
/* diagonale Streifen wie im Logo */
.held__streifen { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.held__streifen i { position: absolute; top: -30%; height: 160%; width: 46px; left: 62%; background: linear-gradient(180deg, transparent, var(--himmel) 30%, var(--himmel) 70%, transparent); transform: rotate(38deg); opacity: .55; filter: blur(.5px); animation: streifen 9s ease-in-out infinite; }
.held__streifen i:nth-child(2) { left: 70%; width: 14px; opacity: .4; background: linear-gradient(180deg, transparent, #fff 40%, transparent); animation-delay: -3s; }
.held__streifen i:nth-child(3) { left: 50%; width: 8px; opacity: .25; background: linear-gradient(180deg, transparent, var(--zitrone) 50%, transparent); animation-delay: -6s; }
@keyframes streifen { 0%, 100% { translate: -40px 0; } 50% { translate: 40px 0; } }
.held__riesig { position: absolute; right: -2vw; bottom: -8vw; z-index: -1; font: 400 min(56vw, 760px)/.8 var(--anzeige); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.12); letter-spacing: -.04em; pointer-events: none; user-select: none; }
.held__inhalt { width: min(var(--breite), 100% - 32px); margin-inline: auto; }
.held__vorzeile { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; transform: skewX(-14deg); font-style: italic; margin-left: 6px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; backdrop-filter: blur(8px); }
.punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--zitrone); box-shadow: 0 0 0 0 rgba(255,210,63,.8); animation: puls 1.8s infinite; }
@keyframes puls { 70% { box-shadow: 0 0 0 12px rgba(255,210,63,0); } 100% { box-shadow: 0 0 0 0 rgba(255,210,63,0); } }
.held__titel { margin: 18px 0 22px; font: 400 clamp(3.4rem, 10.5vw, 9.2rem)/.86 var(--anzeige); text-transform: uppercase; letter-spacing: .005em; }
.held__titel span { display: block; }
.held__titel > span + span { padding-top: .12em; } /* Platz für Umlaut-Punkte (Ö) */
.held__zahl { color: var(--zitrone); font-size: .62em; line-height: 1; text-shadow: 0 10px 40px rgba(255,210,63,.35); }
.held__zeile--kontur { color: transparent; -webkit-text-stroke: 2px #fff; background: linear-gradient(90deg, #fff 0 var(--fuell, 0%), transparent var(--fuell, 0%)); -webkit-background-clip: text; background-clip: text; animation: fuellen 2.4s 1s cubic-bezier(.6,0,.2,1) forwards; }
@property --fuell { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@keyframes fuellen { to { --fuell: 100%; } }
.held__datum { display: flex; flex-wrap: wrap; gap: 10px 34px; font-weight: 800; font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.2; margin-bottom: 28px; }
.held__datum span:first-child { color: var(--zitrone); }
.held__datum span { display: inline-flex; align-items: center; gap: 10px; }
.held__datum svg { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: var(--zitrone); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.uhr { display: flex; gap: 12px; margin: 0 0 30px 8px; }
.uhr__feld { min-width: 84px; padding: 12px 14px 10px; transform: skewX(-12deg); font-style: italic; text-align: center; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.uhr__feld b { display: block; font: 400 2.6rem/1 var(--anzeige); font-variant-numeric: tabular-nums; }
.uhr__feld b.tick { animation: tick .45s cubic-bezier(.2,.8,.2,1); }
@keyframes tick { from { transform: translateY(-30%); opacity: .2; } }
.uhr__feld span { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; opacity: .75; }
.held__knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }
.held__klein { margin: 16px 0 0; font-size: .95rem; opacity: .8; }
.held__runter { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 30px; height: 48px; border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.held__runter span { position: absolute; left: 50%; top: 10px; width: 4px; height: 10px; margin-left: -2px; border-radius: 4px; background: var(--zitrone); animation: rollen 1.8s infinite; }
@keyframes rollen { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Laufband ---------- */
.band { background: var(--zitrone); color: var(--nacht); overflow: hidden; transform: rotate(-1.6deg); margin: -22px -10px 0; position: relative; z-index: 2; box-shadow: 0 14px 40px -18px rgba(26,58,140,.5); }
.band__spur { display: flex; gap: 28px; width: max-content; padding: 16px 0; font: 400 1.5rem/1 var(--anzeige); text-transform: uppercase; letter-spacing: .03em; animation: band 38s linear infinite; }
.band__spur i { font-style: normal; color: var(--blau); }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.abschnitt--hell { background: var(--hell); }
.abschnitt--nacht { background: radial-gradient(900px 500px at 10% 0%, rgba(31,162,230,.22), transparent 60%), radial-gradient(800px 500px at 100% 100%, rgba(37,74,165,.45), transparent 60%), var(--nacht); color: #fff; }
.abschnitt--nacht h2 em, .titel--hell h2 em { color: var(--zitrone); }
.titel { max-width: 780px; margin-bottom: 52px; }
.titel__vor { display: inline-block; margin-bottom: 14px; font-weight: 800; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blau); }
.titel__vor::before { content: ""; display: inline-block; width: 28px; height: 3px; margin-right: 10px; vertical-align: middle; background: currentColor; border-radius: 2px; }
.abschnitt--nacht .titel__vor, .titel--hell .titel__vor { color: var(--lavendel); }
.titel__knopf { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; color: var(--grau); font-size: .95rem; }
.titel__knopf svg { transform: none !important; }
.titel__text { margin-top: 18px; color: var(--grau); font-size: 1.1rem; }

/* Zahlen */
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-bottom: 56px; border-radius: var(--rund); overflow: hidden; background: var(--rand); }
.zahlen div { background: #fff; padding: 26px 20px; box-shadow: inset 4px 0 0 var(--lavendel); }
.zahlen b { display: block; font: 400 clamp(3rem, 6vw, 4.6rem)/1 var(--anzeige); color: var(--indigo); }
.zahlen span { color: var(--grau); font-weight: 600; }

/* Karten */
.karten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.karte { padding: 30px 26px; border-radius: var(--rund); background: #fff; box-shadow: inset 0 0 0 1px var(--rand), var(--schatten); position: relative; overflow: hidden; }
.karte::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(31,162,230,.14), transparent 45%); opacity: 0; transition: opacity .3s; }
.karte:hover::before { opacity: 1; }
.karte__symbol { transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.karte:hover .karte__symbol { transform: skewX(-14deg) translateX(6px); }
.karte__symbol { width: 62px; height: 56px; display: grid; place-items: center; transform: skewX(-14deg); margin-left: 6px; margin-bottom: 20px; background: linear-gradient(135deg, var(--indigo), var(--blau)); box-shadow: 0 10px 24px -10px var(--blau); }
.karte__symbol svg { transform: skewX(14deg); width: 28px; height: 28px; fill: none; stroke: var(--zitrone); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.karte h3 { margin-bottom: 10px; }
.karte p { margin: 0; color: var(--grau); }
.kipp { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s cubic-bezier(.2,.8,.2,1); will-change: transform; }

/* Wahl */
.wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.wahl__karte { position: relative; text-align: left; padding: 36px 34px 32px; border-radius: 28px; border: 0; cursor: pointer; color: #fff; font: inherit; background: linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); overflow: hidden; transition: box-shadow .3s, background .3s; }
.wahl__karte::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -18%; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(31,162,230,.5), transparent 65%); transition: transform .6s; }
.wahl__karte:hover { box-shadow: inset 0 0 0 2px var(--zitrone), 0 30px 60px -25px rgba(0,0,0,.6); }
.wahl__karte:hover::after { transform: scale(1.4); }
.wahl__karte.ist-gewaehlt { box-shadow: inset 0 0 0 3px var(--zitrone); background: linear-gradient(150deg, rgba(255,210,63,.18), rgba(255,255,255,.03)); }
.wahl__badge { display: inline-block; padding: 5px 14px; transform: skewX(-14deg); font-style: italic; margin-left: 4px; background: var(--zitrone); color: var(--nacht); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.wahl__figur { position: absolute; right: 26px; top: 22px; width: 92px; height: 92px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .9; z-index: 1; }
.wahl__figur circle { fill: var(--zitrone); stroke: none; }
.wahl__karte h3 { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--anzeige); text-transform: uppercase; margin: 26px 0 12px; }
.wahl__karte h3 { padding-right: 90px; }
.wahl__karte p { color: rgba(255,255,255,.8); max-width: 42ch; }
.wahl__los { font-weight: 800; color: var(--zitrone); }

/* Retro */
.retro { background: linear-gradient(180deg, #fff, var(--hell)); overflow: hidden; }
.retro__raster { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.retro__bild { margin: 0; position: relative; border-radius: 28px; overflow: hidden; rotate: -2.5deg; box-shadow: 0 40px 80px -30px rgba(26,58,140,.55), 0 0 0 10px #fff; }
.retro__bild img { width: 100%; scale: 1.12; }
.retro__bild figcaption { position: absolute; left: 18px; bottom: 18px; padding: 6px 16px; transform: skewX(-14deg); font-style: italic; background: var(--zitrone); color: var(--nacht); font-weight: 800; font-size: .9rem; rotate: 2.5deg; }
.retro__text p { color: var(--grau); font-size: 1.1rem; margin-top: 22px; }
.haken { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.haken li { position: relative; padding-left: 34px; font-weight: 600; }
.haken li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--zitrone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231a3a8c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.haken--hell li { color: rgba(255,255,255,.92); }

/* Strecke */
.strecke { background: #fff; border-radius: 28px; padding: clamp(14px, 3vw, 34px); box-shadow: var(--schatten), inset 0 0 0 1px var(--rand); }
.strecke__karte { width: 100%; height: auto; overflow: visible; }
.strecke__deko path { fill: #cfe9d6; }
.strecke__deko .strecke__berg { fill: #d9d9f2; }
.strecke__schatten { fill: none; stroke: #ececf7; stroke-width: 22; stroke-linecap: round; }
.strecke__linie { fill: none; stroke: url(#weg); stroke-width: 8; stroke-linecap: round; stroke-dasharray: var(--lang, 2000); stroke-dashoffset: calc(var(--lang, 2000) * (1 - var(--s, 0))); }
.strecke__laeufer { fill: var(--zitrone); stroke: var(--nacht); stroke-width: 3; }
.strecke__punkt circle { fill: #fff; stroke: var(--indigo); stroke-width: 4; }
.strecke__punkt--gelb circle { fill: var(--zitrone); stroke: var(--nacht); }
.strecke__punkt text { font: 800 19px var(--schrift); fill: var(--nacht); text-anchor: middle; }
.strecke__punkt text[text-anchor="end"] { text-anchor: end; }
.strecke__punkt text.klein { font-weight: 600; font-size: 15px; fill: var(--grau); }
.strecke__punkt { opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; transition-delay: calc(var(--i) * .12s); }
.strecke.ist-sichtbar .strecke__punkt { opacity: 1; transform: none; }
.strecke__hinweis { margin: 10px 0 0; text-align: center; color: var(--grau); font-size: .92rem; }

/* Zeitleiste */
.zeitleiste { list-style: none; margin: 0; padding: 0; position: relative; max-width: 860px; }
.zeitleiste::before { content: ""; position: absolute; left: 118px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(var(--himmel), var(--blau), var(--zitrone)); }
.zeitleiste li { display: grid; grid-template-columns: 100px 1fr; gap: 46px; padding: 16px 0; position: relative; }
.zeitleiste li::before { content: ""; position: absolute; left: 111px; top: 26px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--blau); }
.zeitleiste .li--gross::before { background: var(--zitrone); box-shadow: 0 0 0 4px var(--nacht), 0 0 0 12px rgba(255,210,63,.35); }
.zeitleiste time { font: 400 1.5rem/1.2 var(--anzeige); color: var(--indigo); text-align: right; padding-top: 8px; }
.zeitleiste .li--gross time { color: var(--blau); font-size: 2.2rem; padding-top: 0; }
.zeitleiste h3 { margin: 10px 0 6px; }
.zeitleiste p { margin: 0; color: var(--grau); }

/* Anmeldung */
.anmeldung__raster { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.anmeldung__links { position: sticky; top: calc(var(--kopf) + 30px); }
.anmeldung__links > p { color: rgba(255,255,255,.82); font-size: 1.12rem; margin: 20px 0 26px; }
.anmeldung__frist { margin-top: 10px; padding: 16px 18px; border-radius: 16px; background: rgba(255,210,63,.12); box-shadow: inset 0 0 0 1px rgba(255,210,63,.4); color: #fff; font-weight: 600; }
.anmeldung__frist:empty { display: none; }
.anmeldung__frist b { color: var(--zitrone); }
.anmeldung__karte { background: #fff; color: var(--text); border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); position: relative; }
.formular { display: grid; gap: 16px; }
.formular fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.formular legend { width: 100%; font-weight: 800; margin-bottom: 8px; font-size: .95rem; }
.pille { position: relative; cursor: pointer; }
.pille input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pille span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 14px; background: var(--hell); box-shadow: inset 0 0 0 1.5px var(--rand); font-weight: 700; transition: all .2s; }
.formular__wahl:not(.formular__wahl--klein) .pille { flex: 1 1 200px; }
.formular__wahl:not(.formular__wahl--klein) .pille span { width: 100%; justify-content: center; min-height: 58px; font-size: 1.05rem; }
.formular__wahl--klein .pille span { min-height: 40px; padding: 0 14px; font-weight: 600; font-size: .95rem; }
.pille input:checked + span { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px -12px var(--indigo); }
.pille input:focus-visible + span { outline: 3px solid var(--zitrone); outline-offset: 2px; }
.pille:hover span { box-shadow: inset 0 0 0 1.5px var(--blau); }
.formular__zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feld { position: relative; display: block; }
.feld input, .feld textarea { width: 100%; min-height: 58px; padding: 22px 16px 8px; border: 0; border-radius: 14px; background: var(--hell); box-shadow: inset 0 0 0 1.5px var(--rand); font: 600 1.02rem var(--schrift); color: var(--text); transition: box-shadow .2s, background .2s; }
.feld textarea { resize: vertical; min-height: 96px; }
.feld span { position: absolute; left: 16px; top: 18px; color: var(--grau); pointer-events: none; transition: all .18s; font-size: 1rem; }
.feld input:focus, .feld textarea:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--blau), 0 0 0 5px rgba(37,74,165,.12); }
.feld input:focus + span, .feld input:not(:placeholder-shown) + span, .feld textarea:focus + span, .feld textarea:not(:placeholder-shown) + span { top: 7px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; color: var(--blau); }
.feld.ist-fehler input { box-shadow: inset 0 0 0 2px #d63a3a; }
.haken-feld { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: .95rem; color: var(--grau); cursor: pointer; }
.haken-feld input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--indigo); cursor: pointer; }
.haken-feld.ist-fehler span { color: #c62828; }
.formular__falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__fehler { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fdecec; color: #a12020; font-weight: 600; }
.formular__klein { margin: 0; text-align: center; font-size: .88rem; color: var(--grau); }
.formular button[aria-busy="true"] { pointer-events: none; opacity: .75; }
.formular button[aria-busy="true"] svg { animation: drehen .8s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
.erfolg { text-align: center; padding: 20px 6px; }
.erfolg:focus { outline: 0; }
.erfolg__haken svg { width: 96px; height: 96px; margin: 0 auto 14px; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.erfolg__haken circle { stroke: var(--zitrone); fill: var(--nacht); stroke-dasharray: 160; stroke-dashoffset: 160; animation: zeichnen .7s forwards; }
.erfolg__haken path { stroke: var(--zitrone); stroke-dasharray: 40; stroke-dashoffset: 40; animation: zeichnen .45s .55s forwards; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
.erfolg h3 { font: 400 clamp(2rem, 4vw, 2.8rem)/1.05 var(--anzeige); text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.erfolg p { color: var(--grau); }
.erfolg__knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 18px; }
.erfolg .knopf--glas { --kb: var(--hell); --kr: var(--indigo); color: var(--indigo); }
.erfolg__tipp { font-size: .92rem; font-style: italic; }

/* Fakten */
.fakten { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.fakten details { border-radius: 18px; background: var(--hell); box-shadow: inset 0 0 0 1px var(--rand); transition: background .25s, box-shadow .25s; }
.fakten details[open] { background: #fff; box-shadow: inset 0 0 0 2px var(--blau), var(--schatten); }
.fakten summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 800; font-size: 1.08rem; position: relative; }
.fakten summary::-webkit-details-marker { display: none; }
.fakten summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--indigo); color: #fff; font-size: 1.3rem; line-height: 1; transition: transform .3s, background .3s; }
.fakten details[open] summary::after { transform: rotate(45deg); background: var(--zitrone); color: var(--nacht); }
.fakten details p { margin: 0; padding: 0 22px 22px; color: var(--grau); }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.galerie__bild { position: relative; border-radius: 20px; overflow: hidden; display: block; aspect-ratio: 3 / 2; background: var(--lavendel); }
.galerie__bild--breit { grid-column: span 3; aspect-ratio: 900 / 321; }
.galerie__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s; }
.galerie__bild::after { content: attr(data-text); position: absolute; inset: auto 0 0; padding: 40px 18px 14px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(26,58,140,.85)); transform: translateY(100%); transition: transform .4s; }
.galerie__bild:hover img { transform: scale(1.06); }
.galerie__bild:hover::after, .galerie__bild:focus-visible::after { transform: none; }
.alben { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.album { position: relative; isolation: isolate; display: grid; padding: 22px 64px 22px 34px; margin-inline: 12px; text-decoration: none; color: #fff; transition: transform .3s; }
.album::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--indigo), var(--blau)); transform: skewX(-14deg); transition: background .3s, box-shadow .3s; }
.album:hover::before { background: linear-gradient(120deg, var(--blau), var(--himmel)); box-shadow: 0 16px 34px -16px rgba(26,58,140,.7); }
.album:hover { transform: translateY(-3px); }
.album b { font: 400 1.6rem/1.1 var(--anzeige); text-transform: uppercase; font-style: italic; }
.album span { opacity: .8; }
.album i { position: absolute; right: 22px; top: 50%; translate: 0 -50%; font-style: normal; font-size: 1.6rem; color: var(--zitrone); transition: transform .3s; }
.album:hover i { transform: translate(4px, -4px); }
.hinweis { margin-top: 18px; color: var(--grau); font-size: .92rem; }

/* Anfahrt */
.anfahrt { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.anfahrt address { font-style: normal; font-weight: 700; color: var(--indigo); margin: 18px 0 24px; font-size: 1.1rem; }
.anfahrt dl { margin: 0 0 28px; display: grid; gap: 14px; }
.anfahrt dt { font-weight: 800; }
.anfahrt dd { margin: 2px 0 0; color: var(--grau); }
.anfahrt__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.kontakt { padding: 36px; border-radius: 28px; text-align: center; color: #fff; background: radial-gradient(500px 300px at 50% 0%, rgba(31,162,230,.35), transparent 70%), var(--nacht); box-shadow: var(--schatten); }
.kontakt img { width: 130px; margin: 0 auto 18px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); animation: schweben 6s ease-in-out infinite; }
@keyframes schweben { 50% { transform: translateY(-8px) rotate(4deg); } }
.kontakt h3 { margin-bottom: 14px; }
.kontakt p { color: rgba(255,255,255,.85); }
.kontakt a { color: var(--zitrone); font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.kontakt a:hover { text-decoration: underline; }

/* Schluss */
.schluss { position: relative; padding: clamp(90px, 12vw, 150px) 0; text-align: center; color: #fff; background: var(--blau); overflow: hidden; isolation: isolate; }
.schluss__streifen { position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-52deg, transparent 0 60px, rgba(255,255,255,.06) 60px 120px), linear-gradient(135deg, var(--nacht), var(--blau) 60%, var(--himmel)); background-size: 200% 200%, auto; animation: wandern 18s linear infinite; }
@keyframes wandern { to { background-position: 340px 0, 0 0; } }
.schluss__zeile { font-weight: 600; font-size: 1.15rem; opacity: .9; }
.schluss__zeile b { color: var(--zitrone); font-size: 1.4em; }
.schluss h2 { font-size: clamp(3rem, 9vw, 7rem); margin: 6px 0 34px; }
.schluss h2 em { color: var(--zitrone); }

/* Fuß */
.fuss { background: #152f72; color: rgba(255,255,255,.75); padding: 46px 0; font-size: .95rem; }
.fuss__raster { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.fuss__marke { display: flex; gap: 16px; align-items: center; }
.fuss__marke img { width: 64px; height: 64px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }
.fuss__marke p { margin: 0; }
.fuss__marke b { color: #fff; }
.fuss__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: var(--zitrone); }
.fuss__klein { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* Großansicht */
.leuchte { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(18,40,100,.94); backdrop-filter: blur(8px); padding: 60px 70px; }
.leuchte[hidden] { display: none; }
.leuchte figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.leuchte img { max-height: calc(100vh - 160px); width: auto; margin: 0 auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: auf .35s cubic-bezier(.2,.8,.2,1); }
@keyframes auf { from { transform: scale(.94); opacity: 0; } }
.leuchte figcaption { color: #fff; margin-top: 14px; font-weight: 600; }
.leuchte button { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.12); width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; transition: background .2s; }
.leuchte button:hover { background: var(--zitrone); color: var(--nacht); }
.leuchte__zu { top: 16px; right: 16px; }
.leuchte__pfeil--l { left: 12px; top: 50%; translate: 0 -50%; }
.leuchte__pfeil--r { right: 12px; top: 50%; translate: 0 -50%; }

.konfetti { position: fixed; inset: 0; z-index: 95; pointer-events: none; width: 100%; height: 100%; }

/* Startbereich: sofort per CSS einfliegen */
.einflug { animation: einflug .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.15s + var(--n, 0) * .1s); }
@keyframes einflug { from { opacity: 0; transform: translateY(28px); } }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.ist-sichtbar { opacity: 1; transform: none; }
.js .kipp.reveal.ist-sichtbar { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .8s, transform .4s cubic-bezier(.2,.8,.2,1); }

/* Unterseiten (Impressum, Datenschutz, 404) */
.seite { padding: calc(var(--kopf) + 60px) 0 90px; background: var(--hell); min-height: 70vh; }
.seite .rahmen { max-width: 860px; background: #fff; border-radius: 28px; padding: clamp(24px, 5vw, 56px); box-shadow: var(--schatten); }
.seite h1 { font: 400 clamp(2.4rem, 6vw, 3.6rem)/1 var(--anzeige); text-transform: uppercase; color: var(--indigo); margin-bottom: 28px; }
.seite h2 { font: 800 1.3rem/1.3 var(--schrift); text-transform: none; margin: 34px 0 10px; color: var(--indigo); }
.seite h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.seite p, .seite li { color: #3a3f55; }
.seite ul { padding-left: 1.2em; }
.kopf--seite { background: rgba(26, 58, 140, .92); }

/* ---------- Mobil ---------- */
@media (max-width: 1080px) {
  .karten { grid-template-columns: 1fr 1fr; }
  .kopf__nav a { padding: 8px 9px; font-size: .92rem; }
}
@media (max-width: 900px) {
  :root { --kopf: 64px; }
  .kopf { height: 64px; gap: 12px; }
  .kopf__marke span { display: none; }
  .kopf__cta { margin-left: auto; }
  .kopf__menue { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); cursor: pointer; }
  .kopf__menue span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s; }
  .kopf__menue[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .kopf__menue[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .kopf__nav { position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0; padding: 10px 16px 20px; background: rgba(26,58,140,.97); backdrop-filter: blur(14px); transform: translateY(-120%); transition: transform .4s cubic-bezier(.2,.8,.2,1); z-index: -1; margin: 0; }
  .kopf__nav.ist-offen { transform: none; }
  .kopf__nav a { padding: 14px 10px; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .zahlen { grid-template-columns: 1fr 1fr; }
  .wahl, .retro__raster, .anmeldung__raster, .anfahrt, .fakten, .alben { grid-template-columns: 1fr; }
  .anmeldung__links { position: static; }
  .galerie { grid-template-columns: 1fr 1fr; }
  .galerie__bild--breit { grid-column: span 2; }
  .retro__bild { rotate: -1.5deg; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .held { padding-bottom: 80px; }
  .held__titel { font-size: clamp(3rem, 15vw, 5rem); }
  .held__datum { font-size: 1.3rem; gap: 8px 18px; }
  .uhr { gap: 8px; }
  .uhr__feld { min-width: 0; flex: 1; padding: 10px 4px 8px; }
  .uhr__feld b { font-size: 2rem; }
  .held__knoepfe .knopf { width: 100%; }
  .held__runter { display: none; }
  .band__spur { font-size: 1.2rem; padding: 12px 0; }
  .karten { grid-template-columns: 1fr; }
  .formular__zeile { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: 1fr; }
  .galerie__bild--breit { grid-column: auto; }
  .zeitleiste::before { left: 8px; }
  .zeitleiste li { grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
  .zeitleiste li::before { left: 1px; top: 22px; }
  .zeitleiste time { text-align: left; padding-top: 0; }
  .zeitleiste .li--gross time { font-size: 1.8rem; }
  .wahl__karte { padding: 28px 22px 24px; }
  .wahl__figur { width: 64px; height: 64px; right: 16px; top: 16px; }
  .fuss__raster { grid-template-columns: 1fr; }
  .leuchte { padding: 60px 10px; }
  .leuchte__pfeil { top: auto !important; bottom: 14px; translate: none !important; }
  .knopf--gross { padding: 0 1.3em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .held__zeile--kontur { --fuell: 100%; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Vereinslogo SV Mörlenbach: logo-svm.svg bringt den weißen Kreis selbst mit */
img[src$="logo-svm.svg"] { border-radius: 50%; aspect-ratio: 1 / 1; }
