*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0d0d0d;
  --white: #f5f4f0;
  --accent: #e8311a;
  --accent-dark: #e8311a;
  --blue: #e8311a;
  --blue-dark: #c4250f;
  --gray: #6b6b6b;
  --light-gray: #e8e6e0;
  --card-bg: #181818;
  --nav-bg: rgba(13,13,13,0.85);
  --nav-border: rgba(255,255,255,0.06);
  --text-muted: rgba(245,244,240,0.7);
  --text-sub: rgba(245,244,240,0.6);
  --stats-bg: rgba(232,49,26,0.06);
  --stats-border: rgba(232,49,26,0.2);
  --section-alt: #111;
  --border-subtle: rgba(255,255,255,0.05);
  --input-bg: rgba(255,255,255,0.04);
  --input-border: rgba(255,255,255,0.1);
}

html[data-theme="light"] {
  --black: #f8f7f4;
  --white: #1c1c1e;
  --gray: #636366;
  --light-gray: #e4e2dd;
  --card-bg: #ffffff;
  --nav-bg: rgba(255,255,255,0.97);
  --nav-border: rgba(0,0,0,0.07);
  --text-muted: rgba(28,28,30,0.62);
  --text-sub: rgba(28,28,30,0.52);
  --stats-bg: rgba(232,49,26,0.04);
  --stats-border: rgba(232,49,26,0.12);
  --section-alt: #f0ede8;
  --border-subtle: rgba(0,0,0,0.05);
  --input-bg: #ffffff;
  --input-border: rgba(0,0,0,0.13);
}

/* Theme Toggle Button */
.theme-toggle {
  width: 40px; height: 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
html[data-theme="light"] .theme-toggle {
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.15);
}
.theme-toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.3s;
}
html[data-theme="light"] .theme-toggle::after {
  transform: translateX(18px);
}
.theme-toggle-wrap {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-muted);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 4rem;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-border);
  transition: background 0.3s;
}
.nav-logo {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: rgba(245,244,240,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: var(--white) !important; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 4rem;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  will-change: transform;
  transform: translateZ(0);
}
.hero-glow-1 {
  width: 900px; height: 650px;
  background: radial-gradient(ellipse at center, rgba(232,49,26,0.18) 0%, rgba(232,49,26,0.06) 40%, rgba(232,49,26,0) 70%);
  top: -15%; right: -8%;
  animation: glowDrift1 14s ease-in-out infinite;
}
.hero-glow-2 {
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(240,160,40,0.1) 0%, rgba(240,160,40,0.03) 45%, rgba(240,160,40,0) 70%);
  bottom: -25%; left: -5%;
  animation: glowDrift2 18s ease-in-out infinite;
}
.hero-glow-3 {
  width: 450px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(232,49,26,0.1) 0%, rgba(232,49,26,0.02) 50%, rgba(232,49,26,0) 70%);
  top: 35%; left: 30%;
  animation: glowDrift3 11s ease-in-out infinite;
}
@keyframes glowDrift1 {
  0%,100% { transform: translateZ(0) translate(0,0); }
  33%     { transform: translateZ(0) translate(-35px,28px); }
  66%     { transform: translateZ(0) translate(22px,-22px); }
}
@keyframes glowDrift2 {
  0%,100% { transform: translateZ(0) translate(0,0); }
  40%     { transform: translateZ(0) translate(38px,-32px); }
  80%     { transform: translateZ(0) translate(-18px,22px); }
}
@keyframes glowDrift3 {
  0%,100% { transform: translateZ(0) translate(0,0); }
  50%     { transform: translateZ(0) translate(-28px,-20px); }
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(232,49,26,0.15);
  border: 1px solid rgba(232,49,26,0.3);
  color: var(--blue);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 100px;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.6s 0.2s forwards;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--blue); border-radius: 50%;
}
.hero-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2.75rem, 4.7vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.6s 0.35s forwards;
}
.hero-title .accent {
  background: linear-gradient(90deg, #e8311a, #ff8a3d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(245,244,240,0.6);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  opacity: 0; animation: fadeUp 0.6s 0.5s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; align-items: center; justify-content: center;
  opacity: 0; animation: fadeUp 0.6s 0.65s forwards;
}

/* ── Hero: Logo-Bühne (3b) ── */
.hero-center { position: relative; z-index: 1; max-width: 840px; margin: 0 auto; }
.hero-logo-stage {
  position: relative; height: clamp(210px, 22vw, 255px);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.hero-logo-pulse {
  position: absolute; left: 50%; top: 50%;
  width: 560px; height: 300px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(232,49,26,0.28) 0%, rgba(232,49,26,0) 65%);
  animation: heroPulse 5s ease-in-out infinite;
  pointer-events: none;
}
.hero-streak {
  position: absolute; left: 0;
  width: 220px; height: 3px; border-radius: 3px;
  opacity: 0; pointer-events: none;
}
.streak-1 { top: 26%; background: linear-gradient(90deg, rgba(232,49,26,0) 0%, #ff5a2e 100%); animation: heroStreak 2.8s ease-in-out 0.3s infinite; }
.streak-2 { top: 50%; width: 300px; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 100%); animation: heroStreak 2.8s ease-in-out 0.9s infinite; }
.streak-3 { top: 72%; width: 180px; background: linear-gradient(90deg, rgba(232,49,26,0) 0%, #e8311a 100%); animation: heroStreak 2.8s ease-in-out 1.6s infinite; }
html[data-theme="light"] .streak-2 { background: linear-gradient(90deg, rgba(28,28,30,0) 0%, rgba(28,28,30,0.45) 100%); }
.hero-logo-img {
  height: clamp(195px, 20vw, 235px); position: relative;
  animation: logoDrive 1.4s cubic-bezier(0.2,0.9,0.3,1) both;
  filter: drop-shadow(0 12px 50px rgba(232,49,26,0.35));
}
@keyframes logoDrive {
  0%   { transform: translateX(-140px); opacity: 0; }
  60%  { transform: translateX(14px); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes heroStreak {
  0%   { transform: translateX(-120%); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateX(260%); opacity: 0; }
}
@keyframes heroPulse {
  0%,100% { opacity: 0.45; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: 0.9;  transform: translate(-50%,-50%) scale(1.04); }
}
.btn-primary {
  background: linear-gradient(90deg, #e8311a, #ff5a2e);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  border: none; cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(232,49,26,0.45);
  transition: box-shadow 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(232,49,26,0.6); }
.btn-secondary {
  color: rgba(245,244,240,0.85);
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  display: flex; align-items: center; gap: 0.5rem;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-secondary::after { content: ''; }
.btn-secondary:hover::after { transform: translateX(4px); }

.hero-visual {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: center;
}
.hero-card {
  background: rgba(13,13,13,0.55);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 3rem;
  width: 430px;
  opacity: 0; animation: fadeUp 0.7s 0.5s forwards;
}
.hero-card-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.5rem;
}
.hero-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 1.5rem;
}
.stat-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1.5rem;
}
.stat-box {
  border-radius: 10px; padding: 1rem;
  background: linear-gradient(135deg, rgba(232,49,26,0.12) 0%, rgba(255,255,255,0.04) 50%, rgba(232,49,26,0.07) 100%);
  background-size: 300% 300%;
  animation: statShimmer 7s ease-in-out infinite;
}
@keyframes statShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.stat-box .num {
  font-family: 'Unbounded', sans-serif;
  font-size: 2.6rem; font-weight: 800;
  color: var(--white);
}
.stat-box .label {
  font-size: 0.78rem; color: rgba(245,244,240,0.5);
  margin-top: 0.2rem;
}
.progress-item { margin-bottom: 0.8rem; }
.progress-header {
  display: flex; justify-content: space-between;
  font-size: 0.82rem; color: rgba(245,244,240,0.6);
  margin-bottom: 0.35rem;
}
.progress-bar {
  height: 4px; background: rgba(255,255,255,0.08);
  border-radius: 2px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--accent); border-radius: 2px;
  width: 0;
  transition: width 1.1s cubic-bezier(0.4,0,0.2,1);
}

/* ─── SECTION SHARED ─── */
section { padding: 7rem 4rem; }
.section-label {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.1;
}
.section-sub {
  font-size: 1rem; color: rgba(245,244,240,0.55);
  line-height: 1.7; max-width: 520px;
  margin-top: 0.8rem; font-weight: 300;
}

/* ─── STATS BAR ─── */
#stats {
  padding: 3rem 4rem;
  background: rgba(232,49,26,0.06);
  border-top: 1px solid rgba(232,49,26,0.2);
  border-bottom: 1px solid rgba(232,49,26,0.2);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2rem; text-align: center;
}
.stat-item .big {
  font-family: 'Unbounded', sans-serif;
  font-size: 3rem; font-weight: 800;
  color: var(--white);
}
.stat-item .big span { color: var(--accent); }
.stat-item p {
  font-size: 0.85rem; color: rgba(245,244,240,0.5);
  margin-top: 0.25rem;
}

/* ── Tacho im Ablauf: Vollgas am Begrenzer ── */
.tacho-panel {
  position: sticky; top: 110px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: radial-gradient(420px 260px at 50% 0%, rgba(232,49,26,0.14) 0%, rgba(232,49,26,0) 65%), rgba(255,255,255,0.02);
  padding: 2.8rem 2rem 2.4rem;
  text-align: center;
}
html[data-theme="light"] .tacho-panel {
  border-color: rgba(0,0,0,0.1);
  background: radial-gradient(420px 260px at 50% 0%, rgba(232,49,26,0.1) 0%, rgba(232,49,26,0) 65%), #ffffff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.mini-tacho { width: min(280px, 85%); display: block; overflow: visible; margin: 0 auto; }
.mt-track { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 14; stroke-linecap: round; }
html[data-theme="light"] .mt-track { stroke: rgba(0,0,0,0.1); }
.mt-fill { fill: none; stroke: url(#tachoGrad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; }
.mini-tacho.go .mt-fill { animation: tachoDash 1.6s cubic-bezier(0.3,0.8,0.3,1) forwards; filter: drop-shadow(0 0 8px rgba(232,49,26,0.7)); }
.mt-redline { fill: none; stroke: #e8311a; stroke-width: 14; stroke-linecap: round; opacity: 0; }
.mini-tacho.go .mt-redline { animation: redlineFlicker 0.7s 1.6s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(232,49,26,0.9)); }
.mt-needle { stroke: #ff5a2e; stroke-width: 6; stroke-linecap: round; transform-origin: 110px 116px; transform: rotate(-88deg); }
.mini-tacho.go .mt-needle {
  animation:
    tachoNeedle 1.6s cubic-bezier(0.35,0.9,0.35,1) both,
    tachoLimiter 0.45s 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(232,49,26,0.8));
}
.mt-hub { fill: var(--black); stroke: #ff5a2e; stroke-width: 4; }
.tacho-num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800; font-size: 2.6rem; line-height: 1;
  margin-top: 1.1rem;
  background: linear-gradient(90deg, #e8311a, #ff8a3d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tacho-label {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 0.5rem;
}
.tacho-caption {
  margin-top: 1.4rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem; color: var(--text-muted);
}
html[data-theme="light"] .tacho-caption { border-top-color: rgba(0,0,0,0.08); }
@keyframes tachoDash { to { stroke-dashoffset: 10; } }
@keyframes tachoNeedle {
  0%   { transform: rotate(-88deg); }
  70%  { transform: rotate(89deg); }
  85%  { transform: rotate(82deg); }
  100% { transform: rotate(85deg); }
}
@keyframes tachoLimiter {
  0%   { transform: rotate(85deg); }
  30%  { transform: rotate(89deg); }
  55%  { transform: rotate(83.5deg); }
  80%  { transform: rotate(88deg); }
  100% { transform: rotate(85deg); }
}
@keyframes redlineFlicker {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

/* ─── LEISTUNGEN ─── */
#leistungen { background: var(--black); }
.leistungen-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.5rem;
}
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, background 0.3s, box-shadow 0.3s;
  cursor: default;
}
.card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(232,49,26,0.4);
  background: rgba(232,49,26,0.06);
  box-shadow: 0 0 28px rgba(232,49,26,0.15) inset, 0 8px 30px rgba(0,0,0,0.25);
}
html[data-theme="light"] .card {
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
html[data-theme="light"] .card:hover {
  border-color: rgba(232,49,26,0.35);
  background: rgba(232,49,26,0.04);
  box-shadow: 0 0 20px rgba(232,49,26,0.1) inset, 0 8px 24px rgba(0,0,0,0.1);
}
.card-icon {
  width: 48px; height: 48px;
  background: rgba(232,49,26,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.2rem;
  color: var(--blue);
}
.card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 0.6rem;
}
.card p {
  font-size: 0.88rem; color: rgba(245,244,240,0.5);
  line-height: 1.65;
}
.card-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent);
}

/* ─── LIGHT MODE OVERRIDES ─── */
html[data-theme="light"] body { background: #f8f7f4; color: #1c1c1e; }
html[data-theme="light"] nav { background: rgba(255,255,255,0.97); box-shadow: 0 1px 24px rgba(0,0,0,0.08); }
html[data-theme="light"] .nav-links a { color: rgba(28,28,30,0.65); }
html[data-theme="light"] .nav-links a:hover { color: #1c1c1e; }
html[data-theme="light"] .btn-secondary { color: rgba(28,28,30,0.75); border-color: rgba(0,0,0,0.2); }
html[data-theme="light"] .btn-secondary:hover { color: #1c1c1e; border-color: rgba(0,0,0,0.4); }
html[data-theme="light"] .hero-title { color: #1c1c1e; }
html[data-theme="light"] .hero-sub { color: rgba(28,28,30,0.62); }
html[data-theme="light"] .hero-badge { background: rgba(232,49,26,0.09); border-color: rgba(232,49,26,0.22); color: #e8311a; }
html[data-theme="light"] .hero-badge::before { background: #e8311a; }
html[data-theme="light"] .hero-grid-lines { background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px); }
html[data-theme="light"] .hero-card { background: #ffffff; border-color: rgba(0,0,0,0.09); box-shadow: 0 12px 48px rgba(0,0,0,0.1); }
html[data-theme="light"] .hero-card h3 { color: #1c1c1e; }
html[data-theme="light"] .hero-card-label { color: #e8311a; }
html[data-theme="light"] .stat-box { background: rgba(232,49,26,0.06); animation: none; }
html[data-theme="light"] .stat-box .num { color: #1c1c1e; }
html[data-theme="light"] .stat-box .label { color: rgba(28,28,30,0.5); }
html[data-theme="light"] .progress-bar { background: rgba(0,0,0,0.09); }
html[data-theme="light"] .progress-header { color: rgba(28,28,30,0.6); }
html[data-theme="light"] .hero-glow-1 { background: radial-gradient(ellipse at center, rgba(232,49,26,0.1) 0%, rgba(232,49,26,0.02) 40%, rgba(232,49,26,0) 70%); }
html[data-theme="light"] .hero-glow-2 { background: radial-gradient(ellipse at center, rgba(232,49,26,0.06) 0%, rgba(232,49,26,0) 60%); }
html[data-theme="light"] .hero-glow-3 { background: radial-gradient(ellipse at center, rgba(232,49,26,0.07) 0%, rgba(232,49,26,0) 65%); }
html[data-theme="light"] #stats { background: #f0ede8; border-color: rgba(0,0,0,0.07); }
html[data-theme="light"] .stat-item .big { color: #1c1c1e; }
html[data-theme="light"] .stat-item p { color: rgba(28,28,30,0.55); }
html[data-theme="light"] .section-title { color: #1c1c1e; }
html[data-theme="light"] .section-sub { color: rgba(28,28,30,0.55); }
html[data-theme="light"] #leistungen { background: #f8f7f4; }
html[data-theme="light"] .card { background: #ffffff; border-color: rgba(0,0,0,0.07); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
html[data-theme="light"] .card:hover { background: rgba(232,49,26,0.04); border-color: rgba(232,49,26,0.3); box-shadow: 0 0 20px rgba(232,49,26,0.08) inset, 0 8px 24px rgba(0,0,0,0.08); }
html[data-theme="light"] .card h3 { color: #1c1c1e; }
html[data-theme="light"] .card p { color: rgba(28,28,30,0.62); }
html[data-theme="light"] .card-icon { background: rgba(232,49,26,0.09); }
html[data-theme="light"] .card-tag { color: rgba(28,28,30,0.45); border-color: rgba(0,0,0,0.1); }
html[data-theme="light"] #ablauf { background: #f0ede8; }
html[data-theme="light"] .step-body h3 { color: #1c1c1e; }
html[data-theme="light"] .step-body p { color: rgba(28,28,30,0.62); }
html[data-theme="light"] .step-num { background: #ffffff; border-color: var(--accent); color: var(--accent); box-shadow: 0 2px 12px rgba(232,49,26,0.15); }
html[data-theme="light"] .ablauf-car-wrap { border-color: rgba(0,0,0,0.1); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
html[data-theme="light"] .ablauf-car-badge { background: rgba(255,255,255,0.92); border-color: rgba(0,0,0,0.1); color: #1c1c1e; }
html[data-theme="light"] .ablauf-car-badge .car-name { color: #1c1c1e; }
html[data-theme="light"] #team { background: #f8f7f4; border-top-color: rgba(0,0,0,0.06); }
html[data-theme="light"] .team-card { background: #ffffff; border-color: rgba(0,0,0,0.07); box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
html[data-theme="light"] .team-avatar { background: linear-gradient(135deg, #f0ede8 0%, #e8e4de 100%); border-color: rgba(0,0,0,0.07); }
html[data-theme="light"] .team-info h3 { color: #1c1c1e; }
html[data-theme="light"] .team-info p { color: rgba(28,28,30,0.62); }
html[data-theme="light"] #bewertungen { background: #f0ede8; border-top-color: rgba(0,0,0,0.06); }
html[data-theme="light"] .review-card { background: #ffffff; border-color: rgba(0,0,0,0.07); box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
html[data-theme="light"] .review-card p { color: rgba(28,28,30,0.65); }
html[data-theme="light"] .reviewer { color: rgba(28,28,30,0.7); }
html[data-theme="light"] #kontakt { background: #f8f7f4; }
html[data-theme="light"] .kontakt-info { background: #ffffff; border-color: rgba(0,0,0,0.07); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
html[data-theme="light"] .kontakt-info h3 { color: #1c1c1e; }
html[data-theme="light"] .info-item h4 { color: #e8311a; }
html[data-theme="light"] .info-item p { color: rgba(28,28,30,0.65); }
html[data-theme="light"] .info-icon { background: rgba(232,49,26,0.09); }
html[data-theme="light"] input, html[data-theme="light"] select, html[data-theme="light"] textarea { background: #fff; border-color: rgba(0,0,0,0.13); color: #1c1c1e; }
html[data-theme="light"] input::placeholder, html[data-theme="light"] textarea::placeholder { color: rgba(28,28,30,0.3); }
html[data-theme="light"] select option { background: #fff; color: #1c1c1e; }
html[data-theme="light"] .field-group label { color: rgba(28,28,30,0.5); }

/* ─── IMPRESSUM ─── */
#impressum {
  background: var(--black);
  padding: 4rem;
  border-top: 1px solid var(--border-subtle);
}
.impressum-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem; margin-top: 0;
}
.impressum-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem;
}
.impressum-text {
  font-size: 0.88rem;
  color: rgba(245,244,240,0.62);
  line-height: 1.8;
}
html[data-theme="light"] #impressum { background: #f0ede8; border-top-color: rgba(0,0,0,0.07); }
html[data-theme="light"] .impressum-text { color: rgba(28,28,30,0.65); }
@media (max-width: 900px) {
  .impressum-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  #impressum { padding: 3rem 1.5rem; }
}

html[data-theme="light"] footer { background: #e8e5df; border-top-color: rgba(0,0,0,0.08); }
html[data-theme="light"] footer p { color: rgba(28,28,30,0.45); }
html[data-theme="light"] .footer-links a { color: rgba(28,28,30,0.45); }
html[data-theme="light"] .footer-links a:hover { color: #1c1c1e; }

/* ─── AUSBILDER ─── */
#team {
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 3rem;
}
.team-card {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.team-avatar {
  height: 200px;
  background: linear-gradient(135deg, #222 0%, #1a1a1a 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.team-info { padding: 1.5rem; }
.team-info h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem;
}
.team-info .role {
  font-size: 0.82rem; color: var(--blue); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.team-info p {
  font-size: 0.85rem; color: rgba(245,244,240,0.5);
  margin-top: 0.6rem; line-height: 1.6;
}

/* ─── ABLAUF ─── */
#ablauf { background: var(--black); }
.ablauf-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 3rem;
  align-items: center;
  margin-top: 3.5rem;
}
.ablauf-car-col { position: relative; }
.ablauf-car-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.ablauf-car-wrap img {
  width: 100%; display: block;
  object-fit: cover;
}
.ablauf-car-badge {
  position: absolute;
  bottom: 1.2rem; left: 1.2rem;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
}
.ablauf-car-badge .car-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.95rem; font-weight: 700;
}
.ablauf-car-badge .car-sub {
  font-size: 0.55rem; color: var(--accent);
  font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.06em; margin-top: 0.15rem;
}
.ablauf-car-glow {
  position: absolute;
  inset: -1px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(240,180,41,0.15), transparent 60%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .ablauf-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .ablauf-car-col { order: -1; }
}
.steps { position: relative; }
.steps::before {
  content: '';
  position: absolute; left: 27px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), transparent);
}
.step {
  display: flex; gap: 2rem;
  margin-bottom: 2.5rem; position: relative;
}
.step-num {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  color: var(--blue);
  position: relative; z-index: 1;
}
.step-body { padding-top: 0.8rem; }
.step-body h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.4rem;
}
.step-body p {
  font-size: 0.88rem;
  color: rgba(245,244,240,0.5);
  line-height: 1.65; max-width: 480px;
}

/* ─── TESTIMONIALS ─── */
#bewertungen {
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.carousel-outer { position: relative; margin-top: 3rem; padding: 0 3rem; }
.carousel-wrap { overflow: hidden; }
.carousel-track {
  display: flex; gap: 1.5rem;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.review-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 2rem;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: background 0.2s, border-color 0.2s, color 0.2s; z-index: 2;
}
.carousel-btn svg { width: 16px; height: 16px; }
.carousel-btn:hover { background: rgba(232,49,26,0.15); border-color: rgba(232,49,26,0.3); color: var(--accent); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
html[data-theme="light"] .carousel-btn { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.1); color: rgba(28,28,30,0.4); }
html[data-theme="light"] .carousel-btn:hover { background: rgba(232,49,26,0.1); border-color: rgba(232,49,26,0.3); color: var(--accent); }

.map-wrap { position: relative; border-radius: 14px; overflow: hidden; height: 300px; margin-top: 1.2rem; flex: 1; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.quick-info { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 0; }
.quick-info-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.quick-info-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(232,49,26,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
html[data-theme="light"] .quick-info-icon { background: rgba(232,49,26,0.08); }
.quick-info-icon svg { width: 15px; height: 15px; }
.quick-info-item strong { font-size: 0.82rem; font-weight: 600; color: var(--white); display: block; }
.quick-info-item span { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.65);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: #1a1a1a; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 2.5rem 3rem;
  max-width: 640px; width: 100%; max-height: 80vh;
  overflow-y: auto; position: relative;
  transform: translateY(14px); transition: transform 0.25s;
}
html[data-theme="light"] .modal-box { background: #fff; border-color: rgba(0,0,0,0.08); }
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.08); border: none; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 1rem; transition: background 0.2s, color 0.2s; line-height: 1;
}
html[data-theme="light"] .modal-close { background: rgba(0,0,0,0.07); color: rgba(28,28,30,0.55); }
.modal-close:hover { background: rgba(232,49,26,0.15); color: var(--accent); }
.modal-box h2 { font-family:'Unbounded',sans-serif; font-size:1.6rem; font-weight:800; margin-bottom:0.4rem; color: var(--white); }
html[data-theme="light"] .modal-box h2 { color: #1c1c1e; }
.modal-sub { font-size:0.8rem; color:var(--text-muted); margin-bottom:2rem; letter-spacing:0.05em; }
.modal-box h3 { font-family:'Unbounded',sans-serif; font-size:0.85rem; font-weight:700; margin:1.6rem 0 0.5rem; color:var(--accent); text-transform:uppercase; letter-spacing:0.08em; }
.modal-box p, .modal-box li { font-size:0.9rem; color:var(--text-muted); line-height:1.75; }
html[data-theme="light"] .modal-box p, html[data-theme="light"] .modal-box li { color: rgba(28,28,30,0.65); }
.modal-box ul { padding-left:1.2rem; margin-top:0.4rem; }

.stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; }
.star-svg { width: 16px; height: 16px; fill: var(--accent); }
.review-card p {
  font-size: 0.9rem; color: rgba(245,244,240,0.6);
  line-height: 1.7; font-style: italic;
}
.reviewer {
  margin-top: 1.2rem;
  font-size: 0.82rem; font-weight: 600;
  color: rgba(245,244,240,0.8);
}

/* ─── KONTAKT ─── */
#kontakt { background: var(--black); }
.kontakt-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem; align-items: stretch; margin-top: 3rem;
}
.kontakt-info {
  background: rgba(13,13,13,0.38);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.kontakt-info .route-btn-wrap { margin-top: auto; padding-top: 1rem; }
html[data-theme="light"] .kontakt-info { background: rgba(255,255,255,0.45); border-color: rgba(0,0,0,0.08); }
.kontakt-form-block {
  background: rgba(13,13,13,0.38);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2.5rem;
}
html[data-theme="light"] .kontakt-form-block { background: #ffffff; border-color: rgba(0,0,0,0.07); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.kontakt-info h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem;
}
.info-item {
  display: flex; gap: 1rem; margin-bottom: 1.5rem;
  align-items: flex-start;
}
.info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(232,49,26,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.info-item h4 { font-size: 0.82rem; color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.info-item p { font-size: 0.9rem; color: rgba(245,244,240,0.6); }

form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-group {
  display: flex; flex-direction: column; gap: 0.45rem;
  margin-bottom: 1rem;
}
.field-group label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(245,244,240,0.5);
  padding-left: 0.2rem;
}
input, select, textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  outline: none;
}
input::placeholder, textarea::placeholder { color: rgba(245,244,240,0.25); }
input:hover, select:hover, textarea:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  background: rgba(232,49,26,0.06);
  box-shadow: 0 0 0 3px rgba(232,49,26,0.14);
}
select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(245,244,240,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 2.8rem;
}
select option { background: #1a1a1a; }
textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.submit-btn {
  background: var(--accent);
  color: var(--white);
  border: none; border-radius: 12px;
  padding: 1.1rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}
.submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,49,26,0.35);
}

/* ─── BESUCH ─── */
#besuch {
  background: var(--black);
  border-top: 1px solid var(--border-subtle);
  padding: 7rem 4rem;
}
html[data-theme="light"] #besuch { background: #f0ede8; }
.besuch-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center; margin-top: 3rem;
}
.besuch-lead {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.75; font-weight: 300; margin-bottom: 2.5rem;
  max-width: 480px;
}
.besuch-items { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 2.5rem; }
.besuch-item {
  display: flex; gap: 1.1rem; align-items: flex-start;
}
.besuch-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(232,49,26,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
html[data-theme="light"] .besuch-item-icon { background: rgba(232,49,26,0.09); }
.besuch-item-icon svg { width: 20px; height: 20px; }
.besuch-item h4 {
  font-family: 'Unbounded', sans-serif; font-size: 0.95rem; font-weight: 700;
  margin-bottom: 0.2rem; color: var(--white);
}
.besuch-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

.besuch-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.8rem;
  position: relative;
  overflow: hidden;
}
html[data-theme="light"] .besuch-card { background: #fff; box-shadow: 0 8px 40px rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.07); }
.besuch-card::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(ellipse, rgba(232,49,26,0.14) 0%, rgba(232,49,26,0) 70%);
  border-radius: 50%;
}
.besuch-card-title {
  font-family: 'Unbounded', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.8rem;
}
.besuch-hours { width: 100%; border-collapse: collapse; }
.besuch-hours tr { border-bottom: 1px solid var(--border-subtle); }
.besuch-hours tr:last-child { border-bottom: none; }
.besuch-hours td {
  padding: 0.85rem 0; font-size: 0.9rem;
  color: var(--white);
}
.besuch-hours td:first-child { color: var(--text-muted); font-weight: 500; }
.besuch-hours td:last-child { text-align: right; font-weight: 600; font-family: 'Unbounded', sans-serif; }
.besuch-closed { color: var(--text-sub) !important; font-weight: 400 !important; }
.besuch-divider {
  margin: 1.8rem 0;
  border: none; border-top: 1px solid var(--border-subtle);
}
.besuch-note {
  display: flex; gap: 0.75rem; align-items: center;
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.5;
}
.besuch-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }
@media (max-width: 900px) {
  .besuch-grid { grid-template-columns: 1fr; gap: 3rem; }
  #besuch { padding: 4rem 1.5rem; }
}

/* ─── FOOTER ─── */
footer {
  background: #080808;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 4rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  color: var(--white);
}
footer p { font-size: 0.82rem; color: rgba(245,244,240,0.35); }

.logo-img { height: 80px; display: block; }
.logo-img-dark  { display: block; }
.logo-img-light { display: none; }
html[data-theme="light"] .logo-img-dark  { display: none; }
html[data-theme="light"] .logo-img-light { display: block; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.82rem; color: rgba(245,244,240,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 6px; transition: background 0.2s;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU OVERLAY ─── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 98;
  background: var(--black);
  flex-direction: column; align-items: center; justify-content: center;
  padding: 5rem 2rem 3rem; gap: 0;
}
.mobile-menu.open { display: flex; }
html[data-theme="light"] .mobile-menu { background: #f8f7f4; }
.mobile-menu a {
  font-family: 'Unbounded', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: var(--white); text-decoration: none;
  padding: 1rem 0; border-bottom: 1px solid var(--border-subtle);
  width: 100%; text-align: center; transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu a:active { color: var(--accent); }
.mobile-menu .mob-cta {
  margin-top: 1.8rem; background: var(--accent);
  color: #fff !important; padding: 0.9rem 3rem;
  border-radius: 8px; font-size: 1rem !important;
  border-bottom: none !important; width: auto !important;
}
.mobile-menu .mob-theme {
  margin-top: 2rem; display: flex; align-items: center; gap: 0.6rem;
  color: var(--text-muted); font-size: 0.85rem;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  nav { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .logo-img { height: 48px; }

  #hero { padding: 1.5rem 1.5rem; padding-top: 85px; min-height: 90vh; }
  .hero-visual { display: none; }
  .hero-logo-stage { height: 165px; margin-bottom: 0.9rem; }
  .hero-logo-img { height: 150px; }
  .hero-logo-pulse { width: 340px; height: 200px; }
  .streak-2 { width: 200px; }
  .hero-title { font-size: clamp(2rem, 7.2vw, 2.9rem); }
  .hero-sub { font-size: 0.98rem; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .btn-primary { text-align: center; }
  .btn-secondary { justify-content: center; }

  section { padding: 3.5rem 1.5rem; }
  #stats { padding: 2rem 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item .big { font-size: 2rem; }
  .section-title { font-size: clamp(1.75rem, 6vw, 2.4rem); }

  .leistungen-header { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .cards-grid { grid-template-columns: 1fr; }

  .ablauf-layout { grid-template-columns: 1fr; gap: 2rem; }
  .ablauf-car-col { order: -1; }

  .team-grid { grid-template-columns: 1fr; }

  .carousel-outer { padding: 0 2.6rem; }
  .review-card { flex: 0 0 100%; }

  .kontakt-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .kontakt-info { display: block; }
  .map-wrap { height: 200px; }
  .route-btn-wrap { margin-top: 1rem; padding-top: 0; }

  #impressum { padding: 3rem 1.5rem; }
  .impressum-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  footer { flex-direction: column; gap: 1.2rem; text-align: center; padding: 2rem 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  .modal-overlay { padding: 1rem; align-items: flex-end; }
  .modal-box { padding: 2rem 1.5rem; max-height: 85vh; border-radius: 20px 20px 14px 14px; width: 100%; max-width: 100%; }
  .modal-box h2 { font-size: 1.3rem; }

  .besuch-grid { grid-template-columns: 1fr; gap: 2rem; }
  #besuch { padding: 3.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-logo-stage { height: 140px; margin-bottom: 0.8rem; }
  .hero-logo-img { height: 126px; }
  .hero-title { font-size: 1.85rem; }
  .hero-badge { font-size: 0.7rem; }
  .section-title { font-size: 1.65rem; }
  .stat-item .big { font-size: 1.8rem; }
  .carousel-outer { padding: 0 2rem; }
}


/* ── BMW X1 im Ablauf: fährt von rechts an ── */
.car-panel {
  position: sticky; top: 110px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  text-align: center;
  overflow: visible;
}
html[data-theme="light"] .car-panel {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.car-stage { position: relative; }
.car-img {
  width: min(400px, 100%); display: block; margin: 0 auto;
  position: relative;
  border-radius: 14px;
  transform: translateX(130%); opacity: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.car-embed {
  width: min(620px, 100%);
  aspect-ratio: 16 / 9;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  transform: translateX(130%);
  opacity: 0;
  background: #111;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.car-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
html[data-theme="light"] .car-img { box-shadow: 0 18px 40px rgba(0,0,0,0.18); }
html[data-theme="light"] .car-embed { box-shadow: 0 18px 40px rgba(0,0,0,0.18); }
.car-panel.go .car-img,
.car-panel.go .car-embed { animation: carDrive 1.5s cubic-bezier(0.22,0.9,0.3,1) 0.1s both; }
@keyframes carDrive {
  0%   { transform: translateX(130%); opacity: 0; }
  20%  { opacity: 1; }
  60%  { transform: translateX(-2.5%); }
  78%  { transform: translateX(1.2%); }
  100% { transform: translateX(0); opacity: 1; }
}
.car-streak {
  position: absolute; height: 3px; border-radius: 3px;
  right: -10px; opacity: 0; pointer-events: none; z-index: 2;
}
.cs-1 { top: 28%; width: 170px; background: linear-gradient(90deg, #e8311a 0%, rgba(232,49,26,0) 100%); }
.cs-2 { top: 50%; width: 240px; background: linear-gradient(90deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 100%); }
.cs-3 { top: 72%; width: 140px; background: linear-gradient(90deg, #e8311a 0%, rgba(232,49,26,0) 100%); }
html[data-theme="light"] .cs-2 { background: linear-gradient(90deg, rgba(28,28,30,0.45) 0%, rgba(28,28,30,0) 100%); }
.car-panel.go .cs-1 { animation: carStreak 0.55s ease-out 0.1s 2; }
.car-panel.go .cs-2 { animation: carStreak 0.55s ease-out 0.28s 2; }
.car-panel.go .cs-3 { animation: carStreak 0.55s ease-out 0.45s 2; }
@keyframes carStreak {
  0%   { transform: translateX(-60px); opacity: 0; }
  30%  { opacity: 0.9; }
  100% { transform: translateX(190px); opacity: 0; }
}
.car-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800; font-size: 1.7rem; line-height: 1;
  margin-top: 1.3rem;
}
.car-sub-label {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 0.55rem;
}
.sketchfab-attribution {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 0.9rem;
}
.sketchfab-attribution a {
  color: var(--accent);
  font-weight: 700;
}
.sketchfab-attribution a:hover { color: #ff5a2e; }
.car-caption {
  margin-top: 1.1rem;
  padding-top: 0;
  border-top: 0;
  font-size: 0.85rem; color: var(--text-muted);
}
