/* Durchatmen - Schulprojekt psychische Gesundheit
   Mobile first. Ein Umbruchpunkt fuer das Layout (860px), Rest fliessend.
   Farben: ausschliesslich die Palette aus :root (Altrosa, Salbei, Beige/Taupe/Braun). Keine weiteren Akzentfarben.
   Kein Inline-Code, keine Fremdquellen (strenge CSP, siehe _headers). */

@font-face{font-family:"Bricolage Grotesque";src:url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:"Figtree";src:url("fonts/figtree-latin-wght-normal.woff2") format("woff2");font-weight:300 900;font-style:normal;font-display:swap}

:root{
  /* Beige / Papier (Flaechen) */
  --papier:#fcf8f3;
  --beige:#f4ebe0;
  --beige-tief:#e9dccb;
  /* Altrosa */
  --rosa-hell:#f6e6e3;
  --rosa:#dcb5b1;
  --rosa-dunkel:#8c5055;
  --rosa-tief:#73424a;
  /* Salbei / Pastellgruen */
  --salbei-hell:#e6eee1;
  --salbei:#b9cdb3;
  --salbei-dunkel:#4d6a4d;
  /* Taupe und Braun (Schrift, Linien) */
  --taupe:#8a7765;
  --taupe-dunkel:#665344;
  --braun:#46342b;
  --braun-tief:#2f221b;
  --fokus:#2f221b;
  --linie:rgba(70,52,43,.22);
  --linie-hell:rgba(252,248,243,.3);
  /* Mass */
  --wrap:72rem;
  --gutter:1.25rem;
  --lesebreite:38rem;
  --kopfhoehe:4rem;
  --radius:1rem;
  --schrift-text:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --schrift-kopf:"Bricolage Grotesque","Figtree",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none !important}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--kopfhoehe) + .75rem);scroll-behavior:smooth}
body{overflow-wrap:break-word;margin:0;background:var(--papier);color:var(--braun);font-family:var(--schrift-text);font-size:1.0625rem;line-height:1.62;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg{display:block;max-width:100%}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure,blockquote{margin:0}
p,li,h2,h3,h4,summary{hyphens:auto;-webkit-hyphens:auto}
h1{hyphens:manual}
ul,ol{padding:0;list-style:none}
a{color:var(--rosa-dunkel);text-underline-offset:.18em;text-decoration-thickness:.08em}
a:hover{color:var(--rosa-tief);text-decoration-thickness:.16em}
:focus-visible{outline:3px solid var(--fokus);outline-offset:3px;border-radius:3px;box-shadow:0 0 0 3px var(--papier)}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

.sprunglink{position:absolute;left:var(--gutter);top:-4rem;z-index:100;background:var(--braun-tief);color:var(--papier);padding:.75rem 1.1rem;border-radius:.5rem;font-weight:700;text-decoration:none}
.sprunglink:focus{top:.6rem}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}

/* ---------- Typografie ---------- */
h1,h2,h3,h4{font-family:var(--schrift-kopf);color:var(--braun-tief);text-wrap:balance}
h1{font-size:clamp(2.6rem,10.6vw,5.2rem);font-weight:800;line-height:.98;letter-spacing:-.025em}
h1 .zweite{display:block;color:var(--salbei-dunkel);margin-top:.14em}
h2{font-size:clamp(1.85rem,6.2vw,3.2rem);font-weight:760;line-height:1.06;letter-spacing:-.02em}
h3{font-size:1.28rem;font-weight:700;line-height:1.2;letter-spacing:-.01em}
h4{font-size:1.2rem;font-weight:720;line-height:1.2;letter-spacing:-.01em}
.etikett{display:inline-flex;align-items:center;font-size:.8125rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase;color:var(--taupe-dunkel)}
.etikett b{display:inline-grid;place-items:center;min-width:2.1rem;height:1.7rem;padding:0 .55rem;margin-right:.65rem;border-radius:999px;background:var(--rosa-dunkel);color:var(--papier);font-weight:800;letter-spacing:.04em}
.lead{font-size:1.14rem;line-height:1.55;max-width:var(--lesebreite)}
.zwischentitel{margin:2.6rem 0 1rem;font-size:1.5rem}

/* ---------- Kopf ---------- */
.kopf{position:sticky;top:0;z-index:50;background:var(--papier);border-bottom:2px solid var(--braun)}
.kopf-innen{display:flex;align-items:center;gap:.5rem;min-height:var(--kopfhoehe)}
.marke{display:inline-flex;align-items:center;gap:.4rem;min-height:2.75rem;font-family:var(--schrift-kopf);font-weight:800;font-size:1.2rem;letter-spacing:-.02em;color:var(--braun-tief);text-decoration:none;margin-right:auto}
.marke:hover{color:var(--braun-tief)}
.marke svg{width:1.55rem;height:1.55rem;flex:none}
.hilfe-knopf,.menue-knopf{display:inline-flex;align-items:center;justify-content:center;min-height:2.75rem;padding:.4rem .95rem;border-radius:999px;font:inherit;font-size:.92rem;white-space:nowrap;font-weight:700;line-height:1.1;cursor:pointer;text-decoration:none}
.hilfe-knopf{background:var(--rosa-dunkel);color:var(--papier);border:2px solid var(--rosa-dunkel)}
.hilfe-knopf:hover,.hilfe-knopf[aria-current="true"]{background:var(--rosa-tief);border-color:var(--rosa-tief);color:var(--papier)}
.menue-knopf{background:transparent;color:var(--braun);border:2px solid var(--braun)}
.menue-knopf[aria-expanded="true"]{background:var(--braun);color:var(--papier)}
@media (max-width:379px){.hilfe-knopf .lang{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
@media (max-width:339px){.marke svg{display:none}}
.menue{position:absolute;left:0;right:0;top:100%;background:var(--papier);border-bottom:2px solid var(--braun);box-shadow:0 18px 30px -18px rgba(70,52,43,.4);display:none}
.menue.offen{display:block}
.menue ul{padding:.4rem var(--gutter) 1rem;max-width:var(--wrap);margin-inline:auto}
.menue a{display:flex;align-items:center;min-height:3rem;padding:.35rem 0;color:var(--braun);font-weight:650;text-decoration:none;border-bottom:1px solid var(--linie)}
.menue li:last-child a{border-bottom:0}
.menue a:hover{color:var(--rosa-dunkel);text-decoration:underline}
.menue a[aria-current="true"]{font-weight:800;color:var(--rosa-dunkel)}
.menue .nr{display:inline-grid;place-items:center;min-width:2rem;height:1.5rem;margin-right:.65rem;padding:0 .4rem;border-radius:999px;background:var(--beige-tief);color:var(--braun);font-size:.78rem;font-weight:800}
.menue a[aria-current="true"] .nr{background:var(--rosa-dunkel);color:var(--papier)}
.menue .nur-menue{display:block}

/* ---------- Schaltflaechen ---------- */
.aktionen{display:flex;flex-direction:column;gap:.75rem;margin-top:1.75rem}
.knopf{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:3.25rem;padding:.7rem 1.5rem;border-radius:999px;font:inherit;font-weight:750;font-size:1.05rem;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;border:2px solid transparent}
.knopf-primaer{background:var(--rosa-dunkel);color:var(--papier);border-color:var(--rosa-dunkel)}
.knopf-primaer:hover{background:var(--rosa-tief);border-color:var(--rosa-tief);color:var(--papier)}
.knopf-zweit{background:transparent;color:var(--braun);border-color:var(--braun)}
.knopf-zweit:hover{background:var(--braun);color:var(--papier)}

/* Pfeil-Zeichen (rein per CSS) */
.pfeil{display:inline-block;flex:none;width:.55em;height:.55em;margin-left:.55em;border-top:.17em solid currentColor;border-right:.17em solid currentColor;transform:rotate(45deg);transition:transform .15s ease}

/* ---------- Abschnitte ---------- */
.sektion{padding-block:clamp(3.2rem,8vw,6.5rem)}
.band-salbei{background:var(--salbei-hell)}
.band-beige{background:var(--beige)}
.band-rosa{background:var(--rosa-hell)}
.kopfzeile{margin-bottom:2rem}
.kopfzeile h2{margin-top:.8rem}
.kopfzeile .lead{margin-top:1.1rem}
.zwei{display:block}
.inhalt{min-width:0}

.merksatz{margin-top:1.8rem;padding-left:1.1rem;border-left:5px solid var(--rosa-dunkel);font-family:var(--schrift-kopf);font-size:clamp(1.3rem,4.4vw,1.8rem);font-weight:720;line-height:1.15;letter-spacing:-.015em;max-width:26rem;color:var(--braun-tief)}

.weiter{margin-top:2rem}
.weiter a{display:inline-flex;align-items:center;min-height:3rem;padding:.55rem 1.25rem;border:2px solid var(--braun);border-radius:999px;background:var(--papier);color:var(--braun);font-weight:750;text-decoration:none}
.weiter a:hover{background:var(--braun);color:var(--papier)}
.weiter a:hover .pfeil{transform:translateX(3px) rotate(45deg)}

/* ---------- Start ---------- */
.held{padding-block:clamp(2.2rem,6vw,4.5rem) clamp(2.5rem,7vw,4.5rem)}
.held .etikett{display:block;margin-bottom:1.1rem}
.held .lead{margin-top:1.4rem}
.held-raster{display:flex;flex-direction:column}
.held-grafik{display:none;position:relative}
.held-grafik::before{content:"";position:absolute;left:1%;top:50%;height:100%;aspect-ratio:1;transform:translateY(-50%);border-radius:50%;background:var(--salbei-hell)}
.knoten{position:relative;width:100%;height:auto;overflow:visible}
.knoten-linie{fill:none;stroke:var(--salbei-dunkel);stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:0;animation:zeichnen 3s cubic-bezier(.45,.05,.3,1) .2s both}
.knoten-punkt{fill:var(--rosa);stroke:var(--braun);stroke-width:4;animation:erscheinen .5s ease 3s both}
@keyframes zeichnen{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes erscheinen{from{opacity:0}to{opacity:1}}

.themen{margin-top:2.4rem}
.themen h2,.schnell h2{font-family:var(--schrift-text);font-size:.8125rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;line-height:1.3;color:var(--taupe-dunkel)}
.themen ul{display:grid;gap:.75rem;margin-top:.8rem}
.karte{display:flex;align-items:center;gap:.9rem;min-height:4.75rem;padding:.8rem 1rem;border:2px solid var(--braun);border-radius:var(--radius);background:var(--beige);color:var(--braun);text-decoration:none;transition:background-color .15s ease,border-color .15s ease}
.karte:hover{background:var(--rosa-hell);border-color:var(--rosa-dunkel);color:var(--braun)}
.karte:hover strong{text-decoration:underline;text-decoration-thickness:.12em;text-underline-offset:.2em}
.karte:hover .pfeil{transform:translateX(4px) rotate(45deg)}
.zahl{flex:none;display:grid;place-items:center;width:2.8rem;height:2.8rem;border-radius:50%;background:var(--rosa-dunkel);color:var(--papier);font-family:var(--schrift-kopf);font-weight:800;font-size:1.05rem}
.karte-text{flex:1;display:block;min-width:0}
.karte strong{display:block;font-family:var(--schrift-kopf);font-size:1.22rem;font-weight:760;line-height:1.15;color:var(--braun-tief)}
.karte .info{display:block;margin-top:.15rem;font-size:.92rem;line-height:1.35;color:var(--taupe-dunkel)}
.karte .pfeil{width:.8rem;height:.8rem;margin:0 .4rem 0 0;border-width:3px;color:var(--rosa-dunkel)}

.schnell{margin-top:2.2rem;border-top:3px solid var(--braun);padding-top:1rem}
.schnell ul{margin-top:.4rem}
.schnell li{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:1rem;padding:.7rem 0;border-bottom:1px solid var(--linie)}
.schnell .name{font-weight:700;line-height:1.25}
.schnell .name small{display:block;font-weight:500;font-size:.9rem;color:var(--taupe-dunkel);margin-top:.15rem;line-height:1.35}
.nummer{display:inline-flex;align-items:center;min-height:2.9rem;padding:.2rem .95rem;border-radius:.7rem;background:var(--braun-tief);color:var(--papier);font-family:var(--schrift-kopf);font-weight:800;font-size:1.3rem;letter-spacing:.01em;text-decoration:none;white-space:nowrap}
.nummer:hover{background:var(--rosa-dunkel);color:var(--papier);text-decoration:none}
.nummer-notfall{background:var(--rosa-dunkel)}
.nummer-notfall:hover{background:var(--rosa-tief)}

/* ---------- Ausklappbare Inhalte ---------- */
.klapp-gruppe{display:grid;gap:.75rem}
.klapp{background:var(--papier);border:2px solid var(--braun);border-radius:var(--radius);overflow:hidden}
.klapp summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3.75rem;padding:.8rem 1.1rem;cursor:pointer;font-family:var(--schrift-kopf);font-size:1.18rem;font-weight:720;line-height:1.2;letter-spacing:-.01em;color:var(--braun-tief);list-style:none}
.klapp summary::-webkit-details-marker{display:none}
.klapp summary::after{content:"";flex:none;width:1.9rem;height:1.9rem;border-radius:50%;background:
  linear-gradient(var(--braun),var(--braun)) center/.9rem 3px no-repeat,
  linear-gradient(var(--braun),var(--braun)) center/3px .9rem no-repeat,
  var(--beige-tief)}
.klapp[open] > summary::after{background:linear-gradient(var(--braun),var(--braun)) center/.9rem 3px no-repeat,var(--beige-tief)}
.klapp summary:hover{background:var(--beige)}
.klapp summary:focus-visible{outline-offset:-6px;border-radius:0;box-shadow:none}
.klapp[open] > summary{border-bottom:1px solid var(--linie)}
.klapp-inhalt{padding:1.1rem 1.1rem 1.4rem}
.klapp-inhalt > p{max-width:var(--lesebreite)}
.klapp-inhalt > p + p,.klapp-inhalt > p + ul,.klapp-inhalt > ul + p{margin-top:.9em}
.klapp-alle{display:inline-flex;align-items:center;min-height:2.75rem;margin:0 0 .8rem;padding:.4rem 1rem;border:2px solid var(--braun);border-radius:999px;background:transparent;color:var(--braun);font:inherit;font-size:.92rem;font-weight:700;cursor:pointer}
.klapp-alle:hover{background:var(--braun);color:var(--papier)}
.klapp-schmal{margin-top:1.8rem;max-width:44rem}
.quelle{margin-top:1rem;font-size:.9rem;color:var(--taupe-dunkel)}
.quelle a{font-weight:650}
.punkte li{position:relative;padding:.3rem 0 .3rem 1.5rem;max-width:var(--lesebreite)}
.punkte li::before{content:"";position:absolute;left:.1rem;top:.88em;width:.6rem;height:.6rem;border-radius:50%;background:var(--salbei-dunkel)}

/* ---------- Gruppen mit Beispielen (Belastungen, Anzeichen) ---------- */
.gruppen,.anzeichen{display:grid;gap:1.8rem;margin-top:1.2rem}
.anzeichen{margin-top:0}
.gruppe h3{font-family:var(--schrift-text);font-size:.8125rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;padding-bottom:.55rem;border-bottom:3px solid var(--braun);color:var(--braun-tief)}
.gruppe li{padding:.8rem 0;border-bottom:1px solid var(--linie);color:var(--taupe-dunkel);line-height:1.45}
.gruppe li strong{display:block;margin-bottom:.1rem;font-family:var(--schrift-kopf);font-size:1.18rem;font-weight:720;line-height:1.2;letter-spacing:-.01em;color:var(--braun-tief)}
.wichtig{margin-top:2.2rem;padding:1.4rem 1.25rem 1.5rem;background:var(--salbei-hell);border-left:6px solid var(--salbei-dunkel);border-radius:0 var(--radius) var(--radius) 0}
.wichtig h3{font-size:1.4rem}
.wichtig p{margin-top:.7rem;max-width:var(--lesebreite)}
.wichtig a{font-weight:700}

/* ---------- Ausprobieren: Soforthilfe-Schritte ---------- */
.guide{padding:1.4rem 1.2rem 1.6rem;background:var(--papier);border:2px solid var(--braun);border-radius:var(--radius)}
.guide h3{font-size:1.55rem}
.guide-intro{margin-top:.5rem;max-width:34rem}
.schritte,.weg{margin-top:1.6rem;counter-reset:schritt}
.schritte > li,.weg > li{counter-increment:schritt;position:relative;padding:0 0 1.7rem 3.5rem}
.schritte > li:last-child,.weg > li:last-child{padding-bottom:0}
.schritte > li::before,.weg > li::before{content:counter(schritt);position:absolute;left:0;top:0;width:2.4rem;height:2.4rem;display:grid;place-items:center;border-radius:50%;background:var(--rosa-dunkel);color:var(--papier);font-family:var(--schrift-kopf);font-weight:800;font-size:1.1rem}
.schritte > li::after,.weg > li::after{content:"";position:absolute;left:1.15rem;top:2.6rem;bottom:.25rem;width:2px;background:var(--linie)}
.schritte > li:last-child::after,.weg > li:last-child::after{display:none}
.schritte h4,.weg h4{padding-top:.15rem}
.schritte p,.weg p{margin-top:.3rem;max-width:34rem}
.schritte a{font-weight:700}
.guide-fuss{margin-top:1.6rem;padding-top:1.1rem;border-top:1px solid var(--linie);font-weight:600;max-width:36rem}

.atem{margin-top:1.1rem;display:grid;gap:1rem;padding:1.1rem 1.1rem 1.3rem;background:var(--beige);border:2px solid var(--braun);border-radius:var(--radius)}
.atem-bild{position:relative;display:grid;place-items:center;height:10.5rem}
.atem-steuerung{display:grid;gap:.85rem;justify-items:start}
.atem-kreis{position:absolute;width:10rem;height:10rem;border-radius:50%;background:var(--salbei);border:3px solid var(--braun);transform:scale(.55);transition:transform 4s ease-in-out}
.atem.ein .atem-kreis{transform:scale(1);transition-duration:4s}
.atem.aus .atem-kreis{transform:scale(.55);transition-duration:6s}
.atem-text{font-family:var(--schrift-kopf);font-weight:780;font-size:1.5rem;line-height:1.1;color:var(--braun-tief)}
.atem-text small{display:block;font-family:var(--schrift-text);font-weight:600;font-size:.95rem;margin-top:.25rem;color:var(--taupe-dunkel)}
.atem .knopf{min-height:3rem;padding:.55rem 1.3rem;font-size:1rem}
.atem-hinweis{font-size:.9375rem;color:var(--taupe-dunkel);max-width:32rem}
.hinweisband{margin-top:2rem;padding:1rem 1.2rem;background:var(--papier);border:2px solid var(--braun);border-left-width:8px;border-radius:var(--radius);font-weight:600;max-width:44rem}

/* ---------- Hilfe finden ---------- */
.hilfe-oben{display:grid;gap:1.4rem}
.block{padding:1.4rem 1.25rem 1.5rem;background:var(--papier);border:2px solid var(--taupe);border-radius:var(--radius)}
.block h3{font-size:1.45rem}
.block > p{margin-top:.5rem;max-width:var(--lesebreite)}
.block .unter{margin-top:1.1rem}
.block .punkte{margin-top:.3rem}
.block .weg{margin-top:1.3rem}
.block .quelle{margin-top:1.2rem}
.notfall{display:grid;gap:1rem;align-items:center;margin-top:1.4rem;padding:1.3rem 1.25rem;background:var(--rosa-hell);border:2px solid var(--rosa-dunkel);border-left-width:10px;border-radius:var(--radius)}
.notfall h3{font-size:1.5rem}
.notfall p{margin-top:.4rem;max-width:42rem}
.notfall a.tel{font-weight:750;white-space:nowrap}
.notfall a.nummer{justify-self:start;font-size:1.9rem;min-height:3.4rem;padding-inline:1.3rem}
.dienste{display:grid;gap:1.1rem;margin-top:1.4rem}
.dienst{padding:1.4rem 1.3rem 1.5rem;background:var(--papier);border:2px solid var(--taupe);border-radius:var(--radius)}
.dienst h3{font-size:1.45rem}
.dienst .wer{margin-top:.2rem;color:var(--taupe-dunkel);font-size:.98rem}
.nummern{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
.dienst .nummer{font-size:1.45rem;min-height:3.1rem}
.dienst ul.fakten{margin-top:1rem;display:grid;gap:.3rem}
.dienst .fakten li{position:relative;padding-left:1.3rem}
.dienst .fakten li::before{content:"";position:absolute;left:0;top:.78em;width:.6rem;height:3px;background:var(--salbei-dunkel)}
.dienst .extern{display:inline-flex;align-items:center;min-height:2.75rem;margin-top:.6rem;font-weight:700}
.weitere{margin-top:1.4rem;display:grid;gap:1.2rem;padding-top:1.4rem;border-top:3px solid var(--braun)}
.weitere h3{font-size:1.15rem}
.weitere p{margin-top:.25rem}
.weitere a.tel{font-weight:750;white-space:nowrap}
.stand{margin-top:1.8rem;font-size:.9375rem;color:var(--taupe-dunkel);max-width:40rem}

/* ---------- Schulprojekt ---------- */
.projekt-liste{display:grid;gap:0;border-top:3px solid var(--braun)}
.projekt-liste li{display:grid;gap:.4rem;padding:1.05rem 0;border-bottom:1px solid var(--linie)}
.projekt-liste strong{font-family:var(--schrift-kopf);font-size:1.22rem;font-weight:720;line-height:1.2;color:var(--braun-tief)}
.projekt-liste p{color:var(--taupe-dunkel);max-width:36rem}
.status{display:inline-block;justify-self:start;padding:.18rem .65rem;border-radius:999px;font-size:.8125rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;line-height:1.4}
.status-da{background:var(--salbei-dunkel);color:var(--papier);border:2px solid var(--salbei-dunkel)}
.status-plan{background:transparent;color:var(--braun);border:2px solid var(--braun)}
.projekt-fuss{margin-top:1.5rem;max-width:36rem;color:var(--taupe-dunkel)}

/* ---------- Quellen / Hinweise ---------- */
.quellen-titel{margin-top:1.6rem;font-family:var(--schrift-text);font-size:.8125rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--taupe-dunkel)}
.quellen-titel:first-child{margin-top:0}
.quellen-liste{margin-top:.5rem;display:grid;gap:0;border-top:1px solid var(--linie)}
.quellen-liste li{padding:.2rem 0 .8rem;border-bottom:1px solid var(--linie)}
.quellen-liste a{display:inline-block;min-height:2.75rem;padding-block:.65rem 0;font-weight:700;overflow-wrap:anywhere}
.quellen-liste span{display:block;color:var(--taupe-dunkel);font-size:.95rem;margin-top:.1rem}
.haftung{margin-top:2.2rem;padding:1.3rem 1.25rem;background:var(--papier);border:2px solid var(--taupe);border-left:8px solid var(--rosa-dunkel);border-radius:var(--radius);max-width:46rem}
.haftung h3{font-size:1.2rem}
.haftung p{margin-top:.5rem}
.rechtlich{margin-top:2.2rem}
.rechtlich h3{font-size:1.15rem}
.rechtlich p{margin-top:.4rem;max-width:40rem;color:var(--taupe-dunkel)}

/* ---------- Hinweisband ganz oben ---------- */
.projektband{background:var(--beige-tief);border-bottom:2px solid var(--braun)}
.projektband p{padding-block:.75rem;font-size:1rem;font-weight:700;line-height:1.4;color:var(--braun-tief);hyphens:none;-webkit-hyphens:none}

/* ---------- Impressum ganz unten ---------- */
.impressum{background:var(--beige-tief);border-top:4px solid var(--braun);padding-block:clamp(2.4rem,6vw,3.6rem)}
.impressum h2{font-size:clamp(1.8rem,5.5vw,2.6rem)}
.impressum p{hyphens:none;-webkit-hyphens:none}
.impressum .impressum-schule{margin-top:1.1rem;font-family:var(--schrift-kopf);font-size:1.4rem;font-weight:740;line-height:1.25;color:var(--braun-tief)}
.impressum .impressum-namen{margin-top:.35rem;font-size:1.2rem;font-weight:600;line-height:1.5;color:var(--braun)}
.impressum .impressum-links{margin-top:1.6rem;padding-top:1.1rem;border-top:1px solid var(--linie);font-size:1rem}
.impressum .impressum-links a{display:inline-block;min-height:2.75rem;padding-block:.55rem;font-weight:650}

/* ---------- 404 ---------- */
.leer{min-height:60vh;display:grid;align-content:center;gap:1.2rem;padding-block:4rem}

/* ================= ab 560px ================= */
@media (min-width:560px){
  :root{--gutter:1.75rem}
  .aktionen{flex-direction:row;flex-wrap:wrap}
  .themen ul{grid-template-columns:1fr 1fr}
  .projekt-liste li{grid-template-columns:8.5rem 1fr;column-gap:1.2rem;align-items:baseline}
  .projekt-liste li > div{display:grid;gap:.25rem}
  .weitere{grid-template-columns:1fr 1fr;column-gap:3rem}
  .guide{padding:1.7rem 1.7rem 1.9rem}
}

/* ================= ab 860px ================= */
@media (min-width:860px){
  :root{--gutter:2.25rem;--kopfhoehe:4.5rem}
  body{font-size:1.125rem}
  .marke{font-size:1.45rem}

  .held{padding-block:clamp(3.5rem,6vw,5.5rem) clamp(3.5rem,6vw,5rem)}
  .held-raster{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:clamp(2.5rem,5vw,5.5rem);align-items:center}
  .held-text{grid-column:1;grid-row:1}
  .held-grafik{display:block;grid-column:2;grid-row:1}
  .themen{grid-column:1/-1;grid-row:2;margin-top:3rem}
  .themen ul{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
  .karte{align-items:flex-start;flex-wrap:wrap;gap:.75rem;min-height:9.2rem;padding:1.1rem 1.1rem 1rem}
  .karte .karte-text{flex:1 0 100%;order:3}
  .karte .pfeil{order:2;margin:.9rem .5rem 0 auto}
  .karte .zahl{order:1}
  .schnell{grid-column:1/-1;grid-row:3;margin-top:2.2rem}
  .schnell ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:2.5rem}
  .schnell li{border-bottom:0;padding:.9rem 0 .3rem}

  .zwei{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:clamp(2.5rem,6vw,6rem);align-items:start}
  .zwei > .kopfzeile{margin-bottom:0;position:sticky;top:calc(var(--kopfhoehe) + 2rem)}
  .kopfzeile .lead{font-size:1.18rem}

  .guide{padding:2rem 2rem 2.2rem}
  .atem{grid-template-columns:11rem 1fr;align-items:center;column-gap:1.6rem}
  .atem-bild{width:11rem;height:11rem}

  .hilfe-oben{grid-template-columns:1fr 1fr;gap:1.6rem;align-items:start}
  .notfall{grid-template-columns:1fr auto;column-gap:2rem}
  .notfall a.nummer{justify-self:end}
  .dienste{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem}
  .dienst .wer{font-size:1rem}
  .projektband p{font-size:1.05rem}
}

/* Navigation in einer Zeile erst, wenn sie neben Marke und Hilfe-Knopf passt; darunter bleibt das Menue-Knopf-Menue */
@media (min-width:980px){
  .marke{margin-right:.6rem}
  .menue-knopf{display:none}
  .menue{position:static;display:block;background:transparent;border:0;box-shadow:none;margin-left:auto}
  .menue ul{display:flex;gap:1.15rem;padding:0;max-width:none}
  .menue a{min-height:2.75rem;border:0;font-size:.95rem;padding-inline:.15rem}
  .menue .nur-menue{display:none}
  .menue a[aria-current="true"]{text-decoration:underline;text-decoration-thickness:.16em}
}

/* ================= Nutzerpraeferenzen: immer am Ende ================= */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none !important;transition:none !important}
  .atem-kreis{transform:scale(.8)}
}
@media (forced-colors:active){
  .knopf,.hilfe-knopf,.menue-knopf,.nummer,.karte,.klapp,.weiter a{border:2px solid ButtonText}
}
