/* Michael Eden · Das Mobile
   Rosé ist die Wand, auf der alles hängt. Stäbe, Fäden und Scheiben tragen den Inhalt. */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-opsz-normal.woff2") format("woff2");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-300-opsz-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-hyperlegible-next-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Palette C „Rosé & Oliv“ */
  --wand: #f3dacf;
  --wand-tief: #eecfc2;   /* zweiter Hellton: helle Kapitel wechseln zwischen --wand und --wand-tief (2026-11-08) */
  --papier: #faf6f0;
  --gruen: #2f4a33;
  --gruen-tief: #233826;
  --oliv: #3a3f2c;
  --terra: #d97a5c;
  --terra-text: #b8573a;   /* Terrakotta für Text auf hellen Flächen (Kontrast >= 3:1) */
  --tinte: #1d1e18;
  --neben: #575850;
  --hell: #f7f1e8;
  --hell-neben: #d9cfbf;
  --fehler: #9c3f26;
  --schatten: 74 38 26;

  --titel: "Newsreader", "Iowan Old Style", Georgia, serif;
  --text: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;

  /* Größen */
  --groesse-h1: clamp(2.05rem, 1.1rem + 3vw, 3.25rem);
  --groesse-h2: clamp(1.95rem, 1.25rem + 2.3vw, 3.05rem);
  --groesse-satz: clamp(1.4rem, 1.15rem + 0.9vw, 1.85rem);
  --groesse-text: 1.0625rem;

  /* Abstände */
  --rand: clamp(1.25rem, 5vw, 6.5rem);
  --leiste-hoehe: 4rem;
  --spalte: 62rem;
  --abstand-abschnitt: clamp(3.75rem, 3rem + 2.4vw, 5.5rem);   /* 2026-11-08 verkleinert (war clamp(5rem, 3.6rem + 4.6vw, 8rem)): Farbwechsel trennt die Kapitel schon */

  /* Einstieg: Platz für das Mobile über der Überschrift (Regler in Phase 6) */
  --einstieg-oben-handy: min(108.3vw, 580px); /* war min(118vw, 630px); kleiner, weil das Handy-Mobile seit 2026-11-08 10 % kleiner ist */
  --einstieg-oben-desktop: clamp(350px, 27.5vw, 450px);
  --einstieg-text-breite: 9.7em; /* rund 22 Zeichen je Zeile */

  --haken: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 18'%3E%3Cpath d='M7 0v9c-5 1-5 8 0 8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --feder: cubic-bezier(.34, 1.56, .64, 1);
  --aus: cubic-bezier(.16, 1, .3, 1);
}

/* Ab 1200 px füllt die Spalte die Breite bis zum rechten Rand (bei 1440 px genau) */
@media (min-width: 1200px) {
  :root { --spalte: 74rem; }
}


*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  scrollbar-color: var(--gruen) var(--wand);
  background: var(--wand);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

a, button, summary, label, input { -webkit-tap-highlight-color: transparent; }
a, button, summary, .chip, .waage-art label { touch-action: manipulation; }
main:focus { outline: none; }

body {
  margin: 0;
  background: var(--wand);
  color: var(--tinte);
  font-family: var(--text);
  font-size: var(--groesse-text);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--terra); color: var(--tinte); }

img, svg { display: block; max-width: 100%; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 {
  font-family: var(--titel);
  font-weight: 300;
  font-optical-sizing: auto;
  letter-spacing: -0.012em;
}
h1 { font-size: var(--groesse-h1); line-height: 1.07; }
h2 { font-size: var(--groesse-h2); line-height: 1.1; margin-bottom: 1.4rem; }
h3 { font-size: 1.125rem; line-height: 1.35; font-weight: 600; }

p { margin: 0 0 1.05em; max-width: 64ch; text-wrap: pretty; }

/* Betonung in Überschriften (2026-11-08), zwei Stufen:
   1. <em class="welle">: kursiv mit gezeichneter Terrakotta-Welle. Nur am Anfang (Schieflage) und am Schluss.
   2. <em>: gerade, in Terrakotta. Auf hellen Flächen dunkler (#b8573a, Kontrast >= 3:1 für große Schrift),
      auf dunklen Flächen das normale Terrakotta. */
h1 em, h2 em { font-style: normal; color: var(--terra-text); }
.block-dunkel h1 em, .block-dunkel h2 em, .block-gruen h2 em { color: var(--terra); }
h1 em.welle, h2 em.welle {
  font-style: italic; color: inherit;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5 C 20 2, 40 7, 60 4 S 90 3, 98 5' fill='none' stroke='%23d97a5c' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 96% / 100% .24em;
  padding-bottom: .06em;
  padding-right: .04em;
}
/* Vorschau-Variante: Terrakotta-Wort etwas kräftiger (Schnitt 400 statt 300) */
.betonung-400 h1 em:not(.welle), .betonung-400 h2 em:not(.welle) { font-weight: 400; }

a { color: var(--gruen); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2.5px; }

:focus-visible { outline: 2.5px solid var(--gruen); outline-offset: 3px; border-radius: 4px; }
.block-dunkel :focus-visible, .block-gruen :focus-visible { outline-color: var(--hell); }

.nowrap { white-space: nowrap; }
.unsichtbar {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sprung {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gruen); color: var(--papier); padding: .7rem 1.1rem; border-radius: 40px;
  font-weight: 600; text-decoration: none;
}
.sprung:focus { top: 1rem; }

/* ---------- Pillen ---------- */
.pille {
  --faden-l: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 3rem;
  padding: .78rem 1.45rem;
  border: 1.5px solid var(--gruen);
  border-radius: 40px;
  background: var(--gruen);
  color: var(--papier);
  font: 600 1rem/1.2 var(--text);
  text-decoration: none;
  cursor: pointer;
  transform-origin: 50% calc(-1 * var(--faden-l));
  transition: background-color .2s ease, color .2s ease, transform .7s var(--feder);
  -webkit-tap-highlight-color: transparent;
}
.pille:hover { background: var(--gruen-tief); border-color: var(--gruen-tief); }
.pille:active { transform: scale(.97); }
.pille--klein { min-height: 2.5rem; padding: .5rem 1rem; font-size: .9375rem; }
.pille--kontur { background: transparent; color: var(--gruen); }
.pille--kontur:hover { background: rgba(47, 74, 51, .09); color: var(--gruen-tief); }
.pille--kontur-hell { background: transparent; color: var(--hell); border-color: var(--hell); }
.pille--kontur-hell:hover { background: rgba(247, 241, 232, .12); border-color: var(--hell); }

/* Eine Pille, die an einem Faden hängt */
.pille--faden { --faden-l: 2.4rem; margin-top: var(--faden-l); }
.pille--faden::before {
  content: ""; position: absolute; left: 50%; bottom: 100%;
  width: 1.2px; height: calc(var(--faden-l) + 1.5px);
  background: currentColor; transform: translateX(-50%);
}
.pille--faden:not(.pille--kontur)::before { background: var(--gruen); }
/* Wo kein Stab darüber ist, hängt der Faden an einem Haken in der Wand (wie das große Mobile) */
.pille--faden::after {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + var(--faden-l) - 1px);
  width: .5rem; height: .5rem; border: 1.5px solid var(--gruen); border-radius: 50%;
  transform: translateX(-50%); box-sizing: border-box;
}
.pille--kontur-hell.pille--faden::after, .block-dunkel .pille--faden::after { border-color: var(--hell); }
.block-dunkel .formular .pille--faden::after { border-color: var(--gruen); }
.pille--kontur-hell.pille--faden::before { background: var(--hell); }
.anruf .pille--faden, .kontakt-wege .pille--faden { --faden-l: 1.5rem; }
.anruf { align-items: flex-end; }
.anruf-zeit { padding-bottom: .9rem; }
.block-dunkel .pille--faden::before { background: var(--hell); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pille--faden:hover { transform: rotate(-3deg); }
}

/* ---------- Kopf und Leiste ---------- */
.kopf {
  position: absolute; z-index: 5; left: 0; right: 0; top: 0;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1.1rem var(--rand) 0;
  pointer-events: none;
}
.kopf > * { pointer-events: auto; }
/* Logo im Kopf, Layout C (2026-11-08): alle Maße in em der Namensgröße, nach logo/final/quellen/logo.js.
   E-Oberkante = Oberlänge des Namens, E-Unterkante = Grundlinie der Zeile; Zeile gesperrt, so breit wie der Name. */
.marke { --marke: 1.6rem; display: flex; align-items: flex-start; gap: calc(var(--marke) * .389); color: var(--gruen); text-decoration: none; font-size: var(--marke); }
.marke-zeichen { height: 1.287em; width: auto; flex: none; margin-top: -.008em; }
.marke-text { display: flex; flex-direction: column; }
.marke-name { font-family: var(--titel); font-weight: 400; font-size: 1em; line-height: 1; color: var(--tinte); letter-spacing: -.005em; }
.marke-zeile { font-size: .437em; font-weight: 500; color: var(--neben); margin-top: -.174em; line-height: 1; letter-spacing: .173em; white-space: nowrap; }

.leiste {
  min-height: var(--leiste-hoehe); box-sizing: border-box;
  position: fixed; z-index: 30; top: 0; left: 0; right: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 .9rem;
  padding: .45rem var(--rand) .1rem;
  background: rgba(243, 218, 207, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 1px 0 rgba(47, 74, 51, .14), 0 10px 24px -18px rgb(var(--schatten) / .5);
  transform: translateY(-110%);
  transition: transform .45s var(--aus);
}
.leiste.ist-sichtbar, .leiste:focus-within { transform: none; }
/* Leiste: dasselbe Logo (Layout C) wie im Kopf, nur kleiner; Maße kommen aus .marke */
.leiste-marke { --marke: 1.6rem; margin-right: auto; }  /* gleich groß wie im Kopf: Zeile bleibt über 11 px */
@media (max-width: 320px) { .leiste-marke .marke-text { display: none; } }

/* ---------- Mobile (gezeichnet von mobile.js) ---------- */
.mobil { position: relative; }
.mobil > svg.mobil-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mobil .scheibe-knopf { cursor: pointer; }
.mobil a:focus { outline: none; }
.mobil a:focus-visible .scheibe-kreis { stroke: var(--gruen); stroke-width: 3px; }
.mobil text { font-family: var(--text); pointer-events: none; }

/* ---------- Einstieg ---------- */
.einstieg {
  position: relative;
  padding: var(--einstieg-oben-handy) var(--rand) clamp(3rem, 8vw, 6rem);
}
.einstieg-mobil { position: absolute; inset: 0; z-index: 1; }
.einstieg-text { position: relative; z-index: 2; pointer-events: none; }
.einstieg-text > * { pointer-events: auto; }
.einstieg h1 { max-width: var(--einstieg-text-breite); margin-bottom: 1.4rem; }
.einstieg h1, .einstieg-intro, .anruf { pointer-events: auto; }
.einstieg-intro { max-width: 34em; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); }
.anruf { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; margin-top: 1.6rem; }
.anruf-zeit { margin: 0; font-size: .9375rem; color: var(--neben); }

.haenge-pille {
  position: absolute; z-index: 3; left: 55%; top: 382px; white-space: nowrap;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  will-change: transform;
  transition: background-color .2s ease;
  box-shadow: 0 10px 22px -12px rgb(var(--schatten) / .55);
}
.haenge-pille:active { transform: none; }
.ist-bereit .haenge-pille { left: 0; top: 0; }

@media (min-width: 1000px) {
  .einstieg { padding-top: var(--einstieg-oben-desktop); min-height: min(100svh, 980px); }
  .haenge-pille { top: 400px; left: 24%; }
  .einstieg-intro { max-width: 31em; }
}

/* ---------- Abschnitte ---------- */
.abschnitt {
  position: relative;
  padding: var(--abstand-abschnitt) var(--rand);
}
/* Abschnitte außerhalb des Bildschirms legt der Browser erst aus, wenn sie näher kommen (schneller Seitenstart) */
.abschnitt, .fuss { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
@media (min-width: 900px) { .abschnitt, .fuss { contain-intrinsic-size: auto 860px; } }
/* Vor einem Sprung zu einem Abschnitt alles auslegen, damit er genau landet (main.js) */
.alles-ausgelegt .abschnitt, .alles-ausgelegt .fuss { content-visibility: visible; }
.innen { max-width: var(--spalte); }
.innen + .innen { margin-top: clamp(3rem, 6vw, 5rem); }

/* Faden mit Scheibe, an dem jeder Abschnitt hängt */
.satz {
  font-family: var(--titel); font-weight: 300; font-size: var(--groesse-satz);
  line-height: 1.28; letter-spacing: -.008em; max-width: 30ch;
  margin: 1.6em 0 1.2em;
}
.satz--klein { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); max-width: 34ch; margin-top: 0; }

.raster-zwei { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 900px) {
  .raster-zwei { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
  .raster-zwei--bild-links { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .raster-zwei--bild-links > .spalte-bild { order: -1; }
  .spalte-bild { position: sticky; top: 6rem; }
}

/* Dunkle Blöcke */
/* Kapitelwechsel: jeder zweite helle Abschnitt im tieferen Rosé */
.ton-tief { background: var(--wand-tief); }
.block-dunkel { background: var(--oliv); color: var(--hell); }
.block-gruen { background: var(--gruen); color: var(--hell); }
.block-dunkel h3, .block-gruen h3 { color: var(--hell); }
.block-dunkel a:not(.pille), .block-gruen a:not(.pille) { color: var(--hell); }

/* ---------- Anliegen ---------- */
.raster-anliegen { display: grid; gap: 2.2rem; }
.anliegen-kopf p { max-width: 36ch; }
.anliegen-kopf i { font-family: var(--titel); font-size: 1.2em; font-weight: 300; font-style: italic; }
@media (min-width: 900px) {
  .raster-anliegen { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(2.5rem, 5vw, 5rem); }
  .anliegen-kopf { position: sticky; top: 6rem; align-self: start; }
  .anliegen-satz { grid-column: 2; } /* rechte Spalte, damit der mitlaufende Kopf links nie darübergleitet */
}

/* Themen hängen als Kette untereinander */
.themen { list-style: none; margin: 0; padding: 0; position: relative; }
.themen li {
  position: relative;
  padding: 0 0 2rem 3.6rem;
}
.themen li:last-child { padding-bottom: 0; }
.themen li::before {
  content: ""; position: absolute; left: 1.2rem; top: 0; bottom: 0; width: 1.2px;
  background: var(--gruen); transform: translateX(-50%);
}
.themen li:first-child::before { top: -1.4rem; }
.themen li:last-child::before { bottom: auto; height: calc(.75rem - var(--r)); }
.themen li::after {
  content: ""; position: absolute; left: 1.2rem; top: calc(.75rem - var(--r));
  width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.22), rgba(255,255,255,0) 52%), var(--c);
  box-shadow: 5px 9px 14px -6px rgb(var(--schatten) / .45);
}
.themen h3 { font-family: var(--titel); font-weight: 400; font-size: 1.45rem; line-height: 1.15; margin-bottom: .35rem; letter-spacing: -.005em; }
.themen p { margin: 0; color: var(--tinte); }
.anliegen-satz { max-width: 34ch; margin-top: 1rem; }

/* Haken in der Wand: wo ein Faden oben in der freien Fläche beginnt, hängt er hier
   (gleiche Form wie der Haken der großen Mobiles; der Faden setzt unten am Bogen an) */
.themen::before, .kette::before, .schritte::after, .frei-scheibe::after {
  content: ""; position: absolute; width: 12px; height: 18px; background: var(--gruen);
  -webkit-mask: var(--haken) no-repeat center / contain; mask: var(--haken) no-repeat center / contain;
}
.themen::before { left: calc(1.2rem - 7px); top: calc(-1.4rem - 17px); }
.kette { position: relative; }
.kette::before { left: calc(1.25rem - 7px); top: calc(-.7rem - 17px); }
.block-dunkel .kette::before { background: var(--hell); }
.schritte::after { left: calc(1.6rem - 7px); top: calc(-2rem - 17px); }
.frei-scheibe::after { left: calc(50% - 7px); bottom: calc(100% + 3.2rem - 1px); }

/* ---------- Paare ---------- */
.paar-mobil { height: clamp(220px, 60vw, 300px); }

/* ---------- Kette: Akkordeons als Scheiben mit Plus ---------- */
.kette { list-style: none; margin: 2.2rem 0 0; padding: 0; }
.kette > li { position: relative; }
.kette > li::before, .kette > li::after {
  content: ""; position: absolute; left: 1.25rem; width: 1.2px; background: var(--gruen); transform: translateX(-50%);
}
.kette > li::before { top: 0; height: .85rem; }
.kette > li::after { top: 3.35rem; bottom: 0; }
.kette > li:first-child::before { top: -.7rem; height: 1.55rem; }
.kette > li:last-child::after { display: none; }
.kette > li:last-child:has(details[open])::after { display: block; height: calc(100% - 3.35rem - 1rem); bottom: auto; }
.block-dunkel .kette > li::before, .block-dunkel .kette > li::after { background: var(--hell); }

.kette summary {
  display: flex; align-items: center; gap: 1.1rem;
  min-height: 4.2rem; padding: .85rem 0;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.35;
  cursor: pointer; list-style: none;
}
.kette summary::-webkit-details-marker { display: none; }
.kette summary:hover { color: var(--gruen-tief); }
.block-dunkel .kette summary:hover { color: #fff; }
.plus {
  position: relative; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.6), rgba(255,255,255,0) 55%), var(--papier);
  box-shadow: 4px 8px 14px -7px rgb(var(--schatten) / .55);
  transition: transform .6s var(--feder), background-color .3s ease;
}
.plus::before, .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: .95rem; height: 2px; border-radius: 2px;
  background: var(--gruen); transform: translate(-50%, -50%);
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.kette summary:hover .plus { transform: rotate(-8deg) scale(1.06); }
details[open] > summary .plus { transform: rotate(45deg); }
.block-dunkel .plus { box-shadow: 4px 8px 14px -7px rgba(0,0,0,.6); }
.block-dunkel .plus::before, .block-dunkel .plus::after { background: var(--oliv); }

.kette-inhalt { padding: 0 0 1.4rem 3.6rem; }
.kette-inhalt p:last-child { margin-bottom: 0; }

@supports (interpolate-size: allow-keywords) {
  .kette details { interpolate-size: allow-keywords; }
  .kette details::details-content {
    block-size: 0; overflow: clip;
    transition: block-size .45s var(--aus), content-visibility .45s allow-discrete;
  }
  .kette details[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .kette details::details-content { transition: none; }
}

.plus-liste { list-style: none; margin: 0; padding: 0; max-width: 62ch; }
.plus-liste li { position: relative; padding-left: 1.5rem; margin-bottom: .65rem; }
.plus-liste li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: .7rem; height: 1.5px; background: var(--terra);
  box-shadow: none;
}
.plus-liste li::after {
  content: ""; position: absolute; left: .35rem; top: calc(.72em - .35rem + .75px); width: 1.5px; height: .7rem; background: var(--terra);
  transform: translateX(-50%);
}

/* ---------- Orte ---------- */
.orte-intro { font-family: var(--titel); font-weight: 300; font-size: var(--groesse-satz); line-height: 1.25; margin-bottom: 0; }
.orte-mobil { height: 290px; margin: .5rem 0 0; }
.orte-liste { display: grid; gap: 2rem; }
.ort h3 { font-family: var(--titel); font-weight: 400; font-size: 1.5rem; line-height: 1.15; margin-bottom: .5rem; letter-spacing: -.005em; }
.ort p { margin: 0; }
@media (min-width: 760px) {
  .orte-mobil { height: 300px; }
  .orte-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
}

/* ---------- Arbeitsweise (Oliv) ---------- */
.arbeitsweise .satz { color: var(--hell); }
.haltung-mobil { height: clamp(260px, 72vw, 360px); }
.arbeitsweise figure { margin: 0; }
.arbeitsweise figcaption {
  font-family: var(--titel); font-weight: 300; font-size: 1.3rem; line-height: 1.35;
  color: var(--hell); text-align: center; max-width: 24ch; margin: .2rem auto 0;
}

/* ---------- Ablauf ---------- */
.raster-ablauf { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .raster-ablauf { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(2.5rem, 5vw, 5rem); }
  .raster-ablauf h2 { position: sticky; top: 6rem; align-self: start; }
}
.schritte { list-style: none; margin: 0; padding: 0; position: relative; --linie: 1; }
.schritte::before {
  content: ""; position: absolute; left: 1.6rem; top: -2rem; bottom: var(--linie-ende, 0px); width: 1.2px;
  background: var(--gruen); transform-origin: top; transform: translateX(-50%) scaleY(var(--linie));
}
.schritt { position: relative; padding: 0 0 2.4rem 4.6rem; min-height: 4rem; }
.schritt-scheibe {
  position: absolute; left: 1.6rem; top: -.35rem; transform: translateX(-50%);
  display: grid; place-items: center;
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background-color: var(--c, var(--gruen));
  background-image: radial-gradient(circle at 34% 28%, rgba(255,255,255,.22), rgba(255,255,255,0) 52%);
  color: var(--t, var(--hell));
  font: 400 1.45rem/1 var(--titel);
  box-shadow: 5px 9px 16px -7px rgb(var(--schatten) / .5);
}
.schritt h3 { font-family: var(--titel); font-weight: 400; font-size: 1.45rem; line-height: 1.2; margin-bottom: .35rem; }
.schritt p { margin: 0; }

/* ---------- Kosten ---------- */
.waage { display: grid; gap: .5rem; }
.waage-mobil { height: clamp(250px, 66vw, 320px); }
.waage-regler { max-width: 26rem; }
.waage-art { border: 0; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.waage-art label { position: relative; }
.waage-art input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.waage-art span {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.1rem;
  border: 1.5px solid var(--gruen); border-radius: 40px; font-weight: 600; font-size: .9375rem; color: var(--gruen);
  transition: background-color .2s ease, color .2s ease;
}
.waage-art input:checked + span { background: var(--gruen); color: var(--papier); }
.waage-art input:focus-visible + span { outline: 2.5px solid var(--gruen); outline-offset: 3px; }
.waage-art label:hover span { background: rgba(47,74,51,.09); }
.waage-art label:hover input:checked + span { background: var(--gruen-tief); }
.waage-label { display: block; font-weight: 600; margin-bottom: .3rem; }

/* Schieberegler: der Stab ist die Spur, eine Scheibe der Griff */
.waage-betrag { -webkit-appearance: none; appearance: none; width: 100%; height: 2.75rem; background: transparent; margin: 0; cursor: pointer; }
.waage-betrag::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: var(--gruen); }
.waage-betrag::-moz-range-track { height: 3px; border-radius: 3px; background: var(--gruen); }
.waage-betrag::-webkit-slider-thumb {
  -webkit-appearance: none; width: 1.75rem; height: 1.75rem; margin-top: calc(-.875rem + 1.5px); border-radius: 50%; border: 0;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.3), rgba(255,255,255,0) 55%), var(--gruen);
  box-shadow: 4px 7px 12px -5px rgb(var(--schatten) / .6);
}
.waage-betrag::-moz-range-thumb {
  width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 0;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.3), rgba(255,255,255,0) 55%), var(--gruen);
  box-shadow: 4px 7px 12px -5px rgb(var(--schatten) / .6);
}
.waage-betrag:focus-visible { outline: none; }
.waage-betrag:focus-visible::-webkit-slider-thumb { outline: 2.5px solid var(--gruen); outline-offset: 3px; }
.waage-betrag:focus-visible::-moz-range-thumb { outline: 2.5px solid var(--gruen); outline-offset: 3px; }
.waage-skala { display: flex; justify-content: space-between; font-family: var(--titel); font-size: 1rem; color: var(--neben); margin-top: -.2rem; }
.waage-ausgabe { margin: .9rem 0 0; color: var(--neben); }
.waage-ausgabe output { font-family: var(--titel); font-size: 1.9rem; color: var(--tinte); margin-right: .3rem; font-variant-numeric: tabular-nums; }
/* Handy: Zusatz eine Zeile unter dem Betrag, damit er nicht mitten im Satz umbricht (2026-11-08) */
@media (max-width: 599px) { .waage-ausgabe [data-einheit] { display: block; margin-top: .15rem; font-size: .9375rem; white-space: nowrap; } }

.kosten-unten { display: grid; gap: 2.5rem; align-items: center; }
.frei-scheibe {
  position: relative;
  width: min(100%, 25rem); height: auto; aspect-ratio: 1; border-radius: 50%; align-self: start;
  display: grid; place-items: center; padding: 15%;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.75), rgba(255,255,255,0) 48%), var(--papier);
  box-shadow: 14px 24px 40px -22px rgb(var(--schatten) / .55);
  margin-top: 3.2rem;
}
.frei-scheibe::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 1.2px; height: 3.2rem; background: var(--gruen);
}
.frei-scheibe p { margin: 0; text-align: center; font-family: var(--titel); font-weight: 300; font-size: clamp(1.2rem, 1rem + .7vw, 1.45rem); line-height: 1.3; }
@media (min-width: 900px) {
  .kosten-unten { grid-template-columns: minmax(0, 25rem) minmax(0, 1fr); column-gap: clamp(2.5rem, 5vw, 5rem); }
  .kosten { padding-bottom: calc(var(--abstand-abschnitt) * .6); }
}

/* ---------- Abgrenzung (Waldgrün) ---------- */
.abgrenzung h2 { color: var(--hell); }
.abgrenzung p { color: var(--hell); }
.raster-zwei--oben { align-items: start; }
.notfall h3 { font-family: var(--titel); font-weight: 400; font-size: 1.6rem; margin-bottom: .6rem; }
.notfall-liste { list-style: none; margin: 1rem 0 1.8rem; padding: 0; display: grid; gap: .9rem; }
.notfall-liste a {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 1.1rem;
  text-decoration: none; color: var(--hell);
}
.notfall-nr {
  font-family: var(--titel); font-weight: 300; font-size: clamp(2.3rem, 1.8rem + 2vw, 3.2rem); line-height: 1;
  letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .14em; text-decoration-color: var(--hell-neben);
}
.notfall-liste a:hover .notfall-nr { text-decoration-thickness: 3px; }
.notfall-liste a span:last-child { font-size: .9375rem; line-height: 1.4; color: var(--hell-neben); }

/* ---------- Über mich ---------- */
.ueber { padding-top: 0; }
.foto { margin: 0; }
/* Zwei Foto-Kugeln als Mobile mit Aufhängung (2026-11-08, gebaut in mobile.js: PLAENE.fotos) */
.fotos-mobil { width: min(100%, 24rem); aspect-ratio: 100 / 97; margin-top: calc(var(--abstand-abschnitt) * .6); }
.ueber .spalte-text { padding-top: calc(var(--abstand-abschnitt) * .7 + 1rem); }
/* Über mich: Zwischenüberschriften und Haltungs-Kette (2026-11-08, Kette wie bei den Anliegen, etwas kleiner) */
.ueber-zwischen { font-family: var(--titel); font-weight: 400; font-size: 1.45rem; line-height: 1.2; margin: 2.4rem 0 1rem; }
.themen--haltung { margin: 2.6rem 0 2.4rem; }
.themen--haltung h4 { font-family: var(--titel); font-weight: 400; font-size: 1.25rem; line-height: 1.2; margin: 0 0 .25rem; }
@media (max-width: 899px) {
  .ueber .spalte-text { padding-top: 0; }
}

/* ---------- Fragen ---------- */
.raster-fragen { display: grid; gap: 1rem; }
@media (min-width: 900px) {
  .raster-fragen { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); column-gap: clamp(2.5rem, 5vw, 5rem); }
  .raster-fragen h2 { position: sticky; top: 6rem; align-self: start; }
  .kette--fragen { margin-top: -.6rem; }
  .kette--fragen > li:first-child::before { top: -.4rem; height: 1.25rem; }
}

/* ---------- Kontakt (Oliv) ---------- */
.kontakt { margin-bottom: 0; }
.raster-kontakt { display: grid; gap: 3rem; }
@media (min-width: 900px) {
  .raster-kontakt { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .kontakt-info { position: sticky; top: 6rem; }
}
.kontakt-daten { margin: 1.6rem 0 2rem; display: grid; gap: 1rem; }
.kontakt-daten dt { font-size: .875rem; color: var(--hell-neben); font-weight: 500; }
.kontakt-daten dd { margin: .1rem 0 0; }
.kontakt-wege { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
/* Runde Symbol-Knöpfe (Anrufen, Mail, WhatsApp) */
.pille--symbol { width: 3.25rem; min-height: 3.25rem; height: 3.25rem; padding: 0; border-radius: 50%; }
.pille--symbol svg { width: 1.4rem; height: 1.4rem; flex: none; }
.klein { font-size: .9375rem; color: var(--hell-neben); max-width: 40ch; }

/* Das Formular hängt an zwei Fäden von einem schiefen Stab */
.formular-haenger { position: relative; padding-top: 4.2rem; }
.formular-haenger::before {
  content: ""; position: absolute; left: 6%; right: 4%; top: .9rem; height: 3px; border-radius: 3px;
  background: var(--hell); transform: rotate(-1.6deg); transform-origin: left center;
}
.formular-haenger::after {
  content: ""; position: absolute; top: 0; left: 50%; width: 1.2px; height: 1rem; background: var(--hell);
}
.formular {
  position: relative;
  background: var(--papier); color: var(--tinte);
  border-radius: 12px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
}
.formular::before, .formular::after {
  content: ""; position: absolute; bottom: 100%; width: 1.2px; background: var(--hell);
}
.formular::before { left: 12%; height: 2.95rem; }
.formular::after { right: 10%; height: 3.95rem; }
.block-dunkel .formular a:not(.pille) { color: var(--gruen); }
.block-dunkel .formular h3 { color: var(--tinte); }
.block-dunkel .formular .pille--faden::before { background: var(--gruen); }
.formular :focus-visible { outline-color: var(--gruen); }
.formular-titel { font-family: var(--titel); font-weight: 400; font-size: 1.75rem; margin-bottom: 1.4rem; color: var(--tinte); }

.field { margin: 0 0 1.4rem; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 600; margin-bottom: .4rem; padding: 0; line-height: 1.35; }
.optional { font-weight: 400; color: var(--neben); }
.field input:not([type=checkbox]):not([type=radio]), .field textarea {
  width: 100%; font: 400 1.0625rem/1.4 var(--text); color: var(--tinte);
  background: #fff; border: 1.5px solid var(--neben); border-radius: 12px;
  padding: .75rem .9rem; min-height: 3rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input:hover, .field textarea:hover { border-color: var(--gruen); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gruen); box-shadow: 0 0 0 3px rgba(47,74,51,.22); }
.hinweis { font-size: .9rem; color: var(--neben); margin: .35rem 0 0; }
.field-error { display: none; font-size: .9375rem; font-weight: 600; color: var(--fehler); margin: .4rem 0 0; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error textarea { border-color: var(--fehler); }
.field.has-error .chip span { border-color: var(--fehler); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .45rem 1rem;
  border: 1.5px solid var(--neben); border-radius: 40px; background: #fff;
  font-size: .9688rem; transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover span { border-color: var(--gruen); }
.chip input:checked + span { background: var(--gruen); border-color: var(--gruen); color: var(--papier); }
.chip input:focus-visible + span { outline: 2.5px solid var(--gruen); outline-offset: 3px; }

.field > .check { display: flex; gap: .75rem; align-items: flex-start; font-size: .9688rem; font-weight: 400; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 1.4rem; height: 1.4rem; margin: .05rem 0 0; accent-color: var(--gruen); cursor: pointer; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formular-knoepfe { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem 1rem; margin-top: .4rem; }
.formular-knoepfe .pille--faden { --faden-l: 1.6rem; }
.pille[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 1rem 0 0; }
.form-status.is-error { color: var(--fehler); font-weight: 600; }
.form-status:empty { display: none; }
.formular-danke h3 { font-family: var(--titel); font-weight: 400; font-size: 1.75rem; margin-bottom: .8rem; }
.formular-danke:focus { outline: none; }
#form-wrap.is-sent form { display: none; }

/* ---------- Fuß ---------- */
.fuss { padding: clamp(3.5rem, 7vw, 6rem) var(--rand) 3rem; color: var(--tinte); }
.fuss-innen { max-width: var(--spalte); }
.fuss-logo { width: min(17rem, 80%); height: auto; margin-bottom: 1.6rem; }
.fuss p { margin: 0 0 .5rem; font-size: .9688rem; }
.fuss-links { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: .9688rem; }
.fuss-links a { display: inline-block; padding: .35rem 0; }

/* ---------- Abschnittslinks in der Leiste ---------- */
/* Abschnittslinks: unter 1200 px als zweite Zeile der Leiste zum seitlichen Wischen */
.leiste-links {
  order: 3; flex: 0 0 100%; display: flex; gap: 1.3rem; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--rand) * -1); padding: 0 var(--rand);
}
.leiste-links::-webkit-scrollbar { display: none; }
.leiste-links a {
  flex: none; font: 600 .92rem/1 var(--text); color: var(--gruen); text-decoration: none;
  padding: .85rem .1rem .7rem; border-bottom: 1.5px solid transparent;
}
.leiste-links a:hover, .leiste-links a.ist-aktiv { border-bottom-color: var(--terra); }
@media (min-width: 1200px) {
  /* Desktop: Sprungnavigation als Links in der Leiste */
  .leiste { flex-wrap: nowrap; gap: .9rem; padding: .55rem var(--rand); }
  .leiste-links { order: 0; flex: 0 1 auto; overflow: visible; gap: 1.1rem; margin: 0 1.2rem 0 auto; padding: 0; }
  .leiste-links a { padding: .8rem .1rem; }
  .leiste-marke { margin-right: 0; }
}

/* ---------- Hinweis außerhalb der Anrufzeit ---------- */
.anruf-hinweis {
  max-width: min(26rem, calc(100% - 2.5rem)); padding: 1.6rem 1.6rem 1.4rem; border: 0; border-radius: 12px;
  background: var(--papier); color: var(--tinte);
}
.anruf-hinweis::backdrop { background: rgba(29,30,24,.4); }
.anruf-hinweis p { margin: 0 0 .6rem; font-family: var(--titel); font-size: 1.3rem; line-height: 1.35; }
.anruf-hinweis .anruf-hinweis-sub { font-family: var(--text); font-size: 1rem; color: var(--neben); margin-bottom: 1.2rem; }

/* ---------- Unterseiten ---------- */
.seite-kopf { position: relative; padding: 1.1rem var(--rand) 0; display: flex; justify-content: space-between; align-items: flex-start; }
.seite { padding: clamp(3rem, 8vw, 6rem) var(--rand) var(--abstand-abschnitt); }
.seite .innen { max-width: 46rem; }
.seite h1 { margin-bottom: 1.4rem; }
.seite h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); margin-top: 3rem; margin-bottom: 1rem; }
.zurueck { font-weight: 600; }
.nummern { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 0; }
.nummern li { display: grid; gap: .2rem .9rem; padding: 1.1rem 0; border-top: 1.2px solid rgba(47,74,51,.35); }
.nummern li:last-child { border-bottom: 1.2px solid rgba(47,74,51,.35); }
.nummern a { font-family: var(--titel); font-size: 1.9rem; font-weight: 300; line-height: 1.1; white-space: nowrap; }
.nummern strong { font-weight: 600; }
.nummern span { color: var(--neben); }
@media (min-width: 700px) {
  .nummern li { grid-template-columns: 12rem 1fr; }
  .nummern li > div { grid-column: 2; }
}
.offen { background: var(--papier); border-radius: 12px; padding: 1.2rem 1.4rem; color: var(--neben); }
.seite .stand { margin-top: 3rem; font-size: .9375rem; color: var(--neben); }

@media print {
  .leiste, .mobil { display: none !important; }
  body { background: #fff; }
}

/* ---------- Feste Kontakt-Pille am rechten Rand (nur Desktop) ---------- */
.kontakt-fest { display: none; }
@media (min-width: 1200px) {
  .kontakt-fest {
    display: flex; align-items: center; justify-content: center;
    position: fixed; z-index: 25; right: var(--rand); bottom: 1.6rem; min-height: 2.75rem;
    padding: .5rem 1.4rem; border-radius: 40px;
    background: var(--gruen); color: var(--papier); font: 600 .95rem/1 var(--text); text-decoration: none;
    box-shadow: 0 10px 22px -12px rgb(var(--schatten) / .6);
    opacity: 0; transform: translateY(12px); visibility: hidden;
    transition: opacity .35s var(--aus), transform .45s var(--aus), visibility 0s .35s;
  }
  .kontakt-fest.ist-sichtbar { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .kontakt-fest:hover { background: var(--gruen-tief); }
  .kontakt-fest:focus-visible { outline: 2.5px solid var(--gruen); outline-offset: 3px; }
}

/* Ablauf: Überschrift links, Schritte rechts (Kontakt-Pille 2026-11-08 entfernt) */
@media (min-width: 900px) {
  .raster-ablauf h2 { grid-column: 1; grid-row: 1; }
  .raster-ablauf .schritte { grid-column: 2; grid-row: 1; }
}

/* Ablauf endet mit dem letzten Schritt: kein überstehender Faden, kürzerer Abschnitt */
.schritt:last-child { padding-bottom: 0; }
.ablauf { padding-bottom: calc(var(--abstand-abschnitt) * .5); }

/* ---------- Feinjustierung Desktop (aus dem Regler-Panel, von Michael am 2026-10-21 festgelegt) ---------- */
@media (min-width: 1000px) {
  :root {
    --einstieg-oben-desktop: 436px;
    --einstieg-text-breite: 9.2em;
    --groesse-h1: 45px;
    --groesse-h2: 47px;
    --groesse-satz: 27px;
    --groesse-text: 1.05rem;
    --abstand-abschnitt: 58px;   /* war 76px */
    --rand: 128px;
  }
}
