/* ==========================================================================
   Oldtimer-Netzwerk · BMW E30 M3 Lookalike – Jugendprojekt
   Papier-Grau, breite Grotesk, Slate-Flächen + Rennspiel-Details (M-Farben)
   Farben & Schriften zentral unter :root anpassbar
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}
@font-face {
  font-family: "JB Mono";
  src: url("../fonts/jbmono-500.woff2") format("woff2");
  font-weight: 500; font-display: swap;
}

:root {
  --paper: #dcd8cf;
  --paper-2: #cfcac0;
  --ink: #16191e;
  --ink-2: #2b3038;
  --slate: #252c36;
  --muted: #5f5d58;
  --muted-light: #a9adb3;
  --line: rgba(22, 25, 30, 0.16);
  --line-light: rgba(255, 255, 255, 0.14);
  --m1: #1c8fdb;   /* hellblau */
  --m2: #26318c;   /* dunkelblau */
  --m3: #d6202a;   /* rot */
  --gold: #c9ae6a;
  --m-grad: linear-gradient(90deg, var(--m1) 0 33.4%, var(--m2) 33.4% 66.7%, var(--m3) 66.7%);
  --m-slash: linear-gradient(100deg, var(--m1) 0 34%, var(--m2) 34% 67%, var(--m3) 67%);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JB Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --header-h: 76px;
  --skew: -12deg;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: only light; background: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-stretch: 100%; font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--m1); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }

.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo ---------- */
.kicker {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.kicker .idx { display: inline-grid; place-items: center; min-width: 46px; height: 22px; padding: 0 8px; background: var(--ink); color: #fff; font-size: .7rem; letter-spacing: .08em; transform: skewX(var(--skew)); }
.kicker .idx > span { transform: skewX(calc(var(--skew) * -1)); }
.dark .kicker, .slate .kicker { color: var(--muted-light); }
.dark .kicker .idx, .slate .kicker .idx { background: #fff; color: var(--ink); }
.mstripe { display: inline-block; width: 42px; height: 4px; flex: none; background: var(--m-grad); transform: skewX(var(--skew)); }
.display { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.5rem, 6vw, 6.25rem); line-height: .92; letter-spacing: -.025em; text-wrap: balance; }
.display-sm { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
p + p { margin-top: 1em; }

/* ---------- Buttons: schräg wie im Rennspiel, M-Farben füllen beim Hover ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--f-body); font-stretch: 112%; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transform: skewX(var(--skew)); transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn > .bi { display: inline-flex; align-items: center; gap: 12px; transform: skewX(calc(var(--skew) * -1)); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--btn-bg, transparent); }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -10%; width: 120%; z-index: -1; background: var(--m-slash); transform: translateX(-101%); transition: transform .55s var(--ease); }
.btn:hover, .btn:focus-visible { color: #fff; border-color: var(--m2); }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(0); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-solid { --btn-bg: var(--ink); color: var(--paper); }
.btn-light { --btn-bg: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: .74rem; }
.btn-lg { min-height: 58px; padding: 0 36px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; padding-left: 6px; }

/* ---------- Header: Rennspiel-Menü ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header.scrolled { background: rgba(220, 216, 207, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.hide { transform: translateY(-100%); }
.rev { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.rev::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(22,25,30,.18) 22px 24px); opacity: 0; transition: opacity .4s; }
.site-header.scrolled .rev::before { opacity: 1; }
.rev span { position: absolute; inset: 0; background: var(--m-grad); background-size: 100vw 100%; transform-origin: left; transform: scaleX(var(--sp, 0)); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; position: relative; z-index: 2; }
.brand img { height: 48px; width: auto; filter: drop-shadow(0 2px 3px rgba(0,0,0,.15)); }
.brand-tag { white-space: nowrap; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.2; transition: color .3s; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { position: relative; display: flex; align-items: baseline; gap: 8px; padding: 10px 18px 11px; text-decoration: none; transform: skewX(var(--skew)); overflow: hidden; isolation: isolate; transition: color .3s var(--ease); }
.main-nav a > * { transform: skewX(calc(var(--skew) * -1)); }
.main-nav a small { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .06em; color: var(--m3); line-height: 1; transition: color .3s; }
.main-nav a span { white-space: nowrap; font-stretch: 125%; font-weight: 800; font-size: .84rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.main-nav a::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease); }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: -1; background: var(--m-grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active::before { transform: scaleY(1); }
.main-nav a.active { color: #fff; }
.main-nav a.active small { color: #fff; opacity: .6; }
.nav-cta { margin-left: 10px; }

/* Burger: drei M-Streifen */
.burger { display: none; width: 52px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; z-index: 2; }
.burger span { position: absolute; right: 8px; height: 4px; transform: skewX(var(--skew)); transition: width .4s var(--ease), transform .45s var(--ease), top .45s var(--ease), background .3s; }
.burger span:nth-child(1) { top: 12px; width: 34px; background: var(--m1); }
.burger span:nth-child(2) { top: 20px; width: 26px; background: var(--m2); }
.burger span:nth-child(3) { top: 28px; width: 18px; background: var(--m3); }
.burger:hover span { width: 34px; }
.burger[aria-expanded="true"] span { width: 30px; background: #fff; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.site-header.menu-open { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.site-header.menu-open .brand-tag { color: var(--muted-light); border-color: var(--line-light); }

/* Vollbild-Menü */
.mobile-nav { position: fixed; inset: 0; z-index: 45; pointer-events: none; visibility: hidden; transition: visibility 0s .8s; }
.mobile-nav.open { pointer-events: auto; visibility: visible; transition-delay: 0s; }
.mn-sweep { position: absolute; inset: 0; overflow: hidden; }
.mn-sweep i { position: absolute; top: -10%; bottom: -10%; left: -30%; width: 160%; transform: translateX(-110%) skewX(var(--skew)); transition: transform .7s var(--ease); }
.mn-sweep i:nth-child(1) { background: var(--m1); }
.mn-sweep i:nth-child(2) { background: var(--m2); transition-delay: .07s; }
.mn-sweep i:nth-child(3) { background: var(--m3); transition-delay: .14s; }
.mn-sweep i:nth-child(4) { background: var(--slate); transition-delay: .21s; }
.mobile-nav.open .mn-sweep i { transform: translateX(0) skewX(var(--skew)); }
.mobile-nav:not(.open) .mn-sweep i { transition-delay: .2s; }
.mobile-nav:not(.open) .mn-sweep i:nth-child(4) { transition-delay: 0s; }
.mn-body {
  position: relative; height: 100%; overflow-y: auto; padding: calc(var(--header-h) + 20px) var(--gutter) 32px;
  display: flex; flex-direction: column; color: #fff;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; opacity: 0; transition: opacity .25s;
}
.mobile-nav.open .mn-body { opacity: 1; transition-delay: .45s; }
.mn-head { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); margin-bottom: 8px; }
.mn-list li { overflow: hidden; }
.mn-list a {
  position: relative; display: flex; align-items: baseline; gap: 18px; padding: 10px 0 12px 4px; text-decoration: none; isolation: isolate;
  font-stretch: 125%; font-weight: 800; font-size: clamp(1.7rem, 7.5vw, 3.6rem); letter-spacing: -.02em; line-height: 1.05; text-transform: uppercase;
  transform: translateY(110%) skewX(-8deg); transform-origin: left bottom; transition: transform .6s var(--ease), padding-left .35s var(--ease), color .3s;
}
.mn-list a span { transform: skewX(8deg); font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; color: var(--muted-light); min-width: 28px; }
.mn-list a::after { content: ""; position: absolute; left: 0; bottom: 6px; height: 5px; width: 0; background: var(--m-grad); transform: skewX(var(--skew)); transition: width .45s var(--ease); z-index: -1; }
.mn-list a:hover, .mn-list a:focus-visible { padding-left: 22px; }
.mn-list a:hover::after, .mn-list a:focus-visible::after { width: 140px; }
.mobile-nav.open .mn-list a { transform: skewX(-8deg); }
.mobile-nav.open .mn-list li:nth-child(1) a { transition-delay: .5s, 0s, 0s; }
.mobile-nav.open .mn-list li:nth-child(2) a { transition-delay: .55s, 0s, 0s; }
.mobile-nav.open .mn-list li:nth-child(3) a { transition-delay: .6s, 0s, 0s; }
.mobile-nav.open .mn-list li:nth-child(4) a { transition-delay: .65s, 0s, 0s; }
.mobile-nav.open .mn-list li:nth-child(5) a { transition-delay: .7s, 0s, 0s; }
.mobile-nav.open .mn-list li:nth-child(6) a { transition-delay: .75s, 0s, 0s; }
.mobile-nav.open .mn-list li:nth-child(7) a { transition-delay: .8s, 0s, 0s; }
.mn-foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-light); }
.mn-telemetry { display: flex; gap: 26px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.mn-telemetry b { text-transform: none; display: block; color: #fff; font-family: var(--f-body); font-stretch: 118%; font-size: 1.1rem; letter-spacing: 0; font-weight: 700; }
body.menu-lock { overflow: hidden; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--header-h); }
.hero-stage { position: relative; flex: 1 1 auto; min-height: 380px; }
.hero-word { position: absolute; left: 0; right: 0; top: 4%; z-index: 0; text-align: center; pointer-events: none; user-select: none; font-family: var(--f-display); font-stretch: 125%; font-weight: 700; line-height: .82; letter-spacing: -.02em; white-space: nowrap; font-size: 18vw; color: var(--ink); }
.hero-word span { display: inline-block; will-change: transform; }
.hero-canvas { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-canvas.ready { opacity: 1; }
.hero-canvas canvas { display: block; outline: none; }
.hero-fallback { position: absolute; z-index: 1; left: 50%; bottom: 4%; width: min(86%, 980px); transform: translateX(-50%); aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.hero-spin { position: absolute; inset: 6% 0 0; z-index: 1; display: flex; align-items: flex-end; justify-content: center; cursor: grab; touch-action: pan-y; user-select: none; }
.hero-spin img { max-height: 100%; width: auto; max-width: 92%; object-fit: contain; pointer-events: none; }
.hero-vertical { position: absolute; left: var(--gutter); bottom: 2%; z-index: 2; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero-hint { position: absolute; right: var(--gutter); bottom: 10%; z-index: 2; display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); pointer-events: none; transition: opacity .6s var(--ease); }
.hero-hint b { color: var(--ink); font-weight: 500; }
.hero-hint svg { animation: nudge 2.4s var(--ease) infinite; }
.hero-hint.gone { opacity: 0; }
@keyframes nudge { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.hero-free { position: absolute; right: var(--gutter); bottom: 0; z-index: 3; --btn-bg: rgba(220,216,207,.85); }
.hero-free[aria-pressed="true"] { --btn-bg: var(--ink); color: var(--paper); }
.hero-loading { position: absolute; left: 50%; top: 58%; z-index: 2; width: 120px; height: 3px; background: var(--line); transform: translateX(-50%) skewX(var(--skew)); overflow: hidden; transition: opacity .5s; }
.hero-loading span { position: absolute; inset: 0; background: var(--m-grad); animation: load 1.2s var(--ease) infinite; }
.hero-loading.done { opacity: 0; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.hero-copy { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; padding: 8px var(--gutter) 30px; max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero-title { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.3rem, 4.6vw, 4.8rem); line-height: .92; letter-spacing: -.025em; white-space: pre-line; }
.hero-text { font-size: .98rem; line-height: 1.6; color: var(--ink-2); margin-bottom: 22px; max-width: 62ch; }
.hero-copy .kicker { margin-bottom: 14px; }
.fact-bar { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--slate); color: #fff; margin: 0 var(--gutter) var(--gutter); clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
.fact-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--m-grad); }
.fact-bar > div { padding: 18px 24px; border-left: 1px solid var(--line-light); }
.fact-bar > div:first-child { border-left: 0; }
.fact-bar dt { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 4px; }
.fact-bar dd { font-stretch: 118%; font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.15; }

/* ---------- Sektionen ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 170px) 0; }
.dark { background: var(--ink); color: #eceae5; }
.slate { background: var(--slate); color: #eceae5; }
.paper-2 { background: var(--paper-2); }

.js .rv { opacity: 0; transform: translateY(38px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-img { clip-path: inset(12% 0 12% 0); transition: clip-path 1.4s var(--ease); }
.js .rv-img img { transform: scale(1.15); transition: transform 1.8s var(--ease); }
.js .rv-img.in { clip-path: inset(0 0 0 0); }
.js .rv-img.in img { transform: scale(1); }

/* Projekt */
.project-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 88vh; max-width: var(--maxw); margin: 0 auto; }
.project-copy { position: relative; padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px) clamp(40px, 6vw, 96px) calc(var(--gutter) + 56px); display: flex; flex-direction: column; justify-content: center; }
.vlabel { position: absolute; left: var(--gutter); top: clamp(40px, 6vw, 96px); writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.vlabel::before { content: ""; width: 1px; height: 64px; background: var(--ink); }
.project-copy .display { margin-bottom: clamp(28px, 4vw, 48px); }
.project-copy p:not(.kicker) { max-width: 52ch; color: var(--ink-2); }
.project-media { position: relative; background: var(--slate); overflow: hidden; min-height: 420px; }
.project-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; padding: 24px; color: #fff; background: linear-gradient(0deg, rgba(10,12,16,.7), transparent); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.big-quote { max-width: var(--maxw); margin: clamp(60px, 9vw, 140px) auto 0; padding: 0 var(--gutter); font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.big-quote::before { content: ""; display: block; width: 72px; height: 6px; margin-bottom: 28px; background: var(--m-grad); transform: skewX(var(--skew)); }

/* ---------- Rollende Felge: Text wird hinter dem Reifen freigelegt ---------- */
.roll-band { position: relative; height: 260px; overflow: hidden; }
.roll-line { position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: var(--ink); opacity: .5; }
.roll-reveal { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 0; padding: 0 var(--gutter); pointer-events: none; clip-path: inset(-200px var(--clip, 100%) -20px 0); }
.roll-text { transform: skewX(-10deg); transform-origin: left bottom; display: inline-block; white-space: nowrap; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 100px; line-height: 1.04; letter-spacing: -.03em; text-transform: uppercase; }
.roll-text .rl { display: inline; }
.roll-text.two .rl { display: block; width: max-content; }
.roll-reveal em { font-style: inherit; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.roll-skid { position: absolute; left: 0; bottom: 18px; height: 4px; width: var(--skid, 0px); background: repeating-linear-gradient(90deg, rgba(22,25,30,.5) 0 10px, transparent 10px 15px); }
.roll-wheel { position: absolute; left: 0; bottom: 18px; z-index: 2; width: clamp(130px, 17vw, 230px); aspect-ratio: 1; will-change: transform; }
.roll-wheel svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 14px 14px rgba(0,0,0,.25)); }
.spin { transform-box: fill-box; transform-origin: center; }

/* Wertstatt */
.wertstatt-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 7vw, 100px); }
.wertstatt-logo { width: 100%; max-width: 720px; height: auto; filter: invert(1); }
.wertstatt-head .display-sm { color: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 96px); padding-top: 40px; border-top: 1px solid var(--line-light); }
.two-col p { color: #c9c9c4; }
.two-col p + p { margin-top: 0; }

/* Fahrzeug */
.vehicle-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.vehicle-stage { position: relative; max-width: var(--maxw); margin: clamp(30px, 5vw, 60px) auto 0; padding: 0 var(--gutter); }
.vehicle-big { position: absolute; left: 0; right: 0; top: -0.02em; text-align: center; z-index: 0; pointer-events: none; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(6rem, 25vw, 24rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(22,25,30,.42); white-space: nowrap; will-change: transform; }
.vehicle-img { position: relative; z-index: 1; width: min(100%, 1100px); margin: clamp(60px, 9vw, 150px) auto 0; aspect-ratio: 16/9; overflow: hidden; }
.vehicle-img img { width: 100%; height: 100%; object-fit: cover; }
.spec-bar { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1100px; margin: -48px auto 0; background: var(--slate); color: #fff; width: calc(100% - 2 * var(--gutter)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.spec-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--m-grad); }
.spec-bar > div { padding: 22px 26px; border-left: 1px solid var(--line-light); }
.spec-bar > div:first-child { border-left: 0; }
.spec-bar dt { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 6px; }
.spec-bar dd { font-stretch: 118%; font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.5rem); line-height: 1.15; }

/* Fahrendes Auto */
.drive-band { position: relative; height: clamp(220px, 30vw, 400px); overflow: hidden; }
.drive-word { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-62%) skewX(-10deg); text-align: center; white-space: nowrap; pointer-events: none; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(4rem, 15vw, 15rem); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px rgba(22,25,30,.22); }
.drive-car { position: absolute; left: 0; bottom: 16%; width: clamp(300px, 46vw, 680px); will-change: transform; }
.drive-car .car-svg { width: 100%; height: auto; display: block; overflow: visible; }
.drive-band[data-dir="1"] .drive-car .car-svg { transform: scaleX(-1); }
.drive-road { position: absolute; left: 0; right: 0; bottom: calc(16% - 1px); height: 1px; background: currentColor; opacity: .3; }

/* ---------- Zeitstrahl ---------- */
.tl-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(60px, 8vw, 110px); }
.tl-head .lead { color: var(--ink-2); max-width: 52ch; }
.timeline { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); --axis: 50%; }
.tl-axis { position: absolute; top: 0; bottom: 0; left: var(--axis); width: 2px; background: var(--line); transform: translateX(-1px); }
.tl-progress { position: absolute; top: 0; left: var(--axis); width: 14px; height: 100%; transform: translateX(-50%); display: flex; justify-content: space-between; }
.tl-progress i { width: 3px; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); }
.tl-progress i:nth-child(1) { background: var(--m1); }
.tl-progress i:nth-child(2) { background: var(--m2); }
.tl-progress i:nth-child(3) { background: var(--m3); }
.tl-tip { position: absolute; left: var(--axis); top: 0; width: 46px; height: 46px; transform: translate(-50%, calc(var(--py, 0px) - 50%)); z-index: 3; }
.tl-tip svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 150px 1fr; align-items: start; padding-bottom: clamp(80px, 10vw, 140px); }
.tl-item:last-of-type { padding-bottom: 0; }
/* Knoten: schräge Startnummern-Plakette mit Papierrand, klar abgesetzt von den drei Linien */
.tl-node {
  grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 2; margin-top: 2px;
  width: 80px; height: 46px; display: grid; place-items: center;
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink);
  transform: skewX(var(--skew)); box-shadow: 0 0 0 8px var(--paper);
  transition: color .4s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
  overflow: hidden; isolation: isolate;
}
.tl-node::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); }
.tl-node::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--m-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) .15s; }
.tl-node b { transform: skewX(calc(var(--skew) * -1)); font-stretch: 125%; font-weight: 900; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1; }
.tl-node small { position: absolute; top: 4px; left: 9px; font-family: var(--f-mono); font-size: .5rem; letter-spacing: .1em; opacity: .65; transform: skewX(calc(var(--skew) * -1)); }
.tl-item.on .tl-node { color: #fff; transform: skewX(var(--skew)) scale(1.08); box-shadow: 0 0 0 8px var(--paper), 0 16px 28px -10px rgba(0,0,0,.45); }
.tl-item.on .tl-node::before { transform: none; }
.tl-item.on .tl-node::after { transform: scaleX(1); }
.tl-item::before { content: ""; position: absolute; top: 24px; height: 2px; width: 40px; background: var(--ink); transform: scaleX(0); transition: transform .5s var(--ease) .1s; }
.tl-item.l::before { right: calc(50% + 50px); transform-origin: right; }
.tl-item.r::before { left: calc(50% + 50px); transform-origin: left; }
.tl-item.on::before { transform: scaleX(1); }
.tl-card { grid-row: 1; }
.tl-num { grid-row: 1; transform: skewX(-10deg); font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(4rem, 9vw, 8.5rem); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(22,25,30,.2); transition: -webkit-text-stroke-color .6s; }
.tl-item.on .tl-num { -webkit-text-stroke-color: var(--ink); }
.tl-item.l .tl-card { grid-column: 1; text-align: right; }
.tl-item.l .tl-num { grid-column: 3; }
.tl-item.r .tl-card { grid-column: 3; }
.tl-item.r .tl-num { grid-column: 1; text-align: right; }
.tl-label { display: inline-block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--m3); padding: 3px 10px; transform: skewX(var(--skew)); margin-bottom: 14px; }
.tl-card h3 { font-stretch: 125%; font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 14px; }
.tl-card p { color: var(--ink-2); max-width: 46ch; }
.tl-item.l .tl-card p { margin-left: auto; }
.tl-card .ph { margin-top: 24px; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); }
.tl-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.js .tl-card { opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .tl-item.l .tl-card { transform: translateX(-50px); }
.js .tl-item.r .tl-card { transform: translateX(50px); }
.js .tl-item.on .tl-card { opacity: 1; transform: none; }
.tl-finish { position: relative; z-index: 2; display: flex; justify-content: center; padding-top: clamp(50px, 7vw, 90px); }
.tl-flag { width: 92px; height: 56px; border: 2px solid var(--ink); transform: skewX(var(--skew)); box-shadow: 0 0 0 8px var(--paper); background: conic-gradient(var(--ink) 25%, #fff 0 50%, var(--ink) 0 75%, #fff 0) 0 0 / 22px 22px; }

/* Event */
.event { overflow: hidden; }
.event-year { position: absolute; right: -0.06em; top: clamp(30px, 5vw, 80px); pointer-events: none; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(7rem, 30vw, 30rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.12); will-change: transform; }
.event-grid { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px clamp(40px, 6vw, 100px); align-items: center; }
.event-img { aspect-ratio: 4/3; overflow: hidden; }
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.event-copy .display span { display: block; color: transparent; -webkit-text-stroke: 1.5px #eceae5; }
.event-copy p:not(.kicker) { color: #c9c9c4; margin-top: 28px; max-width: 48ch; }

/* Unterstützen */
.support-head { margin-bottom: clamp(40px, 6vw, 80px); }
.support-head .display { max-width: 14ch; }
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.support-grid li { padding: 28px 28px 36px 0; border-right: 1px solid var(--line); }
.support-grid li + li { padding-left: 28px; }
.support-grid li:last-child { border-right: 0; }
.support-grid .num { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); display: block; margin-bottom: 40px; }
.support-grid h3 { font-stretch: 118%; font-weight: 750; font-size: 1.3rem; line-height: 1.15; margin-bottom: 12px; }
.support-grid p { color: var(--ink-2); font-size: .98rem; }
.support-highlight { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; margin-top: clamp(40px, 5vw, 64px); background: var(--ink); color: #fff; padding: clamp(24px, 3.4vw, 44px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.support-highlight .mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.support-highlight p { font-stretch: 112%; font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.6rem); line-height: 1.25; }
.support-highlight .btn { white-space: nowrap; }

/* T-Shirt */
.shirt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(40px, 7vw, 120px); align-items: center; }
.shirt-img { background: #f3f2ee; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.shirt-img img { width: 78%; height: auto; mix-blend-mode: multiply; transition: transform 1s var(--ease); }
.shirt-img:hover img { transform: scale(1.04) rotate(-1deg); }
.shirt-copy .display-sm { margin-bottom: 20px; }
.shirt-copy p:not(.kicker) { color: var(--ink-2); margin-bottom: 30px; max-width: 44ch; }

/* Partner */
.partners { background: #f3f2ee; padding-bottom: clamp(60px, 8vw, 120px); }
.marquee { overflow: hidden; margin: clamp(30px, 5vw, 60px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { transform: skewX(-8deg); font-stretch: 125%; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.6rem); letter-spacing: -.02em; white-space: nowrap; padding: 0 .55em; }
.marquee-track span::after { content: "/"; padding-left: 1.1em; color: var(--m3); font-weight: 900; }
.marquee-track span:nth-child(3n+1)::after { color: var(--m1); }
.marquee-track span:nth-child(3n+2)::after { color: var(--m2); }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-strip { background: #fff; padding: clamp(14px, 2vw, 28px); box-shadow: 0 1px 0 var(--line); }
.logo-strip img { width: 100%; height: auto; }

/* Footer */
.site-footer { background: var(--ink); color: #c9c9c4; padding: clamp(60px, 8vw, 110px) 0 32px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--m-grad); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.footer-big { display: inline-block; transform: skewX(-8deg); transform-origin: left bottom; font-stretch: 125%; font-weight: 900; font-size: clamp(2.4rem, 7vw, 6.4rem); line-height: .9; letter-spacing: -.04em; color: #fff; }
.footer-logos { display: flex; gap: 28px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.footer-logos .partner { height: 56px; width: auto; }
.footer-logos .net { height: 120px; width: auto; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: .88rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.noscript { padding: 20px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1300px) {
  .main-nav, .nav-cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 1180px) {
  .support-grid { grid-template-columns: 1fr 1fr; }
  .support-grid li:nth-child(2) { border-right: 0; }
  .support-grid li:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .support-grid li:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand-tag { display: none; }
  .brand img { height: 40px; }
  .hero-stage { flex: none; height: 44svh; min-height: 300px; max-height: 480px; }
  .hero-copy { grid-template-columns: 1fr; padding-bottom: 24px; }
  .hero-vertical { display: none; }
  .hero-hint { bottom: 10px; left: var(--gutter); right: auto; white-space: nowrap; }
  .fact-bar, .spec-bar { grid-template-columns: 1fr 1fr; }
  .fact-bar > div:nth-child(3), .spec-bar > div:nth-child(3) { border-left: 0; }
  .fact-bar > div:nth-child(n+3), .spec-bar > div:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .spec-bar { margin-top: -24px; }
  .project-grid { grid-template-columns: 1fr; min-height: 0; }
  .project-copy { padding: 0 var(--gutter) 48px; }
  .vlabel { display: none; }
  .project-media { aspect-ratio: 4/3; min-height: 0; }
  .wertstatt-head, .two-col, .event-grid, .shirt-grid, .footer-top, .tl-head { grid-template-columns: 1fr; }
  .support-highlight { grid-template-columns: 1fr; }
  .footer-logos { justify-content: flex-start; }
  .timeline { --axis: calc(var(--gutter) + 27px); }
  .tl-item { grid-template-columns: 62px 1fr; gap: 0 20px; }
  .tl-node { grid-column: 1; justify-self: center; width: 54px; height: 34px; box-shadow: 0 0 0 6px var(--paper); }
  .tl-item.on .tl-node { box-shadow: 0 0 0 6px var(--paper), 0 12px 20px -10px rgba(0,0,0,.45); }
  .tl-node b { font-size: .95rem; }
  .tl-node small { display: none; }
  .tl-item.l .tl-card, .tl-item.r .tl-card { grid-column: 2; text-align: left; }
  .tl-item.l .tl-card p { margin-left: 0; }
  .tl-item::before, .tl-num { display: none; }
  .js .tl-item.l .tl-card, .js .tl-item.r .tl-card { transform: translateY(30px); }
  .tl-tip { width: 34px; height: 34px; }
  .tl-finish { justify-content: flex-start; padding-left: 0; }
  .tl-flag { width: 54px; height: 34px; background-size: 13px 13px; margin-left: 4px; }
}
@media (max-width: 560px) {
  .support-grid { grid-template-columns: 1fr; }
  .support-grid li, .support-grid li + li { padding: 24px 0 28px; border-right: 0; border-top: 1px solid var(--line); }
  .support-grid li:first-child { border-top: 0; }
  .support-grid .num { margin-bottom: 14px; }
  .fact-bar > div, .spec-bar > div { padding: 14px 16px; }
  .btn-row .btn { flex: 1 1 auto; }
  .drive-car { width: 88vw; }
  .hero-hint > span > span { display: none; }
  .logo-strip { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .logo-strip img { width: 880px; max-width: none; }
  .mn-telemetry { gap: 18px; }
}

/* ---------- M3-Lookalike-Logo im Hero-Hintergrund ---------- */
.hero-logo { position: absolute; left: 0; right: 0; top: 0; z-index: 0; display: flex; justify-content: center; pointer-events: none; color: #a8262d; will-change: transform; }
.hero-logo .m3-logo, .hero-logo img { width: min(64vw, 920px); height: auto; max-height: 44vh; display: block; }
.hero-logo .m3-logo { opacity: .95; }

/* ---------- Veranstaltungen ---------- */
.events { overflow: hidden; }
.events-year { position: absolute; right: -0.06em; top: clamp(30px, 5vw, 80px); pointer-events: none; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(7rem, 30vw, 30rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.1); will-change: transform; transform: skewX(-8deg); }
.events-head { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.events-head p:not(.kicker) { color: #c9c9c4; max-width: 50ch; }
.year-tabs { position: relative; display: flex; gap: 6px; margin-bottom: 34px; border-bottom: 1px solid var(--line-light); }
.year-tab { position: relative; background: none; border: 0; color: var(--muted-light); cursor: pointer; padding: 10px 26px 14px; font-stretch: 125%; font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2.4rem); letter-spacing: -.02em; transform: skewX(var(--skew)); transition: color .3s; }
.year-tab span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
.year-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--m-grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.year-tab:hover { color: #fff; }
.year-tab[aria-selected="true"] { color: #fff; }
.year-tab[aria-selected="true"]::after { transform: scaleX(1); }
.year-panel { position: relative; display: grid; gap: 18px; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.ev-card { position: relative; display: grid; grid-template-columns: 1fr; background: var(--slate-2, #313a47); color: #fff; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); }
.ev-card.has-img { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.ev-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--m-grad); background: linear-gradient(180deg, var(--m1) 0 33.4%, var(--m2) 33.4% 66.7%, var(--m3) 66.7%); z-index: 1; }
.ev-img { aspect-ratio: 16/10; overflow: hidden; }
.ev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ev-card:hover .ev-img img { transform: scale(1.04); }
.ev-body { padding: clamp(22px, 3vw, 40px) clamp(22px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; }
.ev-date { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.ev-date span { background: var(--m3); padding: 3px 10px; transform: skewX(var(--skew)); }
.ev-date em { font-style: normal; color: var(--muted-light); }
.ev-body h3 { font-stretch: 125%; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -.02em; }
.ev-body p:not(.ev-date) { color: #c9c9c4; max-width: 52ch; }
.ev-num { position: absolute; right: 22px; bottom: 14px; font-family: var(--f-mono); font-size: .72rem; color: var(--muted-light); }

/* ---------- Sponsoren-Raster ---------- */
.partners-head p:not(.kicker) { color: var(--ink-2); margin-top: 16px; max-width: 56ch; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.sponsor-grid li > a, .sponsor-grid li > div {
  position: relative; display: grid; place-items: center; height: 120px; padding: 16px 20px; background: #fff; text-decoration: none; overflow: hidden; isolation: isolate;
  box-shadow: 0 1px 0 var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.sponsor-grid li > a::after, .sponsor-grid li > div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--m-grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.sponsor-grid li > a:hover, .sponsor-grid li > div:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.45); }
.sponsor-grid li > a:hover::after, .sponsor-grid li > div:hover::after { transform: scaleX(1); }
.sponsor-grid img { max-width: 100%; max-height: 82px; width: auto; height: auto; object-fit: contain; }
.wordmark { font-stretch: 125%; font-weight: 900; font-size: 1.05rem; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; text-align: center; color: var(--ink); transform: skewX(-8deg); }

/* ---------- Unterseiten ---------- */
.subpage { padding-top: var(--header-h); }
.page-hero { padding: clamp(60px, 9vw, 130px) 0 clamp(40px, 6vw, 80px); }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.page-lead { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--ink-2); margin-top: 28px; max-width: 48ch; }
.page-logo { width: 100%; max-width: 380px; justify-self: center; filter: drop-shadow(0 20px 30px rgba(0,0,0,.2)); }
.narrow { max-width: 900px; }
.page-text { padding-top: 0; }
.page-text p { font-size: 1.1rem; color: var(--ink-2); }
.history { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line-light); }
.history li { display: grid; grid-template-columns: 200px 1fr; gap: 20px 40px; padding: 30px 0; border-bottom: 1px solid var(--line-light); }
.h-year { font-stretch: 125%; font-weight: 900; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px #fff; transform: skewX(-8deg); }
.history h3 { font-stretch: 118%; font-weight: 800; font-size: 1.4rem; margin-bottom: 8px; }
.history p { color: #c9c9c4; max-width: 60ch; }
.project-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.pc { display: flex; flex-direction: column; background: #fff; text-decoration: none; color: inherit; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
a.pc:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.5); }
.pc-img { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-empty { background: repeating-linear-gradient(-45deg, var(--paper-2) 0 14px, var(--paper) 14px 28px); }
.pc-body { padding: 22px 24px 26px; }
.pc-year { display: inline-block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; color: #fff; background: var(--ink); padding: 2px 9px; transform: skewX(var(--skew)); margin-bottom: 12px; }
.pc-body h3 { font-stretch: 118%; font-weight: 800; font-size: 1.35rem; line-height: 1.1; margin-bottom: 8px; }
.pc-body p { color: var(--ink-2); }
.legal { padding-top: 0; }
.legal-block { padding: 26px 0; border-top: 1px solid var(--line); }
.legal-block h2 { font-stretch: 118%; font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; }
.legal-block p { color: var(--ink-2); }

@media (max-width: 860px) {
  .hero-logo .m3-logo, .hero-logo img { width: 92vw; }
  .events-head, .page-hero-grid { grid-template-columns: 1fr; }
  .ev-card.has-img { grid-template-columns: 1fr; }
  .history li { grid-template-columns: 1fr; gap: 8px; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sponsor-grid li > a, .sponsor-grid li > div { height: 96px; padding: 12px; }
  .sponsor-grid img { max-height: 62px; }
  .page-logo { max-width: 220px; justify-self: start; }
}


/* ---------- Über uns: Zusatzblöcke ---------- */
.two-col-light { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 90px); }
.two-col-light p { color: var(--ink-2); font-size: 1.05rem; }
.two-col-light p + p { margin-top: 0; }
.about-text .big-quote { padding: 0; }
.values { margin-top: 36px; }
.mission { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px clamp(40px, 6vw, 90px); align-items: center; }
.mission .display-sm { color: #fff; margin-bottom: 28px; }
.mission-list li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line-light); color: #d6d6d1; }
.mission-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 18px; height: 4px; background: var(--m-grad); transform: skewX(var(--skew)); }
.mission-img { aspect-ratio: 4/3; overflow: hidden; }
.mission-img img { width: 100%; height: 100%; object-fit: cover; }
.about-net { display: grid; grid-template-columns: 1fr 1fr; gap: 50px clamp(40px, 6vw, 90px); align-items: start; }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.channels li { background: #fff; padding: 18px 20px; }
.channels b { display: block; font-stretch: 125%; font-weight: 800; font-size: 1.15rem; margin-bottom: 4px; }
.channels a { text-decoration: none; }
.channels p { color: var(--ink-2); font-size: .95rem; }
.net-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.net-tags li { font-stretch: 112%; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; padding: 7px 14px; border: 1.5px solid var(--ink); transform: skewX(var(--skew)); }
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; align-items: end; }
.contact-box .display-sm { color: #fff; }
.contact-lines { display: flex; flex-direction: column; gap: 10px; }
.contact-lines a { color: #fff; text-decoration: none; font-stretch: 112%; font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.5rem); word-break: break-all; border-bottom: 2px solid transparent; width: fit-content; transition: border-color .3s; }
.contact-lines a:hover { border-color: var(--m3); }
.footer-art { width: 100%; max-width: 620px; height: auto; }
@media (max-width: 860px) {
  .two-col-light, .mission, .about-net, .contact-box, .channels { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .rv-img, .js .rv-img img, .js .tl-card { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none; }
  .marquee-track, .hero-hint svg, .hero-loading span { animation: none; }
  .roll-reveal { clip-path: none; }
}

/* ---------- Video ---------- */
.video-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.video-head p { max-width: 52ch; }
.video-frame { position: relative; aspect-ratio: 16 / 9; max-width: 1100px; margin-inline: auto; background: #111; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.video-frame::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; z-index: 2; background: linear-gradient(90deg, var(--m1) 0 33.3%, var(--m2) 33.3% 66.6%, var(--m3) 66.6%); }
.video-frame > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(.9); transition: transform .6s ease, filter .4s; }
.video-frame:hover > img { transform: scale(1.03); filter: brightness(.5); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; left: 50%; top: 50%; width: clamp(72px, 9vw, 112px); aspect-ratio: 1; translate: -50% -50%; border: 0; cursor: pointer; color: #fff;
  background: var(--m3); transform: skewX(-12deg); display: grid; place-items: center; transition: background .25s, scale .25s; }
.video-play svg { width: 46%; transform: skewX(12deg); }
.video-play:hover, .video-play:focus-visible { background: var(--m2); scale: 1.06; }
.video-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 16px; font-size: 12px; color: rgba(255,255,255,.75); background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.video-note a { color: #fff; }
.video-cap { max-width: 1100px; margin: 12px auto 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
@media (max-width: 860px) { .video-head { grid-template-columns: 1fr; } .video-note { font-size: 11px; } }

/* ---------- Kontaktseite ---------- */
.contact-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.cc-person { display: flex; gap: clamp(18px, 3vw, 32px); align-items: center; }
.cc-person .display-sm { color: #fff; margin: 0; }
.cc-img, .cc-initials { width: clamp(96px, 12vw, 150px); aspect-ratio: 1; flex: none; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.cc-initials { display: grid; place-items: center; font-weight: 900; font-stretch: 125%; font-size: clamp(2rem, 4vw, 3.2rem); color: #fff;
  background: linear-gradient(135deg, var(--m1) 0 33%, var(--m2) 33% 66%, var(--m3) 66%); }
.cc-role { margin: 8px 0 0; color: rgba(255,255,255,.7); }
.cc-actions { display: flex; flex-direction: column; gap: 14px; }
.cc-line { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; }
.cc-line .mono { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cc-line b { font-stretch: 112%; font-size: clamp(1.15rem, 2.2vw, 1.7rem); word-break: break-word; transition: color .25s; }
.cc-line:hover b { color: var(--m1); }
.cc-actions .btn-row { margin-top: 10px; }
.cc-mail { color: #fff; border-color: rgba(255,255,255,.6); }
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; } }

/* ---------- Showroom-Hero (echtes Video, 360°) ---------- */
.showroom { position: absolute; inset: 0; z-index: 2; overflow: hidden; background: #0f0d0c;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.showroom::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 5; background: var(--m-grad); }
.showroom canvas { display: block; outline: none; }
.showroom canvas:focus-visible { outline: 2px solid var(--m1); outline-offset: -4px; }
.sr-bars i { position: absolute; left: 0; right: 0; height: 50%; background: #0f0d0c; z-index: 3; transition: transform 1.5s cubic-bezier(.75,0,.15,1); pointer-events: none; }
.sr-bars i:first-child { top: 0; } .sr-bars i:last-child { bottom: 0; }
.showroom.open .sr-bars i:first-child { transform: translateY(-88%); }
.showroom.open .sr-bars i:last-child { transform: translateY(88%); }
.showroom.open.settled .sr-bars i:first-child { transform: translateY(-100%); }
.showroom.open.settled .sr-bars i:last-child { transform: translateY(100%); }
.sr-hud { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 4; display: flex; align-items: center; gap: 14px; pointer-events: none;
  opacity: 0; transform: translateY(10px); transition: opacity .8s 1.2s, transform .8s 1.2s; }
.showroom.open .sr-hud { opacity: 1; transform: none; }
.sr-dial { position: relative; width: 64px; height: 64px; flex: none; }
.sr-dial svg { width: 100%; height: 100%; overflow: visible; }
.sr-ring { fill: rgba(0,0,0,.35); stroke: rgba(255,255,255,.2); stroke-width: 1.5; }
.sr-arc { fill: none; stroke: var(--m3); stroke-width: 2.5; transform: rotate(-90deg); stroke-dasharray: 0 360; }
.sr-ticks line { stroke: rgba(255,255,255,.45); stroke-width: 1; }
.sr-car { fill: #fff; }
.sr-deg { position: absolute; left: 50%; top: calc(100% + 5px); translate: -50% 0; font: 500 10px/1 var(--f-mono); letter-spacing: .1em; color: #fff; }
.sr-call { display: grid; gap: 4px; padding: 9px 18px 9px 12px; background: rgba(15,13,12,.72); backdrop-filter: blur(6px); color: #fff;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); border-left: 3px solid var(--m3); opacity: 0; transform: translateX(-12px); transition: opacity .35s, transform .35s; }
.sr-call.on { opacity: 1; transform: none; }
.sr-call-k { font: 500 10px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.sr-call-t { font-weight: 800; font-stretch: 115%; font-size: 14px; }
.sr-rec { position: absolute; top: 18px; left: 18px; z-index: 4; display: flex; gap: 8px; align-items: center; font: 500 10px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); pointer-events: none; }
.sr-rec::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--m3); animation: rec 1.6s infinite; }
@keyframes rec { 50% { opacity: .2; } }

/* Layout: Panel rechts, Text links */
.hero-showroom .hero-canvas, .hero-showroom .hero-logo, .hero-showroom .hero-vertical, .hero-showroom .hero-fallback { display: none; }
.hero-showroom .hero-hint { color: rgba(255,255,255,.8); right: 18px; bottom: auto; top: 16px; z-index: 5; }
.hero-showroom .hero-hint b { color: #fff; }
@media (min-width: 861px) {
  .hero-showroom .hero { display: grid; grid-template-columns: minmax(0, 1fr) min(48vw, calc((100svh - var(--header-h) - 150px) * .8)); grid-template-rows: 1fr auto;
    column-gap: clamp(28px, 4vw, 72px); padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero-showroom .hero-stage { grid-column: 2; grid-row: 1; min-height: 0; aspect-ratio: 4 / 5; align-self: center; margin: 12px 0 18px; }
  .hero-showroom .hero-copy { grid-column: 1; grid-row: 1; grid-template-columns: 1fr; align-self: center; padding: 0; gap: 28px; }
  .hero-showroom .hero-title { font-size: clamp(2.6rem, 5.4vw, 6rem); }
  .hero-showroom .fact-bar { grid-column: 1 / -1; margin: 0 0 var(--gutter); }
}
@media (max-width: 860px) {
  .hero-showroom .hero-stage { height: auto; max-height: none; min-height: 0; aspect-ratio: 4 / 5; margin: 6px var(--gutter) 18px; }
  .sr-hud { left: 12px; right: 12px; bottom: 12px; gap: 10px; }
  .sr-dial { width: 50px; height: 50px; }
  .sr-call { padding: 7px 14px 7px 10px; } .sr-call-t { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .sr-bars { display: none; } }
@media (max-width: 860px) { .hero-showroom .hero-hint { left: auto; right: 14px; top: 14px; bottom: auto; } }

/* ---------- Sponsoren: klickbar + Infofeld ---------- */
.sponsor-grid .sp-tile { position: relative; width: 100%; height: 120px; display: grid; place-items: center; padding: 16px 16px 26px; background: #fff; border: 1px solid var(--line); cursor: pointer; font: inherit; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.sponsor-grid .sp-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--m-grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.sponsor-grid .sp-tile:hover, .sponsor-grid .sp-tile:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.45); border-color: var(--ink); outline: none; }
.sponsor-grid .sp-tile:hover::after, .sponsor-grid .sp-tile:focus-visible::after { transform: scaleX(1); }
.sponsor-grid .sp-tile img { max-height: 70px; }
.sp-plus { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; line-height: 1;
  transform: skewX(var(--skew)); transition: background .25s, transform .3s; }
.sp-tile:hover .sp-plus { background: var(--m3); transform: skewX(var(--skew)) rotate(90deg); }
.sp-name { position: absolute; left: 10px; right: 36px; bottom: 7px; font: 500 10px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-hint { margin-top: 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--m3); }
.sp-dialog { padding: 0; border: 0; background: transparent; max-width: min(720px, calc(100vw - 32px)); width: 100%; }
.sp-dialog::backdrop { background: rgba(15,13,12,.72); backdrop-filter: blur(4px); }
.sp-dialog[open] .sp-card { animation: spIn .35s var(--ease); }
@keyframes spIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.sp-card { position: relative; display: grid; grid-template-columns: 240px 1fr; background: var(--paper); color: var(--ink); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.sp-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--m-grad); }
.sp-logo { background: #fff; display: grid; place-items: center; padding: 28px; min-height: 220px; }
.sp-logo img { max-width: 100%; max-height: 150px; object-fit: contain; }
.sp-logo .wordmark { font-weight: 900; font-stretch: 120%; font-size: 1.6rem; text-align: center; }
.sp-body { padding: 30px 30px 22px; display: flex; flex-direction: column; gap: 12px; }
.sp-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--m3); }
.sp-body h3 { font-family: var(--f-display); font-stretch: 120%; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1; }
.sp-body .btn { align-self: flex-start; margin-top: 4px; }
.sp-nav { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; }
.sp-nav button { border: 1px solid var(--ink); background: transparent; width: 36px; height: 30px; cursor: pointer; font-size: 16px; transform: skewX(var(--skew)); }
.sp-nav button:hover { background: var(--ink); color: #fff; }
.sp-close { position: absolute; top: 10px; right: 30px; z-index: 2; border: 0; background: var(--ink); color: #fff; width: 34px; height: 34px; font-size: 22px; cursor: pointer; }
.sp-close:hover { background: var(--m3); }
@media (max-width: 600px) { .sp-card { grid-template-columns: 1fr; } .sp-logo { min-height: 150px; } .sponsor-grid .sp-tile { height: 100px; } .sp-body { padding: 22px 20px 18px; } }

/* Klarer Fahrzeugname im Startbereich */
.hero-showroom .hero-title { font-size: clamp(3rem, 7vw, 7.4rem); line-height: .86; }
@media (max-width: 860px) { .hero-showroom .hero-title { font-size: clamp(2.8rem, 13vw, 4.4rem); } }
.sr-load { position: absolute; left: 50%; bottom: 46%; z-index: 6; width: 160px; translate: -50% 0; text-align: center; color: rgba(255,255,255,.7); font: 500 10px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; transition: opacity .5s; pointer-events: none; }
.sr-load i { display: block; height: 3px; margin-top: 10px; background: rgba(255,255,255,.15); }
.sr-load i b { display: block; height: 100%; width: 0; background: var(--m-grad); transition: width .2s; }
.sr-load.done { opacity: 0; }

/* ---------- Cinemascope-Hero (überschreibt das Panel-Layout) ---------- */
.hero-showroom .hero { display: flex; flex-direction: column; padding-left: 0; padding-right: 0; }
.hero-showroom .hero-stage { order: 0; width: 100%; aspect-ratio: 1920 / 804; max-height: 64svh; min-height: 0; margin: 0; flex: none; align-self: stretch; }
.hero-showroom .showroom { clip-path: none; }
.hero-showroom .hero-copy { order: 1; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 24px 64px; padding: 28px var(--gutter) 26px; align-self: stretch; }
.hero-showroom .fact-bar { order: 2; margin: 0 var(--gutter) var(--gutter); }
.hero-showroom .hero-title { font-size: clamp(3rem, 7.2vw, 7.6rem); }
.showroom.cine::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,13,12,.55) 0, rgba(15,13,12,0) 18%, rgba(15,13,12,0) 82%, rgba(15,13,12,.45) 100%); }
@media (max-width: 860px) {
  .hero-showroom .hero-stage { aspect-ratio: 1080 / 560; max-height: none; margin: 0; }
  .hero-showroom .hero-copy { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-showroom .hero-title { font-size: clamp(2.8rem, 13vw, 4.4rem); }
}
.showvideo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Hotspots am Auto ---------- */
.hs-layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .4s; }
.hs-layer.ready { opacity: 1; }
.hs-dot { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: none; opacity: 0; transition: opacity .35s; will-change: transform; }
.hs-dot.on { opacity: 1; pointer-events: auto; }
.hs-dot i { position: absolute; left: 5px; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 0 0 2px var(--m3), 0 4px 12px rgba(0,0,0,.45); }
.hs-dot i::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--m3); }
.hs-dot i::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); animation: hsPulse 2s infinite; }
@keyframes hsPulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hs-dot span { position: absolute; left: 34px; top: 4px; white-space: nowrap; padding: 4px 10px; background: rgba(15,13,12,.85); color: #fff; font: 700 12px/16px var(--f-body); letter-spacing: .02em;
  opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.hs-dot.flip span { left: auto; right: 34px; transform: translateX(6px); }
.hs-dot:hover span, .hs-dot:focus-visible span { opacity: 1; transform: none; }
.hs-dot:hover i::before, .hs-dot:focus-visible i::before { background: var(--m2); }
.hs-dot:focus-visible { outline: none; }
.hs-dot:focus-visible i { box-shadow: 0 0 0 3px var(--m1), 0 4px 12px rgba(0,0,0,.45); }
.sp-card.no-logo { grid-template-columns: 1fr; }
@media (max-width: 860px) { .hs-dot i { left: 3px; top: 3px; width: 26px; height: 26px; } .hs-dot i::before { inset: 8px; } }
@media (prefers-reduced-motion: reduce) { .hs-dot i::after { animation: none; } }

/* ---------- Event-Galerie ---------- */
.ev-img { position: relative; }
.ev-gal { position: absolute; left: 14px; bottom: 14px; z-index: 2; border: 0; cursor: pointer; padding: 10px 16px; background: rgba(15,13,12,.82); color: #fff; font: 700 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; transform: skewX(var(--skew)); transition: background .25s; }
.ev-gal .bi { display: inline-flex; gap: 10px; align-items: center; transform: skewX(calc(var(--skew) * -1)); }
.ev-gal:hover, .ev-gal:focus-visible { background: var(--m3); outline: none; }
.gal-dialog { padding: 0; border: 0; background: transparent; width: min(1200px, calc(100vw - 24px)); max-width: none; max-height: calc(100svh - 24px); }
.gal-dialog::backdrop { background: rgba(10,9,8,.92); }
.gal-wrap { position: relative; display: grid; gap: 12px; }
.gal-wrap figure { margin: 0; background: #000; }
.gal-wrap figure img { display: block; width: 100%; max-height: calc(100svh - 180px); object-fit: contain; }
.gal-wrap figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 10px 4px 0; color: #fff; background: transparent; }
.gal-wrap figcaption .mono { color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .12em; }
.gal-close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border: 0; background: var(--ink); color: #fff; font-size: 24px; cursor: pointer; }
.gal-close:hover { background: var(--m3); }
.gal-nav { position: absolute; top: calc((100svh - 180px) / 2 - 24px); z-index: 3; width: 48px; height: 48px; border: 0; background: rgba(15,13,12,.7); color: #fff; font-size: 22px; cursor: pointer; transform: skewX(var(--skew)); }
.gal-nav:hover { background: var(--m3); }
.gal-nav.prev { left: 10px; } .gal-nav.next { right: 10px; }
.gal-thumbs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.gal-thumbs button { flex: none; width: 84px; height: 60px; padding: 0; border: 2px solid transparent; background: #000; cursor: pointer; opacity: .55; }
.gal-thumbs button.on, .gal-thumbs button:hover { opacity: 1; border-color: var(--m3); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .gal-nav { top: 35%; width: 40px; height: 40px; } .gal-thumbs button { width: 64px; height: 46px; } }
.cc-img { width: clamp(150px, 20vw, 280px); }
@media (max-width: 600px) { .cc-person { flex-direction: column; align-items: flex-start; } .cc-img { width: 100%; max-width: 360px; } }
