/* ==========================================================================
   Innviertel Penguins – Stylesheet (2026)
   CI: Gelb #f9b42b · Anthrazit #333333 · Schrift Quicksand (selbst gehostet)
   ========================================================================== */

@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/quicksand-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/quicksand-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --yellow: #f9b42b;
    --yellow-hi: #ffc64d;
    --yellow-soft: rgba(249, 180, 43, .14);
    --ink-950: #121212;
    --ink-900: #191919;
    --ink-850: #202020;
    --ink-800: #272727;
    --ink-700: #333333;
    --ink-600: #444444;
    --text: #f3f3f3;
    --muted: #b4b4b4;
    --dark-text: #1d1d1d;
    --dark-muted: #5d5d5d;
    --light: #f4f2ee;
    --white: #ffffff;
    --line: rgba(255, 255, 255, .09);
    --line-dark: rgba(0, 0, 0, .1);
    --danger: #ff6b5b;
    --ok: #4cc38a;
    --radius: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, .55);
    --shadow-sm: 0 10px 30px -18px rgba(0, 0, 0, .45);
    --container: 1200px;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --font: 'Quicksand', ui-rounded, 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text);
    background: var(--ink-900);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--dark-text); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--yellow); color: var(--dark-text); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
.anchor-alias { position: absolute; top: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 50px; padding: 12px 24px;
    border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: 1rem; letter-spacing: .01em; line-height: 1.1;
    transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: var(--dark-text); box-shadow: 0 10px 26px -12px rgba(249, 180, 43, .8); }
.btn-yellow:hover { background: var(--yellow-hi); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(0, 0, 0, .2); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-outline-dark { border-color: var(--dark-text); color: var(--dark-text); }
.btn-outline-dark:hover { background: var(--dark-text); color: var(--yellow); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; transition: background-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--header-h);
    transition: box-shadow .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}
/* Hintergrund + Blur auf einem Pseudo-Element: backdrop-filter direkt am Header
   würde ihn zum Bezugsrahmen für das fixierte Mobilmenü machen */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(22, 22, 22, .92);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled, .site-header.is-solid, body.nav-open .site-header {
    border-bottom-color: rgba(249, 180, 43, .35);
    box-shadow: 0 8px 30px -20px rgba(0, 0, 0, .8);
}
.site-header.is-scrolled::before, .site-header.is-solid::before, body.nav-open .site-header::before { opacity: 1; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; font-weight: 700; }
.brand img { width: 52px; height: 52px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); transition: transform .3s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-text { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1; }
.brand-text span { color: var(--yellow); }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
    position: relative; display: block; padding: 10px 12px;
    font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .86);
    border-radius: 10px; transition: color .2s;
}
.main-nav a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
    background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-social { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }
.header-shop.is-active { background: var(--yellow-hi); }

@media (max-width: 1099px) {
    .nav-toggle { display: grid; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
        background: #141414;
        display: flex; flex-direction: column; justify-content: space-between;
        padding: 24px 24px calc(28px + env(safe-area-inset-bottom));
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
        overflow-y: auto;
    }
    body.nav-open { overflow: hidden; }
    body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav a { font-size: 1.6rem; padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .main-nav a::after { display: none; }
    .main-nav a.is-active { color: var(--yellow); }
    .nav-social { display: flex; gap: 12px; padding-top: 24px; }
    .nav-social a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink-700); color: var(--yellow); }
}
@media (max-width: 560px) {
    :root { --header-h: 66px; }
    .brand img { width: 44px; height: 44px; }
    .brand-text { font-size: 1rem; }
    .header-shop span { display: none; }
    .header-shop { width: 46px; padding: 0; }
}
@media (max-width: 380px) { .brand-text { display: none; } }

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate;
    min-height: 100vh; min-height: 100svh;
    display: grid; place-items: center;
    padding: calc(var(--header-h) + 40px) 0 90px;
    text-align: center; overflow: hidden;
    background: var(--ink-950);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease) both; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 50% at 50% 42%, rgba(249, 180, 43, .14), transparent 70%),
        linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, .35) 40%, rgba(25, 25, 25, .96) 100%);
}
.hero-content { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 210px; height: 210px; margin-bottom: 26px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)); animation: rise .6s var(--ease) both; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow);
}
.hero .eyebrow { animation: rise .6s .05s var(--ease) both; }
.hero h1 {
    margin-top: 14px;
    font-size: clamp(2.6rem, 8vw, 5.6rem); text-transform: uppercase; letter-spacing: .02em;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
    animation: rise .6s .1s var(--ease) both;
}
.hero h1 span { color: var(--yellow); }
.hero-sub { margin-top: 16px; font-size: clamp(1rem, 2.2vw, 1.2rem); color: rgba(255, 255, 255, .85); animation: rise .6s .15s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; animation: rise .6s .2s var(--ease) both; }
.hero-scroll {
    position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35); color: #fff; animation: bob 2.4s ease-in-out infinite;
}
.hero-scroll:hover { border-color: var(--yellow); color: var(--yellow); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (max-width: 600px) {
    .hero-logo { width: 150px; height: 150px; }
    .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.section-dark { background: var(--ink-900); }
.section-darker { background: var(--ink-950); }
.section-yellow { background: var(--yellow); color: var(--dark-text); }
.section-light { background: var(--light); color: var(--dark-text); }
.section-white { background: var(--white); color: var(--dark-text); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 52px); }
.section-head h2 { margin-top: 10px; font-size: clamp(2rem, 4.6vw, 3.2rem); text-transform: uppercase; letter-spacing: .02em; }
.section-head h2::after { content: ""; display: block; width: 64px; height: 4px; margin: 18px auto 0; border-radius: 4px; background: var(--yellow); }
.section-head-left { text-align: left; margin-left: 0; }
.section-head-left h2::after { margin-left: 0; }
.section-lead { margin-top: 18px; font-size: 1.08rem; color: var(--muted); }
.section-yellow .eyebrow, .section-light .eyebrow, .section-white .eyebrow { color: #9a6500; }
.section-yellow .section-head h2::after { background: var(--dark-text); }
.section-light .section-lead, .section-white .section-lead, .section-yellow .section-lead { color: var(--dark-muted); }

/* ---------- hockeydata-Karten ---------- */
.hd-card {
    background: var(--white); color: #222;
    border-radius: var(--radius); padding: clamp(14px, 2.4vw, 28px);
    box-shadow: var(--shadow);
    min-width: 0; /* Tabellen scrollen in ihrer eigenen Hülle; Auswahllisten dürfen über die Karte ragen */
}
.section-yellow .hd-card { box-shadow: 0 30px 60px -30px rgba(60, 35, 0, .55); }
.hd-widget { min-height: 120px; position: relative; }
.hd-card-slider .hd-widget { min-height: 100px; }
.hd-skeleton { display: grid; gap: 12px; padding: 6px 0; }
.hd-skeleton span { height: 18px; border-radius: 8px; background: linear-gradient(90deg, #eee 0%, #f7f7f7 40%, #eee 80%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.hd-skeleton span:nth-child(2) { width: 86%; }
.hd-skeleton span:nth-child(3) { width: 64%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.hd-error { padding: 18px; text-align: center; color: var(--dark-muted); }

/* Schrift & Farben der Widgets an die CI angleichen – alle Rahmen rund und hell */
.hd-widget, .hd-widget * { font-family: var(--font) !important; }
.hd-card .hd-widget a { color: inherit; text-decoration: none; }
.hd-card .hd-widget a:hover { color: #b37800; }

/* Tabellen: eine runde, helle Hülle statt eckiger dunkler Linien */
.hd-card .-hd-util-intellitable { margin: 0; }
.hd-card .-hd-util-intellitable .-hd-util-intellitable-data {
    border: 1px solid #ececec !important; border-radius: 14px; overflow: auto; -webkit-overflow-scrolling: touch;
    background: #fff;
}
.hd-card .-hd-util-intellitable .-hd-util-intellitable-data table {
    border: 0 !important; border-collapse: collapse !important; border-spacing: 0 !important; margin: 0 !important; width: 100%; font-size: .95rem;
}
.hd-card .-hd-util-intellitable .-hd-util-intellitable-data th {
    background: var(--ink-850) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important;
    font-weight: 700 !important; text-transform: uppercase; font-size: .76rem; letter-spacing: .06em;
    padding-top: 13px !important; padding-bottom: 13px !important;
}
.hd-card .-hd-util-intellitable .-hd-util-intellitable-data td {
    background: #fff !important; border: 0 !important; border-bottom: 1px solid #f0f0f0 !important;
    padding-top: 11px !important; padding-bottom: 11px !important; color: #222;
}
.hd-card .-hd-util-intellitable .-hd-util-intellitable-data tbody tr:nth-child(even) td { background: #fafafa !important; }
.hd-card .-hd-util-intellitable .-hd-util-intellitable-data tbody tr:last-child td { border-bottom: 0 !important; }
.hd-card .-hd-util-intellitable .-hd-util-intellitable-data tbody tr:hover td { background: #fff6df !important; }
/* Penguins in der Tabelle hervorheben */
.hd-card .-hd-los-standings .-hd-util-intellitable-data tbody tr:has(img[src*="/8291."]) td { background: #ffefc2 !important; font-weight: 700; }
.hd-card .-hd-util-intellitable-data img { border-radius: 4px; }
.hd-card .-hd-util-intellitable-scroll-help { font-size: .82rem; color: var(--dark-muted); margin-bottom: 8px; }

/* Auswahlfelder (Saison / Phase) als runde Pillen mit weißer Liste */
.hd-card .-hd-los-division-picker .-hd-los-division-picker-select-container { border: 0 !important; margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; }
.hd-card .-hd-util-select { border: 0 !important; border-radius: 999px; }
.hd-card .-hd-util-select .-hd-util-select-display {
    background: var(--yellow) !important; border: 0 !important; color: var(--dark-text) !important;
    border-radius: 999px !important; font-weight: 700; padding: 10px 44px 10px 18px !important; line-height: 1.3;
    box-shadow: 0 6px 16px -10px rgba(120, 80, 0, .7); transition: background-color .2s;
}
.hd-card .-hd-util-select .-hd-util-select-display:hover { background: var(--yellow-hi) !important; }
.hd-card .-hd-util-select .-hd-util-select-display::after { border-top-color: var(--dark-text) !important; right: 18px !important; }
.hd-card .-hd-util-select.-hd-util-select-open .-hd-util-select-display::after { border-top-color: transparent !important; border-bottom-color: var(--dark-text) !important; }
.hd-card .-hd-util-select .-hd-util-select-list {
    background: #fff !important; border: 1px solid #ececec !important; border-radius: 14px !important;
    box-shadow: var(--shadow-sm); margin-top: 8px !important; padding: 6px !important; overflow: hidden; z-index: 20;
}
.hd-card .-hd-util-select .-hd-util-select-list > li {
    border: 0 !important; border-radius: 10px; padding: 10px 14px !important; color: var(--dark-text) !important; background: transparent !important;
}
.hd-card .-hd-util-select .-hd-util-select-list > li:hover,
.hd-card .-hd-util-select .-hd-util-select-list > li.-hd-util-select-selected { background: #fff2cf !important; }

/* Tabs (Feldspieler / Tormänner / Bad Boys) als Pillen */
.hd-card .-hd-util-tabs .-hd-util-tabs-buttons { border: 0 !important; padding: 0 !important; margin: 0 0 14px !important; display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; }
.hd-card .-hd-util-tabs .-hd-util-tabs-button {
    border: 0 !important; border-radius: 999px !important; margin: 0 !important; padding: 9px 18px !important;
    background: #f1f1f1 !important; color: var(--dark-text) !important; font-weight: 700; text-decoration: none; line-height: 1.3;
}
.hd-card .-hd-util-tabs .-hd-util-tabs-button.-hd-util-tabs-button-active,
.hd-card .-hd-util-tabs .-hd-util-tabs-button:hover { background: var(--yellow) !important; }

/* Fallback: hockeydata-Slider, falls die eigene Spielansicht keine Daten bekommt */
.hd-card-slider { background: var(--ink-800); border: 1px solid var(--line); padding: 8px 4px; color: #fff; }
.hd-card-slider .hd-skeleton span { background: linear-gradient(90deg, #303030 0%, #3b3b3b 40%, #303030 80%); background-size: 200% 100%; }
.hd-card-slider .-hd-util-slider { background: transparent !important; }

/* ---------- Aktuelle Ergebnisse (eigene Spielkarten) ---------- */
.games { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.games-title { text-align: center; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.games-row { display: flex; justify-content: center; gap: 18px; }
.game {
    flex: 0 1 360px; min-width: 0;
    display: flex; flex-direction: column;
    background: var(--ink-800); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 20px 16px; text-align: center;
    transition: transform .25s var(--ease), border-color .25s;
}
.game:hover { transform: translateY(-3px); border-color: rgba(249, 180, 43, .45); }
.game.is-next { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow), 0 20px 50px -30px rgba(249, 180, 43, .6); }
.game-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.game-badge { padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .08); color: #fff; white-space: nowrap; }
.game-badge.is-win { background: rgba(76, 195, 138, .16); color: #63d39b; }
.game-badge.is-loss { background: rgba(255, 107, 91, .14); color: #ff8a7d; }
.game-badge.is-next { background: var(--yellow); color: var(--dark-text); }
.game-badge.is-live { background: #e5483a; color: #fff; animation: pulseLive 1.6s ease-in-out infinite; }
@keyframes pulseLive { 50% { opacity: .55; } }
.game-body { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 18px 0 14px; flex: 1; }
.game-team { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.game-team img, .game-logo-ph { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; background: #fff; padding: 4px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); }
.game-name {
    font-size: .82rem; line-height: 1.3; font-weight: 600; color: #d8d8d8;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.game-team.is-us .game-name { color: var(--yellow); font-weight: 700; }
.game-mid { min-width: 76px; }
.game-score { font-size: 2.2rem; font-weight: 700; line-height: 1; letter-spacing: .02em; color: #fff; white-space: nowrap; }
.game-score i { font-style: normal; color: var(--yellow); margin: 0 6px; }
.game-time { display: grid; font-size: 1.6rem; font-weight: 700; line-height: 1; color: #fff; }
.game-time small { font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.game-vs { font-size: 1.2rem; font-weight: 700; color: var(--muted); }
.game-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.game-foot .icon { width: 15px; height: 15px; color: var(--yellow); }
.games-more { text-align: center; margin-top: 34px; }
.games-empty { text-align: center; color: var(--muted); }
@media (max-width: 900px) {
    .games-row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 14px; margin: 0 -20px; scrollbar-width: none; }
    .games-row::-webkit-scrollbar { display: none; }
    .game { flex: 0 0 min(82%, 320px); scroll-snap-align: center; }
}

/* ---------- Fanshop ---------- */
.product-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.product {
    display: flex; flex-direction: column;
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 1px 0 var(--line-dark), 0 18px 40px -30px rgba(0, 0, 0, .45);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line-dark), 0 30px 60px -30px rgba(0, 0, 0, .5); }
.product-media { position: relative; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s, transform .6s var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }
.product-media .is-back { opacity: 0; }
.product-media.show-back .is-back { opacity: 1; }
.product-media.show-back .is-front { opacity: 0; }
@media (hover: hover) {
    .product-media.has-back:hover .is-back { opacity: 1; }
    .product-media.has-back:hover .is-front { opacity: 0; }
}
.flip-btn {
    position: absolute; right: 12px; bottom: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; border-radius: 999px;
    background: rgba(25, 25, 25, .82); color: #fff; font-size: .82rem; font-weight: 700;
    backdrop-filter: blur(6px);
}
.flip-btn .icon { width: 16px; height: 16px; color: var(--yellow); }
.product-placeholder {
    position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
    background: radial-gradient(circle at 50% 40%, #3a3a3a, var(--ink-900));
    color: var(--yellow); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .85rem;
}
.product-placeholder img { position: static; width: 140px; height: 140px; opacity: .95; }
.product-body { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px 22px; flex: 1; }
.product-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.product-head h3 { font-size: 1.35rem; }
.price { font-weight: 700; font-size: 1.25rem; white-space: nowrap; color: var(--dark-text); background: var(--yellow); padding: 2px 12px; border-radius: 999px; }
.product-desc { color: var(--dark-muted); font-size: .95rem; margin-top: -6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips legend { width: 100%; margin-bottom: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dark-muted); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
    display: grid; place-items: center; min-width: 38px; height: 40px; padding: 0 6px;
    border: 2px solid #e2e2e2; border-radius: 12px; font-weight: 700; font-size: .88rem;
    transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover span { border-color: #bdbdbd; }
.chip input:checked + span { border-color: var(--dark-text); background: var(--dark-text); color: var(--yellow); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.chips-variants .chip { flex: 1 1 100%; }
.chips-variants .chip span { justify-content: start; height: auto; min-height: 44px; padding: 8px 14px; text-align: left; font-size: .88rem; }
.product-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 4px; }
.qty { display: flex; align-items: center; border: 2px solid #e2e2e2; border-radius: 999px; overflow: hidden; flex: none; }
.qty button { display: grid; place-items: center; width: 40px; height: 46px; color: var(--dark-text); }
.qty button:hover { background: #f3f3f3; }
.qty .icon { width: 18px; height: 18px; }
.qty input { width: 36px; height: 46px; border: 0; text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-btn { flex: 1; min-height: 50px; padding: 10px 16px; }
.add-btn.is-added { background: var(--ok); color: #fff; }
.product-error { color: #c0392b; font-weight: 700; font-size: .9rem; margin-top: -4px; }
.product.shake .chips { animation: shake .4s; }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.shop-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.shop-info > div { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius-md); background: rgba(255, 255, 255, .6); border: 1px solid var(--line-dark); }
.shop-info .icon { width: 28px; height: 28px; color: #b37800; margin-top: 2px; }
.shop-info p { color: var(--dark-muted); font-size: .95rem; }
.shop-info strong { display: block; color: var(--dark-text); font-size: 1.02rem; margin-bottom: 2px; }
@media (max-width: 860px) { .shop-info { grid-template-columns: 1fr; } }

/* ---------- Sponsoren: alle Kacheln exakt gleich groß ---------- */
.sponsor-grid { display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 1fr; }
@media (max-width: 1099px) { .sponsor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) { .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 480px) { .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sponsor-grid li {
    position: relative; aspect-ratio: 3 / 2; min-width: 0; min-height: 0; overflow: hidden;
    background: #fff; border: 1px solid #ececec; border-radius: var(--radius-md);
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.sponsor-grid li:hover { transform: translateY(-3px); border-color: var(--yellow); box-shadow: var(--shadow-sm); }
.sponsor-grid a { position: absolute; inset: 0; }
/* Logo füllt eine feste Fläche in der Kachelmitte – unabhängig von seiner Originalgröße */
.sponsor-grid img {
    position: absolute; left: 14%; top: 16%; width: 72%; height: 68%;
    object-fit: contain; max-width: none;
}

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--yellow); color: var(--dark-text); padding: clamp(56px, 7vw, 84px) 0; position: relative; overflow: hidden; }
.cta-band::before {
    content: ""; position: absolute; right: -120px; top: 50%; width: 420px; height: 420px; translate: 0 -50%;
    border-radius: 50%; border: 60px solid rgba(0, 0, 0, .06);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 620px; }
.cta-band .eyebrow { color: #7a5000; }
.cta-band h2 { margin: 8px 0 12px; font-size: clamp(1.8rem, 3.8vw, 2.6rem); text-transform: uppercase; }
.cta-band p { font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Social ---------- */
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.social-tile {
    display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 44px 24px;
    border-radius: var(--radius); background: var(--ink-800); border: 1px solid var(--line);
    transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.social-tile .icon { width: 64px; height: 64px; color: var(--yellow); transition: transform .3s var(--ease), color .3s; }
.social-name { font-size: 1.5rem; font-weight: 700; }
.social-handle { color: var(--muted); }
.social-tile:hover { transform: translateY(-4px); background: var(--yellow); color: var(--dark-text); }
.social-tile:hover .icon { color: var(--dark-text); transform: scale(1.08); }
.social-tile:hover .social-handle { color: var(--dark-text); }
@media (max-width: 560px) { .social-grid { grid-template-columns: 1fr; } .social-tile { padding: 30px 20px; } }

/* ---------- Formulare ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-logo { width: 160px; height: 160px; margin-top: 34px; opacity: .9; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-logo { display: none; } .section-head-left { text-align: center; margin: 0 auto 8px; } .section-head-left h2::after { margin: 18px auto 0; } }
.card-form { background: var(--ink-800); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3.4vw, 36px); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-zip { grid-template-columns: 120px 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .form-row-zip { grid-template-columns: 110px 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: .85rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.field input, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 16px;
    border-radius: 12px; border: 2px solid rgba(255, 255, 255, .1); background: var(--ink-900); color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-soft); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.field .field-error { color: var(--danger); font-size: .82rem; font-weight: 700; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--yellow); cursor: pointer; }
.check a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.check.is-invalid span { color: var(--danger); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 700; font-size: .95rem; text-align: center; }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--ok); }

/* ---------- Anfrage-Button & Dialog ---------- */
.cart-fab {
    position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 16px 14px 20px; border-radius: 999px;
    background: var(--ink-900); color: #fff; font-weight: 700;
    border: 2px solid var(--yellow);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7);
    animation: popIn .35s var(--ease) both;
}
.cart-fab .icon { color: var(--yellow); }
.cart-fab b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--yellow); color: var(--dark-text); font-size: .9rem; }
.cart-fab.bump { animation: bump .45s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.12); } }

dialog.cart {
    width: min(560px, 100%); max-width: 100%; height: 100%; max-height: 100%;
    margin: 0 0 0 auto; padding: 0; border: 0;
    background: var(--ink-850); color: var(--text);
    box-shadow: -30px 0 80px -30px rgba(0, 0, 0, .8);
}
dialog.cart[open] { animation: slideIn .35s var(--ease) both; }
dialog.cart::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.cart-inner { display: flex; flex-direction: column; height: 100%; }
.cart-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 18px 26px; border-bottom: 1px solid var(--line); }
.cart-header h2 { font-size: 1.35rem; }
#merch-form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cart-scroll { flex: 1; overflow-y: auto; padding: 20px 26px 10px; display: grid; gap: 18px; align-content: start; }
.cart-items { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius-md); background: var(--ink-800); border: 1px solid var(--line); }
.cart-item img, .cart-item .ci-ph { width: 64px; height: 64px; border-radius: 10px; background: #fff; object-fit: contain; }
.cart-item .ci-ph { background: var(--ink-700); display: grid; place-items: center; }
.cart-item .ci-ph img { width: 44px; height: 44px; background: none; }
.ci-name { font-weight: 700; line-height: 1.25; }
.ci-meta { color: var(--muted); font-size: .85rem; }
.ci-side { display: grid; justify-items: end; gap: 6px; }
.ci-price { font-weight: 700; }
.ci-qty { display: flex; align-items: center; gap: 4px; }
.ci-qty button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink-700); }
.ci-qty button:hover { background: var(--ink-600); }
.ci-qty .icon { width: 15px; height: 15px; }
.ci-qty span { min-width: 22px; text-align: center; font-weight: 700; }
.cart-empty { color: var(--muted); padding: 16px; border: 2px dashed var(--line); border-radius: var(--radius-md); text-align: center; }
.cart-total { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; border-radius: var(--radius-md); background: var(--yellow-soft); border: 1px solid rgba(249, 180, 43, .35); }
.cart-total span { font-weight: 700; margin-right: auto; }
.cart-total strong { font-size: 1.35rem; color: var(--yellow); }
.cart-total small { color: var(--muted); }
.delivery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.delivery legend { grid-column: 1 / -1; margin-bottom: 6px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.delivery-opt { position: relative; cursor: pointer; }
.delivery-opt input { position: absolute; opacity: 0; inset: 0; }
.delivery-opt > span { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .1); background: var(--ink-900); font-weight: 700; transition: border-color .2s, background-color .2s; }
.delivery-opt .icon { grid-row: span 2; width: 26px; height: 26px; color: var(--yellow); }
.delivery-opt small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.delivery-opt input:checked + span { border-color: var(--yellow); background: rgba(249, 180, 43, .08); }
.delivery-opt input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.address { display: grid; gap: 16px; }
.cart-footer { padding: 16px 26px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--ink-850); }
.cart-success { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 40px 30px; }
.cart-success h3 { font-size: 1.6rem; }
.cart-success p { color: var(--muted); max-width: 380px; }
.cart-ref { font-weight: 700; color: var(--yellow) !important; }
.success-badge { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--yellow); color: var(--dark-text); animation: popIn .4s var(--ease) both; }
.success-badge .icon { width: 44px; height: 44px; }
@media (max-width: 560px) { .cart-scroll { padding: 18px 18px 10px; } .cart-footer { padding-left: 18px; padding-right: 18px; } .cart-header { padding-left: 18px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); border-top: 3px solid var(--yellow); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-top: 60px; padding-bottom: 50px; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 72px; height: 72px; }
.footer-brand strong { color: #fff; font-size: 1.1rem; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a:hover { color: var(--yellow); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink-800); color: var(--yellow); transition: background-color .2s, color .2s; }
.footer-social a:hover { background: var(--yellow); color: var(--dark-text); }
.footer-bottom { border-top: 1px solid var(--line); font-size: .88rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
.uver-link { color: #fff; font-weight: 700; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; } }

/* ---------- Toast ---------- */
.toast {
    position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 300; translate: -50% 0;
    max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px;
    background: #fff; color: var(--dark-text); font-weight: 700; box-shadow: var(--shadow);
    animation: popIn .3s var(--ease) both;
}

/* ---------- Unterseiten (Datenschutz) ---------- */
.page-hero { padding: calc(var(--header-h) + 64px) 0 48px; background: linear-gradient(180deg, var(--ink-950), var(--ink-900)); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-top: 10px; font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; color: var(--yellow); }
.legal p, .legal li { color: #d7d7d7; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 1000;
    display: grid; place-items: center;
    background:
        radial-gradient(55% 45% at 50% 46%, rgba(249, 180, 43, .18), transparent 70%),
        radial-gradient(120% 80% at 50% 120%, rgba(249, 180, 43, .08), transparent 60%),
        #111;
    clip-path: circle(150% at 50% 46%);
    transition: clip-path .85s cubic-bezier(.75, 0, .2, 1);
    /* Sicherheitsnetz ohne JavaScript: nach 5 s ausblenden */
    animation: preFallback .4s 5s forwards;
}
.preloader.is-done { clip-path: circle(0% at 50% 46%); pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; transition: transform .6s cubic-bezier(.75, 0, .2, 1), opacity .45s; }
.preloader.is-done .preloader-inner { transform: scale(.82); opacity: 0; }
.preloader-badge { position: relative; width: 196px; height: 196px; display: grid; place-items: center; }
.preloader-badge img {
    width: 150px; height: 150px;
    filter: drop-shadow(0 14px 34px rgba(0, 0, 0, .7)) drop-shadow(0 0 22px rgba(249, 180, 43, .25));
    animation: prePop .75s cubic-bezier(.3, 1.6, .5, 1) both, preFloat 2.6s .75s ease-in-out infinite;
}
.preloader-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: preSpin 1.6s linear infinite; }
.preloader-ring circle { fill: none; stroke-width: 3; }
.preloader-track { stroke: rgba(255, 255, 255, .07); }
.preloader-arc {
    stroke: var(--yellow); stroke-linecap: round;
    stroke-dasharray: 352; stroke-dashoffset: 352;
    filter: drop-shadow(0 0 6px rgba(249, 180, 43, .8));
    transform-origin: 50% 50%; transform: rotate(-90deg);
    animation: preDraw 1s .1s cubic-bezier(.6, 0, .3, 1) forwards;
}
.preloader-title {
    font-weight: 700; font-size: .95rem; letter-spacing: .34em; text-transform: uppercase; color: #fff;
    padding-left: .34em; /* optischer Ausgleich zum Letter-Spacing */
    animation: preRise .6s .3s cubic-bezier(.2, .7, .2, 1) both;
}
.preloader-title span { color: var(--yellow); }
.preloader-ice {
    position: relative; width: 200px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
    animation: preRise .6s .42s cubic-bezier(.2, .7, .2, 1) both;
}
.preloader-puck {
    position: absolute; top: 50%; left: 0; width: 18px; height: 10px; margin-top: -5px;
    border-radius: 50%; background: radial-gradient(circle at 50% 35%, #3a3a3a, #050505 70%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
    animation: prePuck 1.15s cubic-bezier(.55, 0, .35, 1) infinite;
}
.preloader-puck::before {
    content: ""; position: absolute; right: 60%; top: 50%; width: 70px; height: 3px; margin-top: -1.5px;
    border-radius: 3px; background: linear-gradient(90deg, transparent, var(--yellow));
    box-shadow: 0 0 10px rgba(249, 180, 43, .7);
}
@keyframes prePop { 0% { opacity: 0; transform: scale(.35) rotate(-25deg); } 100% { opacity: 1; transform: none; } }
@keyframes preFloat { 50% { transform: translateY(-5px); } }
@keyframes preSpin { to { transform: rotate(360deg); } }
@keyframes preDraw { to { stroke-dashoffset: 96; } }
@keyframes preRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes prePuck {
    0% { left: -12%; opacity: 0; }
    18% { opacity: 1; }
    82% { opacity: 1; }
    100% { left: 104%; opacity: 0; }
}
@keyframes preFallback { to { opacity: 0; visibility: hidden; } }
html.preloading, html.preloading body { overflow: hidden; }
@media (max-width: 600px) {
    .preloader-badge { width: 164px; height: 164px; }
    .preloader-badge img { width: 124px; height: 124px; }
    .preloader-title { font-size: .82rem; }
}

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.page-404 { min-height: 72vh; display: flex; align-items: center; }
.page-404 h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); }
.page-404 .section-lead { margin-top: 14px; max-width: 560px; }
