/* Body & Skin — Gestaltung.
   Alles Farbliche und Maessliche steht als Variable in :root. Wer das
   Erscheinungsbild aendert, aendert dort — nirgends sonst stehen Farbwerte.
   Bewusst ohne Framework und ohne Build: die Datei laeuft so, wie sie hier steht. */

:root {
  /* Grundflaechen: warmes, sehr helles Off-White */
  --grund: #f7f5f2;
  --grund-getoent: #efebe5;
  --flaeche: #ffffff;

  /* Tiefe, ruhige Dunkelflaeche fuer Buehne und Fuss */
  --tief: #14201d;
  --tief-2: #1b2a26;

  /* Schrift */
  --text: #16201d;
  --text-leise: #5f6b66;
  --text-auf-tief: #eef1ee;
  --text-auf-tief-leise: #a9b6b1;

  /* Akzent: gedecktes Champagner-Gold */
  --akzent: #b08d57;
  --akzent-hell: #cdae7d;
  --akzent-dunkel: #8d6f42;

  --rand: #e3ddd4;
  --rand-tief: rgba(255, 255, 255, .14);

  --breite: 74rem;
  --breite-eng: 46rem;

  --radius: 1.25rem;
  --radius-klein: .75rem;

  --schatten: 0 1px 2px rgba(20, 32, 29, .04), 0 12px 32px -12px rgba(20, 32, 29, .14);
  --schatten-hoch: 0 2px 4px rgba(20, 32, 29, .05), 0 28px 60px -24px rgba(20, 32, 29, .28);

  --schrift: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
  --schrift-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --kopfhoehe: 5rem;
  --uebergang: .25s cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:target { scroll-margin-top: calc(var(--kopfhoehe) + 1.5rem); }

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 1.0625rem/1.7 var(--schrift-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--schrift);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.5vw, 4.5rem); margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin: 0 0 1rem; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); margin: 0 0 .6rem; }
h4 { font-size: 1.05rem; margin: 0 0 .4rem; }

p { margin: 0 0 1.1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--akzent-dunkel); text-underline-offset: .2em; }

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

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

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

.sprungmarke {
  position: absolute; left: -9999px; z-index: 200;
  background: var(--tief); color: var(--text-auf-tief);
  padding: .85rem 1.25rem; border-radius: 0 0 var(--radius-klein) 0;
}
.sprungmarke:focus { left: 0; top: 0; }

/* Kleine Grossbuchstaben-Zeile ueber Ueberschriften. */
.augenbraue {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--akzent-dunkel);
  margin: 0 0 1rem;
}
.augenbraue::before {
  content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .5;
}
.auf-tief .augenbraue { color: var(--akzent-hell); }

.fuehrungstext {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-leise);
  max-width: 42rem;
}
.auf-tief .fuehrungstext { color: var(--text-auf-tief-leise); }

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

.kopf {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 245, 242, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--rand);
  transition: background var(--uebergang), border-color var(--uebergang);
}

/* Auf Seiten mit dunkler Buehne schwebt der Kopf zunaechst durchsichtig
   ueber dem Bild und wird erst beim Scrollen fest (Klasse setzt seite.js). */
body.dunkler-kopf .kopf {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--text-auf-tief);
}
body.dunkler-kopf .kopf:not(.kopf--fest) .marke,
body.dunkler-kopf .kopf:not(.kopf--fest) .menue > a,
body.dunkler-kopf .kopf:not(.kopf--fest) .menuknopf,
body.dunkler-kopf .kopf:not(.kopf--fest) .aufklapp__schalter { color: var(--text-auf-tief); }
body.dunkler-kopf .kopf:not(.kopf--fest) .marke__zusatz { color: var(--text-auf-tief-leise); }
body.dunkler-kopf .kopf:not(.kopf--fest) .menuknopf { border-color: var(--rand-tief); }
body.dunkler-kopf .kopf--fest {
  background: rgba(247, 245, 242, .88);
  border-bottom-color: var(--rand);
}

.kopf__innen { display: flex; align-items: center; gap: 1.25rem; min-height: var(--kopfhoehe); }

.marke {
  display: flex; flex-direction: column; gap: .15rem;
  text-decoration: none; color: var(--text); margin-right: auto;
  transition: color var(--uebergang);
}
.marke__name { font-family: var(--schrift); font-size: 1.45rem; letter-spacing: -.01em; }
.marke__und { color: var(--akzent); }
.marke__zusatz {
  font-size: .62rem; text-transform: uppercase; letter-spacing: .22em;
  color: var(--text-leise);
}

.menue { display: flex; align-items: center; gap: .35rem; }
.menue > a, .aufklapp__schalter {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .7rem; border-radius: 100px;
  color: var(--text); text-decoration: none;
  font: inherit; font-size: .92rem; line-height: 1;
  background: none; border: 0; cursor: pointer;
  transition: background var(--uebergang), color var(--uebergang);
}
.menue > a:not(.knopf):hover, .aufklapp__schalter:hover { color: var(--akzent-dunkel); }
.menue a[aria-current="page"] { color: var(--akzent-dunkel); }
.menue .knopf { margin-left: .5rem; }

/* Aufklappmenues */
.aufklapp { position: relative; }
.aufklapp__pfeil {
  width: .5rem; height: .5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); opacity: .55;
  transition: transform var(--uebergang);
}
.aufklapp[data-offen] .aufklapp__pfeil { transform: rotate(225deg) translate(-1px, -1px); }

.aufklapp__inhalt {
  display: none;
  position: absolute; top: calc(100% + .6rem); left: 0; z-index: 60;
  min-width: 17rem; padding: .6rem;
  background: var(--flaeche);
  border: 1px solid var(--rand); border-radius: var(--radius-klein);
  box-shadow: var(--schatten-hoch);
}

/* Zwischen Knopf und Klappmenue liegen .6rem Luft. Ohne diese unsichtbare
   Bruecke gehoert der Zwischenraum zu keinem der beiden Elemente: die Maus
   verlaesst auf dem Weg nach unten die Gruppe, das Menue klappt zu und die
   Eintraege sind nicht erreichbar. */
.aufklapp__inhalt::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -.7rem; height: .7rem;
}
.aufklapp[data-offen] .aufklapp__inhalt { display: block; animation: einblenden .18s ease both; }
.aufklapp__inhalt a {
  display: block; padding: .6rem .75rem; border-radius: .5rem;
  color: var(--text); text-decoration: none; font-size: .92rem;
}
.aufklapp__inhalt a:hover { background: var(--grund-getoent); color: var(--akzent-dunkel); }
.aufklapp__inhalt small { display: block; color: var(--text-leise); font-size: .78rem; margin-top: .1rem; }

@keyframes einblenden {
  from { opacity: 0; transform: translateY(-.4rem); }
  to   { opacity: 1; transform: none; }
}

.menuknopf { display: none; }

/* ---------- Knoepfe ---------------------------------------------------- */

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--akzent); color: #fff;
  padding: .85rem 1.7rem; border-radius: 100px;
  border: 1px solid var(--akzent);
  text-decoration: none; font-size: .95rem; line-height: 1.2; cursor: pointer;
  transition: background var(--uebergang), border-color var(--uebergang), transform var(--uebergang), box-shadow var(--uebergang);
}
.knopf:hover {
  background: var(--akzent-dunkel); border-color: var(--akzent-dunkel);
  box-shadow: 0 10px 24px -10px rgba(141, 111, 66, .7);
}
.knopf:active { transform: translateY(1px); }

.knopf--leise { background: transparent; color: var(--text); border-color: var(--rand); }
.knopf--leise:hover { background: var(--flaeche); border-color: var(--akzent); color: var(--akzent-dunkel); box-shadow: var(--schatten); }
.auf-tief .knopf--leise { color: var(--text-auf-tief); border-color: var(--rand-tief); }
.auf-tief .knopf--leise:hover { background: rgba(255, 255, 255, .08); border-color: var(--akzent-hell); color: #fff; }

.knopf--klein { padding: .55rem 1.15rem; font-size: .88rem; }

/* Textlink mit Pfeil */
.weiter {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--akzent-dunkel); text-decoration: none; font-size: .95rem;
}
.weiter::after { content: "→"; transition: transform var(--uebergang); }
.weiter:hover::after { transform: translateX(.25rem); }

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

.buehne {
  position: relative;
  margin-top: calc(var(--kopfhoehe) * -1);
  padding: calc(var(--kopfhoehe) + clamp(4rem, 12vw, 8rem)) 0 clamp(4rem, 10vw, 7rem);
  background: var(--tief);
  color: var(--text-auf-tief);
  overflow: hidden;
  isolation: isolate;
}
.buehne::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70rem 40rem at 78% 8%, rgba(176, 141, 87, .34), transparent 62%),
    radial-gradient(46rem 34rem at 8% 96%, rgba(94, 130, 118, .28), transparent 65%),
    linear-gradient(160deg, var(--tief-2), var(--tief) 62%);
}
.buehne h1 { color: #fff; }
.buehne__innen { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 60rem) {
  .buehne__innen { grid-template-columns: 1.05fr .95fr; }
}
.buehne__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

/* Drei kurze Vertrauensangaben unter der Buehne */
.buehne__marken {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rand-tief);
  font-size: .88rem; color: var(--text-auf-tief-leise);
}
.buehne__marken span { display: flex; align-items: center; gap: .5rem; }
.buehne__marken span::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--akzent-hell); }

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

.abschnitt { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.abschnitt--getoent { background: var(--grund-getoent); }
.abschnitt--tief { background: var(--tief); color: var(--text-auf-tief); }
.abschnitt--tief h2, .abschnitt--tief h3 { color: #fff; }
.abschnitt--eng > .huelle { max-width: var(--breite-eng); }

.abschnitt__kopf { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.abschnitt__kopf p { color: var(--text-leise); }
.abschnitt--tief .abschnitt__kopf p { color: var(--text-auf-tief-leise); }

.raster { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.raster--zwei { grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr)); }

.zweispalt { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 52rem) { .zweispalt { grid-template-columns: 1.1fr .9fr; } }
@media (min-width: 52rem) { .zweispalt--gleich { grid-template-columns: 1fr 1fr; } }

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

.karte {
  display: flex; flex-direction: column;
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: transform var(--uebergang), box-shadow var(--uebergang), border-color var(--uebergang);
}
.karte p { color: var(--text-leise); font-size: .97rem; }
.karte .weiter { margin-top: auto; padding-top: 1.25rem; }
a.karte { text-decoration: none; color: inherit; }
a.karte:hover, .karte--hebt:hover {
  transform: translateY(-3px);
  box-shadow: var(--schatten-hoch);
  border-color: rgba(176, 141, 87, .45);
}
.abschnitt--tief .karte {
  background: rgba(255, 255, 255, .05);
  border-color: var(--rand-tief);
}
.abschnitt--tief .karte p { color: var(--text-auf-tief-leise); }

/* Kleines Sinnbild oben in der Karte (reines CSS, keine Fremdgrafik). */
.karte__zeichen {
  width: 2.75rem; height: 2.75rem; margin-bottom: 1.25rem;
  border-radius: .75rem;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(176, 141, 87, .18), rgba(176, 141, 87, .06));
  border: 1px solid rgba(176, 141, 87, .25);
  color: var(--akzent-dunkel);
  font-family: var(--schrift); font-size: 1.1rem;
}
.abschnitt--tief .karte__zeichen { color: var(--akzent-hell); }

.karte__marke {
  align-self: flex-start; margin-bottom: 1rem;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .16em;
  padding: .3rem .6rem; border-radius: 100px;
  background: rgba(176, 141, 87, .12); color: var(--akzent-dunkel);
  border: 1px solid rgba(176, 141, 87, .3);
}

/* ---------- Bildplatzhalter --------------------------------------------- */

.bildplatz {
  position: relative;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(176, 141, 87, .07) 0 12px, transparent 12px 24px),
    var(--grund-getoent);
  border: 1px dashed var(--rand);
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  color: var(--text-leise);
  font-size: .82rem; text-align: center; padding: 1rem;
}
.bildplatz--hoch { aspect-ratio: 3 / 4; }
.bildplatz--breit { aspect-ratio: 16 / 9; }

/* Sobald ueber die Verwaltung ein Foto eingesetzt wurde, verschwindet der
   gestrichelte Platzhalter und das Bild uebernimmt die Flaeche. */
.bildplatz:has(img) { border: 0; background: none; padding: 0; overflow: hidden; }
.bildplatz img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.auf-tief .bildplatz, .abschnitt--tief .bildplatz, .buehne .bildplatz {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 12px, transparent 12px 24px), rgba(255, 255, 255, .04);
  border-color: var(--rand-tief); color: var(--text-auf-tief-leise);
}

/* ---------- Ablauf (nummerierte Schritte) ------------------------------- */

.ablauf { list-style: none; margin: 0; padding: 0; counter-reset: schritt; display: grid; gap: 1rem; }
@media (min-width: 52rem) { .ablauf { grid-template-columns: repeat(4, 1fr); } }
.ablauf li {
  counter-increment: schritt;
  background: var(--flaeche); border: 1px solid var(--rand);
  border-radius: var(--radius-klein); padding: 1.5rem;
}
.ablauf li::before {
  content: counter(schritt, decimal-leading-zero);
  display: block; margin-bottom: .75rem;
  font-family: var(--schrift); font-size: 1.5rem; color: var(--akzent);
}
.ablauf strong { display: block; margin-bottom: .25rem; }
.ablauf p { margin: 0; font-size: .93rem; color: var(--text-leise); }

/* ---------- Merkmalliste ------------------------------------------------ */

.merkmale { list-style: none; margin: 0; padding: 0; }
.merkmale li {
  position: relative; padding: .9rem 0 .9rem 2rem;
  border-bottom: 1px solid var(--rand);
}
.merkmale li::before {
  content: ""; position: absolute; left: .1rem; top: 1.45rem;
  width: .75rem; height: .4rem;
  border-left: 1.5px solid var(--akzent); border-bottom: 1.5px solid var(--akzent);
  transform: rotate(-45deg);
}
.merkmale li:last-child { border-bottom: 0; }
.auf-tief .merkmale li, .abschnitt--tief .merkmale li { border-color: var(--rand-tief); }
.abschnitt--tief .merkmale li::before { border-color: var(--akzent-hell); }

/* ---------- Vertrauensbaustein ------------------------------------------ */

.vertrauen {
  display: grid; gap: 1.75rem; align-items: center;
  background: var(--flaeche); border: 1px solid var(--rand);
  border-left: 3px solid var(--akzent);
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem);
}
@media (min-width: 44rem) { .vertrauen { grid-template-columns: 8rem 1fr; } }
.vertrauen .bildplatz { aspect-ratio: 1; border-radius: 50%; }
.vertrauen p { margin-bottom: .5rem; }
.vertrauen__name { font-family: var(--schrift); font-size: 1.15rem; }
.vertrauen__rolle { font-size: .85rem; color: var(--text-leise); }

/* ---------- Preise ------------------------------------------------------ */

.preisgruppe { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.preisgruppe > h3 {
  padding-bottom: .75rem; margin-bottom: .5rem;
  border-bottom: 1px solid var(--rand);
}
.preisliste { margin: 0; }
.preisliste__zeile {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1rem 0; border-bottom: 1px solid var(--rand);
}
.preisliste dt { font-weight: 500; }
.preisliste dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--akzent-dunkel); }
.dauer { display: block; font-size: .84rem; color: var(--text-leise); font-weight: 400; margin-top: .15rem; }

.hinweis { font-size: .9rem; color: var(--text-leise); }

/* ---------- Fragen und Antworten ---------------------------------------- */

.fragen { border-top: 1px solid var(--rand); }
.frage { border-bottom: 1px solid var(--rand); }
.frage > summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--schrift); font-size: 1.1rem;
}
.frage > summary::-webkit-details-marker { display: none; }
.frage > summary::after {
  content: "+"; font-size: 1.4rem; color: var(--akzent); line-height: 1;
  transition: transform var(--uebergang);
}
.frage[open] > summary::after { content: "–"; }
.frage > summary:hover { color: var(--akzent-dunkel); }
.frage__antwort { padding: 0 0 1.5rem; color: var(--text-leise); max-width: 44rem; }

/* ---------- Brotkrumen -------------------------------------------------- */

.krumen { font-size: .82rem; color: var(--text-leise); margin-bottom: 1.5rem; }
.krumen a { color: inherit; text-decoration: none; }
.krumen a:hover { color: var(--akzent-dunkel); }
.krumen span { margin: 0 .4rem; opacity: .5; }
.buehne .krumen { color: var(--text-auf-tief-leise); }

/* ---------- Abschluss-Aufruf -------------------------------------------- */

.aufruf { text-align: center; }
.aufruf .huelle { max-width: 40rem; }
.aufruf .buehne__aktionen { justify-content: center; }

/* ---------- Fliesstextseiten -------------------------------------------- */

.fliesstext { padding: clamp(3rem, 8vw, 5rem) 0; }
.fliesstext .huelle { max-width: var(--breite-eng); }
.fliesstext h2 { margin-top: 2.75rem; font-size: 1.4rem; }
.fliesstext ul { padding-left: 1.25rem; color: var(--text-leise); }
.fliesstext ul li { margin-bottom: .4rem; }

/* Deutlich sichtbarer Hinweis auf unfertige Inhalte. */
.platzhalterhinweis {
  background: rgba(176, 141, 87, .1);
  border: 1px solid rgba(176, 141, 87, .35);
  border-radius: var(--radius-klein);
  padding: 1rem 1.25rem; font-size: .9rem; color: var(--akzent-dunkel);
}

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

.fuss {
  background: var(--tief); color: var(--text-auf-tief-leise);
  padding: clamp(3rem, 7vw, 4.5rem) 0 2rem; font-size: .92rem;
}
.fuss a { color: var(--text-auf-tief-leise); text-decoration: none; }
.fuss a:hover { color: #fff; }
.fuss h4 { color: #fff; font-family: var(--schrift-text); font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 1rem; }
.fuss__spalten { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.fuss__spalten ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.fuss .marke { color: #fff; margin-bottom: 1rem; }
.fuss .marke__zusatz { color: var(--text-auf-tief-leise); }
.fuss__unten {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rand-tief);
  font-size: .85rem;
}
.fuss__menue { display: flex; gap: 1.5rem; }
.fuss address { font-style: normal; line-height: 1.9; }

/* ---------- Einblenden beim Scrollen ------------------------------------ */

.zeigt { opacity: 0; transform: translateY(1.25rem); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
.zeigt.zeigt--da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .zeigt { opacity: 1; transform: none; } }

/* ---------- Fester Terminbalken auf dem Handy --------------------------- */

.terminbalken { display: none; }

/* ---------- Schmale Bildschirme ----------------------------------------- */

@media (max-width: 68rem) {
  .menuknopf {
    display: inline-flex; align-items: center; gap: .55rem;
    background: none; border: 1px solid var(--rand); border-radius: 100px;
    padding: .55rem 1rem; font: inherit; font-size: .9rem; color: var(--text); cursor: pointer;
    transition: border-color var(--uebergang), color var(--uebergang);
  }
  .menuknopf__balken {
    width: 1.1rem; height: 1.5px; background: currentColor;
    box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
  }

  .kopf__innen { position: relative; }

  .menue {
    display: none;
    position: absolute; top: calc(100% + .75rem); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - var(--kopfhoehe) - 2rem); overflow-y: auto;
    background: var(--flaeche);
    border: 1px solid var(--rand); border-radius: var(--radius-klein);
    box-shadow: var(--schatten-hoch);
    padding: .75rem;
  }
  .menue[data-offen] { display: flex; }
  .menue > a, .aufklapp__schalter {
    color: var(--text); width: 100%; justify-content: space-between;
    padding: .85rem .75rem; border-radius: .5rem;
  }
  .menue .knopf { margin: .75rem 0 .25rem; justify-content: center; color: #fff; }

  .aufklapp { width: 100%; }
  .aufklapp__inhalt {
    position: static; min-width: 0; box-shadow: none; border: 0;
    border-left: 2px solid var(--rand); border-radius: 0;
    margin: 0 0 .5rem .75rem; padding: 0 0 0 .5rem;
  }

  /* Fester Terminknopf am unteren Rand — auf dem Handy der wichtigste Weg. */
  .terminbalken {
    display: flex; gap: .75rem; align-items: center; justify-content: space-between;
    position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 90;
    background: rgba(20, 32, 29, .95);
    backdrop-filter: blur(10px);
    border-radius: 100px; padding: .5rem .6rem .5rem 1.25rem;
    box-shadow: var(--schatten-hoch);
    color: var(--text-auf-tief); font-size: .9rem;
  }
  .terminbalken a.knopf { padding: .65rem 1.25rem; }
  .terminbalken__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body { padding-bottom: 4.5rem; }
}

@media (max-width: 40rem) {
  .ablauf { grid-template-columns: 1fr; }
  .buehne__marken { gap: .75rem 1.5rem; }
}
