/* =========================================================
   The Moffo's – Mopedclub Kärnten
   "Werkstatt-Instrument": technisches Papier, Industrieschrift,
   Signalorange + Stahl. Signature = Tacho-Countdown. Mobile-first.
   ========================================================= */

:root {
    --paper: #e7e4dc;
    --paper-2: #ddd9cf;
    --ink: #17191b;
    --signal: #ff5a1f;
    --steel: #36454f;
    --steel-soft: #6b7780;
    --oil: #0e1012;
    --line: rgba(23, 25, 27, 0.16);
    --line-strong: rgba(23, 25, 27, 0.34);
    --max: 1100px;
    --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
    --font-body: "IBM Plex Sans", system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { max-width: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        radial-gradient(1100px 680px at 50% -12%, rgba(255,90,31,0.07), transparent 62%),
        radial-gradient(820px 520px at 108% 108%, rgba(54,69,79,0.09), transparent 60%),
        linear-gradient(rgba(23,25,27,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23,25,27,0.045) 1px, transparent 1px);
    background-size: auto, auto, 30px 30px, 30px 30px;
    background-attachment: fixed, fixed, scroll, scroll;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(92%, var(--max)); margin-inline: auto; }

.mono { font-family: var(--font-mono); }
.label {
    font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--signal);
}
.label::before { content: "// "; color: var(--steel-soft); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 0.95; text-transform: uppercase; letter-spacing: 0.005em; margin: 0; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(231, 228, 220, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line-strong);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-logo { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; border: 1px solid var(--line-strong); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; }
.brand-sub { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-soft); margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
    font-family: var(--font-mono); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--steel); padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); border-color: var(--signal); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: 0.25s; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-mono); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 0.8rem 1.4rem; border: 2px solid var(--ink); border-radius: 2px; cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s;
}
.btn-primary { background: var(--signal); color: var(--oil); border-color: var(--signal); }
.btn-primary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Hero: nächster Termin ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 5rem 0 4rem; overflow: hidden; border-bottom: 3px solid var(--ink); }
.hero > .wrap { width: min(92%, var(--max)); }
.hero::before {
    content: ""; position: absolute; z-index: 0; top: 3%; left: 50%; transform: translateX(-50%);
    width: min(165vw, 920px); aspect-ratio: 1; border-radius: 50%;
    background:
        radial-gradient(circle, transparent 49%, rgba(255,90,31,0.12) 50%, transparent 51.5%),
        radial-gradient(circle, transparent 66%, var(--line) 67%, transparent 68.5%),
        radial-gradient(circle, transparent 82%, var(--line) 83%, transparent 84.5%);
    pointer-events: none;
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(58% 46% at 50% 26%, rgba(255,90,31,0.08), transparent 70%),
        linear-gradient(180deg, transparent 62%, rgba(14,16,18,0.06));
}
.hero .wrap { position: relative; z-index: 1; }
.hero-eyebrow { margin-bottom: 0.9rem; }
.hero-event {
    font-size: clamp(2.7rem, 14vw, 6.4rem); color: var(--ink); margin: 0 0 0.5rem;
    max-width: 13ch;
}
.hero-tagline { font-family: var(--font-mono); font-size: 0.96rem; color: var(--steel); margin: 0 0 1.6rem; }

/* Tacho-/Kilometerzähler-Countdown (Signature) */
.odometer { display: flex; align-items: flex-start; gap: 0.5rem; flex-wrap: wrap; margin: 1.4rem 0 1.6rem; }
.odo-group { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; }
.odo-digits { display: flex; gap: 3px; }
.odo-digits span {
    position: relative; font-family: var(--font-mono); font-weight: 600;
    font-size: clamp(2rem, 11vw, 3.6rem); line-height: 1;
    min-width: 0.86em; padding: 0.16em 0.1em; text-align: center;
    background: var(--oil); color: var(--paper); border-radius: 5px;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.55), inset 0 2px 0 rgba(255,255,255,0.07);
}
.odo-digits span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,0.6); }
.odo-label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-soft); }
.odo-sep { align-self: flex-start; font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.6rem, 8vw, 2.8rem); color: var(--signal); padding-top: 0.16em; }

.hero-meta { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.6rem; }
.hero-meta div { font-family: var(--font-mono); font-size: 0.92rem; color: var(--ink); display: flex; gap: 0.55rem; align-items: baseline; }
.hero-meta .k { color: var(--signal); }
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ---------- Foto-Band ---------- */
.photo-band { height: clamp(200px, 52vw, 440px); background-size: cover; background-position: center; position: relative; border-bottom: 2px solid var(--ink); }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,16,18,0.5), transparent 55%); }

/* ---------- Sektionen ---------- */
section.block { padding: 3rem 0; border-bottom: 1px solid var(--line-strong); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.8rem, 7vw, 3rem); }
.section-head a { font-family: var(--font-mono); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel); border-bottom: 2px solid var(--signal); padding-bottom: 2px; }

/* Termine-Liste */
.termine { display: flex; flex-direction: column; }
.termine-row { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid var(--line-strong); }
.termine-row:last-child { border-bottom: 1px solid var(--line-strong); }
.termine-date { font-family: var(--font-mono); font-size: 0.82rem; color: var(--signal); letter-spacing: 0.04em; grid-column: 1; }
.termine-name { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; grid-column: 1; line-height: 1; }
.termine-place { font-family: var(--font-mono); font-size: 0.8rem; color: var(--steel-soft); grid-column: 2; grid-row: 1 / span 2; text-align: right; }
.termine-row:hover .termine-name { color: var(--signal); }

/* Intro / Prose */
.intro p { font-size: 1.12rem; max-width: 60ch; color: var(--ink); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 2rem; margin: 2rem 0 0.7rem; }
.prose h3 { font-size: 1.5rem; color: var(--steel); margin: 1.5rem 0 0.5rem; }
.prose p { margin: 0 0 1rem; }
.prose a { color: var(--ink); border-bottom: 2px solid var(--signal); }
.prose a:hover { background: var(--signal); color: var(--oil); }

/* ---------- Inner pages ---------- */
.page-hero { padding: 2.6rem 0 1.6rem; border-bottom: 2px solid var(--ink); }
.page-hero .label { margin-bottom: 0.6rem; }
.page-title { font-size: clamp(2.4rem, 10vw, 4.6rem); }
.page-sub { font-family: var(--font-mono); color: var(--steel); margin: 0.6rem 0 0; }
.page-body { padding: 2.4rem 0 3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--oil); color: var(--paper); padding: 2.6rem 0; }
.footer-inner { display: flex; flex-direction: column; gap: 1.4rem; }
.footer-name { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; }
.footer-tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-soft); display: block; margin-top: 2px; }
.footer-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--paper); border-bottom: 2px solid transparent; padding-bottom: 2px; }
.footer-links a:hover { border-color: var(--signal); color: var(--signal); }
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.76rem; color: var(--steel-soft); }
.footer-legal a:hover { color: var(--paper); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
    body { font-size: 1.08rem; }
    .hero { padding: 3.6rem 0 4rem; }
    .hero-meta div { font-size: 1rem; }
    .termine-row { grid-template-columns: 200px 1fr auto; }
    .termine-date { grid-column: 1; }
    .termine-name { grid-column: 2; font-size: 2rem; }
    .termine-place { grid-row: auto; }
    .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 759px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed; inset: 0 0 0 auto; width: min(80%, 300px); flex-direction: column; align-items: flex-start;
        gap: 0.2rem; padding: 4.5rem 1.6rem; background: var(--paper-2); border-left: 2px solid var(--ink);
        transform: translateX(100%); transition: transform 0.28s ease; z-index: 60;
    }
    .site-nav.open { transform: none; }
    .site-nav a { font-size: 1.15rem; padding: 0.5rem 0; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Cockpit (Signature) ---------- */
.cockpit-hero { text-align: center; }
.cockpit-hero .hero-eyebrow { display: inline-block; }
.cockpit {
    max-width: 460px; margin: 0.4rem auto 0; padding: 1.5rem 1.2rem 1.4rem; color: var(--paper);
    border: 1px solid #2c3033; border-radius: 24px;
    background-image:
        radial-gradient(circle at 16px 16px, #44484c 2px, transparent 2.6px),
        radial-gradient(circle at calc(100% - 16px) 16px, #44484c 2px, transparent 2.6px),
        radial-gradient(circle at 16px calc(100% - 16px), #44484c 2px, transparent 2.6px),
        radial-gradient(circle at calc(100% - 16px) calc(100% - 16px), #44484c 2px, transparent 2.6px),
        linear-gradient(158deg, #1c1f22, #0d0f11);
    box-shadow: 0 24px 55px rgba(8,9,10,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}
.cockpit-stage { position: relative; width: 100%; aspect-ratio: 1183 / 952; }
.gauge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 53%; height: auto; z-index: 1; filter: drop-shadow(0 10px 20px rgba(14,16,18,0.4)); }
.gauge-flames { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 2; pointer-events: none; filter: drop-shadow(0 0 16px rgba(255,90,31,0.45)); }
.moped-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 33%; height: auto; z-index: 3; pointer-events: none; filter: drop-shadow(0 3px 5px rgba(0,0,0,0.45)); }
.gauge-brand { fill: var(--steel-soft); font-family: var(--font-mono); font-size: 17px; letter-spacing: 3px; }
.gauge-unit { fill: var(--steel); font-family: var(--font-mono); font-size: 15px; letter-spacing: 5px; }
.gauge-ticks line { stroke: #16181a; stroke-width: 2; }
.gauge-ticks line.major { stroke-width: 4; }
.gauge-numbers text { fill: #16181a; font-family: var(--font-mono); font-size: 18px; font-weight: 600; }
.gauge-progress { transition: stroke-dashoffset 1.2s cubic-bezier(0.2,0.7,0.2,1); }
.needle { transition: transform 0.12s linear; }

.cockpit-readout { font-family: var(--font-mono); font-size: 1rem; color: var(--paper); margin: 0.6rem 0 0; }
.cockpit-days { font-family: var(--font-display); font-weight: 800; font-size: 1.7em; color: var(--signal); padding: 0 0.08em; vertical-align: -0.06em; }

.cockpit-lights { display: flex; justify-content: center; gap: 1rem; margin: 1.2rem 0 0.4rem; }
.idiot { width: 13px; height: 13px; border-radius: 50%; background: rgba(14,16,18,0.16); box-shadow: inset 0 1px 2px rgba(0,0,0,0.4); transition: 0.2s; }
.idiot.on.idiot-beam { background: #3aa0ff; box-shadow: 0 0 9px #3aa0ff; }
.idiot.on.idiot-neutral { background: #37d05a; box-shadow: 0 0 9px #37d05a; }
.idiot.on.idiot-blink { background: #ffb020; box-shadow: 0 0 9px #ffb020; }
.idiot.on.idiot-oil { background: #ff3b30; box-shadow: 0 0 9px #ff3b30; }
.cockpit.booting .idiot { animation: flick 0.9s ease; }
@keyframes flick { 0%,100%{opacity:0.25} 12%{opacity:1} 26%{opacity:0.3} 44%{opacity:1} 60%{opacity:0.4} 80%{opacity:1} }

.cockpit-event { font-size: clamp(2.1rem, 10vw, 3.6rem); margin: 0.5rem 0 0.5rem; color: var(--paper); }
.cockpit-clock { display: block; margin-top: 0.25rem; font-family: var(--font-mono); letter-spacing: 0.1em; color: var(--steel-soft); font-size: 0.92rem; }
.cockpit-clock i { color: var(--signal); font-style: normal; padding: 0 0.1em; }
.cockpit-meta { display: inline-flex; flex-direction: column; gap: 0.3rem; margin: 1.2rem 0 1.5rem; }
.cockpit-meta div { font-family: var(--font-mono); font-size: 0.9rem; display: flex; gap: 0.5rem; align-items: baseline; }
.cockpit-meta .k { color: var(--signal); }
.cockpit-hero .hero-actions { justify-content: center; }

/* ---------- Logo-Wappen im Hero ---------- */
.hero-crest { display: block; width: auto; max-height: clamp(70px, 15vw, 104px); margin: 0 auto 0.5rem; filter: drop-shadow(0 6px 14px rgba(14,16,18,0.32)); }

/* ---------- Hero-Identität & Immersion ---------- */
.cockpit-hero .wrap { position: relative; z-index: 1; }
.hero-wordmark { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 8vw, 2.8rem); letter-spacing: 0.01em; text-transform: uppercase; line-height: 0.95; margin: 0; color: var(--ink); }
.hero-id { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin: 0.35rem 0 1.1rem; }
.cockpit-hero .hero-eyebrow { margin-bottom: 0.6rem; }

.hero-flash { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0;
    background: radial-gradient(58% 40% at 50% 42%, rgba(255,247,235,0.95), rgba(255,247,235,0) 62%);
    animation: headlight 1.7s ease-out 0.15s 1; }
@keyframes headlight { 0%{opacity:0} 10%{opacity:0.9} 26%{opacity:0.12} 42%{opacity:0.55} 100%{opacity:0} }

.hero-cue { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel); }
.hero-cue span { width: 2px; height: 24px; background: linear-gradient(var(--signal), transparent); animation: cue 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(0.35); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Hazard-Streifen ---------- */
.hazard { height: 14px; background-image: repeating-linear-gradient(-45deg, var(--ink) 0 16px, var(--signal) 16px 32px); }
.hazard-thin { height: 8px; }

/* ---------- Strecke / Stopps ---------- */
.route { background: var(--oil); color: var(--paper); padding: 3rem 0 3.4rem; position: relative; overflow: hidden; }
.route .section-head h2 { color: var(--paper); }
.road { list-style: none; margin: 1.6rem 0 0; padding: 0; position: relative; }
.road::before { content: ""; position: absolute; left: 10px; top: 10px; bottom: 20px; width: 3px; background: repeating-linear-gradient(var(--steel-soft) 0 11px, transparent 11px 22px); opacity: 0.55; }
.stop { display: block; position: relative; padding: 0 0 1.8rem 2.6rem; color: inherit; }
.stop:last-child { padding-bottom: 0.3rem; }
.stop-dot { position: absolute; left: 1px; top: 4px; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--steel-soft); background: var(--oil); }
.stop-row.next .stop-dot { border-color: var(--signal); background: var(--signal); box-shadow: 0 0 0 5px rgba(255,90,31,0.18); animation: pulse 2.2s ease infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 5px rgba(255,90,31,0.18); } 50% { box-shadow: 0 0 0 9px rgba(255,90,31,0.04); } }
.stop-date { display: block; font-family: var(--font-mono); font-size: 0.8rem; color: var(--signal); letter-spacing: 0.04em; }
.stop-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 7vw, 2.3rem); text-transform: uppercase; line-height: 1; margin: 0.12rem 0; }
.stop-place { display: block; font-family: var(--font-mono); font-size: 0.8rem; color: var(--steel-soft); }
.stop-flag { display: inline-block; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oil); background: var(--signal); padding: 0.2em 0.6em; border-radius: 2px; }
.stop-body:hover .stop-name { color: var(--signal); }

/* ---------- Statement-Band (Atmosphäre) ---------- */
.statement { position: relative; min-height: 68svh; display: flex; align-items: flex-end; background: var(--oil) center/cover no-repeat; color: var(--paper); border-bottom: 3px solid var(--ink); overflow: hidden; }
.statement::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,18,0.12) 28%, rgba(14,16,18,0.9)); }
.statement .wrap { position: relative; z-index: 1; padding: 3.4rem 0 2.6rem; }
.statement h2 { font-size: clamp(2.2rem, 9vw, 4.4rem); max-width: 18ch; margin-top: 0.6rem; }

/* ---------- Impressionen-Grid ---------- */
.impressionen { padding: 3rem 0; }
.grid-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 1.2rem; }
.grid-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--paper-2); transition: filter 0.2s, transform 0.3s; }
.grid-photos img:hover { filter: contrast(1.05) saturate(1.05); }
@media (min-width: 720px) { .grid-photos { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

/* ---------- Footer-Wappen ---------- */
.site-footer { position: relative; overflow: hidden; }
.footer-watermark { position: absolute; right: -28px; bottom: -42px; width: 210px; height: auto; opacity: 0.06; pointer-events: none; filter: grayscale(1) contrast(1.2); }
.footer-inner { position: relative; z-index: 1; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .hero-flash { display: none; }
    .hero-cue span, .stop-row.next .stop-dot { animation: none; }
}

/* ============================================================
   NEUSTART: Hero mit Foto + glühendem Countdown-Ring
   ============================================================ */
.hero::before, .hero::after { content: none; display: none; }
.hero {
    position: relative; min-height: 100svh; display: flex; align-items: center;
    padding: 0; overflow: hidden; border-bottom: 3px solid var(--ink); background: var(--oil);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.hero-shade { position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(70% 55% at 50% 40%, rgba(255,90,31,0.13), transparent 70%),
        linear-gradient(180deg, rgba(8,9,10,0.6) 0%, rgba(8,9,10,0.4) 30%, rgba(8,9,10,0.93) 100%); }
.hero > .wrap { position: relative; z-index: 2; text-align: center; padding: 5.5rem 0 4.5rem; width: min(92%, 560px); }

.hero-top { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; }
.hero-top img { width: 44px; height: 44px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); }
.hero-top span { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.03em; color: #fff; }
.hero .label { color: var(--signal); margin-bottom: 1.4rem; }

.countdown { color: #fff; }
.ring-wrap { position: relative; width: min(62vw, 250px); margin: 0 auto; }
.ring { width: 100%; height: auto; display: block; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,0.13); stroke-width: 9; }
.ring-fg { fill: none; stroke: var(--signal); stroke-width: 9; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(255,90,31,0.75)); transition: stroke-dashoffset 1s ease; }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-days { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.6rem, 22vw, 6rem); line-height: 0.82; color: #fff; }
.ring-label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--signal); margin-top: 0.4rem; }

.cd-clock { font-family: var(--font-mono); font-size: 1.05rem; letter-spacing: 0.14em; color: rgba(255,255,255,0.82); margin: 1.1rem 0 0; }
.cd-clock i { color: var(--signal); font-style: normal; padding: 0 0.08em; }
.cd-event { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 12vw, 4rem); text-transform: uppercase; color: #fff; line-height: 0.95; margin: 1.4rem 0 0.3rem; }
.cd-when { font-family: var(--font-mono); font-size: 0.88rem; color: rgba(255,255,255,0.72); margin: 0 0 1.7rem; }
.countdown .hero-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.countdown .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.countdown .btn-ghost:hover { background: #fff; color: var(--oil); border-color: #fff; }

.hero-cue { color: rgba(255,255,255,0.7); }
.hero-cue span { background: linear-gradient(var(--signal), transparent); }

/* Transparenter Header über dem Hero (nur Startseite) */
.tmpl-home .site-header { position: fixed; top: 0; left: 0; right: 0; background: transparent; backdrop-filter: none; border-bottom-color: transparent; transition: background 0.25s, border-color 0.25s; }
.tmpl-home .site-header .brand-name { color: #fff; }
.tmpl-home .site-header .brand-sub { color: rgba(255,255,255,0.72); }
.tmpl-home .site-header .nav-toggle span { background: #fff; }
.tmpl-home .site-header.scrolled { background: rgba(231,228,220,0.94); backdrop-filter: blur(8px); border-bottom-color: var(--line-strong); }
.tmpl-home .site-header.scrolled .brand-name { color: var(--ink); }
.tmpl-home .site-header.scrolled .brand-sub { color: var(--steel-soft); }
.tmpl-home .site-header.scrolled .nav-toggle span { background: var(--ink); }
@media (min-width: 760px) {
    .tmpl-home .site-header .site-nav a { color: rgba(255,255,255,0.85); }
    .tmpl-home .site-header.scrolled .site-nav a { color: var(--steel); }
}

/* ============================================================
   NEUSTART 2: Poster / Streetwear (schwarz, große Typo, Ticker)
   ============================================================ */
.hero-poster { background: var(--oil); min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 0; border-bottom: 3px solid var(--signal); }
.hero-poster::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 16px 16px; opacity: 0.6; pointer-events: none; }
.hero-poster > .wrap { position: relative; z-index: 2; text-align: left; padding: 6rem 0 5.5rem; width: min(92%, var(--max)); }
.poster .label { color: var(--signal); margin-bottom: 1rem; }
.poster-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 17vw, 8.5rem); line-height: 0.84; text-transform: uppercase; color: #fff; margin: 0; }
.poster-when { font-family: var(--font-mono); color: rgba(255,255,255,0.66); font-size: 0.86rem; letter-spacing: 0.06em; margin: 1.1rem 0 1.8rem; }
.poster-count { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.pc-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.6rem, 22vw, 6.5rem); line-height: 0.78; color: var(--signal); }
.pc-lab { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.82rem; line-height: 1.3; color: #fff; }
.pc-clock { margin-left: auto; font-family: var(--font-mono); font-size: 0.92rem; color: rgba(255,255,255,0.55); align-self: flex-end; }
.hero-poster .hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.hero-poster .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero-poster .btn-ghost:hover { background: #fff; color: var(--oil); border-color: #fff; }
.ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: var(--signal); overflow: hidden; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: tickermove 24s linear infinite; padding: 0.55rem 0; }
.ticker-track span { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--oil); }
@keyframes tickermove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.poster-moped { position: absolute; right: -10%; bottom: 7%; width: min(120%, 760px); height: auto; opacity: 0.15; z-index: 1; pointer-events: none; }
@media (min-width: 760px) { .poster-moped { width: 60%; right: 2%; bottom: 12%; } }

/* Footer-Credit "by Slu Cool" */
.footer-credit { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 2rem; padding-top: 1.2rem; text-align: center; }
.footer-credit a { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-soft); }
.footer-credit a:hover { color: var(--signal); }
.footer-credit span { color: var(--signal); }

/* ---------- Inner-Pages (A-Stil) ---------- */
.page-hero { background: var(--oil); border-bottom: 3px solid var(--signal); padding: 2.6rem 0 2rem; text-align: left; }
.page-hero .label { color: var(--signal); }
.page-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 11vw, 5rem); line-height: 0.9; color: #fff; margin: 0; }
.page-sub { font-family: var(--font-mono); color: rgba(255,255,255,0.7); margin: 0.7rem 0 0; }
.page-body { padding: 3rem 0 4rem; }
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 7vw, 2.6rem); margin: 2rem 0 0.7rem; color: var(--ink); }
.prose h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.4rem; color: var(--signal); margin: 1.6rem 0 0.4rem; }
.prose p, .prose li { color: #2a2c2e; }
.prose a { color: var(--ink); border-bottom: 2px solid var(--signal); }
.prose a:hover { background: var(--signal); color: var(--oil); }
.prose ul { padding-left: 1.1rem; }
.prose li { margin-bottom: 0.4rem; }

/* ---------- Formular ---------- */
.kontakt-intro { font-family: var(--font-mono); font-size: 0.92rem; margin-bottom: 1.6rem; }
.form-card { max-width: 640px; }
.form-card .form-field { margin-bottom: 1.1rem; }
.form-card label { display: block; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel); margin-bottom: 0.4rem; }
.form-card input[type="text"], .form-card input[type="email"], .form-card textarea {
    width: 100%; padding: 0.8rem 0.9rem; border: 2px solid var(--ink); border-radius: 3px; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 1rem;
}
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--signal); }
.form-card textarea { min-height: 150px; resize: vertical; }
.form-card .buttons { margin-top: 1.3rem; }
.form-card button[type="submit"] { font-family: var(--font-mono); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; background: var(--signal); color: var(--oil); border: 2px solid var(--signal); border-radius: 2px; padding: 0.85rem 1.7rem; cursor: pointer; font-size: 0.9rem; }
.form-card button[type="submit"]:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-card input[name="website"], .form-card .form-honeypot { position: absolute !important; left: -9999px !important; }
.notices { padding: 0.9rem 1.1rem; border-radius: 4px; margin-bottom: 1.2rem; font-family: var(--font-mono); font-size: 0.92rem; }
.notices.green { background: rgba(55,208,90,0.14); border: 1px solid #37d05a; color: #1d7a38; }
.notices.red { background: rgba(255,59,48,0.12); border: 1px solid #ff3b30; color: #b00020; }

/* ---------- Formular (verfeinert) ---------- */
.form-card {
    max-width: 600px; background: #fff; border: 1px solid var(--line-strong); border-radius: 16px;
    padding: 1.9rem 1.7rem; box-shadow: 0 14px 36px rgba(14,16,18,0.09);
}
.form-card .form-field { margin-bottom: 1.15rem; }
.form-card label { display: block; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--steel); margin-bottom: 0.45rem; }
.form-card input[type="text"], .form-card input[type="email"], .form-card textarea {
    width: 100%; padding: 0.85rem 0.95rem; border: 1.5px solid #d7d3c9; border-radius: 9px;
    background: #faf9f6; color: var(--ink); font-family: var(--font-body); font-size: 1rem;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.form-card input[type="text"]:focus, .form-card input[type="email"]:focus, .form-card textarea:focus {
    outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(255,90,31,0.16); background: #fff;
}
.form-card textarea { min-height: 150px; resize: vertical; }
.form-card .buttons { margin-top: 0.5rem; }
.form-card button[type="submit"] {
    width: 100%; justify-content: center; font-family: var(--font-mono); font-weight: 600; font-size: 0.92rem;
    text-transform: uppercase; letter-spacing: 0.07em; background: var(--signal); color: var(--oil);
    border: none; border-radius: 9px; padding: 1rem 1.6rem; cursor: pointer; transition: background 0.15s, transform 0.12s;
}
.form-card button[type="submit"]:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }

/* ---------- Korrekturen ---------- */
/* Logo rechteckig (nichts abschneiden) */
.brand-logo { width: auto; height: 40px; max-width: 66px; object-fit: contain; border-radius: 6px; background: #fff; padding: 3px; border: 1px solid var(--line-strong); }

/* Countdown: "noch 26 Tage" */
.pc-pre { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: #fff; align-self: flex-end; padding-bottom: 0.5rem; }

/* GitHub-Icon im Footer-Credit */
.footer-credit a { display: inline-flex; align-items: center; gap: 0.45rem; }
.gh-icon { display: inline-block; }

/* Kontaktseite zentrieren */
.tmpl-form .page-body .wrap { display: flex; flex-direction: column; align-items: center; }
.tmpl-form .form-card { margin-inline: auto; width: 100%; }
.tmpl-form .kontakt-intro { max-width: 600px; width: 100%; text-align: center; margin-bottom: 1.6rem; }

/* ---------- Mobiles Menü-Fix ---------- */
@media (max-width: 759px) {
    .nav-toggle { position: relative; z-index: 70; }
    .site-nav { padding-top: 5rem; }
}
/* Schließen-X immer sichtbar (dunkel auf heller Schublade) */
.site-header .nav-toggle.open span { background: var(--ink) !important; }

/* Header-Logo: transparente PNG, kein weißer Rahmen */
.brand-logo { width: auto; height: 46px; max-width: 60px; object-fit: contain; border-radius: 0; background: none; padding: 0; border: 0; }

/* ---------- Sticky Footer (immer ganz unten) ---------- */
body { display: flex; flex-direction: column; min-height: 100dvh; }
#content { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

/* Footer-Logo voll sichtbar (nicht abgeschnitten) */
.footer-watermark { left: auto; top: 50%; right: 1.6rem; bottom: auto; transform: translateY(-50%); width: 92px; height: auto; opacity: 0.12; filter: none; }
@media (max-width: 600px) { .footer-watermark { display: none; } }

/* Footer-Logo: mittig & größer */
.footer-logo { display: block; width: auto; height: 78px; max-width: 230px; margin: 0 auto 1.8rem; }
@media (max-width: 600px) { .footer-logo { height: 66px; } }
/* Header-Logo: korrektes Seitenverhältnis (nicht gestaucht), kein Rahmen */
.brand-logo { height: 46px; width: auto; max-width: none; object-fit: contain; background: none; border: 0; padding: 0; border-radius: 0; }

/* Footer: zentriert + Logo als halbtransparente Hintergrund-Watermark */
.site-footer { position: relative; overflow: hidden; }
.footer-logo { display: none; }
.footer-watermark { display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(84%, 360px); max-width: 360px; height: auto; opacity: 0.12; z-index: 0; pointer-events: none; filter: none; }
.footer-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.2rem; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.1rem; }
.footer-legal { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 1rem; }
.footer-credit { border-top: 0; margin-top: 0.2rem; padding-top: 0; }

/* Footer-Watermark deutlich transparenter */
.footer-watermark { opacity: 0.06; width: min(70%, 300px); }

/* ---------- Footer: Mobil zentriert + Watermark / Desktop links+rechts ---------- */
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.4rem; position: relative; z-index: 1; }
.footer-main { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; width: 100%; }
.footer-text { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.footer-brand { display: flex; flex-direction: column; gap: 3px; }
.footer-links, .footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo-right { display: none; }
.footer-credit { text-align: center; width: 100%; border-top: 0; margin-top: 0.2rem; padding-top: 0; }

@media (min-width: 760px) {
    .footer-watermark { display: none; }
    .footer-content { align-items: stretch; text-align: left; }
    .footer-main { flex-direction: row; justify-content: space-between; align-items: center; gap: 2rem; }
    .footer-text { align-items: flex-start; gap: 0.9rem; }
    .footer-brand { align-items: flex-start; }
    .footer-links, .footer-legal { justify-content: flex-start; }
    .footer-logo-right { display: block; height: 94px; width: auto; flex: none; }
}

@media (min-width: 760px) { .footer-logo-right { height: 130px; } }

/* ---------- Lightbox (Bilder vergrößern) ---------- */
.grid-photos img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,9,10,0.93); display: none; align-items: center; justify-content: center; padding: 1.5rem; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.6); border: 2px solid rgba(255,255,255,0.12); }
.lb-close { position: absolute; top: 0.8rem; right: 1.2rem; background: none; border: 0; color: #fff; font-size: 2.8rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.6rem; }
.lb-close:hover { color: var(--signal); }

/* Event-Seite: Titelbild im Hero + Galerie */
.page-hero.has-photo { background-image: linear-gradient(rgba(14,16,18,0.42), rgba(14,16,18,0.88)), var(--hero); background-size: cover; background-position: center 28%; min-height: 44vh; display: flex; align-items: flex-end; }
.event-gallery { padding-top: 0; }

/* Lightbox-Navigation (durchklicken) */
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.35); border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; padding: 0.8rem 1.1rem; border-radius: 6px; opacity: 0.85; z-index: 2; }
.lb-prev { left: 0.6rem; } .lb-next { right: 0.6rem; }
.lb-prev:hover, .lb-next:hover { opacity: 1; color: var(--signal); }
.lb-counter { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--font-mono); font-size: 0.85rem; opacity: 0.8; z-index: 2; }
@media (max-width: 600px) { .lb-prev, .lb-next { font-size: 1.6rem; padding: 0.6rem 0.8rem; } }

/* Event-Titelbild: ganzes Bild zeigen (kein harter Beschnitt) */
.event-banner { width: 100%; background: #0a0a0c; line-height: 0; }
.event-banner img { display: block; width: 100%; height: clamp(240px, 42vh, 460px); object-fit: cover; object-position: var(--fm, center 35%); }

/* Banner-Ausschnitt: Desktop-Fokus separat einstellbar */
@media (min-width: 760px) { .event-banner img { object-position: var(--fd, center 35%); } }
/* Mobil: backdrop-filter entfernen, damit das fixed Menü am Fenster klebt (Scroll-Bug) */
@media (max-width: 759px) { .site-header, .tmpl-home .site-header, .tmpl-home .site-header.scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; } }
/* Sticky-Footer robuster */
html { min-height: 100%; }
body { min-height: 100vh; min-height: 100dvh; }

/* Event-Hero: Bild als Hintergrund hinter dem Titel (Höhe + Ausschnitt einstellbar) */
.page-hero.has-photo { background-image: linear-gradient(rgba(14,16,18,0.28) 0%, rgba(14,16,18,0.5) 48%, rgba(14,16,18,0.92) 100%), var(--hero); background-size: cover; background-position: var(--fm, center 50%); background-repeat: no-repeat; padding: 0 0 1.5rem; min-height: var(--bhm, 250px); display: flex; align-items: flex-end; }
@media (min-width: 760px) { .page-hero.has-photo { background-position: var(--fd, center 50%); min-height: var(--bh, clamp(340px, 52vh, 560px)); } }

/* 404-Seite */
.error-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* Kalender-Buttons im Event */
.cal-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0.2rem 0 1.2rem; }
.cal-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); margin-right: 0.2rem; }
.btn-sm { padding: 0.4rem 0.95rem; font-size: 0.72rem; }

/* Kalender-Icon in der Events-Liste (dezent, oben rechts je Event) */
.stop-row { position: relative; }
.stop-cal { position: absolute; top: 0; right: 0; padding: 0.5rem; color: var(--steel-soft); line-height: 0; z-index: 2; }
.stop-cal:hover { color: var(--signal); }
.stop-cal svg { display: block; }

/* Events-Liste: Datum-Zeile mit Kalender-Icon daneben */
.stop-row { position: relative; padding: 0 0 1.8rem 2.6rem; }
.stop-date-row { display: flex; align-items: center; gap: 0.55rem; }
.stop-date { text-decoration: none; }
.stop-body { display: block; color: inherit; }
.stop-cal { position: static; display: inline-flex; padding: 0.15rem; color: var(--steel-soft); line-height: 0; }
.stop-cal:hover { color: var(--signal); }

/* Lightbox-Schließen: sauberer Button oben rechts (konsistent mit ‹ ›) */
.lb-close { top: 0.6rem; right: 0.7rem; padding: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.4); border-radius: 8px; font-size: 1.9rem; z-index: 3; }

/* Lightbox-Schließen: rundes Icon, sauber */
.lb-close { top: 0.8rem; right: 0.8rem; width: 42px; height: 42px; border-radius: 50%; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; padding: 0; line-height: 0; font-size: 0; border: 0; cursor: pointer; }
.lb-close:hover { background: rgba(0,0,0,0.7); color: var(--signal); }
.lb-close svg { display: block; }

/* Lightbox: Hintergrund deckend (nichts scheint durch) */
.lightbox { background: rgba(10,11,13,0.97); }

/* Lightbox deckend + sicher über allem */
.lightbox { background: #0b0c0e; z-index: 1000; }

/* ---------- Dezente Animationen ---------- */
/* Lightbox sanft einblenden + Bild leicht zoomen */
.lightbox.open { animation: lbIn 0.22s ease both; }
.lightbox.open img { animation: lbImg 0.3s cubic-bezier(0.2,0.7,0.2,1) both; }
@keyframes lbIn { from { opacity: 0; } }
@keyframes lbImg { from { opacity: 0; transform: scale(0.95); } }
/* Galerie-Bilder beim Hover sanft heranzoomen */
.grid-photos img:hover { transform: scale(1.045); filter: brightness(1.08); z-index: 2; }
/* Buttons leicht anheben */
.btn:hover { transform: translateY(-2px); }
/* Kalender-Icon + Links weich */
.stop-cal, .footer-links a, .footer-legal a, .brand { transition: color 0.2s ease, transform 0.2s ease; }
.brand:hover { transform: translateY(-1px); }
/* Event-Hero-Bild ganz langsam heranzoomen (Ken Burns, dezent) */
.page-hero.has-photo { background-size: cover; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { background-size: 112%; } to { background-size: 100%; } }
/* Bewegungsreduktion respektieren */
@media (prefers-reduced-motion: reduce) {
    .lightbox.open, .lightbox.open img, .grid-photos img:hover, .btn:hover, .brand:hover, .page-hero.has-photo { animation: none; transform: none; }
}

/* ---------- Lade-Animation: Hero fliegt sanft gestaffelt ein ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
/* Startseite (Cockpit) */
.poster .label   { animation: fadeUp 0.55s ease both; }
.poster-title    { animation: fadeUp 0.6s ease 0.10s both; }
.poster-when     { animation: fadeUp 0.6s ease 0.20s both; }
.poster-count    { animation: fadeUp 0.65s ease 0.32s both; }
.hero-actions    { animation: fadeUp 0.6s ease 0.46s both; }
/* Innenseiten */
.page-hero .label      { animation: fadeUp 0.55s ease both; }
.page-hero .page-title { animation: fadeUp 0.6s ease 0.10s both; }
.page-hero .page-sub   { animation: fadeUp 0.6s ease 0.20s both; }
/* Bewegungsreduktion respektieren */
@media (prefers-reduced-motion: reduce) {
    .poster .label, .poster-title, .poster-when, .poster-count, .hero-actions, .poster-moped,
    .page-hero .label, .page-hero .page-title, .page-hero .page-sub { animation: none; }
}

/* Moped: dezent (0.15) von rechts langsam reinschieben */
@keyframes mopedSlideIn { from { opacity: 0; transform: translateX(90px); } to { opacity: 0.15; transform: none; } }
.poster-moped { animation: mopedSlideIn 1.5s cubic-bezier(0.2,0.7,0.2,1) 0.2s both; }

/* Moped: langsamer + ganz vom rechten Rand (Deckkraft bleibt 0.15) */
@keyframes mopedSlideIn { from { transform: translateX(115%); } to { transform: none; } }
.poster-moped { animation: mopedSlideIn 3.2s cubic-bezier(0.16,0.84,0.3,1) 0.15s both; }

/* Moped fährt rein + macht kurz einen Wheelie (Drehpunkt = Hinterrad rechts) */
@keyframes mopedWheelie {
  0%   { transform: translateX(120%) rotate(0deg); }
  48%  { transform: translateX(6%)   rotate(0deg); }
  60%  { transform: translateX(0)    rotate(-19deg); }
  70%  { transform: translateX(0)    rotate(-19deg); }
  84%  { transform: translateX(0)    rotate(-3deg); }
  92%  { transform: translateX(0)    rotate(-8deg); }
  100% { transform: translateX(0)    rotate(0deg); }
}
.poster-moped { transform-origin: 73% 67%; animation: mopedWheelie 3.4s cubic-bezier(0.18,0.7,0.25,1) 0.15s both; }

/* Mobil: Hero-Text nach oben (Moped/Ticker bleiben unten) */
@media (max-width: 759px) {
  .hero-poster { align-items: flex-start; }
  .hero-poster > .wrap { padding-top: 4.4rem; padding-bottom: 4.5rem; }
}

/* Wheelie WÄHREND dem Reinfahren (Front hoch), dann sanft ablegen – kein Nosedive */
@keyframes mopedWheelie {
  0%   { transform: translateX(125%) rotate(-2deg); }
  18%  { transform: translateX(80%)  rotate(-20deg); }
  58%  { transform: translateX(16%)  rotate(-20deg); }
  82%  { transform: translateX(0)    rotate(-12deg); }
  94%  { transform: translateX(0)    rotate(-4deg); }
  100% { transform: translateX(0)    rotate(0deg); }
}
.poster-moped { transform-origin: 73% 67%; animation: mopedWheelie 3.6s cubic-bezier(0.22,0.7,0.3,1) 0.15s both; }

/* Desktop: Hero-Text ebenfalls weiter nach oben */
@media (min-width: 760px) {
  .hero-poster { align-items: flex-start; }
  .hero-poster > .wrap { padding-top: 5rem; }
}

/* Wheelie KORREKT: positive Rotation = Front hebt sich (kein Nosedive) */
@keyframes mopedWheelie {
  0%   { transform: translateX(125%) rotate(0deg); }
  18%  { transform: translateX(80%)  rotate(20deg); }
  58%  { transform: translateX(16%)  rotate(20deg); }
  82%  { transform: translateX(0)    rotate(12deg); }
  94%  { transform: translateX(0)    rotate(4deg); }
  100% { transform: translateX(0)    rotate(0deg); }
}
.poster-moped { transform-origin: 73% 67%; animation: mopedWheelie 3.6s cubic-bezier(0.22,0.7,0.3,1) 0.15s both; }

/* Desktop: Hero-Text etwas tiefer (war zu hoch) */
@media (min-width: 760px) { .hero-poster > .wrap { padding-top: 6.6rem; } }

/* Wheelie: weiche, durchgehende Absenkung (nicht stückelig) + GPU */
@keyframes mopedWheelie {
  0%   { transform: translateX(125%) rotate(0deg);  animation-timing-function: cubic-bezier(0.2,0.7,0.3,1); }
  32%  { transform: translateX(45%)  rotate(22deg); animation-timing-function: linear; }
  52%  { transform: translateX(4%)   rotate(22deg); animation-timing-function: cubic-bezier(0.45,0,0.25,1); }
  100% { transform: translateX(0)    rotate(0deg); }
}
.poster-moped { transform-origin: 73% 67%; will-change: transform; backface-visibility: hidden; animation: mopedWheelie 3.4s 0.15s both; }

/* Desktop: Moped unten ans Laufband (wie mobil) */
@media (min-width: 760px) { .poster-moped { bottom: 6%; right: 0; width: 56%; } }

/* Desktop: Hero-Text nochmal etwas tiefer */
@media (min-width: 760px) { .hero-poster > .wrap { padding-top: 8rem; } }

/* Wheelie ohne Halt: durchgehender Bogen hoch -> runter (keine Pause) */
@keyframes mopedWheelie {
  0%   { transform: translateX(122%) rotate(0deg); }
  30%  { transform: translateX(44%)  rotate(13deg); }
  48%  { transform: translateX(15%)  rotate(22deg); }
  66%  { transform: translateX(2%)   rotate(12deg); }
  100% { transform: translateX(0)    rotate(0deg); }
}
.poster-moped { transform-origin: 73% 67%; will-change: transform; animation: mopedWheelie 3.6s cubic-bezier(0.25,0.6,0.3,1) 0.15s both; }

/* Desktop: Hero-Text noch ein kleines Stück tiefer */
@media (min-width: 760px) { .hero-poster > .wrap { padding-top: 9.5rem; } }

/* Wheelie schlank & weich: 3 Keyframes (rauf -> runter), ein Guss, GPU */
@keyframes mopedWheelie {
  0%   { transform: translateX(120%) rotate(0deg); }
  52%  { transform: translateX(10%)  rotate(21deg); }
  100% { transform: translateX(0)    rotate(0deg); }
}
.poster-moped { transform-origin: 73% 67%; will-change: transform; backface-visibility: hidden; animation: mopedWheelie 3s cubic-bezier(0.18,0.72,0.24,1) 0.2s both; }

/* Desktop: Moped fährt weiter rein (Ruheposition weiter links) */
@media (min-width: 760px) { .poster-moped { right: 8%; } }

/* Wheelie entkoppelt: rauf in konstantem Tempo (kein Warten oben), sofort weich runter */
@keyframes mopedRollIn { from { translate: 120% 0; } to { translate: 0 0; } }
@keyframes mopedLift {
  0%   { rotate: 0deg;  animation-timing-function: linear; }
  42%  { rotate: 22deg; animation-timing-function: cubic-bezier(0,0,0.35,1); }
  100% { rotate: 0deg; }
}
.poster-moped {
  transform-origin: 73% 67%; will-change: transform;
  animation: mopedRollIn 2.8s cubic-bezier(0.16,0.7,0.3,1) 0.2s both,
             mopedLift   2.6s 0.45s both;
}

/* Wheelie: schnell hoch -> oben halten (fährt dabei rein) -> weich runter, ein Zug */
@keyframes mopedRollIn { from { translate: 120% 0; } to { translate: 0 0; } }
@keyframes mopedLift {
  0%   { rotate: 0deg;  animation-timing-function: cubic-bezier(0.12,0.8,0.3,1); }
  20%  { rotate: 22deg; animation-timing-function: linear; }
  58%  { rotate: 22deg; animation-timing-function: cubic-bezier(0.45,0,0.32,1); }
  100% { rotate: 0deg; }
}
.poster-moped {
  transform-origin: 73% 67%; will-change: transform;
  animation: mopedRollIn 3.2s cubic-bezier(0.15,0.62,0.28,1) 0.2s both,
             mopedLift   3.0s 0.3s both;
}

/* ============================================================
   WERKSTATT-IDENTITÄT (eigener Moffos-Look, weg von Murteifl)
   ============================================================ */

/* Eyebrow "// LABEL"  ->  Kennzeichen-/Stencil-Tag */
.label {
  display: inline-block; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--signal);
  background: rgba(255,90,31,0.07); border: 1.5px solid var(--signal); border-radius: 3px;
  padding: 0.32em 0.72em 0.26em; line-height: 1;
}
.label::before { content: none !important; }
.page-hero .label, .poster .label { margin-bottom: 0.9rem; }

/* Trenner -> Reifenprofil */
.hazard {
  height: 20px; border: none;
  background-color: #0b0c0e;
  background-image: repeating-linear-gradient(90deg, #303539 0 12px, transparent 12px 24px);
  position: relative;
}
.hazard::after {
  content: ""; position: absolute; inset: 0; top: 50%; height: 5px; transform: translateY(-50%);
  background: #0b0c0e;
}

/* Hero-Unterkante: Reifenprofil-Streifen statt dünner Linie */
.page-hero { border-bottom: none !important; position: relative; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 13px; z-index: 2;
  background-color: var(--signal);
  background-image: repeating-linear-gradient(90deg, var(--oil) 0 11px, transparent 11px 22px);
}

/* ============ STUFE 2: kräftiger Werkstatt-Look ============ */

/* Hazard-Warnstreifen als Signatur-Trenner (war Reifenprofil) */
.hazard {
  height: 16px; border: none;
  background: repeating-linear-gradient(-45deg, var(--signal) 0 18px, #0c0d0f 18px 36px);
}
.hazard::after { content: none !important; }

/* Footer im Werkstatt-Look: Reifenprofil-Oberkante */
.site-footer { position: relative; padding-top: 3.6rem; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background-color: var(--signal);
  background-image: repeating-linear-gradient(90deg, var(--oil) 0 11px, transparent 11px 22px);
}

/* Stencil-Akzent: orange Balken links an Überschriften */
.section-head h2 { padding-left: 0.9rem; border-left: 6px solid var(--signal); }
.prose h2 { padding-left: 0.75rem; border-left: 5px solid var(--signal); margin-top: 2.2rem; }

/* Primär-Button: gestanzt/industrieller */
.btn-primary { box-shadow: inset 0 0 0 2px rgba(0,0,0,0.15); }

/* Warnstreifen direkt unter dem Header (site-weit sofort sichtbar) */
.site-header { position: relative; }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; z-index: 60;
  background: repeating-linear-gradient(-45deg, var(--signal) 0 11px, #0c0d0f 11px 22px);
}
