/* ==========================================================================
   Der Autobahnmeister – Marketing-Website
   Baut auf Bootstrap 5.3 auf. Leitmotiv: der blaue Autobahn-Wegweiser.
   ========================================================================== */

:root {
  --am-nacht: #0a1728;        /* Hintergrund Logo */
  --am-nacht-2: #11233b;
  --am-schild: #0f4f9c;       /* Wegweiser-Blau */
  --am-schild-hell: #3d8bff;  /* Lichtbogen im Logo */
  --am-signal: #f28c1b;       /* Warnweste */
  --am-signal-dunkel: #c96a05;
  --am-fahrbahn: #f3f4f1;     /* heller Seitenhintergrund */
  --am-asphalt: #2a3039;      /* Fließtext */
  --am-linie: #d9dcd6;

  --bs-body-font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: var(--am-asphalt);
  --bs-body-bg: #fff;
  --bs-link-color-rgb: 15, 79, 156;
  --bs-link-hover-color-rgb: 10, 23, 40;
  --bs-border-radius: .5rem;
  --bs-focus-ring-color: rgba(242, 140, 27, .45);

  --am-display: "Barlow Semi Condensed", "Barlow", "Arial Narrow", Arial, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--am-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.005em;
  color: var(--am-nacht);
}
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }

.lead { font-size: 1.2rem; line-height: 1.55; }
.measure { max-width: 38rem; }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 2000;
  background: var(--am-signal); color: var(--am-nacht);
  padding: .5rem 1rem; border-radius: .5rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; padding: .8rem 1.4rem; border-radius: .5rem; }
.btn i { font-size: 1.25em; vertical-align: -.2em; }
.btn-signal {
  --bs-btn-bg: var(--am-signal);
  --bs-btn-color: var(--am-nacht);
  --bs-btn-border-color: var(--am-signal);
  --bs-btn-hover-bg: #ffa13a;
  --bs-btn-hover-border-color: #ffa13a;
  --bs-btn-hover-color: var(--am-nacht);
  --bs-btn-active-bg: var(--am-signal-dunkel);
  --bs-btn-active-border-color: var(--am-signal-dunkel);
}
.btn-ghost {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255,255,255,.55);
  --bs-btn-hover-bg: rgba(255,255,255,.1);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: #fff;
}

/* ---------- Navigation ---------- */
.am-nav {
  background: rgba(10, 23, 40, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.am-nav .navbar-brand { display: inline-flex; align-items: center; min-height: 4.25rem; text-decoration: none; }
.brand-wordmark { display: inline-flex; flex-wrap: wrap; align-content: flex-start; font-family: var(--am-display); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.brand-wordmark::after { content: "VON DER STRASSE · FÜR DIE STRASSE"; flex-basis: 100%; margin-top: .35rem; color: rgba(255,255,255,.8); font-family: var(--am-body); font-size: .42em; font-weight: 600; letter-spacing: .145em; text-align: left; }
.brand-wordmark .brand-autobahn { color: #4d6691; }
.brand-wordmark .brand-meister, .brand-wordmark .brand-der { color: #fff; }
.am-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  color: rgba(255,255,255,.82);
  font-family: var(--am-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .015em;
  padding: .5rem .8rem !important;
  margin-inline: .1rem;
  border-radius: .28rem;
  background: linear-gradient(90deg, rgba(15,79,156,.14), rgba(61,139,255,.32), rgba(15,79,156,.14));
  box-shadow: inset 0 1px 0 rgba(121,181,255,.78), inset 0 -1px 0 rgba(121,181,255,.35);
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.am-nav .nav-link:hover,
.am-nav .nav-link:focus-visible {
  color: #fff;
  background: linear-gradient(90deg, rgba(15,79,156,.35), rgba(61,139,255,.5), rgba(15,79,156,.35));
  box-shadow: inset 0 1px 0 rgba(180,215,255,.9), inset 0 -1px 0 rgba(121,181,255,.55), 0 0 .85rem rgba(61,139,255,.2);
}
.am-nav .nav-link.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(15,79,156,.14), rgba(61,139,255,.32), rgba(15,79,156,.14));
  box-shadow: inset 0 1px 0 rgba(121,181,255,.78), inset 0 -1px 0 rgba(121,181,255,.35);
}
.am-nav .nav-link.active:hover,
.am-nav .nav-link.active:focus-visible {
  background: linear-gradient(90deg, rgba(15,79,156,.35), rgba(61,139,255,.5), rgba(15,79,156,.35));
  box-shadow: inset 0 1px 0 rgba(180,215,255,.9), inset 0 -1px 0 rgba(121,181,255,.55), 0 0 .85rem rgba(61,139,255,.2);
}
.am-nav .nav-link.active::before {
  position: absolute;
  right: .85rem;
  bottom: .28rem;
  left: .85rem;
  height: .18rem;
  content: "";
  background: linear-gradient(90deg, transparent, var(--am-signal) 16%, var(--am-signal) 84%, transparent);
  border-radius: 1rem;
  box-shadow: 0 0 .45rem rgba(242,140,27,.7);
}
.am-nav .nav-link::before,
.am-nav .btn-signal::before {
  position: absolute;
  right: .85rem;
  bottom: .28rem;
  left: .85rem;
  height: .18rem;
  content: "";
  background: linear-gradient(90deg, transparent, var(--am-signal) 16%, var(--am-signal) 84%, transparent);
  border-radius: 1rem;
  box-shadow: 0 0 .45rem rgba(242,140,27,.7);
}
.am-nav .nav-link.active::before {
  content: "";
  background: linear-gradient(90deg, transparent, var(--am-signal) 16%, var(--am-signal) 84%, transparent);
}
.am-nav .nav-link.dropdown-toggle:hover,
.am-nav .nav-link.dropdown-toggle:focus-visible,
.am-nav .nav-link.dropdown-toggle.show {
  background: linear-gradient(90deg, rgba(15,79,156,.35), rgba(61,139,255,.5), rgba(15,79,156,.35));
  color: #fff;
}
.am-nav .dropdown-menu {
  --bs-dropdown-bg: var(--am-nacht-2);
  --bs-dropdown-border-color: rgba(121,181,255,.5);
  --bs-dropdown-border-radius: .35rem;
  --bs-dropdown-padding-y: .5rem;
  min-width: 22rem;
  border-top: 3px solid var(--am-signal);
  box-shadow: 0 .9rem 2.1rem rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
}
.am-nav .dropdown-item {
  display: flex;
  gap: .7rem;
  align-items: center;
  color: #fff;
  font-family: var(--bs-body-font-family);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .015em;
  padding: .7rem .9rem;
  margin: .08rem .35rem;
  border-radius: .25rem;
  transition: background-color .18s ease, transform .18s ease;
}
.am-nav .dropdown-item i {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  color: #dbeaff;
  font-size: 1.1rem;
  background: rgba(61,139,255,.2);
  border: 1px solid rgba(121,181,255,.35);
  border-radius: .22rem;
}
.am-nav .dropdown-item:hover,
.am-nav .dropdown-item:focus-visible {
  background: rgba(61,139,255,.27);
  color: #fff;
  transform: translateX(.15rem);
}
.am-nav .dropdown-item.active { background: linear-gradient(90deg, rgba(61,139,255,.5), rgba(15,79,156,.45)); color: #fff; }
.am-nav .dropdown-item.active i { color: #fff; border-color: rgba(255,255,255,.55); }
.am-nav .dropdown-item:active { background: var(--am-signal); color: var(--am-nacht); }
.am-nav .navbar-toggler { border-color: rgba(255,255,255,.4); color: #fff; font-size: 1.5rem; padding: .35rem .6rem; }
.am-nav .btn-signal {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .5rem .8rem !important;
  font-family: var(--am-display);
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(90deg, rgba(15,79,156,.14), rgba(61,139,255,.32), rgba(15,79,156,.14));
  border-color: rgba(121,181,255,.5);
  box-shadow: inset 0 1px 0 rgba(121,181,255,.78), inset 0 -1px 0 rgba(121,181,255,.35);
}
.am-nav .nav-item.ms-lg-3 { margin-left: .5rem !important; }
.am-nav .btn-signal:hover,
.am-nav .btn-signal:focus-visible {
  color: #fff;
  background: linear-gradient(90deg, rgba(15,79,156,.35), rgba(61,139,255,.5), rgba(15,79,156,.35));
  border-color: rgba(180,215,255,.8);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--am-nacht) url("../img/autobahn-digitalisierung neu.webp") center center / cover no-repeat;
  min-height: min(100vh, 58rem);
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(2,25,57,.93) 0%, rgba(4,38,82,.78) 48%, rgba(2,30,68,.48) 100%),
    linear-gradient(0deg, rgba(2,18,43,.84) 0%, rgba(2,21,48,.16) 58%);
}
.hero-home::before { display: none; }
.hero > .container { position: relative; z-index: 2; }
.hero h1 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5rem);
  line-height: .98;
  letter-spacing: -.015em;
  margin-bottom: 1.5rem;
  max-width: 13ch;
}
.hero .lead { color: rgba(255,255,255,.86); max-width: 34rem; }
.hero-webapp-link {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  margin-top: 1.1rem;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
  text-decoration: none;
}
.hero-webapp-button {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.hero-webapp-link:hover, .hero-webapp-link:focus-visible { color: #fff; text-decoration: underline; }
.hero-webapp-link i { color: var(--am-signal); font-size: 1.1em; }
.hero-home > .container { transform: translate(calc(-4rem - 130px), 10.5rem); }
.hero-home h1 {
  color: #000;
  font-family: var(--am-display);
  font-size: clamp(1.85rem, .95rem + 2.6vw, 3rem);
  font-weight: 800;
  max-width: 60rem;
  text-transform: uppercase;
  text-shadow: none;
}
.hero-home h1,
.hero-home .hero-digitales-grundgeruest,
.hero-home .hero-cta { display: none; }
.hero-digitales-grundgeruest {
  display: block;
  width: clamp(21rem, 27vw, 31rem);
  height: auto;
  margin-top: -2rem;
  margin-left: -.75rem;
  margin-bottom: 1.2rem;
}
.hero-home .lead {
  color: #000;
  text-shadow: none;
}
.hero-home .hero-webapp-link {
  color: #fff;
  font-size: 1.52rem;
  text-shadow: 0 .1rem .4rem rgba(0, 18, 42, .6);
}
.hero-home .hero-webapp-link:hover,
.hero-home .hero-webapp-link:focus-visible { color: #fff; }
.webapp-modal .modal-content {
  color: #fff;
  background: linear-gradient(145deg, #112b4a, #071525);
  border: 1px solid rgba(121, 181, 255, .55);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .45);
}
.webapp-modal .modal-title { color: #fff; }
.webapp-adresse {
  padding: 1rem 1.2rem;
  color: #fff;
  font-family: var(--am-display);
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: .01em;
  background: rgba(61, 139, 255, .18);
  border: 1px solid rgba(121, 181, 255, .55);
  border-left: .3rem solid var(--am-signal);
  border-radius: .4rem;
}
.hero-claim {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--am-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.25rem;
}
.hero-claim::before {
  content: ""; width: 2.25rem; height: 4px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--am-signal) 0 .6rem, transparent .6rem 1rem);
}
.hero-claim.bereich-claim { font-size: clamp(2.35rem, 1.7rem + 2.2vw, 3.1rem); line-height: 1; color: #fff; margin-bottom: 1.5rem; }
.hero-claim.bereich-claim::before { width: 3.5rem; height: 5px; }
.team-leitsatz {
  margin: -1.1rem 0 1.35rem;
  color: var(--am-signal);
  font-family: var(--am-display);
  font-size: clamp(1.2rem, .9rem + .7vw, 1.6rem);
  font-weight: 700;
  letter-spacing: .02em;
}
.hero-mascot {
  position: absolute;
  right: max(1rem, calc((100vw - 1320px) / 2));
  bottom: 0;
  width: clamp(14rem, 26vw, 24rem);
  z-index: 2;
  height: auto;
  filter: drop-shadow(0 1.5rem 2rem rgba(0,0,0,.5));
}
body.team-area-page .hero-mascot {
  width: clamp(16rem, 28vw, 27rem);
  bottom: 1.25rem;
}
.hero-kanal-mockup {
  width: clamp(23rem, 31vw, 34rem);
  right: max(1rem, calc((100vw - 1420px) / 2));
}
.hero-app-group {
  position: absolute;
  right: clamp(1rem, 4vw, 5rem);
  top: 50%;
  z-index: 1;
  width: clamp(34rem, 44vw, 58rem);
  height: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 1.5rem 2.2rem rgba(0,0,0,.52));
}
.hero-live-wrap {
  position: absolute;
  right: max(1rem, calc((100vw - 1360px) / 2));
  bottom: clamp(2rem, 8vh, 5rem);
  z-index: 2;
  width: clamp(23rem, 30vw, 34rem);
  filter: drop-shadow(0 1.4rem 1.8rem rgba(0,0,0,.5));
}
.hero-live { display: block; width: 100%; height: auto; }
.slot-hotspot {
  position: absolute;
  top: 73%;
  left: 49%;
  width: 43%;
  height: 12%;
  cursor: pointer;
}
.slot-hotspot span {
  position: absolute;
  top: 17%;
  left: 10%;
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-size: .9rem;
  font-weight: 700;
  text-shadow: 0 .08rem .28rem rgba(0,0,0,.95), 0 0 .55rem rgba(242, 140, 27, .65);
  white-space: nowrap;
}
.slot-hotspot span::before {
  content: "";
  width: .78rem;
  height: .78rem;
  flex: 0 0 .78rem;
  border-radius: 50%;
  background: var(--am-signal);
  border: 2px solid #fff;
  box-shadow: 0 0 0 .28rem rgba(242, 140, 27, .7), 0 0 .8rem rgba(242, 140, 27, .95);
  animation: slot-puls .7s ease-in-out infinite;
}
.slot-hotspot:hover span, .slot-hotspot:focus-visible span { color: #fff; text-decoration: underline; }
@keyframes slot-puls {
  0%, 100% { transform: scale(.82); background: var(--am-signal); box-shadow: 0 0 0 .16rem rgba(242, 140, 27, .8), 0 0 .55rem rgba(242, 140, 27, .9); }
  50% { transform: scale(1.5); background: #fff; box-shadow: 0 0 0 .72rem rgba(242, 140, 27, 0), 0 0 1.25rem rgba(255,255,255,.95); }
}
@media (prefers-reduced-motion: reduce) { .slot-hotspot span::before { animation: none; } }
.slot-section .container { max-width: 100rem; }
.slot-section .slot-screens {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  gap: 2rem;
}
.slot-section .merkmale { font-size: 1.1rem; }
.hero-live-copy { max-width: 43rem; }
.hero-live-copy > p:not(.hero-claim) {
  color: rgba(255,255,255,.9);
  max-width: 42rem;
  margin-bottom: .8rem;
}
.hero-live-copy .lead {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

/* ---------- Wegweiser (Leitmotiv) ---------- */
.wegweiser {
  background: var(--am-schild);
  color: #fff;
  border: 3px solid #fff;
  border-radius: .7rem;
  box-shadow: 0 0 0 .35rem var(--am-schild), 0 1.5rem 3rem rgba(0,0,0,.35);
  padding: .4rem 0;
  margin: .35rem;
}
.wegweiser a, .wegweiser .ww-row {
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem 1.25rem;
  color: #fff; text-decoration: none;
  font-family: var(--am-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.15;
}
.wegweiser a + a { border-top: 2px solid rgba(255,255,255,.9); }
.wegweiser a small {
  display: block;
  font-family: var(--bs-body-font-family);
  font-weight: 400; font-size: .95rem;
  color: rgba(255,255,255,.8);
  margin-top: .15rem;
}
.wegweiser a .ww-pfeil { margin-left: auto; font-size: 1.75rem; flex: none; transition: transform .2s ease; }
.wegweiser a:hover .ww-pfeil, .wegweiser a:focus-visible .ww-pfeil { transform: translate(.2rem, -.2rem); }
.wegweiser a:hover { background: rgba(255,255,255,.07); }
.wegweiser a:focus-visible { outline-offset: -4px; }
.hero .wegweiser { max-width: 30rem; margin-top: 2.5rem; }

/* Einmalige Eröffnungs-Bewegung: das Schild klappt ins Bild */
@media (prefers-reduced-motion: no-preference) {
  .hero .wegweiser { animation: schild-ein .9s cubic-bezier(.2,.8,.2,1) .35s both; transform-origin: left center; }
  .hero-mascot, .hero-live { animation: meister-ein .8s cubic-bezier(.2,.8,.2,1) .8s both; }
}
@keyframes schild-ein { from { opacity: 0; transform: perspective(900px) rotateY(-28deg) translateX(-1rem); } to { opacity: 1; transform: none; } }
@keyframes meister-ein { from { opacity: 0; transform: translateY(2rem); } to { opacity: 1; transform: none; } }

/* ---------- Sektionen ---------- */
.section { padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }
.section-light { background: var(--am-fahrbahn); }
.section-dark { background: var(--am-nacht); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }

/* Mittelstreifen als Sektionstrenner */
.leitlinie {
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--am-nacht) 0 3rem, transparent 3rem 5rem);
  opacity: .14;
  margin: 0 auto;
  max-width: 1320px;
}

/* ---------- Kurzfassung für Entscheider ---------- */
.kurz dl { margin: 0; border-top: 2px solid var(--am-nacht); }
.kurz .kurz-row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--am-linie);
}
.kurz dt {
  font-family: var(--am-display);
  font-weight: 700; font-size: 1.2rem;
  color: var(--am-nacht);
  display: flex; gap: .6rem; align-items: flex-start;
}
.kurz dt i { color: var(--am-schild); font-size: 1.35rem; margin-top: .05rem; flex: none; }
.kurz dd { margin: 0; }
.kurz-webapp-hinweis { color: var(--am-schild); font-weight: 700; }
.kurz-app-store {
  color: var(--am-nacht);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--am-signal);
  text-decoration-thickness: .16rem;
  text-underline-offset: .22rem;
}
.app-ueberblick {
  background: var(--am-nacht);
  padding-block: clamp(3rem, 5vw, 5.5rem);
}
.app-ueberblick .container { max-width: 100rem; }
.app-ueberblick img {
  display: block;
  width: min(100%, 86rem);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 1.2rem 2.4rem rgba(0, 0, 0, .35));
}
@media (max-width: 575.98px) {
  .kurz .kurz-row { grid-template-columns: 1fr; gap: .35rem; }
}
.lesezeit { color: #5d6570; font-size: .95rem; display: inline-flex; gap: .4rem; align-items: center; }

/* ---------- Funktionsbereiche ---------- */
.bereich {
  height: 100%;
  display: flex; flex-direction: column;
}
.bereich .wegweiser { margin-bottom: 1.5rem; }
.bereich .wegweiser .ww-row { font-size: 1.5rem; font-weight: 700; padding: 1rem 1.25rem; }
.bereich .wegweiser .ww-row i { font-size: 2rem; flex: none; }
.bereich p { color: #444c57; }
.bereich-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.bereich-link:hover, .bereich-link:focus-visible { color: inherit; }
.bereich-link .wegweiser { transition: transform .2s ease, box-shadow .2s ease; }
.bereich-link:hover .wegweiser { transform: translateY(-.2rem); }
.bereich-weg { display: inline-flex; align-items: center; gap: .45rem; color: var(--am-schild); font-weight: 600; }
.bereich-link:hover .bereich-weg { text-decoration: underline; }
.screen-hinweis { border-left: .3rem solid var(--am-signal); padding: 1rem 1.25rem; background: var(--am-fahrbahn); color: var(--am-asphalt); }
.halterungen-bild {
  display: block;
  width: min(100%, 36rem);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 1rem 1.8rem rgba(10, 23, 40, .2));
}
.halterungen {
  border-top: .22rem solid var(--am-schild);
}
.helferlein-team {
  border-top: .22rem solid var(--am-schild);
}
.winterdienst-team {
  border-bottom: .22rem solid var(--am-schild);
}
.vsb-team {
  border-bottom: .22rem solid #1f5f9b;
}
.winterdienst-team .container,
.vsb-team .container {
  max-width: 100rem;
}
.winterdienst-trenner {
  width: 100%;
  height: 1px;
  background: var(--am-nacht);
}
.winterdienst-claim {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--am-display);
  font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.55rem);
  font-weight: 800;
  line-height: 1;
  color: var(--am-asphalt);
  letter-spacing: -.02em;
}
.winterdienst-claim::before {
  content: "";
  width: 3.8rem;
  height: .32rem;
  border-radius: 1rem;
  background: repeating-linear-gradient(90deg, var(--am-signal) 0 .7rem, transparent .7rem 1.1rem);
}
.winterdienst-vorschau {
  width: min(100%, 42rem);
  margin-inline: auto;
  padding: .7rem;
  background: #fff;
  border: 1px solid var(--am-linie);
  border-radius: 1rem;
  box-shadow: 0 1.1rem 2.3rem rgba(10, 23, 40, .18);
}
.winterdienst-vorschau img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .55rem;
}
.winterdienst-vorschau figcaption {
  padding: .8rem .45rem .2rem;
  color: #5d6570;
  font-size: .93rem;
  text-align: center;
}
.winterdienst-vorschau-mit-figur {
  display: grid;
  grid-template-columns: minmax(0, 42rem) minmax(0, 23rem);
  align-items: center;
  justify-content: start;
  gap: clamp(.7rem, 1.8vw, 1.5rem);
}
.winterdienst-vorschau-mit-figur .winterdienst-vorschau {
  width: 100%;
  min-width: 0;
}
.winterdienst-begleiter {
  width: 100%;
  height: auto;
  max-height: 42rem;
  justify-self: center;
  object-fit: contain;
  object-position: center;
}
.vsb-vorschau-mit-figur {
  display: grid;
  grid-template-columns: minmax(0, 46.8rem) minmax(0, 23rem);
  align-items: end;
  justify-content: start;
  gap: clamp(.7rem, 1.8vw, 1.5rem);
}
.vsb-vorschau-mit-figur .winterdienst-vorschau {
  width: 100%;
  min-width: 0;
}
.vsb-begleiter {
  width: 100%;
  height: auto;
  max-height: 42rem;
  object-fit: contain;
  object-position: bottom center;
}
@media (max-width: 991.98px) {
  .winterdienst-vorschau-mit-figur {
    grid-template-columns: minmax(0, 1fr) minmax(9rem, .42fr);
  }
  .vsb-vorschau-mit-figur {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, .35fr);
  }
}
@media (max-width: 575.98px) {
  .winterdienst-vorschau-mit-figur {
    grid-template-columns: minmax(0, 1fr) minmax(5.5rem, .38fr);
    align-items: center;
  }
  .winterdienst-begleiter {
    width: 100%;
  }
  .vsb-vorschau-mit-figur {
    grid-template-columns: minmax(0, 1fr) minmax(5rem, .32fr);
    align-items: center;
  }
  .vsb-begleiter {
    width: 100%;
  }
}
.vsb-vorschau {
  width: min(100%, 42rem);
  margin-inline: auto;
  padding: .7rem;
  background: #fff;
  border: 1px solid var(--am-linie);
  border-radius: 1rem;
  box-shadow: 0 1.1rem 2.3rem rgba(10, 23, 40, .18);
}
.vsb-vorschau-kopf {
  display: grid;
  gap: .18rem;
  padding: 1rem 1.1rem .9rem;
  color: #2c5d82;
  text-align: center;
  text-transform: uppercase;
}
.vsb-vorschau-kopf span { font: 800 1.25rem/1 var(--am-display); letter-spacing: .15em; }
.vsb-vorschau-kopf strong { font: 800 1.85rem/1.05 var(--am-display); letter-spacing: .06em; }
.vsb-vorschau-kopf small { color: #70879a; font-size: .7rem; font-weight: 700; letter-spacing: .08em; }
.vsb-vorschau-wochen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.vsb-vorschau-wochen article { display: grid; gap: .38rem; padding: .7rem; border: 1px solid #d5e3ed; border-radius: .7rem; background: #fbfdff; }
.vsb-vorschau-wochen p { margin: -.7rem -.7rem .15rem; padding: .55rem .45rem; color: #a23e43; background: #f5f9fc; font: 800 .66rem/1.2 var(--am-display); letter-spacing: .07em; text-align: center; }
.vsb-vorschau-wochen article > strong { color: #58778e; font: 800 .7rem/1 var(--am-display); letter-spacing: .1em; text-transform: uppercase; }
.vsb-vorschau-wochen article > span { display: flex; justify-content: space-between; gap: .5rem; padding: .42rem .5rem; color: #176e85; border: 1px solid #b8dce5; border-radius: .5rem; background: #edf8fb; font-size: .72rem; font-weight: 700; }
.vsb-vorschau-wochen article > span.fs2 { color: #287150; border-color: #b7d8c4; background: #eaf6ed; }
.vsb-vorschau-wochen b { font-size: .64rem; white-space: nowrap; }
.vsb-vorschau figcaption { padding: .8rem .45rem .2rem; color: #5d6570; font-size: .93rem; text-align: center; }

.helferlein-claim {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--am-display);
  font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.55rem);
  font-weight: 800;
  line-height: 1;
  color: var(--am-asphalt);
  letter-spacing: -.02em;
}
.helferlein-claim::before {
  content: "";
  width: 3.8rem;
  height: .32rem;
  border-radius: 1rem;
  background: repeating-linear-gradient(90deg, var(--am-signal) 0 .7rem, transparent .7rem 1.1rem);
}
.helferlein-demo {
  width: min(100%, 34rem);
  margin-inline: auto;
}
.helferlein-demo h3 { margin-bottom: .4rem; }
.helferlein-scroll-rahmen {
  position: relative;
  height: 42rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--am-schild) #dce7f2;
  scrollbar-width: thin;
  border: .3rem solid var(--am-nacht);
  border-radius: 1rem;
  box-shadow: 0 1.1rem 2.3rem rgba(10, 23, 40, .22);
  scroll-snap-type: y proximity;
  background: var(--am-nacht);
}
.helferlein-scroll-rahmen::after {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  z-index: 1;
  content: "Zum Scrollen";
  padding: .35rem .65rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  background: rgba(10, 23, 40, .84);
  border: 1px solid rgba(121, 181, 255, .65);
  border-radius: 99rem;
  pointer-events: none;
  animation: scroll-hinweis 1.8s ease-in-out infinite;
}
.helferlein-scroll-rahmen img {
  display: block;
  width: 100%;
  height: auto;
  scroll-snap-align: start;
}
@keyframes scroll-hinweis {
  0%, 100% { transform: translateY(0); opacity: .8; }
  50% { transform: translateY(.45rem); opacity: 1; }
}
.app-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.app-screen { display: block; width: 100%; height: auto; border-radius: .75rem; box-shadow: 0 .9rem 2rem rgba(10, 23, 40, .18); }
.app-screen-caption { margin-top: .6rem; color: #5d6570; font-size: .95rem; text-align: center; }
.screen-einzel {
  max-width: 16rem;
}
.screen-einzel .app-screen { border-radius: 0; box-shadow: none; }
@media (max-width: 767.98px) { .app-screens { grid-template-columns: 1fr; max-width: 20rem; margin-inline: auto; } }
.merkmale { list-style: none; padding: 0; margin: 0; }
.merkmale li {
  display: flex; gap: .65rem; align-items: flex-start;
  padding: .45rem 0;
}
.merkmale li i { color: var(--am-schild); font-size: 1.3rem; margin-top: .12rem; flex: none; }
.merkmale-hell li i { color: var(--am-signal); }
.helfer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 2rem;
}
.helfer-nav a {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  color: rgba(255,255,255,.92);
  font-family: var(--am-display);
  font-weight: 600;
  text-decoration: none;
}
.helfer-nav a:hover, .helfer-nav a:focus-visible { color: #fff; text-decoration: underline; }
.helfer-nav span { color: var(--am-signal); font-size: .85em; letter-spacing: .08em; }
.helfer-nummer {
  margin-bottom: .6rem;
  color: var(--am-schild);
  font-family: var(--am-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.helfer-nummer-hell { color: var(--am-signal); }
.section-dark .app-screen-caption { color: rgba(255,255,255,.75); }
.bereich-haupt .wegweiser { background: var(--am-schild); box-shadow: 0 0 0 .35rem var(--am-schild), 0 0 0 .6rem var(--am-signal), 0 1.2rem 2.4rem rgba(10,23,40,.25); }
.hinweis-badge {
  display: inline-block;
  background: var(--am-signal); color: var(--am-nacht);
  font-weight: 600; font-size: .85rem;
  padding: .15rem .6rem; border-radius: 2rem;
  margin-bottom: .75rem;
  align-self: flex-start;
}

/* ---------- Einsatzablauf ---------- */
.ablauf { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.ablauf li { position: relative; padding: 0 0 2.25rem 6.5rem; }
.ablauf .zeit { z-index: 1; font-variant-numeric: tabular-nums; }
.ablauf li::before {
  content: ""; position: absolute; left: 2.35rem; top: 2.6rem; bottom: 0;
  width: 3px;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.35) 0 .7rem, transparent .7rem 1.2rem);
}
.ablauf li:last-child::before { display: none; }
.ablauf .zeit {
  position: absolute; left: 0; top: 0;
  width: 5rem;
  background: #fff; color: var(--am-nacht);
  font-family: var(--am-display); font-weight: 700; font-size: 1.15rem;
  text-align: center;
  border-radius: .3rem;
  padding: .35rem 0;
  box-shadow: inset 0 0 0 2px var(--am-nacht), 0 0 0 2px #fff;
}
.ablauf h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.ablauf p { margin: 0; max-width: 36rem; }
.ablauf .werkzeug { display: inline-flex; gap: .35rem; align-items: center; color: var(--am-signal); font-weight: 600; font-size: .95rem; margin-top: .4rem; }

/* ---------- Nutzen ---------- */
.nutzen-item { padding: 1.5rem 0; border-top: 2px solid var(--am-nacht); height: 100%; }
.nutzen-item i { font-size: 2rem; color: var(--am-schild); display: block; margin-bottom: .75rem; }
.nutzen-item h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.nutzen-item p { margin: 0; color: #444c57; }
.figur { max-width: 100%; height: auto; }
img { height: auto; }
.figur-nutzen { width: 13rem; }

/* ---------- Verantwortung ---------- */
.verantwortung {
  border-left: 6px solid var(--am-signal);
  padding-left: 1.5rem;
}
.verantwortung ul { padding-left: 1.2rem; }
.verantwortung li { margin-bottom: .4rem; }

/* ---------- FAQ ---------- */
.faq .accordion {
  --bs-accordion-border-color: var(--am-linie);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(242,140,27,.4);
  --bs-accordion-active-bg: #eef3fa;
  --bs-accordion-active-color: var(--am-nacht);
  --bs-accordion-btn-padding-y: 1.15rem;
}
.faq .accordion-button { font-family: var(--am-display); font-weight: 600; font-size: 1.2rem; color: var(--am-nacht); }
.faq .accordion-body { max-width: 46rem; }

/* ---------- Abschluss / Kontakt ---------- */
.cta {
  position: relative;
  background:
    radial-gradient(ellipse 60% 70% at 70% 0%, rgba(61,139,255,.28), transparent 70%),
    var(--am-nacht);
  color: rgba(255,255,255,.86);
  overflow: hidden;
}
.cta h2 { color: #fff; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); }
.cta .figur-sprung { width: 12rem; }
.kontakt-weg { color: rgba(255,255,255,.75); }
.kontakt-weg a { color: #fff; }
.kontakt-direkt { color: #fff; font-weight: 700; text-decoration-color: var(--am-signal); text-decoration-thickness: .14rem; text-underline-offset: .2rem; }
.kontakt-portrait { display: block; width: clamp(12rem, 22vw, 15rem); aspect-ratio: 1 / 1; margin: 1.25rem 0 0; object-fit: cover; object-position: 50% 32%; border: 2px solid rgba(121,181,255,.5); border-radius: .75rem; }
.kontakt-ueber-mich { display: block; margin-top: .8rem; padding: 0; color: #fff; background: transparent; border: 0; border-bottom: .14rem solid var(--am-signal); font: inherit; font-weight: 700; line-height: 1.4; cursor: pointer; }
.kontakt-ueber-mich:hover, .kontakt-ueber-mich:focus-visible { color: #fff; border-bottom-color: #fff; }
.ueber-mich-text { color: rgba(255,255,255,.9); font-size: 1.05rem; line-height: 1.65; }
.kontakt-form {
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(121,181,255,.35);
  border-radius: .75rem;
}
.kontakt-form .form-label { color: #fff; font-weight: 600; }
.kontakt-form .form-control {
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.96);
  color: var(--am-nacht);
}
.kontakt-form .form-control:focus { border-color: var(--am-signal); box-shadow: 0 0 0 .25rem rgba(242,140,27,.25); }
.kontakt-form .form-text { color: rgba(255,255,255,.74); }
.kontakt-form .form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.kontakt-status { margin-bottom: 1rem; padding: .8rem 1rem; border-radius: .5rem; font-weight: 600; }
.kontakt-status.erfolg { background: #d9f4e5; color: #123d26; border-left: .3rem solid #25834c; }
.kontakt-status.fehler { background: #fff0df; color: #743900; border-left: .3rem solid var(--am-signal); }
.kontakt-status.hinweis { background: #e5f0ff; color: #103a68; border-left: .3rem solid var(--am-schild); }

/* ---------- Footer ---------- */
.am-footer {
  background: #06101d;
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  padding: 2.5rem 0;
}
.am-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.am-footer a:hover { color: #fff; text-decoration: underline; }
.am-footer .footer-website { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--am-signal); text-underline-offset: .2rem; }
.am-footer .footer-creator { color: rgba(255,255,255,.6); font-size: .88rem; }
.am-footer .footer-webapp-button { background: transparent; border: 0; padding: 0; cursor: pointer; }

/* ---------- Rechtliches (Unterseite) ---------- */
.rechtliches { padding: 8rem 0 5rem; }
.rechtliches h2 { font-size: 1.8rem; margin-top: 2.5rem; }
.rechtliches .todo { background: #fff4e5; border-left: 4px solid var(--am-signal); padding: .75rem 1rem; }

/* ---------- Mobile ---------- */
@media (max-width: 991.98px) {
  .hero { align-items: flex-start; padding-top: 7rem; padding-bottom: 0; min-height: 0; flex-direction: column; }
  /* Startseite mobil: der freigegebene Desktop-Hero bleibt als ein
     proportional verkleinerter Gesamtaufbau erhalten. */
  .hero-home {
    display: block;
    min-height: 0;
    height: auto;
    aspect-ratio: 1916 / 821;
    margin-top: 8rem;
    padding: 0;
    background-position: center center;
    background-size: cover;
  }
  .hero-home::before { display: none; }
  .hero-home > .container {
    display: block;
    height: 100%;
    width: 100%;
    transform: none;
  }
  .hero-home .row,
  .hero-home [class*="col-"] { width: 100%; height: 100%; }
  .hero-home h1 {
    display: none;
    position: absolute;
    top: 50.5%;
    left: 5.1%;
    width: 34%;
    max-width: none;
    margin: 0;
    color: #000;
    font-size: 2.5vw;
    line-height: .98;
    text-shadow: none;
  }
  .hero-home .hero-long-word { display: inline; font-size: inherit; letter-spacing: inherit; }
  .hero-digitales-grundgeruest {
    position: absolute;
    top: 65.4%;
    left: 4.5%;
    width: 26.2%;
    height: auto;
    margin: 0;
  }
  .hero-home .hero-cta { position: absolute; top: 87.5%; left: 5.1%; margin: 0; }
  .hero-home .hero-webapp-link {
    margin-top: 0;
    font-size: max(.72rem, 1.25vw);
  }
  .hero::before { background: linear-gradient(180deg, rgba(10,23,40,.9) 0%, rgba(10,23,40,.8) 70%, rgba(10,23,40,.95) 100%); }
  .hero-home::before { background: linear-gradient(180deg, rgba(4, 21, 44, .76) 0%, rgba(4, 21, 44, .18) 30%, rgba(4, 21, 44, .6) 100%); }
  .hero-mascot { position: relative; right: auto; display: block; width: 12rem; margin: 2rem auto 0; }
  body.team-area-page .hero-mascot { width: 13rem; bottom: auto; }
  .hero-kanal-mockup { width: min(88%, 28rem); }
  .hero-app-group { position: relative; top: auto; right: auto; display: block; width: min(100%, 42rem); margin: 2rem auto 0; transform: none; }
  .hero-live-wrap { position: relative; right: auto; bottom: auto; display: block; width: min(88%, 28rem); margin: 2rem auto 0; }
  .hero-live { width: 100%; margin: 0; }
  .slot-screens { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .am-nav .navbar-brand { min-height: 4.65rem; }
  .brand-wordmark { font-size: 1.46rem; }
  .am-nav .navbar-toggler { font-size: 1.3rem; padding: .38rem .62rem; }
}

@media (max-width: 991.98px) and (orientation: landscape) {
  .am-nav .navbar-brand { min-height: 3.8rem; }
  .hero-home {
    height: min(calc(100vw * .4285), calc(100svh - 3.8rem));
    aspect-ratio: auto;
    margin-top: 3.8rem;
    background-image: url("../img/autobahn-digitalisierung Handy.webp");
  }
  .hero-home h1,
  .hero-home .hero-digitales-grundgeruest,
  .hero-home .hero-cta {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-home {
    min-height: 0;
    height: clamp(46rem, calc(42.85vw + 7rem), 56rem);
  }
  /* Tablet: der Textblock bleibt innerhalb der Bildfläche. */
  .hero-home > .container { transform: translate(-.5rem, 10.5rem); }
  .hero-app-group { right: 1rem; width: 42vw; }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
  /* Große Tablets und kleinere Notebooks benötigen weniger Linksversatz
     als die sehr breite Desktop-Komposition. */
  .hero-home > .container { transform: translate(-4rem, 10.5rem); }
}


@media (min-width: 1200px) {
  .hero-home {
    min-height: 0;
    height: clamp(46rem, calc(42.85vw + 7rem), 56rem);
    overflow: hidden;
    z-index: 1;
  }
  .hero-home .hero-actions .btn-ghost {
    color: var(--am-nacht);
    border-color: rgba(10, 23, 40, .55);
    background: rgba(255, 255, 255, .92);
  }
  .hero-home .hero-actions .btn-ghost:hover,
  .hero-home .hero-actions .btn-ghost:focus-visible {
    color: #fff;
    border-color: var(--am-nacht);
    background: var(--am-nacht);
  }
}

/* ==========================================================================
   Kanal-Demo (interaktiv)
   ========================================================================== */
.demo-rahmen {
  background: #fff;
  border: 1px solid var(--am-linie);
  border-radius: .75rem;
  overflow: hidden;
}
.demo-karte { display: block; width: 100%; height: auto; background: #e9ece6; }
.demo-karte text { font-family: var(--am-display); }

.km-schilder rect { fill: #fff; stroke: var(--am-nacht); stroke-width: 2; }
.km-schilder text { font-size: 17px; font-weight: 700; fill: var(--am-nacht); text-anchor: middle; }
.abschnitte line { stroke: var(--am-schild); stroke-width: 2; stroke-dasharray: 4 5; opacity: .5; }
.abschnitte text { font-size: 15px; font-weight: 600; fill: var(--am-schild); text-anchor: middle; }

.fahrbahn { cursor: crosshair; }
.fahrbahn .asphalt { fill: #3a414b; transition: fill .2s ease; }
.fahrbahn:hover .asphalt { fill: #434b56; }
.fahrbahn .mittelstreifen { stroke: #fff; stroke-width: 3; }
.fahrbahn .leitlinie-svg { stroke: rgba(255,255,255,.75); stroke-width: 2; stroke-dasharray: 22 18; }

.leitungen path { fill: none; stroke: #b8c0ca; stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.leitungen path[marker-end] { stroke: none; }

.fluss { fill: none; stroke: var(--am-signal); stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; }
.fluss.fliesst {
  stroke-dasharray: 10 12;
  animation: fliessen .7s linear 8;
}
@keyframes fliessen { to { stroke-dashoffset: -22; } }

.becken-rand { fill: #fff; stroke: #8b95a3; stroke-width: 2; transition: stroke .3s ease; }
.becken-wasser {
  fill: #cfe0f3;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: fill .4s ease;
}
.becken text { font-size: 17px; font-weight: 700; fill: var(--am-nacht); text-anchor: middle; pointer-events: none; }
.becken.betroffen .becken-rand { stroke: var(--am-signal); stroke-width: 4; }
.becken.betroffen .becken-wasser { fill: #ffd3a3; animation: pegel 1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pegel { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
.becken.naechstes .becken-rand { stroke: var(--am-schild); stroke-dasharray: 6 5; }

.marke-punkt { fill: var(--am-signal); stroke: #fff; stroke-width: 3; }
.marke-puls { fill: none; stroke: var(--am-signal); stroke-width: 3; opacity: 0; }
.marke.gesetzt .marke-puls { animation: puls 1s ease-out 2; }
@keyframes puls { from { opacity: .9; r: 9px; } to { opacity: 0; r: 30px; } }

.demo-hinweis { font-size: 20px; font-weight: 600; fill: var(--am-schild); }
@media (prefers-reduced-motion: no-preference) {
  .demo-hinweis { animation: hinweis 2.4s ease-in-out infinite; }
}
@keyframes hinweis { 50% { opacity: .45; } }

.demo-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--am-linie);
}
.demo-auswahl { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; align-content: flex-start; }
.demo-label { width: 100%; font-size: .95rem; color: #5d6570; }
.demo-btn {
  --bs-btn-color: var(--am-schild);
  --bs-btn-border-color: var(--am-schild);
  --bs-btn-hover-bg: var(--am-schild);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--am-nacht);
  --bs-btn-active-color: #fff;
  padding: .45rem .8rem;
}
.demo-btn[aria-pressed="true"] { background: var(--am-schild); color: #fff; }
.demo-ergebnis { min-height: 7.5rem; }
.demo-ergebnis .erg-kopf { font-family: var(--am-display); font-weight: 600; color: #5d6570; margin-bottom: .2rem; }
.demo-ergebnis .erg-becken { font-family: var(--am-display); font-size: 1.6rem; font-weight: 700; color: var(--am-nacht); margin-bottom: .35rem; line-height: 1.15; }
.demo-ergebnis .erg-becken i { color: var(--am-signal); vertical-align: -.15em; }
.demo-ergebnis .erg-warnung {
  display: flex; gap: .5rem; align-items: flex-start;
  background: #fff4e5; border-left: 4px solid var(--am-signal);
  padding: .5rem .75rem; margin: .5rem 0 0;
}
.demo-ergebnis .erg-warnung i { color: var(--am-signal-dunkel); font-size: 1.25rem; flex: none; margin-top: .1rem; }
.demo-link { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; text-decoration: none; }
.demo-link i { font-size: 1.2em; }
@media (max-width: 767.98px) {
  .demo-panel { grid-template-columns: 1fr; }
  .demo-karte { min-height: 15rem; }
}

/* ==========================================================================
   Einsatzszenario: läuft beim Scrollen ab
   ========================================================================== */
@media (min-width: 992px) {
  .ablauf-kopf { position: sticky; top: 7rem; }
}
.ablauf-fazit {
  display: flex; gap: .6rem; align-items: center;
  margin: .5rem 0 0 6.5rem;
  font-family: var(--am-display); font-size: 1.35rem; font-weight: 600; color: #fff;
}
.ablauf-fazit i { color: var(--am-signal); font-size: 1.6rem; }

/* Nur aktiv, wenn JS läuft und Bewegung erlaubt ist */
.ablauf-js li { opacity: .3; transition: opacity .6s ease; }
.ablauf-js li.aktiv { opacity: 1; }
.ablauf-js li .zeit { transition: background-color .4s ease, color .4s ease, box-shadow .4s ease; }
.ablauf-js li.aktiv .zeit { background: var(--am-signal); box-shadow: inset 0 0 0 2px var(--am-nacht), 0 0 0 2px var(--am-signal); }
.ablauf-js li.aktiv.erledigt .zeit { background: #fff; box-shadow: inset 0 0 0 2px var(--am-nacht), 0 0 0 2px #fff; }
.ablauf-js li::after {
  content: ""; position: absolute; left: 2.35rem; top: 2.6rem; bottom: 0;
  width: 3px; background: var(--am-signal);
  transform: scaleY(0); transform-origin: top;
  transition: transform .8s cubic-bezier(.4,0,.2,1);
}
.ablauf-js li:last-child::after { display: none; }
.ablauf-js li.verbunden::after { transform: scaleY(1); }
.ablauf-js ~ .ablauf-fazit { opacity: 0; transform: translateY(.5rem); transition: opacity .6s ease, transform .6s ease; }
.ablauf-js.fertig ~ .ablauf-fazit { opacity: 1; transform: none; }

/* 5K und breitere Ansichten: Das Hero-Motiv wird vollständig im
   Originalseitenverhältnis gezeigt. So bleibt der untere Schriftbereich
   sichtbar und die linke Bildseite wird nicht beschnitten. */
@media (min-width: 1600px) {
  .hero.hero-home {
    min-height: 0;
    height: calc(100vw * 821 / 1916);
    aspect-ratio: 1916 / 821;
    background-size: 100% auto;
    background-position: center top;
    overflow: hidden;
  }
}
