/* Semnal — Vulcanizare Mobilă 24/7
   Asphalt, Signal-Orange, Reflex-Gelbgrün. HUD-Glas mit schräg geschnittener Ecke.
   Ein-/Ausblendzustände nur unter html.js und nur ohne prefers-reduced-motion. */

:root {
  --asfalt: #15171a;
  --asfalt-2: #1e2125;
  --asfalt-3: #2a2e33;
  --asfalt-4: #3a3f46;
  --alb: #f4f4f2;
  --gri: #a3a7ad;
  --gri-2: #c9ccd0;
  --semnal: #ff5b1f;
  --semnal-2: #ff7444;
  --reflex: #d7ff3a;

  --glass: rgba(30, 33, 37, .5);
  --glass-text: rgba(30, 33, 37, .78);
  --seam: linear-gradient(90deg, rgba(255, 91, 31, .95), rgba(255, 91, 31, 0) 72%);

  --f-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --gutter: max(20px, calc(50vw - 620px));
  --head-band: 28px;
  --head-bar: 60px;
  --head-h: calc(var(--head-band) + var(--head-bar));
  --actbar-h: 76px;

  --h2: clamp(2.25rem, 1.35rem + 3.6vw, 4.25rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --cut: 18px;
}

@media (min-width: 1100px) {
  :root { --head-bar: 72px; --actbar-h: 0px; }
}

/* ---------- Grundlagen ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
  background: var(--asfalt);
  scroll-padding-top: calc(var(--head-h) + 16px);
  scroll-padding-bottom: calc(var(--actbar-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-width: 0;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--alb);
  background: var(--asfalt) url(asfalt.png) repeat;
  background-size: 180px 180px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(var(--actbar-h) + env(safe-area-inset-bottom, 0px));
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
  text-wrap: balance;
}

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

::selection { background: var(--semnal); color: var(--asfalt); }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap { padding-inline: var(--gutter); }

.h2 { font-size: var(--h2); letter-spacing: -.04em; line-height: .98; }

.ico {
  width: 22px; height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--sm { width: 18px; height: 18px; }
.ico--lg { width: 30px; height: 30px; }

/* kleine Reflex-Marke */
.mark {
  display: inline-block;
  width: 8px; height: 8px;
  flex: none;
  background: var(--reflex);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 0 10px rgba(215, 255, 58, .6);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: .8125rem;
  letter-spacing: .02em;
  color: var(--semnal);
}

/* Platzhalter: gestrichelter Rahmen in der Akzentfarbe */
.de-completat {
  display: inline-block;
  padding: 0 .35em;
  border: 1.5px dashed var(--semnal);
  border-radius: 3px;
  background: rgba(255, 91, 31, .1);
  line-height: 1.35;
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--reflex);
  color: var(--asfalt);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- HUD-Glas ---------- */

.hud {
  position: relative;
  background: var(--seam) top left / 100% 2px no-repeat, var(--glass-text);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
/* Kante der geschnittenen Ecke */
.hud::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: var(--cut); height: var(--cut);
  background: linear-gradient(to bottom left, transparent calc(50% - 1px), rgba(255, 91, 31, .9) calc(50% - 1px), rgba(255, 91, 31, .9) calc(50% + 1px), transparent calc(50% + 1px));
  pointer-events: none;
}

/* Eckmarken für Bildrahmen */
.frame-ticks { position: absolute; inset: 12px; pointer-events: none; z-index: 2; }
.frame-ticks i {
  position: absolute;
  width: 16px; height: 16px;
  border: 0 solid rgba(244, 244, 242, .85);
}
.frame-ticks i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.frame-ticks i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.frame-ticks i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.frame-ticks i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }

/* ---------- Knöpfe ---------- */

.btn {
  --c: 12px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%);
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--semnal); color: var(--asfalt); }
.btn--primary:hover { background: var(--semnal-2); }
.btn--ghost {
  background: rgba(244, 244, 242, .06);
  color: var(--alb);
  box-shadow: inset 0 0 0 1.5px rgba(244, 244, 242, .42);
}
.btn--ghost::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: var(--c); height: var(--c);
  background: linear-gradient(to bottom left, transparent calc(50% - 1px), rgba(244, 244, 242, .42) calc(50% - 1px), rgba(244, 244, 242, .42) calc(50% + 1px), transparent calc(50% + 1px));
}
.btn--ghost:hover { background: rgba(244, 244, 242, .12); }
.btn--lg { min-height: 56px; padding: 0 24px; font-size: 1.0625rem; --c: 14px; }
.btn--block { width: 100%; }
/* Fokusrahmen sichtbar trotz clip-path */
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--reflex); }
.btn--primary:focus-visible { box-shadow: inset 0 0 0 3px var(--asfalt), inset 0 0 0 5px var(--reflex); }

/* ---------- Kopf ---------- */

.head {
  position: sticky;
  top: 0;
  z-index: 50;
}

.head__demo {
  height: var(--head-band);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 12px;
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .01em;
  color: var(--gri-2);
  background: #0c0d0f;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  white-space: nowrap;
  overflow: hidden;
}
.head__demo .mark { width: 6px; height: 6px; }

.head__bar {
  position: relative;
  height: var(--head-bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: var(--gutter);
  background: rgba(21, 23, 26, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.head__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--semnal);
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 10px rgba(255, 91, 31, .7);
  pointer-events: none;
}
html:not(.js) .head__progress { display: none; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.025em; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Sehr schmale Geräte (320 px): Marke und Menüknopf passen nebeneinander */
@media (max-width: 359px) {
  .head__bar { gap: 8px; padding-inline: 14px; }
  .brand { gap: 7px; }
  .brand__name { font-size: .9375rem; }
}

.badge {
  display: inline-block;
  padding: 3px 7px 2px 6px;
  font-family: var(--f-mono);
  font-size: .75rem;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--asfalt);
  background: var(--reflex);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}

.nav__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -.01em;
}

.menu-btn {
  position: relative;
  width: 48px; height: 48px;
  flex: none;
  margin-right: -6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-btn__l {
  position: absolute;
  left: 12px;
  height: 2px;
  background: var(--alb);
  transition: transform .3s var(--ease), width .3s var(--ease);
}
.menu-btn__l:nth-child(1) { top: 19px; width: 24px; }
.menu-btn__l:nth-child(2) { top: 27px; width: 16px; background: var(--semnal); }
.menu-btn[aria-expanded="true"] .menu-btn__l:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__l:nth-child(2) { width: 24px; transform: translateY(-4px) rotate(-45deg); }

/* Mobil: Navigation als Klappfeld */
@media (max-width: 1099.98px) {
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    padding: 12px var(--gutter) 24px;
    background: #15171a;
    border-bottom: 1px solid rgba(255, 91, 31, .5);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .55);
  }
  .js .nav:not(.is-open) { display: none; }
  /* Querformat und niedrige Bildschirme: das offene Menü endet am unteren Rand und scrollt in sich */
  .js .nav {
    max-height: calc(100vh - var(--head-h) - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - var(--head-h) - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav__list a {
    min-height: 56px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -.03em;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  /* ohne JS: Navigation als wischbare Linkzeile unter der Marke */
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .head__bar { flex-wrap: wrap; height: auto; min-height: var(--head-bar); padding-top: 8px; row-gap: 0; }
  html:not(.js) .nav {
    position: static;
    flex: 0 0 calc(100% + 2 * var(--gutter));
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
    overflow-x: auto;
    background: none;
    border: 0;
    box-shadow: none;
  }
  html:not(.js) .nav__list { display: flex; flex-wrap: nowrap; gap: 22px; white-space: nowrap; }
  html:not(.js) .nav__list a { font-size: 1rem; font-weight: 500; min-height: 44px; border: 0; }
  html:not(.js) .nav__cta { display: none; }
}

@media (min-width: 1100px) {
  .menu-btn { display: none; }
  .nav { display: flex; align-items: center; gap: 36px; }
  .nav__list { display: flex; gap: 26px; }
  .nav__list a { position: relative; font-size: .9688rem; color: var(--gri-2); transition: color .2s; }
  .nav__list a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 8px;
    height: 2px;
    background: var(--semnal);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .25s var(--ease);
  }
  .nav__list a:hover { color: var(--alb); }
  .nav__list a:hover::after { transform: scaleX(1); }
  .nav__cta { display: flex; gap: 10px; }
  .nav__cta .btn { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "media" "text" "chips";
  margin-top: calc(-1 * var(--head-h));
}

.hero__media {
  grid-area: media;
  position: relative;
  height: clamp(400px, 60svh, 560px);
}

.hero__feed {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
  background: #0e0f11;
}

/* Bildbox im Bildformat 3:2, deckt den Feed; Fadenkreuz liegt in Bildkoordinaten */
.hero__box {
  --bw: max(100cqw, 150cqh);
  --bh: calc(var(--bw) / 1.5);
  --tx: 60cqw;
  --ty: 57cqh;
  position: absolute;
  width: var(--bw);
  height: var(--bh);
  left: clamp(100cqw - var(--bw), var(--tx) - var(--bw) * .676, 0px);
  top: clamp(100cqh - var(--bh), var(--ty) - var(--bh) * .5, 0px);
}
.hero__box img { width: 100%; height: 100%; object-fit: cover; }

.hero__feed::before {
  /* Rasterlinien wie ein Monitor */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.hero__feed::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(21, 23, 26, .72) 0, rgba(21, 23, 26, 0) 30%),
    linear-gradient(to top, var(--asfalt) 0, rgba(21, 23, 26, .82) 24%, rgba(21, 23, 26, 0) 52%);
  pointer-events: none;
}

.reticle {
  position: absolute;
  left: 49.5%; top: 26%;
  width: 36%; height: 48%;
  z-index: 2;
}
.reticle__c {
  position: absolute;
  width: 18%; height: 21%;
  max-width: 34px; max-height: 34px;
  border: 0 solid var(--semnal);
  filter: drop-shadow(0 0 6px rgba(255, 91, 31, .65));
}
.reticle__c--tl { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; }
.reticle__c--tr { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; }
.reticle__c--bl { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; }
.reticle__c--br { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; }
.reticle__ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 44%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1.5px dashed rgba(215, 255, 58, .85);
  border-radius: 50%;
}
.reticle__x {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 18px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(var(--reflex), var(--reflex)) center / 2px 100% no-repeat,
    linear-gradient(var(--reflex), var(--reflex)) center / 100% 2px no-repeat;
}

.hero__scan {
  /* Abtastlinie: Linie an der Unterkante, Element fährt von oben nach unten */
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(215, 255, 58, 0) 70%, rgba(215, 255, 58, .14) calc(100% - 2px), var(--reflex) calc(100% - 2px));
  opacity: 0;
  pointer-events: none;
}

.hero .frame-ticks { inset: calc(var(--head-h) + 12px) 14px 14px; }
.hero .frame-ticks i:nth-child(n+3) { display: none; }
.hero .frame-ticks i { border-color: rgba(244, 244, 242, .6); }

.hero__text {
  grid-area: text;
  position: relative;
  z-index: 2;
  margin-top: -84px;
  padding: 0 var(--gutter);
}

.hero__titlu {
  margin-top: 14px;
  font-size: clamp(3.25rem, 1rem + 5.4vw, 6rem);
  letter-spacing: -.045em;
  line-height: .92;
}
.hero__titlu span { display: block; }

.hero__lead {
  max-width: 34em;
  margin-top: 20px;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--gri-2);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero__cta .btn { flex: 1 1 auto; }

.chips {
  grid-area: chips;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px var(--gutter) 0;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 6px 12px;
  font-size: .9063rem;
  font-weight: 500;
  color: var(--alb);
  border: 1px solid rgba(244, 244, 242, .18);
  background: rgba(244, 244, 242, .03);
}
.chips .mark { width: 6px; height: 6px; }

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "text media";
    min-height: max(700px, 100svh);
    padding-left: var(--gutter);
  }
  .hero__text {
    align-self: center;
    margin-top: 0;
    padding: calc(var(--head-h) + 48px) 48px 120px 0;
  }
  .hero__media {
    height: auto;
    margin-top: calc(var(--head-h) + 20px);
    margin-bottom: 24px;
  }
  .hero__feed {
    clip-path: polygon(56px 0, 100% 0, 100% 100%, 0 100%, 0 56px);
  }
  .hero__feed::after {
    background:
      linear-gradient(to right, rgba(21, 23, 26, .7) 0, rgba(21, 23, 26, 0) 28%),
      linear-gradient(to top, rgba(21, 23, 26, .85) 0, rgba(21, 23, 26, 0) 34%);
  }
  .hero__box { --tx: 60cqw; --ty: 50cqh; }
  .hero .frame-ticks { inset: 18px; }
  .hero .frame-ticks i:nth-child(n+3) { display: block; }
  .hero__lead { font-size: 1.25rem; }
  .hero__cta .btn { flex: 0 0 auto; }

  .chips {
    grid-area: media;
    align-self: end;
    justify-self: start;
    z-index: 3;
    margin: 0 0 64px -48px;
    padding: 0;
    gap: 0;
    background: var(--seam) top left / 100% 2px no-repeat, rgba(30, 33, 37, .72);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  }
  .chips li {
    min-height: 56px;
    padding: 0 22px;
    border: 0;
    border-right: 1px solid rgba(244, 244, 242, .12);
    background: none;
  }
  .chips li:last-child { border-right: 0; padding-right: 30px; }
}

/* ---------- Povestea: Fahrbahn und Kilometersteine ---------- */

.story {
  position: relative;
  padding: 104px 0 40px;
}
.story__head { padding-inline: var(--gutter); margin-bottom: 48px; }

.story__track {
  --road-w: 34px;
  position: relative;
  padding: 24px var(--gutter) 120px 0;
}

.road {
  position: absolute;
  left: 0; top: 0;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 64px, #000 calc(100% - 140px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 64px, #000 calc(100% - 140px), transparent 100%);
}
.road path { fill: none; }
.road__edge { stroke: rgba(244, 244, 242, .5); stroke-width: calc(var(--road-w) + 4px); }
.road__surface { stroke: #26292e; stroke-width: var(--road-w); }
.road__dash { stroke-width: 3px; stroke-dasharray: 14 12; }
.road__dash--ghost { stroke: rgba(244, 244, 242, .16); }
.road__dash--lit { stroke: var(--alb); }
.road__reveal { stroke: #fff; stroke-width: 14px; }

.van {
  position: absolute;
  left: 0; top: 0;
  z-index: 3;
  width: 60px; height: 110px;
  transform-origin: 30px 64px;
  pointer-events: none;
  will-change: transform;
}
.van svg { display: block; transform: scale(.82); transform-origin: 30px 64px; overflow: visible; }
.van__ping { fill: none; stroke: var(--semnal); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
html:not(.js) .van, html:not(.js) .road { display: none; }

.km {
  --road: 28px;
  position: relative;
  z-index: 1;
  padding: 0 0 96px 64px;
}
.km:last-child { padding-bottom: 0; }

.km__node { position: absolute; left: var(--road); top: 30px; width: 0; height: 0; }

/* Bornă kilometrică */
.borna {
  position: absolute;
  left: var(--road);
  top: 0;
  z-index: 2;
  width: 42px; height: 58px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 21px 21px 4px 4px;
  background: linear-gradient(var(--semnal) 0 40%, var(--alb) 40% 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55), inset 0 -3px 0 rgba(0, 0, 0, .12);
  color: var(--asfalt);
  overflow: hidden;
}
.borna__km { margin-top: 8px; font-family: var(--f-mono); font-size: .625rem; line-height: 1; letter-spacing: .04em; }
.borna__nr { margin-top: 8px; font-family: var(--f-mono); font-size: 1.375rem; line-height: 1; font-weight: 400; }
.borna__refl {
  position: absolute;
  left: 50%; bottom: 5px;
  width: 60%; height: 4px;
  transform: translateX(-50%);
  background: #8e9a5a;
  transition: background-color .3s, box-shadow .3s;
}
.borna.is-passed .borna__refl,
html:not(.js) .borna__refl { background: var(--reflex); box-shadow: 0 0 12px var(--reflex); }

.km__block { display: flex; flex-direction: column; }
/* Malreihenfolge eindeutig: WebKit malt positionierte Elemente ohne z-index nach
   DOM-Reihenfolge (das Foto steht im DOM hinter der Karte), Chromium nach order —
   mit z-index liegt die Karte in jeder Engine über dem Foto */
.km__foto { order: -1; position: relative; z-index: 0; }

.km__frame {
  position: relative;
  padding: 7px;
  background:
    var(--seam) top left / 100% 2px no-repeat,
    linear-gradient(170deg, rgba(244, 244, 242, .13), rgba(244, 244, 242, .04) 40%, rgba(244, 244, 242, .07));
  box-shadow: inset 0 0 0 1px rgba(244, 244, 242, .14), 0 30px 60px -20px rgba(0, 0, 0, .7);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  overflow: hidden;
}
.km__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 17px, 100% 100%, 0 100%);
}
.km__frame::after {
  /* dunkelt die Zone ab, über der die Glas-Karte liegt */
  content: "";
  position: absolute;
  inset: 7px;
  background: linear-gradient(to top, rgba(21, 23, 26, .94) 0, rgba(21, 23, 26, .86) 16%, rgba(21, 23, 26, 0) 40%);
  pointer-events: none;
}
.pos-curba { object-position: 50% 50%; }
.pos-stiva { object-position: 50% 50%; }
.pos-duba { object-position: 50% 85%; }
.pos-gata { object-position: 46% 50%; }

.km__scan {
  position: absolute;
  z-index: 1;
  inset: 7px;
  background: linear-gradient(to bottom, rgba(215, 255, 58, 0) 72%, rgba(215, 255, 58, .16) calc(100% - 2px), var(--reflex) calc(100% - 2px));
  opacity: 0;
  pointer-events: none;
}

.km__card {
  position: relative;
  z-index: 1;
  margin: -52px 0 0 14px;
  padding: 22px 22px 24px;
}
.km__count { font-family: var(--f-mono); font-size: .8125rem; color: var(--semnal); letter-spacing: .02em; }
.km__titlu { margin-top: 10px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -.035em; }
.km__card p:last-child { margin-top: 12px; color: var(--gri-2); }
.ora { font-family: var(--f-mono); font-size: .95em; color: var(--alb); background: rgba(255, 91, 31, .18); padding: 0 .3em; }

/* ohne JS: Fahrbahn als einfache Spur hinter jedem Kapitel */
html:not(.js) .km::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--road) - var(--road-w) / 2);
  width: var(--road-w);
  z-index: -1;
  background:
    repeating-linear-gradient(to bottom, var(--alb) 0 14px, transparent 14px 26px) center / 3px 100% no-repeat,
    #26292e;
  box-shadow: inset 2px 0 0 rgba(244, 244, 242, .5), inset -2px 0 0 rgba(244, 244, 242, .5);
}

@media (min-width: 960px) {
  .story { padding-top: 140px; }
  .story__head { margin-bottom: 24px; }
  .story__track {
    --road-w: 60px;
    margin-inline: var(--gutter);
    padding: 80px 0 150px;
  }
  .road__edge { stroke-width: calc(var(--road-w) + 5px); }
  .road__dash { stroke-width: 4px; stroke-dasharray: 22 18; }
  .road__reveal { stroke-width: 20px; }
  .van svg { transform: scale(1.2); }

  .km { padding: 0 0 280px; }
  .km:last-child { padding-bottom: 0; }
  .km--a { --road: 33%; }
  .km--b { --road: 67%; }
  .km__node { top: 0; }

  .borna {
    top: 18px;
    width: 92px; height: 128px;
    border-radius: 46px 46px 6px 6px;
  }
  .km--a .borna { left: calc(var(--road) - 118px); }
  .km--b .borna { left: calc(var(--road) + 118px); }
  .borna__km { margin-top: 18px; font-size: .9375rem; }
  .borna__nr { margin-top: 26px; font-size: 3rem; }
  .borna__refl { bottom: 10px; height: 6px; }

  .km__block { flex-direction: row; align-items: flex-start; width: 58%; }
  .km--a .km__block { margin-left: 42%; }
  .km--b .km__block { margin-right: 42%; flex-direction: row-reverse; }
  .km__foto { flex: 0 0 47%; }
  .km__frame img { aspect-ratio: 3 / 4; }
  .pos-curba { object-position: 50% 78%; }
  .pos-duba { object-position: 50% 100%; }
  .km__card {
    flex: 0 0 59%;
    margin: 33% 0 0 -6%;
    padding: 30px 32px 32px;
  }
  .km--b .km__card { margin: 33% -6% 0 0; }
  .km--a .km__frame::after { background: linear-gradient(to top, rgba(21, 23, 26, .7) 0, rgba(21, 23, 26, 0) 40%), linear-gradient(to left, rgba(21, 23, 26, .78) 0, rgba(21, 23, 26, 0) 30%); }
  .km--b .km__frame::after { background: linear-gradient(to top, rgba(21, 23, 26, .7) 0, rgba(21, 23, 26, 0) 40%), linear-gradient(to right, rgba(21, 23, 26, .78) 0, rgba(21, 23, 26, 0) 30%); }

  /* ohne JS: Querstück in der Mitte der Lücke verbindet die Spur zwischen den Kapiteln */
  html:not(.js) .km:not(:last-child)::before { bottom: 140px; }
  html:not(.js) .km + .km::before { top: -140px; }
  html:not(.js) .km + .km::after {
    content: "";
    position: absolute;
    top: calc(-140px - var(--road-w) / 2);
    left: calc(33% - var(--road-w) / 2);
    right: calc(33% - var(--road-w) / 2);
    height: var(--road-w);
    z-index: -1;
    background:
      repeating-linear-gradient(to right, var(--alb) 0 22px, transparent 22px 40px) center / 100% 4px no-repeat,
      #26292e;
    box-shadow: inset 0 2px 0 rgba(244, 244, 242, .5), inset 0 -2px 0 rgba(244, 244, 242, .5);
  }
}

/* ---------- Preluare 24/7 ---------- */

.preluare {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0 104px;
}
.preluare__bg { position: absolute; inset: 0; z-index: -1; }
.preluare__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); opacity: .3; }
.preluare__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(asfalt.png) 0 0 / 180px 180px repeat, linear-gradient(to bottom, var(--asfalt) 0, rgba(21, 23, 26, .82) 22%, rgba(21, 23, 26, .72) 40%, rgba(21, 23, 26, .72) 76%, var(--asfalt) 100%);
}

.preluare__head { display: grid; gap: 20px; }
.preluare__head .h2 { margin-top: 14px; }
.preluare__text { max-width: 36em; font-size: 1.125rem; color: var(--gri-2); }

.meter { margin-top: 56px; }
.meter__bars {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 3px;
  height: 96px;
  padding-inline: 8px;
}
.meter__seg {
  position: relative;
  background: var(--asfalt-3);
  transform: skewX(-12deg);
}
.meter__seg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--semnal), var(--semnal-2));
  box-shadow: 0 0 16px rgba(255, 91, 31, .55);
}
.meter__seg i {
  position: absolute;
  left: 0; top: 100%;
  margin-top: 10px;
  transform: skewX(12deg);
  font-family: var(--f-mono);
  font-style: normal;
  font-size: .6875rem;
  color: var(--gri);
}
.meter__seg:not(:nth-child(6n+1)) i { display: none; }
.meter__cap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  font-family: var(--f-mono);
  font-size: .875rem;
  color: var(--alb);
}

.tags { display: grid; gap: 12px; margin-top: 48px; }
.tag {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 22px 22px 46px;
  background: var(--asfalt-2);
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 50%);
}
.tag::before {
  /* Loch des Etiketts */
  content: "";
  position: absolute;
  left: 18px; top: 50%;
  width: 10px; height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--asfalt);
  box-shadow: inset 0 0 0 2px rgba(244, 244, 242, .35);
}
.tag::after {
  content: "";
  position: absolute;
  left: 22px; top: 0; bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(244, 244, 242, .2) 0 4px, transparent 4px 8px);
}
.tag__nr {
  font-family: var(--f-mono);
  font-size: 1.375rem;
  line-height: 1;
  color: var(--semnal);
}
.tag__titlu { font-size: 1.375rem; letter-spacing: -.03em; }
.tag p { margin-top: 6px; color: var(--gri-2); font-size: 1rem; }

.preluare__cta { margin-top: 36px; }

@media (min-width: 860px) {
  .tags { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

@media (min-width: 960px) {
  .preluare { padding: 120px 0 140px; }
  .preluare__head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 64px; }
  .preluare__text { font-size: 1.25rem; }
  .meter { margin-top: 80px; }
  .meter__bars { height: 156px; gap: 7px; padding-inline: 16px; }
  .meter__seg:not(:nth-child(6n+1)) i { display: block; color: rgba(163, 167, 173, .7); }
  .meter__seg i { font-size: .75rem; }
  .tags { margin-top: 64px; }
}

/* ---------- Servicii: Einsatzkarten ---------- */

.servicii { padding: 112px 0 96px; }
.servicii__head { display: grid; gap: 28px; margin-bottom: 40px; }
.hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: .8125rem;
  color: var(--gri-2);
}
.hint .ico { color: var(--semnal); }

.servicii__foto { position: relative; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.servicii__foto img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 100%; }
.servicii__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 23, 26, .5), rgba(21, 23, 26, 0) 50%);
  pointer-events: none;
}

.cards { display: grid; gap: 14px; align-items: start; }

.card {
  --cut: 22px;
  position: relative;
  background: var(--asfalt-2);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: background-color .3s;
}
/* Reflexstreifen */
.card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 11px;
  background: repeating-linear-gradient(-45deg, var(--semnal) 0 8px, #0f1012 8px 16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.card::after {
  /* Reflektor-Marke unten links */
  content: "";
  position: absolute;
  left: 20px; bottom: 0;
  width: 26px; height: 3px;
  background: var(--reflex);
  opacity: .55;
  transition: opacity .3s, box-shadow .3s;
}
.card.is-open { background: #23272c; }
.card.is-open::after { opacity: 1; box-shadow: 0 0 12px var(--reflex); }
html:not(.js) .card::after { opacity: 1; }

.card__h, .faq__h { margin: 0; font-size: inherit; letter-spacing: normal; line-height: inherit; }

.tap__btn {
  position: relative;
  width: 100%;
  margin: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.tap__btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--reflex); }

.card__btn {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 40px;
  grid-template-areas: "icon titles toggle" "icon hint hint";
  column-gap: 16px;
  row-gap: 14px;
  align-items: start;
  padding: 33px 18px 22px 20px;
  min-height: 44px;
}
/* Lichtschimmer über den Reflexstreifen beim Öffnen */
.card__btn::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 40%; height: 11px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: translateX(-110%);
  pointer-events: none;
}
.card.is-open .card__btn::before { animation: sheen .7s var(--ease) 1; }
@keyframes sheen { to { transform: translateX(260%); } }

.card__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  color: var(--semnal);
  background: var(--asfalt-3);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.card__icon .ico { width: 28px; height: 28px; }
.card__titles { grid-area: titles; display: grid; gap: 6px; padding-top: 2px; }
.card__title { font-size: 1.375rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.card__sub { font-size: 1rem; color: var(--gri-2); line-height: 1.4; }

.tap__hint {
  grid-area: hint;
  font-family: var(--f-mono);
  font-size: .75rem;
  color: var(--gri);
  letter-spacing: .01em;
}
.tap__close { display: none; }
.tap.is-open .tap__open { display: none; }
.tap.is-open .tap__close { display: inline; }

.tap__toggle {
  grid-area: toggle;
  position: relative;
  width: 40px; height: 40px;
  justify-self: end;
  border: 1.5px solid rgba(244, 244, 242, .3);
  transition: border-color .3s, background-color .3s;
}
.tap__toggle::before, .tap__toggle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2px;
  margin: -1px 0 0 -7px;
  background: var(--alb);
}
.tap__toggle::before { transition: transform .4s var(--ease); }
.tap__toggle::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.tap.is-open .tap__toggle { border-color: var(--semnal); background: var(--semnal); }
.tap.is-open .tap__toggle::before { transform: rotate(45deg); }
.tap.is-open .tap__toggle::after { transform: rotate(135deg); }
.tap.is-open .tap__toggle::before, .tap.is-open .tap__toggle::after { background: var(--asfalt); }
html:not(.js) .tap__hint, html:not(.js) .tap__toggle { display: none; }

/* Aufklappen: Höhe über grid-template-rows */
.tap__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .45s var(--ease), visibility 0s linear 0s;
}
.tap__inner { min-height: 0; overflow: hidden; }
.js .tap:not(.is-open) .tap__panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .4s var(--ease), visibility 0s linear .4s;
}
.tap__body { padding: 0 20px 26px 88px; }
.tap__body > p { color: var(--gri-2); }
.js .tap .tap__body { opacity: 1; transform: none; transition: opacity .35s .08s, transform .45s var(--ease) .05s; }
.js .tap:not(.is-open) .tap__body { opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .3s; }

.points { display: grid; gap: 8px; margin: 18px 0 22px; }
.points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: .9688rem;
}
.points li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  background: var(--reflex);
  transform: translateY(-1px);
}

@media (max-width: 479.98px) {
  .tap__body { padding-left: 20px; }
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__sub { min-height: 2.8em; }
}
@media (min-width: 960px) {
  .servicii { padding: 136px 0 120px; }
  .servicii__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: end; gap: 64px; margin-bottom: 56px; }
  .servicii__foto img { aspect-ratio: 12 / 5; object-position: 50% 80%; }
}
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

/* ---------- De ce noi ---------- */

.motive {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0;
}
.motive__bg { position: absolute; inset: 0; z-index: -1; }
.motive__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(.8); opacity: .5; }
.motive__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(asfalt.png) 0 0 / 180px 180px repeat, linear-gradient(to bottom, var(--asfalt) 0, rgba(21, 23, 26, .35) 30%, rgba(21, 23, 26, .35) 70%, var(--asfalt) 100%);
}
.motive__grid { display: grid; gap: 12px; margin-top: 40px; }
.motiv {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  padding: 22px 22px 24px;
}
.motiv .ico { grid-row: span 2; color: var(--semnal); margin-top: 2px; }
.motiv__titlu { font-size: 1.375rem; letter-spacing: -.03em; line-height: 1.15; }
.motiv p { color: var(--gri-2); font-size: 1rem; }

@media (min-width: 720px) {
  .motive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .motive { padding: 136px 0; }
  .motive__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
  .motiv { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 28px 26px 32px; min-height: 260px; align-content: start; }
  .motiv .ico { grid-row: auto; width: 36px; height: 36px; margin-bottom: 36px; }
}

/* ---------- Întrebări ---------- */

.faq { padding: 112px 0 96px; }
.faq__wrap { display: grid; gap: 36px; }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  position: relative;
  background: var(--asfalt-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition: background-color .3s;
}
.faq__item::before {
  /* Reflexstreifen links */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 7px;
  background: repeating-linear-gradient(-45deg, var(--semnal) 0 7px, #0f1012 7px 14px);
}
.faq__item.is-open { background: #23272c; }
.faq__btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  grid-template-areas: "q toggle";
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 16px 16px 16px 28px;
}
.faq__q { grid-area: q; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.faq__item .tap__body { padding: 0 24px 24px 28px; max-width: 46em; }

@media (min-width: 960px) {
  .faq { padding: 136px 0 120px; }
  .faq__wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .faq__wrap .h2 { position: sticky; top: calc(var(--head-h) + 40px); }
  .faq__q { font-size: 1.3125rem; }
  .faq__btn { min-height: 84px; padding-left: 34px; }
  .faq__item .tap__body { padding-left: 34px; }
}

/* ---------- Contact ---------- */

.contact { padding: 112px 0 104px; }
.contact__grid { display: grid; gap: 40px; }
.contact__lead { margin-top: 18px; font-size: 1.1875rem; color: var(--gri-2); max-width: 28em; }

.direct { display: grid; gap: 10px; margin-top: 28px; }
.direct__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-height: 60px;
  padding: 10px 16px;
  text-decoration: none;
  background: var(--asfalt-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background-color .2s;
}
.direct__link:hover { background: #262a2f; }
.direct__link:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--reflex); }
.direct__ico { display: grid; place-items: center; width: 38px; height: 38px; background: var(--semnal); color: var(--asfalt); }
.direct__label { font-weight: 600; font-size: 1.125rem; min-width: 5.5em; }

.contact__foto { position: relative; display: none; margin-top: 36px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.contact__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 50%; }

.form { padding: 26px 20px 24px; }
.field { display: grid; gap: 8px; margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend {
  padding: 0;
  font-family: var(--f-mono);
  font-size: .8125rem;
  letter-spacing: .01em;
  color: var(--gri-2);
}
.field > legend { margin-bottom: 8px; }
.field input[type="text"], .field input[type="tel"], .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font-size: 1rem;
  color: var(--alb);
  background: #101215;
  border: 1px solid var(--asfalt-4);
  border-radius: 0;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 104px; resize: vertical; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: #80868e; opacity: 1; }
.field input[type="text"]:focus-visible, .field input[type="tel"]:focus-visible, .field textarea:focus-visible {
  border-color: var(--semnal);
  box-shadow: 0 0 0 2px var(--reflex);
}
.field__row { display: grid; gap: 8px; }
.loc-btn { justify-content: flex-start; }
.field__note { min-height: 0; font-family: var(--f-mono); font-size: .8125rem; color: var(--reflex); }
/* leer aus dem Raster genommen, aber nicht display:none: die Live-Region bleibt im
   Barrierefreiheitsbaum, damit die Ansage beim Füllen nicht ausfällt */
.field__note:empty { position: absolute; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice, .seg { position: relative; display: inline-flex; cursor: pointer; }
.choice input, .seg input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span, .seg span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 15px;
  font-size: .9688rem;
  font-weight: 500;
  border: 1px solid var(--asfalt-4);
  background: #101215;
  transition: background-color .2s, border-color .2s, color .2s;
}
.choice input:checked + span, .seg input:checked + span { background: var(--semnal); border-color: var(--semnal); color: var(--asfalt); }
.choice input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--reflex); outline-offset: 2px; }
.choice:hover span, .seg:hover span { border-color: rgba(244, 244, 242, .5); }

.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.seg span { width: 100%; }
.seg + .seg span { border-left: 0; }

.form__status {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 14px 16px;
  font-weight: 500;
  color: var(--alb);
  background: rgba(215, 255, 58, .08);
  border-left: 3px solid var(--reflex);
}
.form__status::before {
  content: "";
  flex: none;
  width: 12px; height: 7px;
  margin-top: 7px;
  border: solid var(--reflex);
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg);
}
/* leer ohne Fläche, aber nicht display:none: role="status" bleibt im Barrierefreiheitsbaum */
.form__status:empty { margin: 0; padding: 0; border: 0; background: none; }
.form__status:empty::before { display: none; }
.form__note { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-family: var(--f-mono); font-size: .75rem; color: var(--gri); }
.form__note .mark { width: 6px; height: 6px; }

@media (min-width: 560px) {
  .field__row { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (min-width: 960px) {
  .contact { padding: 136px 0 130px; }
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .contact__foto { display: block; }
  .form { padding: 40px 40px 34px; }
}

/* ---------- Fuß ---------- */

.foot {
  position: relative;
  padding: 72px 0 48px;
  background: #101114;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.foot::before {
  /* Mittellinie als Abschluss */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -2px;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--alb) 0 22px, transparent 22px 40px);
  opacity: .5;
}
.foot__grid { display: grid; gap: 32px; }
.foot__brand { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; }
.foot__firma { margin-top: 14px; color: var(--gri-2); line-height: 2; }
.foot__meta { display: grid; gap: 8px; font-size: .9375rem; color: var(--gri-2); }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.link-off {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px dashed var(--semnal);
  background: rgba(255, 91, 31, .08);
  color: var(--gri-2);
  text-decoration: none;
  cursor: not-allowed;
}
.foot__top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  justify-self: start;
  font-family: var(--f-mono);
  font-size: .875rem;
  text-decoration: none;
  color: var(--alb);
}
.foot__top .ico { color: var(--semnal); }
.foot__top:hover { color: var(--semnal); }

@media (min-width: 960px) {
  .foot { padding: 88px 0 64px; }
  .foot__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: start; gap: 48px; }
}

/* ---------- Mobile Aktionsleiste ---------- */

.actbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(21, 23, 26, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid rgba(255, 91, 31, .55);
}
.actbar__a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 6px;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--alb);
  background: rgba(244, 244, 242, .08);
  box-shadow: inset 0 0 0 1px rgba(244, 244, 242, .16);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.actbar__a .ico { width: 20px; height: 20px; }
.actbar__a--main { background: var(--semnal); color: var(--asfalt); box-shadow: none; }
.actbar__a:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--reflex); }

/* Offenes Menü: die Leiste würde dessen untere Einträge verdecken; dieselben Ziele stehen im Menü */
.menu-open .actbar { display: none; }

/* Schmale Geräte (320–379 px): Symbol über dem Wort, sonst schneidet die Ecke „WhatsApp“ an */
@media (max-width: 379.98px) {
  .actbar__a { flex-direction: column; gap: 2px; }
}

@media (min-width: 1100px) {
  .actbar { display: none; }
}

/* ---------- Bewegung (nur mit JS und ohne reduced-motion) ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* Hero: einmaliges Einrasten des Fadenkreuzes */
  .js .reticle { animation: lock-on 1.1s var(--ease) .35s both; }
  .js .reticle__ring { animation: ring-spin 1.6s var(--ease) .35s both; }
  .js .reticle__x { animation: blink 1.2s steps(2, jump-none) 1.4s 2 both; }
  .js .hero__scan { animation: scan 1.5s cubic-bezier(.5, 0, .3, 1) .15s 1 both; }

  /* Story: Kapitel blenden ein, Foto wird abgetastet */
  .js .km .km__card { transition: opacity .7s var(--ease), transform .8s var(--ease); }
  .js .km .km__foto { transition: opacity .8s var(--ease), transform 1s var(--ease); }
  .js .km:not(.is-in) .km__card { opacity: 0; transform: translateY(40px); }
  .js .km:not(.is-in) .km__foto { opacity: 0; transform: translateY(24px) scale(.97); }
  .js .km.is-in .km__scan { animation: scan 1.2s cubic-bezier(.5, 0, .3, 1) .25s 1 both; }

  /* Lieferwagen-Ping */
  .js .van__ping { animation: ping 2.4s ease-out infinite; }

  /* 24 Segmente leuchten nacheinander auf */
  .js .meter__seg::before { transition: opacity .3s ease calc(var(--i) * 45ms); }
  .js .meter:not(.is-in) .meter__seg::before { opacity: 0; }
}

@keyframes lock-on {
  0% { opacity: 0; transform: scale(1.7); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes ring-spin {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-120deg) scale(.4); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(0) scale(1); }
}
@keyframes blink { 0% { opacity: 1; } 100% { opacity: .2; } }
@keyframes scan {
  0% { opacity: 0; transform: translateY(-100%); }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { opacity: 0; transform: translateY(0); }
}
@keyframes ping {
  0% { opacity: .9; transform: scale(.6); }
  100% { opacity: 0; transform: scale(1.6); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .head__progress { display: none; }
}

/* ---------- Ohne backdrop-filter: deckenderes Glas ---------- */

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hud { background: var(--seam) top left / 100% 2px no-repeat, rgba(30, 33, 37, .95); }
  .head__bar, .actbar { background-color: rgba(21, 23, 26, .96); }
  .chips { background-color: rgba(30, 33, 37, .96); }
}
