/* ---------------------------------------------------------
   balli Kurier & Transport — Stylesheet
   Helles Beige/Schwarz-Design nach Kunden-Vorlage (2026-10)
   --------------------------------------------------------- */

:root {
  --bg: #efe6d7;          /* Seitenhintergrund, passend zum Studio-Beige im Hero-Video */
  --panel: #f8f4ee;       /* helle Karten/Flächen */
  --ink: #111111;
  --ink-soft: #2a2826;
  --muted: #6d6860;
  --line: #ddd4c6;
  --white: #ffffff;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1320px;      /* Lesebreite für alle Abschnitte nach dem Hero */
  --container-wide: 2200px; /* Header + Hero: volle Breite */
  --gutter: clamp(1rem, 3.5vw, 4rem);
  --radius: 16px;
  --radius-sm: 10px;
  --header-min: 84px;    /* feste Mindesthöhe — NICHT aus JS setzen (sonst Rückkopplung) */

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

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
picture { display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.brand__logo { fill: currentColor; stroke: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: .7rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

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

.kicker {
  font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: .9rem;
}

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: 10px;
  font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon[aria-hidden] { transform: translateX(3px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #2b2b2b; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #eeeae4; }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: var(--white); background: transparent; }
.btn--outline-light:hover { border-color: var(--white); }
.btn--wide { width: 100%; border-radius: 999px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239, 230, 215, .9);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-min); }
.brand { display: inline-flex; color: var(--ink); text-decoration: none; }
.brand__logo { width: clamp(96px, 10vw, 128px); height: auto; aspect-ratio: 1080 / 594; display: block; }

.primary-nav { display: flex; align-items: center; gap: 2rem; flex: 1; justify-content: flex-end; }
.primary-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); margin-right: auto; margin-left: auto; }
.primary-nav ul a {
  white-space: nowrap;
  font-size: .93rem; font-weight: 500; text-decoration: none; color: var(--ink-soft);
  padding: .4rem 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s;
}
.primary-nav ul a:hover, .primary-nav ul a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav-cta { min-height: 44px; padding: .6rem 1.2rem; white-space: nowrap; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle__box { display: grid; gap: 5px; width: 24px; }
.nav-toggle__bar { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; margin: 0; }
  .primary-nav ul a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .primary-nav ul a[aria-current="page"] { border-bottom-color: var(--line); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.5rem); overflow-x: clip; }
.hero__intro { margin-bottom: clamp(.5rem, 2vw, 1.25rem); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 5.6rem); font-weight: 800; letter-spacing: -0.035em; }
@media (min-width: 1025px) {
  .hero__intro { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 3rem; align-items: end; }
  .hero__intro .kicker { grid-column: 1 / -1; }
  .hero__intro .hero__sub { margin-top: 0; padding-bottom: .6rem; justify-self: end; text-align: right; }
}
.hero__sub { margin-top: 1rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 34rem; }

/* Stage – zwei Layouts:
   - .stage--playing (Ablauf, JS aktiv): Desktop 3 Spalten – links/rechts erst die
     Vorteile, dann große Ladungs-Punkte, Video 16:9 in der Mitte. Mobil: Video oben,
     darunter kompakte Chips.
   - Standard = FINALE (auch ohne JS / bei reduzierter Bewegung): Breitbild mit dem
     seitlich geparkten Sprinter, darunter alle Ladungs-Chips und die Anfrage-Buttons.
     JS wechselt am Ende per View Transition vom Ablauf ins Finale. */
.stage {
  --side-w: 260px;
  --stage-gap: clamp(.5rem, 1.5vw, 1.5rem);
  --stage-mask-x: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  --stage-mask-y: linear-gradient(to bottom, transparent, #000 6%, #000 86%, transparent);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "media media" "left right" "cta cta";
  column-gap: .5rem;
  align-items: start;
}
.stage__media {
  grid-area: media; justify-self: center; position: relative; overflow: hidden;
  view-transition-name: hero-media;
  aspect-ratio: 16 / 9;
  /* Finale: groß – mindestens 720px (bzw. volle Breite), sonst so groß wie es die Höhe erlaubt */
  width: clamp(min(100%, 720px), calc((100svh - var(--header-min) - 300px) * 16 / 9), 100%);
}
.stage__video, .stage__still, .stage__cycle img, .stage__outro {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: var(--stage-mask-x), var(--stage-mask-y);
  mask-image: var(--stage-mask-x), var(--stage-mask-y);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
/* Finale-Bild: Sprinter parkt wie nach der Anfahrt (schräg von vorne), leicht herangezoomt */
.stage__still { transform: scale(1.08); transform-origin: 50% 55%; }
.stage__video { visibility: hidden; }

/* Ladungs-Schnelldurchlauf: Bilder liegen deckungsgleich über dem Video-Endbild */
.stage__cycle { position: absolute; inset: 0; display: none; }
.stage--playing .stage__cycle { display: block; }
.stage__cycle img { opacity: 0; }
.stage__cycle img.is-current { opacity: 1; animation: cargo-boom .45s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes cargo-boom {
  0%   { transform: scale(1.06); filter: brightness(1.5) blur(3px); }
  100% { transform: none; filter: none; }
}
.stage__outro { opacity: 0; transition: opacity .3s ease-out; }
.stage--playing .stage__outro.is-on { opacity: 1; }
.stage__flash {
  position: absolute; inset: 8% 22%; border-radius: 40%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0));
}
.stage__flash.is-boom { animation: cargo-flash .4s ease-out; }
@keyframes cargo-flash { 0% { opacity: .9; } 100% { opacity: 0; } }
.stage__media.is-boom { animation: cargo-punch .35s ease-out; }
@keyframes cargo-punch { 0% { transform: scale(1); } 35% { transform: scale(1.012); } 100% { transform: scale(1); } }

/* Seitenspalten */
.stage__side { display: grid; margin-top: clamp(.75rem, 1.6vw, 1.25rem); }
.stage__side--left { grid-area: left; }
.stage__side--right { grid-area: right; }
.stage__layer { grid-area: 1 / 1; }
.stage__features { display: none; }

/* Finale: Ladung als Chip-Wolke, mittig über beide Hälften verteilt */
.stage__cargo { display: flex; flex-wrap: wrap; gap: .5rem; align-content: flex-start; }
.stage__side--left .stage__cargo { justify-content: flex-end; }
.stage__side--right .stage__cargo { justify-content: flex-start; }
/* Finale Desktop: rechts stehen die längeren Namen – rechte Spalte etwas breiter,
   damit beide Seiten in zwei Zeilen aufgehen. */
@media (min-width: 1025px) {
  .stage:not(.stage--playing) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .stage:not(.stage--playing) .stage__cargo { gap: .45rem; }
  .stage:not(.stage--playing) .cargo { padding-right: .85rem; }
}
.cargo {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .3rem 1rem .3rem .3rem; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
}
.cargo__img {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  transition: background-color .25s, color .25s, border-color .25s, transform .4s cubic-bezier(.2, 1.4, .4, 1);
}
.cargo__img svg { width: 19px; height: 19px; stroke-width: 1.5; }
.cargo__img img { width: 100%; height: 100%; object-fit: cover; }
.cargo strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.2; white-space: nowrap; hyphens: auto; -webkit-hyphens: auto; }
.cargo span > span { display: none; }

.stage__cta {
  grid-area: cta; justify-self: center;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

/* Vorteile (nur im Ablauf sichtbar) */
.feature { display: flex; gap: 1rem; align-items: center; }
.feature__icon {
  flex: none; width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--panel); border: 1px solid var(--line);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature strong { display: block; font-size: 1.18rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.feature span > span { display: block; font-size: .98rem; color: var(--muted); line-height: 1.35; margin-top: .2rem; }

/* ===== Ablauf (JS aktiv) ===== */
.stage--playing .stage__video { visibility: visible; }
.stage--playing .stage__still { visibility: hidden; }
.stage--playing .stage__cta { visibility: hidden; }
.stage--playing .stage__features { display: grid; transition: opacity .5s var(--ease), visibility 0s; }
.stage--playing .cargo.is-active .cargo__img { background: var(--ink); color: var(--white); border-color: var(--ink); transform: scale(1.14); }
.stage--playing.stage--cargo .stage__features { opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
/* Einflug „aus dem Transporter heraus“: Punkte starten zur Mitte versetzt, unscharf
   und verkleinert, und landen mit leichtem Überschwingen auf ihrem Platz. */
.stage--playing .feature,
.stage--playing .cargo {
  --fly-x: 0px; --fly-y: 0px;
  opacity: 0; filter: blur(8px);
  transform: translate(var(--fly-x), var(--fly-y)) scale(.82);
  transition: opacity .5s ease-out, filter .6s ease-out, transform .75s cubic-bezier(.16, 1.25, .3, 1),
              background-color .25s, border-color .25s, color .25s;
}
.stage--playing .feature.is-in,
.stage--playing .cargo.is-in { opacity: 1; filter: none; transform: none; }

@media (min-width: 1025px) {
  .stage--playing {
    grid-template-columns: minmax(var(--side-w), 1fr) auto minmax(var(--side-w), 1fr);
    grid-template-areas: "left media right" "cta cta cta";
    column-gap: var(--stage-gap);
    align-items: center;
  }
  .stage--playing .stage__media {
    --stage-mask-x: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
    aspect-ratio: 16 / 9; overflow: visible;
    /* So groß wie möglich, aber Header + Headline + Video passen in den Bildschirm */
    width: min(
      calc(100vw - 2 * var(--gutter) - 2 * var(--side-w) - 2 * var(--stage-gap) - 16px),
      calc((100svh - var(--header-min) - 210px) * 16 / 9)
    );
  }
  .stage--playing .stage__side { margin-top: 0; }
  .stage--playing .stage__side--left { justify-self: end; }
  .stage--playing .stage__side--right { justify-self: start; }
  .stage--playing .stage__layer { display: grid; gap: clamp(.9rem, 1.5vw, 1.5rem); align-content: center; }
  .stage--playing .cargo { gap: 1rem; padding: 0; background: none; border: 0; border-radius: 0; }
  .stage--playing .cargo__img { width: 66px; height: 66px; box-shadow: 0 6px 18px -10px rgba(40, 30, 15, .35); }
  .stage--playing .cargo__img svg { width: 32px; height: 32px; stroke-width: 1.4; }
  .stage--playing .cargo strong { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; white-space: normal; }
  .stage--playing .cargo span > span { display: block; font-size: .98rem; color: var(--muted); line-height: 1.35; margin-top: .2rem; }
  .stage--playing .stage__side--left .feature,
  .stage--playing .stage__side--left .cargo { --fly-x: 140px; }
  .stage--playing .stage__side--right .feature,
  .stage--playing .stage__side--right .cargo { --fly-x: -140px; }
}
@media (min-width: 1500px) {
  .stage { --side-w: 300px; }
  .feature__icon { width: 68px; height: 68px; border-radius: 16px; }
  .feature__icon svg { width: 32px; height: 32px; }
  .feature strong { font-size: 1.4rem; }
  .feature span > span { font-size: 1.08rem; }
  .stage--playing .cargo__img { width: 78px; height: 78px; }
  .stage--playing .cargo__img svg { width: 38px; height: 38px; }
  .stage--playing .cargo strong { font-size: 1.4rem; }
  .stage--playing .cargo span > span { font-size: 1.08rem; }
  .cargo strong { font-size: 1.02rem; }
  .cargo__img { width: 40px; height: 40px; }
}

/* Mobil/Tablet: Video randlos oben, darunter Chips (eine Spalte, zentriert) */
@media (max-width: 1024px) {
  .stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "media media" "left right" "cta cta"; column-gap: .5rem; }
  .stage__media {
    --stage-mask-y: linear-gradient(to bottom, #000 88%, transparent);
    --stage-mask-x: linear-gradient(#000, #000);
    margin: 0 calc(-1 * var(--gutter)); width: auto; justify-self: stretch; aspect-ratio: 16 / 9;
  }
  /* Geparkter Sprinter füllt die Breite besser */
  .stage__still { transform: scale(1.2); transform-origin: 50% 60%; }
  .stage__side { margin-top: .9rem; }
  /* Zwei saubere Spalten: links 5, rechts 5 Chips */
  .stage__cargo { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: .45rem; }
  .stage__features { grid-template-columns: 1fr; gap: .75rem; align-content: start; }
  .feature { gap: .6rem; }
  .feature__icon { width: 40px; height: 40px; border-radius: 11px; }
  .feature__icon svg { width: 21px; height: 21px; }
  .feature strong { font-size: .92rem; }
  .feature span > span { font-size: .8rem; }
  .cargo { padding-right: .7rem; border-radius: 14px; min-width: 0; }
  .cargo > a > span:last-child { min-width: 0; }
  .cargo strong { font-size: .82rem; white-space: normal; line-height: 1.15; }
  .cargo__img { width: 32px; height: 32px; }
  .cargo__img svg { width: 17px; height: 17px; }
  .stage__cta { justify-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .stage__cta .btn { padding-inline: .5rem; font-size: .88rem; white-space: nowrap; gap: .4rem; }
  .stage--playing .feature,
  .stage--playing .cargo { --fly-y: 16px; }
  .stage--playing .cargo.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
  .stage--playing .cargo.is-active .cargo__img { transform: none; border-color: rgba(255,255,255,.3); }
}

/* View Transition ins Finale: etwas ruhiger als der Standard */
::view-transition-group(*) { animation-duration: .9s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }

/* ---------- Zielgruppen-Karten ---------- */
.audiences { padding: clamp(1rem, 3vw, 2rem) 0 0; }
.audiences__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
.audience {
  display: flex; flex-direction: column; gap: 1.6rem;
  padding: clamp(1.5rem, 3.2vw, 2.5rem); border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
}
.audience--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.audience__head { display: flex; gap: 1.4rem; align-items: flex-start; }
.audience__icon { width: 52px; height: 52px; flex: none; stroke-width: 1.4; }
.audience h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-bottom: .4rem; }
.audience__head p { color: var(--muted); font-size: 1.05rem; }
.audience--dark .audience__head p { color: rgba(255,255,255,.75); }
.checklist { display: grid; gap: .55rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.audience--dark .checklist { border-top-color: rgba(255,255,255,.18); }
.checklist li { display: flex; align-items: center; gap: .8rem; font-size: 1.02rem; }
.checklist svg { width: 20px; height: 20px; stroke-width: 2; flex: none; }

.benefits {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2rem, 4vw, 3rem);
}
.benefits li { display: grid; gap: .3rem; align-content: start; padding: 0 clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--line); }
.benefits li:first-child { border-left: 0; padding-left: clamp(.5rem, 2vw, 2.5rem); }
.benefits svg { width: 34px; height: 34px; margin-bottom: .6rem; }
.benefits strong { font-size: 1.02rem; }
.benefits span { color: var(--muted); font-size: .95rem; }

@media (max-width: 860px) {
  .audiences__grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; row-gap: 1.75rem; }
  .benefits li, .benefits li:first-child { padding: 0 0 0 1rem; border-left: 1px solid var(--line); }
}

/* ---------- Panels / Ablauf ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.steps { padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem); }
.steps h2, .fleet h2, .contact h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.steps__list {
  --steps-line: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 1.75rem; position: relative;
}
/* Verbindungslinie durch die Nummern – zeichnet sich beim Hineinscrollen */
.steps__list::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px;
  background: var(--ink); transform-origin: left center; transform: scaleX(var(--steps-line));
  transition: transform 1.4s cubic-bezier(.65, 0, .35, 1);
}
.steps__list.is-drawn { --steps-line: 1; }
.steps__list > li { display: flex; gap: 0; align-items: flex-start; position: relative; }
.steps__num {
  position: relative; z-index: 1;
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--white); font-weight: 700;
  box-shadow: 0 0 0 6px var(--panel);
}
.steps__list > li > span:last-child { background: var(--panel); padding: 0 .75rem 0 1.1rem; position: relative; z-index: 1; }
.steps__list > li:last-child > span:last-child { flex: 1; } /* Linie endet bei Schritt 3 */
.steps__list strong { display: block; font-size: 1.1rem; margin-bottom: .2rem; }
.steps__list span span { color: var(--muted); }
.js-steps .steps__num { transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.2, 1.5, .4, 1), opacity .3s; }
.js-steps .steps__list.is-drawn .steps__num { transform: none; opacity: 1; }
.js-steps .steps__list.is-drawn li:nth-child(2) .steps__num { transition-delay: .55s; }
.js-steps .steps__list.is-drawn li:nth-child(3) .steps__num { transition-delay: 1.1s; }
@media (max-width: 900px) {
  .steps__list { grid-template-columns: 1fr; }
  /* senkrechte Linie */
  .steps__list::before {
    left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto;
    transform-origin: center top; transform: scaleY(var(--steps-line));
  }
}

/* ---------- Fuhrpark ---------- */
.fleet { padding: clamp(3rem, 7vw, 5.5rem) 0; overflow-x: clip; }
.fleet__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.fleet__copy p:not(.kicker) { margin-top: 1rem; color: var(--ink-soft); font-size: 1.08rem; max-width: 30rem; }
.fleet__facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.fleet__facts li {
  padding: .45rem .95rem; border-radius: 999px; font-size: .92rem; font-weight: 600;
  background: var(--panel); border: 1px solid var(--line);
}
/* Studio-Foto im Seiten-Beige, Ränder weich auslaufend */
.fleet__media img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
@media (max-width: 860px) {
  .fleet__inner { grid-template-columns: 1fr; }
  .fleet__media { margin: 0 calc(-1 * var(--gutter)); }
}

/* ---------- Scroll-Einblendungen ----------
   Standard: sichtbar. JS setzt .is-pending nur kurz vor dem Beobachten und
   entfernt es garantiert wieder (Observer oder Sicherheits-Timer). */
[data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-pending { opacity: 0; transform: translateY(28px); }

/* ---------- Kleinigkeiten ---------- */
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.icon--wa { width: 1.35em; height: 1.35em; }
.audience { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover: hover) {
  .audience:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(40, 30, 15, .45); }
}

/* ---------- CTA-Leiste ---------- */
.cta-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: var(--ink); color: var(--white); border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.5rem, 4vw, 3rem);
}
.cta-bar h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-bar p { color: rgba(255,255,255,.75); margin-top: .3rem; }
.cta-bar__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Kontakt ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start;
  padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.contact__copy p:not(.kicker) { margin-top: 1rem; color: var(--ink-soft); font-size: 1.08rem; max-width: 26rem; }
.contact-form { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; padding: .3rem; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.tabs__tab { position: relative; }
.tabs__tab input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tabs__tab span { display: block; text-align: center; padding: .6rem .5rem; border-radius: 9px; font-weight: 600; font-size: .92rem; transition: background-color .2s, color .2s; }
.tabs__tab input:checked + span { background: var(--ink); color: var(--white); }
.tabs__tab input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .88rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,.1); }
.contact-form [hidden] { display: none; }
.contact-form__status { padding: .8rem 1rem; border-radius: var(--radius-sm); background: #e5f1e6; color: #1e4d24; font-size: .95rem; }
.contact-form__note { font-size: .82rem; color: var(--muted); }
.contact-form__note a, .contact-form__status a { color: inherit; }
.contact-form__status.is-error { background: #f6e7d8; color: #6b3a12; }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button:disabled { opacity: .6; cursor: progress; }
.contact__direct { display: grid; gap: .6rem; margin-top: 1.5rem; position: relative; z-index: 1; }
.contact__direct a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact__direct a:hover { text-decoration: underline; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 1.5rem; }
.site-footer__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.site-footer__nav a { text-decoration: none; font-size: .9rem; color: var(--ink-soft); }
.site-footer__nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer nav { flex: 1; display: flex; justify-content: center; }
.site-footer__legal { display: flex; gap: 1.5rem; font-size: .9rem; color: var(--muted); }
.site-footer__legal a { color: inherit; text-decoration: none; }
.site-footer__legal a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__copy { margin-top: 1.5rem; font-size: .82rem; color: var(--muted); }
@media (max-width: 860px) {
  .site-footer nav { justify-content: flex-start; flex-basis: 100%; }
}

/* ---------- WhatsApp-Button ----------
   Ein einziges fixiertes Element: unten rechts ist seine Ruheposition. Ganz oben
   verschiebt/skaliert JS es per transform auf den Platzhalter .wa-slot im Header
   (neben „Jetzt anfragen“); beim Scrollen gleitet es zurück nach unten rechts. */
.wa-slot { flex: none; width: 44px; height: 44px; margin-left: -1.1rem; }
@media (max-width: 1200px) {
  .wa-slot { order: 1; margin-left: auto; width: 40px; height: 40px; }
  .nav-toggle { order: 2; margin-left: .5rem; }
}
.wa-float {
  position: fixed; z-index: 60; left: auto; top: auto;
  right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: var(--white);
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .45);
  transform-origin: 0 0;
  transition: transform .7s var(--ease), box-shadow .4s;
}
.wa-float svg { width: 34px; height: 34px; }
.wa-float__bubble { fill: none; stroke: currentColor; stroke-width: 2.2; }
.wa-float__phone { fill: currentColor; stroke: none; }
.wa-float.is-docked { box-shadow: none; }
.wa-float.no-anim { transition: none; }
@media (min-width: 1025px) { .wa-float { width: 64px; height: 64px; right: 1.75rem; bottom: 1.75rem; } }

/* ---------- Schnellkontakt-Box (Desktop) ----------
   Mittig rechts, erscheint nach dem ersten Scrollen (wenn das WhatsApp-Symbol den
   Header verlässt), schließbar. Solange sie offen ist, ruht das WhatsApp-Symbol. */
.dock { display: none; }
@media (min-width: 1101px) {
  .dock {
    display: block; position: fixed; z-index: 61; right: 1.25rem; top: 50%;
    width: 248px; padding: 1.25rem 1.1rem 1.1rem;
    background: var(--ink); color: var(--white); border-radius: 18px;
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55);
    transform: translate(calc(100% + 2rem), -50%); opacity: 0; visibility: hidden;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .4s, visibility 0s .6s;
  }
  .dock.is-open { transform: translate(0, -50%); opacity: 1; visibility: visible; transition-delay: 0s; }
  .dock[hidden] { display: none; }
}
.dock__close {
  position: absolute; top: .55rem; right: .55rem; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.08); border: 0; color: var(--white); cursor: pointer;
}
.dock__close:hover { background: rgba(255,255,255,.18); }
.dock__close svg { width: 16px; height: 16px; stroke-width: 2; }
.dock__title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; padding-right: 2rem; }
.dock__sub { font-size: .85rem; color: rgba(255,255,255,.7); margin: .25rem 0 1rem; }
.dock__list { display: grid; gap: .45rem; }
.dock__opt {
  display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border-radius: 11px;
  background: rgba(255,255,255,.07); color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background-color .2s, transform .2s var(--ease);
}
.dock__opt:hover { background: rgba(255,255,255,.16); transform: translateX(-3px); }
.dock__opt svg { width: 20px; height: 20px; flex: none; }
.dock__opt--wa { background: #25d366; color: #0b2b16; }
.dock__opt--wa:hover { background: #2fe072; }
.dock__opt--form { background: var(--white); color: var(--ink); }
.dock__opt--form:hover { background: #eeeae4; }
/* Solange die Box offen ist, bleibt das WhatsApp-Symbol unten rechts ausgeblendet */
.dock-open .wa-float:not(.is-docked) { opacity: 0; visibility: hidden; pointer-events: none; }
.wa-float { transition: transform .7s var(--ease), box-shadow .4s, opacity .3s; }

/* ---------- Sprinter-Fahrt beim Scrollen (Serpentine) ----------
   Der echte Sprinter fährt immer vorwärts; jede Szene beginnt auf der Seite, auf der
   er die vorige verlassen hat:
   Hero: fährt auf den Besucher zu und unten links aus dem Bild (--exit 0…1)
   Fuhrpark: rechts herein → parkt → links hinaus   (data-drive="inout")
   Kontakt: links herein → parkt                     (data-drive="in-left", Bild mit Blick nach rechts)
   --drive: +1 = rechts außerhalb, 0 = geparkt, −1 = links außerhalb. */
[data-drive] { --drive: 0; translate: calc(var(--drive) * 75vw) 0; will-change: translate; }
.stage__media {
  --exit: 0;
  translate: calc(var(--exit) * -38vw) calc(var(--exit) * 26vh);
  scale: calc(1 + var(--exit) * .45);
  opacity: calc(1 - var(--exit) * var(--exit));
  transform-origin: 30% 80%;
}
.contact__van { margin-top: clamp(1.5rem, 4vw, 3rem); max-width: 520px; }
.contact__van img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.contact, .fleet { overflow-x: clip; }
.contact-form { position: relative; z-index: 1; }
@media (max-width: 860px) { .contact__van { max-width: none; margin-inline: calc(-1 * var(--gutter)); } }

/* =========================================================
   Leistungs-Landingpages (leistungen/*.html, erzeugt von tools/gen_leistungen.py)
   ========================================================= */
.kicker .icon { vertical-align: -3px; margin-right: .35rem; }

/* Startseite: Ladungs-Chips sind Links zur jeweiligen Landingpage */
.cargo__link { display: contents; color: inherit; text-decoration: none; }
.cargo:has(.cargo__link) { cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.stage:not(.stage--playing) .cargo:has(.cargo__link):hover { background: var(--white); border-color: var(--ink); transform: translateY(-2px); }
.cargo:has(.cargo__link:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.lp-hero { padding: clamp(1.25rem, 3.5vw, 3rem) 0 clamp(1.5rem, 4vw, 3rem); overflow-x: clip; }
.lp-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
}
.lp-crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.lp-crumbs a { color: inherit; text-decoration: none; }
.lp-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.lp-hero h1 { font-size: clamp(2.1rem, 4.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; hyphens: manual; overflow-wrap: break-word; }
.lp-hero__inner > * { min-width: 0; }
.lp-crumbs span { overflow-wrap: anywhere; }
.lp-hero__lede { margin-top: 1.1rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-soft); max-width: 36rem; }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Türöffner: geschlossene Hecktüren schwingen in 3D auf, dahinter die Ladung */
.lp-van {
  --lp-mask-x: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  --lp-mask-y: linear-gradient(to bottom, transparent, #000 5%, #000 86%, transparent);
  position: relative; aspect-ratio: 16 / 9; perspective: 1700px;
}
.lp-van > * {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: var(--lp-mask-x), var(--lp-mask-y); mask-image: var(--lp-mask-x), var(--lp-mask-y);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.lp-van__closed, .lp-van__door { display: none; background: url("../assets/img/cargo/closed.webp") center / cover no-repeat; }
.lp-van.js-doors .lp-van__closed, .lp-van.js-doors .lp-van__door { display: block; }
/* Türflügel = Ausschnitte des „geschlossen“-Bildes, Scharniere an den Außenkanten */
.lp-van__door--l { clip-path: inset(9% 51.2% 23% 32.5%); transform-origin: 32.5% 50%; }
.lp-van__door--r { clip-path: inset(9% 34.9% 23% 48.8%); transform-origin: 65.1% 50%; }
.lp-van.is-open .lp-van__closed { opacity: 0; transition: opacity .3s ease .1s; }
.lp-van.is-open .lp-van__door--l { transform: rotateY(-110deg); opacity: 0; transition: transform 1.2s cubic-bezier(.55, 0, .2, 1) .15s, opacity .45s ease .95s; }
.lp-van.is-open .lp-van__door--r { transform: rotateY(110deg); opacity: 0; transition: transform 1.2s cubic-bezier(.55, 0, .2, 1) .15s, opacity .45s ease .95s; }
.lp-van__cargo { transition: transform 1.6s var(--ease); }
.lp-van.js-doors:not(.is-open) .lp-van__cargo { transform: scale(.985); }

/* Beispiele + Stärken */
.lp-info {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start;
  padding-top: clamp(1rem, 3vw, 2rem); padding-bottom: clamp(2rem, 4vw, 3rem);
}
.lp-examples { padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.lp-examples h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.4rem; }
.lp-examples .checklist { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.lp-points { display: grid; gap: clamp(.75rem, 1.5vw, 1rem); }
.lp-point {
  display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; row-gap: .2rem;
  padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--ink); color: var(--white);
}
.lp-point:nth-child(2) { background: var(--panel); color: var(--ink); border: 1px solid var(--line); }
.lp-point__num {
  grid-row: span 2; font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.lp-point:nth-child(odd) .lp-point__num { -webkit-text-stroke-color: rgba(255,255,255,.75); }
.lp-point strong { font-size: 1.15rem; }
.lp-point span:last-child { opacity: .78; font-size: .98rem; }

/* Weitere Leistungen: wischbare Bildleiste */
.lp-more { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.lp-more h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.lp-rail {
  --rail-pad: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 1.5rem var(--rail-pad) 1rem; scroll-padding-inline: var(--rail-pad);
  scrollbar-width: thin;
}
.lp-card {
  flex: 0 0 clamp(230px, 24vw, 330px); scroll-snap-align: start;
  border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.lp-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 45%; transition: transform .6s var(--ease); }
.lp-card span { display: flex; align-items: center; gap: .55rem; padding: .85rem 1rem 1rem; font-weight: 700; }
.lp-card span svg { width: 20px; height: 20px; flex: none; }
@media (hover: hover) {
  .lp-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 22px 40px -28px rgba(40, 30, 15, .45); }
  .lp-card:hover img { transform: scale(1.05); }
}

/* Mobil: fester Anfrage-Button unten (nur Landingpages) */
.lp-sticky { display: none; }

@media (max-width: 900px) {
  .lp-hero__inner { grid-template-columns: 1fr; }
  .lp-van { order: -1; margin: 0 calc(-1 * var(--gutter)); --lp-mask-x: linear-gradient(#000, #000); }
  .lp-hero__cta { display: grid; grid-template-columns: 1fr 1fr; }
  .lp-hero__cta .btn { padding-inline: .5rem; font-size: .9rem; white-space: nowrap; gap: .4rem; }
  .lp-info { grid-template-columns: 1fr; }
  .lp-examples .checklist { grid-template-columns: 1fr; }
  .lp-card { flex-basis: 72vw; }
  .lp-sticky {
    display: inline-flex; position: fixed; z-index: 59;
    left: max(1rem, env(safe-area-inset-left)); right: calc(60px + 2rem);
    bottom: max(1rem, env(safe-area-inset-bottom)); border-radius: 999px;
    box-shadow: 0 12px 28px -12px rgba(0,0,0,.5);
    transition: transform .35s var(--ease), opacity .3s;
  }
  .lp-sticky.is-hidden { transform: translateY(140%); opacity: 0; }
  .lp .site-footer { padding-bottom: 5.5rem; }
}

/* ---------- Rechtstexte (impressum.html, datenschutz.html) ---------- */
.legal { max-width: 46rem; padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.legal h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1.5rem; }
.legal h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 2.5rem 0 .75rem; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.legal p, .legal ul { margin: 0 0 1rem; color: var(--ink-soft); line-height: 1.65; overflow-wrap: break-word; }
.legal ul { padding-left: 1.25rem; list-style: disc; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--ink); }
.legal__stand { margin-top: 2.5rem; font-size: .88rem; color: var(--muted); }

/* ---------- IT-Beratung (Section auf der Startseite + it-beratung.html) ---------- */
.consult-wrap { padding-top: clamp(1rem, 3vw, 2rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.consult {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding: clamp(1.75rem, 4.5vw, 3.5rem); border-radius: calc(var(--radius) + 8px);
  background: var(--ink); color: var(--white);
}
/* feines Raster wie ein Dispo-Bildschirm */
.consult::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 40%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 40%, #000, transparent 70%);
}
.consult > * { position: relative; }
.consult__kicker { color: rgba(255,255,255,.7); display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.consult__new { padding: .2rem .55rem; border-radius: 999px; background: #f2a33a; color: var(--ink); font-weight: 700; letter-spacing: .06em; }
.consult h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
.consult__copy > p:not(.kicker) { margin-top: 1rem; color: rgba(255,255,255,.78); font-size: 1.06rem; line-height: 1.6; max-width: 34rem; }
.consult__wins { display: grid; gap: .7rem; margin-top: 1.5rem; }
.consult__wins li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.45; }
.consult__wins .icon { margin-top: .15rem; color: #f2a33a; }
.consult__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.flow {
  --ok: #3ccf7a;
  border-radius: var(--radius); background: #1b1a19; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); padding: 0 0 1rem; font-size: .92rem; color: rgba(255,255,255,.88);
}
.flow__bar { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.flow__dots { display: flex; gap: .35rem; }
.flow__dots i { width: .6rem; height: .6rem; border-radius: 50%; background: rgba(255,255,255,.18); }
.flow__title { flex: 1; font-weight: 600; font-size: .85rem; color: rgba(255,255,255,.7); }
.flow__live { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; color: var(--ok); text-transform: uppercase; letter-spacing: .08em; }
.flow__live::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--ok); animation: flow-pulse 1.4s ease-in-out infinite; }
.flow__ticket {
  display: grid; gap: .2rem; margin: 1rem 1rem .5rem; padding: .85rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: opacity .35s, transform .45s var(--ease);
}
.flow__ticket.is-swap { opacity: 0; transform: translateY(-10px) scale(.98); }
.flow__src { justify-self: start; padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
             background: rgba(60,207,122,.15); color: var(--ok); }
.flow__ticket strong { font-size: 1.05rem; color: #fff; }
.flow__meta { font-size: .82rem; color: rgba(255,255,255,.55); }
.flow__steps { display: grid; gap: .1rem; padding: .25rem 1rem 0; }
.flow__steps li { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding: .5rem 0;
                  border-bottom: 1px dashed rgba(255,255,255,.08); color: rgba(255,255,255,.4); transition: color .35s; }
.flow__steps li:last-child { border-bottom: 0; }
.flow__steps time { font-variant-numeric: tabular-nums; font-size: .8rem; opacity: 0; transition: opacity .35s; }
.flow__dot { position: relative; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); transition: background-color .3s, border-color .3s; }
.flow__dot::after { content: ""; position: absolute; left: 33%; top: 18%; width: 28%; height: 48%; border: solid var(--ink); border-width: 0 2px 2px 0;
                    transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.flow__steps li.is-active { color: #fff; }
.flow__steps li.is-active .flow__dot { border-color: #f2a33a; animation: flow-pulse 1s ease-in-out infinite; }
/* Ohne JS bzw. bei reduzierter Bewegung (.flow ohne .is-running) stehen alle Schritte auf erledigt */
.flow__steps li.is-done, .flow:not(.is-running) .flow__steps li { color: rgba(255,255,255,.88); }
.flow__steps li.is-done time, .flow:not(.is-running) .flow__steps time { opacity: .6; }
.flow__steps li.is-done .flow__dot, .flow:not(.is-running) .flow__dot { background: var(--ok); border-color: var(--ok); }
.flow__steps li.is-done .flow__dot::after, .flow:not(.is-running) .flow__dot::after { transform: rotate(45deg) scale(1); }
.flow__foot { margin: .6rem 1rem 0; font-size: .8rem; color: rgba(255,255,255,.5); }
.flow__foot span { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
@keyframes flow-pulse { 50% { opacity: .45; } }
@media (max-width: 960px) { .consult { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .flow__live::before, .flow__steps li.is-active .flow__dot { animation: none; }
}

/* ---------- Landingpage IT-Beratung (it-beratung.html) ---------- */
.steps__list--4 { grid-template-columns: repeat(4, 1fr); }
.js-steps .steps__list.is-drawn li:nth-child(4) .steps__num { transition-delay: 1.65s; }
@media (max-width: 1100px) and (min-width: 901px) { .steps__list--4 { grid-template-columns: repeat(2, 1fr); } .steps__list--4::before { display: none; } }
@media (max-width: 900px) { .steps__list--4 { grid-template-columns: 1fr; } }

.it-hero { padding: clamp(1.25rem, 3.5vw, 3rem) 0 clamp(2rem, 5vw, 4rem); }
.it-hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.it-hero h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: .98; }
.it-hero .consult__kicker { color: var(--ink-soft); }
.it-hero__lede { margin-top: 1.25rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--ink-soft); max-width: 36rem; }
.it-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.it-hero__trust { display: grid; gap: .5rem; margin-top: 1.75rem; font-size: .95rem; color: var(--ink-soft); }
.it-hero__trust li { display: flex; gap: .6rem; align-items: center; }
.it-hero__trust .icon { color: #2f9d5d; }
/* die Auftragszentrale schwebt leicht gekippt */
.it-hero__visual { perspective: 1400px; }
.it-hero__visual .flow { transform: rotateY(-8deg) rotateX(3deg); box-shadow: 0 50px 80px -40px rgba(17,17,17,.55); transition: transform .6s var(--ease); }
.it-hero__visual .flow:hover { transform: none; }
@media (max-width: 960px) {
  .it-hero__inner { grid-template-columns: 1fr; }
  .it-hero__visual .flow { transform: none; }
}

.it-section { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.it-section h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 24ch; }
.it-section__lede { margin-top: 1rem; max-width: 40rem; font-size: 1.08rem; line-height: 1.6; color: var(--ink-soft); }

/* Pain Points: Zitatkarten */
.it-pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.it-pain { position: relative; padding: 1.4rem 1.25rem 1.25rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.it-pain .icon { width: 1.6rem; height: 1.6rem; color: #c2410c; }
.it-pain p { margin: .8rem 0 0; font-size: 1.02rem; line-height: 1.45; font-weight: 600; }
.it-pain::after { content: "“"; position: absolute; right: 1rem; top: .2rem; font-size: 3.5rem; line-height: 1; font-weight: 800; color: var(--line); }
@media (max-width: 1100px) { .it-pains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .it-pains { grid-template-columns: 1fr; } }

/* Leistungs-Bausteine */
.it-svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.it-svc { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
          transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.it-svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(17,17,17,.35); }
.it-svc__icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 12px; background: var(--ink); color: #f2a33a; }
.it-svc__icon .icon { width: 1.4rem; height: 1.4rem; }
.it-svc h3 { margin-top: 1rem; font-size: 1.2rem; }
.it-svc p { margin: .6rem 0 0; color: var(--ink-soft); line-height: 1.55; }
.it-svc__win { margin-top: auto !important; padding-top: 1rem; font-size: .95rem; }
.it-svc__win strong { color: #2f9d5d; }
.it-svc > p:not(.it-svc__win) { margin-bottom: 1rem; }
.it-svc--lead { grid-column: span 2; background: var(--ink); color: var(--white); border-color: var(--ink); }
.it-svc--lead .it-svc__icon { background: #f2a33a; color: var(--ink); }
.it-svc--lead p { color: rgba(255,255,255,.78); }
.it-svc--lead .it-svc__win strong { color: #3ccf7a; }
@media (max-width: 1000px) { .it-svcs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .it-svcs { grid-template-columns: 1fr; } .it-svc--lead { grid-column: auto; } }

/* Pflichten-Radar: Zeitleiste */
.it-radar { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.75rem, 4vw, 3rem);
            border-radius: calc(var(--radius) + 8px); background: var(--ink); color: var(--white); }
.it-radar .kicker { color: rgba(255,255,255,.7); }
.it-radar h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.it-radar__head p:not(.kicker) { margin-top: 1rem; color: rgba(255,255,255,.75); line-height: 1.6; }
.it-radar__list { position: relative; display: grid; gap: 1.1rem; padding-left: 1.6rem; }
.it-radar__list::before { content: ""; position: absolute; left: .35rem; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(#3ccf7a, #f2a33a 45%, rgba(255,255,255,.2)); }
.it-radar__list li { position: relative; display: grid; gap: .2rem; }
.it-radar__list li::before { content: ""; position: absolute; left: -1.6rem; top: .3rem; width: .85rem; height: .85rem; border-radius: 50%;
                             background: var(--ink); border: 2px solid #f2a33a; }
.it-radar__list li:nth-child(-n+2)::before { border-color: #3ccf7a; background: #3ccf7a; }
.it-radar__when { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f2a33a; }
.it-radar__list li:nth-child(-n+2) .it-radar__when { color: #3ccf7a; }
.it-radar__list strong { font-size: 1.08rem; }
.it-radar__list span:last-child { color: rgba(255,255,255,.72); line-height: 1.5; }
.it-radar__note { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: rgba(255,255,255,.5); }
@media (max-width: 860px) { .it-radar { grid-template-columns: 1fr; } }

/* Warum balli */
.it-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.it-why li { display: grid; gap: .5rem; padding: 1.5rem; border-top: 3px solid var(--ink); background: var(--panel); border-radius: 0 0 var(--radius) var(--radius); }
.it-why .icon { width: 1.6rem; height: 1.6rem; }
.it-why strong { font-size: 1.15rem; }
.it-why span { color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 860px) { .it-why { grid-template-columns: 1fr; } }

/* FAQ */
.it-faq__list { display: grid; gap: .6rem; margin-top: 1.5rem; max-width: 52rem; }
.it-faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.it-faq__item summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.25rem; font-weight: 600; position: relative; }
.it-faq__item summary::-webkit-details-marker { display: none; }
.it-faq__item summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; transition: transform .25s var(--ease); }
.it-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.it-faq__item p { margin: 0; padding: 0 1.25rem 1.1rem; color: var(--ink-soft); line-height: 1.6; }

/* Bilder der IT-Beratung */
.it-band { position: relative; margin: 0; border-radius: calc(var(--radius) + 8px); overflow: hidden; background: var(--panel); }
.it-band img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.it-band figcaption {
  position: absolute; left: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem); max-width: 30rem;
  padding: 1rem 1.25rem; border-radius: var(--radius); background: rgba(17,17,17,.82); color: rgba(255,255,255,.85);
  line-height: 1.5; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.it-band figcaption strong { display: block; color: var(--white); font-size: 1.15rem; margin-bottom: .2rem; }
@media (max-width: 620px) {
  .it-band figcaption { position: static; max-width: none; border-radius: 0; background: var(--ink); }
}
.it-why-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; margin-top: 2rem; align-items: stretch; }
.it-why-wrap .it-why { grid-template-columns: 1fr; margin-top: 0; }
.it-why__img { margin: 0; border-radius: var(--radius); overflow: hidden; }
.it-why__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; min-height: 320px; }
@media (max-width: 860px) { .it-why-wrap { grid-template-columns: 1fr; } }
