/* =========================================================================
   ECS GmbH – Elegance Car Safi
   Stylesheet der Website – Design angelehnt an das Motorflow-Template
   (dunkel, DM Sans, kantige Buttons/Boxen ohne Rundungen, Haarlinien)

   Nicht angefasst: Code/Design des 3D-Globus (Inline-Block in index.html)
   und des mobile.de-Fahrzeug-Widgets (.vw-*). Hier wird nur die Schrift
   des Textes neben dem Globus angepasst (Abschnitt "Export").
   ========================================================================= */

/* ------------------------------------------------------------------ Tokens */
:root {
  /* Dunkle Flächen: kein reines Schwarz, sondern EIN einheitlicher neutraler
     Verlauf (ohne Blaustich), überall von oben hell nach unten dunkel */
  --bg-top:     #262626;
  --bg-bottom:  #060606;
  --bg:         var(--bg-bottom);   /* Vollton, wo kein Verlauf möglich ist */
  --bg-gradient:    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  --surface:    #191919;   /* Karten */
  --surface-2:  #262626;   /* Eingabefelder, Icon-Buttons */
  --line-dark:  rgba(38, 38, 38, 0.14);  /* Haarlinien auf weißen Flächen */
  --line:       rgba(255, 255, 255, 0.08);  /* Haarlinien */
  --line-strong: rgba(255, 255, 255, 0.16);
  --white:      #ffffff;
  --text:       #bdbdbd;   /* Fließtext */
  --muted:      #838383;   /* Nebeninfos */
  --ink:        #262626;   /* Text auf weißen Buttons / hellen Flächen */
  --ink-soft:   #505050;
  --red:        #d72232;   /* ECS-Rot (nur für Fokus/Fehler) */

  --font: "DM Sans", -apple-system, "Segoe UI", Arial, sans-serif;

  --container:  1342px;
  --gutter:     24px;
  --radius:     0;         /* bewusst eckig – überall */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mehrere dunkle Abschnitte direkt hintereinander (z. B. "Fahrzeug abgeben?" +
   Export) teilen sich einen Verlauf – so entsteht keine harte Kante dazwischen */
.dark-block { background: var(--bg-gradient); }
.dark-block > section { background: transparent !important; }

/* Vollbreite-Abschnitte (Globus, Fahrzeug-Widget) liegen direkt in <main> und
   sind damit schon randlos. Deren 100vw-Trick zählt die Scrollleiste mit und
   machte Startseite/Fahrzeugseiten breiter als das Fenster (Seite + Logo
   verrutschten seitlich). Auf export.html liegt der Globus in .export-page. */
main > .ecs-onepage-fullwidth,
.export-page > .ecs-onepage-fullwidth,
main > .vw-section {
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; }

h1, h2, h3, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }

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

/* --------------------------------------------------------------- Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------- Typographie */
.h1 {
  font-size: clamp(44px, 5.6vw, 80px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}
.h2 {
  font-size: clamp(36px, 3.9vw, 56px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--white);
  text-wrap: balance;
}
.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}

/* Label über Überschriften */
.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
}
.eyebrow--center { display: flex; justify-content: center; }
.eyebrow--dark { color: var(--ink); }

/* Hochzählende Zahlen (js/main.js, Abschnitt "Zähler") – gleich breite
   Ziffern, damit der Text beim Zählen nicht wackelt */
.count {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* ----------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn--primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--primary:hover { background: #e6e6e6; border-color: #e6e6e6; }

.btn--secondary {
  background: rgba(130, 130, 130, 0.12);
  border-color: var(--line-strong);
  color: var(--white);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--secondary:hover { background: rgba(130, 130, 130, 0.24); border-color: rgba(255, 255, 255, 0.3); }

/* Dunkler Button für helle Abschnitte */
.btn--dark { background: var(--bg-gradient); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: #3a3a3a; border-color: #3a3a3a; }

.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* Plus-Icon für Akkordeons */
.plus {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: transform 0.35s var(--ease);
}
details[open] > summary .plus { transform: rotate(45deg); }

details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* ====================================================================
   Kopfzeile
   ==================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  padding-block: 20px;
  transition: padding 0.35s var(--ease);
}
/* Glas-Hintergrund als Pseudo-Element, damit das mobile Vollbild-Menü
   (position: fixed) nicht im Header "gefangen" wird. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(38, 38, 38, 0.92) 0%, rgba(6, 6, 6, 0.92) 100%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.site-header.is-scrolled { padding-block: 12px; }
.site-header.is-scrolled::before { opacity: 1; }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header__logo img { width: 150px; height: auto; margin-left: -14px; } /* Logo-PNG hat transparenten Rand */

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}
/* Menü ohne Box – nur Text, beim Hover feine Linie darunter */
.site-nav a {
  position: relative;
  padding-block: 6px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--white);
  opacity: 0.82;
  transition: opacity 0.25s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-header__side {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-link {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(26, 26, 26, 0.72);
  transition: background-color 0.25s ease;
}
.social-link:hover { background: rgba(130, 130, 130, 0.24); border-color: var(--line-strong); }
.social-link svg { width: 17px; height: 17px; fill: currentColor; }

/* Mobile-Menü-Button (quadratisch) */
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  background: rgba(26, 26, 26, 0.8);
  color: var(--white);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), background-color 0.2s ease;
}
.nav-toggle span { margin-inline: auto; position: relative; }
.nav-toggle span::before { content: ""; position: absolute; top: -6px; }
.nav-toggle span::after  { content: ""; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ====================================================================
   1 – Hero
   ==================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 130px 150px;
  background: var(--bg-gradient);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  filter: brightness(0.72) saturate(0.7);
  animation: hero-zoom 2.4s var(--ease) both;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(38, 38, 38, 0.55) 0%, rgba(38, 38, 38, 0) 22%),
    linear-gradient(0deg, var(--bg-bottom) 0%, rgba(6, 6, 6, 0.6) 18%, rgba(6, 6, 6, 0.1) 55%),
    linear-gradient(90deg, rgba(6, 6, 6, 0.75) 0%, rgba(6, 6, 6, 0) 60%);
}
@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}
.hero__copy { max-width: 760px; }
.hero__title { margin-bottom: 22px; }
.hero__lead { max-width: 520px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; flex: 0 0 auto; }

/* ====================================================================
   2 – Marken
   ==================================================================== */
/* Heller Abschnitt: weißer Hintergrund, schwarzer Text */
.brands { padding-block: 140px 120px; text-align: center; background: var(--white); color: var(--ink); }
.brands .eyebrow,
.brands__title { color: var(--ink); }
.brands__lead { color: var(--ink-soft); }
.brands .btn--primary { background: var(--bg-gradient); color: var(--white); border-color: var(--ink); }
.brands .btn--primary:hover { background: #3a3a3a; border-color: #3a3a3a; }
.brands :focus-visible { outline-color: var(--ink); }
.brands__col { max-width: 900px; }
.brands__title { margin-bottom: 22px; }
.brands__lead { max-width: 640px; margin: 0 auto 36px; }
.brands__cta { display: flex; justify-content: center; margin-bottom: 110px; }

/* Endlos laufendes Logo-Band – weißer Streifen, Logos in Originalfarben */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 36px;
  background: var(--white);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  min-height: 60px;
  gap: 110px;
  padding-right: 110px;
}
.marquee__group img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
/* Logo-Dateien mit viel Leerraum (Scania, IVECO) größer ziehen */
.marquee__group img.is-padded { height: 96px; margin-block: -26px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ====================================================================
   3 – "Fahrzeug abgeben?"  (Bild links, Text rechts – wie im Template)
   ==================================================================== */
.pitch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 860px;
  display: flex;
  align-items: center;
  padding-block: 140px;
  background: var(--bg-gradient);
}
/* Bild blendet per Maske in den Verlauf aus (statt Farb-Overlay) */
.pitch__media {
  position: absolute;
  inset: 0 30% 0 0;
  z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.pitch__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: brightness(0.85) saturate(0.85);
  -webkit-mask-image: linear-gradient(90deg, #000 35%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 35%, transparent 100%);
}
.pitch__grid { display: flex; justify-content: flex-end; }
.pitch__content { max-width: 500px; }
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--white);
}
.stars svg { width: 16px; height: 16px; fill: currentColor; }
/* block statt inline-flex: sonst kleben die Zähler-Zahlen am Text und brechen nicht um */
.pitch__kicker { display: block; font-weight: 400; color: var(--text); }
.pitch__title { margin-bottom: 20px; }
.pitch__lead { margin-bottom: 34px; }

/* ====================================================================
   3b – Warum mit uns (Vorteile)
   Typografische Liste ohne Boxen: links bleibt die Überschrift stehen,
   rechts leuchtet beim Scrollen der Vorteil in der Bildschirmmitte auf.
   ==================================================================== */
.why { padding-block: 160px; background: var(--bg-gradient); }
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.why__intro { position: sticky; top: 140px; }
.why__title { margin-bottom: 36px; max-width: 460px; }

.why__list { padding-block: 8vh 16vh; }
.why-item {
  position: relative;
  padding-block: 34px;
}
.why-item__title {
  font-size: clamp(30px, 3.6vw, 54px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
  transition: color 0.5s var(--ease);
}
.why-item__text {
  max-width: 520px;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  transition: color 0.5s var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

/* Aktiv-Zustand nur mit JS – ohne JS bleibt alles hell und lesbar */
.why.is-interactive .why-item__title { color: #383838; }
.why.is-interactive .why-item__text { color: #4e4e4e; }
.why.is-interactive .why-item.is-active .why-item__title { color: var(--white); }
.why.is-interactive .why-item.is-active .why-item__text { color: var(--text); }

/* ====================================================================
   4 – Export (3D-Globus)
   Nur Schrift/Text neben dem Globus – Globus-Code bleibt unverändert.
   ==================================================================== */
.ecs-onepage-fullwidth .ecs-export-widget { font-family: var(--font); letter-spacing: -0.02em; }

.ecs-onepage-fullwidth .ecs-export-widget__eyebrow {
  gap: 0;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
}
.ecs-onepage-fullwidth .ecs-export-widget__eyebrow::before { content: none; }
.ecs-onepage-fullwidth .ecs-export-widget__headline {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}
.ecs-onepage-fullwidth .ecs-export-widget__lead {
  margin-top: 22px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
}
.ecs-onepage-fullwidth .ecs-export-widget__trust { gap: 0; margin-top: 34px; max-width: 460px; }
.ecs-onepage-fullwidth .ecs-export-widget__trust li {
  min-height: 56px;
  gap: 14px;
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.ecs-onepage-fullwidth .ecs-export-widget__trust li:first-child { border-top: 1px solid var(--line); }
.ecs-onepage-fullwidth .ecs-export-widget__cta { margin-top: 36px; position: relative; z-index: 3; }
/* Mobil: Spalte nicht vom breiten Globus-Container aufdehnen lassen,
   sonst läuft der Text rechts aus dem Bild (Globus-Position bleibt gleich) */
@media (max-width: 980px) {
  .ecs-onepage-fullwidth .ecs-export-widget__inner { grid-template-columns: minmax(0, 1fr); }
}
.ecs-onepage-fullwidth .ecs-export-widget__trust li::before { content: none; }

/* ====================================================================
   5 – Unsere Fahrzeuge (Kopf über dem mobile.de-Widget)
   Das Widget selbst (.vw-*) bleibt unverändert – der Kopf ist daher hell,
   damit er mit dem weißen Widget eine Einheit bildet.
   ==================================================================== */
.fleet-head {
  background: var(--white);
  color: var(--ink-soft);
  padding-block: 110px 20px;
}
.fleet-head__inner { padding-inline: 24px; }
.fleet-head__title { color: var(--ink); margin-bottom: 18px; }
.fleet-head__lead { color: var(--ink-soft); max-width: 720px; }

.vw-section--teaser { padding-top: 48px; padding-bottom: 0; }
.fleet-more {
  display: flex;
  justify-content: center;
  padding: 48px var(--gutter) 120px;
  background: var(--white);
}

/* Einheitliche Schrift (DM Sans) und eckige Boxen auch im Fahrzeug-Widget.
   Reine CSS-Ergänzung – Code, Daten und Kategorien des Widgets bleiben
   unverändert. Zum Rückgängigmachen einfach diesen Block löschen. */
body .vw-section,
body .vw-section * {
  font-family: var(--font) !important;
  border-radius: 0 !important;
}

/* ====================================================================
   6 – Prozess
   ==================================================================== */
.process { padding-block: 150px; background: var(--bg-gradient); }
.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
.process__intro { position: sticky; top: 120px; }
.process__title { margin-bottom: 20px; }
.process__lead { margin-bottom: 34px; max-width: 480px; }

.steps { border-top: 1px solid var(--line); }
.step { border-bottom: 1px solid var(--line); }
.step__head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 34px 0;
  color: var(--white);
  cursor: pointer;
}
.step__num {
  flex: 0 0 auto;
  min-width: 34px;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.step__label { flex: 1; font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; line-height: 1.3; }
.step__head:hover .step__label { color: #e6e6e6; }
.step__body {
  padding: 0 46px 34px 58px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}

/* ====================================================================
   7 – Kontakt
   ==================================================================== */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 150px;
  background: var(--bg-gradient);
}
/* Hallenbild vollflächig, ohne dunkle Ränder – nur links leicht abgedunkelt,
   damit die weiße Schrift gut lesbar bleibt */
.contact__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.contact__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  filter: brightness(0.82);
}
.contact__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 6, 6, 0.72) 0%, rgba(6, 6, 6, 0.4) 45%, rgba(6, 6, 6, 0.1) 100%);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.contact__title { margin-bottom: 20px; }
.contact__lead { margin-bottom: 40px; max-width: 520px; }
.contact__links { display: grid; gap: 6px; }
.contact__phone {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
}
.contact__mail { font-size: 18px; color: var(--text); transition: color 0.2s ease; }
.contact__mail:hover { color: var(--white); }

/* Formularkarte – weiße Box mit dunkler Schrift (hebt sich vom Hallenbild ab) */
.form-card {
  background: var(--white);
  color: var(--ink-soft);
  border: 1px solid var(--line-dark);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  padding: 40px;
}
.form-card :focus-visible { outline-color: var(--ink); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 20px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #f4f4f4;
  border: 1px solid rgba(38, 38, 38, 0.12);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23505050' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px;
}
.field select:invalid { color: var(--muted); }
.field option { color: var(--ink); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(38, 38, 38, 0.55);
  background-color: var(--white);
}
.field ::placeholder { color: var(--muted); }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 8px 0 26px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  border: 1px solid rgba(38, 38, 38, 0.35);
  background: var(--white);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.consent input:checked {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--ink);
}
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* Absende-Button in der weißen Box dunkel */
.form-card .btn--primary { background: var(--bg-gradient); color: var(--white); border-color: var(--ink); }
.form-card .btn--primary:hover { background: #3a3a3a; border-color: #3a3a3a; }

.form-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.form-note a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }

/* ====================================================================
   8 – FAQ
   ==================================================================== */
/* Heller Abschnitt: weißer Hintergrund, schwarzer Text */
.faq { padding-block: 150px 130px; background: var(--white); color: var(--ink); }
.faq__inner { max-width: 920px; }
.faq .eyebrow { color: var(--ink); }
.faq__title { text-align: center; margin-bottom: 56px; color: var(--ink); }

.accordion { border-top: 1px solid rgba(38, 38, 38, 0.12); }
.accordion-item { border-bottom: 1px solid rgba(38, 38, 38, 0.12); }
.accordion__head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  cursor: pointer;
  color: var(--ink);
}
.accordion__head .plus { stroke: var(--ink); }
.accordion__label { flex: 1; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; line-height: 1.35; }
.accordion__head:hover .accordion__label { color: var(--ink-soft); }
.accordion__body {
  padding: 0 48px 30px 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.faq :focus-visible { outline-color: var(--ink); }

/* ====================================================================
   9 – Karte
   ==================================================================== */
.map-wrap { padding-bottom: 24px; }
.map {
  height: 460px;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
/* Dunkler Kartenlook passend zum Design (OSM-Kacheln, kein API-Key nötig) */
.map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(0.88) contrast(0.9); }
.map .leaflet-control-attribution { font-size: 10px; background: rgba(6, 6, 6, 0.7); color: var(--muted); }
.map .leaflet-control-attribution a { color: var(--text); }
.map .leaflet-bar,
.map .leaflet-bar a,
.map .leaflet-popup-content-wrapper,
.map .leaflet-control-attribution { border-radius: 0 !important; }
.map .leaflet-bar { border: 1px solid var(--line); box-shadow: none; }
.map .leaflet-bar a { background: var(--surface-2); color: var(--white); border-color: var(--line); }

/* Platzhalter, solange keine Einwilligung für die Karte vorliegt */
.map-consent {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px;
  text-align: center;
}
.map-consent p { max-width: 520px; font-size: 15px; line-height: 1.6; color: var(--text); }
.map-consent a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }

/* ====================================================================
   Cookie-Banner (js/cookie-consent.js)
   ==================================================================== */
.cookie-banner {
  position: fixed;
  left: var(--gutter);
  bottom: var(--gutter);
  z-index: 2147483646;
  width: min(460px, calc(100% - 2 * var(--gutter)));
  padding: 28px;
  background: linear-gradient(180deg, rgba(38, 38, 38, 0.97) 0%, rgba(6, 6, 6, 0.97) 100%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  color: var(--text);
  animation: cookie-in 0.5s var(--ease) both;
}
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.cookie-banner [hidden] { display: none !important; }
.cookie-banner__title { font-size: 20px; font-weight: 500; color: var(--white); margin-bottom: 10px; }
.cookie-banner__text { font-size: 14px; line-height: 1.6; }
.cookie-banner__text a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }

.cookie-banner__options { margin-top: 18px; border-top: 1px solid var(--line); }
.cookie-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.cookie-option strong { display: block; color: var(--white); font-weight: 500; margin-bottom: 2px; }
.cookie-option input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  cursor: pointer;
}
.cookie-option input:checked {
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23262626' stroke-width='3' stroke-linecap='square'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--white);
}
.cookie-option input:disabled { opacity: 0.5; cursor: default; }

.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.cookie-banner__actions .btn { min-height: 46px; padding: 10px 16px; font-size: 15px; }
.cookie-banner__actions .btn--wide { grid-column: 1 / -1; }

.cookie-banner__link,
.cookie-settings-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cookie-banner__link { margin-top: 14px; font-size: 14px; }
.cookie-banner__link:hover,
.cookie-settings-link:hover { color: var(--white); }
.cookie-settings-link { text-decoration: none; transition: color 0.2s ease; }

@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px 20px; }
  .cookie-banner__actions { grid-template-columns: 1fr; }
}

/* ====================================================================
   Fußzeile
   ==================================================================== */
/* Durchgehende Fläche über die volle Breite – keine Box */
.site-footer {
  padding-block: clamp(56px, 6vw, 80px) 32px;
  background: var(--bg-gradient);
  border-top: 1px solid var(--line);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 56px;
}
.site-footer__nav { display: grid; gap: 8px; }
.site-footer__nav a { font-size: 16px; color: var(--text); transition: color 0.2s ease; }
.site-footer__nav a:hover { color: var(--white); }
.site-footer__logo { width: 180px; margin: -30px 0 0 -17px; } /* transparenter Rand im PNG */
.site-footer__about {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  max-width: 340px;
}
.site-footer h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 20px;
}
.site-footer address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 18px;
}
.site-footer__hours {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.site-footer__phone {
  display: block;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 6px;
}
.site-footer__mail { font-size: 16px; color: var(--text); transition: color 0.2s ease; }
.site-footer__mail:hover { color: var(--white); }
.site-footer__social { display: flex; gap: 10px; margin-top: 26px; }
.site-footer__social .social-link { background: var(--surface-2); }

/* Rechtliches-Leiste: Haarlinie, © links, Links rechts */
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.site-footer__panel + .site-footer__bottom { margin-top: 56px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__legal a,
.site-footer__legal .cookie-settings-link { font-size: 13px; color: var(--text); transition: color 0.2s ease; }
.site-footer__legal a:hover,
.site-footer__legal .cookie-settings-link:hover { color: var(--white); }

@media (max-width: 640px) {
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ====================================================================
   Unterseiten – Seitenkopf
   ==================================================================== */
.page-hero {
  padding-block: 190px 90px;
  border-bottom: 1px solid var(--line);
  background:
    var(--bg-gradient);
}
.page-hero__title { max-width: 900px; margin-bottom: 22px; }
.page-hero__lead { max-width: 640px; }
.page-hero--compact { padding-block: 150px 48px; }
.page-hero--compact .page-hero__title { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: 0; }

/* Seiten, die direkt mit einem Inhaltsabschnitt beginnen */
.process--page { padding-top: 190px; }
.contact--page { padding-top: 190px; }
.page-hero + .faq { padding-top: 90px; }
.export-page .ecs-export-widget__inner { padding-top: clamp(130px, 12vw, 170px); }

/* ====================================================================
   Kontakt-Band (unten auf den Seiten)
   ==================================================================== */
.cta-band { padding-block: 120px; border-top: 1px solid var(--line); }
.cta-band__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band__side { display: grid; gap: 20px; justify-items: start; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ====================================================================
   Helle Abschnitte (weiße Fläche, dunkler Text)
   Kontakt-Band, Über uns, Export-Leistungen, Rechtsseiten
   ==================================================================== */
.cta-band, .about, .export-info, .legal {
  background: var(--white);
  color: var(--ink-soft);
}
.cta-band { border-top-color: var(--line-dark); }
.cta-band .h2, .cta-band .eyebrow,
.about .h2, .about .eyebrow,
.export-info .h2, .export-info .eyebrow { color: var(--ink); }
.cta-band .lead, .about .lead { color: var(--ink-soft); }
.cta-band .contact__phone { color: var(--ink); }
.cta-band .btn--primary { background: var(--bg-gradient); color: var(--white); border-color: var(--ink); }
.cta-band .btn--primary:hover { background: #3a3a3a; border-color: #3a3a3a; }
.cta-band .btn--secondary { background: transparent; color: var(--ink); border-color: rgba(38, 38, 38, 0.24); }
.cta-band .btn--secondary:hover { background: rgba(38, 38, 38, 0.06); border-color: rgba(38, 38, 38, 0.4); }
.cta-band :focus-visible, .about :focus-visible,
.export-info :focus-visible, .legal :focus-visible { outline-color: var(--ink); }

/* ====================================================================
   Über uns – Text und Kennzahlen
   ==================================================================== */
.about { padding-block: 130px 150px; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  margin-bottom: 90px;
}
.about__text { display: grid; gap: 22px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.stat {
  display: grid;
  gap: 10px;
  padding: 36px 32px 0 0;
}
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.stat__value {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat__label { font-size: 17px; color: var(--ink-soft); }

/* ====================================================================
   Export – Leistungen und PDF
   ==================================================================== */
.export-info { padding-block: 130px 150px; }
.export-info__head { margin-bottom: 56px; }
/* Hafenbild hinter "Export aus einer Hand": vollflächig, ohne dunkle Ränder.
   Text sitzt links in einem halbtransparenten Kasten über dem Himmel. */
.pitch--export .pitch__media {
  inset: 0;
  -webkit-mask-image: none;
          mask-image: none;
}
.pitch--export .pitch__media img {
  object-position: 62% 55%;
  filter: none;
  -webkit-mask-image: none;
          mask-image: none;
}
.pitch--export .pitch__grid { justify-content: flex-start; }
.pitch--export .pitch__content {
  max-width: 540px;
  padding: 44px;
  background: rgba(6, 6, 6, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
}
.pitch--export .pitch__kicker { color: rgba(255, 255, 255, 0.82); }
.pitch--export .pitch__lead { color: rgba(255, 255, 255, 0.86); }
@media (max-width: 640px) {
  .pitch--export .pitch__content { padding: 28px 22px; }
  .pitch--export .pitch__media img { object-position: 70% 60%; }
}
.export-info__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.export-info__item { padding: 36px 32px 40px 0; }
.export-info__item + .export-info__item { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.export-info__item h3,
.export-doc h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
}
.export-info__item p,
.export-doc p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
/* PDF-Karte bleibt dunkel – setzt einen Akzent auf der weißen Fläche */
.export-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding: 40px;
  background: var(--bg-gradient);
  border: 1px solid var(--ink);
}
.export-doc h3 { color: var(--white); }
.export-doc p { color: var(--text); }
.export-doc :focus-visible { outline-color: var(--white); }

/* ====================================================================
   Rechtsseiten (Impressum / Datenschutz)
   ==================================================================== */
.legal-header { padding-block: 20px; background: var(--bg-gradient); border-bottom: 1px solid var(--line); }
.legal-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.legal-back { margin-left: auto; }

.legal { padding-block: 90px 110px; }
.legal .container { max-width: 960px; }
.legal h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 36px;
  /* "Datenschutzerklärung" ist auf schmalen Handys breiter als der Bildschirm */
  overflow-wrap: break-word;
  hyphens: auto;
}
.legal h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 56px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
}
.legal h3 { font-size: 20px; font-weight: 500; color: var(--ink); margin: 30px 0 10px; }
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.legal strong { color: var(--ink); font-weight: 500; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.legal .meta { font-size: 14px; color: var(--ink-soft); }

/* ====================================================================
   Scroll-Reveal
   ==================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
  .marquee__track { animation: none; }
  .why-item__title, .why-item__text { transition: none; }
}

/* ====================================================================
   Responsive
   ==================================================================== */
@media (max-width: 1180px) {
  .site-header__side .social-link { display: none; }
}

@media (max-width: 1100px) {
  .why__grid { grid-template-columns: 1fr; gap: 24px; }
  .why__intro { position: static; }
  .why__list { padding-block: 0; }
  .process__grid { grid-template-columns: 1fr; }
  .process__intro { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
  .form-card { max-width: 640px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > div:first-child { grid-column: 1 / -1; }
  .pitch__media { inset: 0; }
  .pitch__media img {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.08) 70%);
            mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.08) 70%);
  }
}

@media (max-width: 991px) {
  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    padding: 110px 32px 40px;
    border-radius: 0;
    background: var(--bg-gradient);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    z-index: 50;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav a {
    font-size: clamp(34px, 9vw, 48px);
    font-weight: 500;
    letter-spacing: -0.02em;
    opacity: 1;
    padding-block: 6px;
    transform: translateY(16px);
    transition: transform 0.5s var(--ease), color 0.2s ease;
  }
  .site-nav.is-open a { transform: none; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 0.04s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 0.08s; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 0.12s; }
  .site-nav.is-open a:nth-child(5) { transition-delay: 0.16s; }
  .site-nav.is-open a:nth-child(6) { transition-delay: 0.2s; }

  .nav-toggle { display: block; position: relative; z-index: 60; }
  .site-header__logo { position: relative; z-index: 60; }
  .site-header__side { margin-left: auto; }
  .site-header__logo img { width: 120px; margin-left: -11px; }

  .hero__content { flex-direction: column; align-items: flex-start; }
  .brands { padding-block: 100px 90px; }
  .brands__cta { margin-bottom: 72px; }
  .marquee__group { gap: 64px; padding-right: 64px; }
  .marquee__group img { height: 36px; }
  .marquee__group img.is-padded { height: 78px; margin-block: -21px; }
  .pitch { min-height: 0; padding-block: 110px; }
  .process, .contact, .faq, .why, .about, .export-info, .cta-band { padding-block: 100px; }
  .process--page, .contact--page { padding-top: 140px; }
  .page-hero + .faq { padding-top: 64px; }
  .page-hero { padding-block: 140px 64px; }
  .page-hero--compact { padding-block: 120px 36px; }
  .stats, .export-info__grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat,
  .export-info__item, .export-info__item + .export-info__item { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .fleet-more { padding-bottom: 90px; }
  .fleet-head { padding-block: 80px 8px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .site-header__side .btn { display: none; }
  .hero { padding-block: 120px 64px; }
  .why-item { padding-block: 26px; }
  .why-item__text { font-size: 17px; }
  .site-nav a::after { display: none; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .lead { font-size: 17px; }
  .form-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .step__head, .accordion__head { padding-block: 26px; gap: 16px; }
  .step__body { padding: 0 0 26px 50px; }
  .accordion__body { padding-right: 0; }
  .map { height: 340px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .export-doc { padding: 28px 22px; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .btn--block { white-space: normal; }
}
