/* ===========================================================================
   Falcon Fahrschule – Stylesheet
   Keine externen Schriften oder CDNs: alles liegt auf dem eigenen Server.
   Das ist zugleich eine Datenschutzentscheidung (keine Drittanbieter-Requests).
   =========================================================================== */

:root {
  /* Farben – abgeleitet aus dem Logo: Nacht, Asphalt, Chrom, Gold */
  --nacht: #08090c;
  --asphalt: #101319;
  --asphalt-hoch: #161a22;
  --kante: #232833;
  --kante-hell: #313846;
  --chrom: #dfe2e8;
  --nebel: #8f96a3;
  --gold: #c79a4b;
  --gold-hell: #e8ce96;
  --gold-tief: #8a6a2e;
  --rot: #c0392b;

  /* Ampel – Auslastung der Termine */
  --frei: #4ca363;
  --knapp: #d6a02a;
  --voll: #a6402f;

  /* Typografie: DIN-nahe Schnitte, wie auf deutschen Verkehrszeichen */
  --schrift-anzeige: "Bahnschrift", "DIN Alternate", "DIN Condensed", "Archivo Narrow",
                     "Roboto Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --schrift-text: "Segoe UI", system-ui, -apple-system, "Noto Sans", "Liberation Sans", Arial, sans-serif;
  --schrift-daten: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;

  --breite: 1140px;
  --radius: 4px;
  --rand: 1px solid var(--kante);
  --schatten: 0 18px 48px rgba(0, 0, 0, 0.55);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--nacht);
  color: var(--chrom);
  font-family: var(--schrift-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

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

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

:focus-visible {
  outline: 2px solid var(--gold-hell);
  outline-offset: 3px;
}

.sprungmarke {
  position: absolute;
  left: -9999px;
  background: var(--gold);
  color: var(--nacht);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.sprungmarke:focus { left: 1rem; top: 1rem; }

.huelle {
  width: min(100% - 2.5rem, var(--breite));
  margin-inline: auto;
}

/* ---------------------------------------------------------------------------
   Typografie
   --------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--schrift-anzeige);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 0 0 0.6em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.22rem; letter-spacing: 0.05em; }

p { margin: 0 0 1rem; }

.vorspann {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--nebel);
  max-width: 62ch;
}

/* Kleines Etikett über Abschnitten – trägt echte Information, keine Deko */
.etikett {
  font-family: var(--schrift-anzeige);
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
  display: block;
}

/* Chromverlauf wie in der Wortmarke – sparsam eingesetzt */
.chrom-text {
  background: linear-gradient(180deg, #ffffff 0%, #c9ccd3 45%, #7d838f 62%, #eef0f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gold-text {
  background: linear-gradient(180deg, var(--gold-hell) 0%, var(--gold) 52%, var(--gold-tief) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------------------
   Fahrbahnmarkierung: Trenner zwischen Abschnitten
   --------------------------------------------------------------------------- */
.markierung {
  height: 2px;
  border: 0;
  margin: 0;
  background-image: repeating-linear-gradient(
    90deg,
    var(--kante-hell) 0 26px,
    transparent 26px 52px
  );
  opacity: 0.65;
}

/* ---------------------------------------------------------------------------
   Kopfbereich und Navigation
   --------------------------------------------------------------------------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: var(--rand);
}

.kopf__reihe {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  flex-wrap: wrap;
}

.marke {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}

.marke__zeichen { border-radius: 50%; }

.marke__text { display: flex; flex-direction: column; line-height: 1; }

.marke__name {
  font-family: var(--schrift-anzeige);
  font-size: 1.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #c7cad1 50%, #8c9199 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marke__zusatz {
  font-family: var(--schrift-anzeige);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.menue__schalter { position: absolute; opacity: 0; pointer-events: none; }

.menue__knopf {
  display: none;
  width: 46px;
  height: 40px;
  border: var(--rand);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}

.menue__balken,
.menue__balken::before,
.menue__balken::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--gold);
}
.menue__balken { top: 19px; }
.menue__balken::before { top: -7px; left: 0; }
.menue__balken::after { top: 7px; left: 0; }

.nav { display: flex; align-items: center; gap: 1.5rem; }

.nav__link {
  font-family: var(--schrift-anzeige);
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chrom);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--gold-hell); border-bottom-color: var(--gold-tief); }
.nav__link.ist-aktiv { color: var(--gold); border-bottom-color: var(--gold); }

@media (max-width: 860px) {
  .menue__knopf { display: block; }
  .nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
    padding-bottom: 1rem;
  }
  .menue__schalter:checked ~ .nav { display: flex; }
  .nav__link {
    padding: 0.85rem 0;
    border-bottom: var(--rand);
  }
  .nav__cta { margin-top: 0.9rem; text-align: center; }
}

/* ---------------------------------------------------------------------------
   Schaltflächen
   --------------------------------------------------------------------------- */
.knopf {
  display: inline-block;
  font-family: var(--schrift-anzeige);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.78rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--kante-hell);
  background: transparent;
  color: var(--chrom);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.knopf:hover { border-color: var(--gold); color: var(--gold-hell); transform: translateY(-1px); }

.knopf--gold {
  background: linear-gradient(180deg, var(--gold-hell), var(--gold) 55%, var(--gold-tief));
  border-color: var(--gold-tief);
  color: #14100a;
  font-weight: 700;
}
.knopf--gold:hover { color: #14100a; filter: brightness(1.07); }

.knopf--klein { padding: 0.42rem 0.85rem; font-size: 0.85rem; }
.knopf[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------------------------
   Startseite: Bühne
   --------------------------------------------------------------------------- */
.buehne {
  position: relative;
  overflow: hidden;
  border-bottom: var(--rand);
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(199, 154, 75, 0.16) 0%, transparent 58%),
    linear-gradient(180deg, #0b0d12 0%, var(--nacht) 100%);
}

.buehne__gitter {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.buehne__titel { margin-bottom: 0.35em; }
.buehne__zeile { display: block; }
.buehne__zeile--gold { color: var(--gold); }

.buehne__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.buehne__bild { position: relative; }
.buehne__bild img {
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.7));
  width: 100%;
}

.merkmale {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.merkmale li {
  font-family: var(--schrift-anzeige);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nebel);
  border: var(--rand);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}

@media (max-width: 860px) {
  .buehne__gitter { grid-template-columns: 1fr; }
  .buehne__bild { order: -1; }
}

/* ---------------------------------------------------------------------------
   Abschnitte
   --------------------------------------------------------------------------- */
.abschnitt { padding-block: clamp(2.8rem, 6vw, 4.5rem); }
.abschnitt--dunkel { background: #0a0c10; }

.abschnitt__kopf { max-width: 60ch; margin-bottom: 2rem; }

/* ---------------------------------------------------------------------------
   Angebotskarten
   --------------------------------------------------------------------------- */
.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.karte {
  background: linear-gradient(180deg, var(--asphalt-hoch), var(--asphalt));
  border: var(--rand);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: relative;
}

.karte::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.karte__titel {
  font-family: var(--schrift-anzeige);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nebel);
  margin: 0 0 0.6rem;
}

.preis {
  font-family: var(--schrift-anzeige);
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0;
}

.preis__statt {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--schrift-daten);
  font-size: 0.9rem;
  color: var(--nebel);
}
.preis__durchgestrichen {
  text-decoration: line-through;
  text-decoration-color: var(--rot);
  text-decoration-thickness: 2px;
}

.karte__text { color: var(--nebel); font-size: 0.96rem; margin-top: 0.9rem; }

.frist {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
  border: 1px solid var(--gold-tief);
  border-radius: var(--radius);
  background: rgba(199, 154, 75, 0.08);
  padding: 0.6rem 1.1rem;
  font-family: var(--schrift-anzeige);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-hell);
}

/* ---------------------------------------------------------------------------
   Ablauf (echte Reihenfolge, deshalb nummeriert)
   --------------------------------------------------------------------------- */
.ablauf { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }

.ablauf li {
  counter-increment: schritt;
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-top: var(--rand);
}
.ablauf li:last-child { border-bottom: var(--rand); }

.ablauf li::before {
  content: counter(schritt, decimal-leading-zero);
  font-family: var(--schrift-anzeige);
  font-size: 1.6rem;
  color: var(--gold-tief);
  letter-spacing: 0.05em;
}

.ablauf h3 { margin-bottom: 0.3rem; }
.ablauf p { color: var(--nebel); margin: 0; }

/* ---------------------------------------------------------------------------
   Klassen-Tabelle
   --------------------------------------------------------------------------- */
.tabelle-huelle { overflow-x: auto; }

table.daten {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}
table.daten th,
table.daten td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: var(--rand);
  vertical-align: top;
}
table.daten th {
  font-family: var(--schrift-anzeige);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold);
  white-space: nowrap;
}
table.daten tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

.klasse-code {
  font-family: var(--schrift-anzeige);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--chrom);
}

/* ---------------------------------------------------------------------------
   Termine – Ampel als Signatur
   --------------------------------------------------------------------------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter__link {
  font-family: var(--schrift-anzeige);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nebel);
  border: var(--rand);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
}
.filter__link.ist-aktiv { color: var(--nacht); background: var(--gold); border-color: var(--gold); }

.tag { margin-bottom: 2rem; }

.tag__kopf {
  font-family: var(--schrift-anzeige);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrom);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--kante-hell);
  margin-bottom: 0.9rem;
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.75rem;
}

.slot {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--asphalt);
  border: var(--rand);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  color: var(--chrom);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}
.slot:hover:not([disabled]) { border-color: var(--gold-tief); background: var(--asphalt-hoch); }
.slot.ist-gewaehlt { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.slot[disabled] { opacity: 0.42; cursor: not-allowed; }

.slot__zeit {
  font-family: var(--schrift-anzeige);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.slot__art { font-size: 0.86rem; color: var(--nebel); }

.slot__status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--nebel);
}

/* Die Ampel: Auslastung auf einen Blick */
.ampel {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}
.ampel--gruen { background: var(--frei); }
.ampel--gelb { background: var(--knapp); }
.ampel--rot { background: var(--voll); }

.ampel-legende {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--nebel);
}
.ampel-legende li { display: flex; align-items: center; gap: 0.45rem; }

/* ---------------------------------------------------------------------------
   Formulare
   --------------------------------------------------------------------------- */
.formular {
  background: var(--asphalt);
  border: var(--rand);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.feldgruppe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.feld { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }

.feld label {
  font-family: var(--schrift-anzeige);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nebel);
}

.feld input,
.feld select,
.feld textarea {
  background: #0b0d12;
  border: 1px solid var(--kante-hell);
  border-radius: var(--radius);
  color: var(--chrom);
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}
.feld input:focus,
.feld select:focus,
.feld textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 2px rgba(199, 154, 75, 0.22); }

.feld textarea { min-height: 110px; resize: vertical; }

.feld--fehler input,
.feld--fehler select,
.feld--fehler textarea { border-color: var(--rot); }

.feld__fehler { color: #e8837a; font-size: 0.86rem; }

.feld__hinweis { color: var(--nebel); font-size: 0.84rem; }

.zustimmung {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 1.2rem 0;
  font-size: 0.92rem;
  color: var(--nebel);
}
.zustimmung input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); }

/* Honeypot: für Menschen unsichtbar, für Bots verlockend */
.falle {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Visuell versteckt, aber für Tastatur und Screenreader erreichbar */
.nur-lesegeraet {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Auswahl ohne JavaScript sichtbar machen */
.slot:has(input:checked) {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.slot:has(input:focus-visible) {
  outline: 2px solid var(--gold-hell);
  outline-offset: 3px;
}
.slot:has(input:disabled) { opacity: 0.42; cursor: not-allowed; }

.meldung {
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.4rem;
  border-left: 3px solid;
  background: rgba(255, 255, 255, 0.03);
}
.meldung--fehler { border-color: var(--rot); color: #f0a49b; }
.meldung--erfolg { border-color: var(--frei); color: #a6e0b6; }
.meldung--hinweis { border-color: var(--gold); color: var(--gold-hell); }

/* ---------------------------------------------------------------------------
   Bestätigung
   --------------------------------------------------------------------------- */
.beleg {
  background: var(--asphalt);
  border: 1px solid var(--gold-tief);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 640px;
}

.beleg__nummer {
  font-family: var(--schrift-daten);
  font-size: 1.9rem;
  letter-spacing: 0.12em;
  color: var(--gold-hell);
  margin: 0.2rem 0 1rem;
}

.beleg dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.4rem; margin: 0; }
.beleg dt { color: var(--nebel); font-size: 0.9rem; }
.beleg dd { margin: 0; }

/* ---------------------------------------------------------------------------
   Rechtstexte
   --------------------------------------------------------------------------- */
.rechtstext { max-width: 78ch; }
.rechtstext h2 { margin-top: 2.2rem; font-size: 1.35rem; }
.rechtstext h3 { margin-top: 1.6rem; font-size: 1.05rem; color: var(--gold); }
.rechtstext ul, .rechtstext ol { padding-left: 1.3rem; color: var(--chrom); }
.rechtstext li { margin-bottom: 0.45rem; }
.rechtstext dl { margin: 0 0 1rem; }
.rechtstext dt { font-weight: 700; margin-top: 0.7rem; }
.rechtstext dd { margin: 0 0 0.2rem; color: var(--nebel); }

.pruefhinweis {
  border: 1px dashed var(--gold-tief);
  background: rgba(199, 154, 75, 0.07);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  color: var(--gold-hell);
  font-size: 0.94rem;
}

/* ---------------------------------------------------------------------------
   Kontakt
   --------------------------------------------------------------------------- */
.kontakt-gitter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.kontakt-karte {
  background: var(--asphalt);
  border: var(--rand);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.kontakt-karte h3 { color: var(--gold); }
.kontakt-karte a { font-family: var(--schrift-daten); font-size: 1.05rem; }

.zeiten { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.2rem; margin: 0; }
.zeiten dt { color: var(--nebel); }
.zeiten dd { margin: 0; font-family: var(--schrift-daten); font-size: 0.94rem; }

/* ---------------------------------------------------------------------------
   Fußbereich
   --------------------------------------------------------------------------- */
.fuss {
  border-top: var(--rand);
  background: #06070a;
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}

.fuss__gitter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
}

.fuss__zeichen { border-radius: 50%; margin-bottom: 1rem; }

.fuss__titel {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.fuss__text { color: var(--nebel); font-size: 0.94rem; font-style: normal; }
.fuss__notiz { color: var(--nebel); font-size: 0.82rem; margin-top: 0.7rem; }

.fuss__liste { list-style: none; margin: 0; padding: 0; }
.fuss__liste li { margin-bottom: 0.5rem; }
.fuss__liste a { color: var(--chrom); text-decoration: none; font-size: 0.94rem; }
.fuss__liste a:hover { color: var(--gold-hell); text-decoration: underline; }

.fuss__zeile {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: var(--rand);
  color: var(--nebel);
  font-size: 0.82rem;
}
.fuss__zeile p { margin: 0; }

/* ---------------------------------------------------------------------------
   Verwaltung
   --------------------------------------------------------------------------- */
.verwaltung { padding-block: 2rem; }

.verw-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  border-bottom: var(--rand);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}
.verw-kopf h1 { margin: 0; font-size: 1.5rem; }
.verw-kopf__rechts { margin-left: auto; display: flex; align-items: center; gap: 1rem; }

.verw-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 2rem; }
.verw-nav a {
  font-family: var(--schrift-anzeige);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--nebel);
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
}
.verw-nav a.ist-aktiv { color: var(--gold); border-bottom-color: var(--gold); }

.kennzahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.kennzahl {
  background: var(--asphalt);
  border: var(--rand);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.kennzahl__wert { font-family: var(--schrift-anzeige); font-size: 2.2rem; line-height: 1; color: var(--gold-hell); }
.kennzahl__text { font-size: 0.85rem; color: var(--nebel); text-transform: uppercase; letter-spacing: 0.1em; }

.status-marke {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.status-angefragt { color: var(--knapp); }
.status-bestaetigt { color: var(--frei); }
.status-storniert { color: var(--voll); }
.status-erschienen { color: var(--nebel); }
.status-nicht_erschienen { color: var(--rot); }

.anmelde-seite {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}
.anmelde-karte { width: min(100%, 400px); }

.werkzeugleiste { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: end; margin-bottom: 1.5rem; }
.werkzeugleiste .feld { margin-bottom: 0; }

.reihen-aktion { display: inline-flex; gap: 0.35rem; flex-wrap: wrap; }

.klein { font-size: 0.85rem; color: var(--nebel); }
.daten-text { font-family: var(--schrift-daten); font-size: 0.9rem; }

@media print {
  .kopf, .fuss, .knopf, .nav { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------------------------------------------------------------------------
   Ergaenzungen: WhatsApp, Zwei-Spalten, Haken-Liste, Hinweis-Box
   --------------------------------------------------------------------------- */

/* WhatsApp-Gruen, aber gedaempft, damit es sich in das dunkle Layout einfuegt */
.knopf--whatsapp {
  border-color: #1f6b4a;
  background: linear-gradient(180deg, #2c9c6a, #1f7a51);
  color: #04140d;
  font-weight: 700;
}
.knopf--whatsapp:hover { color: #04140d; filter: brightness(1.08); border-color: #2c9c6a; }

.nav__link--wa { color: #4fbf8b; }
.nav__link--wa:hover { color: #6fd7a5; border-bottom-color: #2c9c6a; }

.zwei-spalten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.haken-liste { list-style: none; margin: 0; padding: 0; }
.haken-liste li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.75rem;
  color: var(--chrom);
}
.haken-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.haken-liste--neutral li { color: var(--nebel); }
.haken-liste--neutral li::before { border-color: var(--kante-hell); }

.hinweis-box {
  border: 1px solid var(--gold-tief);
  border-left-width: 3px;
  border-radius: var(--radius);
  background: rgba(199, 154, 75, 0.07);
  padding: 1.2rem 1.4rem;
  margin: 2rem 0;
}
.hinweis-box h3 { color: var(--gold); margin-bottom: 0.5rem; }
.hinweis-box p { margin-bottom: 0.35rem; }

/* Ersetzt den frueheren Streichpreis: eine schlichte Kennzeichnung.
   Ein durchgestrichener Vergleichspreis waere ohne echten Vorpreis
   irrefuehrend nach Paragraf 5 UWG. */
.preis__kennzeichen {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--schrift-anzeige);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-tief);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.unter-ueberschrift {
  margin-top: 2.6rem;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: var(--chrom);
}

/* ---------------------------------------------------------------------------
   Verwaltung: Inhalts-Editor und QR-Bereich
   --------------------------------------------------------------------------- */
.ruecksetzen {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: var(--rand);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

/* Listen und Tabellen werden zeilenweise erfasst – dafür braucht es eine
   Schrift mit fester Breite, damit die Spalten untereinander stehen. */
.formular textarea[name$="preisliste"],
.formular textarea[name$="angebote"],
.formular textarea[name$="klassen"],
.formular textarea[name$="ablauf"],
.formular textarea[name$="oeffnungszeiten"] {
  font-family: var(--schrift-daten);
  font-size: 0.92rem;
  white-space: pre;
  overflow-x: auto;
}

.qr-bereich {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.qr-bild {
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius);
  border: var(--rand);
}
.qr-bild svg { width: 100%; height: auto; display: block; }

@media (max-width: 720px) {
  .qr-bereich { grid-template-columns: 1fr; }
}

.schnellzugriff { margin-bottom: 2.5rem; }

/* ---------------------------------------------------------------------------
   Hinweisleiste und eigene Bausteine
   --------------------------------------------------------------------------- */
.leiste {
  background: linear-gradient(90deg, var(--gold-tief), var(--gold));
  color: #14100a;
  font-weight: 700;
  text-align: center;
  padding: 0.6rem 0;
  font-size: 0.95rem;
}

.baustein {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.baustein--mit-bild { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.baustein__bild {
  width: 100%;
  border-radius: var(--radius);
  border: var(--rand);
}

@media (max-width: 780px) {
  .baustein--mit-bild { grid-template-columns: 1fr; }
}

/* Bildverwaltung im Verwaltungsbereich */
.medien-gitter {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.medien-karte {
  background: var(--asphalt);
  border: var(--rand);
  border-radius: var(--radius);
  overflow: hidden;
}
.medien-karte img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #0b0d12;
}
.medien-karte__fuss { padding: 0.7rem; }
.medien-karte__fuss .feld { margin-bottom: 0.5rem; }

/* Wochentagsauswahl für Serientermine */
.wochentage { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wochentag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: var(--rand);
  border-radius: var(--radius);
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  font-family: var(--schrift-anzeige);
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--chrom);
}
.wochentag input { width: 16px; height: 16px; accent-color: var(--gold); }
.wochentag:has(input:checked) { border-color: var(--gold); color: var(--gold-hell); }

/* ===========================================================================
   Verwaltung: Bildrollen und Mehrfachauswahl
   =========================================================================== */

.rollen-liste { display: grid; gap: .75rem; margin: 1rem 0 2rem; }

.rollen-zeile {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
}

.rollen-zeile__bild {
  display: flex; align-items: center; justify-content: center;
  width: 88px; height: 66px; overflow: hidden;
  border-radius: 8px; background: rgba(0, 0, 0, .35);
}
.rollen-zeile__bild img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rollen-zeile__leer { font-size: .78rem; opacity: .55; }

.rollen-zeile__text { display: grid; gap: .3rem; min-width: 0; }
.rollen-zeile__text select { width: 100%; }

.werkzeugleiste {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin-bottom: .9rem; padding: .6rem .8rem;
  border-radius: 10px; background: rgba(255, 255, 255, .03);
}

.ankreuz { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }
.ankreuz input { width: 1.05rem; height: 1.05rem; accent-color: var(--gold, #c9a227); }

.medien-karte { position: relative; }
.medien-karte__wahl {
  position: absolute; top: .5rem; left: .5rem; z-index: 2;
  padding: .3rem; border-radius: 6px; background: rgba(0, 0, 0, .6);
}

.karte-formular { display: grid; gap: .5rem; }

/* Auf schmalen Bildschirmen untereinander statt nebeneinander. */
@media (max-width: 640px) {
  .rollen-zeile { grid-template-columns: 64px 1fr; }
  .rollen-zeile button { grid-column: 1 / -1; }
  .rollen-zeile__bild { width: 64px; height: 50px; }
}
