/* ============================================================
   TPE Europe GmbH — Website
   Dark, premium, technical. Brand crimson accent.
   ============================================================ */

:root {
  /* Brand */
  --red:        #d81f2c;
  --red-bright: #ff2f3d;
  --red-deep:   #a3121d;
  --red-glow:   rgba(216, 31, 44, 0.45);

  /* Neutrals (dark) */
  --bg:        #08080a;
  --bg-2:      #0c0d10;
  --surface:   #111318;
  --surface-2: #171a20;
  --surface-3: #1e222a;
  --border:    rgba(255, 255, 255, 0.08);
  --border-2:  rgba(255, 255, 255, 0.14);

  /* Text */
  --text:   #f5f6f8;
  --text-2: #b9bec8;
  --muted:  #7a828f;

  /* Type */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red-bright);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--red); }
.section-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 18px 0 20px;
}
.section-lead { color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 60ch; }
.grad-text {
  background: linear-gradient(100deg, #fff 0%, #ffb3b8 45%, var(--red-bright) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 100px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 8px 30px -8px var(--red-glow);
}
.btn-primary:hover { transform: translateY(-3px); background: var(--red-bright); box-shadow: 0 16px 40px -10px var(--red-glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--red); background: rgba(216,31,44,0.08); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,10,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; font-family: var(--font-head); font-weight: 700; letter-spacing: .01em; }
.brand img { width: 40px; height: 40px; }
.brand span { font-size: 1.05rem; }
.brand small { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head); font-size: .92rem; font-weight: 500; color: var(--text-2);
  padding: 9px 15px; border-radius: 100px; transition: color .25s, background .25s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle { display: flex; border: 1px solid var(--border-2); border-radius: 100px; overflow: hidden; }
.lang-toggle button {
  font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  padding: 7px 13px; color: var(--muted); transition: color .25s, background .25s;
}
.lang-toggle button.active { background: var(--red); color: #fff; }
.nav-cta { display: inline-flex; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 76px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
}
.hero-bg .glow.a { width: 620px; height: 620px; top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(216,31,44,.55), transparent 70%); animation: float1 16s var(--ease) infinite; }
.hero-bg .glow.b { width: 520px; height: 520px; bottom: -200px; left: -140px;
  background: radial-gradient(circle, rgba(120,20,30,.5), transparent 70%); animation: float2 20s var(--ease) infinite; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
}
.hero-noise { position: absolute; inset: 0; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-40px,50px) scale(1.08)} }
@keyframes float2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(50px,-40px) scale(1.12)} }

.hero-inner { position: relative; z-index: 2; padding: 60px 0; }
.hero h1 {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -0.03em;
  max-width: 16ch; margin: 26px 0 26px;
}
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--text-2); max-width: 54ch; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll .line { width: 1px; height: 46px; background: linear-gradient(var(--red), transparent); animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ============================================================
   CAPABILITIES (intro strip)
   ============================================================ */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.cap-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 30px;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; position: relative; overflow: hidden;
}
.cap-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(216,31,44,.14), transparent 60%); opacity: 0; transition: opacity .4s; }
.cap-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: 0 24px 60px -30px rgba(0,0,0,.9); }
.cap-card:hover::before { opacity: 1; }
.cap-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(216,31,44,.12); border: 1px solid rgba(216,31,44,.3); color: var(--red-bright); }
.cap-icon svg { width: 26px; height: 26px; }
.cap-card h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.cap-card p { color: var(--text-2); font-size: .97rem; }

/* ============================================================
   APPS
   ============================================================ */
.apps { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.apps-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.app-features { margin-top: 36px; display: flex; flex-direction: column; gap: 8px; }
.app-feature { display: flex; gap: 18px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: background .3s, border-color .3s; }
.app-feature:hover { background: var(--surface); border-color: var(--border); }
.app-feature .num { font-family: var(--font-head); font-weight: 600; color: var(--red-bright); font-size: .9rem; padding-top: 3px; min-width: 34px; }
.app-feature h4 { font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; margin-bottom: 4px; }
.app-feature p { color: var(--text-2); font-size: .95rem; }
.app-stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px; border-radius: 14px;
  border: 1px solid var(--border-2); background: var(--surface); transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.store-badge:hover { transform: translateY(-3px); border-color: var(--red); background: var(--surface-2); }
.store-badge svg { width: 26px; height: 26px; }
.store-badge .st { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge .st small { font-size: .62rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.store-badge .st b { font-family: var(--font-head); font-size: 1rem; font-weight: 600; }

/* App portfolio grid */
.app-portfolio { margin-top: clamp(70px, 9vw, 120px); }
.app-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 46px; }
.app-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; overflow: hidden;
}
.app-card::after { content:""; position:absolute; top:0; left:0; right:0; height:2px; background: linear-gradient(90deg, var(--red), transparent); opacity:0; transition: opacity .4s; }
.app-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: 0 24px 60px -30px rgba(0,0,0,.9); }
.app-card:hover::after { opacity: 1; }
.app-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-logo { width: 58px; height: 58px; border-radius: 15px; overflow: hidden; flex: none; border: 1px solid var(--border-2); box-shadow: 0 6px 18px -8px rgba(0,0,0,.8); }
.app-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-card h4 { font-family: var(--font-head); font-size: 1.32rem; font-weight: 600; line-height: 1.15; }
.app-tag-pill { display: inline-block; font-family: var(--font-head); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; margin-top: 6px; }
.tag-own { color: var(--red-bright); background: rgba(216,31,44,.12); border: 1px solid rgba(216,31,44,.3); }
.tag-ext { color: #6fb1ff; background: rgba(43,108,255,.12); border: 1px solid rgba(43,108,255,.3); }
.app-card > p { color: var(--text-2); font-size: .96rem; flex: 1; }
.app-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.app-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .82rem; font-weight: 500; padding: 9px 15px; border-radius: 100px; border: 1px solid var(--border-2); color: var(--text-2); transition: transform .3s var(--ease), border-color .3s, color .3s, background .3s; }
.app-link:hover { border-color: var(--red); color: #fff; background: rgba(216,31,44,.08); transform: translateY(-2px); }
.app-link svg { width: 15px; height: 15px; }

/* Device visual */
.phone-wrap { position: relative; display: grid; place-items: center; }
.phone-wrap .halo { position: absolute; width: 115%; height: 115%; background: radial-gradient(circle, var(--red-glow), transparent 65%); filter: blur(50px); opacity: .5; }
@keyframes phoneFloat { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-16px) rotate(1deg)} }

/* Real rendered app device (transparent PNG) */
.app-shot {
  position: relative; z-index: 2; width: min(300px, 74vw); display: block;
  filter: drop-shadow(0 44px 70px rgba(0,0,0,.7));
  animation: phoneFloat 7s var(--ease) infinite;
}
.app-shot-badge {
  position: absolute; z-index: 4; bottom: 15%; left: -18px;
  display: flex; align-items: center; gap: 12px; padding: 11px 20px 11px 11px;
  background: rgba(18,20,25,.86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--border-2); border-radius: 16px; box-shadow: 0 22px 50px -20px rgba(0,0,0,.9);
}
.app-shot-badge img { width: 42px; height: 42px; border-radius: 11px; }
.app-shot-badge b { font-family: var(--font-head); font-size: .96rem; display: block; line-height: 1.2; }
.app-shot-badge small { color: var(--muted); font-size: .72rem; }
.app-shot-live { display: inline-flex; align-items: center; gap: 6px; }
.app-shot-live::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: #38d39f; box-shadow: 0 0 0 3px rgba(56,211,159,.2); }

/* ============================================================
   HARDWARE (ECUconnect)
   ============================================================ */
.hardware { background:
  radial-gradient(70% 60% at 78% 30%, rgba(216,31,44,.06), transparent 60%),
  linear-gradient(180deg, var(--bg), var(--bg-2)); }
.hw-layout { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hw-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hw-visual .halo { position: absolute; width: 92%; height: 92%; background: radial-gradient(circle, var(--red-glow), transparent 62%); filter: blur(58px); opacity: .55; }
.hw-ring {
  position: absolute; width: min(430px, 82%); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--border-2);
  -webkit-mask: radial-gradient(closest-side, transparent 68%, #000 69%, #000 71%, transparent 72%);
          mask: radial-gradient(closest-side, transparent 68%, #000 69%, #000 71%, transparent 72%);
  opacity: .6; animation: hwSpin 26s linear infinite;
}
@keyframes hwSpin { to { transform: rotate(360deg); } }
.hw-shot {
  position: relative; z-index: 2; width: min(340px, 72vw); display: block;
  filter: drop-shadow(0 46px 72px rgba(0,0,0,.72));
  animation: phoneFloat 8s var(--ease) infinite;
}
.hw-badge {
  position: absolute; z-index: 4; bottom: 12%; right: -6px;
  display: flex; align-items: center; gap: 12px; padding: 11px 20px 11px 14px;
  background: rgba(18,20,25,.86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--border-2); border-radius: 16px; box-shadow: 0 22px 50px -20px rgba(0,0,0,.9);
}
.hw-badge b { font-family: var(--font-head); font-size: .96rem; display: block; line-height: 1.2; }
.hw-badge small { color: var(--muted); font-size: .72rem; }
.hw-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 4px var(--red-glow); flex: none; }
.hw-specs { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hw-spec {
  padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
}
.hw-spec:hover { border-color: var(--border-2); transform: translateY(-2px); }
.hw-spec-k { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hw-spec-v { font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--text); }

/* ============================================================
   COMPETENCE (ECU / platforms)
   ============================================================ */
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.plat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: transform .4s var(--ease), border-color .4s, background .4s; }
.plat-card:hover { transform: translateY(-6px); border-color: var(--red); background: var(--surface-2); }
.plat-card .badge { font-family: var(--font-head); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-bright); }
.plat-card h3 { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; margin: 10px 0 16px; }
.plat-card ul { display: flex; flex-wrap: wrap; gap: 8px; }
.plat-card li { font-family: var(--font-head); font-size: .8rem; color: var(--text-2); background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 100px; padding: 5px 12px; }

.ecu-strip { margin-top: 26px; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ecu-item { border-top: 1px solid var(--border); padding-top: 18px; }
.ecu-item b { font-family: var(--font-head); display: block; font-size: 1rem; margin-bottom: 4px; }
.ecu-item span { color: var(--muted); font-size: .85rem; }

/* ============================================================
   HIGHLIGHTS (world firsts)
   ============================================================ */
.highlights { background: radial-gradient(820px circle at 12% 0%, rgba(216,31,44,.12), transparent 55%), var(--bg-2); border-top: 1px solid var(--border); }
.hl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 56px; }
.hl-card { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px 34px; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.hl-card::after { content:""; position:absolute; top:0; left:0; right:0; height:2px; background: linear-gradient(90deg, var(--red), transparent); opacity:0; transition: opacity .4s; }
.hl-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); }
.hl-card:hover::after { opacity: 1; }
.hl-card.wide { grid-column: 1 / -1; display: flex; gap: 36px; align-items: center; }
.hl-card.wide .hl-body { flex: 1; }
.hl-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.hl-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(216,31,44,.12); border: 1px solid rgba(216,31,44,.3); color: var(--red-bright); flex: none; }
.hl-icon svg { width: 28px; height: 28px; }
.hl-icon.big { width: 76px; height: 76px; border-radius: 18px; }
.hl-icon.big svg { width: 36px; height: 36px; }
.hl-flag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--red); padding: 7px 14px; border-radius: 100px; box-shadow: 0 8px 22px -8px var(--red-glow); white-space: nowrap; }
.hl-flag::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.hl-flag.alt { background: rgba(255,255,255,.05); color: var(--text-2); box-shadow: none; border: 1px solid var(--border-2); margin-bottom: 20px; }
.hl-flag.alt::before { background: var(--red-bright); }
.hl-card h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 12px; line-height: 1.15; }
.hl-card p { color: var(--text-2); font-size: 1rem; max-width: 58ch; }

/* ============================================================
   STATS
   ============================================================ */
.stats { background:
   radial-gradient(700px circle at 80% 0%, rgba(216,31,44,.12), transparent 60%), var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat .n { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.03em; }
.stat .n .grad-text, .stat .n { background: linear-gradient(180deg,#fff,#ffb0b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .suffix { color: var(--red-bright); -webkit-text-fill-color: var(--red-bright); }
.stat .lbl { margin-top: 12px; color: var(--text-2); font-size: .95rem; }

/* ============================================================
   STORY (timeline)
   ============================================================ */
.timeline { margin-top: 60px; position: relative; }
.timeline::before { content:""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--red), transparent); }
.tl-item { position: relative; padding: 0 0 46px 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content:""; position: absolute; left: -6px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 5px rgba(216,31,44,.18); }
.tl-item .yr { font-family: var(--font-head); font-weight: 700; color: var(--red-bright); font-size: 1.1rem; }
.tl-item h4 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; margin: 4px 0 6px; }
.tl-item p { color: var(--text-2); max-width: 60ch; }

.story-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px,6vw,80px); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { position: relative; overflow: hidden; }
.contact-card {
  position: relative; z-index: 2;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--border-2); border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px,6vw,72px); align-items: center;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9);
}
.contact-card .glow2 { position: absolute; width: 500px; height: 500px; top: -150px; right: -120px; border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow), transparent 65%); filter: blur(70px); opacity: .5; z-index: -1; }
.contact h2 { font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.contact .lead { color: var(--text-2); margin: 18px 0 30px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: flex; gap: 16px; }
.info-item .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(216,31,44,.12); border: 1px solid rgba(216,31,44,.3); color: var(--red-bright); }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item small { color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.info-item b, .info-item a { font-family: var(--font-head); font-weight: 500; font-size: 1rem; }
.info-item a:hover { color: var(--red-bright); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 64px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.footer .brand small { color: var(--muted); }
.footer-col h5 { font-family: var(--font-head); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-2); padding: 5px 0; transition: color .25s; }
.footer-col a:hover { color: var(--red-bright); }
.footer-about { color: var(--text-2); max-width: 40ch; margin: 18px 0 0; font-size: .95rem; }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--text-2); transition: all .3s; }
.socials a:hover { border-color: var(--red); color: #fff; background: rgba(216,31,44,.1); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; color: var(--muted); font-size: .85rem; }
.footer-bottom a { color: var(--muted); } .footer-bottom a:hover { color: var(--text); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .cap-grid, .plat-grid, .stats-grid, .ecu-strip { grid-template-columns: repeat(2, 1fr); }
  .apps-layout, .hw-layout, .story-layout, .contact-card, .footer-top { grid-template-columns: 1fr; }
  .app-cards, .hl-grid { grid-template-columns: 1fr; }
  .hl-card.wide { flex-direction: column; align-items: flex-start; gap: 24px; }
  .apps-layout, .hw-layout { gap: 60px; }
  .phone-wrap { order: -1; }
  .hw-visual { min-height: 320px; }
  .footer-top { gap: 34px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(8,8,10,.96); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border); padding: 18px clamp(20px,5vw,48px) 26px; gap: 4px;
  }
  .nav-links.mobile-open a { padding: 14px 12px; font-size: 1.05rem; }
  .cap-grid, .stats-grid, .ecu-strip { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: 1fr; }
  .hw-specs { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
}

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

/* ============================================================
   Rechtsseiten (Impressum / Datenschutz)
   ============================================================ */
.legal-main { padding: clamp(120px, 16vw, 180px) 0 clamp(70px, 10vw, 120px); position: relative; }
.legal-main::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(216,31,44,.10), transparent 60%),
    radial-gradient(50% 40% at 100% 10%, rgba(216,31,44,.06), transparent 60%);
}
.legal-wrap { max-width: 820px; }
.legal-wrap .eyebrow { margin-bottom: 18px; }
.legal-wrap h1 {
  font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.05; margin-bottom: 10px;
}
.legal-updated { color: var(--muted); font-size: .9rem; margin-bottom: 44px; }
.legal-wrap h2 {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem); margin: 40px 0 12px;
  padding-top: 26px; border-top: 1px solid var(--border);
}
.legal-wrap h2:first-of-type { border-top: none; padding-top: 0; }
.legal-wrap h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; margin: 22px 0 6px; }
.legal-wrap p, .legal-wrap li { color: var(--text-2); }
.legal-wrap p { margin-bottom: 14px; }
.legal-wrap a { color: var(--text); border-bottom: 1px solid var(--border-2); transition: border-color .2s var(--ease); }
.legal-wrap a:hover { border-color: var(--red-bright); }
.legal-wrap ul { margin: 0 0 16px 0; }
.legal-wrap ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.legal-wrap ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--red); }
.legal-wrap strong { color: var(--text); font-weight: 600; }
.legal-card {
  margin: 4px 0 30px; padding: clamp(20px, 3vw, 30px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.legal-card p:last-child { margin-bottom: 0; }
.back-home { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--text-2); border: none; }
.back-home svg { width: 18px; height: 18px; }
.back-home:hover { color: var(--text); }
