/* ═══════════════════════════════════════════════
   Car Cologne - Professional Stylesheet
   Color Scheme: Schwarz + Weiß + Rot-Akzent
   Lackiererei & Autohandel
   ═══════════════════════════════════════════════ */

/* ── Self-hosted Fonts (DSGVO-konform) ───────── */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Reset & Custom Properties ────────────────── */

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

:root {
  --c-red: #cc0000;
  --c-red-dark: #a30000;
  --c-red-light: #e62222;
  --c-red-glow: rgba(204, 0, 0, 0.35);
  --c-red-subtle: rgba(204, 0, 0, 0.08);

  /* Hero Service Card Colors */
  --c-svc-auto: #3B82F6;
  --c-svc-auto-dark: #2563EB;
  --c-svc-lack: #F59E0B;
  --c-svc-lack-dark: #D97706;
  --c-svc-gutachten: #10B981;
  --c-svc-gutachten-dark: #059669;

  --c-white: #ffffff;
  --c-offwhite: #f7f7f8;
  --c-gray-100: #f0f0f2;
  --c-gray-200: #e0e0e0;
  --c-gray-300: #cccccc;
  --c-gray-400: #999999;
  --c-gray-500: #666666;
  --c-gray-600: #444444;

  --c-black: #0a0a0a;
  --c-black-light: #141414;
  --c-black-soft: #1e1e1e;
  --c-black-card: #181818;

  --c-text-on-dark: rgba(255, 255, 255, 0.92);
  --c-text-muted-dark: rgba(255, 255, 255, 0.6);
  --c-text-on-light: #1a1a1a;
  --c-text-muted-light: #555555;

  /* Typography */
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-display: "Playfair Display", Georgia, serif;

  /* Spacing */
  --section-py: clamp(5rem, 10vw, 8rem);
  --container-px: clamp(1.25rem, 4vw, 2.5rem);
  --container-max: 1200px;

  /* Misc */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  color: var(--c-text-on-dark);
  background: var(--c-black);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ── Focus Visible (WCAG 2.4.7) ──────────────── */

:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline-offset: 4px;
}

/* ── Screen Reader Only ──────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Skip Link (WCAG 2.4.1) ─────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--c-red);
  color: var(--c-white);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ── Noscript Fallback ────────────────────────── */

.vehicle-grid__noscript {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--c-text-muted-dark);
  padding: 3rem 1rem;
  font-size: 1rem;
}

.vehicle-grid__noscript a {
  color: var(--c-red);
  text-decoration: underline;
}

/* ── Container ─────────────────────────────────── */

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

/* ── Buttons ───────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
  letter-spacing: 0.3px;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--c-red), var(--c-red-dark));
  color: var(--c-white);
  border-color: var(--c-red);
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.2);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--c-red-light), var(--c-red));
  border-color: var(--c-red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--c-red-glow), 0 0 20px rgba(204, 0, 0, 0.15);
}

.btn--hero {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: #fff;
  border-color: #3B82F6;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}

.btn--hero:hover {
  background: linear-gradient(135deg, #60A5FA, #3B82F6);
  border-color: #60A5FA;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35);
}

.btn--hero-outline {
  background: transparent;
  color: #60A5FA;
  border: 2px solid rgba(59, 130, 246, 0.5);
}

.btn--hero-outline:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: #3B82F6;
  color: #93BBFD;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.btn--outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--outline-light:hover {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn--phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn--phone svg {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--phone:hover svg {
  transform: rotate(-15deg) scale(1.1);
}

/* Responsive call button: icon on mobile, full number on desktop */
.btn--call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn--call__icon {
  display: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--call:hover .btn--call__icon {
  transform: rotate(-15deg) scale(1.1);
}

.btn--call__mobile {
  display: none;
}

.btn--call__desktop {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
}

.btn--call__number {
  display: block;
  color: var(--c-red);
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Responsive call link (non-button, e.g. contact section) */
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-phone__icon {
  display: none;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.contact-phone__mobile {
  display: none;
}

.btn--block {
  width: 100%;
}

.btn__spinner {
  vertical-align: middle;
  margin-right: 0.35rem;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ── Scroll Animations (guarded by JS) ────────── */

.js-enabled [data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-enabled [data-aos].aos--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.3) 60%, transparent 100%);
}

.navbar--scrolled {
  background: rgba(14, 14, 16, 0.92);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  padding: 0.4rem 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  z-index: 1001;
  transition: opacity 0.3s ease;
}

.navbar__brand:hover {
  opacity: 0.85;
}

.navbar__logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 10px;
  filter: brightness(1.08) contrast(1.05);
}

.navbar--scrolled .navbar__logo-img {
  height: 48px;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.navbar__menu a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  font-weight: 500;
  transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  letter-spacing: 0.2px;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
}

.navbar__menu a:not(.btn):not(.navbar__page-link)::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-red), var(--c-red-light));
  border-radius: 1px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__menu a:not(.btn):not(.navbar__page-link):hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.04);
}

.navbar__menu a:not(.btn):not(.navbar__page-link):hover::after {
  width: 50%;
}

/* ── Page links — Die drei Kernbereiche in der Nav ── */
.navbar__menu a.navbar__page-link {
  color: var(--c-white);
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(204, 0, 0, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.08), rgba(204, 0, 0, 0.03));
  transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.navbar__menu a.navbar__page-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.navbar__menu a.navbar__page-link:hover {
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.15), rgba(204, 0, 0, 0.05));
  border-color: rgba(204, 0, 0, 0.45);
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.1), inset 0 0 15px rgba(204, 0, 0, 0.03);
  transform: translateY(-1px);
}

.navbar__menu a.navbar__page-link:hover::before {
  opacity: 1;
}

.navbar__menu a.navbar__page-link[aria-current="page"] {
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.18), rgba(204, 0, 0, 0.06));
  border-color: rgba(204, 0, 0, 0.5);
  color: var(--c-white);
  box-shadow: 0 0 16px rgba(204, 0, 0, 0.08);
}

/* ── Kontakt-Button in der Nav ── */
.navbar__menu .btn--primary.btn--sm {
  padding: 0.5rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(204, 0, 0, 0.25);
}

.navbar__menu .btn--primary.btn--sm:hover {
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.35);
}

/* ── Hamburger Toggle ── */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.navbar__toggle:hover {
  opacity: 0.8;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__toggle--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle--active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.navbar__toggle--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--c-black-light);
  background-image: url("../img/hero-bg-1280.webp");
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@media (min-width: 1281px) {
  .hero__bg { background-image: url("../img/hero-bg.webp"); }
}
@media (max-width: 960px) {
  .hero__bg { background-image: url("../img/hero-bg-960.webp"); }
}
@media (max-width: 640px) {
  .hero__bg { background-image: url("../img/hero-bg-640.webp"); }
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}

.hero__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.65) 50%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

/* Subtle red accent glow at bottom of hero */
.hero__overlay::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(204, 0, 0, 0.08), transparent);
  pointer-events: none;
}

/* ── Hex Pattern Overlay — covers hero, bleeds into next section ── */
.hero__hex {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 34L0 84V50l28-16 28 16v34L28 100z' fill='none' stroke='rgba(204,0,0,0.35)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.7) 25%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.15) 75%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.7) 25%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.15) 75%,
    transparent 100%
  );
}

/* Hex pattern continuation on the about section — fades out completely */
.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 34L0 84V50l28-16 28 16v34L28 100z' fill='none' stroke='rgba(204,0,0,0.22)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.35) 30%,
    rgba(0,0,0,0.12) 60%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.35) 30%,
    rgba(0,0,0,0.12) 60%,
    transparent 100%
  );
}

/* Color fade overlay — soft gradient at hero bottom to blend into about */
.hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 500px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(30, 30, 30, 0.15) 15%,
    rgba(30, 30, 30, 0.4) 30%,
    rgba(30, 30, 30, 0.65) 45%,
    rgba(30, 30, 30, 0.85) 58%,
    rgba(30, 30, 30, 0.95) 68%,
    #1e1e1e 78%,
    #1e1e1e 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 7rem 0 3rem;
}

.hero__badge {
  display: inline-block;
  padding: 0.45rem 1.4rem;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.12), rgba(204, 0, 0, 0.04));
  color: var(--c-red-light);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50px;
  border: 1px solid rgba(204, 0, 0, 0.2);
  margin-bottom: 1.5rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero__title--accent {
  display: block;
  background: linear-gradient(90deg, var(--c-red), var(--c-red-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero__amp {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  margin-right: 0.1em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
  letter-spacing: 0.2px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ═══════════════════════════════════════════════
   HERO SERVICE CARDS (prominent links in hero)
   ═══════════════════════════════════════════════ */

/* ── Hero Service Cards — Drei Kernbereiche ───── */

.hero__services {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 6rem;
}

.hero-svc {
  --_svc-color: var(--c-svc-auto);
  --_svc-color-dark: var(--c-svc-auto-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

/* Per-card color assignments */
.hero__services .hero-svc:nth-child(1) {
  --_svc-color: var(--c-svc-auto);
  --_svc-color-dark: var(--c-svc-auto-dark);
}
.hero__services .hero-svc:nth-child(2) {
  --_svc-color: var(--c-svc-lack);
  --_svc-color-dark: var(--c-svc-lack-dark);
}
.hero__services .hero-svc:nth-child(3) {
  --_svc-color: var(--c-svc-gutachten);
  --_svc-color-dark: var(--c-svc-gutachten-dark);
}

/* Top accent line — uses card color */
.hero-svc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--_svc-color), transparent);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Background glow on hover — card color */
.hero-svc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top center, color-mix(in srgb, var(--_svc-color) 12%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-svc:hover {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-color: color-mix(in srgb, var(--_svc-color) 50%, transparent);
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 40px color-mix(in srgb, var(--_svc-color) 15%, transparent);
}

.hero-svc:hover::before {
  width: 85%;
}

.hero-svc:hover::after {
  opacity: 1;
}

/* Featured card (middle - Lackiererei) — stands out */
.hero-svc--featured {
  border-color: color-mix(in srgb, var(--_svc-color) 35%, transparent);
  background: linear-gradient(170deg, color-mix(in srgb, var(--_svc-color) 10%, transparent) 0%, rgba(255, 255, 255, 0.04) 100%);
  transform: scale(1.03);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), 0 0 30px color-mix(in srgb, var(--_svc-color) 10%, transparent);
}

.hero-svc--featured::before {
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--_svc-color), var(--_svc-color-dark), var(--_svc-color), transparent);
}

.hero-svc--featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45), 0 0 50px color-mix(in srgb, var(--_svc-color) 15%, transparent);
}

.hero-svc--featured:hover::before {
  width: 95%;
}

.hero-svc--featured .hero-svc__icon {
  background: linear-gradient(145deg, color-mix(in srgb, var(--_svc-color) 30%, transparent), color-mix(in srgb, var(--_svc-color) 12%, transparent));
  border-color: color-mix(in srgb, var(--_svc-color) 40%, transparent);
}

.hero-svc--featured .hero-svc__icon-wrap::before {
  border-color: color-mix(in srgb, var(--_svc-color) 25%, transparent);
}

/* Number badge */
.hero-svc__number {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--_svc-color) 20%, transparent);
  letter-spacing: 1px;
  z-index: 1;
  transition: color 0.5s ease, transform 0.5s ease;
}

.hero-svc:hover .hero-svc__number {
  color: color-mix(in srgb, var(--_svc-color) 40%, transparent);
  transform: scale(1.1);
}

/* Icon wrapper with animated ring */
.hero-svc__icon-wrap {
  position: relative;
  margin-bottom: 1.2rem;
  z-index: 1;
}

.hero-svc__icon-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--_svc-color) 25%, transparent);
  transition: inset 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-style 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-svc:hover .hero-svc__icon-wrap::before {
  inset: -14px;
  border-color: color-mix(in srgb, var(--_svc-color) 45%, transparent);
  border-style: solid;
}

.hero-svc__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, color-mix(in srgb, var(--_svc-color) 22%, transparent), color-mix(in srgb, var(--_svc-color) 8%, transparent));
  border: 1.5px solid color-mix(in srgb, var(--_svc-color) 30%, transparent);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-svc__icon svg {
  width: 32px;
  height: 32px;
  color: var(--_svc-color);
  transition: color 0.4s ease;
}

.hero-svc:hover .hero-svc__icon {
  background: linear-gradient(145deg, color-mix(in srgb, var(--_svc-color) 35%, transparent), color-mix(in srgb, var(--_svc-color) 15%, transparent));
  border-color: color-mix(in srgb, var(--_svc-color) 50%, transparent);
  transform: scale(1.1);
  box-shadow: 0 0 24px color-mix(in srgb, var(--_svc-color) 20%, transparent);
}

.hero-svc:hover .hero-svc__icon svg {
  color: #fff;
}

/* Body */
.hero-svc__body {
  position: relative;
  z-index: 1;
  margin-bottom: 1.2rem;
}

.hero-svc__title {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.hero-svc__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
  margin: 0;
}

.hero-svc:hover .hero-svc__desc {
  color: rgba(255, 255, 255, 0.7);
}

/* CTA link */
.hero-svc__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--_svc-color);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  justify-content: center;
}

.hero-svc__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-svc:hover .hero-svc__cta {
  color: #fff;
  border-top-color: color-mix(in srgb, var(--_svc-color) 25%, transparent);
}

.hero-svc:hover .hero-svc__cta svg {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════
   HERO SERVICE CARDS — PHOTO VARIANT
   ═══════════════════════════════════════════════ */

.hero-svc--photo {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1.5px rgba(255,255,255,0.08);
  transition: box-shadow 0.45s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1);
}

.hero-svc--photo .hero-svc__icon-wrap {
  display: none;
}

.hero-svc--photo .hero-svc__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.88) 72%, rgba(0,0,0,0.97) 100%);
  z-index: 1;
  transition: background 0.45s ease;
}

.hero-svc--photo .hero-svc__body,
.hero-svc--photo .hero-svc__cta,
.hero-svc--photo .hero-svc__number {
  position: relative;
  z-index: 2;
}

.hero-svc--photo .hero-svc__body {
  margin-top: auto;
}

.hero-svc--photo .hero-svc__title {
  font-size: 1.5rem;
  font-weight: 800;
  text-shadow: 0 2px 16px rgba(0,0,0,0.85), 0 1px 3px rgba(0,0,0,0.6);
  margin-bottom: 0.45rem;
  color: #fff;
  letter-spacing: 0.3px;
}

.hero-svc--photo:hover .hero-svc__photo-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.52) 45%, rgba(0,0,0,0.80) 70%, rgba(0,0,0,0.95) 100%);
}

.hero-svc--photo:hover {
  box-shadow: 0 18px 52px rgba(0,0,0,0.55), 0 0 0 1.5px color-mix(in srgb, var(--_svc-color) 50%, transparent);
}

.hero-svc--photo .hero-svc__number {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.88);
  top: 1rem;
  right: 1rem;
}

.hero-svc--photo .hero-svc__desc {
  color: rgba(255,255,255,0.72);
  font-size: 0.84rem;
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero-svc--photo:hover .hero-svc__desc {
  color: rgba(255,255,255,0.88);
}

.hero-svc--photo .hero-svc__cta {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 0.65rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  margin-top: 0.4rem;
}

.hero-svc--photo:hover .hero-svc__cta {
  color: #fff;
  border-top-color: rgba(255,255,255,0.28);
}

@media (max-width: 960px) {
  .hero-svc--photo {
    min-height: 190px;
    background-position: center 30% !important;
  }
  a[href="autohandel.html"].hero-svc--photo { background-image: url('../img/kachel-autohandel-960.webp') !important; }
  a[href="reparatur.html"].hero-svc--photo  { background-image: url('../img/kachel-reparatur-960.webp') !important; }
  a[href="gutachten.html"].hero-svc--photo  { background-image: url('../img/kachel-gutachten-960.webp') !important; }
}

@media (max-width: 480px) {
  .hero-svc--photo {
    min-height: 115px;
    padding: 0.75rem 1rem !important;
    border-radius: 14px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    background-position: center 55% !important;
    transform: none !important;
  }
  a[href="autohandel.html"].hero-svc--photo {
    background-image: url('../img/kachel-autohandel-960.webp') !important;
    background-position: center 42% !important;
    background-size: 120% auto !important;
  }
  a[href="reparatur.html"].hero-svc--photo {
    background-image: url('../img/kachel-reparatur-960.webp') !important;
    background-position: center 40% !important;
  }
  a[href="gutachten.html"].hero-svc--photo {
    background-image: url('../img/kachel-gutachten-960.webp') !important;
    background-position: center 82% !important;
  }
  .hero-svc--photo .hero-svc__photo-overlay {
    background: linear-gradient(90deg,
      rgba(0,0,0,0.18) 0%,
      rgba(0,0,0,0.45) 40%,
      rgba(0,0,0,0.78) 100%) !important;
  }
  .hero-svc--photo .hero-svc__desc {
    display: none !important;
  }
  .hero-svc--photo .hero-svc__cta {
    display: none !important;
  }
  .hero-svc--photo .hero-svc__number {
    font-size: 0.62rem !important;
    margin-right: 0.65rem;
    padding: 0.15rem 0.5rem !important;
    letter-spacing: 2px;
    flex-shrink: 0;
    top: 0;
    right: auto;
  }
  .hero-svc--photo .hero-svc__title {
    font-size: 1rem !important;
    margin: 0 !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px;
  }
  .hero-svc--photo .hero-svc__body {
    margin-top: 0 !important;
    flex: 1;
  }
  .hero-svc--photo .hero-svc__body::after {
    content: "›";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: rgba(255,255,255,0.55);
    line-height: 1;
    z-index: 3;
  }
}

/* ═══════════════════════════════════════════════
   HERO STATS (bottom bar inside hero)
   ═══════════════════════════════════════════════ */

.hero__stats {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 0;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.hero__stat {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.hero__stat + .hero__stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.hero__stat-number {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
  background: linear-gradient(180deg, var(--c-white) 40%, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__stat-suffix {
  font-family: var(--ff-body);
  font-size: 0.75em;
  font-weight: 700;
  color: var(--c-red);
  -webkit-text-fill-color: var(--c-red);
  margin-left: 2px;
  vertical-align: baseline;
}

.hero__stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--c-text-muted-dark);
  margin-top: 0.35rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   SECTION SHARED STYLES
   ═══════════════════════════════════════════════ */

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--c-red);
  margin-bottom: 0.75rem;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.1), rgba(204, 0, 0, 0.03));
  border: 1px solid rgba(204, 0, 0, 0.15);
  border-radius: 50px;
}

.section__title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section__title-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-red), var(--c-red-light));
  margin: 1rem auto 0;
  border-radius: 3px;
  box-shadow: 0 0 16px rgba(204, 0, 0, 0.35);
  position: relative;
}

.section__title-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--c-red);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(204, 0, 0, 0.5);
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--c-text-muted-dark);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════ */

.about {
  position: relative;
  background: var(--c-black-soft);
}

.contact {
  background: var(--c-black-soft);
}

/* ── About Story (Über uns text + image) ─────── */

.about__story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 0 auto 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .about__story {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__story-content {
    font-size: 1.05rem;
    line-height: 1.85;
  }

  .about__story-lead {
    font-size: 1.12rem;
    line-height: 1.85;
  }

  .about__story-closing {
    font-size: 1.02rem;
  }
}

.about__story--reverse .about__story-content {
  order: 1;
}

.about__story--reverse .about__story-media {
  order: 2;
}

@media (max-width: 768px) {
  .about__story--reverse .about__story-media {
    order: -1;
  }
}

.about__story-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about__story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about__story-media:hover img {
  transform: scale(1.04);
}

.about__story-media-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(204, 0, 0, 0.3);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.about__story-media-number {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--c-red);
  line-height: 1;
}

.about__story-media-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c-text-muted-dark);
  margin-top: 0.25rem;
}

.about__story-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text-muted-dark);
}

.about__story-content a {
  color: var(--c-red);
  text-decoration: none;
  border-bottom: 1px solid rgba(204, 0, 0, 0.3);
  transition: border-color 0.2s ease;
}

.about__story-content a:hover {
  border-color: var(--c-red);
}

.about__story-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--c-text-on-dark);
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--c-red);
}

.about__story-content p {
  margin-bottom: 1.25rem;
}

.about__story-content strong {
  color: var(--c-white);
  font-weight: 700;
}

.about__story-closing {
  font-style: italic;
  color: var(--c-text-muted-dark);
}

.about__dekra-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, rgba(0, 101, 46, 0.1), rgba(0, 101, 46, 0.03));
  border: 1px solid rgba(0, 132, 61, 0.2);
  border-radius: 12px;
  text-decoration: none;
  margin: 0.75rem 0 1.25rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.about__dekra-badge:hover {
  border-color: rgba(0, 132, 61, 0.4);
  background: linear-gradient(135deg, rgba(0, 101, 46, 0.15), rgba(0, 101, 46, 0.05));
}

.about__dekra-badge img {
  height: 36px;
  width: auto;
}

.about__dekra-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.3px;
}

/* ── About Grid (Kompetenz / Qualitaet / Transparenz) */

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about__card {
  background: linear-gradient(165deg, rgba(30, 30, 30, 0.8), rgba(20, 20, 20, 0.9));
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

/* Subtle red top accent bar on cards */
.about__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-red);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}

.about__card:hover::before {
  transform: scaleX(1);
}

.about__card:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 0, 0, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(204, 0, 0, 0.06);
}

.about__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(145deg, rgba(204, 0, 0, 0.14), rgba(204, 0, 0, 0.04));
  border: 1px solid rgba(204, 0, 0, 0.18);
  border-radius: 20px;
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.about__card:hover .about__icon {
  transform: scale(1.12) rotate(-5deg);
  background: linear-gradient(145deg, rgba(204, 0, 0, 0.25), rgba(204, 0, 0, 0.1));
  border-color: rgba(204, 0, 0, 0.35);
  box-shadow: 0 0 24px rgba(204, 0, 0, 0.12);
}

.about__icon svg {
  width: 32px;
  height: 32px;
  color: var(--c-red);
}

.about__card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.75rem;
}

.about__card p {
  font-size: 0.95rem;
  color: var(--c-text-muted-dark);
  line-height: 1.6;
}

/* ── About Signature ─────────────────────────── */

.about__signature {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 2rem;
}

.about__signature p {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--c-white);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   CERTIFICATIONS BAR
   ═══════════════════════════════════════════════ */

.certifications {
  background: var(--c-black);
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.certifications__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.cert-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 420px;
  padding: 2rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204, 0, 0, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cert-card:hover {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-color: rgba(204, 0, 0, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cert-card:hover::before {
  opacity: 1;
}

/* Linked cert-cards */
a.cert-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.cert-card--link:hover .cert-card__title {
  color: var(--c-red);
}

a.cert-card--link::after {
  display: none;
}

.cert-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(204, 0, 0, 0.1);
  border: 1px solid rgba(204, 0, 0, 0.25);
  border-radius: 14px;
}

.cert-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-card__logo img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

.cert-card--dekra {
  border-color: rgba(0, 132, 61, 0.2);
}

.cert-card--dekra:hover {
  border-color: rgba(0, 132, 61, 0.4);
}

.cert-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--c-red);
}

.cert-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cert-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.5px;
}

.cert-card__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--c-gray-400);
}

/* ═══════════════════════════════════════════════
   BRANDS
   ═══════════════════════════════════════════════ */

.brands {
  padding: 3rem 0;
  background: var(--c-black);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  overflow: hidden;
}

.brands__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--c-gray-400);
  margin-bottom: 1.5rem;
}

.brands__marquee {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}

.brands__marquee:hover {
  animation-play-state: paused;
}

.brands__marquee--reduced {
  animation-duration: 240s;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brands__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-shrink: 0;
  padding: 0 1.25rem;
}

.brand-item {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-gray-400);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: default;
  position: relative;
  white-space: nowrap;
}

.brand-item:hover {
  color: var(--c-white);
}

.brand-item--luxury {
  color: var(--c-red);
  font-size: 0.9rem;
  letter-spacing: 3px;
}

.brand-item--luxury:hover {
  color: var(--c-white);
}

/* ═══════════════════════════════════════════════
   VEHICLES
   ═══════════════════════════════════════════════ */

.vehicles {
  background: var(--c-black);
}

/* Subtle diagonal stripes pattern (automotive feel) */
.vehicles::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(255, 255, 255, 0.01) 80px,
    rgba(255, 255, 255, 0.01) 81px
  );
  pointer-events: none;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  min-height: 400px;
  position: relative;
}

.vehicle-card {
  position: relative;
  background: var(--c-black-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  border-color: rgba(204, 0, 0, 0.3);
  box-shadow: 0 16px 48px rgba(204, 0, 0, 0.15);
}

.vehicle-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.vehicle-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-card__image img {
  transform: scale(1.08);
}

.vehicle-card__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(10, 10, 10, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.vehicle-card:hover .vehicle-card__overlay,
.vehicle-card:focus-within .vehicle-card__overlay {
  opacity: 1;
}

@media (hover: none) {
  .vehicle-card__overlay {
    opacity: 1;
    background: rgba(10, 10, 10, 0.4);
  }

  .vehicle-card:hover,
  .service-card:hover,
  .about__card:hover {
    transform: none;
  }
}

.vehicle-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vehicle-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.vehicle-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.vehicle-card__price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-red);
  white-space: nowrap;
  flex-shrink: 0;
}

.vehicle-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spec {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--c-text-muted-dark);
}

.spec svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--c-gray-400);
}

.vehicle-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.vehicle-card__actions .btn {
  font-size: 0.85rem;
}

.vehicle-card__actions .btn svg {
  width: 16px;
  height: 16px;
}

/* ═══════════════════════════════════════════════
   MOBILE.DE SHOWCASE
   ═══════════════════════════════════════════════ */

.mobilede-showcase__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.mobilede-showcase__card {
  background: var(--c-black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.mobilede-showcase__card:hover {
  border-color: rgba(204, 0, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(204, 0, 0, 0.1);
}

.mobilede-showcase__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: rgba(204, 0, 0, 0.1);
  border: 1px solid rgba(204, 0, 0, 0.2);
  border-radius: 16px;
}

.mobilede-showcase__card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--c-red);
}

.mobilede-showcase__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}

.mobilede-showcase__card p {
  font-size: 0.88rem;
  color: var(--c-text-muted-dark);
  line-height: 1.6;
}

.mobilede-showcase__cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  background: var(--c-black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.vehicle-grid__fallback {
  grid-column: 1 / -1;
}

.mobilede-showcase__cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-red), transparent);
}

.mobilede-showcase__cta-content h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}

.mobilede-showcase__cta-content p {
  font-size: 0.95rem;
  color: var(--c-text-muted-dark);
  line-height: 1.7;
  max-width: 480px;
}

.mobilede-showcase__cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════ */

.services {
  background: var(--c-black-light);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(30, 30, 30, 0.6), rgba(20, 20, 20, 0.8));
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Red top accent on hover */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-red), var(--c-red-light));
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(204, 0, 0, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 20px rgba(204, 0, 0, 0.04);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, rgba(204, 0, 0, 0.15), rgba(204, 0, 0, 0.05));
  border: 1px solid rgba(204, 0, 0, 0.18);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover .service-card__icon {
  transform: scale(1.1) rotate(-3deg);
  background: linear-gradient(145deg, rgba(204, 0, 0, 0.25), rgba(204, 0, 0, 0.1));
  border-color: rgba(204, 0, 0, 0.35);
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.15);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--c-red);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--c-text-muted-dark);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════════
   FINANCING
   ═══════════════════════════════════════════════ */

.financing {
  background: var(--c-black);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.financing__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.financing__content p {
  color: var(--c-text-muted-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.financing__list {
  margin-bottom: 2.5rem;
}

.financing__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--c-text-on-dark);
  font-size: 1rem;
  padding: 0.6rem 0;
}

.financing__list svg {
  width: 20px;
  height: 20px;
  color: #2ecc71;
  flex-shrink: 0;
}

.financing__visual {
  display: flex;
  justify-content: center;
}

.financing__card {
  background: var(--c-black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  max-width: 300px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.financing__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-red), transparent);
}

.financing__card-label {
  display: block;
  font-size: 0.85rem;
  color: var(--c-gray-400);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
}

.financing__card-rate {
  display: block;
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
}

.financing__card-period {
  display: block;
  font-size: 1rem;
  color: var(--c-text-muted-dark);
  margin-bottom: 1rem;
}

.financing__card-note {
  display: block;
  font-size: 0.75rem;
  color: var(--c-gray-400);
}

/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact__card {
  background: linear-gradient(165deg, rgba(30, 30, 30, 0.6), rgba(20, 20, 20, 0.8));
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact__card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.contact__card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--c-red);
}

.contact__card address {
  font-size: 0.95rem;
  color: var(--c-text-muted-dark);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.contact__phones {
  display: flex;
  gap: 0.75rem;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact__links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
  color: var(--c-text-on-dark);
  font-weight: 600;
  transition: var(--transition);
}

.contact__links a:hover {
  color: var(--c-red);
}

.contact__maps-link {
  gap: 0.5rem;
}

.contact__maps-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: #4285F4;
  transition: var(--transition);
}

.contact__maps-link:hover .contact__maps-icon {
  fill: var(--c-red);
}

.contact__card--hours h3 {
  border-bottom-color: var(--c-white);
}

.contact__hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--c-text-muted-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact__hours-list li:last-child {
  border-bottom: none;
}

.contact__hours-list li span:first-child {
  font-weight: 600;
  color: var(--c-white);
}

.contact__card--cta {
  background: var(--c-black-light);
  border-color: rgba(204, 0, 0, 0.15);
}

.contact__card--cta h3 {
  color: var(--c-white);
  border-bottom-color: var(--c-red);
}

.contact__card--cta p {
  color: var(--c-text-muted-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.footer {
  background: var(--c-black-light);
  padding: 4rem 0 0;
  border-top: 2px solid var(--c-red);
  position: relative;
  box-shadow: 0 -1px 30px rgba(204, 0, 0, 0.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand p {
  color: var(--c-text-muted-dark);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.footer__brand .navbar__brand {
  display: block;
  margin-bottom: 0.5rem;
}

.footer__brand .navbar__logo-img {
  height: auto;
  width: 180px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

.footer__contact a {
  color: var(--c-gray-400);
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer__contact a:hover {
  color: var(--c-white);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--c-gray-400);
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__links h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

.footer__links li {
  margin-bottom: 0.75rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--c-text-muted-dark);
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--c-white);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem 0 2rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer__bottom::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-red), transparent);
  border-radius: 1px;
  margin-bottom: 0.25rem;
}

.footer__copyright {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
  letter-spacing: 0.01em;
}

.footer__copyright-brand {
  font-family: var(--ff-display);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
}

.footer__credit {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.4);
}

.footer__credit .footer__heart {
  color: var(--c-red);
  display: inline-block;
  font-size: 1rem;
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.footer__credit a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer__credit a:hover {
  color: var(--c-red);
}

.footer__bottom a {
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ═══════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════ */

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal--active {
  opacity: 1;
  pointer-events: auto;
}

.modal__content {
  background: var(--c-black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.modal--active .modal__content {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--c-white);
}

.modal__close:hover {
  background: var(--c-red);
  border-color: var(--c-red);
}

/* ═══════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════ */

.contact-form-wrapper {
  margin-top: 3rem;
  background: linear-gradient(165deg, rgba(30, 30, 30, 0.6), rgba(20, 20, 20, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.contact-form__heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}

.contact-form__intro {
  font-size: 0.95rem;
  color: var(--c-text-muted-dark);
  margin-bottom: 2rem;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form__group--full {
  grid-column: 1 / -1;
}

.contact-form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text-on-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.contact-form__label span {
  color: var(--c-red);
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--c-white);
  background: var(--c-black-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  -webkit-appearance: none;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.contact-form__input:focus-visible,
.contact-form__select:focus-visible,
.contact-form__textarea:focus-visible {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.15);
  outline: 2px solid var(--c-red);
  outline-offset: 2px;
}

.contact-form__input:focus:not(:focus-visible),
.contact-form__select:focus:not(:focus-visible),
.contact-form__textarea:focus:not(:focus-visible) {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.15);
  outline: none;
}

.contact-form__input:hover,
.contact-form__select:hover,
.contact-form__textarea:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form__select option {
  background: var(--c-black-light);
  color: var(--c-white);
}

.contact-form__select optgroup {
  color: var(--c-gray-400);
  font-weight: 700;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--c-text-muted-dark);
  cursor: pointer;
  line-height: 1.5;
}

.contact-form__checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--c-red);
  cursor: pointer;
}

.contact-form__checkbox a {
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__checkbox a:hover {
  color: var(--c-red-light);
}

/* Status Messages */
.contact-form__status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-form__status--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.contact-form__status--error {
  background: rgba(204, 0, 0, 0.1);
  border: 1px solid rgba(204, 0, 0, 0.3);
  color: var(--c-red-light);
}

.contact-form--hidden {
  display: none;
}

.contact-form__error {
  display: block;
  font-size: 0.78rem;
  color: var(--c-red-light);
  margin-top: 0.35rem;
}

.contact-form__error[hidden] {
  display: none;
}

/* ═══════════════════════════════════════════════
   MAP SECTION
   ═══════════════════════════════════════════════ */

.map-section {
  width: 100%;
  height: 350px;
  filter: grayscale(0.8) contrast(1.1);
  border: none;
  display: block;
}

.map-consent {
  width: 100%;
  height: 350px;
  background: var(--c-black-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.map-consent__inner {
  max-width: 400px;
  padding: 2rem;
}

.map-consent__inner svg {
  color: var(--c-red);
  margin-bottom: 1rem;
}

.map-consent__text {
  font-size: 0.9rem;
  color: var(--c-text-muted-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.map-consent__text a {
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Navbar Backdrop (mobile) ─────────────────── */

.navbar__backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.5);
}

/* ── Reduced Motion ───────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-enabled [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero__bg {
    animation: none;
    transform: scale(1.05);
  }

  .brands__marquee {
    animation-duration: 120s !important;
    animation-iteration-count: infinite !important;
  }

  .side-nav {
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════
   MOBILE STICKY CTA BAR
   ═══════════════════════════════════════════════ */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(14, 14, 16, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.mobile-cta__btn {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 0.6rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.mobile-cta__btn--call {
  background: var(--c-red);
  color: #fff;
  box-shadow: 0 2px 10px rgba(204, 0, 0, 0.3);
}

.mobile-cta__btn--call:hover {
  background: var(--c-red-light);
}

.mobile-cta__btn--whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.2);
}

.mobile-cta__btn--whatsapp:hover {
  background: #20bd5a;
}

.mobile-cta__btn--maps {
  background: #4285F4;
  color: #fff;
  box-shadow: 0 2px 10px rgba(66, 133, 244, 0.25);
}

.mobile-cta__btn--maps:hover {
  background: #3367D6;
}

.mobile-cta__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   MOBILE STICKY SIDE NAV (right edge)
   ═══════════════════════════════════════════════ */

.side-nav {
  display: none;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border-radius: 14px 0 0 14px;
  background: rgba(10, 10, 12, 0.75);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
}

.side-nav__link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.8rem 0.65rem 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px 0 0 10px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
  border-left: 3px solid var(--_nav-color, var(--c-red));
  position: relative;
  overflow: hidden;
}

.side-nav__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--_nav-color, var(--c-red)) 15%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.side-nav__link:hover::before,
.side-nav__link:active::before {
  opacity: 1;
}

.side-nav__link:hover,
.side-nav__link:active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-left-width: 4px;
  box-shadow: 0 0 16px color-mix(in srgb, var(--_nav-color, var(--c-red)) 25%, transparent);
}

.side-nav__link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--_nav-color, var(--c-red-light));
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--_nav-color, var(--c-red)) 40%, transparent));
  position: relative;
  z-index: 1;
}

.side-nav__link:hover svg,
.side-nav__link:active svg {
  color: #fff;
}

.side-nav__link span,
.side-nav__link {
  position: relative;
  z-index: 1;
}

/* ── Service-specific colors ── */
.side-nav__link--auto  { --_nav-color: var(--c-svc-auto); }
.side-nav__link--lack  { --_nav-color: var(--c-svc-lack); }
.side-nav__link--gutachten { --_nav-color: var(--c-svc-gutachten); }

/* ═══════════════════════════════════════════════
   DESKTOP: Compact hero service cards
   ═══════════════════════════════════════════════ */

@media (min-width: 1025px) {
  .hero-svc {
    padding: 1.3rem 1.4rem 1.1rem;
  }

  .hero-svc__icon-wrap {
    margin-bottom: 0.6rem;
  }

  .hero-svc__icon {
    width: 48px;
    height: 48px;
  }

  .hero-svc__icon svg {
    width: 22px;
    height: 22px;
  }

  .hero-svc__body {
    margin-bottom: 0.6rem;
  }

  .hero-svc__title {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .hero-svc__desc {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .hero-svc__cta {
    font-size: 0.75rem;
    padding-top: 0.3rem;
  }

  .hero-svc__number {
    font-size: 1.2rem;
  }

  .hero-svc__icon-wrap::before {
    inset: -6px;
  }

  .hero-svc:hover .hero-svc__icon-wrap::before {
    inset: -10px;
  }

  .hero-svc--featured {
    transform: scale(1.02);
  }

  .hero-svc--featured:hover {
    transform: scale(1.02) translateY(-5px);
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero__services {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-bottom: 5rem;
  }

  .hero-svc {
    flex-direction: row;
    text-align: left;
    padding: 1.3rem 1.5rem;
    gap: 1rem;
  }

  .hero-svc__icon-wrap {
    margin-bottom: 0;
  }

  .hero-svc__icon-wrap::before {
    display: none;
  }

  .hero-svc__body {
    flex: 1;
    margin-bottom: 0;
  }

  .hero-svc__cta {
    display: none;
  }

  .hero-svc__number {
    top: 0.8rem;
    right: 1rem;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .about__story {
    max-width: none;
  }
}

@media (max-width: 768px) {

  /* ── Responsive call buttons: icon on mobile ── */
  .btn--call__icon {
    display: inline-block;
  }

  .btn--call__mobile {
    display: inline;
  }

  .btn--call__desktop {
    display: none;
  }

  .contact-phone__icon {
    display: inline-block;
  }

  .contact-phone__mobile {
    display: inline;
  }

  .contact-phone__desktop {
    display: none;
  }

  /* ── Hero Mobile ─────────────────────────────── */
  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero__bg {
    background-image: url("../img/hero-bg-960.webp");
    background-position: 55% center;
    animation: none;
    transform: scale(1.05);
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.85) 0%,
      rgba(10, 10, 10, 0.50) 25%,
      rgba(10, 10, 10, 0.10) 42%,
      rgba(10, 10, 10, 0.05) 55%,
      rgba(10, 10, 10, 0.35) 75%,
      rgba(10, 10, 10, 0.90) 100%
    );
  }

  .hero__overlay::after {
    display: none;
  }

  .hero__content {
    text-align: center;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 0 1rem;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.15;
  }

  .hero__subtitle {
    max-width: 420px;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    margin-bottom: 1.5rem;
  }

  .hero__actions {
    width: 100%;
    max-width: 300px;
    flex-direction: column;
    gap: 0.6rem;
  }

  .hero__actions .btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero__services {
    margin-bottom: 1rem;
    gap: 0.5rem;
  }

  .hero-svc {
    padding: 0.9rem 1rem;
    gap: 0.75rem;
    border-radius: 12px;
  }

  .hero-svc--featured {
    transform: none;
  }

  .hero-svc__icon {
    width: 42px;
    height: 42px;
  }

  .hero-svc__icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-svc__title {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
  }

  .hero-svc__desc {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .hero-svc__number {
    font-size: 0.65rem;
    top: 0.6rem;
    right: 0.8rem;
  }

  /* Stats: 2×2 grid on mobile */
  .hero__stats {
    flex-wrap: wrap;
    margin-top: 0;
    padding: 0.5rem 0;
  }

  .hero__stat {
    flex: 1 1 50%;
    max-width: 50%;
    padding: 0.75rem 0.5rem;
  }

  .hero__stat-number {
    font-size: 1.3rem;
  }

  .hero__stat-label {
    font-size: 0.6rem;
  }

  .hero__stat:nth-child(odd)::before {
    display: none;
  }

  .hero__stat:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* ══════════════════════════════════════════════
     MOBILE NAVBAR — Complete rebuild
     Fixed size, no transitions, no shrinking
     ══════════════════════════════════════════════ */

  /* Compact mobile navbar — no size changes on scroll */
  .navbar,
  .navbar--scrolled {
    padding: 0.5rem 0 !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  /* Hide navbar on scroll down */
  .navbar--hidden {
    transform: translateY(-100%) !important;
  }

  .navbar__inner {
    position: relative;
    justify-content: flex-end;
  }

  .navbar__brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar .navbar__logo-img,
  .navbar--scrolled .navbar__logo-img {
    height: 40px !important;
    transition: none !important;
  }

  /* Hamburger toggle — compact */
  .navbar__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    cursor: pointer;
  }

  .navbar__toggle span {
    width: 22px;
    height: 2px;
  }

  /* ── Elegant full-height slide-in panel ───── */
  .navbar__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 75vw);
    height: 100vh;
    height: 100dvh;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.92);
    -webkit-backdrop-filter: blur(40px) saturate(1.4);
    backdrop-filter: blur(40px) saturate(1.4);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 5rem 2rem 3rem;
    gap: 0.15rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -16px 0 60px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.35s ease,
                visibility 0s 0.4s;
    overflow-y: auto;
  }

  .navbar__menu--open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.35s ease,
                visibility 0s;
  }

  /* Menu links — elegant, vertically centered */
  .navbar__menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 46px;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    transition: color 0.25s ease, background 0.25s ease;
  }

  .navbar__menu a:not(.btn):not(.navbar__page-link):hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

  .navbar__menu a:not(.btn)::after {
    display: none;
  }

  /* Service page links — refined red accent */
  .navbar__menu a.navbar__page-link {
    border: 1px solid rgba(204, 0, 0, 0.25);
    background: rgba(204, 0, 0, 0.05);
    padding: 0.6rem 1rem;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .navbar__menu a.navbar__page-link::before {
    display: none;
  }

  .navbar__menu a.navbar__page-link:hover {
    background: rgba(204, 0, 0, 0.1);
    border-color: rgba(204, 0, 0, 0.4);
    color: #fff;
  }

  /* Kontakt CTA — elegant spacing */
  .navbar__menu .btn {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
    min-height: 44px;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
  }

  /* ── Sections Mobile ────────────────────────── */
  .section {
    padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  }

  .section__header {
    margin-bottom: 1.75rem;
  }

  .section__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .section__subtitle {
    font-size: 0.88rem;
  }

  /* ── About Mobile ───────────────────────────── */
  .about__story {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .about__story-lead {
    font-size: 0.95rem;
    padding-left: 0.85rem;
    border-left-width: 2px;
  }

  .about__story-content p {
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
  }

  .about__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Dritte Karte zentriert in zweiter Reihe */
  .about__card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }

  .about__card {
    text-align: center;
    padding: 1.25rem 1rem;
  }

  .about__card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .about__card p {
    font-size: 0.8rem;
  }

  .about__icon {
    width: 54px;
    height: 54px;
    margin-bottom: 0.9rem;
    border-radius: 14px;
  }

  .about__icon svg {
    width: 24px;
    height: 24px;
  }

  .about__signature {
    margin-top: 1.5rem;
  }

  .about__signature p {
    font-size: 0.95rem;
  }

  .certifications__inner {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .cert-card {
    max-width: 100%;
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .cert-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .cert-card__content {
    align-items: center;
  }

  .cert-card__icon img {
    width: 26px;
    height: 26px;
  }

  .cert-card__title {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }

  .cert-card__text {
    font-size: 0.78rem;
    line-height: 1.5;
  }


  /* ── Services Mobile — 2-column compact grid ── */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .service-card {
    text-align: center;
    padding: 1.25rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-card__icon {
    margin: 0 auto 0.75rem;
    width: 48px;
    height: 48px;
  }

  .service-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .service-card h3 {
    font-size: 0.82rem;
    margin-bottom: 0.3rem;
  }

  .service-card p {
    font-size: 0.72rem;
    line-height: 1.45;
    flex-grow: 1;
  }

  .service-card__link {
    font-size: 0.7rem;
    margin-top: auto;
    padding: 0.5rem 0.9rem;
    width: 100%;
    justify-content: center;
  }

  /* ── Vehicles Mobile — compact cards ────────── */
  .vehicle-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .vehicle-card__image {
    height: 180px;
  }

  .vehicle-card__body {
    padding: 1rem;
  }

  .vehicle-card__title {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }

  .vehicle-card__price {
    font-size: 1rem;
  }

  .vehicle-card__specs {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
  }

  .vehicle-card__actions {
    gap: 0.5rem;
  }

  .vehicle-card__actions .btn {
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
  }

  /* ── Contact Mobile ─────────────────────────── */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .contact__card {
    text-align: center;
    padding: 1.5rem 1.25rem;
  }

  .contact__card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .contact__links {
    align-items: center;
  }

  .contact-form-wrapper {
    padding: 1.5rem 1rem;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .contact__hours-list li {
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    padding: 0.4rem 0;
  }

  /* ── Financing Mobile ───────────────────────── */
  .financing__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .financing__content .section__title {
    text-align: center;
  }

  .financing__list {
    display: inline-block;
    text-align: left;
  }

  .financing__list li {
    justify-content: flex-start;
    font-size: 0.88rem;
    padding: 0.5rem 0;
  }

  .financing__content .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .financing__card {
    max-width: 240px;
    margin: 0 auto;
    padding: 2rem;
  }

  /* ── Brands Mobile ──────────────────────────── */
  .brands__track {
    gap: 1rem 1.5rem;
  }

  .brand-item {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
  }

  /* ── Vehicle Detail Mobile ─────────────────── */
  .vehicle-detail {
    grid-template-columns: 1fr;
  }

  .vehicle-detail__gallery img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 220px;
  }

  .vehicle-detail__info {
    padding: 1.25rem;
  }

  .vehicle-detail__actions {
    flex-direction: column;
  }

  .mobilede-showcase__cards {
    grid-template-columns: 1fr;
  }

  .mobilede-showcase__cta-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
  }

  .mobilede-showcase__cta-actions {
    width: 100%;
  }

  .mobilede-showcase__cta-actions .btn {
    width: 100%;
  }

  /* ── Footer Mobile — compact grid ──────────── */
  .footer {
    padding-top: 2rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer__brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .footer__brand .navbar__brand {
    position: static;
    transform: none;
    margin-bottom: 0.25rem;
  }

  .footer__brand .navbar__logo-img {
    width: 150px;
  }

  .footer__brand p {
    font-size: 0.82rem;
    max-width: 280px;
    margin: 0;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__links h4 {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .footer__links ul {
    gap: 0;
  }

  .footer__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    font-size: 0.82rem;
    padding: 0.25rem 0;
  }

  .footer__links:last-child {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    gap: 0.6rem;
    padding: 2rem 0 1.5rem;
  }

  .footer__copyright {
    font-size: 0.88rem;
  }

  .footer__credit {
    font-size: 0.82rem;
  }

  .map-section,
  .map-consent {
    height: 220px;
  }

  /* ── Mobile Sticky CTA Bar ─────────────────── */
  .mobile-cta {
    display: flex;
  }

  /* ── Mobile Sticky Side Nav — hidden, mobile-cta replaces it ── */
  .side-nav,
  .side-nav--visible {
    display: none !important;
  }

  body {
    padding-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .hero__bg {
    background-image: url("../img/hero-bg-640.webp");
    background-position: 50% center;
    transform: scale(1.06);
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.88) 0%,
      rgba(10, 10, 10, 0.45) 22%,
      rgba(10, 10, 10, 0.08) 40%,
      rgba(10, 10, 10, 0.05) 55%,
      rgba(10, 10, 10, 0.40) 75%,
      rgba(10, 10, 10, 0.92) 100%
    );
  }

  .hero__content {
    padding: 5rem 0 1.5rem;
  }

  .hero__badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.85rem;
    letter-spacing: 1px;
  }

  .hero__title {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .hero__subtitle {
    font-size: 0.95rem;
    max-width: 340px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
  }

  .hero__actions {
    max-width: 280px;
    gap: 0.6rem;
  }

  .hero__actions .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero__services {
    gap: 0.4rem;
  }

  .hero-svc {
    padding: 0.75rem 0.85rem;
    gap: 0.65rem;
    border-radius: 10px;
  }

  .hero-svc__icon {
    width: 38px;
    height: 38px;
  }

  .hero-svc__icon svg {
    width: 18px;
    height: 18px;
  }

  .hero-svc__title {
    font-size: 0.88rem;
  }

  .hero-svc__desc {
    font-size: 0.7rem;
  }

  .hero__stat {
    padding: 0.65rem 0.3rem;
  }

  .hero__stat-number {
    font-size: 1.2rem;
  }

  .hero__stat-label {
    font-size: 0.58rem;
    letter-spacing: 0.2px;
  }

  /* ── Cards compact ───────────────────────────── */
  .service-card {
    padding: 1rem 0.6rem;
  }

  .service-card h3 {
    font-size: 0.78rem;
  }

  .service-card p {
    font-size: 0.68rem;
  }

  .about__card {
    padding: 1.25rem 1rem;
  }

  .contact__card {
    padding: 1.25rem 1rem;
  }

  .vehicle-card__image {
    height: 170px;
  }

  .vehicle-card__body {
    padding: 0.85rem;
  }

  .vehicle-card__title {
    font-size: 0.82rem;
  }

  .vehicle-card__price {
    font-size: 0.92rem;
  }

  /* ── About adjustments ──────────────────────── */
  .about__story-lead {
    font-size: 0.88rem;
    padding-left: 0;
    border-left: none;
    border-top: 2px solid var(--c-red);
    padding-top: 0.75rem;
  }

  .about__story-content p {
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
  }

  /* ── Certifications compact ──────────────────── */
  .cert-card {
    padding: 1rem;
    gap: 0.75rem;
  }

  .cert-card__icon {
    width: 40px;
    height: 40px;
  }

  /* ── Footer even tighter ─────────────────────── */
  .footer__grid {
    gap: 1rem;
  }

  .footer__links h4 {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
  }

  .footer__links a {
    min-height: 30px;
    font-size: 0.78rem;
  }

  /* ── Financing card smaller ─────────────────── */
  .financing__card {
    padding: 1.5rem;
  }

  .financing__card-rate {
    font-size: 2.4rem;
  }
}

@media (max-width: 360px) {
  .hero__content {
    padding: 4.5rem 0 1rem;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__badge {
    font-size: 0.58rem;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.5rem;
  }

  .hero__subtitle {
    font-size: 0.88rem;
    max-width: 290px;
    line-height: 1.65;
  }

  .hero__actions {
    max-width: 240px;
  }

  .hero__actions .btn {
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }

  .hero__stats {
    gap: 0;
  }

  .hero__stat {
    padding: 0.5rem 0.2rem;
  }

  .hero__stat-number {
    font-size: 1.1rem;
  }

  .hero__stat-label {
    font-size: 0.52rem;
  }

  /* ── Typography ─────────────────────────────── */
  .section__title {
    font-size: 1.45rem;
  }

  .section__subtitle {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .section__tag {
    font-size: 0.62rem;
    letter-spacing: 1.8px;
  }

  /* ── Service cards single column on tiny ────── */
  .services__grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .service-card {
    display: flex;
    padding: 1rem 0.85rem;
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: flex-start;
  }

  .service-card__icon {
    margin: 0;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .service-card h3 {
    font-size: 0.85rem;
    flex: 1 1 calc(100% - 55px);
    align-self: center;
  }

  .service-card p {
    font-size: 0.75rem;
    flex: 1 1 100%;
  }

  .service-card__link {
    flex: 1 1 100%;
    justify-content: center;
    margin-top: 0.25rem;
  }

  .about__card {
    padding: 1.1rem 0.85rem;
  }

  .contact__card {
    padding: 1.1rem 0.85rem;
  }

  .contact__hours-list li {
    font-size: 0.78rem;
    gap: 1rem;
  }

  .financing__card {
    padding: 1.25rem;
  }

  .financing__card-rate {
    font-size: 2rem;
  }

  /* ── Footer ultra compact ────────────────────── */
  .footer__grid {
    gap: 0.75rem;
  }

  .footer__links a {
    min-height: 28px;
    font-size: 0.75rem;
  }

  /* ── Brands smaller ─────────────────────────── */
  .brand-item {
    font-size: 0.72rem;
    letter-spacing: 1px;
  }

  .brands__track {
    gap: 0.75rem 1.25rem;
  }
}

/* ═══════════════════════════════════════════════
   LEGAL PAGES (Impressum / Datenschutz)
   ═══════════════════════════════════════════════ */

.legal-page {
  padding-top: calc(80px + var(--section-py));
  padding-bottom: var(--section-py);
  background: var(--c-white);
  min-height: 60vh;
}

.legal-page__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--c-black);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--c-red);
}

.legal-page__content {
  max-width: 800px;
  color: var(--c-text-on-light);
  line-height: 1.8;
}

.legal-page__content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-black);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-page__content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-black);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-page__content p {
  font-size: 0.95rem;
  color: var(--c-text-muted-light);
  margin-bottom: 1rem;
}

.legal-page__content a {
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition);
  overflow-wrap: break-word;
  word-break: break-word;
}

.legal-page__content a:hover {
  color: var(--c-red-dark);
}

.legal-page__content ul {
  margin: 0.75rem 0 1.25rem 1.5rem;
  list-style: disc;
}

.legal-page__content li {
  font-size: 0.95rem;
  color: var(--c-text-muted-light);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.legal-page__content strong {
  color: var(--c-black);
}

/* ── 404 Error Page ─────────────────────────── */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  background: var(--c-black);
}

.error-page__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error-page__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.error-page__code {
  font-family: var(--ff-display);
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, rgba(204, 0, 0, 0.7), rgba(204, 0, 0, 0.2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-page__wheel {
  width: clamp(4.5rem, 12vw, 7.5rem);
  height: clamp(4.5rem, 12vw, 7.5rem);
  color: var(--c-red);
  animation: error-spin 8s linear infinite;
}

.error-page__wheel svg {
  width: 100%;
  height: 100%;
}

@keyframes error-spin {
  to { transform: rotate(360deg); }
}

.error-page__title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 1rem;
}

.error-page__desc {
  font-size: 1.05rem;
  color: var(--c-text-muted-dark);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.error-page__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.error-page__links {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.error-page__links-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-text-muted-dark);
  margin-bottom: 1rem;
}

.error-page__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.error-page__nav a {
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.error-page__nav a:hover {
  border-color: var(--c-red);
  color: var(--c-white);
  background: rgba(204, 0, 0, 0.08);
}

/* ── Contact Form Modifiers ─────────────────── */

.contact-form__input--uppercase {
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   NAVBAR DROPDOWN
   ═══════════════════════════════════════════════ */

.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.navbar__dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.navbar__dropdown:hover .navbar__dropdown-trigger svg,
.navbar__dropdown--open .navbar__dropdown-trigger svg {
  transform: rotate(180deg);
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: linear-gradient(180deg, #2e2e30 0%, #1a1a1c 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
  list-style: none;
}

/* Small arrow at top of dropdown */
.navbar__dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #2e2e30;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar__dropdown:hover .navbar__dropdown-menu,
.navbar__dropdown:focus-within .navbar__dropdown-menu,
.navbar__dropdown--open .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.navbar__dropdown-menu li {
  margin: 0;
}

.navbar__dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: var(--transition);
}

.navbar__dropdown-menu a:hover {
  background: var(--c-red-subtle);
  color: var(--c-white);
}

.navbar__dropdown-menu a[aria-current="page"] {
  color: var(--c-white);
  background: var(--c-red-subtle);
}

.navbar__dropdown-menu a::after {
  display: none;
}

/* ═══════════════════════════════════════════════
   SERVICE HERO (mini-hero for subpages)
   ═══════════════════════════════════════════════ */

.service-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 80px;
  background-color: var(--c-black-light);
}

/* Background image per page (CSP-safe, no inline styles) */
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Autohandel */
.service-hero--autohandel::before { background-image: url("../img/hero-autohandel.webp"); }
@media (max-width: 960px) { .service-hero--autohandel::before { background-image: url("../img/hero-autohandel-960.webp"); } }
@media (max-width: 640px) { .service-hero--autohandel::before { background-image: url("../img/hero-autohandel-640.webp"); } }

/* Reparatur */
.service-hero--reparatur::before { background-image: url("../img/hero-reparatur.webp"); }
@media (max-width: 960px) { .service-hero--reparatur::before { background-image: url("../img/hero-reparatur-960.webp"); } }
@media (max-width: 640px) { .service-hero--reparatur::before { background-image: url("../img/hero-reparatur-640.webp"); } }

/* Gutachten */
.service-hero--gutachten::before { background-image: url("../img/hero-gutachten.webp"); }
@media (max-width: 960px) { .service-hero--gutachten::before { background-image: url("../img/hero-gutachten-960.webp"); } }
@media (max-width: 640px) { .service-hero--gutachten::before { background-image: url("../img/hero-gutachten-640.webp"); } }

/* Dark overlay for text readability */
.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

.service-hero__inner {
  position: relative;
  z-index: 2;
  padding: 3rem 0 2.5rem;
}

.service-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(20, 20, 22, 0.7), rgba(30, 30, 34, 0.6));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1.1rem 0.5rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.service-hero__back:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-dark));
  border-color: var(--c-red);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.35);
  transform: translateX(-3px);
}

.service-hero__back svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}

.service-hero__back:hover svg {
  transform: translateX(-2px);
}

.service-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.service-hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--c-text-muted-dark);
  line-height: 1.7;
  max-width: 600px;
}

/* ═══════════════════════════════════════════════
   SERVICE PAGE (subpage content)
   ═══════════════════════════════════════════════ */

.service-page {
  background: var(--c-black);
}

.service-page__section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-white);
  margin: 0 auto 1.5rem;
  letter-spacing: -0.01em;
}

.service-page__intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--c-text-muted-dark);
}

.service-page__intro strong {
  color: var(--c-white);
  font-weight: 700;
}

/* ── Service Page Grid & Cards ─────────────── */

.service-page__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-page__card {
  background: var(--c-black-card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-page__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-red);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}

.service-page__card:hover::before {
  transform: scaleX(1);
}

.service-page__card:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 0, 0, 0.3);
  box-shadow: 0 12px 40px rgba(204, 0, 0, 0.08);
}

.service-page__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--c-red-subtle);
  border: 1px solid rgba(204, 0, 0, 0.15);
  border-radius: 14px;
  margin-bottom: 1.5rem;
}

.service-page__card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--c-red);
}

.service-page__card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.75rem;
}

.service-page__card p {
  font-size: 0.92rem;
  color: var(--c-text-muted-dark);
  line-height: 1.7;
}

.service-page__card ul {
  list-style: none;
  margin-top: 1rem;
}

.service-page__card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--c-text-muted-dark);
  padding: 0.35rem 0;
}

.service-page__card li svg {
  width: 16px;
  height: 16px;
  color: #2ecc71;
  flex-shrink: 0;
}

/* ── Service Page Image Showcase ───────────── */

.service-page__showcase {
  margin-bottom: 4rem;
}

.service-page__image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .service-page__image-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.service-page__image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-page__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.service-page__image:hover img {
  transform: scale(1.03);
}

.service-page__image figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--c-text-muted-dark);
  background: var(--c-black-card);
}

/* ── Process Steps ─────────────────────────── */

.service-page__process {
  margin-bottom: 4rem;
}

.service-page__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-page__step {
  text-align: center;
  position: relative;
}

.service-page__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
}

.service-page__step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}

.service-page__step p {
  font-size: 0.85rem;
  color: var(--c-text-muted-dark);
  line-height: 1.6;
}

/* Connector line between steps */
.service-page__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(50% + 32px);
  right: calc(-50% + 32px);
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

/* ── Advantages List ───────────────────────── */

.service-page__advantages {
  margin-bottom: 4rem;
}

.service-page__adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-page__adv-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--c-black-card);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-page__adv-item:hover {
  border-color: rgba(204, 0, 0, 0.2);
}

.service-page__adv-item svg {
  width: 22px;
  height: 22px;
  color: var(--c-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-page__adv-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.25rem;
}

.service-page__adv-item p {
  font-size: 0.85rem;
  color: var(--c-text-muted-dark);
  line-height: 1.6;
}

/* ── mobile.de Link Box (autohandel) ─────────── */

/* ── Service Page Section Header (subheaders) ── */

.service-page__section-header {
  text-align: center;
  margin-bottom: 0;
}

.service-page__section-header .hero__badge {
  margin-bottom: 1rem;
}

.service-page__section-header .section__title {
  margin-bottom: 0.75rem;
}

/* ── Service Page Brands (reparatur) ──────────── */

.service-page__brands {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.service-page__brands .brands__track {
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
}

/* Marquee variant for service-page brands */
.service-page__brands--marquee .brands__marquee {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
  margin-top: 1.5rem;
}

.service-page__brands--marquee .brands__marquee:hover {
  animation-play-state: paused;
}

.service-page__brands--marquee .brands__track {
  margin-top: 0;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: auto;
}

/* ── Kontakt Info Cards ────────────────────────── */

.kontakt-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.kontakt-info__card {
  background: var(--c-black-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.kontakt-info__card:hover {
  border-color: rgba(204, 0, 0, 0.3);
  transform: translateY(-3px);
}

.kontakt-info__card svg {
  color: var(--c-red);
  margin-bottom: 1rem;
}

.kontakt-info__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.75rem;
}

.kontakt-info__card a,
.kontakt-info__card p,
.kontakt-info__card address {
  display: block;
  font-style: normal;
  color: var(--c-text-muted-dark);
  font-size: 0.9rem;
  line-height: 1.6;
  text-decoration: none;
  transition: var(--transition);
}

.kontakt-info__card a:hover {
  color: var(--c-red-light);
}

/* ── mobile.de Link Box (autohandel) ─────────── */

.service-page__mobilede {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-page__mobilede p {
  color: var(--c-text-muted-dark);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.service-page__mobilede a:not(.btn) {
  color: var(--c-red);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition);
}

.service-page__mobilede a:not(.btn):hover {
  color: var(--c-red-light);
}

/* ── Advantage Icon Wrapper ──────────────────── */

.service-page__adv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

/* ═══════════════════════════════════════════════
   SERVICE CTA (call-to-action section)
   ═══════════════════════════════════════════════ */

.service-cta {
  background: var(--c-black-soft);
}

.service-cta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.service-cta__inner .section__title {
  margin-bottom: 1rem;
}

.service-cta__inner p {
  color: var(--c-text-muted-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.service-cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.service-cta__contact-info {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.service-cta__phones {
  display: flex;
  gap: 0.75rem;
}

.service-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-cta__phone:hover {
  color: var(--c-red-light);
}

.service-cta__phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.service-cta__form-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-cta__form-link:hover {
  color: var(--c-red-light);
}

.service-cta__form-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   SERVICE CARD LINK ("Mehr erfahren" on index)
   ═══════════════════════════════════════════════ */

.service-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: auto;
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-white);
  background: linear-gradient(135deg, rgba(204, 0, 0, 0.15), rgba(204, 0, 0, 0.05));
  border: 1px solid rgba(204, 0, 0, 0.25);
  border-radius: 50px;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.service-card__link:hover {
  background: linear-gradient(135deg, var(--c-red), var(--c-red-dark));
  border-color: var(--c-red);
  color: var(--c-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.25);
}

.service-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.service-card__link:hover svg {
  transform: translateX(4px);
}

.service-card__link--inline {
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════
   SERVICE PAGES - RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .service-page__adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Navbar dropdown: flat on mobile */
  .navbar__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    min-width: 0;
  }

  .navbar__dropdown-menu::before {
    display: none;
  }

  .navbar__dropdown-trigger svg {
    display: none;
  }

  .navbar__dropdown-menu a {
    padding-left: 2.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    min-height: 44px;
  }

  .navbar__dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  /* Service Hero */
  .service-hero {
    min-height: 35vh;
  }

  .service-hero__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 0.75rem 2rem;
  }

  .service-hero__title {
    font-size: clamp(1.35rem, 4.5vw, 2rem);
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 0 0.25rem;
  }

  .service-hero__subtitle {
    max-width: 480px;
    font-size: 0.9rem;
  }

  /* Kontakt Info Cards */
  .kontakt-info {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Service Page */
  .service-page__grid {
    grid-template-columns: 1fr;
  }

  .service-page__card {
    text-align: center;
  }

  .service-page__card-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .service-page__card ul {
    padding-left: 0;
    display: inline-block;
    text-align: left;
  }

  .service-page__card li {
    justify-content: flex-start;
  }

  .service-page__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .service-page__step:not(:last-child)::after {
    display: none;
  }

  .service-page__adv-grid {
    grid-template-columns: 1fr;
  }

  /* Service CTA */
  .service-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .service-cta__actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .service-cta__contact-info {
    display: flex;
  }
}

@media (max-width: 480px) {
  .kontakt-info {
    grid-template-columns: 1fr;
  }

  .service-hero {
    min-height: 30vh;
  }

  .service-hero__inner {
    padding: 2rem 0.25rem 1.5rem;
  }

  .service-hero__title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .service-hero__subtitle {
    font-size: 0.85rem;
    max-width: 320px;
  }

  .service-page__card {
    padding: 2rem 1.25rem;
  }

  .service-page__steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .service-page__adv-item {
    padding: 1.25rem;
  }
}

@media (max-width: 360px) {
  .service-hero__title {
    font-size: 1.25rem;
  }

  .service-hero__subtitle {
    font-size: 0.8rem;
    max-width: 280px;
  }

  .service-page__card {
    padding: 1.75rem 1rem;
  }

  .service-page__step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ═══════════════════════════════════════════════
   Gallery Section – Masonry Layout
   ═══════════════════════════════════════════════ */

.gallery {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Filter Tabs ─────────────────────────────── */

.gallery__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.gallery__filter {
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-text-muted-dark);
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.gallery__filter:hover {
  border-color: var(--c-red);
  color: var(--c-white);
  background: rgba(204, 0, 0, 0.1);
}

.gallery__filter--active {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.4);
}

/* ── Gallery Slider ──────────────────────────── */

.gallery__slider-wrap {
  position: relative;
}

.gallery__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  flex: 0 0 calc((100% - 24px) / 3);
  scroll-snap-align: start;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease;
}

.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.gallery__item--hidden {
  display: none;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

/* ── Slider Arrows ───────────────────────────── */

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: var(--c-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.gallery__arrow svg {
  width: 20px;
  height: 20px;
}

.gallery__arrow:hover {
  background: var(--c-red);
  transform: translateY(-50%) scale(1.08);
}

.gallery__arrow[disabled] {
  opacity: 0;
  pointer-events: none;
}

.gallery__arrow--prev { left: -24px; }
.gallery__arrow--next { right: -24px; }

/* ── Slider Counter ──────────────────────────── */

.gallery__counter {
  text-align: center;
  margin-top: 1rem;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
}

/* ── Gallery Hover Overlay ───────────────────── */

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__label {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--c-white);
  background: rgba(204, 0, 0, 0.85);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  transform: translateY(8px);
  transition: transform 0.35s ease;
}

.gallery__item:hover .gallery__label {
  transform: translateY(0);
}

.gallery__zoom {
  width: 32px;
  height: 32px;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  padding: 6px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transform: translateY(8px);
  transition: transform 0.35s ease, background 0.25s ease;
}

.gallery__item:hover .gallery__zoom {
  transform: translateY(0);
}

.gallery__zoom:hover {
  background: var(--c-red);
}

/* ── Lightbox ────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  font-size: 1.75rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.lightbox__close:hover {
  background: var(--c-red);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }

.lightbox__prev svg,
.lightbox__next svg {
  width: 22px;
  height: 22px;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--c-red);
}

.lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}

/* ── Gallery Responsive ──────────────────────── */

@media (max-width: 1024px) {
  .gallery__item {
    flex: 0 0 calc((100% - 12px) / 2);
  }

  .gallery__arrow--prev { left: -12px; }
  .gallery__arrow--next { right: -12px; }
}

@media (max-width: 768px) {
  /* ── Horizontal scrollable filter bar ── */
  .gallery__filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0 1rem 0.25rem 0;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
    mask-image: linear-gradient(to right, #000 85%, transparent 100%);
  }

  .gallery__filters::-webkit-scrollbar {
    display: none;
  }

  .gallery__filter {
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  /* ── Slider track ── */
  .gallery__track {
    gap: 10px;
    padding: 0 2px 4px;
  }

  .gallery__item {
    flex: 0 0 85%;
    border-radius: 12px;
  }

  /* ── Overlay always visible on mobile (no hover) ── */
  .gallery__overlay {
    opacity: 1;
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.1) 40%,
      transparent 60%
    );
    padding: 0.75rem;
  }

  .gallery__label {
    transform: translateY(0);
    font-size: 0.65rem;
    padding: 0.2rem 0.55rem;
  }

  .gallery__zoom {
    display: none;
  }

  /* ── Arrows: compact, inside the image ── */
  .gallery__arrow {
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .gallery__arrow svg {
    width: 15px;
    height: 15px;
  }

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

  /* ── Counter below track ── */
  .gallery__counter {
    font-size: 0.75rem;
    margin-top: 0.6rem;
    letter-spacing: 2px;
  }

  /* ── Lightbox mobile ── */
  .lightbox__prev,
  .lightbox__next {
    width: 38px;
    height: 38px;
  }

  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }

  .lightbox__close {
    width: 40px;
    height: 40px;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
  }

  .lightbox__img {
    border-radius: 10px;
  }

  .lightbox__counter {
    bottom: 1rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .gallery__item {
    flex: 0 0 88%;
    border-radius: 10px;
  }

  .gallery__filter {
    padding: 0.4rem 0.85rem;
    font-size: 0.72rem;
  }

  .gallery__arrow {
    width: 30px;
    height: 30px;
  }

  .gallery__arrow svg {
    width: 13px;
    height: 13px;
  }

  .gallery__arrow--prev { left: 8px; }
  .gallery__arrow--next { right: 8px; }
}

/* ── Cross-Links / Related Services ────────────── */

.service-page__related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-page__related h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-page__related p {
  color: var(--c-text-muted-dark);
  margin-bottom: 1.25rem;
}

.service-page__cross-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-page__cross-links li {
  color: var(--c-text-muted-dark);
}

.service-page__cross-links a {
  color: var(--c-red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.service-page__cross-links a:hover {
  color: #ff1a1a;
  text-decoration: underline;
}
