/* ==========================================================================
   Chiropraktik Holmann – zusammengeführtes Stylesheet
   ersetzt: formate/style.css, navi.css, kontakt.css, druck.css,
            fancybox/jquery.fancybox.css
   ========================================================================== */

/* Schriften: Fira Sans (Fließtext) und Fira Sans Condensed (Praxisname im Kopf)
   frei nutzbar (SIL Open Font License), lokal eingebunden – keine Verbindung zu Google */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../webfonts/fira-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../webfonts/fira-sans-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../webfonts/fira-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fira Sans Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../webfonts/fira-sans-condensed-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fira Sans Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../webfonts/fira-sans-condensed-latin-500-normal.woff2') format('woff2');
}

/* Farben und Maße ------------------------------------------------------- */
:root {
  --blau: #0064a3;
  --blau-dunkel: #004f82;
  --rot: #b72646;
  --rot-dunkel: #8e1c35;
  --gruen: #a6d6cc;
  --gruen-hell: #cbe6df;
  --gruen-zart: #eaf5f1;
  --text: #000;
  --text-grau: #444;
  --seitenbreite: 1400px;
  --rand: clamp(12px, 3vw, 24px);
  --radius: 12px;
  --schatten: 0 2px 5px rgba(0, 0, 0, .22);
  --navbreite: 260px;
  --spaltenabstand: clamp(2rem, 5vw, 4.5rem);
}
@media (max-width: 1100px) { :root { --navbreite: 220px; } }

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

/* Fließende Schriftgröße: 16 px auf dem Smartphone, wächst mit der Fensterbreite
   und bleibt ab ca. 1200 px bei höchstens 18 px stehen (Maximalgröße). Prozentwerte statt px, damit die Schriftgröße-Einstellung
   des Browsers und der Zoom weiter wirken. Alle Größen sind in rem angegeben
   und wachsen dadurch gleichmäßig mit. */
html {
  font-size: clamp(100%, 93.75% + .25vw, 112.5%);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: 'Fira Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 100%;
  line-height: 1.6;
  color: var(--text);
  background: #fff linear-gradient(to bottom, #cbe6df 0, #cbe6df 100px, #d7ece7 300px, #ebf5f4 500px, #fff 800px) no-repeat;
}

img { max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }
[id] { scroll-margin-top: 1.5rem; }   /* Sprungziele mit etwas Abstand zum Fensterrand */

.unsichtbar {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skiplink {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 9999;
  padding: .6rem 1rem;
  background: var(--blau);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
}
.skiplink:focus { top: 0; }

.seite {
  max-width: var(--seitenbreite);
  margin: 0 auto;
  padding: 0 var(--rand);
}

/* Kopf: Leiste der Anwendungsgebiete ---------------------------------------- */
.bereiche ul {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 20px);
  list-style: none;
  padding: 25px 0 0;
}
.bereiche a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bereiche img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bereiche span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .3em .4em;
  font-size: .75rem;
  line-height: 1.25;
  text-align: center;
  color: #fff;
  background: rgba(0, 100, 163, .9);
  transform: translateY(100%);
  transition: transform .2s ease;
}
.bereiche a:hover, .bereiche a:focus-visible { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0, 0, 0, .22); }
.bereiche a:hover span, .bereiche a:focus-visible span { transform: none; }

/* Kopf: Grafik (früher kopf.png, jetzt HTML/CSS) ----------------------------- */
.kopfgrafik {
  position: relative;
  display: grid;
  grid-template-columns: var(--navbreite) 1fr auto;
  grid-template-rows: 1fr auto;
  min-height: clamp(300px, 26vw, 370px);
  margin-top: 30px;
  overflow: hidden;
  background: linear-gradient(to bottom, #c3e3da, #a7d6cc);
  border: 1px solid #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}
.kopfgrafik__ruecken {
  grid-column: 1;
  grid-row: 1 / 3;
  background: #a7d6cc url('../img/kopf-ruecken.webp') center 15% / cover no-repeat;
  box-shadow: 3px 0 4px rgba(0, 60, 50, .25);
  z-index: 1;
}
.kopfgrafik__text {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  padding: 2rem 1rem 1.6rem var(--spaltenabstand);
  font-family: 'Fira Sans Condensed', 'Arial Narrow', Arial, sans-serif;
  letter-spacing: .02em;
}
.kopfgrafik__titel {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--rot);
}
.kopfgrafik__titel a { text-decoration: none; }
.kopfgrafik__name {
  margin-top: 1.1em;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 500;
  color: var(--blau);
}
.kopfgrafik__info {
  margin-top: .7em;
  font-size: clamp(.85rem, 1.05vw, .98rem);
  line-height: 1.3;
}
.kopfgrafik__info strong { font-weight: 500; }
.kopfgrafik__wirbelsaeule {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  padding: 18px clamp(2rem, 6vw, 5.5rem) 10px 1rem;
}
.kopfgrafik__wirbelsaeule img {
  display: block;
  width: auto;
  height: clamp(220px, 20vw, 290px);
  filter: drop-shadow(4px 4px 4px rgba(0, 60, 50, .35));
}

/* Service-Navigation im blauen Balken */
.metanavi {
  grid-column: 2 / 4;
  grid-row: 2;
  background: var(--blau);
}
.metanavi ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 0 calc(var(--spaltenabstand) - 1rem);
}
.metanavi a {
  display: block;
  padding: .45rem 1rem;
  color: #fff;
  font-size: .95rem;
  text-decoration: none;
}
.metanavi a:hover, .metanavi a:focus-visible { color: #fff; background: var(--blau-dunkel); text-decoration: underline; }

/* Hauptbereich: Navigation links, Inhalt rechts ------------------------------ */
.hauptbereich {
  display: grid;
  grid-template-columns: var(--navbreite) minmax(0, 1fr);
  column-gap: var(--spaltenabstand);
  margin: 40px 0 50px;
}
.navileiste { display: contents; }   /* am PC ohne eigene Wirkung */
.navi-schalter { display: none; }   /* nur am Handy */

.hauptnavi ul { list-style: none; padding: 0; position: sticky; top: 1rem; }
.hauptnavi a {
  display: block;
  padding: .9rem 1.25rem;
  font-size: .95rem;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid var(--gruen);
  transition: background-color .15s ease, color .15s ease;
}
.hauptnavi a:hover, .hauptnavi a:focus-visible { color: var(--rot); background: var(--gruen-hell); }
.hauptnavi a[aria-current="page"] { color: var(--rot); background: var(--gruen-hell); font-weight: 700; }

/* Inhalt ------------------------------------------------------------------ */
.inhalt { max-width: 52rem; min-height: 320px; }
.inhalt:focus { outline: none; }

.inhalt h1 {
  font-size: clamp(1.4rem, 1.15rem + .8vw, 1.75rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--rot);
  margin-bottom: .8em;
}
.inhalt h2 {
  font-size: clamp(1.2rem, 1.05rem + .45vw, 1.4rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--blau);
  margin: 1.7em 0 .8em;
}
.inhalt h1 + h2, .inhalt h2:first-child { margin-top: 0; }
.inhalt h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--blau);
  margin: 1.7em 0 .85em;
}
.inhalt h4 { font-size: 1rem; font-weight: 700; margin: 1.7em 0 .85em; }

.inhalt p, .inhalt td, .inhalt li {
  font-size: 1rem;
  line-height: 1.7;
  hyphens: auto;
  overflow-wrap: break-word;
}
.inhalt p { margin-bottom: .9em; }
.inhalt ul, .inhalt ol { list-style-type: square; padding-left: 1.2rem; margin-bottom: .9em; }
.inhalt li { line-height: 1.55; margin-bottom: .4em; }
.inhalt .tklein { font-size: .85rem; line-height: 1.5; }

.inhalt a { color: var(--text); text-decoration: underline; text-underline-offset: .15em; }
.inhalt a:hover, .inhalt a:focus-visible { color: #c41e17; }

.inhalt img { border: 2px solid var(--gruen); border-radius: 8px; vertical-align: middle; }
.inhalt .ohne-rahmen, .inhalt .bildnachweis img { border: 0; }
.inhalt .foto, .inhalt .bild-breit { display: block; width: 100%; height: auto; }
.untertitel, .inhalt p.untertitel { font-size: .85rem; margin-top: 6px; }

/* Zwei Spalten */
.zweispaltig, .inhalt .clearfix:has(> .boxli) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 4%;
  margin-bottom: 1.5rem;
}
.inhalt .boxli { order: 1; }
.inhalt .boxre { order: 2; }
.inhalt .boxli h2, .inhalt .boxre h2 { margin-top: 1.2em; }

/* Bild mit Bildunterschrift rechts daneben (Krankheitsbilder) */
.inhalt .bild {
  display: flex;
  align-items: flex-end;
  gap: 1rem 1.5rem;
  margin: 1.5rem 0;
}
.inhalt .bild img { flex: 0 0 auto; width: 220px; }
.inhalt .bild p { margin: 0 0 .5rem; color: var(--blau); }

img.bildre { float: right; width: 45%; margin: 0 0 20px 20px; }

/* Unterpunkte (Inhaltsverzeichnis rechts auf Seiten wie "Kopf") */
.inhalt #krankheiten, .inhalt .anwendungsgebiete {
  float: right;
  width: 200px;
  margin: 0 0 1.5rem 2rem;
  padding: 0;
  list-style: none;
}
.inhalt #krankheiten a {
  display: block;
  padding: .35rem 0 .35rem 1rem;
  font-size: .9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gruen);
}
.inhalt #krankheiten a:hover { color: var(--rot); background: var(--gruen-hell); }

/* Kästen ------------------------------------------------------------------- */
.infobox {
  display: block;
  padding: 20px 24px;
  margin-bottom: 40px;
  background: var(--gruen-hell);
  border-radius: 6px;
}
.inhalt .infobox h2 { margin-top: 0; color: var(--rot); }

.highlightbox {
  margin: 40px 0;
  padding: 20px 24px;
  border-radius: 10px;
  background: #e5f3ef;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}
.inhalt .highlightbox h2 { margin-top: 0; }

.inhalt .praxisadr, .inhalt #sprechzeiten, .inhalt #weghinweis {
  padding: 20px 24px;
  margin-bottom: 20px;
  background: var(--gruen-zart);
  border-radius: 6px;
}
.inhalt .praxisadr h2, .inhalt #sprechzeiten h2, .inhalt #weghinweis h2 { margin-top: 0; }

.sprechzeiten { width: 100%; border-collapse: collapse; }
.sprechzeiten th, .sprechzeiten td { padding: .15rem 0; font-size: 1rem; font-weight: 400; text-align: left; }
.sprechzeiten td { text-align: right; }

/* FAQ (details/summary) */
.faq-accordion { margin-bottom: 30px; }
.faq-item { border-bottom: 1px solid var(--gruen); margin-bottom: 10px; border-radius: 4px; transition: background-color .2s ease; }
.faq-item:hover { background: #f7fbfa; }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 14px 18px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--blau);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; font-size: 1.4em; color: var(--rot); }
.faq-item details[open] summary::after { content: "−"; }
.faq-content { padding: 0 18px 18px; }
.faq-content p:last-child { margin-bottom: 0; }

/* Lebenslauf */
.bio-highlight {
  padding: 1rem 1.25rem;
  background: var(--gruen-zart);
  border-left: 3px solid var(--blau);
  border-radius: 0 6px 6px 0;
}
.bio-hobbies { margin-top: 2rem; font-style: italic; color: #555; }

/* Karten (Chiropraktor vs. Chiropraktiker) */
.card {
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--gruen);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .05);
}
.card.card-featured { border: 2px solid var(--blau); background: #f4f9fc; }
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 10px 15px;
  background: var(--gruen-zart);
  border-bottom: 1px solid var(--gruen);
}
.card.card-featured .card-header { background: #dbeeff; border-bottom-color: var(--blau); }
.inhalt .card-header h2 { margin: 0; }
.badge { font-size: .75rem; color: var(--blau); }
.card-body { padding: 15px; }
.info-group { margin-bottom: 12px; }
.info-group:last-child { margin-bottom: 0; }
.info-label, .inhalt p.info-label {
  display: block;
  margin-bottom: 0;
  font-size: .85rem;
  font-weight: 700;
  color: var(--blau);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.info-value { display: block; margin-top: 2px; }

.cta-box {
  margin-top: 30px;
  padding: 20px;
  text-align: center;
  background: var(--gruen-zart);
  border-left: 5px solid var(--blau);
  border-radius: 6px;
}
.inhalt .cta-box h3 { margin-top: 0; }

.btn, .inhalt a.btn, button.btn {
  display: inline-block;
  padding: .7rem 1.4rem;
  margin-top: 10px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: var(--rot);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .2s ease;
}
.btn:hover, .inhalt a.btn:hover, button.btn:hover { color: #fff; background: var(--rot-dunkel); }

/* Bildnachweis */
.inhalt ul.bildnachweis { list-style: none; padding: 0; }
.inhalt .bildnachweis li { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.inhalt .bildnachweis li img { width: 100px; flex: 0 0 100px; }

/* Externe Links: Hinweis per title genügt, alter Tooltip ausgeblendet */
a.exlink span { display: none; }

table.massagen { margin: 30px 0; }
table.massagen td { padding-right: 40px; }

/* Terminbuchung */
#termin { margin-top: 40px; }
#termin iframe { display: block; width: 100%; height: 1200px; border: 0; }

/* Kontaktformular ---------------------------------------------------------- */
.formular { margin-top: 1.5rem; }
.formular .feld { margin-bottom: 1rem; }
.formular label { display: block; margin-bottom: .25rem; font-size: .95rem; }
.formular input[type="text"], .formular input[type="email"], .formular input[type="tel"], .formular textarea {
  display: block;
  width: 100%;
  padding: .55rem .7rem;
  font: inherit;
  color: var(--text);
  background: var(--gruen-zart);
  border: 0;
  border-bottom: 2px solid var(--gruen);
  border-radius: 4px 4px 0 0;
}
.formular textarea { min-height: 8rem; resize: vertical; }
.formular input:focus-visible, .formular textarea:focus-visible { outline: 3px solid var(--blau); outline-offset: 0; border-bottom-color: var(--blau); }
.formular .pflicht { color: var(--rot); }
.formular .honig { position: absolute; left: -9999px; }
.formular button { background: var(--blau); }
.formular button:hover { background: var(--blau-dunkel); }
/* Rückmeldung nach dem Absenden des Kontaktformulars: gut sichtbar mit Symbol */
.meldung {
  position: relative;
  padding: 1.1rem 1.25rem 1.1rem 4.25rem;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  color: #000;
  background: var(--gruen-zart);
  border: 2px solid var(--blau);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 60, 50, .15);
  animation: meldung-ein .4s ease-out;
}
.meldung::before {
  content: "\2713";            /* Haken */
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  background: var(--blau);
  border-radius: 50%;
}
.meldung strong { display: block; margin-bottom: .25rem; font-size: 1.2rem; color: var(--blau); }
.meldung--fehler { background: #fbe4e8; border-color: var(--rot); }
.meldung--fehler::before { content: "!"; background: var(--rot); }
.meldung--fehler strong { color: var(--rot); }
@keyframes meldung-ein { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Fußbereich --------------------------------------------------------------- */
.fuss {
  margin-top: 10px;
  padding: 0 var(--rand);
  background: linear-gradient(to top, var(--blau) 0, var(--blau) 24px, transparent 24px);
}
.fuss__innen {
  max-width: calc(var(--seitenbreite) - 2 * 24px);
  margin: 0 auto;
  overflow: hidden;
  background: #cbe6df;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, .25);
}
.fussnavi { background: var(--rot); padding: 12px 0 12px calc(var(--navbreite) + var(--spaltenabstand) - 1rem); }
.fussnavi ul { display: flex; flex-wrap: wrap; list-style: none; padding: 0; }
.fussnavi a {
  display: block;
  padding: .3rem 1rem;
  font-size: .95rem;
  color: #fff;
  text-decoration: none;
  background: #a9223f;
}
.fussnavi a:hover, .fussnavi a:focus-visible { background: var(--rot-dunkel); text-decoration: underline; }
.fuss__adresse {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 25px 44px;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--blau-dunkel);
}
.fuss__adresse span:not(:last-child)::after { content: "|"; margin: 0 1rem; color: var(--blau); }
.fuss__adresse a { color: var(--blau-dunkel); }
.fuss__adresse a:hover { color: var(--rot); }

/* Reiter "Terminbuchung" am rechten Rand */
.termin-reiter {
  position: fixed;
  top: 170px;
  right: 0;
  z-index: 50;
  padding: 10px 12px;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
  background: #b61e3f;
  border-radius: 10px 0 0 10px;
  writing-mode: vertical-rl;
  box-shadow: var(--schatten);
}
.termin-reiter:hover, .termin-reiter:focus-visible { background: var(--rot-dunkel); color: #fff; }

/* Lightbox (ersetzt Fancybox) ---------------------------------------------- */
.lightbox {
  max-width: min(92vw, 1200px);
  max-height: 92vh;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(20, 40, 50, .8); }
.lightbox img { display: block; max-width: 100%; max-height: calc(92vh - 70px); width: auto; margin: 0 auto; }
.lightbox figcaption { padding: .6rem .2rem 0; font-size: .9rem; }
.lightbox__zu {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  line-height: 1;
  color: #fff;
  background: var(--rot);
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
}

/* ==========================================================================
   Tablet und Smartphone
   ========================================================================== */
/* Blauer Balken: bei schmalerem Fenster enger setzen, damit er einzeilig bleibt.
   Unter 1000 px entfällt "Startseite", der Praxisname im Kopf führt ebenfalls dorthin. */
@media (max-width: 1100px) { .metanavi a { padding: .45rem .55rem; font-size: .9rem; } }
@media (max-width: 1000px) { .metanavi__start { display: none; } }

/* Reiter nur, wenn rechts neben der 1400 px breiten Seite Platz ist.
   Sonst wird "Terminbuchung" im blauen Balken rot hervorgehoben. */
@media (max-width: 1520px) {
  .termin-reiter { display: none; }
  .metanavi a.metanavi__termin { background: var(--rot); }
  .metanavi a.metanavi__termin:hover, .metanavi a.metanavi__termin:focus-visible { background: var(--rot-dunkel); }
}

@media (max-width: 860px) {
  .bereiche ul {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 14px 2px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .bereiche li { flex: 0 0 76px; scroll-snap-align: start; }
  .bereiche span { display: none; }

  .kopfgrafik {
    grid-template-columns: 1fr auto;
    min-height: 0;
    margin-top: 12px;
  }
  .kopfgrafik__ruecken { display: none; }
  .kopfgrafik__text { grid-column: 1; padding: 1.2rem 0 1.2rem 1.2rem; }
  .kopfgrafik__wirbelsaeule { grid-column: 2; padding: 12px 1rem 8px .5rem; }
  .kopfgrafik__wirbelsaeule img { height: 170px; }
  .metanavi { grid-column: 1 / 3; }
  .metanavi ul { padding: 0 .3rem; }
  .metanavi a { padding: .55rem .7rem; }

  .hauptbereich { display: block; margin-top: 16px; }

  /* Knopf "Navigation" bleibt beim Scrollen oben stehen */
  .navileiste { display: block; position: sticky; top: 0; z-index: 20; }
  .navi-schalter {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    min-height: 48px;
    padding: .5rem 1rem;
    font: inherit;
    color: #fff;
    background: #000;
    border: 0;
    cursor: pointer;
  }
  .navi-schalter:hover, .navi-schalter:focus-visible { background: var(--blau); }
  .navi-schalter__icon, .navi-schalter__icon::before, .navi-schalter__icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: transform .2s ease;
  }
  .navi-schalter__icon { position: relative; margin-left: auto; order: 2; }
  .navi-schalter__icon::before, .navi-schalter__icon::after { content: ""; position: absolute; left: 0; }
  .navi-schalter__icon::before { top: -6px; }
  .navi-schalter__icon::after { top: 6px; }
  .navi-schalter[aria-expanded="true"] .navi-schalter__icon { background: transparent; }
  .navi-schalter[aria-expanded="true"] .navi-schalter__icon::before { transform: translateY(6px) rotate(45deg); }
  .navi-schalter[aria-expanded="true"] .navi-schalter__icon::after { transform: translateY(-6px) rotate(-45deg); }

  /* aufgeklapptes Menü direkt unter der Leiste, auch nach dem Scrollen */
  .hauptnavi { display: none; }
  .hauptnavi.ist-offen {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .25);
  }
  .hauptnavi ul { position: static; }
  .hauptnavi a { padding: .85rem 1rem; font-weight: 700; background: var(--gruen-hell); }
  .hauptnavi a:hover, .hauptnavi a:focus-visible { color: #fff; background: var(--blau); }

  /* Sprungziele nicht unter der festen Leiste verstecken */
  [id] { scroll-margin-top: 60px; }

  .inhalt { margin-top: 24px; }
  .inhalt .bild { flex-direction: column; align-items: flex-start; }
  .inhalt #krankheiten, .inhalt .anwendungsgebiete { float: none; width: 100%; margin: 0 0 1.5rem; }
  img.bildre { float: none; width: 100%; margin: 0 0 1rem; }

  .fussnavi { padding-left: 0; }
  .fussnavi ul { padding: 0 .5rem; gap: 4px; }
  .fuss__adresse { flex-direction: column; padding-bottom: 70px; }
  .fuss__adresse span:not(:last-child)::after { content: none; }
}

@media (max-width: 600px) {
  .zweispaltig, .inhalt .clearfix:has(> .boxli) { grid-template-columns: 1fr; }
  .inhalt h1 { padding: .3rem .6rem; color: #fff; background: var(--rot); }
  .kopfgrafik__wirbelsaeule img { height: 140px; }
}


/* ==========================================================================
   Druck (ersetzt druck.css)
   ========================================================================== */
@media print {
  body { background: none; font-size: 11pt; }
  .bereiche, .metanavi, .hauptnavi, .navi-schalter, .fussnavi, .termin-reiter, .skiplink, .infobox, .kopfgrafik__ruecken, .kopfgrafik__wirbelsaeule { display: none !important; }
  .kopfgrafik { display: block; min-height: 0; background: none; border: 0; box-shadow: none; }
  .hauptbereich { display: block; }
  .inhalt { max-width: none; }
  .inhalt a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
  .fuss__innen { box-shadow: none; background: none; }
}

/* Startseite --------------------------------------------------------------- */
.fotos .foto { aspect-ratio: 3 / 2; object-fit: cover; }
.teaser { margin-top: 2.5rem; }
.inhalt .teaser h2 { margin: 0; }
.inhalt .teaser__unterzeile { margin: 0; }
.inhalt .teaser__bild { margin: 20px 0; }
