/* Bliesgau Fassglut - oeffentliche Seiten (Start, Unterseiten, Rechtliches).
   Groessen, Abstaende, Knoepfe und Felder kommen aus basis.css. */

.sprung {
  position: absolute; left: var(--a4); top: -4rem; z-index: 100;
  padding: var(--a3) var(--a4);
  background: var(--tanne); color: #fff;
  border-radius: var(--radius); font-weight: var(--fw-stark);
}
.sprung:focus { top: var(--a3); color: #fff; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 251, 247, .96);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen { display: flex; align-items: center; gap: var(--a5); min-height: var(--kopf-h); }
.marke { display: inline-flex; align-items: center; gap: var(--a3); min-height: 44px; text-decoration: none; color: var(--tinte); margin-right: auto; }
.marke img { width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.marke-text { display: flex; flex-direction: column; line-height: 1; }
.marke-oben { font-weight: var(--fw-titel); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.marke-unten { font-family: var(--pinsel); color: var(--tanne); font-size: 1.125rem; margin-top: .125rem; }
.marke:hover { color: var(--tinte); }

.hauptnav { display: flex; align-items: center; gap: var(--a4); }
.hauptnav ul { display: flex; gap: var(--a1); list-style: none; margin: 0; padding: 0; }
.hauptnav ul a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 var(--a3);
  border-radius: 999px;
  color: var(--tinte); font-weight: var(--fw-ui); text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.hauptnav ul a:hover { background: #efece2; color: var(--tanne); }
.hauptnav ul a[aria-current="page"] { color: var(--tanne); box-shadow: inset 0 -2px 0 var(--glut); border-radius: 0; }

.menue-knopf {
  display: none; width: 48px; height: 48px;
  border: 1px solid var(--linie); border-radius: 12px; background: var(--papier);
  cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.menue-striche, .menue-striche::before, .menue-striche::after {
  display: block; width: 22px; height: 2px; background: var(--tinte); border-radius: 2px; position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.menue-striche::before, .menue-striche::after { content: ""; position: absolute; left: 0; }
.menue-striche::before { top: -7px; }
.menue-striche::after { top: 7px; }
.menue-knopf[aria-expanded="true"] .menue-striche { background: transparent; }
.menue-knopf[aria-expanded="true"] .menue-striche::before { transform: translateY(7px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-striche::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1179px) {
  .menue-knopf { display: inline-flex; }
  .hauptnav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: var(--a3);
    padding: var(--a3) var(--rand) var(--a5);
    background: var(--creme); border-bottom: 1px solid var(--linie);
    box-shadow: 0 12px 24px rgba(27, 29, 26, .12);
    max-height: calc(100dvh - var(--kopf-h)); overflow-y: auto;
  }
  .hauptnav.offen { display: flex; }
  .hauptnav ul { flex-direction: column; gap: 0; }
  .hauptnav ul a { display: flex; min-height: 48px; padding: 0 var(--a2); font-size: var(--fs-gross); border-radius: var(--radius-feld); }
  .hauptnav ul a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--glut); border-radius: 0; }
  .kopf-buchen { width: 100%; }
  html.menue-offen { overflow: hidden; }
}

/* ---------- Abschnitte und Ueberschriften (ein Aufbau fuer alle) ---------- */
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt-weiss { background: var(--papier); border-block: 1px solid var(--linie); }
.abschnitt-titel { font-size: var(--fs-h2); text-align: center; margin-bottom: var(--a6); }
.abschnitt-titel .pinsel, .seitenkopf h1 .pinsel, .hero h1 .pinsel { font-size: 1.1em; }
.abschnitt-titel.hell { color: #fff; }
.abschnitt-titel.hell .pinsel { color: var(--glut); }
.abschnitt-titel:focus { outline: none; }
.abschnitt-einleitung { max-width: 46rem; margin: calc(-1 * var(--a4)) auto var(--a6); text-align: center; color: var(--grau); font-size: var(--fs-gross); }
.hinweis-klein { font-size: var(--fs-klein); color: var(--grau); margin: var(--a4) 0 0; }
.dachzeile { margin: 0 0 var(--a2); font-size: var(--fs-klein); font-weight: var(--fw-stark); letter-spacing: .14em; text-transform: uppercase; color: var(--holz); }

/* ---------- Karten (eine Kante, ein Radius, ein Innenabstand) ---------- */
.karte-weiss { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); padding: var(--a5); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--creme); padding-top: clamp(1rem, 3vw, 2.5rem); }
.hero-innen { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: var(--a2); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero-bild img { width: min(78vw, 22rem); }
.hero h1 { font-size: var(--fs-h1); margin-bottom: var(--a4); }
.hero-satz { font-size: var(--fs-gross); color: var(--text-weich); max-width: 34em; margin-inline: auto; }
.hero .knopf-reihe { justify-content: center; margin-top: var(--a5); }
.waldkante { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(2.5rem, 5vw, 5rem); fill: var(--tanne-dunkel); }
@media (min-width: 1024px) {
  .hero-innen {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center; justify-items: start; text-align: left;
    gap: clamp(2rem, 4vw, 5rem);
    min-height: calc(100vh - var(--kopf-h) - 2.5rem);
    padding-bottom: clamp(4rem, 6vw, 6.5rem);
  }
  .hero-bild { justify-self: center; order: 2; }
  .hero-bild img { width: min(100%, 40rem, calc(100vh - var(--kopf-h) - 9rem)); min-width: 18rem; }
  .hero-satz { margin-inline: 0; }
  .hero .knopf-reihe { justify-content: flex-start; }
}

/* ---------- Vorteile ---------- */
.vorteile { background: var(--tanne-dunkel); color: #eef0ea; padding-block: var(--abschnitt); }
.vorteil-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--a5); }
@media (min-width: 600px) { .vorteil-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .vorteil-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vorteil {
  padding: var(--a6) var(--a5) var(--a5);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); text-align: center;
  transition: border-color .2s ease, background-color .2s ease;
}
.vorteil:hover { border-color: rgba(232, 137, 43, .6); background: rgba(255, 255, 255, .07); }
.vorteil .ikon-gross { margin: 0 auto var(--a4); color: var(--glut); }
.vorteil h3 { color: #fff; margin-bottom: var(--a2); }
.vorteil p { margin: 0; color: #dfe3d9; }

/* ---------- Schritte ---------- */
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--a4); }
.ablauf-schritt {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: var(--a4); align-items: start;
  padding: var(--a5); background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten);
}
.ablauf-nr {
  grid-row: span 2; display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--glut); color: var(--tinte);
  font-family: var(--pinsel); font-size: 1.625rem; line-height: 1;
}
.ablauf-schritt h3 { margin: var(--a2) 0 var(--a1); }
.ablauf-schritt p { margin: 0; color: var(--text-weich); }
@media (min-width: 700px) and (max-width: 1099px) { .ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .ablauf { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--a5); }
  .ablauf-schritt { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: var(--a6) var(--a5); }
  .ablauf-nr { grid-row: auto; margin-bottom: var(--a3); }
  .ablauf-schritt:not(:last-child)::after { content: ""; position: absolute; top: 3.5rem; right: calc(-1 * var(--a5)); width: var(--a5); border-top: 2px dashed var(--glut-dunkel); }
}

/* ---------- Liefergebiet / Karte ---------- */
.liefer-raster { display: grid; grid-template-columns: 1fr; gap: var(--a6); align-items: start; }
@media (min-width: 1024px) { .liefer-raster { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); } .karte { max-width: none; } }
.karte { margin: 0 auto; width: 100%; max-width: 44rem; }
.karte-flaeche { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); background: #e9e5da; aspect-ratio: 1442 / 1443; touch-action: manipulation; }
.karte-flaeche > img { width: 100%; height: 100%; object-fit: cover; }
.karte-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.karte-svg .gebiet { fill: rgba(232, 137, 43, .16); stroke: var(--glut-dunkel); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.karte-punkte { position: absolute; inset: 0; cursor: crosshair; z-index: 2; }
.karte-punkte:focus-visible { outline: 3px solid var(--glut-dunkel); outline-offset: -3px; border-radius: var(--radius); }
.punkt {
  position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  border-radius: 50%; background: var(--tanne); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(20, 40, 15, .35);
  pointer-events: none; transition: transform .15s ease, background-color .15s ease;
}
.punkt.aktiv { background: var(--glut); transform: scale(1.5); z-index: 2; }
.punkt.gewaehlt { background: var(--glut); transform: scale(1.9); z-index: 3; box-shadow: 0 0 0 3px rgba(198, 106, 18, .45); }
/* Nadelspitze auf dem Punkt, Schild darunter */
.mitte { position: absolute; transform: translate(-50%, -25px); pointer-events: none; display: flex; flex-direction: column; align-items: center; z-index: 1; }
.mitte svg { width: 22px; height: 26px; margin-bottom: 2px; }
.mitte-schild { background: var(--tanne-dunkel); color: #fff; font-weight: var(--fw-stark); font-size: var(--fs-klein); padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; }
.karte-tipp {
  position: absolute; z-index: 6; transform: translate(-50%, calc(-100% - 12px));
  background: var(--tinte); color: #fff; font-size: var(--fs-klein); line-height: 1.3;
  padding: .4rem .7rem; border-radius: var(--radius-feld); white-space: nowrap; pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}
.karte-quelle { font-size: var(--fs-klein); color: var(--grau); margin-top: var(--a2); }
.karte-quelle a { color: var(--grau); }

.liefer-panel > p:first-child { font-size: var(--fs-gross); }
.ort-suche label { display: block; font-weight: var(--fw-stark); margin-bottom: var(--a1); }
.ort-zeile { display: flex; gap: var(--a2); }
.ort-zeile input { flex: 1; min-width: 0; }
.ort-vorschlaege { display: flex; flex-wrap: wrap; gap: var(--a2); margin-top: var(--a3); }
.ort-vorschlaege[hidden] { display: none; }
.ort-antwort:not(:empty) { margin-top: var(--a4); font-size: var(--fs-gross); font-weight: var(--fw-ui); }
.ort-aktion { margin-top: var(--a4); }

.orte-liste { margin-top: var(--a6); border-block: 1px solid var(--linie); }
.orte-liste summary, .frage summary { list-style: none; cursor: pointer; }
.orte-liste summary::-webkit-details-marker, .frage summary::-webkit-details-marker { display: none; }
.orte-liste summary { display: flex; align-items: center; gap: var(--a2); flex-wrap: wrap; min-height: 3.5rem; font-weight: var(--fw-stark); font-size: var(--fs-gross); }
.orte-liste summary::before, .frage summary::after {
  content: ""; width: .6rem; height: .6rem; flex: none;
  border-right: 2.5px solid var(--tanne); border-bottom: 2.5px solid var(--tanne);
  transform: rotate(-45deg); transition: transform .2s ease;
}
.orte-liste[open] summary::before { transform: rotate(45deg); }
.summary-zusatz { font-weight: var(--fw-text); color: var(--grau); font-size: var(--fs-klein); }
.orte-gruppen { columns: 17rem 4; column-gap: var(--a6); padding-top: var(--a2); }
.orte-gruppe { display: contents; }
.orte-gruppe h3 { font-size: var(--fs-klein); color: var(--holz); margin: var(--a4) 0 var(--a1); text-transform: uppercase; letter-spacing: .06em; break-after: avoid; }
.orte-gruppe:first-child h3 { margin-top: 0; }
.orte-gruppe ul { list-style: none; margin: 0; padding: 0; }
.orte-gruppe li { break-inside: avoid; }
.ort-eintrag {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--a4);
  width: 100%; min-height: 44px; padding: var(--a1) var(--a2);
  border: 0; border-bottom: 1px solid #f0ede4; background: none;
  font-family: var(--schrift); font-size: var(--fs-text); color: var(--tinte); text-align: left;
  cursor: pointer; border-radius: 8px; transition: background-color .15s ease;
}
.ort-eintrag:hover { background: var(--flaeche); }
.ort-eintrag > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.ort-eintrag .km { color: var(--grau); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ort-eintrag .plz { color: var(--grau); font-size: var(--fs-klein); }

/* ---------- Termin-Abschnitt der Startseite ---------- */
.termin-raster { display: grid; grid-template-columns: 1fr; gap: var(--a6); align-items: center; }
@media (min-width: 1024px) { .termin-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.termin-text .abschnitt-titel { text-align: left; margin-bottom: var(--a4); }
.termin-text p { font-size: var(--fs-gross); color: var(--text-weich); }
.termin-text .knopf-reihe { margin-top: var(--a5); }
/* ohne Vorschau (API nicht erreichbar): Text mittig */
.termin-raster:not(:has(> .vorschau:not([hidden]))) { grid-template-columns: 1fr; text-align: center; }
.termin-raster:not(:has(> .vorschau:not([hidden]))) .termin-text { max-width: 46rem; margin-inline: auto; }
.termin-raster:not(:has(> .vorschau:not([hidden]))) .abschnitt-titel { text-align: center; }
.termin-raster:not(:has(> .vorschau:not([hidden]))) .knopf-reihe { justify-content: center; }
.vorschau-kopf { display: flex; align-items: center; justify-content: space-between; gap: var(--a2); }
.vorschau-titel { margin: 0; font-weight: var(--fw-titel); text-align: center; flex: 1; }
.vorschau-tipp { margin: var(--a1) 0 var(--a3); text-align: center; color: var(--text-weich); font-size: var(--fs-klein); }
.vorschau-monate { display: grid; grid-template-columns: 1fr; gap: var(--a5); }
@media (min-width: 600px) { .vorschau-monate { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vorschau-monat-name { margin: 0 0 var(--a1); text-align: center; font-weight: var(--fw-stark); color: var(--holz); font-size: var(--fs-klein); }
@media (max-width: 599px) { .vorschau-monat-name { display: none; } }
.vorschau-tage { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; font-size: var(--fs-klein); text-align: center; font-variant-numeric: tabular-nums; }
.vorschau-tage .wt { color: var(--grau); font-weight: var(--fw-stark); font-size: .75rem; }
.vorschau-tage .vt { display: grid; place-items: center; min-height: 2.25rem; border-radius: 8px; position: relative; }
@media (max-width: 599px) { .vorschau-tage .vt, .vorschau-tage .leer { min-height: 44px; } .vorschau-tage { font-size: var(--fs-text); gap: 2px; } .vorschau.karte-weiss { padding: var(--a3) var(--a2); } }
.vorschau-tage .frei { background: #eef3e6; color: var(--tanne-dunkel); font-weight: var(--fw-stark); text-decoration: none; transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.vorschau-tage .frei:hover { background: var(--glut); color: var(--tinte); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(198, 106, 18, .25); }
.vorschau-tage .frei:active { transform: scale(.94); }
.vorschau-tage .weg { color: #6f736b; }
/* Schmale Handys: Vorschau randlos, damit jeder Tag 44 px breit bleibt */
@media (max-width: 419px) {
  .vorschau.karte-weiss { margin-inline: calc(-1 * var(--rand)); border-radius: 0; border-inline: 0; padding: var(--a3) 2px; }
  .vorschau-tage { gap: 1px; }
}
.vorschau-tage .belegt { background: repeating-linear-gradient(-45deg, #e7e4dc 0 4px, #d6d1c4 4px 8px); color: #6d716a; text-decoration: line-through; }
.vorschau-tage .heute::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--glut-dunkel); }
.vorschau-legende { display: flex; flex-wrap: wrap; gap: var(--a1) var(--a5); list-style: none; margin: var(--a4) 0 0; padding: 0; font-size: var(--fs-klein); color: var(--grau); }
.vorschau-legende li { display: inline-flex; align-items: center; gap: var(--a2); }
.leg { width: 1rem; height: 1rem; border-radius: 4px; display: inline-block; }
.leg-frei { background: #eef3e6; border: 1px solid #cfdcbd; }
.leg-belegt { background: repeating-linear-gradient(-45deg, #e7e4dc 0 3px, #cfcabd 3px 6px); }

/* ---------- Fragen ---------- */
.fragen { max-width: 62rem; margin: 0 auto; display: grid; gap: var(--a3); }
@media (min-width: 1500px) { .abschnitt .fragen { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: var(--a3) var(--a5); } }
.frage { border: 1px solid var(--linie); border-radius: var(--radius); background: var(--creme); transition: border-color .15s ease; }
.frage:hover { border-color: #cfc9b9; }
.frage summary { display: flex; align-items: center; justify-content: space-between; gap: var(--a4); min-height: 3.5rem; padding: var(--a3) var(--a5); font-weight: var(--fw-stark); }
.frage summary::after { transform: rotate(45deg); }
.frage[open] summary::after { transform: rotate(-135deg); }
.frage p { margin: 0; padding: 0 var(--a5) var(--a4); color: var(--text-weich); }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--tanne); color: #fff; }
.kontakt > .huelle { container-type: inline-size; }
/* Karten: 4 in einer Reihe, sonst 2 x 2, am Handy untereinander -- nie 3 + 1.
   Der Wert (E-Mail, Nummer) bricht nie um; auf schmalen Karten wird er kleiner. */
.kontakt-liste { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--a4); max-width: 26rem; }
@container (min-width: 43rem) { .kontakt-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; } }
@container (min-width: 87rem) { .kontakt-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; } }
.kontakt-liste li { min-width: 0; container-type: inline-size; }
.kontakt-karte > span { min-width: 0; }
.kontakt-karte {
  display: flex; align-items: center; gap: var(--a4); min-height: 4.5rem; padding: var(--a4) var(--a5);
  border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.kontakt-karte:hover { background: rgba(255, 255, 255, .12); border-color: var(--glut); color: #fff; transform: translateY(-2px); }
.kontakt-karte .ikon { width: 2rem; height: 2rem; color: var(--glut); }
.kontakt-art { display: block; font-size: var(--fs-klein); color: #d6dccf; font-weight: var(--fw-ui); }
.kontakt-wert { display: block; font-size: min(var(--fs-gross), 4.8cqi); font-weight: var(--fw-stark); white-space: nowrap; }
.kontakt-ort { text-align: center; margin: var(--a6) 0 0; color: #d6dccf; }
.kontakt :focus-visible, .schluss :focus-visible, .fuss :focus-visible, .vorteile :focus-visible { outline-color: var(--glut); }

/* ---------- Unterseiten ---------- */
.unterseite { padding-top: var(--a5); }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 0 var(--a2); list-style: none; margin: 0 0 var(--a5); padding: 0; font-size: var(--fs-klein); color: var(--grau); }
.brotkrumen li { display: inline-flex; align-items: center; }
.brotkrumen li + li::before { content: "›"; margin-right: var(--a2); color: var(--grau); }
.brotkrumen a { color: var(--grau); display: inline-flex; align-items: center; min-height: 44px; }
.seitenkopf { max-width: 52rem; padding-bottom: var(--a6); }
.seitenkopf h1 { font-size: var(--fs-h1); margin-bottom: var(--a4); hyphens: auto; }
.seitenkopf h1 .pinsel { hyphens: manual; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--text-weich); margin-bottom: var(--a5); }
.fliesstext { max-width: 46rem; padding-bottom: var(--abschnitt); font-size: 1.0625rem; line-height: 1.7; }
.fliesstext h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: var(--a7) 0 var(--a3); scroll-margin-top: calc(var(--kopf-h) + var(--a4)); }
.fliesstext h2:first-child { margin-top: 0; }
.fliesstext h3 { margin: var(--a5) 0 var(--a2); }
.fliesstext ul, .fliesstext ol { padding-left: 1.3rem; margin: 0 0 1em; }
.fliesstext li { margin-bottom: var(--a2); }
.fliesstext li::marker { color: var(--glut-dunkel); }
.fliesstext .fragen { margin: var(--a4) 0 0; max-width: none; }
.fliesstext .karte-weiss { margin: var(--a5) 0; }
.kasten { margin: var(--a5) 0; padding: var(--a5); background: var(--papier); border: 1px solid var(--linie); border-left: 5px solid var(--glut); border-radius: var(--radius); }
.kasten p:last-child { margin-bottom: 0; }
.kasten-titel { font-weight: var(--fw-titel); margin-bottom: var(--a2); }
.seitenleiste { display: none; }
@media (min-width: 1200px) {
  .unterseite-seite > .huelle { display: grid; grid-template-columns: minmax(0, 52rem) minmax(16rem, 22rem); justify-content: center; column-gap: clamp(3rem, 5vw, 6rem); }
  .unterseite-seite > .huelle > .brotkrumen, .unterseite-seite > .huelle > .seitenkopf { grid-column: 1 / -1; }
  .unterseite-seite .fliesstext { grid-column: 1; max-width: none; }
  .seitenleiste { display: block; grid-column: 2; padding-bottom: var(--abschnitt); }
  .seitenleiste-innen { position: sticky; top: calc(var(--kopf-h) + var(--a5)); display: grid; gap: var(--a5); }
}
.seitenleiste-titel { margin: 0 0 var(--a2); font-size: var(--fs-klein); font-weight: var(--fw-stark); text-transform: uppercase; letter-spacing: .08em; color: var(--holz); }
.seitenleiste-liste { list-style: none; margin: 0; padding: 0 0 0 var(--a4); border-left: 2px solid var(--linie); }
.seitenleiste-liste a { display: flex; align-items: center; min-height: 32px; color: var(--text-weich); text-decoration: none; font-size: .95rem; line-height: 1.35; padding: var(--a1) 0; }
.seitenleiste-liste a:hover { color: var(--tanne); text-decoration: underline; }
.seitenleiste-kasten { padding: var(--a5); background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); }
.seitenleiste-kasten p:not(.seitenleiste-titel) { font-size: .95rem; color: var(--text-weich); }
/* Karte auf der Regionsseite ueber die volle Breite */
.fliesstext .liefer-block { margin: var(--a5) 0; font-size: var(--fs-text); line-height: 1.6; }
.fliesstext .liefer-raster { grid-template-columns: minmax(0, 1fr); gap: var(--a5); }
.fliesstext .karte { max-width: none; }
.fliesstext .orte-gruppen { columns: 15rem 3; }
.ortsbaender { display: grid; gap: var(--a4); }
.ortsband h3 { margin: 0 0 var(--a1); color: var(--holz); font-size: var(--fs-klein); text-transform: uppercase; letter-spacing: .06em; }
.ortsband p { margin: 0; }
.ortsband .plz { color: var(--grau); font-size: var(--fs-klein); }

.weiterlesen { background: var(--papier); border-top: 1px solid var(--linie); }
.weiter-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: var(--a5); }
.weiter-karte {
  display: flex; flex-direction: column; gap: var(--a2); height: 100%;
  padding: var(--a5); border: 1px solid var(--linie); border-radius: var(--radius); background: var(--creme);
  color: var(--tinte); text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.weiter-karte:hover { border-color: var(--glut); color: var(--tinte); transform: translateY(-2px); }
.weiter-titel { font-weight: var(--fw-titel); font-size: var(--fs-gross); }
.weiter-text { color: var(--text-weich); flex: 1; }
.weiter-mehr { display: inline-flex; align-items: center; gap: var(--a1); color: var(--tanne); font-weight: var(--fw-stark); }

.schluss { background: var(--tanne); color: #eef0ea; text-align: center; }
.schluss-innen p { max-width: 40rem; margin: 0 auto var(--a5); font-size: var(--fs-gross); }
.schluss .knopf-reihe { justify-content: center; }

/* Rechtliches + 404 */
.unterseite-recht .fliesstext, .unterseite-fehler .fliesstext { max-width: 52rem; }
.stand { color: var(--grau); font-size: var(--fs-klein); }

/* ---------- Fuss ---------- */
.fuss { background: var(--tanne-dunkel); color: #d6dccf; padding-top: var(--a7); }
.fuss-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--a5) var(--a5); padding-bottom: var(--a6); }
.fuss-marke { grid-column: 1 / -1; }
@media (min-width: 700px) and (max-width: 1099px) { .fuss-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fuss-marke { grid-column: auto; } }
@media (min-width: 1100px) { .fuss-raster { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.fuss-spalte ul { list-style: none; margin: 0; padding: 0; }
.fuss-spalte a { display: inline-flex; align-items: center; min-height: 44px; color: #eef0ea; }
.fuss-spalte a:hover { color: var(--glut); }
.fuss-titel { margin: 0 0 var(--a1); font-weight: var(--fw-stark); color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-klein); }
.fuss-marke .pinsel { color: var(--glut); font-size: 1.75rem; }
.fuss-marke p { margin: 0 0 var(--a3); }
.fuss-marke .knopf { color: var(--tinte); }
.fuss-unten { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: var(--a3); }
.fuss-recht { display: flex; flex-wrap: wrap; gap: 0 var(--a5); list-style: none; margin: 0; padding: 0; font-size: var(--fs-klein); }
.fuss-recht a { display: inline-flex; align-items: center; min-height: 44px; color: #eef0ea; }
.fuss-recht a:hover { color: var(--glut); }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .fuss-spalte a, .fuss-recht a { min-height: 32px; }
}

/* =====================================================================
   BEWEGUNG (Runde 3, Vorbild brauer.pro): nur transform/opacity, einmalig,
   bei prefers-reduced-motion aus. Versteckt wird beim Scroll-Einblenden
   nur, wenn bewegung.js html.einblend-live gesetzt hat.
   ===================================================================== */
.kopf { transition: box-shadow .3s ease; }
.kopf.gescrollt { box-shadow: 0 6px 22px rgba(27, 29, 26, .08); }
.marke img { transition: transform .3s cubic-bezier(.16, 1, .3, 1); transform-origin: left center; }
.kopf.gescrollt .marke img { transform: scale(.88); }
.scroll-linie { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.scroll-linie i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, rgba(232, 137, 43, .25), var(--glut) 70%, #f6b26b); border-radius: 0 3px 3px 0; }

.knopf:active { transform: translateY(0) scale(.97); }
.vorteil, .weiter-karte, .kontakt-karte { position: relative; overflow: hidden; }
.vorteil::before, .weiter-karte::before, .kontakt-karte::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 137, 43, .16), transparent 70%);
  transition: opacity .3s ease;
}
.vorteil:hover::before, .weiter-karte:hover::before, .kontakt-karte:hover::before { opacity: 1; }
.vorteil > *, .weiter-karte > *, .kontakt-karte > * { position: relative; }

/* Hero: Logo erscheint weich, Text steigt gestaffelt auf, Pinselwort wird unterstrichen, Dampf steigt */
.hero h1 .pinsel { position: relative; }
.hero h1 .pinsel::after {
  content: ""; position: absolute; left: .02em; right: .08em; bottom: -.02em; height: .09em;
  background: var(--glut); border-radius: 99px; transform-origin: left center; opacity: .85;
}
.hero-bild { position: relative; }
.dampf { position: absolute; left: 25%; top: 0; width: 18%; height: 18%; pointer-events: none; overflow: visible; }
.dampf path { fill: none; stroke: #c9c3b3; stroke-width: 2.2; stroke-linecap: round; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes weich-rein { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes steigen-rein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes strich-zieh { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes dampf-steigt { 0% { opacity: 0; transform: translateY(14px) scaleY(.8); } 25% { opacity: .55; } 100% { opacity: 0; transform: translateY(-26px) scaleY(1.15); } }
  .hero-bild img { animation: weich-rein 1.1s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-text > * { animation: steigen-rein .9s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-text > :nth-child(1) { animation-delay: .1s; }
  .hero-text > :nth-child(2) { animation-delay: .18s; }
  .hero-text > :nth-child(3) { animation-delay: .3s; }
  .hero-text > :nth-child(4) { animation-delay: .42s; }
  .hero h1 .pinsel::after { transform: scaleX(0); animation: strich-zieh .8s cubic-bezier(.65, 0, .35, 1) .9s forwards; }
  .dampf path { animation: dampf-steigt 5.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }
  .dampf path:nth-child(2) { animation-delay: 1.8s; }
  .dampf path:nth-child(3) { animation-delay: 3.6s; }
  .waldkante { will-change: transform; }

  /* Scroll-Einblenden */
  .einblend-live .einblenden:not(.da) { opacity: 0; transform: translateY(22px); }
  .einblend-live .einblenden { transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 80ms); }
  .einblend-live .einblenden.sofort { transition: none; }

  /* Karte: Kreis zeichnet sich, Punkte tauchen gestaffelt auf, Treffer pulsiert einmal */
  .einblend-live .karte-flaeche:not(.da) .gebiet { stroke-dashoffset: 1; fill-opacity: 0; }
  .einblend-live .karte-flaeche .gebiet { stroke-dasharray: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.65, 0, .35, 1) .2s, fill-opacity .8s ease 1.2s; }
  .einblend-live .karte-flaeche:not(.da) .punkt, .einblend-live .karte-flaeche:not(.da) .mitte { opacity: 0; }
  @keyframes punkt-rein { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
  .einblend-live .karte-flaeche.da .punkt { animation: punkt-rein .45s cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(.9s + var(--i, 0) * 14ms); }
  .einblend-live .karte-flaeche.da .mitte { animation: steigen-rein .6s cubic-bezier(.16, 1, .3, 1) .5s backwards; }
  .punkt.puls::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--glut); animation: puls-ring .9s ease-out 1; opacity: 0; }
  @keyframes puls-ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }

  /* So geht's: Verbindungslinien wachsen nacheinander */
  .einblend-live .ablauf:not(.da) .ablauf-schritt::after { transform: scaleX(0); }
  .einblend-live .ablauf .ablauf-schritt::after { transform-origin: left center; transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
  .einblend-live .ablauf.da .ablauf-schritt:nth-child(1)::after { transition-delay: .5s; }
  .einblend-live .ablauf.da .ablauf-schritt:nth-child(2)::after { transition-delay: .8s; }
  .einblend-live .ablauf.da .ablauf-schritt:nth-child(3)::after { transition-delay: 1.1s; }
}
@media (prefers-reduced-motion: reduce) {
  .dampf { display: none; }
}
