/* ============================================================
   Public Racing - Stylesheet der neuen Seiten
   Bewusst getrennt von default.css: die braucht der Konfigurator
   in seiner alten Form weiter, dort wird nichts angetastet.
   ============================================================ */

:root {
  --akzent: #cc9900;
  --akzent-hell: #e6b52e;
  --grund: #101013;
  --grund-2: #17171c;
  --grund-3: #1f1f26;
  --linie: #2e2e38;
  --text: #e8e8ea;
  --text-leise: #a2a2ad;
  --warnung: #d8542f;
  --breite: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
/* Kein -webkit-font-smoothing: antialiased hier. Das stammt aus der
   Mac-Welt und schaltet unter Windows die Subpixel-Glaettung (ClearType)
   ab - Text wirkt dann duenn und unscharf, besonders hell auf dunkel. */

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

a { color: var(--akzent-hell); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; font-weight: 700; margin: 0 0 .6em; }
h1 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.01em; }
h3 { font-size: 18px; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

/* ---------- Hinweisband über dem Kopf ---------- */

.urlaubsband {
  background: var(--akzent);
  color: #14140f;
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 0;
  text-align: center;
}
.urlaubsband[hidden] { display: none; }
.urlaubsband strong { font-weight: 700; }
.urlaubsband a { color: #14140f; text-decoration: underline; }

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

.kopf {
  position: sticky; top: 0; z-index: 50;
  /* Deckend und ohne backdrop-filter: eine durchscheinende, weichgezeichnete
     Leiste erzwingt eine eigene Compositing-Ebene, und Text darauf verliert
     die Subpixel-Glaettung. Sieht schick aus, kostet aber Schaerfe. */
  background: var(--grund);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  max-width: var(--breite); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 20px;
}
.marke {
  /* Groesser gesetzt, dafuer die Sperrung etwas enger - sonst frisst der
     Schriftzug die Luft weg, die die zehn Menuepunkte brauchen. */
  font-weight: 800; font-size: 22px; letter-spacing: .10em;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.marke:hover { text-decoration: none; }
.marke span { color: var(--akzent); }

/* Abstand knapp gehalten: bei zehn Menuepunkten entscheiden diese Pixel
   darueber, ob die Kopfzeile einzeilig bleibt. */
.navi { display: flex; align-items: center; gap: 18px; }
.navi a {
  color: var(--text-leise); font-size: 15px; font-weight: 500;
  text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.navi a:hover { color: var(--text); text-decoration: none; }
.navi a[aria-current="page"] { color: var(--text); border-bottom-color: var(--akzent); }

/* Aufklappen auf schmalen Schirmen, ohne JavaScript */
.navi-schalter, .navi-knopf { display: none; }

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

.knopf {
  display: inline-block; padding: 13px 26px; border-radius: 3px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.knopf:hover { text-decoration: none; }
.knopf-voll { background: var(--akzent); color: #14140f; }
.knopf-voll:hover { background: var(--akzent-hell); }
.knopf-rand { border-color: var(--linie); color: var(--text); }
.knopf-rand:hover { border-color: var(--akzent); color: var(--akzent-hell); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Aufmacher ---------- */

.aufmacher {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: flex-end;
  border-bottom: 1px solid var(--linie);
  overflow: hidden;
}
.aufmacher-bild {
  position: absolute; inset: 0;
  background-image: url('../img/background.jpg');
  background-size: cover;
  background-position: center 62%;
}
.aufmacher-bild::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(16,16,19,.55) 0%, rgba(16,16,19,.62) 45%, rgba(16,16,19,.97) 100%);
}

/* Variante fuer Fotos, die man wirklich sehen soll: oben fast klar, der
   Schleier zieht erst dort an, wo der Text steht. Gemessen bleibt die
   weisse Schrift damit ueber 6:1 - noetig sind 4,5:1. */
.aufmacher-bild.zeigt-mehr::after {
  background: linear-gradient(180deg,
    rgba(16,16,19,.10) 0%, rgba(16,16,19,.16) 38%,
    rgba(16,16,19,.55) 68%, rgba(16,16,19,.94) 100%);
}
.aufmacher .huelle { position: relative; padding-top: 90px; padding-bottom: 64px; }

/* Hoher Aufmacher fuer Fotos, die moeglichst vollstaendig zu sehen sein
   sollen: je hoeher der Streifen, desto weniger schneidet "cover" oben und
   unten weg. Die Obergrenze verhindert, dass auf hohen Fenstern nur noch
   Bild kommt und der Text unter die Kante rutscht. */
.aufmacher-foto { min-height: 86vh; max-height: 900px; }
.aufmacher-text { max-width: 720px; }
.aufmacher h1 { margin-bottom: .5em; }
.aufmacher h1 em { font-style: normal; color: var(--akzent); }
.vorzeile {
  text-transform: uppercase; letter-spacing: .18em; font-size: 12px;
  font-weight: 700; color: var(--akzent); margin-bottom: 20px;
}
.aufmacher-satz { font-size: 19px; color: #d5d5d9; margin-bottom: 30px; }

/* Kopfzeile der Unterseiten */
.seitenkopf {
  padding: 68px 0 42px;
  border-bottom: 1px solid var(--linie);
  background: var(--grund-2);
}
.seitenkopf p { color: var(--text-leise); max-width: 680px; font-size: 17px; margin: 0; }

/* ---------- Abschnitte ---------- */

.abschnitt { padding: 74px 0; }
.abschnitt-dunkel { background: var(--grund-2); }
.abschnitt-kopf { max-width: 680px; margin-bottom: 44px; }
.abschnitt-kopf p { color: var(--text-leise); margin: 0; }

/* ---------- Karten ---------- */

.gitter { display: grid; gap: 22px; }
.gitter-2 { grid-template-columns: repeat(2, 1fr); }
.gitter-3 { grid-template-columns: repeat(3, 1fr); }

/* Rasterkinder schrumpfen sonst nicht unter ihren Inhalt (min-width: auto).
   Eine breite Tabelle schiebt damit die ganze Seite auseinander, statt in
   ihrer eigenen Huelle zu scrollen. */
.gitter > *, .karten-gitter > * { min-width: 0; }

.karte {
  background: var(--grund-3);
  border: 1px solid var(--linie);
  border-radius: 4px;
  padding: 28px;
}
.karte h3 { margin-bottom: .5em; }
.karte p { color: var(--text-leise); margin-bottom: 0; }
.karte p + p { margin-top: .9em; }
.karte-nummer {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(204, 153, 0, .13); border: 1px solid rgba(204, 153, 0, .45);
  color: var(--akzent); font-weight: 700; font-size: 14px;
  margin-bottom: 16px;
}

/* Karte mit Akzentkante links */
.karte-akzent { border-left: 3px solid var(--akzent); }

/* ---------- Merkmalzeile ---------- */

/* Verträgt drei oder vier Angaben nebeneinander */
.merkmale { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.merkmal {
  padding: 26px 18px;
  border-left: 1px solid var(--linie);
}
.merkmal:first-child { border-left: 0; padding-left: 0; }
.merkmal-wert {
  font-size: 24px; font-weight: 800; color: var(--akzent); line-height: 1.1;
  /* Fuenf Kennzahlen nebeneinander lassen je Spalte nur rund 175px Text zu.
     Bei 27px und 28px Polster passte "1-3 Stunden" mit vier Pixel Reserve --
     auf Rechnern ohne "Segoe UI Variable Text" oder bei 110% Zoom brach die
     Zeile deshalb um. 24px und 18px Polster geben auch dem laengsten
     Wort "Meisterbetrieb" noch Luft, wenn die Schrift fehlt. */
}
.merkmal-text { color: var(--text-leise); font-size: 15px; margin-top: 6px; }

/* ---------- Ablaufliste ---------- */

.ablauf { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.ablauf li {
  counter-increment: schritt;
  position: relative;
  padding: 0 0 26px 56px;
  border-left: 1px solid var(--linie);
  margin-left: 15px;
}
.ablauf li:last-child { border-left-color: transparent; padding-bottom: 0; }
.ablauf li::before {
  content: counter(schritt);
  position: absolute; left: -16px; top: -2px;
  width: 31px; height: 31px; border-radius: 50%;
  background: var(--grund); border: 1px solid rgba(204,153,0,.45);
  color: var(--akzent); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.ablauf strong { display: block; color: var(--text); margin-bottom: 3px; }
.ablauf span { color: var(--text-leise); font-size: 16px; }

/* Wahlschritt: zählt nicht mit, trägt ein Plus statt einer Nummer */
.ablauf li.wahl { counter-increment: none; }
.ablauf li.wahl::before {
  content: "+";
  border-style: dashed;
  font-size: 18px;
}
.ablauf li.wahl strong { color: var(--akzent-hell); }
.ablauf li.wahl .kennzeichen {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--akzent);
  border: 1px solid rgba(204, 153, 0, .45);
  border-radius: 2px; padding: 1px 7px; margin-bottom: 7px;
}

/* ---------- Preisangaben ---------- */

.preise { width: 100%; border-collapse: collapse; }
.preise th, .preise td {
  text-align: left; padding: 14px 16px;
  border-bottom: 1px solid var(--linie);
}
.preise th { color: var(--text-leise); font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: .07em; }
.preise td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.preise tr:last-child td { border-bottom: 0; }
.preise-huelle { overflow-x: auto; }

/* ---------- Hinweiskästen ---------- */

.hinweis {
  border-left: 3px solid var(--akzent);
  background: rgba(204, 153, 0, .07);
  padding: 20px 24px; border-radius: 0 3px 3px 0;
  font-size: 16px;
}
.hinweis strong { color: var(--akzent-hell); }
.hinweis-ernst {
  border-left-color: var(--warnung);
  background: rgba(216, 84, 47, .09);
}
.hinweis-ernst strong { color: #f0846a; }
.hinweis p:last-child { margin-bottom: 0; }

/* ---------- Öffnungszeiten ---------- */

.zeiten { width: 100%; border-collapse: collapse; }
.zeiten td { padding: 12px 0; border-bottom: 1px solid var(--linie); }
.zeiten td:first-child { font-weight: 600; width: 40%; }
.zeiten td:last-child { color: var(--text-leise); text-align: right; }
.zeiten tr:last-child td { border-bottom: 0; }
.zeiten .zu td { color: #77777f; }
.zeiten .zu td:first-child { font-weight: 500; }

/* ---------- Fragen ---------- */

.frage {
  border-bottom: 1px solid var(--linie);
  padding: 0;
}
.frage:last-child { border-bottom: 0; }
.frage summary {
  cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 17px; list-style: none;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: "+"; position: absolute; right: 6px; top: 19px;
  color: var(--akzent); font-size: 24px; font-weight: 400; line-height: 1;
}
.frage[open] summary::after { content: "\2013"; }
.frage summary:hover { color: var(--akzent-hell); }
.frage-inhalt { padding: 0 0 24px; color: var(--text-leise); max-width: 780px; }
.frage-inhalt p:last-child { margin-bottom: 0; }

/* ---------- Kontaktangaben ---------- */

.angaben { list-style: none; margin: 0; padding: 0; }
.angaben li {
  display: flex; gap: 18px; padding: 15px 0;
  border-bottom: 1px solid var(--linie);
}
.angaben li:last-child { border-bottom: 0; }
.angaben dt, .angaben .bez {
  color: var(--text-leise); font-size: 15px; min-width: 190px; flex-shrink: 0;
}
.angaben .wert { color: var(--text); }

/* ---------- Rechtstexte ---------- */

.rechtstext { max-width: 780px; }
.rechtstext h2 { margin-top: 2.2em; font-size: 22px; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext h3 { margin-top: 1.8em; color: var(--text); font-size: 17px; }
.rechtstext p, .rechtstext li { color: var(--text-leise); }
.rechtstext ul { padding-left: 22px; margin: 0 0 1.1em; }
.rechtstext li { margin-bottom: .5em; }
.rechtstext .stand { font-size: 14px; color: #77777f; }

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

.fuss {
  background: var(--grund-2);
  border-top: 1px solid var(--linie);
  padding: 56px 0 30px;
  font-size: 15px;
}
.fuss-gitter {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  margin-bottom: 42px;
}
.fuss h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .13em;
  color: var(--text-leise); margin: 0 0 16px; font-weight: 700;
}
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 9px; }
.fuss a { color: var(--text-leise); }
.fuss a:hover { color: var(--akzent-hell); }
.fuss-marke {
  font-weight: 800; letter-spacing: .13em; color: var(--text);
  margin-bottom: 14px; font-size: 17px;
}
.fuss-marke span { color: var(--akzent); }
.fuss-satz { color: var(--text-leise); max-width: 300px; }
.fuss-unten {
  border-top: 1px solid var(--linie); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  justify-content: space-between; color: #77777f; font-size: 14px;
}
.fuss-unten a { color: #77777f; }
.sozial { display: flex; gap: 14px; margin-top: 18px; }
.sozial a {
  width: 36px; height: 36px; border-radius: 3px;
  border: 1px solid var(--linie);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-leise);
}
.sozial a:hover { border-color: var(--akzent); color: var(--akzent); }
.sozial svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- Abschlussaufruf ---------- */

.aufruf {
  background: var(--grund-3);
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  padding: 66px 0;
}
.aufruf-innen { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.aufruf h2 { margin-bottom: .3em; }
.aufruf p { color: var(--text-leise); margin: 0; max-width: 560px; }

/* ---------- Konfigurator, eingebettet ---------- */

.konfig-rahmen {
  background: var(--grund-3);
  border: 1px solid var(--linie);
  border-radius: 4px;
  padding: 30px;
}
.konfig-rahmen select {
  width: 100%; padding: 12px 14px;
  background: var(--grund-2); color: var(--text);
  border: 1px solid var(--linie); border-radius: 3px;
  font-size: 16px; font-family: inherit;
}
.konfig-rahmen select:focus { outline: 2px solid var(--akzent); outline-offset: -2px; }
.konfig-felder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* ---------- Bildschirmfotos aus der Arbeit ---------- */

.schirmbild { margin: 0; }

/* Bildband ueber die volle Fensterbreite, ausserhalb der Huelle.
   Bei 16:9 sind von einem 4:3-Foto immer genau 900 der 1200 Bildzeilen
   zu sehen - unabhaengig von der Fensterbreite, weil sich Hoehe und
   Massstab gemeinsam mit der Breite aendern. Auf schmalen Fenstern
   wechselt das Band auf 4:3 und zeigt dann das ganze Bild. */
.bildband { margin: 0; }
.bildband-bild {
  aspect-ratio: 16 / 9;
  max-height: 92vh;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}
.bildband figcaption { padding-top: 16px; }
.bildband figcaption span {
  display: block; max-width: 780px;
  color: var(--text-leise); font-size: 15px;
}
.schirmbild img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--linie);
  border-radius: 4px;
}
.schirmbild figcaption {
  color: var(--text-leise); font-size: 15px; margin-top: 12px;
  max-width: 780px;
}

/* ---------- Bilderreihe zum Wischen ----------
   Bewusst ohne Selbstlauf: eine Slideshow, die von allein weiterspringt,
   wechselt das Bild, während jemand noch hinsieht. Diese hier bewegt sich
   nur, wenn der Besucher es will - wischen, klicken oder Pfeiltasten.
   Ohne JavaScript bleibt sie eine ganz normale Scrollleiste. */

.reihe { position: relative; }
.reihe-spur {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--linie) transparent;
  padding-bottom: 12px;
}
.reihe-spur > figure {
  margin: 0;
  flex: 0 0 100%;
  scroll-snap-align: center;
}
.reihe-bild {
  background: #0a0a0c;
  border: 1px solid var(--linie);
  border-radius: 4px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.reihe-bild img {
  width: 100%; height: 100%;
  object-fit: contain;   /* hoch- und quergestellte Bilder ohne Beschnitt */
  display: block;
}
.reihe-spur figcaption {
  color: var(--text-leise); font-size: 15px; margin-top: 12px;
  min-height: 2.6em;
}

.reihe-knopf {
  position: absolute; top: calc(50% - 40px); transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(16, 16, 19, .82);
  border: 1px solid var(--linie);
  color: var(--text); font-size: 20px; line-height: 1;
  cursor: pointer; display: none;
  align-items: center; justify-content: center;
}
.reihe-knopf:hover { border-color: var(--akzent); color: var(--akzent); }
.reihe-knopf[hidden] { display: none !important; }
.reihe-zurueck { left: 12px; }
.reihe-vor { right: 12px; }
.reihe.mit-js .reihe-knopf { display: flex; }

.reihe-punkte {
  display: flex; justify-content: center; gap: 9px; margin-top: 8px;
}
.reihe-punkte button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%;
  border: 1px solid var(--linie); background: transparent; cursor: pointer;
}
.reihe-punkte button[aria-current="true"] {
  background: var(--akzent); border-color: var(--akzent);
}
.reihe-zaehler {
  text-align: center; color: #77777f; font-size: 14px; margin-top: 10px;
}

/* ---------- Bildstrecke ---------- */

.bilder { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.bilder figure { margin: 0; }
.bilder img {
  width: 100%; height: auto; display: block;
  border-radius: 4px; border: 1px solid var(--linie);
  aspect-ratio: 3 / 2; object-fit: cover;
}
.bilder figcaption {
  color: var(--text-leise); font-size: 14px; margin-top: 10px;
}
.bildnachweis {
  margin-top: 24px; font-size: 14px; color: #77777f;
}
.bildnachweis a { color: #8a8a95; }

/* ---------- Stützpunktkarte ---------- */

.karten-gitter {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: 48px;
  align-items: start;
}

.karten-feld {
  background: var(--grund-3);
  border: 1px solid var(--linie);
  border-radius: 4px;
  padding: 20px;
  position: sticky; top: 92px;
}

.karte { width: 100%; height: auto; display: block; }
.karte .laender path {
  fill: #22222b;
  stroke: #3a3a46;
  stroke-width: 1;
  stroke-linejoin: round;
}
.karte .marke circle {
  fill: var(--grund);
  stroke: var(--akzent);
  stroke-width: 2;
}
.karte .marke text {
  fill: var(--akzent-hell);
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}
.karte .marke-sitz circle { fill: var(--akzent); stroke: var(--akzent-hell); stroke-width: 2.5; }
.karte .marke-sitz text { fill: #14140f; font-size: 12px; }

.karten-quelle {
  margin-top: 14px; font-size: 13px; color: #77777f; text-align: right;
}

/* Liste der Stützpunkte */
.punkte-gruppe { margin-bottom: 34px; }
.punkte-gruppe:last-child { margin-bottom: 0; }
.punkte-gruppe > h3 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .13em;
  color: var(--text-leise); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--linie);
}
.punkte { list-style: none; margin: 0; padding: 0; }
.punkte li {
  display: flex; gap: 16px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--linie);
}
.punkte li:last-child { border-bottom: 0; }
.punkte .nummer {
  flex: 0 0 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(204,153,0,.45); color: var(--akzent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; align-self: center;
}
.punkte .ort { font-weight: 600; }
.punkte .zusatz { color: var(--text-leise); font-size: 15px; }
.punkte .sitz .nummer { background: var(--akzent); border-color: var(--akzent); color: #14140f; }
.punkte .sitz .ort { color: var(--akzent-hell); }

/* ---------- Nur für Vorleseprogramme ---------- */

.nur-vorlesen {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ============================================================
   Schmale Schirme
   ============================================================ */

/* Das Klappmenü hängt an der Zahl der Menüpunkte, nicht an der Geräteart:
   zehn Punkte brauchen nebeneinander rund 1030 px. Darunter klappt die
   Navigation zusammen, während das übrige Layout noch breit bleibt.
   Kommt ein Menüpunkt dazu, gehört diese Grenze nach oben — und irgendwann
   ist die Kopfzeile voll; dann muessen Punkte zusammengefasst werden. */
@media (max-width: 1060px) {
  .kopf-innen { position: relative; }

  .navi-knopf {
    display: block; background: none; border: 1px solid var(--linie);
    color: var(--text); border-radius: 3px; padding: 8px 12px;
    font-size: 15px; font-family: inherit; cursor: pointer;
  }
  .navi {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--grund-2); border-bottom: 1px solid var(--linie);
    padding: 8px 24px 18px;
  }
  .navi-schalter:checked ~ .navi { display: flex; }
  .navi a {
    padding: 13px 0; border-bottom: 1px solid var(--linie);
    font-size: 16px;
  }
  .navi a[aria-current="page"] { border-bottom-color: var(--akzent); }
}

@media (max-width: 900px) {
  .gitter-3 { grid-template-columns: repeat(2, 1fr); }
  .fuss-gitter { grid-template-columns: 1fr 1fr; }
  .karten-gitter { grid-template-columns: 1fr; gap: 34px; }
  .karten-feld { position: static; max-width: 460px; margin: 0 auto; }
  .konfig-felder { grid-template-columns: repeat(2, 1fr); }
}

/* Auf sehr schmalen Geraeten (ab iPhone SE abwaerts) teilt sich der
   Schriftzug die Zeile mit dem Menue-Knopf und wird sonst zu breit. */
@media (max-width: 400px) {
  .marke { font-size: 19px; letter-spacing: .08em; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  /* Die Regeln zum Klappmenü stehen weiter oben bei 1010 px. */

  .aufmacher { min-height: 66vh; }
  .aufmacher-foto { min-height: 62vh; max-height: none; }
  .bildband-bild { aspect-ratio: 4 / 3; max-height: none; }
  .aufmacher .huelle { padding-top: 60px; padding-bottom: 48px; }
  .abschnitt { padding: 54px 0; }
  .seitenkopf { padding: 48px 0 34px; }
  .gitter-2, .gitter-3 { grid-template-columns: 1fr; }
  .merkmale { grid-template-columns: 1fr; }
  .merkmal { border-left: 0; border-top: 1px solid var(--linie); padding: 20px 0; }
  .merkmal:first-child { border-top: 0; padding-top: 0; }
  .fuss-gitter { grid-template-columns: 1fr; gap: 34px; }
  .bilder { grid-template-columns: 1fr; }
  .karten-feld { position: static; padding: 12px; }
  .angaben li { flex-direction: column; gap: 3px; }
  .angaben dt, .angaben .bez { min-width: 0; }
  .konfig-felder { grid-template-columns: 1fr; }
  .konfig-rahmen { padding: 20px; }
  .aufruf { padding: 48px 0; }
}

/* ============================================================
   Druck
   ============================================================ */

@media print {
  body { background: #fff; color: #000; }
  .kopf, .fuss, .aufruf, .aufmacher-bild { display: none; }
  a { color: #000; }
  .rechtstext p, .rechtstext li { color: #000; }
}
