/* Ergotherapie & Schmerztherapie Lander & Jenetzky – Gestaltung
   Verbindlich ist docs/DESIGN.md (Farben, Schrift, Bausteine, Kontraste). */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  /* Farben (DESIGN.md, Abschnitt 3) */
  --kalkweiss: #fff;
  --schiefer: #2b2e2c;       /* Text */
  --neben: #565b57;          /* Nebentext, ≥ 5,5 : 1 auf allen Flächen */
  --moos: #3f7d20;           /* alles Anklickbare */
  --moos-hover: #2f5f18;
  --arkade: #7bc151;         /* Logo-/Fassadengrün: nur Fläche und Linie */
  --salbei: #f1f7ec;         /* jeder zweite Abschnitt */
  --birke: #efe5d3;          /* Bogen-Hinterlegung, Info-Kästen */
  --nachtgruen: #243020;     /* Fuß */
  --signalrot: #b3261e;
  --linie: #d9e3d2;
  --feldrand: #8a8f91;

  /* Schrift (Abschnitt 4), Verhältnis 1,25 auf 18 px */
  --schrift: "Atkinson Hyperlegible Next", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --s-5: clamp(2.25rem, 1.5rem + 3.2vw, 3.5rem);
  --s-4: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
  --s-3: clamp(1.5rem, 1.3rem + 0.9vw, 1.875rem);
  --s-2: 1.375rem;
  --s-1: 1.125rem;
  --s-0: 1rem;

  /* Raster (Abschnitt 6) */
  --rund: 999px;             /* Anklickbares */
  --ecke: 12px;              /* Flächen, Fotos, Felder */
  --breite: 72rem;
  --lesebreite: 38rem;
  --pfadhoehe: 2.5rem;   /* Brotkrumen: Zeile 1,5rem + Abstand 1rem */
  --abstand: clamp(1rem, 4vw, 2rem);
  --abschnitt: clamp(3rem, 8vw, 6rem);
  --leiste: 4.5rem;          /* Höhe der Schnellleiste auf dem Handy */
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--kalkweiss);
  color: var(--schiefer);
  font: 400 var(--s-1)/1.6 var(--schrift);
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.lesen > figure { margin-block: 1.5rem; }

/* Fehlende Fotos bleiben als ruhige Fläche sichtbar statt als kaputtes Symbol */
.foto img { background: var(--salbei); width: 100%; object-fit: cover; border-radius: var(--ecke); }

a { color: var(--moos); text-underline-offset: .15em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3 { margin: 0 0 .6em; color: var(--schiefer); text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
p, li, td, dd { overflow-wrap: break-word; }
h1 { font-size: var(--s-4); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: var(--s-3); font-weight: 800; line-height: 1.2; }
h3 { font-size: var(--s-2); font-weight: 600; line-height: 1.3; }
p, ul, ol { margin: 0 0 1em; }
strong { font-weight: 600; }

.breite { width: min(100% - 2 * var(--abstand), var(--breite)); margin-inline: auto; }
.h3 { font-size: var(--s-2); font-weight: 600; line-height: 1.3; }
.abstand-oben { margin-top: 2rem; }
.abstand-unten { margin-bottom: 2rem; }
.lesen { max-width: var(--lesebreite); }

.sprung {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--moos); color: var(--kalkweiss); padding: .6rem 1rem; border-radius: var(--rund);
}
.sprung:focus { top: 1rem; color: var(--kalkweiss); }

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .65rem 1.35rem;
  background: var(--moos); color: var(--kalkweiss);
  border: 2px solid var(--moos); border-radius: var(--rund);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .12s, border-color .12s;
}
.knopf:hover { background: var(--moos-hover); border-color: var(--moos-hover); color: var(--kalkweiss); }
/* Sekundär immer weiß hinterlegt: Moos auf Birke wäre zu kontrastarm */
.knopf--rand { background: var(--kalkweiss); color: var(--moos); }
.knopf--rand:hover { background: var(--salbei); color: var(--moos-hover); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }

/* ---------- Kopf und Menü ---------- */

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--kalkweiss);
  border-bottom: 4px solid var(--arkade);   /* wie das Gesims der Fassade */
}
.kopf__innen { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; padding-block: .9rem; }

.marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--schiefer); margin-right: auto; }
.marke:hover { color: var(--schiefer); }
.marke__bild { width: 7rem; height: 7rem; flex: none; }
.marke__text { display: flex; flex-direction: column; line-height: 1.2; }
.marke__name { font-weight: 800; font-size: var(--s-0); }
.marke__zusatz { font-size: var(--s-0); color: var(--neben); }

.menue-knopf {
  display: none; align-items: center; gap: .5rem;
  min-height: 3rem; padding: .5rem 1rem;
  background: none; border: 2px solid var(--linie); border-radius: var(--rund);
  font: inherit; font-size: var(--s-0); font-weight: 600; color: var(--schiefer); cursor: pointer;
}
.menue-knopf__linien, .menue-knopf__linien::before, .menue-knopf__linien::after {
  display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative;
}
.menue-knopf__linien::before, .menue-knopf__linien::after { content: ""; position: absolute; left: 0; }
.menue-knopf__linien::before { top: -6px; }
.menue-knopf__linien::after { top: 6px; }
.menue-knopf[aria-expanded="true"] .menue-knopf__linien { background: transparent; }
.menue-knopf[aria-expanded="true"] .menue-knopf__linien::before { top: 0; transform: rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-knopf__linien::after { top: 0; transform: rotate(-45deg); }

.menue { display: flex; align-items: center; gap: 1.25rem; }
.menue__liste { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.menue__liste a {
  display: block; padding: .6rem .8rem; border-radius: var(--rund);
  color: var(--schiefer); font-weight: 600; font-size: var(--s-0); text-decoration: none;
}
.menue__liste a:hover { background: var(--salbei); color: var(--schiefer); }
.menue__liste a[aria-current="page"] { color: var(--moos); text-decoration: underline; text-decoration-thickness: 2px; }
.menue__aktionen { display: flex; gap: .5rem; }
.menue__aktionen .knopf { font-size: var(--s-0); }
.menue__liste a, .knopf, .marke__name, .marke__zusatz { white-space: nowrap; }
/* Telefonnummer steht auf dem Desktop im Fuß und auf den Seiten – im Kopf nur im Handy-Menü */
@media (min-width: 72.01rem) {
  .menue__aktionen .knopf--rand { display: none; }
}

.menue__punkt--unter { position: relative; }
.untermenue {
  list-style: none; margin: 0; padding: .5rem;
  position: absolute; top: 100%; left: 0; min-width: 16rem;
  background: var(--kalkweiss); border: 1px solid var(--linie); border-radius: var(--ecke);
  box-shadow: 0 10px 30px rgb(36 48 32 / .1);   /* einziger Schatten: liegt über dem Inhalt */
  visibility: hidden; opacity: 0; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.menue__punkt--unter:hover .untermenue,
.menue__punkt--unter:focus-within .untermenue { visibility: visible; opacity: 1; transform: none; }
.untermenue a { font-weight: 400; }

/* Handy und Tablet: Menü klappt unter dem Kopf auf (nur mit JS, ohne JS bleibt es offen) */
@media (max-width: 72rem) {
  .js .menue-knopf { display: inline-flex; }
  .menue {
    flex-direction: column; align-items: stretch; gap: 1rem;
    width: 100%; padding: 0 0 1rem;
  }
  .kopf__innen { flex-wrap: wrap; }
  .js .kopf__innen { flex-wrap: nowrap; }
  .marke { min-width: 0; }
  .marke__name, .marke__zusatz { white-space: normal; }
  .js .menue {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100dvh - 9.5rem - var(--leiste)); overflow-y: auto;
    background: var(--kalkweiss); border-bottom: 4px solid var(--arkade);
    padding: .5rem var(--abstand) 1.25rem;
    box-shadow: 0 16px 30px rgb(36 48 32 / .12);
  }
  .js .menue.ist-offen { display: flex; }
  .menue__liste { flex-direction: column; gap: 0; }
  .menue__liste a { padding: .8rem .5rem; font-size: var(--s-1); border-radius: var(--ecke); }
  .untermenue {
    position: static; visibility: visible; opacity: 1; transform: none;
    border: 0; box-shadow: none; padding: 0 0 .25rem 1rem; min-width: 0;
  }
  .untermenue a { font-size: var(--s-0); padding: .6rem .5rem; }
  .menue__aktionen { flex-direction: column; }
}

/* ---------- Schnellleiste (nur Handy) ---------- */

.schnellleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: var(--kalkweiss); border-top: 1px solid var(--linie);
}
.schnellleiste { transition: transform .2s ease, visibility .2s; }
.schnellleiste.ist-weg, .menue-offen .schnellleiste { transform: translateY(110%); visibility: hidden; }
@media (max-width: 72rem) { .fuss .fuss__unten { padding-bottom: calc(1.5rem + var(--leiste)); } }
.schnellleiste__knopf {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 3rem; border-radius: var(--rund);
  border: 2px solid var(--moos); background: var(--kalkweiss); color: var(--moos);
  font-weight: 600; text-decoration: none;
}
.schnellleiste__knopf--haupt { background: var(--moos); color: var(--kalkweiss); }
.schnellleiste__knopf--haupt:hover { color: var(--kalkweiss); background: var(--moos-hover); }
/* Auf der Terminseite selbst nur „Anrufen“ */
.seite-termin .schnellleiste { grid-template-columns: 1fr; }
.seite-termin .schnellleiste__knopf--haupt { display: none; }

@media (min-width: 72.01rem) {
  .schnellleiste { display: none; }
}

/* ---------- Inhalt ---------- */

main { display: block; }
.abschnitt { padding: var(--abschnitt) 0; }
.abschnitt--flaeche { background: var(--salbei); }

/* Seitenkopf der Unterseiten – überall gleich: Brotkrumen, H1, Einleitung, optional ein Bild rechts.
   H1 steht dadurch auf jeder Unterseite an derselben Stelle. */
.seitenkopf { padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.seitenkopf__raster { display: grid; gap: 2rem; }
.seitenkopf__raster > * { min-width: 0; }
.seitenkopf__text { max-width: var(--lesebreite); }
.seitenkopf .einleitung { margin-bottom: 0; }
.seitenkopf .seitenkopf__bild { margin: 0; }
.foto.seitenkopf__bild img { aspect-ratio: 4 / 3; height: auto; }
@media (min-width: 40rem) {
  .seitenkopf__raster--bild { grid-template-columns: minmax(0, 1fr) min(28rem, 40%); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .seitenkopf .seitenkopf__bild { margin-top: var(--pfadhoehe); }   /* Oberkante bündig mit der H1 */
  .seitenkopf .bogen.seitenkopf__bild { margin-right: .75rem; }   /* Platz für die versetzte Wand */
}
.seitenkopf + .abschnitt:not(.abschnitt--flaeche) { padding-top: 0; }

/* Lesespalte bleibt linksbündig in der Seitenbreite (nicht zentriert) */
.breite.lesen { max-width: none; }
.breite.lesen > * { max-width: var(--lesebreite); }

.einleitung { font-size: 1.25rem; line-height: 1.55; color: var(--schiefer); }
.neben { color: var(--neben); font-size: var(--s-0); }

.pfad { font-size: var(--s-0); line-height: 1.5; margin: 0 0 1rem; }
/* immer einzeilig, damit die H1 nicht springt – zu lange Seitennamen werden mit … gekürzt */
.pfad ol { list-style: none; display: flex; gap: .4rem; padding: 0; margin: 0; white-space: nowrap; }
.pfad li:last-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pfad li + li::before { content: "›"; margin-right: .4rem; color: var(--neben); }

/* Startseite: Kopfbereich */
.buehne { padding: clamp(2rem, 6vw, 4.5rem) 0 var(--abschnitt); }
.buehne__raster { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.buehne h1 { font-size: var(--s-5); line-height: 1.05; letter-spacing: -.015em; }
.buehne__fakten { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .4rem; }
.buehne__fakten li { display: flex; gap: .6rem; align-items: baseline; }
.buehne__fakten li::before { content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: var(--arkade); transform: translateY(-.1rem); }
@media (min-width: 52rem) { .buehne__raster { grid-template-columns: 1.2fr .8fr; } }

/* Erkennungszeichen: Foto im Arkadenbogen mit versetzter Birke-Wand (DESIGN.md, Abschnitt 5).
   Nur Startseite und „Praxis & Team“. */
.bogen { position: relative; margin: 0 .75rem .75rem 0; max-width: 26rem; }
.bogen::before {
  content: ""; position: absolute; inset: .75rem -.75rem -.75rem .75rem;
  background: var(--birke); border-radius: 50% 50% var(--ecke) var(--ecke) / 32% 32% var(--ecke) var(--ecke);
}
.bogen img {
  position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 50% 50% 0 0 / 32% 32% 0 0; background: var(--salbei);
}
.bogen--quer { max-width: 40rem; }
.bogen--quer img { aspect-ratio: 5 / 3; border-radius: 50% 50% 0 0 / 45% 45% 0 0; }
.bogen--quer::before { border-radius: 50% 50% var(--ecke) var(--ecke) / 45% 45% var(--ecke) var(--ecke); }
@media (max-width: 51.99rem) {
  .bogen { justify-self: center; width: min(100% - .75rem, 22rem); }
  .bogen--quer { justify-self: start; width: calc(100% - .75rem); max-width: none; }
}

/* Wegweiser-Liste: Leistungen als Zeilen statt Kartenraster */
.wegweiser { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--linie); }
.wegweiser li { border-bottom: 1px solid var(--linie); }
.wegweiser a {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; align-items: center;
  padding: 1.15rem .25rem; color: var(--schiefer); text-decoration: none; border-radius: var(--ecke);
}
.wegweiser__titel { font-size: var(--s-2); font-weight: 600; line-height: 1.3; }
.wegweiser__text { grid-column: 1; color: var(--neben); font-size: var(--s-0); }
.wegweiser a::after {
  content: ""; grid-column: 2; grid-row: 1 / span 2;
  width: .7rem; height: .7rem; margin-right: .5rem;
  border-right: 2.5px solid var(--moos); border-top: 2.5px solid var(--moos); transform: rotate(45deg);
  transition: transform .12s;
}
.wegweiser a:hover .wegweiser__titel { text-decoration: underline; text-decoration-color: var(--moos); text-underline-offset: .15em; }
.wegweiser a:hover::after { transform: translateX(3px) rotate(45deg); }
@media (min-width: 52rem) {
  .wegweiser a { grid-template-columns: minmax(14rem, 22rem) 1fr auto; gap: 1.5rem; }
  .wegweiser__text { grid-column: 2; }
  .wegweiser a::after { grid-column: 3; grid-row: 1; }
}

/* Schritte – nur für echte Reihenfolgen */
.schritte { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; counter-reset: schritt; }
.schritte li { counter-increment: schritt; position: relative; padding: 1.25rem 1.25rem 1.25rem 4rem; background: var(--kalkweiss); border-radius: var(--ecke); }
.schritte li::before {
  content: counter(schritt); position: absolute; left: 1.1rem; top: 1.15rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--moos); color: var(--kalkweiss); font-weight: 800;
}
.schritte h3 { margin-bottom: .25rem; }
.schritte p { margin: 0; font-size: var(--s-0); }
@media (min-width: 52rem) { .schritte { grid-template-columns: repeat(3, 1fr); } }

/* Zweispaltig */
.zwei { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 52rem) { .zwei { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Info-Kasten: Birke, Links in Schiefer (Moos auf Birke wäre nur 4,0 : 1) */
.kasten { padding: 1.5rem; border-radius: var(--ecke); background: var(--birke); }
.kasten > :last-child { margin-bottom: 0; }
.kasten a:not(.knopf) { color: var(--schiefer); }

/* Listen */
.liste-haken { list-style: none; padding: 0; }
.liste-haken li { position: relative; padding-left: 1.6rem; margin-bottom: .35rem; }
.liste-haken li::before { content: ""; position: absolute; left: .2rem; top: .6em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--arkade); }
.liste-spalten { columns: 2 16rem; column-gap: 2rem; }
.liste-spalten li { break-inside: avoid; }

.zeiten { border-collapse: collapse; }
.zeiten th, .zeiten td { text-align: left; padding: .3rem 1.5rem .3rem 0; }
.zeiten th { font-weight: 600; }

/* Galerie */
.galerie { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(45%, 15rem), 1fr)); list-style: none; padding: 0; margin: 1.5rem 0 0; }
.galerie img { aspect-ratio: 4 / 3; }

/* Team */
.person { display: grid; gap: 1.5rem; align-items: start; }
.person + .person { margin-top: 3rem; }
.person .foto img { aspect-ratio: 4 / 5; }
.person .foto { max-width: 18rem; }
@media (min-width: 52rem) { .person { grid-template-columns: 18rem 1fr; } }
.person__rolle { color: var(--neben); margin-top: -.4rem; }

/* Aufklapper mit Plus/Minus */
details { border: 1px solid var(--linie); border-radius: var(--ecke); padding: 0 1.1rem; margin: 1rem 0; background: var(--kalkweiss); }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 3rem; padding: .7rem 0; cursor: pointer; font-weight: 600; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--salbei); color: var(--moos); font-weight: 800; line-height: 1;
}
details[open] summary::after { content: "–"; }
details[open] summary { border-bottom: 1px solid var(--linie); margin-bottom: .8rem; }

.faq details { margin: .6rem 0; }

/* Hinweis-Banner (aus Supabase, siehe js/hinweis.js) */
.hinweis { background: var(--birke); }
.hinweis p { margin: 0; padding: .85rem 0; font-weight: 600; }

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

.formular { display: grid; gap: 1.35rem; max-width: 40rem; }
.feld { display: grid; gap: .35rem; }
.feld label, .gruppe legend { font-weight: 600; }
.feld__hilfe { font-size: var(--s-0); color: var(--neben); margin: 0; }
.pflicht { color: var(--signalrot); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 3rem; padding: .65rem .85rem;
  font: inherit; color: var(--schiefer); background: var(--kalkweiss);
  border: 2px solid var(--feldrand); border-radius: var(--ecke);
}
textarea { min-height: 7rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--moos); outline-offset: 1px; border-color: var(--moos); }
.gruppe { border: 0; padding: 0; margin: 0; display: grid; gap: .4rem; }
.gruppe legend { margin-bottom: .4rem; padding: 0; }
.wahl { display: flex; flex-wrap: wrap; gap: .5rem; }
.wahl label {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 3rem; padding: .4rem 1rem; border: 2px solid var(--linie); border-radius: var(--rund);
  font-weight: 400; cursor: pointer;
}
.wahl input { width: 1.15rem; height: 1.15rem; accent-color: var(--moos); margin: 0; }
.wahl label:has(input:checked) { border-color: var(--moos); background: var(--salbei); }
.feld .einwilligung { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--s-0); font-weight: 400; }
.feld .einwilligung input { width: 1.3rem; height: 1.3rem; margin-top: .2rem; flex: none; accent-color: var(--moos); }
.fehlertext { color: var(--signalrot); font-size: var(--s-0); font-weight: 600; margin: 0; }
.fehlertext:empty { display: none; }
[aria-invalid="true"] { border-color: var(--signalrot) !important; }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 1rem 1.25rem; border-radius: var(--ecke); font-weight: 600; }
.meldung--fehler { background: #fdecea; color: var(--signalrot); }
.meldung--ok { background: var(--salbei); }
.meldung:empty { display: none; }

/* ---------- Fuß ---------- */

.fuss { background: var(--nachtgruen); color: #e9efe5; }
.fuss a { color: var(--kalkweiss); }
.fuss a:hover { color: var(--arkade); }
.fuss__innen { display: grid; gap: 2rem; padding: 3.5rem 0 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.fuss__titel { font-size: var(--s-0); font-weight: 600; color: var(--arkade); margin-bottom: .75rem; }
.fuss p { font-size: var(--s-0); }
.fuss__unten { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; padding: 1.25rem 0 1.5rem; border-top: 1px solid rgb(255 255 255 / .15); font-size: var(--s-0); }
.fuss__unten p { margin: 0; }
.fuss__links { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.fuss__links a, .fuss__spalte p:has(> a:only-child) a { display: inline-block; padding-block: .6rem; }
.fuss .fuss__spalte .fuss__dve { display: block; width: 7.5rem; padding: 0; }
.fuss__dve img { display: block; width: 100%; height: auto; border-radius: var(--ecke); }

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

@media print {
  .kopf, .schnellleiste, .fuss__unten { display: none; }
  body { padding: 0; }
}

/* Schmale Handys: Ortsname im Kopf weglassen, damit der Name zweizeilig bleibt (steht in jeder H1/Fußzeile) */
@media (max-width: 26rem) { .marke__ort { display: none; } }
/* Auf dem Handy etwas kleiner, sonst bricht der Name in vier Zeilen um */
@media (max-width: 40rem) {
  .kopf__innen { padding-block: .6rem; }
  .marke__bild { width: 5rem; height: 5rem; }
}
/* Sehr schmale Handys: Logo etwas kleiner, damit „Lander & Jenetzky“ in einer Zeile bleibt */
@media (max-width: 24rem) {
  .kopf__innen { gap: .75rem; }
  .marke { gap: .5rem; }
  .marke__bild { width: 4.5rem; height: 4.5rem; }
}
