/* ==========================================================================
   NC-Carpoint — Deutsches Gebrauchtwagen-Autohaus Design System
   Farbwelt: Imperial Midnight Navy (#030712 – #0D1B38) & Royal Sapphire (#2563EB / #60A5FA)
   100 % DSGVO-konform (Lokale Webfonts, 2-Klick Google Maps, TDDDG-Consent)
   ========================================================================== */

@view-transition {
  navigation: auto;
}

:root {
  --bg-black: #010308;
  --bg-deep: #02050D;
  --bg-surface: #040814;
  --bg-card: #060C1A;
  --bg-card-hover: #091226;
  --bg-elevated: #0C1830;

  --accent: #1E40AF;
  --accent-hover: #1D4ED8;
  --accent-bright: #2563EB;
  --accent-ice: #3B82F6;
  --accent-silver: #8FB2E8;
  --accent-dim: rgba(30, 64, 175, 0.16);
  --accent-border: rgba(59, 130, 246, 0.26);

  --google-gold: #FBBC04;
  --text-white: #FFFFFF;
  --text-light: #E2E8F0;
  --text-body: #B8C4D8;
  --text-muted: #8494AA;

  --border-subtle: rgba(148, 163, 184, 0.09);
  --border-medium: rgba(59, 130, 246, 0.16);
  --border-glass: rgba(96, 165, 250, 0.24);

  --font-display: 'Questrial', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1280px;
  --header-height: 102px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.82);
  --shadow-accent: 0 12px 32px rgba(30, 64, 175, 0.36);
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  background-color: var(--bg-black);
  color: var(--text-white);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-black);
  background-image: radial-gradient(ellipse 90% 45% at 50% 0%, rgba(15, 32, 75, 0.08) 0%, transparent 70%);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  animation: pageOpacityIn 0.32s ease;
  transition: opacity 0.18s ease;
}

body.is-leaving {
  opacity: 0;
}

@keyframes pageOpacityIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes mainEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Top Sapphire Page Transition Progress Bar */
.page-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 2000;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-ice) 60%, #93C5FD 100%);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.75);
  pointer-events: none;
  transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

main {
  flex: 1;
  animation: mainEnter 0.44s cubic-bezier(0.22, 1, 0.36, 1);
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition), border-color var(--transition);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-white);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.14;
}

.legal-card,
.legal-card p,
.legal-card li,
.review-text,
.g-review-body,
.vehicle-title-block h3,
.footer-contact-item {
  overflow-wrap: anywhere;
  word-break: normal;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-silver);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.22) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid var(--accent-border);
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-ice);
  box-shadow: 0 0 10px var(--accent-ice);
}

.text-accent {
  color: var(--accent-ice);
}

/* ==========================================================================
   German Autohaus Top Info Bar
   ========================================================================== */
.autohaus-topbar {
  background: #010206;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 9px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-right {
  margin-left: auto;
  justify-content: flex-end;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-ice);
  flex-shrink: 0;
}

.topbar-google-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid var(--border-medium);
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  color: var(--text-white);
  font-weight: 600;
  transition: all var(--transition);
}

.topbar-google-pill:hover {
  border-color: var(--google-gold);
  color: var(--google-gold);
}

.topbar-google-pill .g-stars {
  color: var(--google-gold);
  letter-spacing: 1px;
}

/* ==========================================================================
   Buttons (Noble Sapphire Steel + Subtle Metallic Sheen)
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-down-arrow:hover svg {
  transform: translateY(3px);
}

.btn-primary {
  background: linear-gradient(135deg, #1E40AF 0%, #152C70 100%);
  color: #FFFFFF;
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow: var(--shadow-accent);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -110%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-24deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 140%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1E3A8A 100%);
  border-color: var(--accent-silver);
  box-shadow: 0 14px 36px rgba(30, 64, 175, 0.52);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(6, 12, 26, 0.72);
  color: var(--text-white);
  border-color: var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.18);
  border-color: var(--accent-ice);
  color: var(--accent-silver);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.13);
  color: #4ade80;
  border-color: rgba(37, 211, 102, 0.40);
}

.btn-whatsapp:hover {
  background: #25D366;
  color: #030712;
  border-color: #25D366;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.1rem;
}

/* ==========================================================================
   Site Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(1, 3, 8, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(1, 3, 8, 0.98);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.68);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 86px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  transform: scale(1.16);
  transform-origin: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--text-white);
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(96, 165, 250, 0.2);
}

.nav-link.is-active {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.30) 0%, rgba(29, 78, 216, 0.18) 100%);
  border-color: var(--accent-border);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--accent-ice);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid var(--border-medium);
  color: var(--text-white);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.menu-toggle:hover {
  border-color: var(--accent-ice);
  color: var(--accent-ice);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: rgba(4, 9, 23, 0.98);
  backdrop-filter: blur(22px);
  z-index: 999;
  padding: 24px 20px 36px;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--border-medium);
}

.mobile-drawer.is-open {
  display: flex;
  animation: drawerSlideIn 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes drawerSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-list .nav-link {
  font-size: 1.08rem;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  justify-content: space-between;
  border: 1px solid var(--border-subtle);
  background: rgba(13, 27, 54, 0.45);
}

.mobile-nav-list .nav-link.is-active {
  background: rgba(37, 99, 235, 0.25);
  border-color: var(--accent-ice);
}

.mobile-drawer-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   HOME: Centered Architectural Graphic Hero
   ========================================================================== */
.hero-home {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 75% 65% at 50% 38%, rgba(20, 48, 118, 0.24) 0%, #010308 74%);
  padding: 92px 0 88px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-graphic-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(59, 130, 246, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 80% at 50% 44%, rgba(0, 0, 0, 0.95) 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 44%, rgba(0, 0, 0, 0.95) 0%, transparent 78%);
}

.hero-beam {
  position: absolute;
  width: 780px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.36), transparent);
}

.hero-beam-1 {
  left: -100px;
  top: 30%;
  transform: rotate(28deg);
}

.hero-beam-2 {
  right: -100px;
  top: 30%;
  transform: rotate(-28deg);
}

.hero-ambient-glow {
  position: absolute;
  width: 680px;
  height: 520px;
  left: 50%;
  top: -120px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(29, 78, 216, 0.16) 0%, transparent 70%);
  filter: blur(48px);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.65rem, 5.5vw, 4.75rem);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title span {
  display: block;
  background: linear-gradient(95deg, #FFFFFF 0%, #93C5FD 48%, #3B82F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  color: var(--text-light);
  margin-bottom: 18px;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  color: var(--text-body);
  line-height: 1.74;
  margin: 0 auto 36px;
  max-width: 680px;
}

.hero-inline-link {
  color: var(--accent-ice);
  font-weight: 600;
  border-bottom: 2px solid var(--accent-bright);
  padding-bottom: 1px;
}

.hero-inline-link:hover {
  color: var(--text-white);
  border-bottom-color: var(--text-white);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.91rem;
  color: var(--text-light);
  background: rgba(6, 12, 26, 0.78);
  border: 1px solid var(--border-medium);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-ice);
  flex-shrink: 0;
}

/* ==========================================================================
   HOME: 2-Pillar Section
   ========================================================================== */
.section-pathways {
  padding: 80px 0 36px;
  background: var(--bg-black);
  position: relative;
  z-index: 3;
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pathway-card {
  background: linear-gradient(165deg, #070E1E 0%, #03060E 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition);
}

.pathway-card:hover {
  border-color: var(--accent-border);
}

.pathway-card.is-primary {
  background: linear-gradient(155deg, rgba(30, 58, 138, 0.20) 0%, #060C1A 55%, #02050C 100%);
  border-color: var(--accent-border);
}

.pathway-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-ice);
  margin-bottom: 14px;
}

.pathway-card h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  margin-bottom: 12px;
}

.pathway-card p {
  color: var(--text-body);
  font-size: 0.98rem;
  margin-bottom: 22px;
}

.quick-ankauf-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  background: rgba(3, 7, 18, 0.65);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
}

.quick-ankauf-form input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-white);
  font-size: 0.94rem;
  min-width: 0;
  transition: border-color var(--transition);
}

.quick-ankauf-form input:focus {
  outline: none;
  border-color: var(--accent-ice);
}

.pathway-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pathway-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.pathway-list li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-ice);
  flex-shrink: 0;
}

/* ==========================================================================
   HOME: About Split ("Über NC-Carpoint")
   ========================================================================== */
.section-about {
  padding: 88px 0 96px;
  background: var(--bg-black);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

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

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #060D1D 0%, #02050C 100%);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card);
}

.about-logo-stage {
  position: relative;
  background: radial-gradient(ellipse 80% 70% at 50% 45%, rgba(30, 64, 175, 0.14) 0%, #02050C 78%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}

.about-logo-stage img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.65s ease;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.85));
}

.about-media:hover .about-logo-stage img {
  transform: scale(1.03) rotateX(2deg) rotateY(-2deg);
}

.about-card-footer {
  background: rgba(3, 7, 16, 0.96);
  border-top: 1px solid var(--border-medium);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.about-card-footer strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-white);
  font-size: 1.08rem;
  margin-bottom: 3px;
}

.about-card-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--text-body);
}

.about-card-footer svg {
  width: 14px;
  height: 14px;
  color: var(--accent-ice);
  flex-shrink: 0;
}

.section-title-bar {
  display: block;
  width: 72px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-silver) 100%);
  margin: 14px 0 22px;
}

.section-header .section-title-bar {
  margin: 16px auto 0;
}

.about-copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  margin-bottom: 8px;
  color: var(--text-white);
}

.about-copy .about-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  color: var(--text-white);
  margin-bottom: 0;
}

.about-copy p {
  font-size: 1.03rem;
  color: var(--text-body);
  margin-bottom: 15px;
  line-height: 1.76;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.pillar-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), transform var(--transition);
}

.pillar-chip:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.pillar-chip svg {
  width: 19px;
  height: 19px;
  color: var(--accent-ice);
  flex-shrink: 0;
}

.pillar-chip span {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-white);
}

/* ==========================================================================
   Glassmorphic CTA Card (Subpages & 404)
   ========================================================================== */
.sell-glass-card {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 62px) clamp(24px, 5vw, 58px);
  background: linear-gradient(160deg, rgba(6, 12, 26, 0.92) 0%, rgba(2, 5, 12, 0.96) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7);
}

.sell-glass-card h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.9rem);
  margin-bottom: 18px;
}

.sell-glass-card p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.78;
  color: var(--text-light);
  max-width: 780px;
  margin: 0 auto 30px;
}

/* ==========================================================================
   GOOGLE REVIEWS MODULE
   ========================================================================== */
.section-google-reviews {
  padding: 96px 0 100px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.04rem;
  color: var(--text-muted);
}

.google-summary-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px 34px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-card);
}

.google-score-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.google-logo-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.google-logo-badge svg {
  width: 30px;
  height: 30px;
}

.google-score-numbers {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.google-score-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.google-big-score {
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--text-white);
}

.google-stars-gold {
  display: inline-flex;
  gap: 3px;
  color: var(--google-gold);
}

.google-stars-gold svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.google-score-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.google-score-sub strong {
  color: var(--text-white);
}

.google-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 210px;
}

.g-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.g-bar-track {
  flex: 1;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.g-bar-fill {
  height: 100%;
  background: var(--google-gold);
  border-radius: 99px;
}

.google-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.google-review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.google-review-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card);
}

.g-reviewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.g-reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.g-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
  border: 1px solid var(--accent-border);
  color: var(--accent-silver);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.g-reviewer-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--text-white);
  display: block;
}

.g-reviewer-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.g-mini-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.g-rating-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g-rating-line .stars {
  color: var(--google-gold);
  font-size: 1.05rem;
  letter-spacing: 1px;
  line-height: 1;
}

.g-rating-line .score-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-white);
  background: rgba(251, 188, 4, 0.14);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.g-review-body {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-light);
}

.g-review-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.g-review-footer a {
  color: var(--accent-ice);
  font-weight: 500;
}

.g-review-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SUBPAGE HERO & AUTOANKAUF / KONTAKT / LEGAL
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 84px 0 74px;
  overflow: hidden;
  background: linear-gradient(180deg, #040916 0%, #010308 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.24) contrast(1.12) saturate(0.75);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 16, 0.72) 0%, #010308 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.65rem);
  margin-bottom: 16px;
}

.page-hero .hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.48rem);
  color: var(--accent-ice);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.74;
  max-width: 700px;
  margin: 0 auto 10px;
}

.page-hero--compact {
  padding: 44px 0 36px;
}

.page-hero--compact h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.25rem);
  margin-bottom: 10px;
}

.page-hero--compact .hero-sub {
  font-size: clamp(1.12rem, 1.75vw, 1.38rem);
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 12px;
}

.page-hero--compact p.hero-compact-sub {
  font-size: 1.04rem;
  color: var(--text-body);
  line-height: 1.68;
  max-width: 690px;
  margin: 0 auto;
}

.page-hero--compact + .section-inventory,
.page-hero--compact + .section-ankauf-form,
.page-hero--compact + .section-google-reviews,
.page-hero--compact + .section-kontakt {
  padding-top: 38px;
}

.ankauf-hero-checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  margin: 20px auto 24px;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-light);
}

.ankauf-hero-checks span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ankauf-hero-checks .check-gold {
  color: #FACC15;
  font-weight: 700;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .page-hero--compact {
    padding: 32px 0 26px;
  }
  .page-hero--compact + .section-inventory,
  .page-hero--compact + .section-ankauf-form,
  .page-hero--compact + .section-google-reviews,
  .page-hero--compact + .section-kontakt {
    padding-top: 26px;
  }
  .ankauf-hero-checks {
    gap: 10px 18px;
    font-size: 0.9rem;
  }
}

.section-vorteile {
  padding: 90px 0;
  background: var(--bg-black);
}

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

.vorteil-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all var(--transition);
}

.vorteil-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.vorteil-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.vorteil-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ice);
}

.vorteil-icon svg {
  width: 25px;
  height: 25px;
}

.vorteil-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: rgba(147, 197, 253, 0.22);
}

.vorteil-card h3 {
  font-size: 1.26rem;
  margin-bottom: 10px;
}

.vorteil-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Ankauf Form & Sticky Side */
.section-ankauf-form {
  padding: 90px 0 108px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.ankauf-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 46px;
  align-items: start;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.8vw, 42px);
  box-shadow: var(--shadow-card);
}

.form-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-white);
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.form-group-title .step-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.55);
}

.form-section + .form-section {
  margin-top: 34px;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 20px;
}

.field-full {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
}

.form-field label .req {
  color: var(--accent-ice);
}

.form-control {
  width: 100%;
  background: rgba(3, 7, 18, 0.65);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text-white);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-control::placeholder {
  color: rgba(148, 163, 184, 0.58);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-ice);
  background: rgba(3, 7, 18, 0.9);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2360A5FA' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

select.form-control option {
  background: #0D1B36;
  color: #ffffff;
}

textarea.form-control {
  min-height: 112px;
  resize: vertical;
}

.upload-zone {
  position: relative;
  border: 1.5px dashed var(--border-glass);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  background: rgba(3, 7, 18, 0.45);
  cursor: pointer;
  transition: all var(--transition);
}

.upload-zone:hover,
.upload-zone.is-dragover {
  border-color: var(--accent-ice);
  background: rgba(37, 99, 235, 0.10);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-zone svg {
  width: 28px;
  height: 28px;
  color: var(--accent-ice);
  margin: 0 auto 8px;
}

.upload-zone strong {
  display: block;
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.upload-zone span {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.file-list-preview {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.file-chip {
  font-size: 0.8rem;
  background: var(--accent-dim);
  color: var(--accent-silver);
  border: 1px solid var(--accent-border);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 22px;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.privacy-check a {
  color: var(--accent-ice);
  text-decoration: underline;
}

.form-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.form-actions .btn {
  flex: 1;
  min-width: 210px;
}

.form-feedback {
  display: none;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
}

.form-feedback.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac;
}

.form-feedback.is-error {
  display: block;
  background: rgba(255, 77, 79, 0.14);
  border: 1px solid rgba(255, 77, 79, 0.45);
  color: #fca5a5;
}

.ankauf-side {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-highlight-card {
  background: linear-gradient(160deg, #081226 0%, #030710 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
}

.side-highlight-card h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.22;
  margin-bottom: 18px;
}

.side-highlight-card p {
  font-size: 0.98rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.process-step {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.process-step strong {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent-silver);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  flex-shrink: 0;
}

.process-step div h4 {
  font-size: 1.02rem;
  margin-bottom: 2px;
}

.process-step div span {
  font-size: 0.87rem;
  color: var(--text-muted);
}

.side-question-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
}

.side-question-box h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.side-question-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Kontakt & Opening Hours */
.section-kontakt {
  padding: 84px 0 100px;
  background: var(--bg-black);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 46px;
  align-items: start;
}

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

.contact-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: border-color var(--transition), transform var(--transition);
}

.contact-tile:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.contact-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-tile-icon svg {
  width: 21px;
  height: 21px;
}

.contact-tile h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.contact-tile p,
.contact-tile a {
  font-size: 0.95rem;
  color: var(--text-body);
}

.contact-tile a:hover {
  color: var(--accent-ice);
}

.contact-tile a.btn-primary,
.contact-tile a.btn-primary:hover {
  color: #FFFFFF;
}

.contact-route-btn {
  margin-top: 14px;
  width: 100%;
}

.hours-table {
  width: 100%;
  margin-top: 6px;
  font-size: 0.9rem;
}

.hours-table div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.14);
}

.hours-table div:last-child {
  border-bottom: 0;
}

/* Legal Pages */
.section-legal {
  padding: 76px 0 96px;
  background: var(--bg-black);
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  margin-bottom: 10px;
}

.legal-card .legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-card h2 {
  font-size: 1.35rem;
  color: var(--accent-ice);
  margin: 28px 0 10px;
}

.legal-card h3 {
  font-size: 1.08rem;
  margin: 18px 0 8px;
  color: var(--text-white);
}

.legal-card p,
.legal-card li {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.76;
  margin-bottom: 10px;
}

.legal-card ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 14px;
}

/* ==========================================================================
   FAHRZEUGBESTAND (Inventory, Filters, Gallery Modal & VERKAUFT Stamp)
   ========================================================================== */
.section-vehicles-home {
  padding: 92px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-inventory {
  padding: 64px 0 104px;
  background: var(--bg-black);
}

.inventory-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
  padding: 12px 18px;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-light);
}

.status-pulse {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.status-pulse::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-ice);
  box-shadow: 0 0 10px var(--accent-ice);
}

.inventory-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 14px;
  align-items: center;
}

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

.vehicle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}

.vehicle-card:not(.is-sold):hover {
  transform: translateY(-5px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card);
}

.vehicle-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #050B18;
  cursor: pointer;
}

.vehicle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.vehicle-card:not(.is-sold):hover .vehicle-media img {
  transform: scale(1.05);
}

.vehicle-badges-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}

.v-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.v-badge-primary {
  background: rgba(37, 99, 235, 0.92);
  color: #FFFFFF;
  border: 1px solid rgba(147, 197, 253, 0.45);
}

.v-badge-dark {
  background: rgba(3, 7, 18, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-white);
}

.v-photo-count {
  position: absolute;
  bottom: 10px;
  right: 12px;
  z-index: 2;
  background: rgba(3, 7, 18, 0.82);
  border: 1px solid rgba(147, 197, 253, 0.25);
  color: var(--text-white);
  font-size: 0.76rem;
  padding: 3px 9px;
  border-radius: 6px;
}

.vehicle-body {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.vehicle-title-block h3 {
  font-size: 1.24rem;
  line-height: 1.25;
  margin-bottom: 5px;
  color: var(--text-white);
}

.vehicle-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vehicle-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.vehicle-price {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--accent-silver);
  line-height: 1;
}

.vehicle-monthly {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.vehicle-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 12px;
  font-size: 0.85rem;
}

.v-spec {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-light);
}

.v-spec svg {
  width: 15px;
  height: 15px;
  color: var(--accent-ice);
  flex-shrink: 0;
}

.vehicle-actions {
  padding: 0 22px 22px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
}

.v-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-medium);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.v-icon-btn:hover {
  border-color: var(--accent-ice);
  color: var(--accent-ice);
  background: rgba(37, 99, 235, 0.14);
}

.v-icon-btn svg {
  width: 18px;
  height: 18px;
}

/* Sold ("VERKAUFT") Closed Card + Big Diagonal Red Stamp */
.vehicle-card.is-sold {
  border-color: rgba(220, 38, 38, 0.42);
  background: #080E1E;
}

.vehicle-card.is-sold .vehicle-media {
  cursor: not-allowed;
}

.vehicle-card.is-sold .vehicle-media img {
  filter: grayscale(75%) brightness(0.45) contrast(1.08);
}

.vehicle-card.is-sold .vehicle-body {
  opacity: 0.68;
}

.vehicle-card.is-sold .vehicle-price {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 1.35rem;
}

.sold-price-pill {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fecaca;
  background: rgba(220, 38, 38, 0.24);
  border: 1px solid rgba(239, 68, 68, 0.55);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.sold-diagonal-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.sold-diagonal-stamp {
  width: 135%;
  text-align: center;
  background: linear-gradient(90deg, rgba(185, 28, 28, 0.95) 0%, rgba(220, 38, 38, 0.98) 50%, rgba(185, 28, 28, 0.95) 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 11px 0;
  border-top: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 24px rgba(220, 38, 38, 0.55);
  transform: rotate(-24deg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.btn-sold-locked {
  grid-column: 1 / -1;
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fca5a5;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: not-allowed;
  opacity: 0.92;
}

/* Vehicle Lightbox Modal */
.vehicle-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(2, 6, 18, 0.88);
  backdrop-filter: blur(14px);
  padding: 28px 18px;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
}

.vehicle-modal-backdrop.is-open {
  display: flex;
  animation: modalBackdropIn 0.22s ease both;
}

@keyframes modalBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.vehicle-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  max-width: 1060px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  position: relative;
  animation: modalScaleIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close-btn {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.modal-close-btn:hover {
  border-color: var(--accent-ice);
  color: var(--accent-ice);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  padding: 28px;
  clear: both;
}

.modal-gallery-main {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #040814;
  border: 1px solid var(--border-subtle);
}

.modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.78);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.gallery-nav-btn:hover {
  border-color: var(--accent-ice);
  background: var(--accent);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.modal-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.65;
  background: #050B18;
  transition: all var(--transition);
}

.modal-thumb.is-active,
.modal-thumb:hover {
  border-color: var(--accent-ice);
  opacity: 1;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-tech-table {
  width: 100%;
  margin: 16px 0 22px;
  font-size: 0.88rem;
  border-top: 1px solid var(--border-subtle);
}

.modal-tech-table div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}

.modal-tech-table span {
  color: var(--text-muted);
}

.modal-tech-table strong {
  color: var(--text-white);
  text-align: right;
}

.empty-filter-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   DSGVO 2-Click Google Maps & Footer
   ========================================================================== */
.site-footer {
  background: #010206;
  border-top: 1px solid var(--border-medium);
  padding: 68px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 52px;
}

.footer-brand img {
  height: 76px;
  width: auto;
  mix-blend-mode: lighten;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 330px;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-white);
  transition: all var(--transition);
}

.social-pill svg {
  width: 16px;
  height: 16px;
}

.social-pill:hover {
  border-color: var(--accent-ice);
  color: var(--accent-silver);
  transform: translateY(-2px);
}

.footer-map h3,
.footer-contact h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.footer-contact h3 {
  color: var(--accent-ice);
}

.map-frame-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  background: linear-gradient(145deg, #0D1B36 0%, #050B18 100%);
  min-height: 228px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-consent-placeholder {
  padding: 22px;
  text-align: center;
  max-width: 420px;
}

.map-consent-placeholder svg {
  width: 28px;
  height: 28px;
  color: var(--accent-ice);
  margin: 0 auto 8px;
}

.map-consent-placeholder strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.map-consent-placeholder p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.map-consent-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.map-frame-wrap iframe {
  width: 100%;
  height: 228px;
  border: 0;
  display: block;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.94rem;
  color: var(--text-body);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-ice);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--accent-ice);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 22px 80px 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-links a:hover,
.footer-legal-links button:hover {
  color: var(--accent-ice);
}

.cookie-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 68px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  border: 2px solid rgba(1, 3, 8, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45), 0 4px 16px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition), bottom var(--transition), box-shadow var(--transition);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 211, 102, 0.45);
  animation: waPulse 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.58);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@keyframes bannerFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* German DSGVO / TDDDG Cookie Consent Bar */
.dsgvo-banner {
  display: none;
  position: fixed;
  left: 20px;
  right: 94px;
  bottom: 20px;
  max-width: 780px;
  z-index: 980;
  background: rgba(3, 7, 16, 0.98);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.dsgvo-banner.is-visible {
  display: block;
  animation: bannerFadeUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dsgvo-banner h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text-white);
}

.dsgvo-banner p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.dsgvo-banner p a {
  color: var(--accent-ice);
  text-decoration: underline;
}

.dsgvo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Scroll Reveal Choreography */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1), transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body,
  main,
  .whatsapp-float::before,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Responsive Design (Tablet <= 1180px / 960px, Mobile <= 640px / 380px)
   ========================================================================== */
@media (max-width: 1240px) {
  .header-inner {
    gap: 12px;
  }

  .site-nav {
    gap: 2px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .header-actions .btn-sm {
    padding: 9px 15px;
    font-size: 0.85rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .footer-brand p {
    margin-bottom: 0;
    max-width: 460px;
  }
}

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

  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 1080px) {
  :root {
    --header-height: 82px;
  }

  .autohaus-topbar .hide-tablet {
    display: none;
  }

  .brand-logo img {
    height: 68px;
    transform: scale(1.10);
  }

  .site-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-home {
    min-height: 0;
    padding: 58px 0 64px;
  }

  .section-pathways {
    padding-top: 52px;
  }

  .section-about,
  .section-google-reviews,
  .section-vorteile,
  .section-ankauf-form,
  .section-vehicles-home,
  .section-kontakt,
  .section-legal {
    padding-top: 60px;
    padding-bottom: 64px;
  }

  .pathways-grid,
  .about-grid,
  .ankauf-layout,
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ankauf-side {
    position: static;
    order: -1;
  }

  .vorteile-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-ankauf-form {
    grid-template-columns: 1fr;
  }

  .google-summary-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .google-bars {
    min-width: 0;
    width: 100%;
  }

  .google-summary-actions .btn {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 76px;
  }

  .container {
    padding: 0 18px;
  }

  .autohaus-topbar {
    padding: 7px 0;
  }

  .topbar-inner {
    justify-content: space-between;
    gap: 8px;
  }

  .topbar-left {
    gap: 8px;
  }

  .topbar-left .topbar-address,
  .topbar-left .hide-tablet {
    display: none;
  }

  .topbar-right {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
  }

  .topbar-google-pill {
    font-size: 0.76rem;
    padding: 3px 9px;
  }

  .brand-logo img {
    height: 56px;
    transform: scale(1.04);
  }

  .form-control,
  .quick-ankauf-form input,
  select.form-control,
  textarea.form-control {
    font-size: 16px;
    min-height: 48px;
  }

  .btn {
    padding: 14px 22px;
    white-space: normal;
  }

  .btn-lg {
    padding: 15px 24px;
    font-size: 1.04rem;
  }

  .hero-title {
    font-size: clamp(2.15rem, 10.5vw, 2.95rem);
  }

  .hero-subtitle {
    font-size: 1.18rem;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 26px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-trust-strip {
    justify-content: center;
    gap: 10px;
  }

  .trust-item {
    font-size: 0.85rem;
    padding: 8px 14px;
  }

  .inventory-toolbar,
  .vehicles-grid,
  .vorteile-grid,
  .reviews-grid,
  .fields-grid,
  .about-pillars,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pathway-card,
  .form-card,
  .side-highlight-card,
  .legal-card {
    padding: 22px 18px;
  }

  .quick-ankauf-form {
    padding: 10px;
  }

  .quick-ankauf-form .btn {
    width: 100%;
  }

  .about-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .sell-glass-card {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .sell-glass-card .btn {
    width: 100%;
  }

  .google-summary-bar {
    padding: 20px 16px;
  }

  .google-score-left {
    gap: 14px;
  }

  .google-big-score {
    font-size: 2rem;
  }

  .google-review-card {
    padding: 22px 18px;
  }

  .form-actions .btn {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }

  .contact-tile {
    padding: 18px 16px;
  }

  .vehicles-grid {
    gap: 20px;
  }

  .vehicle-body {
    padding: 18px 16px 14px;
  }

  .vehicle-actions {
    padding: 0 16px 18px;
  }

  .vehicle-price {
    font-size: 1.5rem;
  }

  .v-icon-btn {
    width: 46px;
    height: 46px;
  }

  .sold-diagonal-stamp {
    font-size: 1.5rem;
    letter-spacing: 0.16em;
  }

  .inventory-status-bar {
    padding: 10px 14px;
  }

  .vehicle-modal-backdrop {
    padding: 0;
    align-items: stretch;
  }

  .vehicle-modal {
    max-height: 100vh;
    max-height: 100dvh;
    height: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .modal-close-btn {
    top: 10px;
    margin: 10px 10px 0 0;
    width: 46px;
    height: 46px;
  }

  .modal-grid {
    padding: 14px 16px 28px;
    gap: 20px;
  }

  .modal-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-nav-btn {
    width: 44px;
    height: 44px;
  }

  .dsgvo-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px 14px 12px;
    max-height: 62vh;
    overflow-y: auto;
  }

  .dsgvo-banner p {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }

  .dsgvo-actions .btn {
    flex: 1 1 100%;
    padding: 11px 14px;
    font-size: 0.9rem;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 62px;
  }

  body:has(#dsgvo-banner.is-visible) .whatsapp-float {
    bottom: 190px;
  }

  .footer-legal-links {
    gap: 12px 18px;
  }

  .footer-bottom {
    padding-right: 0;
    padding-bottom: 88px;
    flex-direction: column;
    align-items: flex-start;
  }

  .map-frame-wrap {
    min-height: 200px;
  }

  .map-consent-btns .btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 14px;
  }

  .brand-logo img {
    height: 48px;
  }

  .vehicle-specs-grid {
    grid-template-columns: 1fr;
  }
}
