/* =========================================================
   H.M. Automobile – Hauptdesign
   Farben und Schriften stehen ganz oben. Wenn du z. B. das
   Gelb ändern willst, nur hier bei --signal tauschen.
   ========================================================= */

/* ---------- Schriften (liegen lokal im Ordner /fonts) ---------- */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

/* ---------- Farben ---------- */
:root {
  --asphalt: #1D262D;
  --asphalt-hell: #2A353D;
  --signal: #F5B700;        /* Signalgelb wie am Abschleppwagen */
  --signal-dunkel: #DBA300;
  --papier: #F2F3F0;
  --weiss: #FFFFFF;
  --text: #1D262D;
  --stahl: #5B6770;
  --linie: #D8DCD7;
  --euro: #1C3F94;          /* Blau vom EU-Streifen am Kennzeichen */
  --wa: #138A47;
  --wa-dunkel: #0F7A3E;

  --schrift: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --titel: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --rahmen: 1180px;
  --rund: 10px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--papier);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titel); line-height: 1.05; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.rahmen { width: 100%; max-width: var(--rahmen); margin: 0 auto; padding: 0 20px; }
.schmal { max-width: 820px; }
.abschnitt { padding: 72px 0; }
.einleitung { color: var(--stahl); font-size: 1.125rem; max-width: 60ch; margin-top: 12px; }
.hinweis-klein { font-size: .9rem; color: var(--stahl); }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.sprung { position: absolute; left: -999px; top: 8px; background: var(--signal); padding: 8px 14px; z-index: 99; }
.sprung:focus { left: 8px; }

/* ---------- Knöpfe ---------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  font: 700 1.0625rem/1 var(--schrift);
  border-radius: 6px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.knopf-gelb { background: var(--signal); color: var(--asphalt); }
.knopf-gelb:hover { background: var(--signal-dunkel); }
.knopf-rand { border-color: currentColor; background: transparent; color: inherit; }
.knopf-rand:hover { background: rgba(255,255,255,.08); }
.knopf-dunkel { background: var(--asphalt); color: var(--weiss); }
.knopf-dunkel:hover { background: var(--asphalt-hell); }
.knopf-wa { background: var(--wa); color: var(--weiss); }
.knopf-wa:hover { background: var(--wa-dunkel); }
.knopf-leise { background: transparent; color: var(--stahl); padding: 0 12px; }
.knopf-leise:hover { color: var(--text); }

/* ---------- Kopf ---------- */
.kopf { background: var(--asphalt); color: var(--weiss); position: sticky; top: 0; z-index: 20; }
.kopf-innen { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.logo-hm { font: 800 1.6rem/1 var(--titel); color: var(--signal); }
.logo-name { font: 600 1.2rem/1 var(--titel); letter-spacing: .02em; }
.kopf-nav { display: flex; gap: 24px; margin-left: auto; }
.kopf-nav a { text-decoration: none; font-weight: 500; opacity: .85; }
.kopf-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--signal); }
.kopf-tel { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--signal); }

/* ---------- Kennzeichen (das Markenzeichen der Seite) ---------- */
.kz-zeile { display: inline-flex; align-items: center; gap: 10px; }
.kz {
  display: inline-flex; align-items: stretch;
  height: 28px; border: 2px solid #111; border-radius: 4px;
  background: var(--weiss); overflow: hidden; flex: none;
}
.kz-eu {
  background: var(--euro); color: var(--weiss);
  font: 700 .7rem/1 var(--schrift);
  width: 16px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 3px;
}
.kz-txt {
  font: 700 1.05rem/24px var(--titel); letter-spacing: .08em; color: #111;
  padding: 0 8px 0 7px; min-width: 40px; text-align: center;
}
.kz-ort { font-weight: 600; color: var(--stahl); font-size: .95rem; }

/* ---------- Held (oberster Bereich) ---------- */
.held { background: var(--asphalt); color: var(--weiss); padding: 56px 0 72px; position: relative; overflow: hidden; }
.held::after { /* Fahrbahnmarkierung */
  content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(245,183,0,.9) 0 64px, transparent 64px 112px);
  opacity: .9;
}
.held-innen { display: grid; gap: 48px; grid-template-columns: 1.15fr .85fr; align-items: center; }
.held h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); font-weight: 800; line-height: .95; max-width: 13ch; }
.held-unter { font-size: 1.2rem; color: #C9D0D4; max-width: 52ch; margin: 22px 0 30px; }
.held .knopf-rand { color: var(--weiss); }
.fakten { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; color: #AEB7BD; font-size: .98rem; }
.fakten strong { display: block; font: 800 2rem/1 var(--titel); color: var(--weiss); margin-bottom: 4px; }

/* Tafel mit den neuesten Einträgen */
.tafel { background: var(--asphalt-hell); border-radius: var(--rund); padding: 22px 22px 10px; border: 1px solid rgba(255,255,255,.08); }
.tafel-kopf { display: flex; align-items: center; gap: 10px; font: 700 1.15rem/1 var(--titel); margin-bottom: 14px; }
.punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(245,183,0,.2); }
.tafel-liste { list-style: none; margin: 0; padding: 0; }
.tafel-liste li { border-top: 1px solid rgba(255,255,255,.08); }
.tafel-liste a { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 13px 0; text-decoration: none; align-items: center; }
.tafel-liste .kz-zeile { grid-row: span 2; }
.tafel-titel { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tafel-zeit { font-size: .88rem; color: #9AA4AA; }
.tafel-liste a:hover .tafel-titel { color: var(--signal); }
.tafel-leer { color: #AEB7BD; padding: 10px 0 16px; }

/* Einmaliger Auftritt der Tafel beim Laden – wie eine Anzeigetafel */
@media (prefers-reduced-motion: no-preference) {
  .tafel-liste li { opacity: 0; transform: translateY(6px); animation: tafel-rein .45s ease-out forwards; }
  .tafel-liste li:nth-child(1) { animation-delay: .15s; }
  .tafel-liste li:nth-child(2) { animation-delay: .3s; }
  .tafel-liste li:nth-child(3) { animation-delay: .45s; }
  .tafel-liste li:nth-child(4) { animation-delay: .6s; }
  .tafel-liste li:nth-child(5) { animation-delay: .75s; }
  @keyframes tafel-rein { to { opacity: 1; transform: none; } }
}

/* ---------- Assistent ---------- */
.assistent-abschnitt { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.assistent { margin-top: 32px; }
.schritte-anzeige { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 26px; counter-reset: s; }
.schritte-anzeige li {
  counter-increment: s; flex: 1; font-weight: 600; color: var(--stahl); font-size: .95rem;
  border-top: 4px solid var(--linie); padding-top: 8px;
}
.schritte-anzeige li::before { content: counter(s) ". "; }
.schritte-anzeige li.aktiv, .schritte-anzeige li.fertig { color: var(--text); border-color: var(--signal); }
.schritt { border: 0; padding: 0; margin: 0; display: none; }
.schritt.aktiv { display: block; }
.schritt legend { font: 700 1.5rem/1.2 var(--titel); margin-bottom: 18px; padding: 0; }
.wahl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wahl label { position: relative; }
.wahl input { position: absolute; opacity: 0; inset: 0; }
.wahl span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 116px; padding: 14px; text-align: center; font-weight: 600;
  border: 2px solid var(--linie); border-radius: var(--rund); background: var(--papier); cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.wahl .ic { width: 34px; height: 34px; color: var(--stahl); }
.wahl label:hover span { border-color: var(--stahl); }
.wahl input:checked + span { border-color: var(--asphalt); background: #FFF6D6; }
.wahl input:checked + span .ic { color: var(--asphalt); }
.wahl input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.wahl-klein { grid-template-columns: repeat(4, 1fr); }
.wahl-klein span { min-height: 60px; flex-direction: row; }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.felder label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.felder .breit { grid-column: 1 / -1; }
input, textarea, select {
  font: 400 1.0625rem/1.4 var(--schrift); color: var(--text);
  border: 2px solid var(--linie); border-radius: 6px; padding: 12px 14px; background: var(--weiss); width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--asphalt); outline: none; }
.schritt-knoepfe { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

/* ---------- Anzeigen ---------- */
.abschnitt-kopf { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: end; margin-bottom: 32px; }
.abschnitt-kopf h2, .abschnitt-kopf .einleitung { grid-column: 1; }
.filter { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; background: var(--weiss); border: 1px solid var(--linie); padding: 5px; border-radius: 8px; }
.filter button { font: 600 .98rem/1 var(--schrift); border: 0; background: transparent; padding: 10px 14px; border-radius: 5px; cursor: pointer; color: var(--stahl); }
.filter button.an { background: var(--asphalt); color: var(--weiss); }

.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.raster-drei { grid-template-columns: repeat(3, 1fr); }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; transition: border-color .15s; }
.karte:hover { border-color: var(--stahl); }
.karte[hidden] { display: none; }
.karte-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.karte-kopf { position: relative; aspect-ratio: 4 / 3; background: var(--asphalt); }
.karte-kopf img { width: 100%; height: 100%; object-fit: cover; }
.karte-motiv {
  height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 18px; color: var(--weiss);
  background: var(--asphalt);
  background-image: linear-gradient(135deg, transparent 0 62%, rgba(255,255,255,.04) 62% 100%);
}
.motiv-ic { width: 54px; height: 54px; color: var(--signal); }
.karte-motiv span { font: 700 1.25rem/1 var(--titel); }
.motiv-gross { aspect-ratio: 4 / 3; border-radius: var(--rund); padding: 32px; }
.motiv-gross .motiv-ic { width: 96px; height: 96px; }
.motiv-gross span { font-size: 2rem; }
.marke {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 .9rem/1 var(--schrift); padding: 7px 10px; border-radius: 5px;
}
.marke .ic { width: 1em; height: 1em; }
.marke-echt { background: var(--signal); color: var(--asphalt); }
.marke-such { background: var(--weiss); color: var(--asphalt); }
.marke-frei { position: static; margin-bottom: 14px; }
.marke-frei.marke-such { border: 1px solid var(--linie); }
.karte-inhalt { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.karte h3 { font-size: 1.2rem; }
.karte-zeit { margin-top: auto; color: var(--stahl); font-size: .92rem; }
.mehr { margin: 32px auto 0; display: flex; color: var(--text); }
.leer { padding: 40px; border: 2px dashed var(--linie); border-radius: var(--rund); text-align: center; color: var(--stahl); }

/* ---------- Ablauf ---------- */
.ablauf { background: var(--papier); }
.ablauf-liste { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: a; }
.ablauf-liste li { counter-increment: a; position: relative; padding-top: 22px; border-top: 4px solid var(--asphalt); }
.ablauf-liste li::before {
  content: counter(a); position: absolute; top: 18px; right: 0;
  font: 800 4.2rem/1 var(--titel); color: var(--linie);
}
.ablauf-liste .ic { width: 36px; height: 36px; color: var(--asphalt); margin-bottom: 16px; }
.ablauf-liste h3 { margin-bottom: 8px; font-size: 1.5rem; }
.ablauf-liste p { color: var(--stahl); max-width: 34ch; }

/* ---------- Band Abschleppwagen ---------- */
.band { background: var(--signal); color: var(--asphalt); padding: 56px 0; }
.band-innen { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
.band-ic { width: 120px; height: 120px; }
.band h2 { margin-bottom: 12px; }
.band p { font-size: 1.15rem; max-width: 62ch; }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.kontakt .knoepfe { margin-top: 28px; }
.adresse { font-style: normal; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund); padding: 26px; display: grid; gap: 14px; }
.adresse a { font-weight: 600; }
.karten-link { display: inline-flex; align-items: center; gap: 8px; color: var(--euro); }

/* ---------- Detailseite ---------- */
.detail { padding-top: 32px; }
.zurueck { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; color: var(--stahl); margin-bottom: 24px; }
.zurueck:hover { color: var(--text); }
.detail-raster { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.galerie { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--rund); background: var(--asphalt); scrollbar-width: none; }
.galerie::-webkit-scrollbar { display: none; }
.galerie img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
.galerie-punkte { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.galerie-punkte span { width: 8px; height: 8px; border-radius: 50%; background: var(--linie); }
.galerie-punkte span.an { background: var(--asphalt); }
.detail-text h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 16px 0 24px; color: var(--stahl); }
.fliesstext p { margin-bottom: 1em; max-width: 64ch; }
.detail-cta { margin-top: 28px; padding: 24px; background: var(--weiss); border: 1px solid var(--linie); border-left: 6px solid var(--signal); border-radius: var(--rund); }
.detail-cta p { font-weight: 600; margin-bottom: 16px; }
.weitere-titel { margin: 64px 0 24px; font-size: 1.9rem; }
.recht h1 { font-size: 2.6rem; margin-bottom: 24px; }
.recht h2 { font-size: 1.35rem; margin: 28px 0 8px; }

/* ---------- Fuß ---------- */
.fuss { background: var(--asphalt); color: #C9D0D4; padding: 48px 0 40px; font-size: .98rem; }
.fuss-innen { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.fuss-titel { font: 700 1.05rem/1 var(--titel); color: var(--weiss); margin-bottom: 4px; }
.fuss-kontakt { margin-top: 12px; }
.fuss-firma { font: 700 1.25rem/1.2 var(--titel); color: var(--weiss); margin-bottom: 8px; }
.adresse .fuss-firma { color: var(--text); margin: 0; }
.fuss a { color: var(--weiss); }
.fuss-links { display: flex; flex-direction: column; gap: 10px; }
.fuss-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.fuss-links a:hover { text-decoration: underline; }

/* Schnellkontakt-Leiste unten (nur Handy) */
.leiste { display: none; }

/* =========================================================
   Tablet und Handy
   ========================================================= */
@media (max-width: 980px) {
  .held-innen, .kontakt, .detail-raster { grid-template-columns: 1fr; }
  .raster-drei { grid-template-columns: repeat(2, 1fr); }
  .wahl { grid-template-columns: repeat(2, 1fr); }
  .wahl-klein { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { padding-bottom: 74px; }
  .abschnitt { padding: 52px 0; }
  .kopf-nav { display: none; }
  .kopf-tel { margin-left: auto; }
  .kopf-tel span { display: none; }
  .kopf-tel .ic { width: 26px; height: 26px; }
  .held { padding: 40px 0 64px; }
  .held-unter { font-size: 1.1rem; }
  .held .knoepfe .knopf { flex: 1 1 100%; }
  .fakten { gap: 14px 28px; }
  .fakten strong { font-size: 1.7rem; }
  .abschnitt-kopf { grid-template-columns: 1fr; }
  .filter { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; }
  .raster, .raster-drei { grid-template-columns: 1fr; gap: 16px; }
  .karte:not(.karte-echt) .karte-kopf { aspect-ratio: 16 / 7; }
  .ablauf-liste { grid-template-columns: 1fr; gap: 28px; }
  .band-innen { grid-template-columns: 1fr; gap: 16px; }
  .band-ic { width: 72px; height: 72px; }
  .felder { grid-template-columns: 1fr; }
  .schritt-knoepfe .knopf-wa, .schritt-knoepfe .knopf-dunkel { flex: 1; }
  .fuss-innen { grid-template-columns: 1fr; }
  .leiste {
    display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--asphalt); border-top: 1px solid rgba(255,255,255,.1);
  }
  .leiste a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; border-radius: 6px; font-weight: 700; text-decoration: none;
  }
  .leiste-wa { background: var(--wa); color: var(--weiss); }
  .leiste-tel { background: var(--signal); color: var(--asphalt); }
  .leiste-chat { background: var(--asphalt-hell); color: var(--weiss); border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 6px; font: 700 1rem/1 var(--schrift); }
  .leiste-chat .ic { color: var(--signal); }
}

/* ---------- Ab Version 2: Leistungsseiten, Fragen, Gebiet ---------- */
.abschnitt-weiss { background: var(--weiss); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.abstand-oben { margin-top: 32px; }

.leistungen { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.leistung {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px;
  background: var(--weiss); border: 1px solid var(--linie); border-left: 5px solid var(--signal);
  border-radius: var(--rund); text-decoration: none; transition: border-color .15s;
}
.leistung:hover { border-color: var(--asphalt); border-left-color: var(--signal); }
.leistung .ic { width: 34px; height: 34px; color: var(--asphalt); margin-top: 2px; }
.leistung span { color: var(--stahl); font-size: .96rem; line-height: 1.4; }
.leistung b { display: block; color: var(--text); font: 700 1.2rem/1.15 var(--titel); margin-bottom: 4px; }
.leistungen-klein .leistung { align-items: center; padding: 16px; }
.leistungen-klein .leistung span { color: var(--text); font-weight: 600; }

.krumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 22px; padding: 0; font-size: .93rem; }
.krumen li:not(:last-child)::after { content: "/"; margin: 0 10px; opacity: .5; }
.krumen a { text-decoration: none; opacity: .8; }
.krumen a:hover { opacity: 1; text-decoration: underline; }
.krumen [aria-current] { opacity: .7; }
.detail .krumen { color: var(--stahl); }

.held-unterseite { padding: 32px 0 64px; }
.held-unterseite h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 16ch; }
.held-unter-raster { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.punkte li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 1.05rem; padding: 12px 14px; background: var(--asphalt-hell); border-radius: 8px; }
.punkte .ic { color: var(--signal); }

.text-raster { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.ratgeber h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 12px; }
.ratgeber h2:not(:first-child) { margin-top: 36px; }
.ratgeber p { font-size: 1.1rem; line-height: 1.7; }
.seiten-karte { position: sticky; top: 90px; background: var(--asphalt); color: var(--weiss); border-radius: var(--rund); padding: 26px; }
.seiten-ic { width: 52px; height: 52px; color: var(--signal); margin-bottom: 14px; }
.seiten-karte h2 { font-size: 1.6rem; margin-bottom: 12px; }
.seiten-karte ol { margin: 0 0 22px; padding-left: 20px; display: grid; gap: 8px; color: #C9D0D4; }
.seiten-karte .knopf { width: 100%; }

.fragen-liste { margin-top: 28px; border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font: 700 1.2rem/1.3 var(--titel);
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.8rem/1 var(--schrift); color: var(--stahl); }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { padding: 0 0 20px; color: var(--stahl); max-width: 64ch; font-size: 1.05rem; }
.fragen-chat { margin-top: 28px; color: var(--text); }

.gebiet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px 32px; }
.gebiet li { display: grid; grid-template-columns: 82px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--linie); }
.gebiet li > span:last-child { color: var(--stahl); line-height: 1.5; }

.thema-link { margin-top: 6px; font-weight: 600; }
.thema-link a { color: var(--euro); }

@media (max-width: 980px) {
  .held-unter-raster, .text-raster { grid-template-columns: 1fr; }
  .seiten-karte { position: static; }
}
@media (max-width: 720px) {
  .leistungen, .gebiet { grid-template-columns: 1fr; }
  .gebiet li { grid-template-columns: 72px 1fr; }
  .held-unterseite { padding: 24px 0 56px; }
  .held-unterseite .knoepfe .knopf { flex: 1 1 100%; }
  .fragen summary { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =========================================================
   Schaltbare Funktionen (Admin > Funktionen)
   ========================================================= */
.vorschau-leiste { background: var(--euro); color: var(--weiss); text-align: center; padding: 10px 16px; font-size: .95rem; }
.vorschau-leiste a { color: var(--weiss); font-weight: 700; margin-left: 10px; }
.hinweis-leiste { background: var(--signal); color: var(--asphalt); text-align: center; padding: 10px 16px; font-weight: 600; font-size: .98rem; }

.erreichbar { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: #AEB7BD; margin-left: auto; white-space: nowrap; }
.erreichbar i { width: 9px; height: 9px; border-radius: 50%; background: #7A858C; }
.erreichbar.an { color: var(--weiss); }
.erreichbar.an i { background: #2FC26B; box-shadow: 0 0 0 3px rgba(47,194,107,.25); }
.erreichbar + .kopf-tel { margin-left: 0; }
.kopf-nav + .erreichbar { margin-left: 0; }

.neu-schild { position: absolute; top: 12px; right: 12px; background: #C62828; color: var(--weiss); font: 700 .85rem/1 var(--schrift); padding: 7px 10px; border-radius: 5px; }
.zaehler strong { color: var(--signal); }

.band-dunkel { background: var(--asphalt); color: var(--weiss); }
.band-dunkel .band-ic { color: var(--signal); }
.band-dunkel p { color: #C9D0D4; }
.abstand-klein { margin-top: 20px; }

.zeiten { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; }
.zeiten dt { color: var(--stahl); }
.zeiten dd { margin: 0; font-weight: 600; }
.bewertung-knopf { color: var(--text); min-height: 46px; }

@media (max-width: 720px) {
  .erreichbar, .kopf-nav + .erreichbar { font-size: .82rem; margin-left: auto; }
  .kopf-tel { margin-left: 12px; }
  .kopf-innen { gap: 12px; }
}
@media (max-width: 380px) {
  .erreichbar { display: none; }
}

/* =========================================================
   Kurz gesagt + Fakten (für Besucher und KI-Suchen)
   ========================================================= */
.kurz-abschnitt { background: var(--weiss); border-bottom: 1px solid var(--linie); padding: 48px 0; }
.kurz-raster { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.kurz { border-left: 6px solid var(--signal); padding-left: 22px; }
.kurz h2 { font-size: 1.6rem; margin-bottom: 12px; }
.kurz-text { font-size: 1.2rem; line-height: 1.6; max-width: 60ch; }
.stand { margin-top: 14px; color: var(--stahl); font-size: .9rem; }
.fakten-box { margin: 0; background: var(--papier); border-radius: var(--rund); padding: 8px 20px; }
.fakten-box div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.fakten-box div:last-child { border-bottom: 0; }
.fakten-box dt { color: var(--stahl); font-size: .92rem; }
.fakten-box dd { margin: 0; font-weight: 600; line-height: 1.4; }
@media (max-width: 980px) { .kurz-raster { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 720px) { .kurz-text { font-size: 1.1rem; } .kurz { padding-left: 16px; } }

/* Beispielfotos bei den Gesuchen */
.bsp-hinweis { position: absolute; right: 10px; bottom: 10px; background: rgba(29,38,45,.78); color: #fff; font-size: .78rem; padding: 4px 8px; border-radius: 4px; }
.bsp-figur { margin: 0; }
.bsp-figur img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rund); }
.bsp-figur figcaption { margin-top: 10px; color: var(--stahl); font-size: .92rem; }
.karte-kopf { overflow: hidden; }
.karte-kopf img { position: absolute; inset: 0; }
