/* ============================================================================
   tuneOS – oeffentliche Website
   Navy-Grund, Elektroblau als Hauptaktion und Akzent (wie App und Portal).
   Schriften: Archivo (Display), IBM Plex Sans (Text), IBM Plex Mono (Daten) –
   selbst gehostet, damit beim Aufruf kein fremder Server kontaktiert wird.
   Die Marke steckt in --accent / --fill / --fill-ink und in img/icon.svg.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-var.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Sans';
  src: url('/fonts/plexsans-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Sans';
  src: url('/fonts/plexsans-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Sans';
  src: url('/fonts/plexsans-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('/fonts/plexmono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('/fonts/plexmono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --bg: #020814;
  --bg-2: #061022;
  --card: #0a1628;
  --card-2: #0d1b30;
  --line: rgba(120, 160, 255, 0.10);
  --line-2: rgba(120, 160, 255, 0.20);
  --ink: #f6f8fb;
  --muted: #9db3d0;
  --faint: #6c84a8;
  --accent: #4d9cff;
  --accent-2: #1675ff;
  --accent-soft: rgba(77, 156, 255, 0.11);
  --fill: #1675ff;
  --fill-ink: #ffffff;
  --green: #5be39b;
  --green-soft: rgba(91, 227, 155, 0.12);
  --amber: #f8ca73;
  --amber-soft: rgba(248, 202, 115, 0.11);

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --r: 18px;
  --r-sm: 11px;
  --page: 1180px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --glow: 0 0 60px -12px rgba(77, 156, 255, 0.3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Feines Korn: nimmt flaechigen Dunkelfarben das Digitale. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 2; }

h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:not(.btn):not(.brand):hover { text-decoration: underline; text-underline-offset: 3px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 5px; }
::selection { background: rgba(77, 156, 255, 0.28); color: #fff; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- Raster */
.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: 22px; }
section { padding-block: clamp(56px, 8vw, 110px); position: relative; }
section[id] { scroll-margin-top: 86px; }
.hairline { border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, rgba(255,255,255,.12) 18%, rgba(255,255,255,.12) 82%, transparent) 1; }

.eyebrow {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.55; flex: 0 0 auto; }

h1, h2, h3, .display {
  font-family: var(--display); font-weight: 700; text-wrap: balance;
  letter-spacing: -0.032em; line-height: 1.03;
}
h1 { font-size: clamp(36px, 6.1vw, 76px); font-weight: 800; }
h2 { font-size: clamp(27px, 4.3vw, 46px); line-height: 1.07; }
h3 { font-size: 19px; line-height: 1.26; letter-spacing: -0.016em; font-weight: 650; }
.lede { font-size: clamp(16.5px, 1.9vw, 19.5px); color: var(--muted); max-width: 60ch; line-height: 1.6; }
.section-head { max-width: 66ch; margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 16.5px; }

/* ------------------------------------------------------------- Kopfzeile */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.25s, border-color 0.25s;
}
.topbar.scrolled { background: rgba(7, 8, 10, 0.93); border-bottom-color: rgba(255,255,255,.1); }
.topbar .wrap { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); flex: 0 0 auto; }
.brand .mark { width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto; }
.brand .name {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.06em; line-height: 1;
}
.brand .name { background: linear-gradient(180deg, #fafcff, #b4b9c2 60%, #e9edf3); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 0.01em; }
.brand .name i { font-style: normal; font-weight: 800; background: linear-gradient(180deg, #8cc7ff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .mark { filter: drop-shadow(0 0 10px rgba(22, 117, 255, 0.45)); }
nav.main { display: flex; gap: 2px; margin-left: auto; align-items: center; }
nav.main a {
  color: var(--muted); font-size: 14.5px; font-weight: 500;
  padding: 10px 13px; border-radius: 9px; position: relative; transition: color 0.18s;
}
nav.main a:not(.btn):hover { color: var(--ink); text-decoration: none; }
nav.main a:not(.btn)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s ease; border-radius: 2px;
}
nav.main a:not(.btn):hover::after { transform: scaleX(1); }
nav.main a:not(.btn)[aria-current="page"] { color: var(--ink); }
nav.main a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); opacity: 0.85; }
.navtoggle { display: none; }

@media (max-width: 900px) {
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 12px 22px 20px; box-shadow: var(--shadow);
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 13px; font-size: 16.5px; }
  nav.main a:not(.btn)::after { display: none; }
  nav.main .btn { margin-top: 10px; }
  .navtoggle {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; border-radius: 11px; background: var(--card);
    border: 1px solid var(--line-2); color: var(--ink); cursor: pointer;
  }
}

/* ------------------------------------------------------------- Schalter */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 13px 22px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.045); color: var(--ink);
  border: 1px solid var(--line-2);
  font-family: var(--body); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.08s, box-shadow 0.18s;
  position: relative; overflow: hidden;
}
.btn:hover { background: rgba(255, 255, 255, 0.085); border-color: rgba(255,255,255,.24); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.42; cursor: not-allowed; }
.btn.primary {
  background: var(--fill); color: var(--fill-ink); border-color: var(--fill);
  box-shadow: 0 10px 34px -14px rgba(238, 242, 246, 0.55);
}
.btn.primary:hover { background: #fff; border-color: #fff; box-shadow: 0 14px 40px -14px rgba(238, 242, 246, 0.7); }
.btn.accent {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #04202e; border-color: transparent;
  box-shadow: 0 10px 34px -14px rgba(56, 189, 248, 0.7);
}
.btn.ghost { background: transparent; }
.btn.sm { min-height: 40px; padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn svg { flex: 0 0 auto; transition: transform 0.22s ease; }
.btn:hover svg.arrow { transform: translateX(3px); }
.btnrow { display: flex; flex-wrap: wrap; gap: 13px; }

/* --------------------------------------------------------------- Karten */
.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px;
  position: relative; transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.card.lift:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.16); box-shadow: var(--shadow); }
.card.flush { padding: 0; overflow: hidden; }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid.two, .grid.three { grid-template-columns: minmax(0, 1fr); } }

.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.005em;
  background: rgba(255, 255, 255, 0.055); color: var(--muted);
  border: 1px solid var(--line); white-space: nowrap;
}
.badge.green { background: var(--green-soft); color: var(--green); border-color: rgba(91,227,155,.22); }
.badge.amber { background: var(--amber-soft); color: var(--amber); border-color: rgba(248,202,115,.22); }
.badge.accent { background: var(--accent-soft); color: var(--accent); border-color: rgba(125,211,252,.26); }
.badge.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }

.callout {
  display: flex; gap: 14px; padding: 17px 19px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  font-size: 14.8px; color: var(--muted); line-height: 1.55;
}
.callout svg { flex: 0 0 auto; margin-top: 3px; }
.callout.warn { border-color: rgba(248, 202, 115, 0.32); background: var(--amber-soft); color: #f4d59c; }
.callout.good { border-color: rgba(91, 227, 155, 0.3); background: var(--green-soft); color: #a6edc8; }
.callout strong { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------- Held */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
  filter: saturate(0.55) contrast(1.14) brightness(0.48);
}
/* Dreistufige Gradierung: Blaustich oben, Vignette, harter Auslauf nach unten. */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(185deg, rgba(56, 189, 248, 0.1) 0%, transparent 38%),
    radial-gradient(130% 85% at 22% 32%, transparent 0%, rgba(7, 8, 10, 0.72) 58%, rgba(7, 8, 10, 0.95) 100%),
    linear-gradient(180deg, rgba(7, 8, 10, 0.52) 0%, rgba(7, 8, 10, 0.3) 38%, var(--bg) 97%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(64px, 10vw, 128px) clamp(56px, 8vw, 104px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 1060px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-bottom: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* Kennzahlenband unter dem Held */
.statband {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}
@media (max-width: 760px) { .statband { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.statband > div { padding: 26px 22px; border-left: 1px solid var(--line); }
.statband > div:first-child { border-left: 0; }
@media (max-width: 760px) { .statband > div:nth-child(odd) { border-left: 0; } }
.statband .n {
  font-family: var(--mono); font-size: clamp(25px, 3.4vw, 34px); font-weight: 500;
  letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1;
}
.statband .l { color: var(--muted); font-size: 13.5px; margin-top: 7px; line-height: 1.4; }

/* ------------------------------------------------------- Telefonattrappe */
.phone { width: 100%; max-width: 310px; margin-inline: auto; position: relative; }
.phone::after {
  content: ""; position: absolute; inset: -14% -10% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(77, 156, 255, 0.17), transparent 72%);
  filter: blur(10px);
}
.phone .bezel {
  position: relative; border-radius: 46px; padding: 9px;
  background: linear-gradient(155deg, #454c55, #15181c 36%, #0f1216 62%, #2d333b);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.phone .screen {
  position: relative; border-radius: 38px; overflow: hidden; aspect-ratio: 9 / 19.5;
  background: #08090b; display: flex; flex-direction: column;
}
.phone .island {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 33%; height: 19px; background: #000; border-radius: 11px; z-index: 5;
}
.phone .sbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 20px 3px; font-size: 11px; font-weight: 600; color: #f6f8fb;
  font-family: var(--body);
}
.phone .sbody { flex: 1; padding: 9px 13px 4px; display: flex; flex-direction: column; gap: 10px; }
.phone .pcard { background: #14171c; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 15px; }
.phone .pphoto { height: 100px; overflow: hidden; border-radius: 14px 14px 0 0; position: relative; }
.phone .pphoto img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) brightness(0.92); }
.phone .pphoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 9, 11, 0.94)); }
.phone .pchip {
  position: absolute; top: 9px; right: 9px; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px; font-size: 9.5px; font-weight: 600;
  background: rgba(20, 23, 28, 0.9); border: 1px solid rgba(255,255,255,.12); color: var(--green);
}
.phone .pchip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.phone .pfoot { padding: 10px 12px 11px; }
.phone .ptitle { font-size: 13.5px; font-weight: 700; color: #f6f8fb; font-family: var(--display); letter-spacing: -0.015em; }
.phone .psub { font-family: var(--mono); font-size: 8.5px; color: #98a2ae; margin-top: 3px; letter-spacing: 0.02em; }
.phone .prow { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.phone .ptile { background: #14171c; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px; padding: 11px; }
.phone .plbl { font-size: 8.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.11em; color: #98a2ae; }
.phone .pval { font-family: var(--mono); font-size: 15px; color: #f6f8fb; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -0.025em; }
.phone .pact { background: #14171c; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 15px; padding: 13px; }
.phone .peye { font-family: var(--mono); font-size: 8px; letter-spacing: 0.19em; text-transform: uppercase; color: var(--accent); }
.phone .pbig { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.028em; color: #f6f8fb; margin-top: 5px; }
.phone .pbtn {
  margin-top: 11px; height: 40px; border-radius: 11px; background: var(--fill); color: var(--fill-ink);
  font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.phone .ptabs { display: flex; padding: 6px 5px 15px; background: #0c0e12; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.phone .ptab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #98a2ae; font-size: 7.5px; font-weight: 500; }
.phone .ptab.on { color: var(--accent); }
.phone .ptab.on .pp { background: var(--fill); color: var(--fill-ink); }
.phone .pp { width: 35px; height: 23px; border-radius: 8px; display: grid; place-items: center; }

/* ------------------------------------------------------------- Merkmale */
.featurerow {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.featurerow + .featurerow { margin-top: clamp(48px, 7vw, 96px); }
@media (max-width: 880px) {
  .featurerow { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .featurerow .visual { order: 2; }
}
.featurerow.flip .copy { order: 2; }
@media (max-width: 880px) { .featurerow.flip .copy { order: 1; } }
.featurerow h3 { font-size: clamp(22px, 2.9vw, 30px); margin-bottom: 14px; letter-spacing: -0.026em; }
.featurerow p { color: var(--muted); font-size: 16px; }
.ficon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(77, 156, 255, 0.22); margin-bottom: 20px;
}
.ticks { list-style: none; padding: 0; margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.ticks li { color: var(--muted); font-size: 15px; padding-left: 28px; position: relative; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid rgba(125,211,252,.3);
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 12px; width: 5px; height: 2.5px;
  border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}

/* Visualisierungen in den Merkmalszeilen */
.visual {
  background: linear-gradient(165deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: 26px;
  position: relative; overflow: hidden;
}
.visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 70% at 85% 0%, rgba(77, 156, 255, 0.08), transparent 62%);
  pointer-events: none;
}
.visual .vhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.vlabel { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--faint); }
.vbig {
  font-family: var(--mono); font-size: clamp(34px, 5vw, 48px); font-weight: 500;
  letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1;
}
.vbig span { font-size: 0.38em; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.spark { width: 100%; height: 86px; display: block; margin-top: 6px; }
.vrows { display: flex; flex-direction: column; margin-top: 20px; }
.vrow { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.vrow .k { color: var(--muted); font-size: 14px; }
.vrow .v { font-family: var(--mono); font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.vrow .v small { font-size: 11px; color: var(--faint); margin-left: 4px; }

/* Fortschrittsring */
.ringwrap { display: grid; place-items: center; position: relative; padding: 10px 0 4px; }
.ringwrap svg { display: block; width: min(210px, 62vw); height: auto; }
.ringmid { position: absolute; text-align: center; }
.ringpct { font-family: var(--mono); font-size: 34px; font-weight: 500; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.ringsub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--faint); margin-top: 9px; }
.phaselist { list-style: none; padding: 0; margin-top: 22px; display: flex; flex-direction: column; }
.phaselist li { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.phaselist .m { width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; border: 1.4px solid var(--line-2); font-size: 9px; }
.phaselist .m.done { background: var(--green); border-color: var(--green); color: #04210f; }
.phaselist .m.now { background: var(--fill); border-color: var(--fill); color: var(--fill-ink); }
.phaselist li.now { color: var(--ink); font-weight: 600; }

/* -------------------------------------------------------------- Schritte */
.steps { counter-reset: s; display: grid; gap: 4px; list-style: none; padding: 0; }
.steps > li { counter-increment: s; display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.steps > li:first-child { border-top: 0; }
.steps > li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(77, 156, 255, 0.24);
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto;
}
.steps h3 { margin-bottom: 6px; font-size: 18px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------- Fahrzeuge */
.vehicle { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.vehicle img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform 0.5s cubic-bezier(.2,.7,.3,1); filter: saturate(0.8) contrast(1.05); }
.vehicle:hover img { transform: scale(1.045); }
.vehicle .cap { position: absolute; inset: auto 0 0 0; padding: 20px; background: linear-gradient(180deg, transparent, rgba(7,8,10,.93) 58%); }
.vehicle .cap h3 { font-size: 17.5px; }
.vehicle .cap p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

/* --------------------------------------------------------------- Preise */
.price { display: flex; flex-direction: column; gap: 18px; }
.price .amount { font-family: var(--mono); font-size: 40px; font-weight: 500; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; line-height: 1; }
.price .per { font-family: var(--body); font-size: 14px; color: var(--muted); letter-spacing: 0; margin-left: 8px; font-weight: 400; }
.price dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; font-size: 14.5px; margin: 0; }
.price dt { color: var(--faint); }
.price dd { margin: 0; color: var(--muted); }
.price .foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.price.featured { border-color: rgba(77, 156, 255, 0.34); box-shadow: var(--glow); }
.codebox {
  font-family: var(--mono); font-size: clamp(18px, 4.6vw, 27px); letter-spacing: 0.12em; font-weight: 500;
  background: #040507; border: 1px dashed rgba(77, 156, 255, 0.34); border-radius: var(--r-sm);
  padding: 22px 18px; text-align: center; word-break: break-all; user-select: all; color: var(--ink);
}
.loading { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 56px 16px; color: var(--muted); }
.spinner { width: 20px; height: 20px; border: 2px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ Fliesstext */
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(22px, 2.6vw, 27px); margin-top: 46px; margin-bottom: 14px; }
.prose h3 { font-size: 17px; margin-top: 28px; margin-bottom: 9px; }
.prose p, .prose li { color: var(--muted); font-size: 15.8px; line-height: 1.68; }
.prose p + p { margin-top: 13px; }
.prose ul, .prose ol { margin-top: 13px; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose dl { margin-top: 14px; display: grid; grid-template-columns: minmax(140px, auto) 1fr; gap: 10px 20px; font-size: 15.8px; }
@media (max-width: 560px) { .prose dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .prose dd { margin-bottom: 10px; } }
.prose dt { color: var(--ink); font-weight: 600; }
.prose dd { margin: 0; color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.todo {
  background: var(--amber-soft); color: #f4d59c; border: 1px solid rgba(248,202,115,.3);
  border-radius: 6px; padding: 1px 8px; font-family: var(--mono); font-size: 0.84em; font-weight: 500;
}
details.faq { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); transition: border-color 0.2s; }
details.faq:hover { border-color: rgba(255,255,255,.14); }
details.faq[open] { background: var(--card-2); }
details.faq + details.faq { margin-top: 11px; }
details.faq > summary {
  padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; gap: 14px; align-items: center; color: var(--ink);
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after {
  content: ""; flex: 0 0 auto; width: 11px; height: 11px;
  border-right: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.22s ease;
}
details.faq[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details.faq .body { padding: 0 20px 20px; color: var(--muted); font-size: 15.3px; display: flex; flex-direction: column; gap: 11px; line-height: 1.62; }

/* ------------------------------------------------------- Abschlussbanner */
.cta {
  border-radius: calc(var(--r) + 6px); border: 1px solid rgba(77, 156, 255, 0.2);
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(77, 156, 255, 0.13), transparent 58%),
    linear-gradient(180deg, var(--card-2), var(--card));
  padding: clamp(32px, 5vw, 56px); text-align: center; position: relative; overflow: hidden;
}
.cta h2 { margin-bottom: 16px; }
.cta p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.cta .btnrow { justify-content: center; margin-top: 30px; }

/* ------------------------------------------------------------- Fusszeile */
footer.site {
  border-top: 1px solid var(--line); background: var(--bg-2);
  padding-block: 56px 30px; padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px));
}
/* Pre-launch: hide the legal navigation column, retaining the draft documents.
   Restore this column and the fourth grid track once launch details are resolved. */
footer.site .cols > div:has(a[href="/impressum"]) { display: none; }
footer.site .cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 34px; }
@media (max-width: 880px) { footer.site .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { footer.site .cols { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
footer.site h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--faint); font-weight: 500; margin-bottom: 15px;
}
footer.site ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
footer.site a { color: var(--muted); font-size: 14.8px; }
footer.site a:hover { color: var(--ink); }
footer.site .legal {
  margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
}
footer.site .disclaimer { max-width: 68ch; }

/* -------------------------------------------------------------- Bewegung */
/* Start sichtbar: ohne JavaScript bleibt alles lesbar; .reveal wird erst per Skript gesetzt. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.42s ease, transform 0.42s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .vehicle:hover img { transform: none; }
}

/* -------------------------------------------------------------- Formular */
.field { display: block; }
.field > span {
  display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 10px;
}
input[type="email"], input[type="text"], input[type="search"] {
  width: 100%; padding: 15px 17px; background: #040507; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-family: var(--body); font-size: 16px; line-height: 1.3;
  transition: border-color 0.18s, box-shadow 0.18s;
}
input::placeholder { color: var(--faint); }
input[type="email"]:focus, input[type="text"]:focus, input[type="search"]:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
input:user-invalid { border-color: rgba(248, 202, 115, 0.6); }
