/* =========================================================
   CoDriver Startseite – Styles
   Aufbau: Schriften · Tokens · Basis · Bausteine (Buttons, Rahmen, Reiter)
           · Sektionen · Motion · Responsive · Reduzierte Bewegung
   Alle Ressourcen lokal; Pfade absolut (Seite laeuft unter / und /start/).
   ========================================================= */

/* ---------- Schriften (lokal, Lizenzen in /fonts/) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/Inter-ExtraBold.woff2") format("woff2"); }
/* Nur fuer Kennzeichen (wie im Fleet Hub der App) */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/Roboto-Bold.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --band: #f5f5f7;
  --soft: #fafafc;
  --text: #1d1d1f;
  --text-2: #3a3a3c;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --green: #00b287;          /* Markenfarbe (Logo) */
  --deep: #006047;           /* Markenfarbe dunkel (Logo) */
  --btn: #00865f;            /* Button-Gruen mit ausreichendem Kontrast zu Weiss */
  --mint: #e6f8f2;
  --green-text: #00704f;
  --night: #0f1722;          /* wie das App-Seitenmenue */
  --night-2: #172131;
  --night-text: #a6afbd;
  --mint-light: #5eead4;
  --amber: #f59e0b;
  --red: #ef4444;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --maxw: 1180px;
  --gutter: 28px;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 34, 0.04), 0 30px 60px -32px rgba(15, 23, 34, 0.38);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: 108px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5; letter-spacing: -0.011em; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
.i { width: 20px; height: 20px; flex: none; fill: currentColor; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; border-radius: 8px; }
.dark a:focus-visible, .dark button:focus-visible { outline-color: var(--mint-light); }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; overflow-wrap: break-word; }
.display { font-size: clamp(44px, 7.4vw, 96px); letter-spacing: -0.048em; line-height: 1.0; }
.display-2 { font-size: clamp(36px, 5.6vw, 68px); letter-spacing: -0.045em; }
.h2 { font-size: clamp(32px, 4.8vw, 58px); }
.h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.03em; }
.lead { font-size: clamp(18px, 1.75vw, 23px); color: var(--muted); letter-spacing: -0.016em; line-height: 1.42; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--green-text); letter-spacing: 0; margin-bottom: 16px; }
.eyebrow .i { width: 18px; height: 18px; }
.grad { background: linear-gradient(100deg, #00a07a 0%, var(--btn) 45%, var(--deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-light { background: linear-gradient(100deg, #6ee7b7 0%, #34d399 45%, #a7f3d0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em; line-height: 1.2;
  padding: 11px 22px; border-radius: 980px; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease), background-color .2s ease, box-shadow .3s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 1px 2px rgba(0, 96, 71, 0.25); }
.btn-primary:hover { background: var(--deep); box-shadow: 0 12px 28px -10px rgba(0, 96, 71, 0.55); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: #fff; }
.btn-ghost:hover { border-color: var(--text); }
.btn-ghost-dark { color: #fff; border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); }
.btn-ghost-dark:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.btn-wa { background: #128c4a; color: #fff; }
.btn-wa:hover { background: #0e743d; box-shadow: 0 12px 28px -10px rgba(18, 140, 74, 0.55); }
.btn-text { display: inline-flex; align-items: center; gap: 8px; color: var(--green-text); font-weight: 600; margin-top: 18px; }
.btn-text .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn-text:hover .i { transform: translateX(4px); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.cta-row.center { justify-content: center; }

/* ---------- Kopfzeile ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
header.scrolled { border-color: var(--line); }
.news-bar { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--night); color: #e8edf3; font-size: 13px; font-weight: 500; padding: 8px 16px; text-align: center; }
.news-bar .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.news-bar:hover .i { transform: translateX(3px); }
.news-tag { background: #34d399; color: var(--night); font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 980px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-size: 14.5px; color: var(--text); opacity: .78; transition: opacity .2s; }
.nav-links a:not(.btn):hover { opacity: 1; }
.nav-links .btn-ghost { margin-left: 4px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease); }
.nav-toggle span:first-child { transform: translateY(-4px); }
.nav-toggle span:last-child { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ---------- Sektionen allgemein ---------- */
section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.band { background: var(--band); }
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head h2 { margin-bottom: 18px; }
.sec-head p { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.dark { background: radial-gradient(70% 60% at 85% 0%, rgba(0, 178, 135, 0.16), transparent 62%), radial-gradient(55% 50% at 5% 100%, rgba(0, 178, 135, 0.10), transparent 60%), var(--night); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: var(--night-text); }
.dark .eyebrow { color: #34d399; }
.ico { width: 46px; height: 46px; border-radius: 14px; background: var(--mint); color: var(--deep); display: grid; place-items: center; margin-bottom: 16px; transition: transform .5s var(--ease); }
.ico .i { width: 24px; height: 24px; }
.ico.light { background: rgba(255, 255, 255, 0.16); color: #fff; }
.ico-lg { width: 64px; height: 64px; border-radius: 20px; }
.ico-lg .i { width: 32px; height: 32px; }
.ticks { display: grid; gap: 12px; margin-top: 22px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--text-2); }
.ticks .i { width: 22px; height: 22px; color: var(--btn); margin-top: 0; }
.ticks.light li { color: #dfe5ee; }
.ticks.light .i { color: #34d399; }

/* ---------- Rahmen: Browser & Telefon ---------- */
.browser { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.browser img { width: 100%; height: auto; }
.bbar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f1f3f5; border-bottom: 1px solid var(--line); }
.bbar i { width: 10px; height: 10px; border-radius: 50%; background: #d5d9de; flex: none; }
.bbar span { margin-left: 10px; font-size: 11.5px; color: #6b7280; background: #fff; border-radius: 999px; padding: 2px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-xl { border-radius: 18px; }
.browser-xl .bbar { height: 36px; }
.browser-xl .bbar i { width: 12px; height: 12px; }
.browser-dark { border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.8); }
.phone { width: 100%; max-width: 330px; margin: 0 auto; border-radius: 46px; padding: 10px; background: #0b111a; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 100px -40px rgba(0, 0, 0, 0.7); }
.ph-screen { position: relative; border-radius: 36px; overflow: hidden; background: #f3f6f7; }
.phone-sm { max-width: 300px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 40px 80px -40px rgba(15, 23, 34, 0.5); }
figcaption { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }
.dark figcaption { color: #8a93a3; }

/* ---------- Reiter / Segment-Schalter ---------- */
.seg { position: relative; display: inline-flex; gap: 2px; padding: 4px; background: rgba(15, 23, 34, 0.06); border-radius: 999px; vertical-align: top; }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: color .25s ease; }
.seg button .i { width: 18px; height: 18px; }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"], .seg button.active { color: var(--text); }
.seg-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: var(--tw, 0px); transform: translateX(var(--tx, 0px)); background: #fff; border-radius: 999px; box-shadow: 0 1px 3px rgba(15, 23, 34, 0.14), 0 6px 16px -8px rgba(15, 23, 34, 0.25); transition: transform .45s var(--ease); }
html:not(.js) .seg button[aria-selected="true"], html:not(.js) .seg button.active { background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 34, 0.14); }
.seg-sm button { padding: 7px 14px; font-size: 13.5px; }
.seg-dark { background: rgba(255, 255, 255, 0.08); }
.seg-dark button { color: #a6afbd; }
.seg-dark button:hover, .seg-dark button[aria-selected="true"] { color: var(--night); }
.seg-dark button:hover:not([aria-selected="true"]) { color: #fff; }
.tabs > .seg { margin-bottom: 18px; }
.seg-wrap { overflow-x: auto; text-align: center; margin: 0 auto 34px; padding: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.seg-wrap::-webkit-scrollbar { display: none; }
.panel[hidden] { display: none !important; }
.js .panel { animation: panelIn .55s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.panel-split { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.panel-copy h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 14px; }
.panel-copy > p { font-size: 17px; color: var(--muted); line-height: 1.55; }
.panel-copy .note { margin-top: 18px; font-size: 15px; color: var(--text-2); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.trio { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.trio span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--deep); background: var(--mint); border-radius: 999px; padding: 7px 13px; }
.trio .i { width: 18px; height: 18px; }
.phone-visual { margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .9; }
.o1 { width: 760px; height: 760px; left: 50%; top: -280px; margin-left: -380px; background: radial-gradient(closest-side, rgba(0, 178, 135, 0.20), transparent 70%); }
.o2 { width: 520px; height: 520px; right: -160px; top: 120px; background: radial-gradient(closest-side, rgba(0, 96, 71, 0.10), transparent 70%); }
.hero-copy { position: relative; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 980px; background: var(--mint); color: var(--green-text); font-size: 13.5px; font-weight: 600; margin-bottom: 26px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero h1 { color: var(--text); margin: 0 auto 24px; }
.hero .lead { max-width: 640px; margin: 0 auto; }
.hero-fine { font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.hero-stage { position: relative; margin-top: clamp(48px, 7vw, 84px); perspective: 1800px; }
.hero-tilt { transform-origin: 50% 0; transform: rotateX(var(--tilt, 0deg)) scale(var(--tscale, 1)); will-change: transform; }
.js .hero-tilt { --tilt: 14deg; --tscale: .94; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 84px); border-top: 1px solid var(--line); }
.facts li { padding: 22px 12px 0; display: flex; flex-direction: column; gap: 4px; text-align: center; }
.facts b { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.04em; color: var(--green-text); line-height: 1.05; }
.facts span { font-size: 14px; color: var(--muted); }

/* ---------- Scorecard (Nachbau Fahrer-Ansicht) ---------- */
.sc-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.sc-copy h2 { margin-bottom: 22px; line-height: 1.06; }
.sc-copy > p { font-size: clamp(17px, 1.5vw, 19px); max-width: 520px; }
.metric-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.metric-chips li { font-size: 13px; font-weight: 600; color: #dfe5ee; padding: 7px 13px; border-radius: 980px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); }
.langs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; max-width: 520px; }
.lang { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; font-weight: 500; color: #e8edf3; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); padding: 6px 12px 6px 6px; border-radius: 980px; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang:hover { border-color: rgba(255, 255, 255, 0.4); }
.lang:active { transform: scale(0.96); }
.lang.active { background: var(--btn); border-color: var(--btn); color: #fff; font-weight: 600; }
.flag { width: 24px; height: 24px; border-radius: 50%; flex: none; background-size: 116%; background-position: center; background-repeat: no-repeat; border: 1px solid rgba(0, 0, 0, 0.16); }
.sc-visual { margin: 0; }
.sc-visual .ph-screen { aspect-ratio: 390 / 800; }
/* App-Oberflaeche im Telefon */
.app { position: absolute; inset: 0; display: flex; flex-direction: column; background: #f3f4f6; color: #111827; font-family: "Inter", var(--font); letter-spacing: 0; transition: opacity .25s ease, transform .35s var(--ease); }
.app.swap { opacity: 0; transform: translateY(8px); }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 22px 14px 10px; }
.app-brand { display: flex; align-items: center; gap: 7px; margin-inline-end: auto; }
.app-brand img { width: 24px; height: auto; }
.app-brand b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: #1f2937; }
.app-flag { width: 30px; height: 30px; border-radius: 50%; background-size: 118%; background-position: center; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }
.app-bell { position: relative; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); color: #374151; }
.app-bell .i { width: 17px; height: 17px; }
.app-bell i { position: absolute; top: -4px; inset-inline-end: -3px; min-width: 15px; height: 15px; border-radius: 8px; background: #f97316; color: #fff; font-size: 9.5px; font-weight: 700; font-style: normal; display: grid; place-items: center; }
.app-av { width: 30px; height: 30px; border-radius: 50%; background: #d1d8e0; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.kpi { margin: 4px 10px 0; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.kpi-head { display: flex; align-items: center; gap: 8px; padding: 6px; border-bottom: 1px solid #eef0f3; }
.kpi-tile { width: 92px; height: 50px; border-radius: 11px; background: #18a050; color: #fff; font-size: 18px; font-weight: 700; display: grid; place-items: center; flex: none; letter-spacing: .02em; }
.kpi-col { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.kpi-col small { font-size: 9.5px; font-weight: 600; letter-spacing: .1em; color: #9ca3af; text-transform: uppercase; white-space: nowrap; }
.kpi-col b { font-size: 18px; font-weight: 600; color: #1f2937; font-variant-numeric: tabular-nums; }
.kpi-sep { width: 1px; height: 30px; background: #e5e7eb; flex: none; }
.kpi-chev { width: 20px; height: 20px; color: #6b7280; }
.pq { margin: 10px; border: 1px solid #e5e7eb; border-radius: 14px; padding: 10px; }
.pq-top { display: flex; align-items: center; gap: 6px; }
.pq-top b { font-size: 12px; font-weight: 600; color: #374151; margin-inline-end: auto; letter-spacing: .02em; }
.pq-ok, .pq-bad { display: flex; flex-direction: column; font-size: 11.5px; font-weight: 700; border-radius: 9px; padding: 4px 8px; line-height: 1.25; white-space: nowrap; }
.pq-ok small, .pq-bad small { font-size: 9.5px; font-weight: 600; }
.pq-ok { background: #dcfce7; color: #15803d; }
.pq-bad { background: #ffedd5; color: #c2410c; }
.pq-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.pq-chips span { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: #4b5563; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 999px; padding: 3px 9px; }
.pq-chips em { font-style: normal; }
.pq-chips b { font-weight: 700; color: #111827; }
.pq-chips .r { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.pq-chips .r b { color: #b91c1c; }
.kpi-desc { padding: 2px 14px 0; }
.kpi-desc h3 { font-size: 14px; font-weight: 700; color: #1f2937; letter-spacing: -0.01em; margin-bottom: 4px; line-height: 1.3; }
.pre { white-space: pre-line; }
.kpi-desc p { font-size: 11px; color: #4b5563; line-height: 1.45; }
.kpi-tip { margin: 10px 10px 0; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 12px; padding: 9px 11px; }
.kpi-tip b { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; color: #047857; }
.kpi-tip p { font-size: 11px; color: #065f46; line-height: 1.4; margin-top: 2px; }
.app-nav { position: absolute; left: 10px; right: 10px; bottom: 12px; display: flex; justify-content: space-around; background: #fff; border-radius: 26px; padding: 8px 6px 7px; box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.25); }
.app-nav span { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #6b7280; min-width: 0; }
.app-nav .i { width: 21px; height: 21px; }
.app-nav em { font-style: normal; font-size: 9px; font-weight: 600; max-width: 54px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-nav .on { color: #15803d; }
.app::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(rgba(243, 244, 246, 0), #f3f4f6 62%); pointer-events: none; z-index: 1; }
.app-nav { z-index: 2; }

/* ---------- Story (Sticky Scroll) ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(40px, 6vw, 80px); }
.chapter { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; transition: opacity .5s var(--ease); }
.js .chapter { opacity: .28; }
.js .chapter.is-active { opacity: 1; }
.ch-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--mint); color: var(--deep); display: grid; place-items: center; margin-bottom: 18px; }
.ch-ico .i { width: 24px; height: 24px; }
.chapter h3 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 14px; }
.chapter > p { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 480px; }
.ch-img { display: none; }
.story-stage { position: relative; }
.stage-inner { position: sticky; top: max(118px, calc(50vh - 220px)); }
.stage-imgs { position: relative; aspect-ratio: 2480 / 1606; }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.015); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.stage-img.is-active { opacity: 1; transform: none; }
.stage-dots { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.stage-dots span { width: 8px; height: 8px; border-radius: 50%; background: #c9ced6; transform: scale(1); transition: transform .4s var(--ease), background-color .3s ease; }
.stage-dots span.on { background: var(--btn); transform: scale(1.35); }

/* ---------- Fristen & Erinnerungen ---------- */
.remind { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; background: linear-gradient(135deg, #ffffff 0%, #effbf6 60%, #e2f6ee 100%); border: 1px solid rgba(0, 178, 135, 0.2); border-radius: 32px; padding: clamp(28px, 5vw, 64px); box-shadow: 0 40px 90px -60px rgba(0, 96, 71, 0.45); }
.remind-copy h2 { margin-bottom: 16px; }
.remind-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); max-width: 520px; }
.remind-list { display: grid; gap: 14px; margin-top: 28px; }
.rl { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(0, 0, 0, 0.06); border-radius: 18px; padding: 14px 16px; }
.rl .ico { margin: 0; width: 40px; height: 40px; border-radius: 12px; flex: none; }
.rl .ico .i { width: 22px; height: 22px; }
.rl b { display: block; font-size: 16px; letter-spacing: -0.02em; margin-bottom: 2px; }
.rl p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.remind-visual { margin: 0; }
.remind-visual img { width: 100%; max-width: 440px; margin: 0 auto; border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 23, 34, 0.06), 0 40px 80px -40px rgba(15, 23, 34, 0.45); }

/* ---------- Feature-Zeilen ---------- */
.feature-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.feature-row.reverse > .feature-copy { order: 2; }
.feature-copy h2 { margin-bottom: 18px; }
.feature-copy > p { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 520px; }
.feature-copy > p.fine { font-size: 13px; margin-top: 14px; }
.feature-visual { margin: 0; }
.integ-row { margin-top: clamp(48px, 7vw, 88px); }
.integ-row .h3 { margin-bottom: 4px; }
.icard { background: var(--band); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); margin-top: 26px; }
.icard h3 { font-size: 19px; }
.icard .ticks { margin-top: 14px; }
.icard .ticks li { font-size: 15px; }

/* ---------- Kacheln ---------- */
.row2, .row3, .row4 { display: grid; gap: 18px; }
.row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 64px); }
.row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s ease; }
.tile::before { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; left: 0; top: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 178, 135, 0.12), transparent); opacity: 0; transform: translate(calc(var(--mx, 50%) - 190px), calc(var(--my, 0px) - 190px)); transition: opacity .4s ease; pointer-events: none; }
.tile:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -36px rgba(15, 23, 34, 0.32); border-color: var(--line-2); }
.tile:hover::before { opacity: 1; }
.tile:hover .ico { transform: rotate(-6deg) scale(1.06); }
.tile h3 { font-size: 21px; letter-spacing: -0.03em; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.tile-green { background: radial-gradient(90% 130% at 20% 0%, #0aa57c 0%, var(--deep) 78%); border-color: transparent; color: #fff; }
.tile-green h3 { color: #fff; }
.tile-green p { color: rgba(255, 255, 255, 0.92); }
.tile-green::before { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.14), transparent); }
.fb-reward { margin-top: 16px; align-self: flex-start; font-weight: 700; background: rgba(255, 255, 255, 0.16); padding: 8px 14px; border-radius: 14px; font-size: 14px !important; color: #fff !important; }
.tile-wa { background: linear-gradient(180deg, #f3fcf6 0%, #e8f8ee 100%); border-color: rgba(18, 140, 74, 0.2); }
.tile-wa .btn { margin-top: 20px; align-self: flex-start; }
.ico.wa { background: #25d366; color: #fff; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.mini:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -34px rgba(15, 23, 34, 0.3); }
.mini h4 { font-size: 17px; letter-spacing: -0.025em; margin-bottom: 6px; }
.mini p { font-size: 14.5px; color: var(--muted); }
.trust .mini { background: var(--band); border-color: transparent; }

/* ---------- Telematik ---------- */
.tele-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.tele-copy h2 { margin-bottom: 20px; }
.tele-copy > p { font-size: clamp(17px, 1.5vw, 19px); }
.tele-board { margin: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 28px; padding: clamp(16px, 2.6vw, 28px); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.8); }
.tb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.tb-model { font-size: 13px; color: var(--night-text); margin-inline-end: auto; }
.tb-src { font-size: 11.5px; font-weight: 600; color: #34d399; border: 1px solid rgba(52, 211, 153, 0.35); padding: 3px 9px; border-radius: 980px; }
.tb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gauge { position: relative; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; padding: 14px 8px 12px; text-align: center; min-width: 0; }
.g-ring { position: relative; max-width: 110px; margin: 0 auto; }
.gauge svg { width: 100%; height: auto; transform: rotate(-90deg); display: block; }
.g-bg { fill: none; stroke: rgba(255, 255, 255, 0.10); stroke-width: 8; }
.g-fg { fill: none; stroke: #34d399; stroke-width: 8; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-io); }
.gauge.warn .g-fg { stroke: var(--amber); }
.gauge.ev .g-fg { stroke: #60a5fa; }
.tele-board.play .g-fg { stroke-dashoffset: calc(100 - var(--v) * 100); }
.g-val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 1px; }
.g-val b { font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.g-val small { font-size: 12px; color: var(--night-text); }
.g-lab { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: #dfe5ee; white-space: nowrap; }
.g-lab .i { width: 15px; height: 15px; color: #8a93a3; }
.g-lab .bolt { color: #60a5fa; }
.tele-board.play .bolt { animation: bolt 1.4s ease-in-out infinite; }
@keyframes bolt { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(0.82); } }
.tb-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.tires { position: relative; height: 170px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; }
.car-top { position: absolute; left: 50%; top: 50%; width: 58px; height: 120px; transform: translate(-50%, -50%); border-radius: 18px 18px 12px 12px; border: 2px solid rgba(255, 255, 255, 0.28); background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent); }
.car-top::before { content: ""; position: absolute; left: 7px; right: 7px; top: 16px; height: 22px; border-radius: 8px 8px 3px 3px; background: rgba(96, 165, 250, 0.25); }
.tire { position: absolute; font-size: 15px; font-weight: 700; color: #fff; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); white-space: nowrap; opacity: 0; transform: scale(0.9); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.tire small { font-size: 10.5px; color: var(--night-text); margin-left: 3px; font-weight: 600; }
.tire.low { border-color: rgba(245, 158, 11, 0.6); background: rgba(245, 158, 11, 0.14); }
.t-fl { left: 7%; top: 14%; } .t-fr { right: 7%; top: 14%; } .t-rl { left: 7%; bottom: 14%; } .t-rr { right: 7%; bottom: 14%; }
.tele-board.play .tire { opacity: 1; transform: none; }
.tele-board.play .t-fr { transition-delay: .1s; } .tele-board.play .t-rl { transition-delay: .2s; } .tele-board.play .t-rr { transition-delay: .3s; }
.tele-board.play .tire.low { animation: lowpulse 2s ease-in-out 1s infinite; }
@keyframes lowpulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.tb-side { display: grid; gap: 12px; grid-template-rows: auto 1fr; }
.lamps { display: flex; gap: 8px; justify-content: center; padding: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; }
.lamp { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.lamp .i { width: 20px; height: 20px; }
.lamp.amber { color: var(--amber); background: rgba(245, 158, 11, 0.14); }
.lamp.off { color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.04); }
.tele-board.play .lamp.amber { animation: lowpulse 1.6s ease-in-out infinite; }
.odo { display: flex; flex-direction: column; justify-content: center; padding: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; min-width: 0; }
.odo span { font-size: 12px; color: var(--night-text); font-weight: 600; }
.odo b { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.events { margin-top: 12px; display: grid; gap: 8px; }
.events li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: #e8edf3; padding: 11px 13px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07); opacity: 0; transform: translateX(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.events em { margin-inline-start: auto; font-style: normal; font-size: 12px; color: var(--night-text); white-space: nowrap; }
.ev-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.ev-dot.ok { background: #34d399; }
.tele-board.play .events li { opacity: 1; transform: none; }
.tele-board.play .events li:nth-child(1) { transition-delay: .5s; }
.tele-board.play .events li:nth-child(2) { transition-delay: .7s; }
.tele-board.play .events li:nth-child(3) { transition-delay: .9s; }
.tele-board figcaption { margin-top: 14px; text-align: right; }
.tele-shots { margin-top: clamp(56px, 8vw, 96px); text-align: center; }
.tele-shots .browser { text-align: left; max-width: 1000px; margin: 0 auto; }
.lp { vertical-align: middle; }

/* ---------- Integrationen ---------- */
.integ { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 24px; min-height: 380px; padding: 28px; border-radius: 32px; background: radial-gradient(60% 70% at 50% 50%, rgba(0, 178, 135, 0.09), transparent 70%), var(--soft); border: 1px solid var(--line); }
.integ-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.integ-lines path { fill: none; stroke: rgba(0, 134, 95, 0.22); stroke-width: 1.6; }
.integ-lines path.flow { stroke: var(--btn); stroke-width: 2; stroke-dasharray: 3 11; stroke-linecap: round; animation: flow 1.6s linear infinite; opacity: 0; transition: opacity .6s ease; }
.integ.play .integ-lines path.flow { opacity: .85; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.integ-col { position: relative; z-index: 1; display: grid; gap: 22px; }
.integ-col.in { justify-items: start; }
.integ-col.out { justify-items: end; }
.integ-col.mid { justify-items: center; }
.node { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 30px -20px rgba(15, 23, 34, 0.3); min-width: 196px; transition: transform .5s var(--ease); }
.node:hover { transform: translateY(-3px); }
.node b { display: block; font-size: 15.5px; letter-spacing: -0.02em; }
.node small { font-size: 12.5px; color: var(--muted); }
.n-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--night); flex: none; }
.n-ico .i { width: 22px; height: 22px; }
.n-out { background: var(--mint); color: var(--deep); }
.hub { position: relative; width: 150px; height: 150px; border-radius: 40px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 96, 71, 0.55); display: grid; place-items: center; align-content: center; gap: 8px; }
.hub img { width: 52px; height: auto; }
.hub b { font-size: 15px; letter-spacing: -0.02em; }
.hub-ring { position: absolute; inset: -1px; border-radius: 40px; border: 2px solid rgba(0, 178, 135, 0.38); opacity: 0; }
.integ.play .hub-ring { animation: ring 2.8s var(--ease) infinite; }
.integ.play .hub-ring.r2 { animation-delay: 1.4s; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.45); opacity: 0; } }

/* ---------- Zahlen ---------- */
.section-green { background: linear-gradient(135deg, #00865f 0%, var(--deep) 100%); color: #fff; padding: clamp(64px, 8vw, 104px) 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; text-align: center; }
.stat .n { font-size: clamp(48px, 6vw, 80px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { color: rgba(255, 255, 255, 0.88); font-size: 15px; margin-top: 10px; }

/* ---------- Support & Vertrauen ---------- */
.support-hero { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.support-hero .ico-lg { margin: 0 auto 18px; }
.support-hero h2 { margin-bottom: 18px; }
.support-claim { font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; color: var(--deep); }
.trust-head { text-align: center; margin: clamp(56px, 8vw, 96px) 0 28px; }
.wip { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }
.wip-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line-2); padding: 3px 10px; border-radius: 980px; margin-right: 10px; }

/* ---------- Preise ---------- */
.pricing-wrap { display: flex; justify-content: center; }
.price-card { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 4vw, 44px); text-align: center; box-shadow: 0 40px 90px -50px rgba(15, 23, 34, 0.35); }
.price-plan { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.price-toggle { margin-bottom: 26px; }
.price-amount { display: flex; align-items: baseline; justify-content: center; }
.price-now { display: inline-block; font-size: clamp(52px, 7vw, 66px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; transition: opacity .2s ease, transform .35s var(--ease); }
.price-now.tick { opacity: 0; transform: translateY(8px); }
.price-unit { font-size: 15px; color: var(--muted); margin-top: 8px; }
.price-sub { font-size: 14px; color: var(--green-text); font-weight: 700; margin-top: 6px; min-height: 21px; }
.price-vat { font-size: 13px; color: var(--muted); margin: 2px 0 26px; }
.price-features { text-align: left; display: grid; gap: 13px; margin-bottom: 28px; }
.price-features li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.price-features .i { width: 22px; height: 22px; color: var(--btn); }
.price-fine { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* ---------- Bewertungen ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; }
.tstars { display: flex; gap: 2px; margin-bottom: 14px; color: #e5a100; }
.tstars svg { width: 18px; height: 18px; }
.tstars .off { color: #e5e7eb; }
.tcard .quote { font-size: 15.5px; line-height: 1.55; margin-bottom: 18px; color: var(--text-2); }
.tcard .who { margin-top: auto; }
.tcard .nm { font-weight: 700; font-size: 14.5px; }
.tcard .meta { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- Abschluss-CTA ---------- */
.cta { text-align: center; }
.cta h2 { margin-bottom: 18px; }
.cta p { font-size: clamp(17px, 1.6vw, 20px); max-width: 540px; margin: 0 auto; }

/* ---------- Fusszeile ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--soft); }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-logo img { height: 40px; width: auto; margin-bottom: 16px; }
.foot .desc { color: var(--muted); font-size: 14.5px; max-width: 300px; }
.foot-cols { display: flex; gap: clamp(28px, 5vw, 56px); flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; color: var(--muted); margin-bottom: 14px; font-weight: 600; letter-spacing: 0; }
.foot-col a { display: block; color: var(--text-2); font-size: 14.5px; margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: var(--green-text); }
.kw-logo { height: 24px; width: auto; opacity: .9; transition: opacity .2s; }
.kw-logo:hover { opacity: 1; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.marks { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ---------- Ohne JS: Grafiken im Endzustand ---------- */
html:not(.js) .tire, html:not(.js) .events li { opacity: 1; transform: none; }
html:not(.js) .g-fg { stroke-dashoffset: calc(100 - var(--v) * 100); }
html:not(.js) .integ-lines { display: none; }

/* ---------- Scroll-Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
}
@media (max-width: 900px) {
  /* Lange Reiterleisten: umbrechen statt seitlich abschneiden */
  .seg-wrap { overflow: visible; }
  .seg-wrap .seg { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; border-radius: 22px; }
  .seg-wrap .seg-thumb { display: none; }
  .seg-wrap .seg button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 34, 0.14); }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 100px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--gutter) 20px; background: rgba(255, 255, 255, 0.98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgba(15, 23, 34, 0.4); }
  .nav-links.open a:not(.btn) { padding: 12px 2px; font-size: 16px; }
  .nav-links.open .btn { margin: 8px 0 0; padding: 12px 18px; font-size: 15px; }
  .sc-grid, .tele-grid, .feature-row, .panel-split, .remind { grid-template-columns: minmax(0, 1fr); }
  .feature-row.reverse > .feature-copy { order: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .sc-visual { max-width: 340px; width: 100%; margin: 0 auto; }
  /* Story: kein Sticky, Bild je Kapitel */
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story-stage { display: none; }
  .chapter, .js .chapter { min-height: 0; opacity: 1; padding: 24px 0 40px; }
  .ch-img { display: block; margin-top: 24px; }
  .row3 { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .tgrid { grid-template-columns: minmax(0, 1fr); }
  .remind-visual img { max-width: 380px; }
  .panel-visual { order: 2; }
  /* Integrationen: vertikal */
  .integ { grid-template-columns: minmax(0, 1fr); gap: 56px; padding: 28px 14px; }
  .integ-col.in, .integ-col.out { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; justify-items: stretch; }
  .node { flex-direction: column; text-align: center; min-width: 0; padding: 12px 6px; gap: 8px; }
  .node small { display: none; }
  .node b { font-size: 13px; }
  .hub { width: 120px; height: 120px; border-radius: 32px; }
  .hub-ring { border-radius: 32px; }
  .js .hero-tilt { --tilt: 0deg; --tscale: 1; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .display { font-size: clamp(42px, 12vw, 56px); }
  .hero .cta-row .btn { width: 100%; }
  .bbar { height: 24px; gap: 5px; padding: 0 9px; }
  .bbar i { width: 8px; height: 8px; }
  .bbar span { font-size: 10px; padding: 1px 9px; margin-left: 6px; }
  .browser-xl .bbar { height: 26px; }
  .browser-xl .bbar i { width: 8px; height: 8px; }
  .browser { border-radius: 12px; }
  .langs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row4 { grid-template-columns: minmax(0, 1fr); }
  .tb-grid { gap: 8px; }
  .tb-row { grid-template-columns: minmax(0, 1fr); }
  .g-lab { font-size: 11px; white-space: normal; flex-wrap: wrap; line-height: 1.3; }
  .news-bar { font-size: 12px; }
  .news-bar .nb-long { display: none; }
  .seg button { padding: 8px 12px; font-size: 13px; }
  .seg-sm button { padding: 7px 11px; font-size: 12.5px; }
  .tabs > .seg { display: flex; width: 100%; }
  .tabs > .seg button { flex: 1; justify-content: center; }
  .tile, .mini { padding: 22px; }
  .events li { flex-wrap: wrap; }
  .events em { margin-inline-start: 18px; width: 100%; }
}
@media (max-width: 380px) {
  .lang { font-size: 12.5px; }
  .facts span { font-size: 13px; }
}

/* ---------- Reduzierte Bewegung: alle Animationen aus ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .hero-tilt { --tilt: 0deg; --tscale: 1; }
  .integ-lines path.flow { opacity: .85; stroke-dasharray: none; }
  .tile:hover, .mini:hover, .node:hover { transform: none; }
}
