/* =============================================
   AUTOHAUS JOHN – Modern Website Styles
   ============================================= */

:root {
  --red: #e5000f;
  --red-dark: #b5000c;
  --red-glow: rgba(229, 0, 15, 0.16);
  --dark: #f5efe7;
  --dark-2: #efe7dc;
  --dark-3: #e5dbc9;
  --dark-4: #d6c8b9;
  --dark-card: #fffaf4;
  --border: rgba(67,51,38,0.12);
  --text: #241b15;
  --text-muted: #675d53;
  --text-dim: #958675;
  --white: #1f1711;
  --contrast: #1f1711;
  --font: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --cursor-glow: radial-gradient(circle, rgba(229,0,15,0.06) 0%, transparent 70%);
  --navbar-scrolled-bg: rgba(245,239,231,0.88);
  --mobile-nav-bg: rgba(255,250,244,0.96);
  --nav-hover-bg: rgba(67,51,38,0.06);
  --ghost-hover-bg: rgba(67,51,38,0.06);
  --ghost-hover-border: rgba(67,51,38,0.14);
  --hamburger-hover-bg: rgba(67,51,38,0.06);
  --hero-glow-primary: radial-gradient(ellipse, rgba(229,0,15,0.09) 0%, transparent 65%);
  --hero-glow-secondary: radial-gradient(ellipse, rgba(229,0,15,0.05) 0%, transparent 65%);
  --hero-grid-line: rgba(67,51,38,0.05);
  --hero-badge-bg: rgba(229,0,15,0.08);
  --hero-badge-border: rgba(229,0,15,0.16);
  --soft-red-bg: rgba(229,0,15,0.08);
  --soft-red-bg-strong: rgba(229,0,15,0.14);
  --soft-red-border: rgba(229,0,15,0.16);
  --hero-car-glow: radial-gradient(ellipse, rgba(229,0,15,0.24) 0%, transparent 70%);
  --hero-car-shadow: 0 28px 64px rgba(119,89,57,0.16), 0 0 0 1px var(--border);
  --hero-card-bg: rgba(255,250,244,0.94);
  --hero-card-shadow: 0 18px 42px rgba(116,91,63,0.12);
  --media-shadow: 0 24px 60px rgba(111,83,56,0.14);
  --elevated-shadow: 0 16px 40px rgba(111,83,56,0.12);
  --card-hover-border: rgba(229,0,15,0.18);
  --card-hover-shadow: 0 24px 60px rgba(111,83,56,0.14);
  --service-overlay: linear-gradient(135deg, rgba(229,0,15,0.05) 0%, transparent 60%);
  --service-featured-bg: linear-gradient(135deg, rgba(229,0,15,0.07) 0%, var(--dark-card) 60%);
  --service-hover-shadow: 0 20px 50px rgba(108,81,55,0.12), 0 0 0 1px rgba(229,0,15,0.12);
  --badge-used-bg: rgba(255,250,244,0.88);
  --badge-used-text: #241b15;
  --wishlist-bg: rgba(255,250,244,0.88);
  --wishlist-border: rgba(67,51,38,0.12);
  --wishlist-icon: #241b15;
  --input-bg: rgba(255,255,255,0.75);
  --input-focus-bg: rgba(229,0,15,0.03);
  --input-focus-border: rgba(229,0,15,0.35);
  --input-focus-ring: 0 0 0 3px rgba(229,0,15,0.06);
  --spec-pill-bg: rgba(67,51,38,0.05);
  --code-bg: rgba(67,51,38,0.06);
  --setup-dashed-border: rgba(229,0,15,0.22);
  --gallery-overlay-bg: linear-gradient(to top, rgba(31,22,15,0.72) 0%, transparent 55%);
  --logo-filter: none;
  --map-filter: grayscale(1) contrast(0.92) saturate(0.85);
  --status-closed-bg: rgba(67,51,38,0.05);
  --status-closed-border: rgba(67,51,38,0.1);
  --status-closed-text: var(--text-muted);
  --status-closed-dot: var(--text-dim);
  --status-open-bg: rgba(34,197,94,0.08);
  --status-open-border: rgba(34,197,94,0.16);
  --status-open-text: #15803d;
  --status-open-dot: #16a34a;
  --success-bg: rgba(34,197,94,0.08);
  --success-border: rgba(34,197,94,0.14);
  --success-icon-color: #16a34a;
}

html,
html[data-theme='light'],
html.theme-light {
  color-scheme: light;
  background-color: #f5efe7;
  color: #241b15;
}

html[data-theme='dark'],
html.theme-dark {
  color-scheme: dark;
  --red: #e5000f;
  --red-dark: #b5000c;
  --red-glow: rgba(229, 0, 15, 0.25);
  --dark: #0a0a0b;
  --dark-2: #111214;
  --dark-3: #18191d;
  --dark-4: #1e2026;
  --dark-card: #16171b;
  --border: rgba(255,255,255,0.07);
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #555;
  --white: #ffffff;
  --contrast: #ffffff;
  --font: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --cursor-glow: radial-gradient(circle, rgba(229,0,15,0.06) 0%, transparent 70%);
  --navbar-scrolled-bg: rgba(10,10,11,0.92);
  --mobile-nav-bg: rgba(10,10,11,0.98);
  --nav-hover-bg: rgba(255,255,255,0.06);
  --ghost-hover-bg: rgba(255,255,255,0.06);
  --ghost-hover-border: rgba(255,255,255,0.15);
  --hamburger-hover-bg: rgba(255,255,255,0.06);
  --hero-glow-primary: radial-gradient(ellipse, rgba(229,0,15,0.08) 0%, transparent 65%);
  --hero-glow-secondary: radial-gradient(ellipse, rgba(229,0,15,0.04) 0%, transparent 65%);
  --hero-grid-line: rgba(255,255,255,0.025);
  --hero-badge-bg: rgba(229,0,15,0.1);
  --hero-badge-border: rgba(229,0,15,0.2);
  --soft-red-bg: rgba(229,0,15,0.1);
  --soft-red-bg-strong: rgba(229,0,15,0.18);
  --soft-red-border: rgba(229,0,15,0.2);
  --hero-car-glow: radial-gradient(ellipse, rgba(229,0,15,0.4) 0%, transparent 70%);
  --hero-car-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
  --hero-card-bg: rgba(22,23,27,0.95);
  --hero-card-shadow: none;
  --media-shadow: 0 24px 60px rgba(0,0,0,0.5);
  --elevated-shadow: 0 16px 40px rgba(0,0,0,0.4);
  --card-hover-border: rgba(229,0,15,0.25);
  --card-hover-shadow: 0 24px 60px rgba(0,0,0,0.4);
  --service-overlay: linear-gradient(135deg, rgba(229,0,15,0.06) 0%, transparent 60%);
  --service-featured-bg: linear-gradient(135deg, rgba(229,0,15,0.12) 0%, var(--dark-card) 60%);
  --service-hover-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(229,0,15,0.15);
  --badge-used-bg: rgba(255,255,255,0.15);
  --badge-used-text: var(--contrast);
  --wishlist-bg: rgba(10,10,11,0.7);
  --wishlist-border: rgba(255,255,255,0.1);
  --wishlist-icon: var(--contrast);
  --input-bg: rgba(255,255,255,0.04);
  --input-focus-bg: rgba(229,0,15,0.04);
  --input-focus-border: rgba(229,0,15,0.5);
  --input-focus-ring: 0 0 0 3px rgba(229,0,15,0.08);
  --spec-pill-bg: rgba(255,255,255,0.04);
  --code-bg: rgba(255,255,255,0.07);
  --setup-dashed-border: rgba(229,0,15,0.3);
  --gallery-overlay-bg: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
  --logo-filter: brightness(0) invert(1);
  --map-filter: grayscale(1) invert(0.9) contrast(0.85);
  --status-open-bg: rgba(34,197,94,0.1);
  --status-open-border: rgba(34,197,94,0.2);
  --status-open-text: #22c55e;
  --status-open-dot: #22c55e;
  --status-closed-bg: rgba(255,255,255,0.04);
  --status-closed-border: rgba(255,255,255,0.08);
  --status-closed-text: var(--text-muted);
  --status-closed-dot: var(--text-dim);
  --success-bg: rgba(34,197,94,0.1);
  --success-border: rgba(34,197,94,0.2);
  --success-icon-color: #22c55e;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #f5efe7;
  color: #241b15;
}

html[data-theme='dark'],
html.theme-dark {
  background-color: #0a0a0b;
  color: #f0f0f0;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 20px;
}
.section-title span { color: var(--red); }

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.75;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

/* =============================================
   CURSOR GLOW (desktop only)
   ============================================= */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  background: var(--cursor-glow);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease, top 0.15s ease;
  z-index: 0;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.navbar.scrolled {
  background: var(--navbar-scrolled-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.navbar-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 38px;
  width: auto;
  filter: var(--logo-filter);
}

.navbar-logo-text {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.navbar-logo-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--white);
  background: var(--nav-hover-bg);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--red);
  color: var(--contrast);
  box-shadow: 0 0 0 0 var(--red-glow);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--red-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--ghost-hover-bg);
  border-color: var(--ghost-hover-border);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--contrast);
  box-shadow: 0 8px 24px var(--red-glow);
}

.btn-lg { padding: 14px 32px; font-size: 0.95rem; border-radius: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--hamburger-hover-bg); }
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--mobile-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: 10px;
  transition: all var(--transition);
}
.mobile-nav a:hover { color: var(--white); background: var(--nav-hover-bg); }
.mobile-nav .btn { margin-top: 8px; justify-content: center; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--dark);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70%;
  height: 140%;
  background: var(--hero-glow-primary);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 50%;
  height: 80%;
  background: var(--hero-glow-secondary);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hero-badge-bg);
  border: 1px solid var(--hero-badge-border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-title .accent {
  color: var(--red);
  position: relative;
  display: inline-block;
}
.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-in 0.6s 0.8s ease forwards;
}
@keyframes underline-in {
  to { transform: scaleX(1); }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-value span { color: var(--red); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-car-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
}

.hero-car-glow {
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: var(--hero-car-glow);
  filter: blur(20px);
  animation: float-glow 4s ease-in-out infinite;
}
@keyframes float-glow {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 0.5; transform: translateX(-50%) scaleX(0.85); }
}

.hero-car-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  animation: float-car 6s ease-in-out infinite;
  box-shadow: var(--hero-car-shadow);
}
@keyframes float-car {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.hero-card {
  position: absolute;
  background: var(--hero-card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--hero-card-shadow);
}
.hero-card-icon {
  width: 38px;
  height: 38px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon svg { width: 18px; height: 18px; }
.hero-card-text { line-height: 1.3; }
.hero-card-text strong { font-size: 0.9rem; color: var(--white); font-weight: 700; display: block; }
.hero-card-text span { font-size: 0.75rem; color: var(--text-muted); }

.hero-card-1 { bottom: -20px; left: -20px; }
.hero-card-2 { top: -16px; right: -10px; }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--dark-2);
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 180px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  background: var(--soft-red-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { color: var(--red); }
.trust-text strong { font-size: 0.95rem; color: var(--white); font-weight: 700; display: block; }
.trust-text span { font-size: 0.8rem; color: var(--text-muted); }
.trust-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

/* =============================================
   ABOUT / USP
   ============================================= */
.about { background: var(--dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--media-shadow);
}

.about-img-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--red);
  color: var(--contrast);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: 12px;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 8px 24px var(--red-glow);
}
.about-img-badge .year { font-size: 1.8rem; font-weight: 900; display: block; line-height: 1; }

.about-accent-box {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--elevated-shadow);
}
.accent-box-icon {
  width: 48px;
  height: 48px;
  background: var(--soft-red-bg);
  border: 1px solid var(--soft-red-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.accent-box-icon svg { color: var(--red); }
.accent-box-text strong { font-size: 1.1rem; font-weight: 800; color: var(--white); display: block; }
.accent-box-text span { font-size: 0.8rem; color: var(--text-muted); }

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-item:hover {
  border-color: var(--card-hover-border);
  transform: translateX(4px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--soft-red-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { color: var(--red); }
.feature-text h4 { font-size: 0.95rem; color: var(--white); font-weight: 700; margin-bottom: 4px; }
.feature-text p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* =============================================
   SERVICES
   ============================================= */
.services { background: var(--dark-2); }

.services-header {
  text-align: center;
  margin-bottom: 60px;
}
.services-header .section-desc { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--service-overlay);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-4px);
  box-shadow: var(--service-hover-shadow);
}
.service-card:hover::before { opacity: 1; }

.service-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  opacity: 0.7;
}
.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--soft-red-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon-wrap { background: var(--soft-red-bg-strong); }
.service-icon-wrap svg { color: var(--red); width: 26px; height: 26px; }

.service-card h3 { font-size: 1.1rem; color: var(--white); font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

.service-card.featured {
  background: var(--service-featured-bg);
  border-color: var(--card-hover-border);
}
.service-card.featured::after {
  content: 'Top Service';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--red);
  color: var(--contrast);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

/* =============================================
   VEHICLES
   ============================================= */
.vehicles { background: var(--dark); }

.vehicles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}

.vehicle-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.vehicle-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 20px 24px;
  align-items: center;
  margin-bottom: 20px;
}

.vehicle-search-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.vehicle-search-field {
  position: relative;
  flex: 1 1 320px;
  min-width: 0;
}

.vehicle-search-field svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-dim);
  pointer-events: none;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.vehicle-search-field input {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px 12px 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: all var(--transition);
  outline: none;
}

.vehicle-search-field input::-webkit-search-decoration,
.vehicle-search-field input::-webkit-search-cancel-button,
.vehicle-search-field input::-webkit-search-results-button,
.vehicle-search-field input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.vehicle-search-field input::placeholder {
  color: var(--text-dim);
}

.vehicle-search-field input:focus {
  border-color: var(--input-focus-border);
  background: var(--input-focus-bg);
  box-shadow: var(--input-focus-ring);
}

.vehicle-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.vehicle-results-meta p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.vehicle-results-meta strong {
  color: var(--white);
}
.category-btn {
  font-family: var(--font);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 18px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.category-btn:hover, .category-btn.active {
  background: var(--red);
  color: var(--contrast);
  border-color: var(--red);
  box-shadow: 0 4px 16px var(--red-glow);
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vehicle-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition);
}
.vehicle-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}

.vehicle-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--dark-3);
}

.vehicle-media-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.vehicle-media-link:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--red);
}

.vehicle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.vehicle-card:hover .vehicle-img-wrap img { transform: scale(1.05); }

.vehicle-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-new { background: var(--red); color: var(--contrast); }
.badge-used { background: var(--badge-used-bg); color: var(--badge-used-text); backdrop-filter: blur(8px); }
.badge-featured { background: rgba(255,180,0,0.9); color: #000; }

.vehicle-wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: var(--wishlist-bg);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--wishlist-border);
}
.vehicle-wishlist:hover { background: var(--red); border-color: var(--red); }
.vehicle-wishlist svg { width: 16px; height: 16px; color: var(--wishlist-icon); }
.vehicle-wishlist:hover svg { color: var(--contrast); }

.vehicle-info { padding: 22px; }
.vehicle-make { font-size: 0.75rem; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.vehicle-name { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }

.vehicle-specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.spec-item svg { width: 14px; height: 14px; color: var(--text-dim); flex-shrink: 0; }

.vehicle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.vehicle-price { font-size: 1.25rem; font-weight: 800; color: var(--white); }
.vehicle-price .currency { font-size: 0.9rem; color: var(--text-muted); margin-right: 2px; }
.vehicle-price .from { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; display: block; }

.btn-sm { padding: 8px 16px; font-size: 0.8rem; border-radius: 8px; }

.vehicles-cta {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.vehicles-cta p { color: var(--text-muted); margin-bottom: 20px; font-size: 1rem; }
.vehicles-cta p strong { color: var(--white); }
.vehicles-cta .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .vehicle-toolbar {
    grid-template-columns: 1fr;
  }

  .vehicle-search-form {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .vehicle-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .vehicle-search-field {
    width: 100%;
    flex-basis: auto;
  }

  .vehicle-search-form .btn {
    width: 100%;
    justify-content: center;
  }

  .vehicle-results-meta {
    margin-bottom: 24px;
  }
}

/* =============================================
   OPENING HOURS SECTION
   ============================================= */
.opening-hours { background: var(--dark-2); padding: 80px 0; }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 14px 0; font-size: 0.95rem; }
.hours-table td:first-child { color: var(--text-muted); }
.hours-table td:last-child { color: var(--white); font-weight: 600; text-align: right; }
.hours-table tr.today td { color: var(--red); }
.hours-table tr.today td:last-child { color: var(--red); }
.hours-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--status-open-bg);
  border: 1px solid var(--status-open-border);
  color: var(--status-open-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hours-open-dot {
  width: 7px;
  height: 7px;
  background: var(--status-open-dot);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.hours-open.is-closed {
  background: var(--status-closed-bg);
  border-color: var(--status-closed-border);
  color: var(--status-closed-text);
}

.hours-open.is-closed .hours-open-dot {
  background: var(--status-closed-dot);
}

.phone-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.phone-card-icon {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px var(--red-glow);
}
.phone-card-icon svg { color: var(--contrast); }
.phone-card-info span { font-size: 0.78rem; color: var(--text-muted); display: block; margin-bottom: 4px; }
.phone-card-info a { font-size: 1.15rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; transition: color var(--transition); }
.phone-card-info a:hover { color: var(--red); }

/* =============================================
   CONTACT
   ============================================= */
.contact { background: var(--dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color var(--transition);
}
.contact-detail:hover { border-color: var(--card-hover-border); }
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--soft-red-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { color: var(--red); }
.contact-detail-content label { font-size: 0.75rem; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 4px; }
.contact-detail-content span, .contact-detail-content a { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.contact-detail-content a:hover { color: var(--red); }

.map-embed {
  width: 100%;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-embed iframe { width: 100%; height: 100%; border: none; filter: var(--map-filter); }

.contact-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.contact-social span { font-size: 0.85rem; color: var(--text-muted); }
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  padding: 6px 14px;
  background: var(--soft-red-bg);
  border: 1px solid var(--soft-red-border);
  border-radius: 8px;
  transition: all var(--transition);
  margin-left: auto;
}
.social-link:hover { background: var(--red); border-color: var(--red); color: var(--contrast); }
.social-link svg { width: 16px; height: 16px; }

/* FORM */
.contact-form-wrap {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
}
.contact-form-wrap h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 8px; }
.contact-form-wrap p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.03em; }

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  transition: all var(--transition);
  outline: none;
  resize: vertical;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--input-focus-border);
  background: var(--input-focus-bg);
  box-shadow: var(--input-focus-ring);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--dark-3); color: var(--text); }

.form-group textarea { min-height: 120px; }

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  grid-column: 1 / -1;
  margin-top: 4px;
}
.form-privacy input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: var(--red);
  cursor: pointer;
  margin-top: 1px;
}
.form-privacy a { color: var(--red); text-decoration: underline; }

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.form-submit .btn { min-width: 160px; justify-content: center; }
.form-note { font-size: 0.78rem; color: var(--text-dim); }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo img { height: 36px; filter: var(--logo-filter); }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social svg { width: 16px; height: 16px; color: var(--text-muted); transition: color var(--transition); }
.footer-social a:hover svg { color: var(--contrast); }

.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--red); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--text-dim); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--text-muted); }

/* =============================================
   FOTO-GALERIE
   ============================================= */
.gallery-section {
  background: var(--dark-2);
  padding: 100px 0;
}

.gallery-header {
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-col-right .gallery-item {
  flex: 1;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery-item--large {
  grid-row: 1;
}

.gallery-item--bottom {
  grid-column: span 1;
}

/* Bottom row spans full width as 2-col */
.gallery-grid > .gallery-item--bottom:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}
.gallery-grid > .gallery-item--bottom:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 220px;
}

.gallery-item--large img { min-height: 360px; }

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: var(--gallery-overlay-bg);
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--contrast);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-col-right {
    flex-direction: column;
  }
  .gallery-grid > .gallery-item--bottom:nth-child(4),
  .gallery-grid > .gallery-item--bottom:nth-child(5) {
    grid-column: 1;
    grid-row: auto;
  }
  .gallery-item--large img { min-height: 260px; }
}

/* =============================================
   VEHICLE CARDS (mobile.de API Kacheln)
   ============================================= */

/* Skeleton Loader */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.8; }
}
.vehicle-skeleton {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  height: 340px;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}

/* Karten-Einblend-Animation */
@keyframes cardEnter {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card-enter {
  animation: cardEnter 0.45s ease both;
}

/* Bild-Platzhalter wenn kein Foto */
.v-img-fallback {
  width: 100%;
  height: 100%;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-3);
  color: var(--text-dim);
}

/* Spec Pills */
.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.spec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.77rem;
  color: var(--text-muted);
  background: var(--spec-pill-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
}
.spec-item svg { flex-shrink: 0; color: var(--text-dim); }

/* Leer- und Fehler-Zustand */
.v-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.v-empty svg { color: var(--text-dim); margin-bottom: 4px; }

/* Setup-Hinweis (wenn API nicht konfiguriert) */
.vehicles-setup {
  display: none;
  align-items: flex-start;
  gap: 24px;
  padding: 36px 40px;
  background: var(--dark-card);
  border: 1px dashed var(--setup-dashed-border);
  border-radius: 20px;
  flex-wrap: wrap;
}
.setup-icon {
  width: 64px;
  height: 64px;
  background: var(--soft-red-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.setup-icon svg { color: var(--red); }
.setup-content { flex: 1; min-width: 240px; }
.setup-content h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 10px; }
.setup-content p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.setup-content code {
  font-family: 'Menlo', 'Monaco', monospace;
  font-size: 0.82rem;
  background: var(--code-bg);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--red);
}
.setup-steps { display: flex; flex-direction: column; gap: 10px; }
.setup-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.setup-step span {
  width: 22px;
  height: 22px;
  background: var(--red);
  border-radius: 50%;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.setup-step strong { color: var(--white); }

/* =============================================
   FORM SUCCESS + MISC
   ============================================= */
#formSuccess {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
}
.success-icon {
  width: 64px;
  height: 64px;
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg { color: var(--success-icon-color); }
#formSuccess h4 { font-size: 1.2rem; color: var(--white); }
#formSuccess p  { font-size: 0.875rem; color: var(--text-muted); }

/* Geschlossene Tage */
.hours-table tr.closed-row td { color: var(--text-dim); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 24px var(--red-glow);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 12px 32px var(--red-glow); }
.back-to-top svg { color: var(--contrast); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.anim { opacity: 0; }
.anim.in { animation: fadeInUp 0.7s ease forwards; }
.anim-left.in { animation: fadeInLeft 0.7s ease forwards; }
.anim-right.in { animation: fadeInRight 0.7s ease forwards; }
.anim-delay-1 { animation-delay: 0.1s !important; }
.anim-delay-2 { animation-delay: 0.2s !important; }
.anim-delay-3 { animation-delay: 0.3s !important; }
.anim-delay-4 { animation-delay: 0.4s !important; }
.anim-delay-5 { animation-delay: 0.5s !important; }

/* =============================================
   TIKTOK STRIP
   ============================================= */
.tiktok-strip {
  padding: 0;
  background: var(--dark-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tiktok-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 36px 0;
}
.tiktok-strip-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.tiktok-strip-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.tiktok-strip-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}
.tiktok-strip-handle {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.tiktok-strip-copy p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.tiktok-strip-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.tiktok-strip-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.tiktok-strip-stat strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.tiktok-strip-stat span {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tiktok-strip-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}
.tiktok-strip-cta {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .tiktok-strip-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
  }
  .tiktok-strip-brand { grid-column: 1; }
  .tiktok-strip-cta   { grid-column: 2; justify-self: end; align-self: center; }
  .tiktok-strip-stats { grid-column: 1 / -1; justify-content: center; border-top: 1px solid var(--border); padding-top: 20px; }
}
@media (max-width: 600px) {
  .tiktok-strip-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "stats"
      "cta";
    gap: 20px;
    padding: 24px 0;
  }
  .tiktok-strip-brand {
    grid-area: brand;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .tiktok-strip-copy p {
    display: none;
  }
  .tiktok-strip-stats {
    grid-area: stats;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    gap: 0;
    justify-content: space-around;
  }
  .tiktok-strip-divider {
    display: none;
  }
  .tiktok-strip-stat strong {
    font-size: 1.25rem;
  }
  .tiktok-strip-cta {
    grid-area: cta;
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
}


/* ── Kontaktformular Fehler ── */
.form-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(229, 0, 15, 0.07);
  border: 1px solid rgba(229, 0, 15, 0.2);
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.form-error-banner svg { flex-shrink: 0; }

/* =============================================
   LEGAL PAGE
   ============================================= */
.legal-hero {
  position: relative;
  padding: 130px 0 64px;
  overflow: hidden;
  background: var(--dark);
}
.legal-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.legal-hero-content {
  position: relative;
  z-index: 1;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color var(--transition);
}
.legal-back:hover { color: var(--red); }
.legal-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.legal-hero-content h1 span { color: var(--red); }
.legal-hero-content > p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}
.legal-section {
  padding: 64px 0 96px;
  background: var(--dark);
}
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 88px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.legal-toc-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 0 0 12px;
}
.legal-toc nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal-toc nav a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  line-height: 1.4;
}
.legal-toc nav a:hover {
  background: var(--nav-hover-bg);
  color: var(--text);
}
.legal-block {
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-block h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.legal-block h2::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--red);
  border-radius: 2px;
  margin-right: 12px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.legal-block h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 8px;
}
.legal-block p,
.legal-block address {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 14px;
  font-style: normal;
}
.legal-block a { color: var(--red); text-decoration: none; }
.legal-block a:hover { text-decoration: underline; }
.legal-block ul {
  margin: 0 0 14px;
  padding-left: 20px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.legal-block ul li { margin-bottom: 4px; }
.legal-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.legal-table th {
  background: var(--dark-card);
  color: var(--text);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.legal-table td {
  padding: 10px 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table code {
  background: var(--code-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-family: monospace;
  color: var(--text);
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
}
@media (max-width: 600px) {
  .legal-hero { padding: 100px 0 48px; }
  .legal-toc { display: none; }
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: var(--dark-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.07);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  min-width: 180px;
}
.cookie-banner-text a {
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
}
.cookie-banner-text a:hover { text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  font-family: var(--font);
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.cookie-btn-decline {
  background: transparent;
  color: var(--text-muted);
}
.cookie-btn-decline:hover {
  background: var(--nav-hover-bg);
  color: var(--text);
  border-color: var(--ghost-hover-border);
}
.cookie-btn-accept {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.cookie-btn-accept:hover { background: var(--red-dark); border-color: var(--red-dark); }
@media (max-width: 480px) {
  .cookie-banner-inner { padding: 12px 16px; gap: 12px; }
  .cookie-banner-text { font-size: 0.78rem; }
  .cookie-btn { padding: 6px 14px; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; min-height: auto; padding-top: 60px; padding-bottom: 60px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .vehicles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .vehicles-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .trust-bar-inner { gap: 20px; }
  .trust-divider { display: none; }
  .about-accent-box { left: 10px; bottom: -10px; }
  .hero-card-1 { left: 0; bottom: -8px; }
  .hero-card-2 { right: 0; top: -8px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .vehicles-header { flex-direction: column; align-items: flex-start; }
  .contact-form-wrap { padding: 24px; }
}
