/* ==========================================================================
   Fahrrad Pagels — Grammatik „MESSBLATT"
   Palette aus dem echten Kundenlogo gesampelt (bau-brief.md §4).
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}

:root {
  --grund: #140a1e;
  --flaeche: #1d1029;
  --flaeche-hoch: #261634;
  --kante: #2e1b3e;
  --text: #f4eefa;
  --leise: #b8a6c8;
  --akzent: #ff3d93;
  --akzent-text: #ff3d93;
  --signal: #4fc3ff;
  --sonne: #ffc000;
  --glut: #f06010;
  --spektrum: linear-gradient(
    180deg,
    #4fc3ff 0%,
    #ffc000 38%,
    #f06010 66%,
    #ff3d93 100%
  );
  --spektrum-quer: linear-gradient(
    90deg,
    #4fc3ff 0%,
    #ffc000 38%,
    #f06010 66%,
    #ff3d93 100%
  );
  --auf-akzent: #16001f;
  --rand: clamp(1.25rem, 5vw, 4.5rem);
  --achse: 0px;
}

html[data-theme="light"] {
  --grund: #faf7fc;
  --flaeche: #f2ecf7;
  --flaeche-hoch: #e9e0f1;
  --kante: #ded1ea;
  --text: #1a0f26;
  --leise: #57466a;
  --akzent: #b0005c;
  --akzent-text: #b0005c;
  --signal: #0a6fa8;
  --auf-akzent: #ffffff;
}

@media (min-width: 1100px) {
  :root {
    --achse: 88px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: "Figtree", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: var(--signal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--text);
}

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

h1,
h2,
h3,
h4 {
  font-family: "Archivo", "Arial Black", sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
}
h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}
p {
  margin: 0 0 1.1em;
}

.riesen {
  font-family: "Archivo", "Arial Black", sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 15vw, 9rem);
  line-height: 0.84;
  letter-spacing: -0.05em;
  margin: 0;
}

.akzentwort {
  color: var(--akzent-text);
}
.leise {
  color: var(--leise);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.marke-zeile {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leise);
  margin: 0 0 1.1rem;
}

/* ---------- Kopfleiste ---------- */
.kopf {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem var(--rand);
  background: color-mix(in srgb, var(--grund) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--kante);
}
.kopf::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px 0;
  height: 3px;
  background: var(--spektrum-quer);
  opacity: 0.85;
}
.kopf-marke {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.kopf-marke img {
  height: 46px;
  width: auto;
}
.kopf-marke b {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.kopf-marke span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--leise);
  font-weight: 500;
}

.haupt-nav {
  margin-left: auto;
  display: none;
  gap: 0.15rem;
}
.haupt-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 0.45rem 0.6rem;
  border-bottom: 2px solid transparent;
}
.haupt-nav a:hover,
.haupt-nav a[aria-current="page"] {
  border-bottom-color: var(--akzent);
}

.kopf-werkzeuge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
@media (min-width: 1180px) {
  .haupt-nav {
    display: flex;
  }
  .kopf-werkzeuge {
    margin-left: 1rem;
  }
}

.knopf-klein {
  font-family: "Figtree", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--flaeche);
  color: var(--text);
  border: 1px solid var(--kante);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  appearance: none;
  line-height: 1.2;
}
.knopf-klein:hover {
  border-color: var(--akzent);
}
.theme-schalter {
  min-width: 3rem;
}

.menue-knopf {
  display: inline-flex;
}
@media (min-width: 1180px) {
  .menue-knopf {
    display: none;
  }
}

.mobil-menue {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--grund);
  padding: 5.5rem var(--rand) 2rem;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  overflow-y: auto;
}
.mobil-menue[data-offen="ja"] {
  display: flex;
}
.mobil-menue a {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--kante);
}
.mobil-menue a:hover {
  color: var(--akzent-text);
}
.mobil-schliessen {
  position: fixed;
  top: 0.7rem;
  right: var(--rand);
  z-index: 71;
}

/* ---------- Head ---------- */
.head {
  position: relative;
  min-height: min(92vh, 780px);
  display: flex;
  align-items: flex-end;
  padding: 8rem var(--rand) 3.2rem;
  overflow: hidden;
  border-bottom: 1px solid var(--kante);
}
.head-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(20, 10, 30, 0.72) 0%,
      rgba(20, 10, 30, 0.25) 38%,
      rgba(20, 10, 30, 0.93) 100%
    ),
    linear-gradient(
      90deg,
      rgba(20, 10, 30, 0.85) 0%,
      rgba(20, 10, 30, 0.15) 62%
    );
}
html[data-theme="light"] .head::before {
  background:
    linear-gradient(
      180deg,
      rgba(12, 6, 20, 0.68) 0%,
      rgba(12, 6, 20, 0.2) 38%,
      rgba(12, 6, 20, 0.9) 100%
    ),
    linear-gradient(90deg, rgba(12, 6, 20, 0.82) 0%, rgba(12, 6, 20, 0.12) 62%);
}
.head-inhalt {
  position: relative;
  z-index: 2;
  max-width: 62ch;
  color: #f4eefa;
}
.head-inhalt .leise {
  color: #cfc0dd;
}
.head-inhalt h1 {
  color: #fff;
}
.head-klein {
  min-height: min(64vh, 520px);
}

.head-marke {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e6d9f2;
  margin-bottom: 1.2rem;
}
.head-marke i {
  display: block;
  width: 2.6rem;
  height: 3px;
  background: var(--spektrum-quer);
  font-style: normal;
}

/* ---------- Mess-Achse (Signature) ---------- */
.achse {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--achse);
  display: none;
  pointer-events: none;
}
@media (min-width: 1100px) {
  .achse {
    display: block;
  }
  .bahn {
    padding-left: calc(var(--rand) + var(--achse));
  }
}
.achse::before {
  content: "";
  position: absolute;
  left: calc(var(--rand) * 0.55);
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--spektrum);
  opacity: 0.55;
}
.achse::after {
  content: "";
  position: absolute;
  left: calc(var(--rand) * 0.55);
  top: 0;
  bottom: 0;
  width: 14px;
  background-image: repeating-linear-gradient(
    180deg,
    currentColor 0 1px,
    transparent 1px 40px
  );
  color: var(--kante);
}
.achse b {
  position: absolute;
  top: 2.2rem;
  left: calc(var(--rand) * 0.55 + 22px);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--leise);
}

/* ---------- Bahnen (Sektionen) ---------- */
.bahn {
  position: relative;
  padding: clamp(3.4rem, 7vw, 6.5rem) var(--rand);
  border-bottom: 1px solid var(--kante);
}
.bahn-eng {
  padding-block: clamp(2.6rem, 4.5vw, 4rem);
}
.bahn-weit {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.bahn-flaeche {
  background: var(--flaeche);
}
.bahn-voll {
  padding-inline: 0;
}
.bahn-null {
  padding-block: 0;
  border-bottom: 0;
}
@media (min-width: 1100px) {
  .bahn-voll {
    padding-left: 0;
  }
}

.kopfzeile {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.kopfzeile .nummer {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--akzent-text);
}
.kopfzeile p {
  max-width: 52ch;
  margin: 0;
  color: var(--leise);
}

.fliess {
  max-width: 62ch;
}
.fliess-breit {
  max-width: 78ch;
}

/* ---------- Fakten-Leiste ---------- */
.fakten {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-block: 1px solid var(--kante);
  background: var(--flaeche);
}
@media (min-width: 900px) {
  .fakten {
    grid-template-columns: repeat(4, 1fr);
  }
}
.fakten div {
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1rem, 2.5vw, 2rem);
  border-right: 1px solid var(--kante);
  border-bottom: 1px solid var(--kante);
}
.fakten div:last-child {
  border-right: 0;
}
@media (min-width: 900px) {
  .fakten div {
    border-bottom: 0;
  }
}
.fakten b {
  display: block;
  white-space: nowrap;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.fakten div > span {
  display: block;
  font-size: 0.82rem;
  color: var(--leise);
  margin-top: 0.35rem;
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  padding: 0.95rem 1.5rem;
  border: 2px solid var(--akzent);
  background: var(--akzent);
  color: var(--auf-akzent);
  appearance: none;
}
.knopf:hover {
  background: transparent;
  color: var(--akzent-text);
}
.knopf-linie {
  background: transparent;
  color: var(--text);
  border-color: var(--kante);
}
.knopf-linie:hover {
  border-color: var(--signal);
  color: var(--signal);
  background: transparent;
}
.knopf-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

/* ---------- Bild-Bahnen ---------- */
.bild-bahn {
  position: relative;
}
.bild-bahn img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.bild-text {
  position: absolute;
  left: var(--rand);
  right: var(--rand);
  bottom: clamp(1.4rem, 4vw, 3rem);
  max-width: 46ch;
  color: #fff;
  text-shadow: 0 2px 24px rgba(10, 4, 16, 0.8);
}
.bild-bahn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 10, 30, 0.15) 0%,
    rgba(20, 10, 30, 0.9) 100%
  );
}
.bild-bahn .bild-text {
  z-index: 2;
}

.zweispalt {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .zweispalt {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.zweispalt-gedreht > *:first-child {
  order: 2;
}
@media (max-width: 899px) {
  .zweispalt-gedreht > *:first-child {
    order: 0;
  }
}
.zweispalt img {
  width: 100%;
}

/* ---------- Klebe-Bühne (Choreografie-Typ Parallax/Sticky) ---------- */
.klebe {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) {
  .klebe {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
  }
}
.klebe-bild {
  position: static;
}
@media (min-width: 1000px) {
  .klebe-bild {
    position: sticky;
    top: 6.5rem;
    align-self: start;
  }
}
.klebe-bild img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}
.klebe-schritte > div {
  padding: 1.6rem 0;
  border-top: 1px solid var(--kante);
}
.klebe-schritte > div:last-child {
  border-bottom: 1px solid var(--kante);
}
.klebe-schritte b {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  color: var(--akzent-text);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 0.4rem;
}

/* ---------- Listen statt Karten-Wüste ---------- */
.leistungs-liste {
  list-style: none;
  margin: 0;
  padding: 0;
}
.leistungs-liste > li {
  display: grid;
  gap: 0.3rem 1.4rem;
  grid-template-columns: 3.2rem 1fr;
  padding: 1.35rem 0;
  border-top: 1px solid var(--kante);
}
.leistungs-liste > li:last-child {
  border-bottom: 1px solid var(--kante);
}
.leistungs-liste .nr {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  color: var(--akzent-text);
  font-size: 1rem;
  padding-top: 0.15rem;
}
.leistungs-liste h3 {
  margin: 0 0 0.15rem;
}
.leistungs-liste p {
  margin: 0;
  color: var(--leise);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
  grid-column: 2;
}
.chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.24rem 0.62rem;
  border: 1px solid var(--kante);
  color: var(--leise);
}

/* ---------- Preistafeln ---------- */
.pakete {
  display: grid;
  gap: 1px;
  background: var(--kante);
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .pakete {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1240px) {
  .pakete {
    grid-template-columns: repeat(4, 1fr);
  }
}
.paket {
  background: var(--flaeche);
  padding: 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.paket-kopf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}
.paket-kopf b {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--akzent-text);
}
.paket h3 {
  margin: 0.6rem 0 0.2rem;
}
.paket .preis {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.8rem 0 0.2rem;
}
.paket .dauer {
  color: var(--leise);
  font-size: 0.88rem;
  margin: 0 0 1rem;
}
.paket ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  font-size: 0.94rem;
}
.paket li {
  padding: 0.32rem 0 0.32rem 1.15rem;
  position: relative;
  color: var(--leise);
}
.paket li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 0.5rem;
  height: 2px;
  background: var(--signal);
}
.paket .knopf {
  margin-top: auto;
  justify-content: center;
}

/* ---------- Finder (Branchen-Fingerabdruck) ---------- */
.finder {
  background: var(--flaeche-hoch);
  border: 1px solid var(--kante);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}
.finder fieldset {
  border: 0;
  margin: 0 0 1.4rem;
  padding: 0;
}
.finder legend {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leise);
  padding: 0 0 0.6rem;
}
.finder-optionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.finder-optionen label {
  border: 1px solid var(--kante);
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.finder-optionen input {
  accent-color: var(--akzent);
}
.finder-optionen label:has(input:checked) {
  border-color: var(--akzent);
  color: var(--text);
}
.finder-ergebnis {
  border-top: 3px solid transparent;
  border-image: var(--spektrum-quer) 1;
  background: var(--flaeche);
  padding: 1.3rem 1.4rem;
  margin-top: 1.2rem;
}
.finder-ergebnis b {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  display: block;
}

/* ---------- Standort-Schalter ---------- */
.ort-schalter {
  display: inline-flex;
  border: 1px solid var(--kante);
}
.ort-schalter button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--leise);
  font-family: "Figtree", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}
.ort-schalter button[aria-pressed="true"] {
  background: var(--akzent);
  color: var(--auf-akzent);
}

.ort-tafel {
  display: grid;
  gap: 1px;
  background: var(--kante);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .ort-tafel {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ort-karte {
  background: var(--flaeche);
  padding: 1.7rem 1.6rem;
}
.ort-karte h3 {
  margin-bottom: 0.2rem;
}
.ort-karte dl {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.35rem 1rem;
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
}
.ort-karte dt {
  color: var(--leise);
}
.ort-karte dd {
  margin: 0;
}
.jetzt-offen {
  font-weight: 700;
  color: var(--signal);
}

/* ---------- Karte (2-Klick) ---------- */
.karte-halter {
  position: relative;
  border: 1px solid var(--kante);
  background: var(--flaeche);
}
.karte-vorschau {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 260px;
  text-align: center;
  padding: 1.6rem;
  background-image: repeating-linear-gradient(
    135deg,
    var(--flaeche) 0 14px,
    var(--flaeche-hoch) 14px 28px
  );
}
.karte-halter iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* ---------- Formular ---------- */
.formular {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .formular {
    grid-template-columns: repeat(2, 1fr);
  }
  .formular .voll {
    grid-column: 1 / -1;
  }
}
.feld {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.feld label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--leise);
}
.feld input,
.feld select,
.feld textarea {
  font-family: "Figtree", sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--flaeche);
  border: 1px solid var(--kante);
  padding: 0.75rem 0.85rem;
  appearance: none;
  border-radius: 0;
}
.feld input:focus-visible,
.feld select:focus-visible,
.feld textarea:focus-visible {
  border-color: var(--signal);
}
.feld textarea {
  min-height: 7.5rem;
  resize: vertical;
}
.zustimmung {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--leise);
}
.zustimmung input {
  margin-top: 0.25rem;
  accent-color: var(--akzent);
}
.honig {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-hinweis {
  font-size: 0.88rem;
  color: var(--leise);
}
.form-meldung {
  font-weight: 600;
}

/* ---------- Marken-Laufband ---------- */
.laufband {
  overflow: hidden;
  border-block: 1px solid var(--kante);
  background: var(--flaeche);
}
.laufband-spur {
  display: flex;
  gap: 3rem;
  width: max-content;
  padding: 1.15rem 0;
  animation: schieben 32s linear infinite;
}
.laufband:hover .laufband-spur,
.laufband:focus-within .laufband-spur {
  animation-play-state: paused;
}
.laufband span {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--leise);
  white-space: nowrap;
}
@keyframes schieben {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Team ---------- */
.team-raster {
  display: grid;
  gap: 1px;
  background: var(--kante);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
  .team-raster {
    grid-template-columns: repeat(4, 1fr);
  }
}
.team-karte {
  background: var(--flaeche);
  padding: 1.4rem 1.3rem;
}
.team-zeichen {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--auf-akzent);
  background: var(--akzent);
}
.team-karte h3 {
  margin: 0 0 0.1rem;
  font-size: 1.1rem;
}
.team-karte p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--leise);
}

/* ---------- Reveals (native Scroll-Choreografie) ---------- */
@supports (animation-timeline: view()) {
  .zeigen {
    animation: auftauchen linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 26%;
  }
}
/* Bewusst ab 0.4 statt 0: ein Reveal darf nie dauerhaft unsichtbar sein
   (GESETZ Kap. 11 / WEB-CREW Schritt 7 — 0 Elemente mit opacity < 0.15). */
@keyframes auftauchen {
  from {
    transform: translateY(26px);
  }
  to {
    transform: none;
  }
}

/* ---------- Schwebende Kontakt-Knöpfe ---------- */
.schwebe {
  position: fixed;
  right: clamp(0.8rem, 2vw, 1.6rem);
  bottom: clamp(0.8rem, 2vw, 1.6rem);
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
.schwebe a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.1rem;
  border: 2px solid var(--akzent);
  background: var(--akzent);
  color: var(--auf-akzent);
  box-shadow: 0 10px 30px rgba(10, 4, 16, 0.45);
}
.schwebe a.wa {
  background: var(--grund);
  color: var(--text);
  border-color: var(--kante);
}
.schwebe a:hover {
  background: var(--grund);
  color: var(--text);
}

/* ---------- Fuß ---------- */
.fuss {
  padding: clamp(3rem, 6vw, 5rem) var(--rand) 2.2rem;
  background: var(--flaeche);
}
.fuss-raster {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .fuss-raster {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}
.fuss h4 {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--leise);
  margin-bottom: 0.9rem;
}
.fuss ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fuss li {
  margin-bottom: 0.4rem;
}
.fuss a {
  color: var(--text);
  text-decoration: none;
}
.fuss a:hover {
  color: var(--akzent-text);
  text-decoration: underline;
}
.fuss-unten {
  margin-top: 2.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--kante);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.85rem;
  color: var(--leise);
}
.social-reihe {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.social-reihe a {
  border: 1px solid var(--kante);
  padding: 0.4rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 600;
}

/* ---------- Mobil-Feinschliff ---------- */
@media (max-width: 780px) {
  .kopf-marke b span {
    display: none;
  }
  .kopf-werkzeuge .ort-schalter {
    display: none;
  }
  .kopf-marke img {
    height: 38px;
  }
  .kopf-marke b {
    font-size: 0.92rem;
  }
}
@media (min-width: 1100px) {
  .kopfzeile .nummer {
    display: none;
  }
}
/* Unter 900px trägt das Bild kein Text-Overlay mehr (GESETZ Kap. 5):
   eigenes Bildband, Aussage darunter auf ruhigem Grund. */
@media (max-width: 899px) {
  .bild-bahn::after {
    display: none;
  }
  .bild-bahn .bild-text {
    position: static;
    max-width: none;
    color: var(--text);
    text-shadow: none;
    padding: 1.6rem var(--rand) 2.4rem;
    background: var(--flaeche);
  }
  .bild-bahn .bild-text h2 {
    color: var(--text) !important;
  }
  .bild-bahn .bild-text .marke-zeile {
    color: var(--leise) !important;
  }
  .bild-bahn .riesen {
    font-size: clamp(3rem, 18vw, 5rem);
  }
}
.mobil-menue .ort-schalter {
  margin-top: 1.4rem;
}

/* ---------- 404 ---------- */
.fehler {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8rem var(--rand) 4rem;
}

/* ---------- Rechtstexte ---------- */
.recht {
  max-width: 78ch;
  margin-inline: auto;
  padding: 8.5rem var(--rand) 4rem;
}
.recht h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-top: 2.4rem;
}
.recht h3 {
  margin-top: 1.6rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .laufband-spur {
    animation: none;
  }
  .zeigen {
    animation: none;
    opacity: 1;
    transform: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Schwebende Knöpfe: verdecken nie Inhalt (GESETZ Kap. 10) ----------
   Fremd-Blick 31.08.2026: die Pillen lagen über der Fakten-Leiste. Auf schmalen
   Geräten sind sie deshalb eine eigene Leiste am unteren Rand, und die Seite
   reserviert sich dafür Platz — statt Inhalt zu überdecken. */
.schwebe a {
  padding: 0.7rem 0.95rem;
  font-size: 0.85rem;
}
@media (max-width: 899px) {
  body {
    padding-bottom: 4.6rem;
  }
  .schwebe {
    right: 0;
    left: 0;
    bottom: 0;
    flex-direction: row;
    gap: 1px;
    background: var(--kante);
    border-top: 1px solid var(--kante);
  }
  .schwebe a {
    flex: 1;
    justify-content: center;
    border: 0;
    box-shadow: none;
    padding: 0.95rem 0.5rem;
  }
  .schwebe a.wa {
    background: var(--flaeche);
  }
  .mobil-menue {
    padding-bottom: 6rem;
  }
}

/* Die letzte Fakten-Zelle behält rechts Platz für die schwebenden Knöpfe,
   damit dort nie Text unter einer Pille verschwindet (Fremd-Blick 31.08.2026). */
@media (min-width: 900px) {
  .fakten div:last-child {
    padding-right: 10.5rem;
  }
}
