/* =========================================================
   Dr. Mouna Bittmann – Praxis für Lungenkrankheiten, Wiener Neustadt

   Farben aus dem Logo (Pflaume, Rosé), Überschriften in Jost
   (leicht, geometrisch wie die Logoschrift), Text in Atkinson
   Hyperlegible Next – gebaut für gute Lesbarkeit bei schwachem
   Sehvermögen. Das einzige Schmuckelement ist die Fluss-Volumen-
   Kurve der Lungenfunktion im Kopf der Startseite.
   Keine externen Ressourcen (Datenschutz, CSP).
   ========================================================= */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
/* Ziffern aus Jost: Die Textschrift hat nur eine durchgestrichene Null,
   die in Uhrzeiten und Telefonnummern unruhig wirkt. */
@font-face {
  font-family: "Ziffern";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 600;
  unicode-range: U+0030-0039;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Farben und Maße ---------- */
:root {
  --pflaume: #5e1a5b;        /* Überschriften, Flächen, Knöpfe */
  --pflaume-tief: #451343;   /* Fuß, Hover */
  --lila: #7a2576;           /* Links */
  --rose: #d36e98;           /* Kurve, Linien, Markierungen */
  --rose-text: #a8436f;      /* Rosé, das auf Weiß noch lesbar ist */
  --rose-hell: #f4c3d7;      /* Rosé auf dunklem Grund */
  --hauch: #f7f1f6;          /* ruhige Bänder */
  --linie: #e9dde7;
  --text: #2a2230;
  --text-leise: #625a68;
  --weiss: #ffffff;
  --gruen: #2f7d4f;

  --breite: 76rem;
  --raum: clamp(1rem, .6rem + 2vw, 2rem);
  --abschnitt: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  --radius: 12px;

  --schrift: "Ziffern", "Atkinson Hyperlegible Next", "Segoe UI", Roboto, Arial, sans-serif;
  --titel: "Jost", "Futura", "Century Gothic", "Segoe UI", sans-serif;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { margin: 0 0 .6em; line-height: 1.2; color: var(--pflaume); }
h1, h2 { font-family: var(--titel); font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 300; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
h3, h4, h5 { font-family: var(--schrift); font-weight: 700; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

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

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

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .5em .6em; border-bottom: 1px solid var(--linie); vertical-align: top; }

hr { border: 0; border-top: 1px solid var(--linie); margin: 2rem 0; }
strong, b { font-weight: 700; }

:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--rose-hell); color: var(--pflaume-tief); }

.sprung {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--pflaume); color: #fff; padding: .7rem 1rem;
}
.sprung:focus { left: .5rem; top: .5rem; }

.nur-lesbar {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.huelle { width: min(100% - 2 * var(--raum), var(--breite)); margin-inline: auto; }
.klein { font-size: .95rem; }
.leise { color: var(--text-leise); }
.abstand-oben { margin-top: 2rem; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.3rem;
  border: 2px solid var(--pflaume);
  border-radius: 10px;
  background: var(--pflaume);
  color: #fff;
  font: 500 1.05rem/1.2 var(--titel);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.knopf:hover { background: var(--pflaume-tief); border-color: var(--pflaume-tief); color: #fff; text-decoration: none; }
.knopf svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.knopf-gross { font-size: 1.3rem; padding: .95rem 1.6rem; }
.knopf-leise { background: transparent; color: var(--pflaume); }
.knopf-leise:hover { background: var(--hauch); color: var(--pflaume-tief); }
.knopf + .knopf { margin-left: .5rem; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--linie);
}
.kopf-zeile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 5rem;
}
.marke { flex: none; display: block; }
.marke img { width: 7.2rem; }
.hauptnav { margin-left: auto; }
.nav { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; margin: 0; }
.nav a {
  display: block;
  padding: .6rem .9rem;
  font: 500 1.05rem/1.3 var(--titel);
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
}
.nav a:hover { color: var(--pflaume); background: var(--hauch); }
.nav > li.aktiv > a { color: var(--pflaume); box-shadow: inset 0 -2px 0 var(--rose); border-radius: 0; }
.nav .hat-kinder > a::after {
  content: "";
  display: inline-block;
  width: .4em; height: .4em;
  margin-left: .45em;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-.25em) rotate(45deg);
  opacity: .6;
}

/* Ausklappmenü: reines CSS, öffnet beim Überfahren und per Tastatur */
.untermenue {
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  min-width: 15rem;
  margin: 0;
  padding: .45rem;
  list-style: none;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(94, 26, 91, .13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
/* Brücke über den Spalt, damit das Menü beim Hinüberfahren offen bleibt */
.untermenue::before { content: ""; position: absolute; left: 0; right: 0; top: -.5rem; height: .5rem; }
.nav li:hover > .untermenue,
.nav li:focus-within > .untermenue { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.untermenue a { font: 400 1rem/1.35 var(--schrift); padding: .55rem .8rem; }
.untermenue a[aria-current="page"] { color: var(--pflaume); font-weight: 700; }

.kopf-anruf { flex: none; padding: .6rem 1.05rem; font-size: 1rem; }

.menue-knopf {
  display: none;
  align-items: center;
  gap: .6rem;
  margin-left: auto;
  padding: .6rem .2rem;
  border: 0;
  background: none;
  font: 500 1.05rem var(--titel);
  color: var(--pflaume);
  cursor: pointer;
}
.menue-striche {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -.4rem 0 currentColor, 0 .4rem 0 currentColor;
}

/* ---------- Startseite: Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3rem, 1.5rem + 5vw, 6rem); overflow: hidden; }
.hero-gitter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.hero-ort { margin-bottom: 1rem; color: var(--rose-text); font-weight: 700; }
.hero h1 {
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: 1.4rem;
  max-width: 11ch;
}
.hero-intro { font-size: 1.2rem; max-width: 34rem; margin-bottom: 1.8rem; }
.hero-aktion { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.hero-aktion .knopf + .knopf { margin-left: 0; }
.hero-hinweis { margin: 1rem 0 .3rem; font-size: 1rem; color: var(--text-leise); }

.hero-bild { position: relative; margin: 0; }
.hero-bild img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 22px;
}
.hero-bild figcaption { position: relative; z-index: 1; margin-top: .7rem; font-size: .95rem; color: var(--text-leise); }

/* Fluss-Volumen-Kurve hinter dem Bild, zeichnet sich einmal beim Laden */
.spiro {
  position: absolute;
  z-index: 2;
  width: 52%;
  top: -15%;
  left: -12%;
  overflow: visible;
  pointer-events: none;
}
.spiro-kurve {
  fill: none;
  stroke: var(--rose);
  stroke-width: 4;
  paint-order: stroke;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.spiro-saum { fill: none; stroke: #fff; stroke-width: 12; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .spiro-kurve, .spiro-saum { stroke-dasharray: 1; animation: atemzug 2.6s cubic-bezier(.45, .05, .25, 1) .25s both; }
}
@keyframes atemzug { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Öffnungsstatus */
.status { display: flex; align-items: center; gap: .55rem; margin: .4rem 0 1rem; font-weight: 700; color: var(--text-leise); }
.status-punkt { width: .65rem; height: .65rem; border-radius: 50%; background: #a79fac; flex: none; }
.status-offen { color: var(--gruen); }
.status-offen .status-punkt { background: var(--gruen); box-shadow: 0 0 0 4px rgba(47, 125, 79, .16); }

/* ---------- Startseite: Abschnitte ---------- */
.abschnitt, .band { padding-block: var(--abschnitt); }
.band { background: var(--hauch); }
.band > .huelle > h2 { margin-bottom: 2.25rem; }
.abschnitt-kopf { max-width: 40rem; margin-bottom: 2.5rem; }
.abschnitt-kopf p { color: var(--text-leise); font-size: 1.15rem; }
.abschnitt-fuss { margin-top: 2.5rem; }

/* Gut zu wissen */
.wissen-gitter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.notizen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 2.5rem; }
.notiz { border-top: 3px solid var(--rose); padding-top: 1.1rem; }
.notiz h3 { margin-bottom: .5rem; }
.notiz p { font-size: 1.05rem; }
.mitbringen {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 18px;
  padding: 1.75rem;
}
.haken { list-style: none; padding: 0; margin-bottom: 1.25rem; }
.haken li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.haken li::before {
  content: "";
  position: absolute;
  left: .3rem;
  top: .25em;
  width: .45rem;
  height: .85rem;
  border: solid var(--pflaume);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* Leistungen */
.leistungs-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem clamp(2rem, 5vw, 5rem); }
.leistungen { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--linie); }
.leistungen li { margin: 0; padding: .9rem 0; border-bottom: 1px solid var(--linie); }
.leistungen a, .leistungen strong { font-weight: 700; font-size: 1.1rem; }
.leistungen a { color: var(--lila); }
.leistungen span { display: block; margin-top: .15rem; color: var(--text-leise); font-size: 1rem; }

/* Sauerstofftankstelle */
.sauerstoff { background: var(--pflaume); color: #fff; padding-block: var(--abschnitt); }
.sauerstoff h2 { color: #fff; }
.sauerstoff-gitter { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.sauerstoff-text { font: 300 clamp(1.4rem, 1rem + 1.5vw, 2.1rem)/1.3 var(--titel); margin: 0; max-width: 30ch; }
.sauerstoff-liste { list-style: none; padding: 0; margin: 0; }
.sauerstoff-liste li { padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .25); margin: 0; }
.sauerstoff-liste strong { display: block; color: var(--rose-hell); }

/* Team */
.team-gitter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; align-items: start; }
.team-gitter .abschnitt-kopf { margin-bottom: 0; }
.team-liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.team-liste li { margin: 0; padding: 1.1rem 0; border-top: 1px solid var(--linie); }
.team-liste strong { display: block; font: 400 1.4rem/1.25 var(--titel); color: var(--pflaume); }
.team-liste span { color: var(--text-leise); }

/* So erreichen Sie uns */
.erreichen-gitter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.erreichen-gitter .knopf-anruf { margin-bottom: 1rem; }

/* Wissenswertes */
.wissen-liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.wissen-liste li { margin: 0; border-top: 1px solid var(--linie); }
.wissen-liste a {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: .2rem 1.1rem;
  padding: 1.1rem 0;
  text-decoration: none;
  color: var(--text);
}
.wissen-liste img { grid-row: 1 / 3; width: 6rem; height: 4.5rem; object-fit: cover; border-radius: 8px; }
.wissen-titel { font-weight: 700; color: var(--lila); }
.wissen-liste a:hover .wissen-titel { text-decoration: underline; }
.wissen-auszug { font-size: .98rem; color: var(--text-leise); }

/* Öffnungszeiten-Liste */
.zeiten { list-style: none; margin: 0; padding: 0; }
.zeiten li { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .5rem 0; border-bottom: 1px solid var(--linie); }
.zeiten li:last-child { border-bottom: 0; }
.zeiten .zeit { text-align: right; }
.zeiten .heute { font-weight: 700; color: var(--pflaume); }
.zeiten .zu { color: var(--text-leise); }

/* ---------- Unterseiten ---------- */
.seitenkopf { background: var(--hauch); padding-block: clamp(2rem, 1rem + 3vw, 3.5rem); }
.seitenkopf h1 { margin: 0; max-width: 24ch; }

.inhalt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
  padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) var(--abschnitt);
}
.inhalt-breit { grid-template-columns: minmax(0, 1fr); }
.hauptspalte { max-width: 44rem; min-width: 0; }
.hauptspalte::after { content: ""; display: block; clear: both; }
.hauptspalte h2 { margin-top: 2.2rem; }
.hauptspalte h2:first-child { margin-top: 0; }
.hauptspalte h3, .hauptspalte h4, .hauptspalte h5 { margin-top: 1.6rem; }

.seitenleiste { position: sticky; top: 6.5rem; }
.info-block { padding: 1.2rem 0 1.4rem; border-top: 3px solid var(--rose); }
.info-block + .info-block { border-top-width: 1px; border-top-color: var(--linie); }
.info-block h2 { font: 700 1.1rem/1.3 var(--schrift); margin-bottom: .75rem; }
.info-block p { font-size: 1rem; }
.info-block .knopf-anruf { margin-bottom: .75rem; }
.info-block .zeiten li { font-size: .98rem; padding: .35rem 0; }
.info-block .status { margin-top: 0; font-size: .98rem; }

/* Übernommener Fließtext aus WordPress */
.fliesstext img { margin: 1.25rem 0; border-radius: 10px; }
.fliesstext a img { display: inline-block; }
.fliesstext h3 a, .fliesstext h2 a { color: var(--lila); }
.fliesstext ul { padding-left: 1.2em; }

.hinweis {
  margin: 2rem 0;
  padding: 1.1rem 1.3rem;
  background: var(--hauch);
  border-left: 4px solid var(--rose);
  border-radius: 0 10px 10px 0;
}

.liste-sauber { list-style: none; padding: 0; }
.liste-sauber li { padding: .4rem 0; border-bottom: 1px solid var(--linie); margin: 0; }
.liste-sauber li:last-child { border-bottom: 0; }

.bild-rechts { float: right; width: min(40%, 17rem); margin: .3rem 0 1rem 1.75rem; border-radius: 12px; }
.zweispaltig { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem 2.5rem; }

/* Beiträge in Übersichten */
.beitraege { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1.5rem; }
.beitrag-karte {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease;
}
.beitrag-karte:hover { border-color: var(--rose); color: inherit; }
.beitrag-karte img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.beitrag-text { padding: 1rem 1.1rem 1.25rem; }
.beitrag-karte h3 { font-size: 1.1rem; margin: 0 0 .4rem; color: var(--lila); }
.beitrag-karte p { font-size: .98rem; color: var(--text-leise); margin: 0; }
.beitrag-kategorie { display: block; font-size: .9rem; color: var(--rose-text); font-weight: 700; margin-bottom: .3rem; }
.beitrag-meta { font-size: .98rem; color: var(--text-leise); margin-bottom: 1.5rem; }
.beitrag-meta a { margin-right: .6rem; }

/* Karte (Lageplan) */
.karte-halter { position: relative; aspect-ratio: 16 / 10; background: var(--hauch); border-radius: var(--radius); overflow: hidden; }
.karte-halter iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte-hinweis { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; }

/* ---------- Fuß ---------- */
.fuss { background: var(--pflaume-tief); color: #f3e6f0; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: 1rem; }
.fuss a { color: #fff; }
.fuss h2 { font: 700 1rem/1.3 var(--schrift); color: var(--rose-hell); margin-bottom: .7rem; }
.fuss ul { list-style: none; padding: 0; margin: 0 0 .75rem; }
.fuss li { margin: 0 0 .2rem; }
.fuss-gitter { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem 3rem; }
.fuss-name { font: 400 1.6rem/1.2 var(--titel); color: #fff; margin-bottom: .6rem; }
.fuss-unten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: 2.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: .95rem;
}
.fuss-unten nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Leiste am Handy */
.handy-leiste { display: none; }

/* ---------- Mittlere Bildschirme ---------- */
@media (max-width: 1100px) {
  .menue-knopf { display: flex; }
  .kopf-zeile { gap: 1rem; }
  .hauptnav { margin-left: 0; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: .5rem var(--raum) 1rem;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
    box-shadow: 0 16px 30px rgba(94, 26, 91, .12);
  }
  .nav.offen { display: flex; max-height: calc(100dvh - 5rem); overflow-y: auto; }
  .nav a { padding: .7rem .2rem; border-radius: 0; }
  .nav > li { border-bottom: 1px solid var(--linie); }
  .nav > li.aktiv > a { box-shadow: none; }
  .nav .hat-kinder > a::after { display: none; }
  .untermenue {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    padding: 0 0 .6rem 1rem;
    border: 0;
    box-shadow: none;
    transition: none;
  }
  .untermenue a { padding: .45rem .2rem; }

  .wissen-gitter { grid-template-columns: minmax(0, 1fr); }
  .erreichen-gitter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-gitter { grid-template-columns: minmax(0, 1fr); }
  .hero-bild { margin-top: 2.5rem; }
  .hero-bild img { aspect-ratio: 3 / 2; }
  .spiro { width: 45%; top: -16%; left: -4%; }
  .hero h1 { max-width: 13ch; }
  .inhalt { grid-template-columns: minmax(0, 1fr); }
  .seitenleiste { position: static; }
  .sauerstoff-gitter, .team-gitter { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .fuss-gitter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fuss-marke { grid-column: 1 / -1; }
}

/* ---------- Handys ---------- */
@media (max-width: 680px) {
  /* Platz für die Leiste unten; im Fuß, damit seine Fläche bis unter die Leiste reicht */
  .fuss { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .kopf-anruf { display: none; }
  .marke img { width: 5.2rem; }
  .kopf-zeile { min-height: 4.2rem; }
  .notizen, .leistungs-spalten, .team-liste, .wissen-liste, .erreichen-gitter, .fuss-gitter { grid-template-columns: minmax(0, 1fr); }
  .bild-rechts { float: none; width: 100%; max-width: 20rem; margin: 0 0 1.25rem; }
  .knopf + .knopf { margin-left: 0; margin-top: .5rem; }
  .handy-leiste {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: var(--weiss);
    border-top: 1px solid var(--linie);
    padding: .45rem .5rem calc(.45rem + env(safe-area-inset-bottom));
    gap: .5rem;
  }
  .handy-leiste a {
    display: block;
    padding: .6rem;
    text-align: center;
    font: 500 1.05rem var(--titel);
    text-decoration: none;
    border-radius: 10px;
    color: var(--pflaume);
    background: var(--hauch);
  }
  .handy-leiste a:first-child { background: var(--pflaume); color: #fff; }
}

/* ---------- Druck ---------- */
@media print {
  .kopf, .handy-leiste, .seitenleiste, .fuss, .kein-druck, .spiro { display: none !important; }
  .inhalt { grid-template-columns: 1fr; padding: 0; }
  a { color: inherit; }
}
