/* ==========================================================================
   Sport World Cars – Design System
   Premium automotive: noir background, chrome accents, racing red highlights
   ========================================================================== */

/* font-display: swap verhindert FOIT (Flash of Invisible Text) → bessere CLS/LCP */
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-display: swap;
  src: local('Barlow Semi Condensed');
}
@font-face {
  font-family: 'Barlow';
  font-display: swap;
  src: local('Barlow');
}
@font-face {
  font-family: 'DM Serif Display';
  font-display: swap;
  src: local('DM Serif Display');
}

:root {
  /* Colors */
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #181818;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --cream: #f5f5f5;
  --text: #e8e8e8;
  --text-dim: #9a9a9a;
  --text-mute: #6a6a6a;
  --chrome: #c9ced4;
  --chrome-2: #e9ecef;
  --silver: #d4d4d4;
  --accent: #c8102e;
  /* racing red */
  --accent-2: #e83a52;
  --accent-glow: rgba(200, 16, 46, 0.4);
  --gold: #c9a227;
  /* subtle gold for trim */

  /* Type */
  --serif: "DM Serif Display", Georgia, serif;
  --display: "Barlow Semi Condensed", system-ui, sans-serif;
  --sans: "Barlow", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(80px, 11vw, 160px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset / Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
  color: var(--cream);
}

h1 {
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
}

.section__head h2,
.services-section h2,
.why h2,
.split__content h2,
.cta__left h2 {
  background: linear-gradient(110deg, #ffffff 0%, #e0e0e0 45%, rgba(200,16,46,0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 600;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
}

h2 em,
h1 em {
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
  background: linear-gradient(120deg, var(--chrome-2), var(--silver) 40%, #fff 60%, var(--chrome) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

/* Override: em inside gradient-h2 keeps its own silver gradient */
.section__head h2 em,
.services-section h2 em,
.why h2 em,
.split__content h2 em,
.cta__left h2 em {
  background: linear-gradient(120deg, var(--chrome-2), var(--silver) 40%, #fff 60%, var(--chrome) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.serif-display {
  font-family: var(--serif);
  font-weight: 400;
}

p {
  margin: 0 0 1.1em;
  color: var(--text);
}

.lead {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 56ch;
  line-height: 1.75;
  font-weight: 400;
}

strong {
  color: var(--cream);
  font-weight: 600;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--center::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  width: 60px;
}

/* Layout primitives */
.section {
  padding: var(--section-y) var(--gutter);
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 7vw, 96px);
  text-align: center;
}

.section__head .eyebrow {
  justify-content: center;
}

.section__head .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Scroll progress + cursor + preloader + particles
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 200;
  transition: width 60ms linear;
  box-shadow: 0 0 12px var(--accent-glow);
}

.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: grid;
  place-items: center;
  transition: opacity 800ms var(--ease), visibility 0s linear 800ms;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.preloader__logo {
  width: 180px;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 0 30px rgba(200, 16, 46, 0.35));
  animation: logoBreath 2.4s ease-in-out infinite;
}

.preloader__bar {
  width: 220px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border-radius: 99px;
}

.preloader__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), var(--chrome-2), var(--accent), transparent);
  transform: translateX(-100%);
  animation: loadBar 1.4s ease-in-out infinite;
}


/* ==========================================================================
   Navigation
   ==========================================================================
   Progress-driven morph (0 → 1), not a binary switch.
   JS sets --nav-progress on #nav while the user scrolls past the hero logo;
   every visual (logo scale/opacity, link gap, padding, background) lerps
   off that variable for a perfectly continuous transition.
   ========================================================================== */
.nav {
  --nav-progress: 0;                       /* 0 = top state, 1 = scrolled/docked */
  --nav-bg-alpha: calc(var(--nav-progress) * 0.82);
  --nav-blur: calc(var(--nav-progress) * 18px);
  --nav-border-alpha: calc(var(--nav-progress) * 0.08);
  --nav-pad: calc(20px - 10px * var(--nav-progress));
  /* Logo sits in the middle column. At top we still reserve a small gap
     so the left/right link groups read as "center-left" and "center-right"
     around an implied axis (not pushed to the outer edges). When docked,
     the reserve grows to accommodate the real (now larger) logo. */
  --nav-brand-reserve: calc(36px + 180px * var(--nav-progress));
  --nav-link-inset: calc(18px + clamp(10px, 2vw, 40px) * var(--nav-progress));

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr var(--nav-brand-reserve) 1fr;
  align-items: center;
  padding: var(--nav-pad) var(--gutter);
  background: rgba(10, 10, 10, var(--nav-bg-alpha));
  backdrop-filter: blur(var(--nav-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--nav-blur)) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, var(--nav-border-alpha));
  transition:
    grid-template-columns 120ms linear,
    padding 120ms linear,
    background 120ms linear,
    border-color 120ms linear;
}

/* Safety: when JS hasn't updated the variable yet but the old class is present,
   treat is-scrolled as progress = 1 so the nav still looks right. */
.nav.is-scrolled { --nav-progress: 1; }

/* ---- Brand / Logo ---- */
.nav__brand {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Take the logo out of the nav's block-axis size at the top so the bar
     stays slim until the logo has actually morphed in. */
  height: 0;
  overflow: visible;
  opacity: var(--nav-progress);
  transform:
    translateY(calc(-8px * (1 - var(--nav-progress))))
    scale(calc(0.82 + 0.18 * var(--nav-progress)));
  pointer-events: none;
  transition: transform 140ms linear, opacity 140ms linear, height 140ms linear;
  will-change: transform, opacity;
}

.nav.is-scrolled .nav__brand {
  /* Let the logo define the bar height once it's docked. */
  height: auto;
}

.nav.is-scrolled .nav__brand,
.nav[style*="--nav-progress"] .nav__brand {
  /* enable interaction once we're at least halfway docked */
  pointer-events: auto;
}

.nav__brand img {
  /* Transparent PNG — no background plate, no rounded crop, just the mark.
     Sized to be clearly legible in the docked navbar. */
  height: clamp(56px, 6vw, 72px);
  width: auto;
  max-width: none;
  background: transparent;
  border-radius: 0;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55));
  transition: filter 300ms var(--ease);
}

.nav__brand:hover img {
  filter: drop-shadow(0 2px 18px rgba(200, 16, 46, 0.55));
}

/* Clones of the right-nav links that main.js appends to .nav__left for the
   mobile overlay. Hidden on desktop so the right-nav isn't duplicated. */
.nav__mobile-extra {
  display: none;
}

/* ---- Left links: sit just to the left of center ---- */
.nav__left {
  grid-column: 1;
  display: flex;
  gap: clamp(16px, 2vw, 36px);
  align-items: center;
  justify-content: flex-end;
  padding-right: var(--nav-link-inset);
  transition: padding 120ms linear;
}

/* ---- Right links: sit just to the right of center ---- */
.nav__right {
  grid-column: 3;
  display: flex;
  gap: clamp(16px, 2vw, 36px);
  align-items: center;
  justify-content: flex-start;
  padding-left: var(--nav-link-inset);
  transition: padding 120ms linear;
}

/* ---- Shared link styles ---- */
.nav__left a,
.nav__right a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* chrome-white: crisp, metallic, not grey */
  color: rgba(245, 245, 245, 0.88);
  position: relative;
  padding: 8px 2px 10px;
  white-space: nowrap;
  overflow: hidden;
  /* permanent chrome sheen on the text */
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 12px rgba(245, 245, 245, 0.06);
  transition:
    color 300ms var(--ease),
    text-shadow 300ms var(--ease),
    letter-spacing 300ms var(--ease);
}

/* permanent red dot — always visible, scales on hover */
.nav__left a::before,
.nav__right a::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  transition:
    width 380ms cubic-bezier(0.22, 1, 0.36, 1),
    height 380ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 380ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1),
    bottom 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* red underline expands from the dot on hover */
.nav__left a::after,
.nav__right a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), #ff6a7a);
  box-shadow: 0 0 10px var(--accent-glow), 0 0 3px var(--accent);
  transform: translateX(-50%);
  transition: width 400ms cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}

.nav__left a:hover,
.nav__right a:hover,
.nav__left a:focus-visible,
.nav__right a:focus-visible {
  color: #fff;
  letter-spacing: 0.22em;
  text-shadow:
    0 0 18px rgba(200, 16, 46, 0.4),
    0 0 40px rgba(200, 16, 46, 0.15),
    0 1px 0 rgba(255, 255, 255, 0.12);
}

/* dot morphs into full underline on hover */
.nav__left a:hover::before,
.nav__right a:hover::before,
.nav__left a:focus-visible::before,
.nav__right a:focus-visible::before {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  bottom: 2px;
  box-shadow: 0 0 14px var(--accent-glow), 0 0 4px var(--accent);
}

.nav__left a:hover::after,
.nav__right a:hover::after,
.nav__left a:focus-visible::after,
.nav__right a:focus-visible::after {
  width: 100%;
}

.nav__left a span,
.nav__right a span {
  display: inline-block;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__left a:hover span,
.nav__right a:hover span {
  transform: translateY(-1px);
}

/* ---- Mobile toggle ---- */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
  grid-column: 3;
  justify-self: end;
}

.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--cream);
  transition: transform 300ms var(--ease), opacity 200ms, top 300ms;
}

.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }

.nav__toggle.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---- Mobile overlay ---- */
@media (max-width: 860px) {
  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav__left,
  .nav__right {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 105;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 500ms var(--ease),
      opacity 350ms ease,
      visibility 0s linear 500ms;
  }

  /* stack both menus on top of each other, right-menu hidden by default */
  .nav__right {
    display: none;
  }

  /* On mobile the cloned right-nav links must flow inline with the left-nav
     overlay, so they participate in its flex layout. */
  .nav__mobile-extra {
    display: contents;
  }

  .nav__left a,
  .nav__right a {
    font-size: 1.5rem;
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--cream);
    text-shadow: none;
    overflow: visible;
  }

  .nav__left a::before,
  .nav__right a::before {
    display: none;
  }

  .nav__left a:hover::after,
  .nav__right a:hover::after {
    width: 60%;
  }

  .nav__left.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 500ms var(--ease),
      opacity 350ms ease,
      visibility 0s linear 0s;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: transform 240ms var(--ease), color 240ms, background 240ms, border-color 240ms, box-shadow 240ms;
  will-change: transform;
}

.btn--lg {
  padding: 20px 38px;
  font-size: 0.88rem;
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--cream);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease);
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px var(--accent-glow);
}

.btn--accent:hover::before {
  transform: translateX(120%);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line-2);
}

.btn--ghost:hover {
  border-color: var(--chrome);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: -10% 0;
  z-index: -2;
}

.hero__bg img,
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05) saturate(0.85) brightness(0.6);
  animation: kenBurns 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.85) 70%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.3) 50%, var(--bg) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6), transparent 70%);
  opacity: 0.5;
}

.hero__content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome);
  margin-bottom: 28px;
  opacity: 0.9;
}

.hero__title {
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 0.92;
}

.hero__logo {
  max-width: 820px;
  width: 100%;
}

.hero__title .word {
  display: inline-block;
}

.hero__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 50%, #ff8497 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
}

.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: var(--chrome-2);
  margin: 0 0 40px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto 48px;
}

.hero__meta {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  padding: 22px 40px;
  margin: 0 auto;
  width: fit-content;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero__meta div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero__meta strong {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, var(--cream), var(--chrome));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__meta span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
  transition: opacity 250ms;
}

.hero__scroll:hover {
  opacity: 1;
}

.hero__scroll span {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, transparent, var(--chrome));
  animation: scrollDown 1.8s ease-in-out infinite;
}

.hero__scroll small {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@media (max-width: 600px) {
  .hero__meta {
    padding: 16px 0;
    gap: 24px;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Split (about)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.split__media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-2);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
  transition: transform 800ms var(--ease);
}

.split__media:hover img {
  transform: scale(1.04);
}

.split__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 14px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  border-radius: 99px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 8px;
  border-left: 1.5px solid var(--accent-2);
  border-bottom: 1.5px solid var(--accent-2);
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}

/* Services – alternating row layout */
.services__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ---- horizontal card ---- */
.service-row {
  display: grid;
  grid-template-columns: 480px 1fr;
  height: 380px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: border-color 350ms var(--ease), box-shadow 350ms var(--ease), transform 350ms var(--ease);
}

.service-row:hover {
  border-color: rgba(200,16,46,0.35);
  box-shadow: 0 12px 56px rgba(0,0,0,0.38), 0 0 0 1px rgba(200,16,46,0.12);
  transform: translateY(-2px);
}

/* mirrored: body left, image right */
.service-row--reverse {
  grid-template-columns: 1fr 480px;
}

.service-row--reverse .service-row__img {
  order: 2;
}

.service-row--reverse .service-row__body {
  order: 1;
}

/* accent glow on divider edge */
.service-row::after {
  content: "";
  position: absolute;
  left: 480px;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(200,16,46,0.28) 50%, transparent);
  pointer-events: none;
  transition: opacity 350ms;
  opacity: 0;
}

.service-row--reverse::after {
  left: auto;
  right: 480px;
}

.service-row:hover::after {
  opacity: 1;
}

.service-row__img {
  position: relative;
  overflow: hidden;
}

.service-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 500ms var(--ease);
  filter: brightness(0.72) saturate(0.8);
}

.service-row:hover .service-row__img img {
  transform: scale(1.05);
  filter: brightness(0.88) saturate(1.05);
}

/* subtle red gradient overlay on image */
.service-row__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(200,16,46,0.12));
  pointer-events: none;
}

.service-row--reverse .service-row__img::after {
  background: linear-gradient(270deg, transparent 60%, rgba(200,16,46,0.12));
}

/* body = header + content stacked */
.service-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 60px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.005) 100%);
  position: relative;
  overflow: hidden;
  gap: 0;
}

.service-row__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 100% 100%, rgba(200,16,46,0.07), transparent 65%);
  pointer-events: none;
}

.service-row--reverse .service-row__body::before {
  background: radial-gradient(ellipse 80% 80% at 0% 100%, rgba(200,16,46,0.07), transparent 65%);
}

/* header row: num + icon + title */
.service-row__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.service-row__num {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  opacity: 0.6;
  display: block;
  white-space: nowrap;
  padding: 5px 10px;
  border: 1px solid rgba(200,16,46,0.2);
  border-radius: 2px;
}

.service-row__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--accent-2);
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
}

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

.service-row__body h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  margin: 0;
  color: var(--cream);
  line-height: 1;
}

/* divider between header and content */
.service-row__divider {
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent 80%);
  margin-bottom: 22px;
}

/* content: full-width text block, no grid */
.service-row__content {
  display: block;
}

.service-row__lead {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
  max-width: 52ch;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  width: fit-content;
  transition: gap 250ms var(--ease), color 250ms;
}

.service-card__link span {
  transition: transform 250ms var(--ease);
}

.service-card__link:hover {
  gap: 14px;
  color: var(--cream);
}

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

.services__extra {
  margin-top: 56px;
  padding: 24px 32px;
  border: 1px dashed var(--line-2);
  border-radius: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}

.services__extra > span {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
}

.services__extra ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
}

.services__extra li {
  position: relative;
  padding-left: 18px;
  color: var(--text-dim);
  font-size: 1rem;
}

.services__extra li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

@media (max-width: 1100px) {
  .service-row {
    grid-template-columns: 340px 1fr;
    height: 320px;
  }
  .service-row--reverse {
    grid-template-columns: 1fr 340px;
  }
  .service-row__body {
    padding: 36px 44px;
  }
  .service-row::after {
    left: 340px;
  }
  .service-row--reverse::after {
    left: auto;
    right: 340px;
  }
}

@media (max-width: 800px) {
  .service-row {
    grid-template-columns: 260px 1fr;
    height: 280px;
  }
  .service-row--reverse {
    grid-template-columns: 1fr 260px;
  }
  .service-row__body {
    padding: 28px 32px;
  }
  .service-row__body h3 {
    font-size: 1.1rem;
  }
  .service-row__lead {
    font-size: 0.98rem;
  }
  .service-row::after {
    left: 260px;
  }
  .service-row--reverse::after {
    left: auto;
    right: 260px;
  }
}

@media (max-width: 600px) {
  .service-row,
  .service-row--reverse {
    grid-template-columns: 1fr;
    height: auto;
  }
  .service-row--reverse .service-row__img {
    order: -1;
  }
  .service-row--reverse .service-row__body {
    order: 0;
  }
  .service-row__img {
    height: 220px;
  }
  .service-row__body {
    padding: 28px 24px;
  }
  .service-row::after,
  .service-row--reverse::after {
    display: none;
  }
}

/* ==========================================================================
   Why Us
   ========================================================================== */
.why {
  position: relative;
  isolation: isolate;
  padding-top: clamp(120px, 14vw, 200px);
  padding-bottom: clamp(120px, 14vw, 200px);
  max-width: none;
  margin: 0;
}

.why__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.why__bg img,
.why__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.32) contrast(1.1);
  transform: scale(1.05);
}

.why__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 10, 0.5) 30%, rgba(10, 10, 10, 0.5) 70%, var(--bg) 100%);
}

.why__content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.why__content .lead {
  margin-left: auto;
  margin-right: auto;
}

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

.why-pillar {
  position: relative;
  padding: 40px 32px 36px;
  background: rgba(8, 8, 8, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 6px;
  text-align: left;
  overflow: hidden;
  transition: border-color 400ms var(--ease), transform 400ms var(--ease), box-shadow 400ms var(--ease);
}

/* top accent bar */
.why-pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent);
  opacity: 0;
  transition: opacity 400ms var(--ease);
}

/* background glow blob */
.why-pillar::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,16,46,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 400ms var(--ease);
  pointer-events: none;
}

.why-pillar:hover {
  border-color: rgba(200,16,46,0.4);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,16,46,0.1);
}

.why-pillar:hover::before,
.why-pillar:hover::after {
  opacity: 1;
}

/* num + icon row */
.why-pillar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.why-pillar__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid rgba(200,16,46,0.3);
  border-radius: 50%;
  flex-shrink: 0;
}

.why-pillar__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--accent-2);
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
  transition: border-color 400ms var(--ease), background 400ms var(--ease);
}

.why-pillar:hover .why-pillar__icon {
  border-color: rgba(200,16,46,0.35);
  background: rgba(200,16,46,0.06);
}

.why-pillar__icon svg {
  width: 20px;
  height: 20px;
}

.why-pillar__divider {
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent 70%);
  margin-bottom: 20px;
}

.why-pillar h4 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.2;
}

.why-pillar p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.97rem;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .why__pillars {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ==========================================================================
   Fleet / Slideshow
   ========================================================================== */
.fleet {
  background: var(--bg);
}

.slideshow {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.slideshow__stage {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(200, 16, 46, 0.08), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.slideshow__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 2;
}

.slideshow__track {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1200ms var(--ease);
  pointer-events: none;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 9000ms linear;
  filter: contrast(1.05) saturate(0.95);
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slide.is-active img {
  transform: scale(1.0);
}

.slide.is-leaving {
  opacity: 0;
  z-index: 0;
}

.slideshow__caption {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 3;
  max-width: 60%;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.slideshow__caption.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.slideshow__num {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.slideshow__num small {
  color: var(--chrome);
  margin-left: 4px;
}

.slideshow__caption h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.slideshow__caption p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--chrome-2);
}

.slideshow__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  color: var(--cream);
  transition: background 250ms, border-color 250ms, transform 250ms var(--ease);
}

.slideshow__nav:hover {
  background: rgba(200, 16, 46, 0.4);
  border-color: var(--accent-2);
  transform: translateY(-50%) scale(1.08);
}

.slideshow__nav svg {
  width: 22px;
  height: 22px;
}

.slideshow__nav--prev {
  left: 18px;
}

.slideshow__nav--next {
  right: 18px;
}

.slideshow__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.slideshow__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px var(--accent-glow);
  transition: width var(--slide-duration, 6000ms) linear;
}

.fleet__widget {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}

@media (max-width: 600px) {
  .slideshow__stage {
    aspect-ratio: 4/3;
  }

  .slideshow__caption {
    left: 16px;
    bottom: 18px;
    max-width: calc(100% - 32px);
  }

  .slideshow__nav {
    width: 42px;
    height: 42px;
  }

  .slideshow__nav--prev {
    left: 8px;
  }

  .slideshow__nav--next {
    right: 8px;
  }
}

/* ==========================================================================
   Visit
   ========================================================================== */
.visit {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.visit__media {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-2);
}

.visit__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9) brightness(0.85);
  transition: transform 1200ms var(--ease);
}

.visit__media:hover img {
  transform: scale(1.04);
}

.hours {
  margin: 28px 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.hours>div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.hours dt {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hours dd {
  margin: 0;
  color: var(--cream);
  font-weight: 500;
}

.visit__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  transition: border-color 250ms, background 250ms, transform 250ms var(--ease);
}

.contact-line svg {
  width: 18px;
  height: 18px;
  color: var(--accent-2);
}

.contact-line:hover {
  border-color: var(--accent);
  background: rgba(200, 16, 46, 0.08);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .visit {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CTA / Kontakt
   ========================================================================== */
.cta {
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--line);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 50%, rgba(200, 16, 46, 0.12), transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(201, 162, 39, 0.07), transparent 50%);
  filter: blur(40px);
}

.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.cta__left h2 {
  margin-bottom: 20px;
}

.cta__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.cta__right {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}

.cta__info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
  transition: background 300ms var(--ease);
}

.cta__info-item:last-child {
  border-bottom: none;
}

.cta__info-item:hover {
  background: rgba(200, 16, 46, 0.05);
}

.cta__info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--accent-2);
  margin-top: 2px;
}

.cta__info-icon svg {
  width: 20px;
  height: 20px;
}

.cta__info-item h4,
.cta__info-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  font-family: var(--sans);
  margin: 0 0 6px;
}

.cta__info-item p {
  margin: 0;
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta__info-item p a {
  color: var(--cream);
  transition: color 200ms;
}

.cta__info-item p a:hover {
  color: var(--accent-2);
}

@media (max-width: 860px) {
  .cta__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 80px var(--gutter) 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto 48px;
}

.footer__brand img {
  width: 110px;
  border-radius: 6px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 12px rgba(200, 16, 46, 0.25));
}

.footer__brand p {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 32ch;
}

.footer__col h5 {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 14px;
  font-weight: 600;
}

.footer__col p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

.footer__col a {
  color: var(--text);
  transition: color 200ms;
}

.footer__col a:hover {
  color: var(--accent-2);
}

.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom small {
  color: var(--text-mute);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Anfrage / Kontaktformular
   ========================================================================== */

.suchauftrag {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.anfrage {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.anfrage__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.anfrage__inner .section__head {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(40px, 6vw, 72px);
  text-align: center;
}

.anfrage__inner .section__head .lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.anfrage__inner .section__head h2 {
  background: linear-gradient(110deg, #ffffff 0%, #e0e0e0 45%, rgba(200,16,46,0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.anfrage__inner .section__head h2 em {
  background: linear-gradient(120deg, var(--chrome-2), var(--silver) 40%, #fff 60%, var(--chrome) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.anfrage__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* Topic chips */
.anfrage__topics {
  border: none;
  padding: 0;
  margin: 0 0 clamp(32px, 5vw, 56px);
}

.anfrage__topics-label {
  display: block;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.anfrage__topics-label span {
  color: var(--accent);
}

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

.topic-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.topic-chip span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 14px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--bg-3);
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  text-align: center;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.topic-chip span svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: stroke 0.2s var(--ease);
}

.topic-chip:hover span {
  border-color: var(--line-2);
  color: var(--cream);
}

.topic-chip input:checked + span {
  border-color: var(--accent);
  background: rgba(200, 16, 46, 0.08);
  color: var(--cream);
}

.topic-chip input:checked + span svg {
  stroke: var(--accent);
}

/* Form fields */
.anfrage__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.anfrage__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.anfrage__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.anfrage__field label {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.anfrage__field label span[aria-hidden] {
  color: var(--accent);
  margin-left: 2px;
}

.anfrage__optional {
  color: var(--text-mute);
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: 0;
}

.anfrage__field input,
.anfrage__field textarea,
.anfrage__field select {
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  resize: vertical;
}

.anfrage__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
  resize: none;
}

.anfrage__field select option {
  background: var(--bg-2);
  color: var(--cream);
}

.anfrage__field select option:disabled,
.anfrage__field select option[value=""] {
  color: var(--text-mute);
}

.anfrage__field input::placeholder,
.anfrage__field textarea::placeholder {
  color: var(--text-mute);
}

.anfrage__field input:focus,
.anfrage__field textarea:focus,
.anfrage__field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.anfrage__field select:hover {
  border-color: var(--chrome);
}

.anfrage__field select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c8102e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.anfrage__field input.is-invalid,
.anfrage__field textarea.is-invalid,
.anfrage__field select.is-invalid {
  border-color: var(--accent);
}

/* Datenschutz checkbox */
.anfrage__datenschutz {
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

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

.checkbox-label a {
  color: var(--chrome);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Field errors */
.anfrage__field-error {
  font-size: 0.8rem;
  color: var(--accent-2);
  margin: 0;
  min-height: 1.2em;
}

/* Submit */
.anfrage__submit {
  margin-top: clamp(28px, 4vw, 48px);
  display: flex;
  justify-content: center;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  transition: transform 0.25s var(--ease);
}

.anfrage__submit .btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Feedback message */
.anfrage__feedback {
  margin-top: 24px;
  text-align: center;
  font-size: 0.95rem;
  min-height: 1.4em;
}

.anfrage__feedback.is-success {
  color: #4ade80;
}

.anfrage__feedback.is-error {
  color: var(--accent-2);
}

/* ==========================================================================
   Suchauftrag Wizard
   ========================================================================== */
.wizard__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.wizard__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.wizard__step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
}

.wizard__step-num {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: opacity 0.2s, color 0.3s var(--ease);
}

.wizard__step-check {
  position: absolute;
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}

.wizard__step-label {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color 0.3s var(--ease);
}

.wizard__connector {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: var(--line-2);
  margin: 0 8px;
  margin-bottom: 26px;
  border-radius: 2px;
  transition: background 0.4s var(--ease);
}

/* Active step */
.wizard__step--active .wizard__step-dot {
  border-color: var(--accent);
  background: rgba(200, 16, 46, 0.1);
}

.wizard__step--active .wizard__step-num {
  color: var(--accent);
}

.wizard__step--active .wizard__step-label {
  color: var(--cream);
}

/* Completed step */
.wizard__step--done .wizard__step-dot {
  border-color: var(--accent);
  background: var(--accent);
}

.wizard__step--done .wizard__step-num {
  opacity: 0;
}

.wizard__step--done .wizard__step-check {
  opacity: 1;
  stroke: #fff;
}

.wizard__step--done .wizard__step-label {
  color: var(--accent);
}

.wizard__connector--done {
  background: var(--accent);
}

/* Panels */
.wizard__panel {
  display: none;
  animation: wizardFadeIn 0.35s var(--ease) both;
}

.wizard__panel--active {
  display: block;
}

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

.wizard__panel-title {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}

/* Navigation buttons */
.wizard__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  gap: 16px;
}

.wizard__nav--right {
  justify-content: flex-end;
}

.btn-arrow--left {
  margin-right: 6px;
  margin-left: 0;
}

.suchauftrag__trust {
  margin-top: 28px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.suchauftrag__trust::before,
.suchauftrag__trust::after {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2));
}

.suchauftrag__trust::after {
  background: linear-gradient(90deg, var(--line-2), transparent);
}

/* Responsive */
@media (max-width: 700px) {
  .anfrage__topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 420px) {
  .anfrage__topics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   reCAPTCHA v3 – badge hidden, legal note shown inline instead
   ========================================================================== */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.recaptcha-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
}

.recaptcha-note a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.recaptcha-note a:hover {
  color: var(--cream);
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

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

  .hero__bg img,
  .hero__bg video {
    animation: none;
  }

  .preloader {
    display: none;
  }
}

/* ==========================================================================
   Accessibility – Focus-Styles (WCAG 2.1 AA)
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* Skip-to-content Link (Screenreader + Keyboard) */
.skip-to-content {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 4px 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: top 200ms;
  text-decoration: none;
}

.skip-to-content:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ==========================================================================
   SEO Image – Lazy loading placeholder
   ========================================================================== */
img[loading="lazy"] {
  background: var(--bg-2);
}

/* Print styles für bessere Barrierefreiheit */
@media print {
  .nav, .hero__cta, .wizard__nav, .scroll-progress, .hero__scroll {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }

  a[href^="#"]::after,
  a[href^="tel"]::after {
    content: none;
  }
}