/* ==========================================================================
   GEOKAT Chiptuning - ein Stil fuer den ganzen Auftritt
   Reihenfolge: Schriften - Werte - Grundlagen - Bausteine - Bereiche
   ========================================================================== */

/* --- Schriften -----------------------------------------------------------
   Plus Jakarta Sans liegt bei uns im Verzeichnis. Es wird NICHTS von einem
   fremden Server geladen - deshalb braucht die Seite auch keinen Cookie-Banner
   und keine Einwilligung fuer Schriften.                                  */

@font-face {
  font-family: 'Jakarta';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../schriften/jakarta-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jakarta';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../schriften/jakarta-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Werte --------------------------------------------------------------- */

:root {
  --grund:        #0b0d10;
  --grund-2:      #0f1318;
  --flaeche:      #141920;
  --flaeche-hoch: #1b2129;
  --linie:        rgba(255, 255, 255, .09);
  --linie-stark:  rgba(255, 255, 255, .18);

  --schrift:      #eef2f7;
  --leise:        #97a3b2;
  --sehr-leise:   #7c8896;

  --akzent:       #ff6a2b;
  --akzent-hell:  #ffa257;
  --akzent-tief:  #d8480f;
  --akzent-weich: rgba(255, 106, 43, .13);
  --gut:          #3ddc97;

  --rund:        14px;
  --rund-gross:  24px;
  --schatten:    0 24px 60px rgba(0, 0, 0, .5);
  --schatten-klein: 0 6px 20px rgba(0, 0, 0, .35);

  --huelle:      1180px;
  --rand:        20px;
  --kopf-hoehe:  68px;

  --takt: 240ms cubic-bezier(.2, .7, .3, 1);
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-hoehe) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--schrift);
  font-family: 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 64px;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 30px; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--akzent-hell);
  outline-offset: 3px;
  border-radius: 4px;
}

.zum-inhalt {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--rund);
  background: var(--akzent);
  color: #fff;
  font-weight: 700;
}
.zum-inhalt:focus { left: 8px; }

/* --- Bausteine ----------------------------------------------------------- */

.huelle {
  width: 100%;
  max-width: var(--huelle);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.abschnitt { padding: clamp(56px, 9vw, 104px) 0; }
.abschnitt-hell { background: var(--grund-2); border-block: 1px solid var(--linie); }

.abschnitt-kopf { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.abschnitt-kopf.mitte { margin-inline: auto; text-align: center; }

.augenbraue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid var(--linie-stark);
  border-radius: 999px;
  background: var(--akzent-weich);
  color: var(--akzent-hell);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.titel-1 { font-size: clamp(2.1rem, 6.4vw, 3.9rem); }
.titel-2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.titel-3 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); }

.fuehrung {
  color: var(--leise);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform var(--takt), background var(--takt), border-color var(--takt), box-shadow var(--takt);
}
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: translateY(0); }

.knopf-haupt {
  background: linear-gradient(135deg, var(--akzent) 0%, var(--akzent-tief) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 106, 43, .28);
}
.knopf-haupt:hover { box-shadow: 0 16px 34px rgba(255, 106, 43, .38); }

.knopf-rand {
  border-color: var(--linie-stark);
  background: rgba(255, 255, 255, .04);
  color: var(--schrift);
}
.knopf-rand:hover { border-color: var(--akzent); background: var(--akzent-weich); }

.knopf-gross { padding: 16px 28px; font-size: 1.02rem; }

.karte {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  background: linear-gradient(180deg, var(--flaeche) 0%, var(--grund-2) 100%);
  transition: transform var(--takt), border-color var(--takt), box-shadow var(--takt);
}
.karte:hover {
  transform: translateY(-4px);
  border-color: var(--linie-stark);
  box-shadow: var(--schatten-klein);
}
.karte h3 { font-size: 1.22rem; }
.karte p { color: var(--leise); margin-bottom: 0; }

.karte-zeichen {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border: 1px solid var(--linie-stark);
  border-radius: 15px;
  background: var(--akzent-weich);
  color: var(--akzent-hell);
}

.raster { display: grid; gap: 18px; }
.raster-2 { grid-template-columns: 1fr; }
.raster-3 { grid-template-columns: 1fr; }
.raster-4 { grid-template-columns: 1fr 1fr; }

.liste-haken { display: grid; gap: 12px; }
.liste-haken li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--leise);
}
.liste-haken li .sb { margin-top: 4px; color: var(--gut); }
.liste-haken li strong { color: var(--schrift); }

/* Aufzaehlung mit Haken - der Text kommt aus der Verwaltung und bringt
   nur ein <ul> mit; der Haken wird gezeichnet, nicht mitgeliefert. */
.liste-haken-text ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.liste-haken-text li { position: relative; padding-left: 32px; color: var(--leise); }
.liste-haken-text li::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--gut);
  border-bottom: 2.5px solid var(--gut);
  transform: rotate(-45deg);
}
.liste-haken-text li strong { color: var(--schrift); }
.liste-haken-text a { color: var(--akzent-hell); text-decoration: underline; }
.liste-haken-text p { color: var(--leise); }

.fehlerseite .buehne-knoepfe { justify-content: center; }
.zustimmung p { display: inline; margin: 0; }
.zustimmung ul { display: none; }

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

.kopf {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--linie);
  background: rgba(11, 13, 16, .82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
}

.kopf-reihe {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--kopf-hoehe);
}

.wortmarke { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.wortmarke-zeichen { display: grid; place-items: center; color: var(--leise); }
.wortmarke-text { display: grid; line-height: 1.12; }
.wortmarke-text strong {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.wortmarke-text small {
  color: var(--sehr-leise);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.menue-knopf {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--linie-stark);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  color: var(--schrift);
  cursor: pointer;
}

.kopf-anruf { display: none; }

.hauptmenue {
  position: fixed;
  inset: var(--kopf-hoehe) 0 auto;
  display: none;
  padding: 12px var(--rand) 26px;
  border-bottom: 1px solid var(--linie);
  background: var(--grund-2);
  box-shadow: var(--schatten);
}
.hauptmenue.offen { display: block; }
.hauptmenue ul { display: grid; gap: 2px; }
.hauptmenue a {
  display: block;
  padding: 14px 12px;
  border-radius: var(--rund);
  color: var(--leise);
  font-weight: 600;
}
.hauptmenue a:hover { background: rgba(255, 255, 255, .05); color: var(--schrift); }
.hauptmenue a[aria-current="page"] { background: var(--akzent-weich); color: var(--akzent-hell); }
.menue-fuss { margin-top: 16px; }
.menue-fuss .knopf { width: 100%; }

/* --- Handleiste (nur am Telefon) ----------------------------------------- */

.handleiste {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--linie);
  background: rgba(11, 13, 16, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-bottom: env(safe-area-inset-bottom);
}
.handleiste a {
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 9px 4px 8px;
  color: var(--leise);
  font-size: .7rem;
  font-weight: 700;
}
.handleiste a + a { border-left: 1px solid var(--linie); }
.handleiste a:active { color: var(--akzent-hell); }

/* --- Buehne -------------------------------------------------------------- */

.buehne {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(90% 120% at 88% 6%, rgba(255, 106, 43, .20) 0%, transparent 58%),
    radial-gradient(70% 90% at 4% 92%, rgba(60, 110, 220, .14) 0%, transparent 60%),
    linear-gradient(180deg, #0d1015 0%, var(--grund) 100%);
}
.buehne::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(80% 70% at 50% 25%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 25%, #000 0%, transparent 78%);
  pointer-events: none;
}
.buehne .huelle { position: relative; }

.buehne-raster { display: grid; gap: clamp(34px, 5vw, 56px); align-items: center; }

.buehne-titel { margin-bottom: 18px; }
.buehne-titel .glanz {
  background: linear-gradient(100deg, var(--akzent-hell) 10%, var(--akzent) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.buehne-text { max-width: 560px; margin-bottom: 28px; }

.buehne-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

.buehne-zahlen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 26px;
  border-top: 1px solid var(--linie);
}
.buehne-zahlen div strong {
  display: block;
  font-size: clamp(1.3rem, 3.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.buehne-zahlen .zahl-text {
  display: block;
  color: var(--sehr-leise);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.buehne-zahlen .sterne-reihe { vertical-align: baseline; }

/* --- Leistungsdiagramm --------------------------------------------------- */

.diagramm {
  position: relative;
  padding: 22px 20px 18px;
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  background: linear-gradient(165deg, rgba(26, 32, 41, .95) 0%, rgba(15, 19, 24, .95) 100%);
  box-shadow: var(--schatten);
}
.diagramm-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.diagramm-kopf h2 { margin: 0; font-size: 1rem; letter-spacing: .02em; }
.diagramm-kopf span { color: var(--sehr-leise); font-size: .74rem; }
.diagramm svg { display: block; width: 100%; height: auto; }
.diagramm-fuss {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--linie);
  font-size: .78rem;
  color: var(--leise);
}
.diagramm-fuss b { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.diagramm-fuss i {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--sehr-leise);
}
.diagramm-fuss .an i { background: linear-gradient(90deg, var(--akzent), var(--akzent-hell)); }

/* --- Fahrzeugarten ------------------------------------------------------- */

.fahrzeuge { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fahrzeug {
  padding: 16px 16px 15px;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  background: var(--flaeche);
  transition: border-color var(--takt), background var(--takt);
}
.fahrzeug:hover { border-color: var(--akzent); background: var(--flaeche-hoch); }
.fahrzeug strong { display: block; font-size: .98rem; }
.fahrzeug span { color: var(--sehr-leise); font-size: .8rem; line-height: 1.45; }

/* --- Schritte ------------------------------------------------------------ */

.schritte { display: grid; gap: 16px; }
.schritt {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  background: var(--flaeche);
}
.schritt-nr {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--akzent), var(--akzent-tief));
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
}
.schritt h3 { font-size: 1.08rem; }
.schritt p { margin: 0; color: var(--leise); font-size: .95rem; }

/* --- Band ---------------------------------------------------------------- */

.band {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 106, 43, .16) 0%, transparent 60%),
    var(--flaeche);
}
.band h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.band p { color: var(--leise); margin: 0; }
.band-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

.sterne-reihe { display: inline-flex; gap: 3px; color: var(--akzent-hell); }
.sterne-reihe .sb { fill: currentColor; }

/* --- Formular ------------------------------------------------------------ */

.kontakt-raster { display: grid; gap: 22px; align-items: start; }

.formular { display: grid; gap: 16px; }
.feld { display: grid; gap: 7px; }
.feld > label { font-size: .84rem; font-weight: 700; color: var(--leise); }
.feld .noetig { color: var(--akzent); }

/* Alle Eingaben - bewusst nicht nach Typ aufgezaehlt. Genau daran ist das
   Kennwortfeld einmal durchgerutscht und wurde weiss. */
.formular input:not([type="checkbox"]):not([type="hidden"]),
.formular select,
.formular textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--linie-stark);
  border-radius: var(--rund);
  background: var(--grund-2);
  color: var(--schrift);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--takt), background var(--takt);
}
.formular textarea { min-height: 132px; resize: vertical; }
.formular select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2397a3b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.formular input:not([type="checkbox"]):focus,
.formular select:focus,
.formular textarea:focus {
  border-color: var(--akzent);
  background: var(--flaeche);
  outline: none;
}
.formular input::placeholder, .formular textarea::placeholder { color: var(--sehr-leise); }

.feld-paar { display: grid; gap: 16px; }

.zustimmung {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: .87rem;
  color: var(--leise);
}
.zustimmung input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--akzent); }
.zustimmung a { color: var(--akzent-hell); text-decoration: underline; }

/* --- Zeichen im Eingabefeld ----------------------------------------------
   Das Sinnbild sitzt IM Feld, links. Es faengt keine Klicks ab, damit ein
   Tipp darauf trotzdem das Feld trifft.                                   */

.feld-zeichen { position: relative; display: block; }
.feld-zeichen > .sb {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.feld-zeichen textarea + .sb,
.feld-zeichen > .sb.oben { top: 17px; transform: none; }

/* Die Aufzaehlung mit :not() weiter oben waere sonst staerker als diese
   Regel - deshalb hier dieselbe Machart, nur eine Stufe genauer. */
.formular .feld-zeichen input:not([type="checkbox"]):not([type="hidden"]),
.formular .feld-zeichen select,
.formular .feld-zeichen textarea,
.feld-zeichen input,
.feld-zeichen select,
.feld-zeichen textarea { padding-left: 46px; }

/* Farben der Sinnbilder - jedes Feld bekommt seine eigene, damit das Auge
   die Maske schneller erfasst. */
.zf-orange { color: #ff8a3d; }
.zf-gruen  { color: #3ddc97; }
.zf-blau   { color: #5aa9ff; }
.zf-lila   { color: #b98cff; }
.zf-gelb   { color: #ffc757; }
.zf-tuerkis{ color: #4fd6d2; }

/* Honigtopf: fuer Menschen unsichtbar, fuer Maschinen verlockend. */
.honigtopf {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.meldung {
  padding: 15px 18px;
  border: 1px solid;
  border-radius: var(--rund);
  font-size: .93rem;
}
.meldung-gut { border-color: rgba(61, 220, 151, .4); background: rgba(61, 220, 151, .1); color: #a9f0cf; }
.meldung-schlecht { border-color: rgba(255, 106, 43, .45); background: rgba(255, 106, 43, .1); color: #ffc4a6; }
.meldung ul { margin-top: 8px; display: grid; gap: 4px; list-style: disc; padding-left: 20px; }

.info-karte {
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  background: var(--flaeche);
}
.info-karte h2 { font-size: 1.15rem; }
.info-liste { display: grid; gap: 16px; margin-bottom: 22px; }
.info-liste li { display: grid; grid-template-columns: 22px 1fr; gap: 13px; align-items: start; }
.info-liste .sb { margin-top: 3px; color: var(--akzent-hell); }
.info-liste b { display: block; font-weight: 700; }
.info-liste span, .info-liste a { color: var(--leise); }
.info-liste a:hover { color: var(--akzent-hell); }

.zeiten-tabelle { display: grid; gap: 8px; margin-top: 8px; }
.zeiten-tabelle li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--linie);
  font-size: .92rem;
  color: var(--leise);
}
.zeiten-tabelle li:last-child { border-bottom: 0; }
.zeiten-tabelle strong { color: var(--schrift); }

/* --- Fragen und Antworten ------------------------------------------------
   Auf- und Zuklappen kann der Browser von sich aus (details/summary).
   Dafuer braucht es kein Javascript.                                      */

.fragen { display: grid; gap: 12px; max-width: 860px; }
.fragen details {
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  background: var(--flaeche);
  transition: border-color var(--takt);
}
.fragen details[open] { border-color: var(--linie-stark); }
.fragen summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: '';
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--akzent);
  border-bottom: 2px solid var(--akzent);
  transform: rotate(45deg);
  transition: transform var(--takt);
}
.fragen details[open] summary::after { transform: rotate(-135deg); }
.fragen summary:hover { color: var(--akzent-hell); }
.fragen p {
  padding: 0 20px 20px;
  margin: 0;
  color: var(--leise);
  font-size: .95rem;
}

/* --- Verwaltung ----------------------------------------------------------
   Die kleine Oberflaeche fuer den Inhaber: Liste der Anfragen, abhaken,
   loeschen. Sie benutzt dieselben Bausteine wie die oeffentliche Seite.   */

.knopf-klein { padding: 9px 16px; font-size: .87rem; }
.knopf-still {
  border-color: var(--linie);
  background: transparent;
  color: var(--sehr-leise);
}
.knopf-still:hover {
  border-color: rgba(255, 106, 43, .5);
  background: rgba(255, 106, 43, .08);
  color: #ffb193;
}

.anmeldung { display: grid; place-items: center; min-height: 50vh; }
.anmeldung-kasten {
  width: 100%;
  max-width: 420px;
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid var(--linie);
  border-radius: var(--rund-gross);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.anmeldung-kasten h1 { margin-bottom: .3em; }
.anmeldung-text { margin-bottom: 20px; color: var(--leise); font-size: .93rem; }
.anmeldung .knopf { width: 100%; margin-top: 4px; }

.vw-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.vw-kopf h1 { margin: 0; }
.vw-kopf-rechts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.vw-reiter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--linie);
}
.vw-reiter a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--rund);
  color: var(--leise);
  font-size: .92rem;
  font-weight: 700;
}
.vw-reiter a:hover { background: rgba(255, 255, 255, .04); color: var(--schrift); }
.vw-reiter a.an { background: var(--akzent-weich); color: var(--akzent-hell); }

.vw-blase {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--akzent);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
}

.vw-hinweis { max-width: 760px; margin-bottom: 18px; color: var(--sehr-leise); font-size: .9rem; }
.vw-hilfe strong { color: var(--leise); }

.vw-formular { max-width: 900px; }
.vw-felder { display: grid; gap: 16px; margin-bottom: 26px; }
.vw-feld { display: grid; gap: 6px; }
.vw-feld > label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--leise);
  font-size: .84rem;
  font-weight: 700;
}
.vw-feld input,
.vw-feld textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--linie-stark);
  border-radius: var(--rund);
  background: var(--grund-2);
  color: var(--schrift);
  font: inherit;
  font-size: .95rem;
}
.vw-feld textarea { min-height: 96px; line-height: 1.55; resize: vertical; }
.vw-feld input:focus,
.vw-feld textarea:focus { border-color: var(--akzent); background: var(--flaeche); outline: none; }
.vw-feld input::placeholder,
.vw-feld textarea::placeholder { color: var(--sehr-leise); opacity: .75; }
.vw-paar input::placeholder { color: var(--sehr-leise); opacity: .75; }
.vw-feld.ist-geaendert input,
.vw-feld.ist-geaendert textarea { border-color: rgba(255, 106, 43, .45); }
.vw-punkt { width: 7px; height: 7px; border-radius: 50%; background: var(--akzent); }

/* Platz fuers Sinnbild - muss NACH .vw-feld stehen, sonst gewinnt dort
   die kurze padding-Angabe. */
.vw-feld .feld-zeichen input,
.vw-feld .feld-zeichen textarea,
.vw-paar .feld-zeichen input { padding-left: 44px; }
.vw-paar .feld-zeichen { display: block; }

.vw-paare { display: grid; gap: 10px; margin-bottom: 26px; }
.vw-paar { display: grid; gap: 10px; }
.vw-paar input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--linie-stark);
  border-radius: var(--rund);
  background: var(--grund-2);
  color: var(--schrift);
  font: inherit;
  font-size: .95rem;
}
.vw-paar input:focus { border-color: var(--akzent); background: var(--flaeche); outline: none; }

.verwaltung .titel-3 { margin: 4px 0 14px; }
.vw-leise { color: var(--sehr-leise); font-weight: 600; }

.vw-filter { display: flex; gap: 8px; margin: 18px 0 22px; }
.vw-filter a {
  padding: 8px 16px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  color: var(--leise);
  font-size: .88rem;
  font-weight: 600;
}
.vw-filter a.an { border-color: var(--akzent); background: var(--akzent-weich); color: var(--akzent-hell); }

/* Die Seitenwahl bei den Texten traegt laengere Namen. Als Oval saehen sie
   aus wie Luftballons - hier also eckiger und mit Platz zum Umbrechen. */
.vw-filter-umbruch a { border-radius: var(--rund); line-height: 1.35; }

.vw-liste { display: grid; gap: 14px; }
.vw-karte {
  padding: 20px;
  border: 1px solid var(--linie);
  border-left: 3px solid var(--akzent);
  border-radius: var(--rund);
  background: var(--flaeche);
}
.vw-karte.ist-erledigt { border-left-color: var(--linie-stark); opacity: .6; }

.vw-oben { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.vw-marke {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--akzent-weich);
  color: var(--akzent-hell);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vw-zeit { color: var(--sehr-leise); font-size: .82rem; }
.vw-haken {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gut);
  font-size: .78rem;
  font-weight: 700;
}
.vw-name { margin: 0 0 12px; font-size: 1.15rem; }

.vw-daten { display: grid; gap: 8px; margin-bottom: 14px; font-size: .92rem; }
.vw-daten li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: center; color: var(--leise); }
.vw-daten .sb { color: var(--akzent-hell); }
.vw-daten a:hover { color: var(--akzent-hell); }

.vw-nachricht {
  margin: 0 0 16px;
  padding: 13px 15px;
  border-radius: var(--rund);
  background: var(--grund-2);
  color: var(--leise);
  font-size: .92rem;
}

.vw-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }

.vw-leer {
  padding: 60px 20px;
  border: 1px dashed var(--linie);
  border-radius: var(--rund-gross);
  color: var(--sehr-leise);
  text-align: center;
}
.vw-leer .sb { margin-bottom: 10px; color: var(--gut); }

@media (min-width: 620px) {
  .vw-paar { grid-template-columns: 1fr 1.3fr; }
}

@media (min-width: 900px) {
  .vw-liste { grid-template-columns: 1fr 1fr; }
}

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

.rechtstext { max-width: 760px; }
.rechtstext h2 { margin-top: 2em; font-size: 1.3rem; }
.rechtstext h3 { margin-top: 1.6em; font-size: 1.05rem; }
.rechtstext p, .rechtstext li { color: var(--leise); }
.rechtstext ul { display: grid; gap: 8px; margin: 0 0 1em; padding-left: 20px; list-style: disc; }
.rechtstext a { color: var(--akzent-hell); text-decoration: underline; }
.rechtstext .anschrift { color: var(--schrift); font-style: normal; }

/* --- Fehlerseite --------------------------------------------------------- */

.fehlerseite { padding: clamp(70px, 14vw, 140px) 0; text-align: center; }
.fehlerseite .zahl {
  font-size: clamp(4rem, 18vw, 8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--akzent-hell), var(--akzent-tief));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Fuss ---------------------------------------------------------------- */

.fuss {
  padding: clamp(44px, 7vw, 72px) 0 28px;
  border-top: 1px solid var(--linie);
  background: var(--grund-2);
}
.fuss-raster { display: grid; gap: 34px; }
.fuss-block h2 {
  margin-bottom: 16px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sehr-leise);
}
.fuss-text { color: var(--leise); font-size: .93rem; max-width: 340px; }
.wortmarke-fuss { margin-bottom: 14px; }

.fuss-liste { display: grid; gap: 12px; font-size: .93rem; color: var(--leise); }
.fuss-liste li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; }
.fuss-liste .sb { margin-top: 3px; color: var(--akzent-hell); }
.fuss-liste a:hover { color: var(--akzent-hell); }
.fuss-liste em { color: var(--sehr-leise); font-style: normal; font-size: .86rem; }

.fuss-zeiten li { display: flex; justify-content: space-between; gap: 10px; }
.fuss-zeiten strong { color: var(--schrift); font-weight: 600; }
.fuss-wege li { display: block; }

.fuss-zeile {
  display: grid;
  gap: 6px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--linie);
  color: var(--sehr-leise);
  font-size: .84rem;
}
.fuss-zeile p { margin: 0; }

/* --- Auftauchen ---------------------------------------------------------- */

/* Versteckt wird nur, wenn Javascript laeuft und es auch wieder zeigen kann.
   Ohne Javascript steht der Inhalt einfach da - unsichtbarer Text waere
   schlimmer als eine Seite ohne Bewegung. */
.js .taucht-auf {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
}
.js .taucht-auf.sichtbar { opacity: 1; transform: none; }

/* --- Groessere Bildschirme ----------------------------------------------- */

@media (min-width: 620px) {
  .raster-2 { grid-template-columns: 1fr 1fr; }
  .feld-paar { grid-template-columns: 1fr 1fr; }
  .fahrzeuge { grid-template-columns: repeat(3, 1fr); }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-zeile { grid-template-columns: 1fr auto; align-items: center; }
  .band { grid-template-columns: 1fr auto; }
}

@media (min-width: 900px) {
  :root { --rand: 32px; --kopf-hoehe: 76px; }

  body { padding-bottom: 0; }
  .handleiste { display: none; }
  .menue-knopf { display: none; }
  .kopf-anruf { display: inline-flex; }

  .hauptmenue {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .hauptmenue ul { display: flex; gap: 4px; }
  .hauptmenue a { padding: 9px 15px; font-size: .95rem; }
  .menue-fuss { display: none; }

  .raster-3 { grid-template-columns: repeat(3, 1fr); }
  .raster-4 { grid-template-columns: repeat(4, 1fr); }
  .schritte { grid-template-columns: repeat(4, 1fr); }
  .buehne-raster { grid-template-columns: 1.06fr .94fr; }
  .kontakt-raster { grid-template-columns: 1.15fr .85fr; gap: 34px; }
  .fuss-raster { grid-template-columns: 1.4fr 1fr 1fr .8fr; }
}

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