@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/amatic-sc-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/amatic-sc-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/amatic-sc-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/amatic-sc-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/lato-300-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/lato-300-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/lato-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/lato-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lato-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lato-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/lato-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/lato-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Praxis-Website Martin Epkes – Gestaltung nach der bisherigen Wix-Seite.
   Maße in px beziehen sich auf die Wix-Vorlage bei 980 px Inhaltsbreite. */

:root {
  --text: #4d4338;
  --linie: rgba(40, 38, 38, 0.3);
  --breite: 980px;
  --rand: 20px;
  --skala: min(1px, calc((100vw - 2 * var(--rand)) / 980));
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
}

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

a { color: inherit; }

.inhalt {
  width: min(var(--breite), 100% - 2 * var(--rand));
  margin: 0 auto;
}

.sprunglink {
  position: absolute; left: -9999px; top: 0;
  background: #fff; padding: 8px 12px; z-index: 100;
}
.sprunglink:focus { left: 8px; top: 8px; }

/* ---------- Zierschrift ---------- */

.z, h1, h2, h3, h4 {
  font-family: "Amatic SC", "Comic Sans MS", cursive;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}
h1, h2, h3, h4, .z:is(h1, h2, h3, h4) { letter-spacing: -0.05em; line-height: 1.15; }
.z { font-size: 1em; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
h1, h2, h3, h4 { color: var(--text); }

.gr { font-size: calc(var(--fs) * 1px); }
.fs { font-size: calc(var(--fs) * 1px); }
p.gr, li.gr { line-height: 1.3; }

.bs { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.bs .z, .z { hyphens: manual; -webkit-hyphens: manual; }  /* Zierschrift nie mitten im Wort trennen */
.mitte { text-align: center; }
.rechts { text-align: right; }
.fett { font-weight: 700; }
.unterstrichen { text-decoration: underline; text-underline-offset: 0.15em; }

.text p.leer { height: 1.5em; }
.text ul, .text ol { padding-left: 1.2em; }
.text li { margin: 0; }

.text a { text-underline-offset: 0.15em; }

/* ---------- Kopfzeile ---------- */

.kopf {
  text-align: center;
  padding-top: 18px;
  border-bottom: 1px solid var(--linie);
  position: relative;
  background: #fff;
  z-index: 20;
}
.kopf .logo { display: inline-block; text-decoration: none; }
.kopf .logo img { width: 242px; height: 48px; margin: 0 auto; }
.kopf .praxisname {
  margin-top: 7px;
  font-size: 25px;
  line-height: 1.26;
}

.navi { margin-top: 31px; }
.navi > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap;
}
.navi li { position: relative; }
.navi a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}
.navi a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.navi a[aria-current="page"], .navi li.aktiv > a {
  text-decoration: underline; text-underline-offset: 4px;
}
.navi .unter {
  display: none;
  position: absolute; left: 0; top: 100%;
  list-style: none; margin: 0; padding: 6px 0;
  background: #fff;
  border: 1px solid var(--linie);
  min-width: 100%;
  text-align: left;
  z-index: 30;
}
.navi li:hover > .unter, .navi li:focus-within > .unter { display: block; }
.navi .unter a { padding: 7px 16px; }

.menue-knopf {
  display: none;
  margin: 14px auto 0;
  background: none; border: 1px solid var(--linie); border-radius: 20px;
  padding: 6px 18px;
  font: inherit; font-size: 15px; letter-spacing: 0.05em; color: #000;
  cursor: pointer;
}

/* ---------- Seiteninhalt aus Reihen und Spalten ---------- */

main { padding-bottom: 120px; overflow-x: clip; }

.reihe {
  display: flex;
  align-items: flex-start;
  margin-top: calc(var(--abstand) * 1px);
}
.spalte {
  margin-left: var(--x);
  width: var(--b);
  margin-top: calc(var(--oben) * 1px);
  flex: none;
}
.element { margin-top: calc(var(--oben, 0) * 1px); margin-left: var(--ex, 0); width: var(--eb, auto); }
.spalte > .element:first-child { margin-top: 0; }
.bild { margin: 0; }
.bild img { width: 100%; }

.knopf-zeile { text-align: center; }
.knopf {
  display: inline-block;
  font-family: "Amatic SC", cursive;
  font-size: 30px; line-height: 1;
  letter-spacing: 0;
  color: #000; text-decoration: none;
  background: #fff;
  border: 0.5px solid #000; border-radius: 20px;
  padding: 2px 16px;
}
.knopf:hover { background: #f5f1ea; }

/* ---------- Startseite: Gedanken, die durchs Bild ziehen ---------- */

.gedanken {
  position: relative;
  margin-top: calc(var(--abstand) * var(--skala));
  height: calc(var(--hoehe) * var(--skala));
}
.gedanken h2 {
  position: absolute;
  left: calc(var(--px) * var(--skala));
  top: calc(var(--py) * var(--skala));
  font-size: calc(var(--fs) * var(--skala));
  white-space: nowrap;
  line-height: 1.2;
  will-change: transform;
}
.gedanken-band { overflow-x: clip; }

/* ---------- Werdegang ---------- */

/* gestaltet wie die aufklappbaren Fragen (FAQ) */
.stationen { list-style: none; margin: 0; padding: 0; }
.stationen li { margin: 0; border-top: 1px solid #e4dfd7; max-width: none; }
.stationen li:last-child { border-bottom: 1px solid #e4dfd7; }
.stationen details summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 12px 40px 12px 0; line-height: 1.4; font-weight: 400;
}
.stationen details summary::-webkit-details-marker { display: none; }
.stationen details summary::after {
  content: "+"; position: absolute; right: 6px; top: 8px;
  font-family: "Amatic SC", cursive; font-size: 34px; line-height: 1;
}
.stationen details[open] summary::after { content: "–"; }
.stationen .zeit { display: block; font-size: 13px; letter-spacing: 0.05em; color: #8a7f72; }
.stationen .titel { display: block; font-size: 17px; color: #2f2a24; }
.stationen .mehr { display: none; }
.stationen .details { font-size: 15px; padding: 0 0 14px; }
.stationen .details p { margin-bottom: 4px; }

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

.fuss { margin-top: 0; }
.fuss .adresse-zeile { border-bottom: 1px solid #000; }
.fuss .adresse {
  font-family: "Amatic SC", cursive; letter-spacing: -0.04em;
  font-size: 31px; line-height: 1.4;
  padding: 26px 0 8px 22px;
  margin: 0;
}
.fuss .unten {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 48px;
}
.fuss .copy { font-size: 14px; color: #000; margin: 0; padding-left: 0; }
.fuss .rechtliches { display: flex; gap: 22px; }
.fuss .rechtliches a {
  font-family: "Amatic SC", cursive; letter-spacing: -0.04em;
  font-size: 31px; line-height: 1.4; color: var(--text);
}

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

.js .einblenden { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .einblenden.sichtbar { opacity: 1; transform: none; }
.js .anflug { opacity: 0; transition: opacity 1.1s ease, transform 1.4s cubic-bezier(.2,.7,.2,1); }
.js .anflug.sichtbar { opacity: 1; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .js .einblenden, .js .anflug { opacity: 1; transform: none !important; transition: none; }
  .gedanken h2, [data-von] { transform: none !important; }
}

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

@media (max-width: 860px) {
  .navi a { padding: 8px 10px; font-size: 14px; }
}

@media (max-width: 760px) {
  :root { --rand: 22px; }
  .kopf .logo img { width: 190px; height: auto; }
  .kopf .praxisname { font-size: 22px; }
  .menue-knopf { display: inline-block; }
  .navi { margin-top: 6px; display: none; padding-bottom: 12px; }
  .navi.offen { display: block; }
  .navi > ul { flex-direction: column; align-items: center; }
  .navi .unter { display: block; position: static; border: 0; padding: 0; text-align: center; }
  .navi .unter a { padding: 5px 10px; font-size: 13px; color: var(--text); }
  .kopf { padding-bottom: 14px; }

  .reihe { display: block; margin-top: min(calc(var(--abstand) * 0.45px), 70px); }
  /* auf dem Handy Bild unter den Text der Reihe setzen (z. B. Startseite, Rückmeldung #1) */
  .reihe.mobil-tausch { display: flex; flex-direction: column; }
  .reihe.mobil-tausch > .mobil-unten { order: 2; }
  .spalte { width: auto; margin: 0 0 28px; }
  .element { margin-top: 20px; margin-left: 0; width: auto; }
  .bild img { max-width: 420px; margin: 0 auto; }
  .gr { font-size: max(26px, calc(var(--fs) * 0.62px)); }
  .bs { text-align: left; }

  .fuss .adresse { font-size: 24px; padding-left: 0; }
  .fuss .unten { flex-direction: column-reverse; align-items: flex-start; padding: 8px 0 16px; }
  .fuss .rechtliches a { font-size: 26px; }
}

/* ---------- Krise & Notfall (gestaltet wie der Krisenwegweiser) ---------- */

.krise { padding-bottom: 20px; }
.krise .krise-block { margin-top: 90px; }
.krise h3 { margin: 34px 0 10px; }
.krise .bs, .krise li { max-width: 760px; }
.krise ul { padding-left: 1.2em; margin: 12px 0 0; }
.krise li { margin-bottom: 8px; }
.krise a { text-underline-offset: 0.15em; }

.notruf {
  margin-top: 46px;
  background: #fbe9e9;
  border-left: 5px solid #d0312d;
  padding: 18px 24px 16px;
}
.notruf p { margin: 0; }
.notruf-titel { font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 15px; color: #2b2b2b; }
.notruf-nummer { font-size: 54px; line-height: 1.1; font-weight: 400; margin: 2px 0 6px !important; }
.notruf-nummer a { color: #d0312d; text-decoration: none; }

.krise-sprung { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 50px; }
.krise-sprung a {
  font-family: "Amatic SC", cursive; font-size: 27px; line-height: 1; letter-spacing: 0;
  color: #000; text-decoration: none; border: 0.5px solid #000; border-radius: 20px; padding: 4px 16px;
}
.krise-sprung a:hover { background: #f5f1ea; }

.karten { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 18px; }
.karte { border-left: 1px solid #c9c2b8; padding: 2px 0 2px 16px; }
.karte p { margin: 0 0 6px; }
.karte-titel { font-weight: 700; }
.karte-wert a { font-weight: 700; text-decoration: none; white-space: nowrap; }
/* alle Telefonnummern auf der Seite gleich: fett, ohne Unterstreichung */
.krise a[href^="tel:"] { font-weight: 700; text-decoration: none; white-space: nowrap; }
.krise .notruf-nummer a { font-weight: 400; }

.nummern { width: 100%; border-collapse: collapse; margin-top: 8px; }
.nummern td { vertical-align: top; padding: 12px 14px 12px 0; border-top: 1px solid #e4dfd7; }
.nummern tr:first-child td { border-top: 0; }
.nummern td:first-child { width: 52%; border-left: 1px solid #c9c2b8; padding-left: 16px; }
.nummern td:nth-child(2) { width: 18%; white-space: nowrap; font-weight: 400; }
.nummern td:nth-child(2) a { font-weight: 700; text-decoration: none; }
.nummern strong { font-weight: 700; }
.nummern em { font-style: normal; color: #8a6d3b; }
.nummern td.paare { width: auto; white-space: normal; padding-right: 0; }
.paar { display: grid; grid-template-columns: 37.5% 1fr; column-gap: 0; } /* 18 % von 48 %: Zeiten fluchten mit der dritten Spalte */
.paar > span { font-weight: 300; }
.paar + .paar { margin-top: 6px; }
.paar a { font-weight: 700; text-decoration: none; white-space: nowrap; }

.downloads { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.downloads .knopf { font-size: 26px; padding: 5px 18px; }

.krise-schluss { margin-top: 70px; border-left: 1px solid #c9c2b8; padding-left: 16px; }
.krise-schluss p { margin: 0; }
.krise-schluss .z { font-size: 34px; line-height: 1.2; }
.krise-stand { margin-top: 40px; font-size: 14px; color: #8a8a8a; }

/* Bilder in derselben Größe wie auf den übrigen Seiten (440 px, volles Quadrat) */
.mit-bild { display: grid; grid-template-columns: minmax(0, 1fr) 440px; column-gap: 40px; align-items: center; }
.mit-bild > .bild { width: 440px; }
.krise-ende { margin-top: 70px; }
.krise-ende .krise-schluss { margin-top: 0; }

@media (max-width: 760px) {
  .krise .krise-block { margin-top: 48px; }
  .karten { grid-template-columns: 1fr; gap: 18px; }
  .nummern, .nummern tbody, .nummern tr, .nummern td { display: block; width: auto !important; }
  .nummern tr { border-left: 1px solid #c9c2b8; padding: 10px 0 10px 14px; border-top: 1px solid #e4dfd7; }
  .nummern tr:first-child { border-top: 0; }
  .nummern td { border: 0 !important; padding: 2px 0 !important; }
  .nummern td:nth-child(2) { white-space: normal; }
  .notruf-nummer { font-size: 46px; }
  .mit-bild { display: block; }
  .mit-bild > .bild { margin: 20px auto 0; width: auto; max-width: 420px; }
  .krise .bild img { max-width: 100%; }
  .krise-bild-oben { display: none; } /* auf dem Handy soll die 112 sofort sichtbar sein */
  .paar { display: block; }
  .paar span { display: block; }
  .paar + .paar { margin-top: 8px; }
}

/* ---------- Inhaltsseiten (Therapie-Unterseiten, Ablauf, Praxis, FAQ), angelegt 30.11.2026 ---------- */

.seite { padding-bottom: 20px; }
.seite .block { margin-top: 90px; }
.seite .block > h2 { margin-bottom: 16px; }
.seite h3 { margin: 34px 0 8px; }
.seite .bs, .seite li, .seite .schmal { max-width: 760px; }
.seite .bs + .bs { margin-top: 1em; }
.seite ul.liste { padding-left: 1.2em; margin: 14px 0 0; }
.seite ul.liste li { margin-bottom: 8px; }
.seite a { text-underline-offset: 0.15em; }
.seite .mit-bild > div > h2 { margin-bottom: 16px; }

/* Bild links statt rechts */
.mit-bild.links { grid-template-columns: 440px minmax(0, 1fr); }
.mit-bild.links > .bild { order: -1; }

/* Hinweis in ruhigem Kasten */
.hinweis {
  max-width: 760px; margin-top: 26px; padding: 16px 22px;
  background: #f8f3eb; border-left: 4px solid #d6871d;
}
.hinweis p + p { margin-top: 0.7em; }

/* Nummerierte Schritte (Ablauf) */
.schritte { list-style: none; counter-reset: schritt; padding: 0; margin: 30px 0 0; max-width: 820px; }
.schritte > li { counter-increment: schritt; position: relative; padding: 0 0 34px 82px; max-width: none; }
.schritte > li::before {
  content: counter(schritt); position: absolute; left: 0; top: -2px;
  width: 56px; height: 56px; border: 1px solid var(--text); border-radius: 50%;
  display: grid; place-items: center; background: #fff;
  font-family: "Amatic SC", cursive; font-size: 34px; line-height: 1;
}
.schritte > li::after { content: ""; position: absolute; left: 28px; top: 58px; bottom: 4px; border-left: 1px dashed var(--linie); }
.schritte > li:last-child::after { display: none; }
.schritte h3 { margin: 4px 0 6px; font-size: 36px; }
.schritte h3 a { text-decoration: none; }
.schritte h3 a:hover { text-decoration: underline; }
.schritte .mehr { display: inline-block; margin-top: 6px; }

/* Kacheln mit Links auf Unterseiten */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.kachel {
  display: block; text-decoration: none; border: 1px solid #e4dfd7; border-radius: 12px;
  padding: 16px 20px 18px; background: #fff;
}
.kachel:hover { background: #faf6f0; border-color: #d8cdbd; }
.kachel .z { display: block; font-size: 34px; line-height: 1.1; margin-bottom: 6px; }

/* Aufklappbare Fragen (FAQ) */
.faq { max-width: 820px; margin-top: 18px; }
.faq details { border-top: 1px solid #e4dfd7; }
.faq details:last-child { border-bottom: 1px solid #e4dfd7; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 44px 16px 0; font-size: 18px; font-weight: 400; color: #2f2a24;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 6px;
  font-family: "Amatic SC", cursive; font-size: 36px; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid #d6871d; outline-offset: 2px; }
.faq .antwort { padding: 0 0 20px; }
.faq .antwort p + p { margin-top: 0.8em; }
.faq-gruppe { margin-top: 70px; }

/* Weiterlesen zwischen den Ablauf-Seiten */
.weiterlesen {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 100px; padding-top: 20px; border-top: 1px solid var(--linie);
}
.weiterlesen a { text-decoration: none; }
.weiterlesen a:hover .z { text-decoration: underline; }
.weiterlesen small { display: block; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: #8a7f72; }
.weiterlesen .z { font-size: 32px; }
.weiterlesen .vor { margin-left: auto; text-align: right; }

/* Sprungknöpfe zu Abschnitten (wie bei Krise & Notfall), für alle Seiten */
.sprung { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 50px; }
.sprung a {
  font-family: "Amatic SC", cursive; font-size: 27px; line-height: 1; letter-spacing: 0;
  color: #000; text-decoration: none; border: 0.5px solid #000; border-radius: 20px; padding: 4px 16px;
}
.sprung a:hover { background: #f5f1ea; }

/* Zierelemente aus der bisherigen Seite */
.mit-deko { position: relative; }
.mit-deko .deko { position: absolute; width: 50%; height: auto; left: -20%; bottom: -12%; pointer-events: none; }
/* Foto im Stil der Illustrationen: weiche, leicht unregelmäßige Form statt harter Ecken (Rückmeldung #6) */
.mit-deko > img:first-child { border-radius: 46% 54% 50% 50% / 42% 44% 56% 58%; }
.trenner { margin: 70px 0 0; }
.trenner img { width: 440px; height: auto; margin: 0 auto; opacity: 0.9; }
.seite .block h3.gr { margin: 30px 0 8px; }
.seite .block h3.gr:first-child { margin-top: 0; }
.knopf-zeile.links { text-align: left; margin-top: 24px; }
/* Aufklappen des Werdegangs verschiebt die Grafik nicht (Rückmeldung #8) */
.mit-bild:has(.stationen) { align-items: start; }
.mit-bild:has(.stationen) > .bild { position: sticky; top: 30px; }
.seite .stationen { margin-top: 18px; }
.seite .mitte-block { text-align: center; }

/* Kurze Zeilen ohne Absatzabstand (Adresse, Sprechzeiten) */
.seite .zeilen { margin-top: 1em; }
.seite .zeilen p { margin: 0; }
.seite .zeilen.gross p { font-size: 30px; line-height: 1.2; }
.seite .gross-link { font-size: 30px; line-height: 1.2; }
/* Zweite Überschrift im selben Abschnitt */
.seite .block > h2:not(:first-child), .seite .block > div > h2:not(:first-child) { margin-top: 48px; }
.seite .block > div > h3:not(:first-child), .seite .block > h3:not(:first-child) { margin-top: 30px; }

/* Startseite: großer Einstieg */
.start-held { align-items: center; }
/* Einstieg füllt am Rechner den ersten Bildschirm, „Herzlich willkommen“ folgt erst beim Scrollen (Rückmeldung #3) */
@media (min-width: 761px) { .start-held { min-height: calc(100vh - 260px); } }
.start-titel .untertitel { margin-top: 34px; letter-spacing: .05em; line-height: 1.2; }
.start .block:first-of-type { margin-top: 70px; }

/* Rechtstexte (Impressum, Datenschutz) */
.rechtstext .text h2 { margin: 8px 0 4px; }
.rechtstext .text { max-width: 820px; }

/* Zusammengeführte Seiten (Ablauf): Kapitel mit Unterabschnitten */
.seite .block.unter { margin-top: 50px; }
.seite .block.unter > h3:first-child, .seite .block.unter > div > h3:first-child { margin-top: 0; }
.seite .block.kapitel { margin-top: 120px; }

/* Fotos der Praxis: große Bühne mit Vorschauleiste, Vollbild */
.rundgang { max-width: 980px; }
.buehne { position: relative; border-radius: 16px; overflow: hidden; background: #f3efe8; box-shadow: 0 10px 30px rgba(60, 45, 30, 0.12); }
.buehne-bild { display: block; cursor: zoom-in; }
.buehne-bild img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.buehne .pfeil {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.9); color: #2f2a24; font-size: 30px; line-height: 52px; padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.buehne .pfeil:hover { background: #fff; }
.buehne .pfeil.zurueck { left: 18px; }
.buehne .pfeil.vor { right: 18px; }
.buehne .zaehler {
  position: absolute; right: 18px; bottom: 16px; padding: 4px 12px; border-radius: 14px;
  background: rgba(47, 42, 36, 0.7); color: #fff; font-size: 14px; letter-spacing: 0.05em;
}
.mini-leiste { display: flex; gap: 10px; overflow-x: auto; padding: 14px 2px 8px; scroll-snap-type: x proximity; }
.mini-leiste .mini { flex: 0 0 auto; width: 120px; border-radius: 10px; overflow: hidden; opacity: 0.6; scroll-snap-align: center;
  outline: 3px solid transparent; outline-offset: -3px; transition: opacity .2s; }
.mini-leiste .mini img { width: 120px; height: 90px; object-fit: cover; }
.mini-leiste .mini:hover { opacity: 0.9; }
.mini-leiste .mini.aktiv { opacity: 1; outline-color: #d6871d; }
.leuchtkasten { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.leuchtkasten::backdrop { background: rgba(30, 25, 20, 0.88); }
.leuchtkasten img { max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 10px; margin: 0 auto; }
.leuchtkasten button {
  position: fixed; background: rgba(255, 255, 255, 0.92); color: #2f2a24; border: 0; border-radius: 50%;
  width: 46px; height: 46px; font-size: 26px; line-height: 46px; cursor: pointer; text-align: center; padding: 0;
}
.leuchtkasten .zu { top: 16px; right: 16px; }
.leuchtkasten .zurueck { left: 16px; top: 50%; transform: translateY(-50%); }
.leuchtkasten .vor { right: 16px; top: 50%; transform: translateY(-50%); }

/* Quellenangaben unter einem Absatz */
.seite .quelle { max-width: 760px; margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: #8a7f72; }

/* Personenkarten (Praktikant:innen), bis Fotos da sind mit Initialen */
.personen { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; margin-top: 26px; max-width: 760px; }
.person { margin: 0; display: flex; align-items: center; gap: 16px; }
.person img, .person .initialen { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.person .initialen { display: grid; place-items: center; background: #f3ece1; color: #7a5a1e; font-family: "Amatic SC", cursive; font-size: 40px; }
.person figcaption { font-size: 15px; line-height: 1.45; color: #6b6156; }
.person figcaption strong { display: block; font-size: 18px; font-weight: 400; color: #2f2a24; }

/* Kleingedrucktes am Seitenende */
.seite-stand { margin-top: 50px; font-size: 14px; color: #8a8a8a; }

@media (max-width: 760px) {
  .seite .block { margin-top: 56px; }
  .seite-bild-oben { max-width: 300px; margin: 0 auto !important; }
  .mit-bild.links > .bild { order: 0; }
  .schritte > li { padding-left: 66px; }
  .schritte > li::before { width: 46px; height: 46px; font-size: 28px; }
  .schritte > li::after { left: 23px; top: 48px; }
  .schritte h3 { font-size: 30px; }
  .weiterlesen .vor { margin-left: 0; text-align: left; }
  .seite .block.kapitel { margin-top: 70px; }
  .seite .block.unter { margin-top: 36px; }
  .buehne { border-radius: 12px; }
  .buehne .pfeil { width: 42px; height: 42px; line-height: 42px; font-size: 24px; }
  .buehne .pfeil.zurueck { left: 10px; } .buehne .pfeil.vor { right: 10px; }
  .mini-leiste .mini, .mini-leiste .mini img { width: 84px; } .mini-leiste .mini img { height: 63px; }
  .leuchtkasten .zurueck, .leuchtkasten .vor { top: auto; bottom: 16px; transform: none; }
  .mit-deko .deko { left: -4%; width: 26%; }
  .trenner { margin-top: 44px; }
  .trenner img { width: 280px; }
  .mit-deko .deko { left: -8%; width: 40%; }
  .mit-bild:has(.stationen) > .bild { position: static; }
  .start-titel .untertitel { margin-top: 14px; }
  .seite .zeilen.gross p, .seite .gross-link { font-size: 24px; }
}

/* ---------- Sprachstufen: Umschalter und Lesegestaltung (30.11.2026) ---------- */

.stufen { position: absolute; top: 12px; right: max(16px, calc((100vw - 980px) / 2)); z-index: 25; font-size: 13px; letter-spacing: 0.02em; }
.stufen summary { list-style: none; cursor: pointer; padding: 5px 12px; border: 1px solid var(--linie); border-radius: 16px; color: #2f2a24; background: #fff; white-space: nowrap; }
.stufen summary::-webkit-details-marker { display: none; }
.stufen summary::after { content: " ▾"; color: #8a7f72; }
.stufen[open] summary::after { content: " ▴"; }
.stufen .stufen-symbol { font-family: "Amatic SC", cursive; font-size: 17px; font-weight: 700; margin-right: 2px; }
.stufen ul { list-style: none; margin: 6px 0 0; padding: 6px 0; position: absolute; right: 0; min-width: 100%; background: #fff;
  border: 1px solid var(--linie); border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.stufen li a { display: block; padding: 6px 14px; color: #5a5048; text-decoration: none; white-space: nowrap; }
.stufen li a:hover { background: #f5f1ea; }
.stufen li a[aria-current] { color: #2f2a24; font-weight: 700; }

/* Einfache und Leichte Sprache: linksbündig, keine Silbentrennung */
.stufe-einfach .bs, .stufe-leicht .bs, .stufe-einfach main p, .stufe-leicht main p, .stufe-einfach main li, .stufe-leicht main li {
  text-align: left; hyphens: manual; -webkit-hyphens: manual; }
.stufe-leicht .seite .bs + .bs, .stufe-leicht main p + p { margin-top: 0.45em; }
.stufe-leicht main ul.liste li { margin-bottom: 12px; }
/* Erklärung schwieriger Wörter */
.erklaerung { max-width: 760px; margin-top: 18px; padding: 14px 20px; background: #f3f7f6; border-left: 4px solid #7aa59a; border-radius: 0 10px 10px 0; }
.erklaerung p { margin: 0; }
.erklaerung p + p { margin-top: 0.4em; }
.erklaerung p:first-child { font-weight: 700; color: #2f2a24; }
.stufe-hinweis { max-width: 760px; margin-top: 60px; font-size: 15px; color: #8a7f72; }

@media (max-width: 760px) {
  .stufen { position: relative; top: auto; right: auto; display: block; width: max-content; margin: 0 0 10px auto; font-size: 12px; }
}

/* Infos: Mädchen mit Glühbirne, das Kabel endet im untersten Knopf (Rückmeldung #19) */
.infos-start { --luecke: 40px; display: grid; grid-template-columns: 440px auto; column-gap: var(--luecke); align-items: end; margin-top: 30px; }
.infos-start .bild { width: 440px; }
.infos-knoepfe { flex-direction: column; align-items: flex-start; gap: 12px; margin: 0 0 calc(440px * 0.0455 - 19px); }
.infos-knoepfe a { position: relative; }
/* Kabel: vom rechten Bildrand (95,5 % Höhe) bis in den letzten Knopf, Farbe wie im Bild */
.infos-knoepfe a:last-child::before {
  content: ""; position: absolute; right: 100%; top: 50%; width: calc(var(--luecke) + 1px);
  border-top: 2px solid #000214; transform: translateY(-1px);
}
@media (max-width: 760px) {
  .infos-start { display: block; }
  .infos-start .bild { width: auto; max-width: 300px; margin: 0 auto; }
  .infos-knoepfe { flex-direction: row; flex-wrap: wrap; margin: 24px 0 0; }
  .infos-knoepfe a:last-child::before { display: none; }
}

/* Rückmeldungen #14, #17, #20/#21 */
.knopf-zeile.mehrere { display: flex; flex-wrap: wrap; gap: 12px; }
.mit-bild > .bild.klein { width: 300px; justify-self: center; }
/* Einstieg füllt den ersten Bildschirm, der nächste Abschnitt beginnt erst beim Scrollen */
@media (min-width: 761px) { .seite-held { min-height: calc(100vh - 300px); } }
.krise-block.mit-bild .bs + .bs { margin-top: 1.1em; }

/* Rückmeldung #33: Antworten in der FAQ ohne Blocksatz und Silbentrennung */
.faq .bs { text-align: left; hyphens: manual; -webkit-hyphens: manual; }
/* Rückmeldung #36 (und #20/#21): kleinere Bilder geben dem Text mehr Breite */
.mit-bild:has(> .bild.klein) { grid-template-columns: minmax(0, 1fr) 300px; }
.mit-bild.links:has(> .bild.klein) { grid-template-columns: 300px minmax(0, 1fr); }
.mit-bild > .bild.klein { width: 300px; }
@media (max-width: 760px) { .mit-bild > .bild.klein { width: auto; max-width: 260px; } }

/* Rückmeldung #47: Abstand nach den Personenkarten */
.personen + .bs { margin-top: 32px; }
/* Rückmeldung #48: Startbild auf dem Handy kleiner, damit der Untertitel im ersten Bildschirm ganz zu sehen ist */
@media (max-width: 760px) {
  .start-held .bild img { max-width: 230px; }
  .start-held .spalte { margin-bottom: 10px; }
}
