/* Radhaus Schultz · Konzept B „Probefahrt“ · eine CSS-Datei */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
:root {
  --bg: #1b1e21;        /* Graphit */
  --bg-2: #22262a;
  --bg-3: #2a2f34;
  --deep: #121416;
  --text: #f2efe9;
  --muted: #b0b5bb;
  --frame: #ece8e0;     /* Rahmenlack, Kreideweiß */
  --metal: #b9bec4;
  --metal-2: #8a9198;
  --dark: #0d0f11;
  --part: #2b3035;
  --accent: #e2b51c;    /* Gelb aus dem alten Öffnungszeiten-Kasten */
  --accent-hi: #f0c63a;
  --accent-ink: #16181a;
  --blue: #004d91;      /* Markenblau */
  --blue-l: #6aa6e8;    /* Markenblau, aufgehellt für dunklen Grund */
  --logo-blue: var(--blue-l);
  --tile: var(--bg-2);             /* Werkstatt-Knöpfe */
  --tile-hover: var(--bg-3);
  --hover: var(--accent);          /* Link-Hover, Fokus, aktuelle Seite */
  --glow: #2a2f35;                 /* Studiolicht hinter dem Rad */
  --glow-0: rgba(42, 47, 53, 0);
  --chip: rgba(255, 255, 255, .06);
  --chip-hover: rgba(255, 255, 255, .12);
  --inv-bg: #f2efe9;               /* helle Marke auf dunklem Grund (Chip aktiv, Hotspot-Label) */
  --inv-fg: #16181a;
  --edge: rgba(255, 255, 255, .04);
  --drop: rgba(0, 0, 0, .35);
  --shadow-op: .38;
  --spot-ring: rgba(13, 15, 17, .55);
  --panel-rent: #20262c;
  --hill-far: #2a323a;
  --hill-near: #252b31;
  --vine: #33404a;
  --vig: #3a4148;  --vig-2: #4b535b;  --vig-3: #59616a;  --vig-line: #2b3035;  --vig-deep: #1d2125;  --vig-glass: #1b1f23;
  --ease: cubic-bezier(.16, 1, .3, 1);   /* expo-out */
  --gut: clamp(20px, 4.4vw, 72px);
  --gap: clamp(16px, 2vw, 32px);
  --title: clamp(2.5rem, calc(min(100vw, 1440px) * .062), 5.75rem);
  --body: 1.0625rem;
  color-scheme: dark;
}
/* Helles Theme: folgt dem System, der Umschalter (data-theme) hat Vorrang */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
  --bg: #eef0f2;
  --bg-2: #e2e6ea;
  --bg-3: #d6dbe0;
  --deep: #e5e8eb;
  --text: #14191e;
  --muted: #4f5760;
  --frame: #004d91;     /* Rahmen im hellen Modus in Markenblau */
  --logo-blue: var(--blue);
  --tile: #ffffff;
  --tile-hover: #f7f9fa;
  --hover: var(--blue);
  --glow: #ffffff;
  --glow-0: rgba(255, 255, 255, 0);
  --chip: rgba(20, 40, 60, .06);
  --chip-hover: rgba(20, 40, 60, .12);
  --inv-bg: #14191e;
  --inv-fg: #ffffff;
  --edge: rgba(0, 0, 0, .08);
  --drop: rgba(20, 30, 40, .16);
  --shadow-op: .16;
  --spot-ring: rgba(255, 255, 255, .8);
  --panel-rent: #dfe5ea;
  --hill-far: #ccd5dc;
  --hill-near: #c2ccd4;
  --vine: #a9b6c0;
  --vig: #b9c0c7;  --vig-2: #a5adb5;  --vig-3: #8f98a1;  --vig-line: #9aa2ab;  --vig-deep: #f6f8f9;  --vig-glass: #f6f8f9;
  color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #eef0f2;
  --bg-2: #e2e6ea;
  --bg-3: #d6dbe0;
  --deep: #e5e8eb;
  --text: #14191e;
  --muted: #4f5760;
  --frame: #004d91;     /* Rahmen im hellen Modus in Markenblau */
  --logo-blue: var(--blue);
  --tile: #ffffff;
  --tile-hover: #f7f9fa;
  --hover: var(--blue);
  --glow: #ffffff;
  --glow-0: rgba(255, 255, 255, 0);
  --chip: rgba(20, 40, 60, .06);
  --chip-hover: rgba(20, 40, 60, .12);
  --inv-bg: #14191e;
  --inv-fg: #ffffff;
  --edge: rgba(0, 0, 0, .08);
  --drop: rgba(20, 30, 40, .16);
  --shadow-op: .16;
  --spot-ring: rgba(255, 255, 255, .8);
  --panel-rent: #dfe5ea;
  --hill-far: #ccd5dc;
  --hill-near: #c2ccd4;
  --vine: #a9b6c0;
  --vig: #b9c0c7;  --vig-2: #a5adb5;  --vig-3: #8f98a1;  --vig-line: #9aa2ab;  --vig-deep: #f6f8f9;  --vig-glass: #f6f8f9;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--body)/1.55 "Schibsted Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  hyphens: auto; -webkit-hyphens: auto; overflow-x: clip;
}
body.menu-open { overflow: hidden; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--hover); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.grid > * { grid-column: 1 / -1; }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; flex: none; }

/* ---------- type ---------- */
.title { font-size: var(--title); line-height: .98; font-weight: 700; letter-spacing: -.035em; hyphens: manual; }
.h3 { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); line-height: 1.45; color: var(--text); max-width: 46ch; }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: color 160ms ease, text-decoration-color 160ms ease; }
@media (hover: hover) { .link:hover { color: var(--hover); text-decoration-color: var(--hover); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; letter-spacing: -.005em;
  transition: background-color 180ms ease, transform 160ms var(--ease);
}
@media (hover: hover) { .btn:hover { background: var(--accent-hi); } }
.btn:active { transform: scale(.97); }
.tel { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; min-height: 44px; transition: color 160ms ease; }
@media (hover: hover) { .tel:hover { color: var(--hover); } }

/* ---------- header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 40; }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: 92px; }
.logo { display: block; flex: none; margin-right: auto; color: var(--text); }
.logo svg { display: block; height: 62px; width: auto; aspect-ratio: 1028 / 696; }
.logo__blue { fill: var(--logo-blue); }
.logo__word { fill: var(--text); }
.logo__rad { color: var(--logo-blue); }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.nav__list > li > a, .nav__list > li > button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: .9375rem; text-decoration: none; padding: 0; margin: 0; transition: color 160ms ease; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; text-decoration-color: var(--hover); }
@media (hover: hover) { .nav__list a:hover, .nav__list button:hover { color: var(--hover); } }
.ico-chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 200ms var(--ease); }
[aria-expanded="true"] > .ico-chev { transform: rotate(180deg); }
.nav__drop { position: relative; }
.nav-drop__panel {
  display: none; position: absolute; top: calc(100% + 6px); left: -18px; min-width: 190px; padding: 10px 0; border-radius: 10px;
  background: var(--bg-3); box-shadow: 0 18px 40px var(--drop); transform-origin: top left;
}
.nav-drop__panel.is-open { display: block; animation: drop-in 200ms var(--ease); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
.nav-drop__panel a { display: block; padding: 9px 18px; text-decoration: none; font-weight: 400; }
@media (hover: hover) { .nav-drop__panel a:hover { color: var(--hover); } }
.header-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; min-height: 44px; transition: color 160ms ease; }
@media (hover: hover) { .header-tel:hover { color: var(--hover); } }
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0 -6px 0 -10px; padding: 0; border-radius: 50%; color: var(--text); transition: color 160ms ease, background-color 160ms ease; }
.theme-toggle .ico { width: 21px; height: 21px; grid-area: 1 / 1; transition: opacity 200ms ease, transform 360ms var(--ease); }
.theme-toggle .ico-moon { opacity: 0; transform: rotate(-40deg) scale(.6); }
:root[data-theme="light"] .theme-toggle .ico-sun { opacity: 0; transform: rotate(40deg) scale(.6); }
:root[data-theme="light"] .theme-toggle .ico-moon { opacity: 1; transform: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .ico-sun { opacity: 0; transform: rotate(40deg) scale(.6); }
  :root:not([data-theme="dark"]) .theme-toggle .ico-moon { opacity: 1; transform: none; }
}
@media (hover: hover) { .theme-toggle:hover { color: var(--hover); background: var(--chip); } }
.burger { display: none; width: 48px; height: 48px; position: relative; margin-right: -10px; }
.burger__bars, .burger__bars::before, .burger__bars::after { position: absolute; left: 13px; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 220ms var(--ease), opacity 120ms ease; }
.burger__bars { top: 23px; }
.burger__bars::before { content: ""; left: 0; top: -7px; }
.burger__bars::after { content: ""; left: 0; top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }

/* fixed bar after the hero */
.site-header.is-fixed { position: fixed; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--edge); }
.motion .site-header.is-fixed { animation: header-in 420ms var(--ease) both; }
.site-header.is-fixed .site-header__inner { height: 72px; }
.site-header.is-fixed .logo svg { height: 48px; }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }

@media (max-width: 1099px) {
  .nav, .header-tel { display: none; }
  .burger { display: block; }
  .site-header__inner { height: 72px; }
  .logo svg { height: 50px; }
  .mobile-menu {
    display: block; position: fixed; inset: 72px 0 0; background: var(--bg); padding: 24px var(--gut) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 180ms ease, transform 260ms var(--ease), visibility 0s 260ms;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms ease, transform 260ms var(--ease), visibility 0s; }
  .mobile-menu > nav > ul > li > a { display: block; padding: 10px 0; font-size: 1.75rem; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
  .mobile-menu ul ul { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-bottom: 8px; }
  .mobile-menu ul ul a { display: inline-block; padding: 6px 0; color: var(--muted); text-decoration: none; }
  .mobile-menu a[aria-current="page"] { color: var(--hover); }
  .mobile-menu__tel { margin-top: 28px; }
  .mobile-menu__tel a { font-weight: 700; font-size: 1.25rem; }
  .menu-open .site-header { position: fixed; background: var(--bg); }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--bg); overflow: hidden; isolation: isolate; container-type: inline-size; }
.hero::before { /* soft studio light behind the bike */
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(60% 55% at 64% 48%, var(--glow) 0%, var(--glow-0) 70%);
}
.hero__inner {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  grid-template-rows: auto 1fr auto; min-height: max(720px, 100svh); max-height: 1100px;
  padding-top: 92px; padding-bottom: clamp(28px, 4vh, 48px);
}
.hero__big {
  grid-column: 1 / -1; grid-row: 1; z-index: 0; margin-top: 2px;
  font-size: clamp(5.5rem, 15.5cqi, 14rem); line-height: .82; font-weight: 400; letter-spacing: -.055em;
  color: var(--text); white-space: nowrap; hyphens: manual; pointer-events: none; user-select: none;
}
.hero__big span { display: inline-block; will-change: transform; }
.hero__bike { grid-column: 5 / -1; grid-row: 1 / 3; z-index: 1; align-self: end; margin-right: calc(var(--gut) * -1 + 8px); margin-top: clamp(40px, 7vh, 90px); }
.hero__bike svg { display: block; width: 100%; height: auto; max-height: 64vh; overflow: visible; }
.hero__copy { grid-column: 1 / 5; grid-row: 2 / 4; align-self: end; z-index: 2; padding-top: 24px; }
.hero__title { font-size: clamp(1.75rem, 2.85cqi, 2.75rem); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; hyphens: manual; max-width: 15ch; }
.hero__sub { margin-top: 18px; color: var(--muted); max-width: 38ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.hero__picker { grid-column: 7 / -1; grid-row: 3; z-index: 2; align-self: end; }
.picker { display: flex; flex-wrap: wrap; gap: 6px; }
.picker button {
  min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: .9375rem;
  color: var(--muted); background: var(--chip);
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease);
}
.picker button[aria-pressed="true"] { background: var(--inv-bg); color: var(--inv-fg); }
@media (hover: hover) { .picker button:hover:not([aria-pressed="true"]) { background: var(--chip-hover); color: var(--text); } }
.picker button:active { transform: scale(.96); }
.hero__line { margin-top: 14px; color: var(--muted); font-size: .9375rem; max-width: 52ch; min-height: 3.1em; }
.hero__line [data-classline] { color: var(--text); }

/* hero entrance (only with motion): word rises, copy follows, picker last */
.motion .hero__big span { transform: translateY(.35em); opacity: 0; }
.motion .hero__copy > *, .motion .hero__picker { opacity: 0; transform: translateY(18px); }
.motion.is-loaded .hero__big span { transform: none; opacity: 1; transition: transform 1000ms var(--ease), opacity 600ms ease; }
.motion.is-loaded .hero__copy > *, .motion.is-loaded .hero__picker { opacity: 1; transform: none; transition: opacity 700ms ease var(--d, 0ms), transform 900ms var(--ease) var(--d, 0ms); }
.hero__title { --d: 380ms; } .hero__sub { --d: 480ms; } .hero__actions { --d: 580ms; } .hero__picker { --d: 760ms; }

@media (max-width: 1023px) {
  .hero__inner { grid-template-rows: auto auto auto auto; min-height: 0; max-height: none; padding-top: 80px; }
  .hero__big { font-size: clamp(4rem, 21cqi, 9rem); }
  .hero__bike { grid-column: 1 / -1; grid-row: 2; margin: -6cqi calc(var(--gut) * -1) 0; }
  .hero__bike svg { max-height: none; }
  .hero__picker { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; }
  .hero__copy { grid-column: 1 / -1; grid-row: 4; padding-top: 28px; }
  .hero__title { font-size: clamp(1.875rem, 7.4cqi, 3rem); max-width: 18ch; }
}
@media (max-width: 600px) {
  .hero__inner { padding-top: 72px; padding-bottom: 28px; }
  .picker { flex-wrap: nowrap; gap: 4px; }
  .picker button { flex: 1 1 auto; padding: 0 10px; font-size: .8125rem; }
  .hero__line { font-size: .875rem; min-height: 0; }
  .hero__line-all { display: none; }
  .hero__copy { padding-top: 18px; }
  .hero__sub { margin-top: 12px; font-size: 1rem; }
  .hero__actions { margin-top: 20px; }
}

/* ---------- bike drawing ---------- */
.shadow { fill: #000; opacity: var(--shadow-op); }
.tyre { fill: none; stroke: var(--dark); }
.tyre-edge { fill: none; stroke: #3a4047; stroke-width: 2.5; }
.tread { fill: none; stroke: var(--dark); }
.refl { fill: none; stroke: #7d848b; stroke-width: 3; }
.rim { fill: none; stroke: var(--metal); stroke-width: 24; }
.rimin { fill: none; stroke: #6a7178; stroke-width: 3; }
.spk { fill: none; stroke: #9aa1a8; stroke-width: 2.6; stroke-linecap: round; }
.valve { stroke: #d4d8dc; stroke-width: 6; stroke-linecap: round; }
.rotor { fill: none; stroke: #a7adb3; }
.spider { fill: none; stroke: #6f767d; stroke-width: 10; stroke-linecap: round; }
.hub { fill: var(--part); stroke: #a0a6ad; stroke-width: 4; }
.axle { fill: #d4d8dc; }
.fender { fill: none; stroke: var(--frame); stroke-width: 15; stroke-linecap: round; }
.stay { stroke: #7d848b; stroke-width: 4; }
.rack { fill: none; stroke: #5d646b; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.crankb { stroke: #3a4046; stroke-width: 22; stroke-linecap: round; }
.pedalb { stroke: #2a2f34; stroke-width: 16; stroke-linecap: round; }
.chain { fill: none; stroke: #6a7178; stroke-width: 8; stroke-dasharray: 7 4; }
.cass { fill: #3b4147; stroke: #9aa1a8; stroke-width: 3; }
.cass2 { fill: none; stroke: #9aa1a8; stroke-width: 3; }
.der { fill: none; stroke: #2e3338; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.jockey { stroke: #9aa1a8; stroke-width: 30; stroke-linecap: round; }
.caliper { stroke: #3a4046; stroke-width: 26; stroke-linecap: round; }
.tube { fill: none; stroke: var(--frame); stroke-width: 36; stroke-linecap: round; }
.tube--stay { stroke-width: 20; }
.tube--st { stroke-width: 34; }
.tube--tt { stroke-width: 34; }
.tube--ht { stroke-width: 52; }
.tube-hl { fill: none; stroke: #fff; stroke-opacity: .55; stroke-width: 5; stroke-linecap: round; }
.battery { stroke: #343b42; stroke-linecap: round; }
.battery-led { stroke: var(--blue-l); stroke-width: 7; stroke-linecap: round; }
.battery-lock { stroke: #8a9198; stroke-width: 7; stroke-linecap: round; }
.motor { fill: #3a4148; stroke: #3a4148; stroke-width: 34; stroke-linejoin: round; }
.motor-cap { fill: #4b535b; }
.fork { fill: none; stroke: var(--frame); stroke-width: 30; stroke-linecap: round; }
.crown { stroke: #2e3338; stroke-width: 40; stroke-linecap: round; }
.stanchion { stroke: #d2d6da; stroke-width: 30; stroke-linecap: round; }
.lower { stroke: #2e3338; stroke-linecap: round; }
.arch { stroke: #2e3338; stroke-width: 18; stroke-linecap: round; }
.vbrake { stroke: #9aa1a8; stroke-width: 9; stroke-linecap: round; }
.post { stroke: var(--metal); stroke-width: 26; stroke-linecap: round; }
.spring { fill: none; stroke: #8a9198; stroke-width: 6; stroke-linejoin: round; }
.saddle { fill: var(--dark); stroke: #434a51; stroke-width: 3; }
.cable { fill: none; stroke: var(--blue-l); stroke-opacity: .75; stroke-width: 6; stroke-linecap: round; }
.steerer { stroke: var(--frame); stroke-width: 30; }
.stem { stroke: #2e3338; stroke-width: 30; stroke-linecap: round; }
.bar { fill: none; stroke: #3a4046; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.grip { stroke: var(--dark); stroke-width: 34; stroke-linecap: round; }
.lever { stroke: #9aa1a8; stroke-width: 8; stroke-linecap: round; }
.display { stroke: var(--dark); stroke-width: 18; stroke-linecap: round; }
.lamp { stroke: var(--frame); stroke-width: 22; stroke-linecap: round; }
.taillight { stroke: #b83a2e; stroke-width: 14; stroke-linecap: round; }
.ring { fill: none; stroke: #a7adb3; stroke-width: 12; stroke-dasharray: 4.5 3.2; }
.ringin { fill: #2e3338; stroke: #a7adb3; stroke-width: 4; }
.guard { fill: #2e3338; }
.crank { stroke: #c4c9ce; stroke-width: 24; stroke-linecap: round; }
.pedal { stroke: #2e3338; stroke-width: 18; stroke-linecap: round; }
.bbcap { fill: #d4d8dc; }
[data-bike="hero"] .bike-roll { will-change: transform; }

/* ---------- Werkstatt ---------- */
.werkstatt { background: var(--deep); padding-block: clamp(80px, 9vw, 136px); }
.ws-head { grid-column: 1 / 7; }
.ws-intro { grid-column: 7 / -1; align-self: end; }
.ws-stage { position: relative; grid-column: 1 / -1; margin-top: clamp(32px, 4vw, 56px); }
.ws-readout { position: absolute; left: 0; bottom: clamp(8px, 2vw, 32px); z-index: 2; max-width: min(28ch, 25%); }
.ws-readout__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.375rem); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; hyphens: manual; }
.ws-readout__text { margin-top: 12px; color: var(--muted); }
.ws-bike { position: relative; }
.ws-bike svg { display: block; width: 100%; height: auto; }
.stand-leg, .stand-post, .stand-arm { fill: none; stroke: #4a5157; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.stand-post { stroke-width: 30; }
.stand-clamp { stroke: #6a7178; stroke-width: 34; stroke-linecap: round; }
.stand-knob { stroke: #6a7178; stroke-width: 18; stroke-linecap: round; }
.ws-anim { transform-box: view-box; }
.motion .ws-anim { transform: translateY(150px) rotate(3.5deg); transform-origin: 1200px 1000px; }
.motion .ws-stage.is-in .ws-anim { transform: none; transition: transform 1100ms var(--ease) 200ms; }

/* part highlight */
.ws-anim > *, .ws-anim .spin > * { transition: opacity 220ms ease; }
.ws-stage[data-active] .ws-anim > *:not(.wheel), .ws-stage[data-active] .ws-anim .spin > * { opacity: .22; }
.ws-stage[data-active="brake"] :is(.caliper, .lever, .rotor, .spider),
.ws-stage[data-active="gears"] :is(.chain, .cass, .cass2, .der, .jockey, .ring, .ringin),
.ws-stage[data-active="wheel"] .wheel--f :is(.rim, .rimin, .spk, .hub, .valve, .axle),
.ws-stage[data-active="tyre"] :is(.tyre, .tread, .tyre-edge, .refl),
.ws-stage[data-active="battery"] :is(.batt, .motor, .display),
.ws-stage[data-active="saddle"] :is(.saddle, .post),
.ws-stage[data-active="rack"] .rack { opacity: 1 !important; }
.ws-stage[data-active="brake"] :is(.caliper, .lever), .ws-stage[data-active="brake"] .rotor,
.ws-stage[data-active="gears"] :is(.der, .ring, .cass),
.ws-stage[data-active="wheel"] .wheel--f .rim,
.ws-stage[data-active="tyre"] :is(.tyre-edge, .tread),
.ws-stage[data-active="battery"] .battery,
.ws-stage[data-active="saddle"] .saddle,
.ws-stage[data-active="rack"] .rack { stroke: var(--accent); }
.ws-stage[data-active="tyre"] .tyre-edge { stroke-width: 8; }
.ws-stage[data-active="battery"] .motor { fill: var(--accent); stroke: var(--accent); }
.ws-stage[data-active="saddle"] .saddle { fill: var(--accent); }
.ws-stage[data-active="gears"] .cass { fill: var(--accent); }

/* hotspots: real buttons, 44px hit area, small pulsing dot */
.spot { position: absolute; z-index: 3; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center; }
.spot__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--spot-ring); position: relative; transition: transform 200ms var(--ease); }
.spot__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.motion .ws-stage.is-visible .spot__dot::after { animation: pulse 2400ms cubic-bezier(.2, .7, .3, 1) infinite; animation-delay: calc(var(--i) * 300ms); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
.spot[aria-pressed="true"] .spot__dot { transform: scale(1.25); background: var(--inv-bg); }
.spot__label {
  position: absolute; left: 50%; bottom: calc(100% + 2px); transform: translate(-50%, 4px); white-space: nowrap;
  padding: 5px 10px; border-radius: 6px; background: var(--inv-bg); color: var(--inv-fg); font-size: .8125rem; font-weight: 700;
  opacity: 0; pointer-events: none; transition: opacity 150ms ease, transform 200ms var(--ease);
}
.spot:focus-visible .spot__label, .spot[aria-pressed="true"] .spot__label { opacity: 1; transform: translate(-50%, 0); }
@media (hover: hover) { .spot:hover .spot__label { opacity: 1; transform: translate(-50%, 0); } .spot:hover .spot__dot { transform: scale(1.2); } }
.spot:focus-visible { outline-offset: 0; border-radius: 50%; }
.motion .spot { opacity: 0; transform: scale(.6); }
.motion .ws-stage.is-in .spot { opacity: 1; transform: none; transition: opacity 300ms ease, transform 500ms var(--ease); transition-delay: calc(1000ms + var(--i) * 70ms); }

.ws-pickup { grid-column: 1 / 6; margin-top: clamp(32px, 4vw, 56px); }
.ws-pickup p { margin-top: 12px; color: var(--muted); max-width: 42ch; }
.ws-pickup p:last-child { color: var(--text); }
.ws-list { grid-column: 7 / -1; margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ws-list button, .ws-list__all { display: flex; align-items: center; width: 100%; min-height: 56px; padding: 12px 16px; border-radius: 6px; text-align: left; background: var(--tile); font-weight: 700; line-height: 1.25; transition: background-color 180ms ease, color 180ms ease; }
.ws-list__all { grid-column: 1 / -1; background: transparent; color: var(--muted); font-weight: 400; padding-left: 16px; }
.ws-list button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) { .ws-list button:hover:not([aria-pressed="true"]) { background: var(--tile-hover); color: var(--hover); } }

@media (max-width: 1023px) {
  .ws-head, .ws-intro, .ws-pickup, .ws-list { grid-column: 1 / -1; }
  .ws-intro { margin-top: 20px; }
  .ws-readout { position: static; max-width: none; margin-bottom: 8px; min-height: 6.2em; }
  .ws-bike { margin-inline: calc(var(--gut) * -.5); }
  .ws-list { order: 4; }
  .ws-pickup { order: 5; }
}
@media (max-width: 600px) {
  .ws-list { grid-template-columns: 1fr; }
  .spot { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .spot__dot { width: 14px; height: 14px; }
  .spot__label { display: none; }
}

/* ---------- Mehr vom Radhaus: mosaic ---------- */
.mehr { padding-block: clamp(80px, 9vw, 136px) clamp(72px, 9vw, 128px); }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin-top: clamp(32px, 4vw, 56px); }
.panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 4px; background: var(--bg-2); min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.6vw, 40px); container-type: inline-size; }
.panel__text { position: relative; z-index: 2; max-width: 46ch; }
.panel__text p { margin-top: 10px; color: var(--muted); }
.panel__text p:has(.link) { color: var(--text); margin-top: 14px; }
.vig { position: absolute; z-index: 0; overflow: visible; }
.panel--rent { grid-column: 1 / 8; min-height: 620px; background: var(--panel-rent); }
.panel--ebike { grid-column: 8 / -1; min-height: 620px; background: var(--blue); color: #fff; --hover: var(--accent); }
.panel--job { grid-column: 1 / 5; }
.panel--pickup { grid-column: 5 / 9; }
.panel--shop { grid-column: 9 / -1; }
.panel--brands { grid-column: 1 / -1; min-height: 0; background: var(--bg-3); padding-top: clamp(36px, 4vw, 64px); }

.vig--rent { inset: 0 0 auto 0; width: 100%; height: calc(100% - 250px); }
.sun { fill: var(--accent); opacity: .9; transition: transform 600ms var(--ease); }
.hill--far { fill: var(--hill-far); }
.hill--near { fill: var(--hill-near); }
.vines { stroke: var(--vine); stroke-width: 10; stroke-dasharray: 2 46; stroke-linecap: round; }
.rent-bike .shadow { opacity: .3; }
.rent-bike { transition: transform 600ms var(--ease); }
.rent-bike .spin { transform-box: fill-box; transform-origin: center; transition: transform 600ms var(--ease); }

.panel--ebike .panel__text p { color: rgba(255, 255, 255, .82); }
.quote { font-size: clamp(1.75rem, 7.2cqi, 3.25rem); line-height: 1.02; font-weight: 700; letter-spacing: -.03em; color: #fff !important; margin: 0 0 22px !important; hyphens: manual; }
.quote span { display: block; color: var(--accent); }
.vig--ebike { top: clamp(24px, 3vw, 44px); left: clamp(22px, 2.6vw, 40px); width: min(62%, 340px); height: auto; }
.cell-body { fill: none; stroke: #fff; stroke-width: 14; }
.cell-pin { fill: #fff; }
.cell-bar { fill: rgba(255, 255, 255, .22); transition: fill 240ms ease calc(var(--n) * 90ms); }
.cell-bar:first-of-type { fill: var(--accent); }

.vig--job, .vig--van, .vig--shop { top: clamp(20px, 2.4vw, 36px); right: clamp(16px, 2vw, 28px); width: 64%; height: auto; }
.job-case, .job-lid rect { fill: var(--vig); }
.job-seam, .job-strap { fill: none; stroke: var(--vig-2); stroke-width: 6; stroke-linecap: round; }
.job-lid { transform-box: fill-box; transform-origin: 0% 100%; transition: transform 500ms var(--ease); }
.job-handle { fill: none; stroke: var(--vig-3); stroke-width: 14; }
.job-lock { fill: var(--accent); }
.job-wheel { transform: translateY(-2px); transition: transform 700ms var(--ease); }
.job-wheel .spin { transform-box: fill-box; transform-origin: center; transition: transform 600ms var(--ease); }
.van-body { fill: var(--vig); }
.van-cargo { fill: var(--vig-deep); }
.van-win { fill: var(--vig-3); }
.van-door { fill: none; stroke: var(--vig-line); stroke-width: 5; stroke-linecap: round; }
.van-lamp { stroke: var(--frame); stroke-width: 10; stroke-linecap: round; }
.van-wheel circle:first-child { fill: var(--dark); stroke: var(--vig-3); stroke-width: 6; }
.van-wheel circle + circle { fill: #8a9198; }
.van { transition: transform 600ms var(--ease); }
.mini-bike .spin { transform-box: fill-box; transform-origin: center; transition: transform 600ms var(--ease); }
.shop-screen { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 600ms var(--ease); }
.shop-frame { fill: var(--vig); }
.shop-glass { fill: var(--vig-glass); }
.shop-btn { fill: var(--blue-l); }

.brands { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 3.4cqi, 56px); margin-bottom: clamp(28px, 4cqi, 56px); font-size: clamp(2.25rem, 5.6cqi, 5.5rem); line-height: 1.14; font-weight: 700; letter-spacing: -.04em; hyphens: manual; }
.brands li { transition: color 200ms ease; }
.panel--brands .panel__text { max-width: none; }

@media (hover: hover) and (pointer: fine) {
  .panel--rent:hover .rent-bike--front { transform: translate(140px, 60px); }
  .panel--rent:hover .rent-bike--back { transform: translate(880px, 0); }
  .panel--rent:hover .rent-bike .spin { transform: rotate(150deg); }
  .panel--rent:hover .sun { transform: translateY(-40px); }
  .panel--ebike:hover .cell-bar { fill: var(--accent); }
  .panel--job:hover .job-lid { transform: rotate(-24deg); }
  .panel--job:hover .job-wheel { transform: translateY(-46px); }
  .panel--job:hover .job-wheel .spin { transform: rotate(160deg); }
  .panel--pickup:hover .mini-bike .spin { transform: rotate(140deg); }
  .panel--pickup:hover .van { transform: translateX(26px); }
  .panel--shop:hover .shop-screen { transform: rotate(-6deg); }
  .panel--shop:hover .mini-bike .spin { transform: rotate(180deg); }
  .brands li:hover { color: var(--hover); }
}

@media (max-width: 1023px) {
  .panel--rent, .panel--ebike { grid-column: 1 / -1; min-height: 560px; }
  .panel--job, .panel--pickup { grid-column: span 6; }
  .panel--shop { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .panel, .panel--job, .panel--pickup, .panel--shop { grid-column: 1 / -1; min-height: 400px; }
  .panel--rent { min-height: 600px; }
  .vig--rent { height: calc(100% - 300px); }
  .panel--ebike { min-height: 460px; }
}

/* ---------- closing strip (#anfrage) ---------- */
.closing { background: var(--deep); padding-block: clamp(72px, 9vw, 128px) 32px; }
.closing__lead { grid-column: 1 / 7; }
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.closing__facts { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--gap); align-content: start; }
.closing__facts dt { font-weight: 700; margin-bottom: 6px; }
.closing__facts dd { color: var(--muted); }
.closing__facts a { text-decoration: none; transition: color 160ms ease; }
@media (hover: hover) { .closing__facts a:hover { color: var(--hover); } }
.closing__legal { grid-column: 1 / -1; margin-top: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .875rem; color: var(--muted); }
.closing__legal a { text-decoration: none; }
@media (hover: hover) { .closing__legal a:hover { color: var(--hover); } }
.draft { margin-left: auto; }
@media (max-width: 1023px) {
  .closing__lead, .closing__facts { grid-column: 1 / -1; }
  .closing__facts { margin-top: 48px; }
}
@media (max-width: 520px) { .closing__facts { grid-template-columns: 1fr; } .draft { margin-left: 0; } }

/* sanfter Farbwechsel beim Umschalten (nur kurz aktiv) */
.theme-anim, .theme-anim *, .theme-anim *::before { transition: background-color 320ms ease, color 320ms ease, fill 320ms ease, stroke 320ms ease, border-color 320ms ease !important; }

/* ---------- reveals (hidden only with html.motion) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(28px); }
.motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 700ms ease, transform 900ms var(--ease); }
.motion .mosaic > .is-in:nth-child(2) { transition-delay: 90ms; }
.motion .mosaic > .is-in:nth-child(4) { transition-delay: 90ms; }
.motion .mosaic > .is-in:nth-child(5) { transition-delay: 180ms; }
.motion .ws-stage[data-reveal] { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
}
