/*
 * KERNIKA · Design der Webseite
 * Farben aus der App, Schriften vom eigenen Server, ruhige Bewegungen.
 */

/* ---------- Schriften (liegen in assets/fonts, nichts wird von Google geladen) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-kursiv.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/lato-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/lato-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben und Maße ---------- */
:root {
  --hintergrund: #F7F4EA;
  --flaeche: #FFFCF1;
  --text: #3E2F2B;
  --text-leise: #675A55;
  --salbei: #DEE8D6;
  --salbei-dunkel: #CEDCC3;
  --sand: #cab37e;
  --graugruen: #A9BCB5;
  --akut: #9C5B4A;
  --akut-sanft: #F1E2DC;
  --text-rgb: 62 47 43;
  --hg-rgb: 247 244 234;
  --schatten-rgb: 62 47 43;
  --akut-rgb: 156 91 74;
  --kopf-hg: rgba(247, 244, 234, .94);
  --knopf-hg: #DEE8D6;
  --knopf-hover: #CEDCC3;
  --knopf-text: #3E2F2B;
  --platzhalter-tief: #d3e0cf;
  --platzhalter-text: #736660;
  --akku-niedrig: #F1E2DC;
  --akut-knopf-hg: #F1E2DC;
  --akut-knopf-vg: #9C5B4A;
  --bild-helligkeit: 1;
  color-scheme: light;
  --linie: rgb(var(--text-rgb) / .12);
  --linie-stark: rgb(var(--text-rgb) / .28);
  --schatten: 0 1px 2px rgb(var(--schatten-rgb) / .05), 0 14px 32px -18px rgb(var(--schatten-rgb) / .28);
  --r-karte: 8px;
  --r-knopf: 6px;
  --r-klein: 6px;  /* Regel: Karten und Flächen 8, Knöpfe, Felder, Kacheln und Chips 6, nur Markierungen ganz rund */
  --kurve: cubic-bezier(.22, .61, .36, 1);
  --kurve-weich: cubic-bezier(.45, 0, .2, 1);
  --schrift-titel: "Newsreader", Georgia, "Times New Roman", serif;
  --schrift-text: "Lato", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --breite: 1180px;
  --rand: 16px;
  --kopf-hoehe: 64px;
  /* Schriftgrößen: Handy → Computer. Fließtext 16 → 18 px, Überschriften wachsen fließend mit. */
  --fs-h1: clamp(2.25rem, 1.55rem + 3vw, 3.75rem);      /* 36 → 60 */
  --fs-h2: clamp(1.875rem, 1.5rem + 1.5vw, 2.625rem);   /* 30 → 42 */
  --fs-h3: clamp(1.5rem, 1.35rem + .55vw, 1.75rem);     /* 24 → 28 */
  --fs-h4: clamp(1.25rem, 1.15rem + .3vw, 1.375rem);    /* 20 → 22 */
  --fs-h5: 1.125rem;                                    /* 18 */
  --fs-h6: 1rem;                                        /* 16 */
}

/* ---------- Dunkler Modus: nur, wenn jemand oben umschaltet (?modus=dunkel). Standard ist immer hell. ---------- */
:root[data-theme="dunkel"] {
  --hintergrund: #161B1A;
  --flaeche: #1F2624;
  --text: #ECEAE3;
  --text-leise: #B0B6AF;
  --text-rgb: 236 234 227;
  --hg-rgb: 22 27 26;
  --schatten-rgb: 3 6 5;
  --salbei: #26332F;
  --salbei-dunkel: #2E3D38;
  --knopf-hg: #4A5D51;
  --knopf-hover: #56695D;
  --knopf-text: #ECEAE3;
  --sand: #D3BC86;
  --graugruen: #A9BCB5;
  --akut: #DE7B6B;
  --akut-rgb: 222 123 107;
  --akut-sanft: #2D2024;
  --akku-niedrig: #A24F44;
  --akut-knopf-hg: #A24F44;
  --akut-knopf-vg: #ECEAE3;
  --kopf-hg: rgba(22, 27, 26, .92);
  --platzhalter-tief: #2C3B36;
  --platzhalter-text: #9AA19A;
  --bild-helligkeit: .92;
  color-scheme: dark;
}
@media (min-width: 600px) { :root { --rand: 24px; } }
@media (min-width: 960px) { :root { --rand: 32px; --kopf-hoehe: 72px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-padding-top: calc(var(--kopf-hoehe) + 16px);
  background: var(--hintergrund);
}
body {
  margin: 0;
  background: var(--hintergrund);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
body.menue-offen { overflow: hidden; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--schrift-titel);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 { font-size: var(--fs-h1); line-height: 1.1; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.25; }
h4 { font-size: var(--fs-h4); font-weight: 500; line-height: 1.3; }
h5 { font-size: var(--fs-h5); font-weight: 500; line-height: 1.35; }
h6 { font-size: var(--fs-h6); font-weight: 500; line-height: 1.4; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgb(var(--text-rgb) / .45); transition: text-decoration-color .3s var(--kurve); }
@media (hover: hover) { a:hover { text-decoration-color: var(--text); } }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

::selection { background: var(--salbei); color: var(--text); }

.unsichtbar {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.springen {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--text); color: var(--flaeche);
  padding: 12px 18px; border-radius: var(--r-knopf); text-decoration: none;
  transition: top .2s var(--kurve);
}
.springen:focus { top: 12px; color: var(--flaeche); }

.huelle { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.huelle--schmal { max-width: calc(46rem + 2 * var(--rand)); }
.abschnitt { padding-block: clamp(56px, 7vw, 112px); }
.abschnitt--eng { padding-block: clamp(40px, 5vw, 72px); }
.text-spalte { max-width: 40rem; }
.mitte { text-align: center; margin-inline: auto; }

.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.6; color: var(--text-leise); max-width: 38rem; }

.symbol { width: 20px; height: 20px; flex: none; }
.symbol-klein { width: 16px; height: 16px; }
.symbol-gross { width: 32px; height: 32px; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.5rem;
  border-radius: var(--r-knopf);
  background: var(--knopf-hg); color: var(--knopf-text);
  border: 1px solid rgb(var(--text-rgb) / .14);
  font: 500 1rem/1.2 var(--schrift-text);
  text-decoration: none; cursor: pointer;
  transition: background-color .35s var(--kurve), transform .35s var(--kurve), box-shadow .35s var(--kurve), border-color .35s var(--kurve);
}
@media (hover: hover) { .knopf:hover { background: var(--knopf-hover); transform: translateY(-1px); box-shadow: 0 8px 20px -12px rgb(var(--schatten-rgb) / .4); } }
.knopf:active { transform: scale(.98); }
.knopf-klein { min-height: 44px; padding: 0 1.1rem; }
.knopf-gross { min-height: 56px; padding: 0 2rem; font-size: 1.0625rem; }
.knopf-leise { background: transparent; border: 1.5px solid var(--linie-stark); }
@media (hover: hover) { .knopf-leise:hover { background: var(--flaeche); border-color: var(--text); } }
.knopf .symbol { width: 18px; height: 18px; }

.textlink { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; text-decoration: none; min-height: 44px; }
.textlink .symbol { transition: transform .35s var(--kurve); }
@media (hover: hover) { .textlink:hover .symbol { transform: translateX(3px); } }

/* ---------- Kopfbereich ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--kopf-hg);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--kurve);
}
.kopf.gescrollt { border-bottom-color: var(--linie); }
.kopf-innen {
  max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand);
  height: var(--kopf-hoehe);
  display: flex; align-items: center; gap: 12px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.logo-symbol { width: 40px; height: 40px; flex: none; }
@media (max-width: 399px) { .logo-symbol { width: 34px; height: 34px; } .logo { gap: 7px; } }
.wortmarke { font-family: var(--schrift-titel); font-weight: 500; font-size: 1.5rem; letter-spacing: .16em; line-height: 1; }
.haupt-nav { margin-left: auto; }
.haupt-nav ul { list-style: none; display: flex; gap: clamp(18px, 2.2vw, 28px); margin: 0; padding: 0; }
.haupt-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 1rem; white-space: nowrap; }
.haupt-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: var(--sand); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--kurve);
}
.haupt-nav a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) { .haupt-nav a:hover::after { transform: scaleX(1); } }
.haupt-nav a[aria-current] { font-weight: 500; }
.kopf-cta { margin-left: 20px; }
.menue-knopf, .menue-link { display: none; }

@media (max-width: 1079px) {
  .haupt-nav { display: none; }
  .kopf-cta { margin-left: auto; }
  .menue-knopf {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-right: -8px;
    background: none; border: 0; border-radius: var(--r-knopf); color: var(--text); cursor: pointer;
  }
}
@media (max-width: 359px) { .kopf-cta { padding: 0 .8rem; } }
.menue-striche { display: grid; gap: 5px; width: 22px; }
.menue-striche span { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--kurve), opacity .25s; }
.menue-knopf[aria-expanded="true"] .menue-striche span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-striche span:nth-child(2) { opacity: 0; }
.menue-knopf[aria-expanded="true"] .menue-striche span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.handy-menue {
  position: fixed; left: 0; right: 0; top: var(--kopf-hoehe); bottom: 0; z-index: 49;
  background: var(--hintergrund);
  border-top: 1px solid var(--linie);
  padding: 16px var(--rand) 40px;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .35s var(--kurve), transform .35s var(--kurve);
}
.handy-menue.offen { opacity: 1; transform: none; }
.handy-menue ul { list-style: none; margin: 0 0 28px; padding: 0; }
.handy-menue li { border-bottom: 1px solid var(--linie); }
.handy-menue li a {
  display: flex; align-items: center; min-height: 60px;
  font-family: var(--schrift-titel); font-size: 1.75rem; text-decoration: none;
}
.handy-menue a[aria-current] { color: var(--text); text-decoration: underline; text-decoration-color: var(--sand); text-decoration-thickness: 1.5px; }
.handy-menue .knopf { width: 100%; }
@media (min-width: 1080px) { .handy-menue { display: none !important; } }

/* ---------- Erster Bildschirm (Startseite) ---------- */
/* Am Handy: schmaler Bildstreifen, darunter die Überschrift. Ab 760 px: Überschrift im ruhigen linken Teil des Bildes. */
.held { padding-block: clamp(12px, 2.5vw, 32px) clamp(48px, 6vw, 88px); }
.held-band { position: relative; margin-inline: calc(var(--rand) * -1); }
.held-foto { width: 100%; aspect-ratio: 1920 / 798; object-fit: cover; object-position: 70% 60%; filter: brightness(var(--bild-helligkeit)); background: var(--salbei); }
.held-titel { padding: 22px var(--rand) 0; }
.held-titel h1 { margin: 0; max-width: 14em; }
@media (min-width: 760px) {
  .held-band { margin-inline: 0; border-radius: var(--r-karte); overflow: hidden; height: clamp(300px, 42vh, 440px); }
  /* Das Bild selbst läuft links sowie links oben und unten ins Durchsichtige aus, damit dort keine Bildkante zu sehen ist */
  .held-foto {
    position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 62% 55%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 3%, #000 24%), linear-gradient(90deg, transparent 40%, #000 74%), linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 3%, #000 24%), linear-gradient(90deg, transparent 40%, #000 74%), linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
    -webkit-mask-composite: source-in, source-over;
    mask-composite: intersect, add;
  }
  .held-band::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgb(var(--hg-rgb)) 0%, rgb(var(--hg-rgb)) 8%, rgb(var(--hg-rgb) / .9) 26%, rgb(var(--hg-rgb) / .66) 44%, rgb(var(--hg-rgb) / .28) 62%, rgb(var(--hg-rgb) / 0) 80%);
  }
  .held-titel { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding: 0 clamp(28px, 4vw, 56px); }
  .held-titel h1 { max-width: 11.5em; font-size: clamp(2.5rem, 1.3rem + 2.9vw, 3.6rem); }
}
.held-raster { display: grid; gap: 28px; margin-top: clamp(24px, 3vw, 40px); align-items: start; }
@media (min-width: 900px) { .held-raster { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; } }
.held .lead { margin-bottom: 1.25rem; color: var(--text); max-width: 36rem; }
.held-fakten { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--text-leise); font-size: 1rem; }
.held-fakten li { position: relative; padding-left: 14px; }
.held-fakten li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--sand); }
.held-probe { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: clamp(18px, 3vw, 28px); }

/* ---------- App-Bilder ---------- */
.app-bild { margin: 0; }
.app-bild--handy { width: min(300px, 70vw); margin-inline: auto; }
.handy-rahmen {
  background: var(--flaeche);
  border-radius: 42px; padding: 9px;
  box-shadow: 0 0 0 1px rgb(var(--schatten-rgb) / .13), 0 36px 70px -36px rgb(var(--schatten-rgb) / .45), 0 14px 28px -20px rgb(var(--schatten-rgb) / .25);
}
.handy-rahmen img { border-radius: 33px; width: 100%; }
.app-bild--ausschnitt { width: 100%; max-width: 380px; margin-inline: auto; }
.app-bild--ausschnitt img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
  border-radius: var(--r-karte); background: var(--flaeche);
  border: 1px solid var(--linie); box-shadow: var(--schatten);
}
.platzhalter-bildschirm {
  aspect-ratio: 4 / 5; border-radius: var(--r-karte);
  background: linear-gradient(160deg, var(--salbei), var(--flaeche) 70%);
  border: 1px dashed var(--linie-stark);
  display: grid; place-content: center; justify-items: center; gap: 10px;
  color: var(--text-leise); font-size: 1rem;
}
.app-bild--handy .platzhalter-bildschirm { aspect-ratio: 480 / 983; border-radius: 42px; }

.platzhalter {
  display: grid; place-items: center;
  background: radial-gradient(120% 90% at 20% 10%, var(--flaeche) 0%, var(--salbei) 55%, var(--platzhalter-tief) 100%);
  color: rgb(var(--text-rgb) / .45);
  border-radius: var(--r-karte);
}
.platzhalter--breit { aspect-ratio: 16 / 9; }
.platzhalter--karte { aspect-ratio: 16 / 10; border-radius: 0; }
.platzhalter--hoch { aspect-ratio: 4 / 5; }
.platzhalter--quadrat { aspect-ratio: 1; }
.inhalt-bild { width: 100%; object-fit: cover; border-radius: var(--r-karte); }
/* Hinweis auf KI-Bilder (KI-Verordnung Art. 50) */
.bild-ki { margin: 6px 0 0; font-size: .8125rem; color: var(--text-leise); text-align: right; }
.bild-ki--ecke { position: absolute; right: 10px; bottom: 8px; z-index: 3; margin: 0; padding: 2px 8px; border-radius: 999px; background: rgb(var(--hg-rgb) / .75); line-height: 1.5; }
.inhalt-bild--breit { aspect-ratio: 16 / 9; }
.inhalt-bild--karte { aspect-ratio: 16 / 10; border-radius: 0; }
.inhalt-bild--hoch { aspect-ratio: 4 / 5; }

/* ---------- Das Akku-Glas ---------- */
.akku-svg { display: block; width: 100%; height: auto; overflow: visible; }
.akku-kappe { fill: rgb(var(--text-rgb) / .2); }
.akku-koerper { fill: var(--flaeche); stroke: rgb(var(--text-rgb) / .22); stroke-width: 2; }
.akku-fuellung { transform: translateY(200px); transition: transform 1.4s var(--kurve-weich); }
.akku-welle { fill: var(--graugruen); animation: welle 7s linear infinite; animation-delay: -2.4s; }
.akku.niedrig .akku-welle { fill: var(--akku-niedrig); }
.akku.niedrig .akku-koerper { stroke: rgb(var(--akut-rgb) / .35); }
.akku-glanz { fill: var(--flaeche); opacity: .55; }
@keyframes welle { from { transform: translateX(0); } to { transform: translateX(120px); } }
.akku.ruht .akku-welle { animation-play-state: paused; }

.akku--aktiv { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.akku-links { display: grid; justify-items: center; gap: 8px; }
.akku-rechts { display: grid; gap: 6px; min-width: 0; }
.akku-zahl { font-family: var(--schrift-titel); font-size: 2.5rem; line-height: 1; margin: 0; }
.akku-von { font-size: 1.05rem; color: var(--text-leise); }
.akku-glas { width: 88px; cursor: ns-resize; touch-action: none; -webkit-user-select: none; user-select: none; }
.akku-label { font-family: var(--schrift-titel); font-size: var(--fs-h4); line-height: 1.25; }
.akku-antwort { min-height: 4.8em; margin: 4px 0 0; color: var(--text); }
.akku-danach { display: grid; gap: 2px; }
.akku-danach .textlink { justify-self: start; }
.akku-hinweis { font-size: 1rem; color: var(--text-leise); margin: 0; }
@media (max-width: 379px) { .akku--aktiv { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; } .akku-glas { width: 72px; } .akku-zahl { font-size: 2.1rem; } }

/* Schieberegler (Akku und Lebensrad) */
.akku-regler, .regler {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0;
}
.akku-regler::-webkit-slider-runnable-track, .regler::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--graugruen) var(--anteil, 40%), var(--linie) var(--anteil, 40%)); }
.akku-regler::-moz-range-track, .regler::-moz-range-track { height: 6px; border-radius: 6px; background: var(--linie); }
.akku-regler::-moz-range-progress, .regler::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--graugruen); }
.akku-regler::-webkit-slider-thumb, .regler::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; margin-top: -11px; border-radius: 50%;
  background: var(--flaeche); border: 2px solid var(--text); box-shadow: 0 2px 6px rgb(var(--schatten-rgb) / .2);
}
.akku-regler::-moz-range-thumb, .regler::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--flaeche); border: 2px solid var(--text); box-shadow: 0 2px 6px rgb(var(--schatten-rgb) / .2);
}
.akku-regler:focus-visible, .regler:focus-visible { outline-offset: 2px; }

/* ---------- Karten und Raster ---------- */
.karten { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.karten--zwei { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 768px) { .karten { gap: 24px; } }
.karte-link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte);
  padding: 24px; text-decoration: none; overflow: hidden;
  transition: transform .45s var(--kurve), box-shadow .45s var(--kurve), border-color .45s var(--kurve);
}
@media (hover: hover) { .karte-link:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: var(--linie-stark); } }
.karte-marke { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; color: var(--text-leise); margin-bottom: 10px; }
.karte-titel { font-size: var(--fs-h4); margin-bottom: .4em; }
.karte-text { color: var(--text-leise); margin-bottom: 1.25rem; }
.karte-weiter { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.karte-weiter .symbol { transition: transform .35s var(--kurve); }
@media (hover: hover) { .karte-link:hover .karte-weiter .symbol { transform: translateX(4px); } }
.beitrag-karte .karte-link { padding: 0; }
.beitrag-karte .karte-bild { margin-bottom: 20px; }
.beitrag-karte .karte-marke, .beitrag-karte .karte-titel, .beitrag-karte .karte-text, .beitrag-karte .karte-weiter { margin-inline: 24px; }
.beitrag-karte .karte-weiter { margin-bottom: 24px; }
.beitrag-karte .karte-bild .platzhalter, .beitrag-karte .karte-bild img { border-radius: 0; }

/* ---------- Türen: drei große Haupttüren, darunter die weiteren Themen kleiner ---------- */
.tueren { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tueren--haupt { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.tueren--weitere { margin-top: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
@media (min-width: 768px) { .tueren { gap: 20px; } .tueren--weitere { margin-top: 20px; } }
.tuer-link {
  display: flex; flex-direction: column; height: 100%;
  padding: 26px 24px 24px; border-radius: var(--r-karte);
  background: var(--flaeche); border: 1px solid var(--linie);
  text-decoration: none;
  transition: transform .45s var(--kurve), box-shadow .45s var(--kurve), border-color .45s var(--kurve);
}
@media (hover: hover) { .tuer-link:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: var(--linie-stark); } }
.tuer-symbol { display: block; width: 52px; height: 52px; margin-bottom: 18px; }
.tuer-inhalt { display: flex; flex-direction: column; flex: 1; }
.tuer-titel { font-size: var(--fs-h3); font-weight: 400; margin-bottom: .35em; }
.tuer-zitat { display: block; font-family: var(--schrift-titel); font-style: italic; font-size: 1.125rem; line-height: 1.4; color: var(--text-leise); margin-bottom: .75em; }
.tuer-text { display: block; margin-bottom: 1.25rem; }
.tuer-weiter { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.tuer-weiter .symbol { transition: transform .35s var(--kurve); }
@media (hover: hover) { .tuer-link:hover .tuer-weiter .symbol { transform: translateX(4px); } }
.tueren--weitere .tuer-link { flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px 20px; background: transparent; }
.tueren--weitere .tuer-symbol { width: 40px; height: 40px; margin: 2px 0 0; flex: none; }
.tueren--weitere .tuer-titel { font-size: var(--fs-h4); }
.tueren--weitere .tuer-zitat { font-size: 1rem; margin-bottom: .5em; }

/* ---------- So funktioniert KERNIKA: links stehende Spalte, rechts die Schritte ---------- */
.ablauf { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .ablauf { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
  .ablauf-kopf { position: sticky; top: calc(var(--kopf-hoehe) + 56px); }
}
.ablauf-kopf p { color: var(--text-leise); max-width: 30rem; }
.ablauf-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(56px, 7vw, 96px); }
.ablauf-schritt h3 { font-size: var(--fs-h3); font-weight: 400; }
.ablauf-schritt p { max-width: 34rem; }
.ablauf-bild { margin-top: 24px; }
.ablauf-bild .app-bild--ausschnitt { margin-inline: 0; max-width: 360px; }
.ablauf-bild--glas { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 28px 20px; max-width: 420px; }

/* ---------- Framework-Finder ---------- */
.finder-flaeche { background: var(--salbei); border-radius: var(--r-karte); padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px); }
.finder-kacheln { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .finder-kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.finder-kachel {
  display: flex; align-items: center; min-height: 72px; height: 100%;
  padding: 14px 18px; border-radius: var(--r-knopf);
  background: var(--flaeche); border: 1.5px solid transparent;
  font-weight: 500; line-height: 1.3; text-decoration: none;
  transition: border-color .3s var(--kurve), transform .3s var(--kurve), box-shadow .3s var(--kurve);
}
@media (hover: hover) { .finder-kachel:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -12px rgb(var(--schatten-rgb) / .35); } }
.finder-kachel[aria-current="true"] { border-color: var(--text); }
.finder-ergebnis:focus { outline: none; }
.finder-treffer { padding-top: 28px; animation: auftauchen .6s var(--kurve) both; }
.finder-satz { font-family: var(--schrift-titel); font-size: 1.3125rem; margin-bottom: 16px; }
@keyframes auftauchen { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Vertrauen ---------- */
.vertrauen-raster { display: grid; gap: 40px; }
@media (min-width: 900px) { .vertrauen-raster { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; } }
.fakten { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 28px; }
@media (min-width: 600px) { .fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fakt { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.fakt-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--flaeche); border: 1px solid var(--linie); }
.fakt strong { display: block; font-weight: 600; margin-bottom: 2px; }
.fakt p { margin: 0; color: var(--text-leise); font-size: 1rem; }
.definition { font-family: var(--schrift-titel); font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); line-height: 1.4; }

/* ---------- Wer hinter KERNIKA steht (Startseite) ---------- */
.person { display: grid; gap: 28px; align-items: center; }
@media (min-width: 700px) { .person:has(.person-bild) { grid-template-columns: 200px minmax(0, 1fr); gap: 48px; } }
.person-bild { max-width: 200px; }
.person-bild .platzhalter, .person-bild img { border-radius: var(--r-karte); }
.person-text { max-width: 38rem; }

/* ---------- Abschluss mit „App laden“ ---------- */
.cta {
  display: grid; gap: 28px; align-items: center; justify-items: center; text-align: center;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte);
  padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 72px);
}
@media (min-width: 860px) { .cta { grid-template-columns: 120px minmax(0, 1fr); justify-items: start; text-align: left; } }
.cta-glas { width: 72px; }
@media (min-width: 860px) { .cta-glas { width: 90px; justify-self: center; } }
.cta h2 { margin-bottom: .35em; }
.cta p { color: var(--text-leise); max-width: 34rem; }
.cta-link { display: inline-flex; margin-top: 8px; }

.store-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-knopf { display: inline-flex; align-items: center; min-height: 48px; border-radius: var(--r-knopf); text-decoration: none; }
.store-knopf img { height: 50px; width: auto; }
.store-knopf img[src$=".png"] { height: 72px; margin: -11px -10px; }
.store-ersatz {
  display: inline-flex; flex-direction: column; justify-content: center;
  height: 50px; padding: 0 18px; border-radius: var(--r-knopf);
  background: var(--text); color: var(--flaeche); font-weight: 600; line-height: 1.05; font-size: 1.125rem;
}
.store-klein { font-size: .8rem; font-weight: 400; }

/* ---------- Newsletter im Footer ---------- */
.fuss-newsletter { max-width: var(--breite); margin: 0 auto; padding: clamp(36px, 5vw, 56px) var(--rand) clamp(20px, 3vw, 28px); }
.newsletter { display: grid; gap: 8px 48px; }
@media (min-width: 860px) { .newsletter { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.newsletter-titel { font-size: var(--fs-h3); margin-bottom: .35em; }
.newsletter-text { color: var(--text-leise); margin: 0; max-width: 30rem; }
.feld-beschriftung { display: block; font-weight: 500; margin: 0 0 8px; }
.feld-zeile { display: grid; gap: 10px; }
.feld-zeile .knopf { width: 100%; min-height: 52px; }
@media (min-width: 520px) { .feld-zeile { grid-template-columns: minmax(0, 1fr) auto; } .feld-zeile .knopf { width: auto; } }
.feld-zeile input { min-height: 52px; font-size: 1.0625rem; }
.newsletter-klein { font-size: .8125rem; line-height: 1.5; color: var(--text-leise); margin: 12px 0 0; }
.newsletter-klein a { color: var(--text); }
.newsletter-status { margin: 10px 0 0; min-height: 1.5em; font-weight: 500; }
.newsletter-status:empty { min-height: 0; margin: 0; }
.newsletter-status.fehler { color: var(--akut); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

input[type="email"], input[type="text"], textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--flaeche); border: 1.5px solid rgb(var(--text-rgb) / .55); border-radius: var(--r-klein);
  transition: border-color .3s var(--kurve), box-shadow .3s var(--kurve);
}
input::placeholder, textarea::placeholder { color: var(--platzhalter-text); }
input:focus, textarea:focus { outline: 2px solid var(--text); outline-offset: 2px; border-color: var(--text); }
input[aria-invalid="true"] { border-color: var(--akut); }

/* ---------- Seitenkopf für Unterseiten ---------- */
.seitenkopf { padding-block: clamp(24px, 4vw, 56px) clamp(32px, 4vw, 56px); }
.seitenkopf h1 { max-width: 18em; }
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 24px; padding: 0; font-size: 1rem; color: var(--text-leise); }
.brotkrumen li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--sand); }
.brotkrumen a { text-decoration: none; }
@media (hover: hover) { .brotkrumen a:hover { text-decoration: underline; } }
.autorin { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; color: var(--text-leise); margin: 20px 0 0; }
.autorin .symbol { margin-top: 3px; }

/* ---------- Fließtext (Themen, Übungen, Magazin, Rechtliches) ---------- */
.fliesstext { max-width: 42rem; }
.fliesstext h2 { margin-top: 2.2em; }
.fliesstext h2:first-child { margin-top: 0; }
.fliesstext h3 { margin-top: 1.8em; }
.fliesstext ul, .fliesstext ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.fliesstext li { margin-bottom: .45em; padding-left: .2em; }
.fliesstext ul li::marker { color: var(--sand); }
.fliesstext blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--sand); font-family: var(--schrift-titel); font-size: 1.3125rem; line-height: 1.45; }
.fliesstext blockquote p:last-child { margin: 0; }
.fliesstext hr { border: 0; height: 1px; background: var(--linie); margin: 2.5em 0; }
.fliesstext .tabelle-huelle, .tabelle-huelle { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--linie); border-radius: var(--r-klein); background: var(--flaeche); }
.fliesstext table, table.tabelle { border-collapse: collapse; width: 100%; font-size: 1rem; }
.fliesstext th, .fliesstext td, .tabelle th, .tabelle td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.fliesstext tr:last-child td, .tabelle tr:last-child td { border-bottom: 0; }
.fliesstext th, .tabelle th { font-weight: 600; background: var(--salbei); }
.inhalts-abschnitt { padding-block: clamp(28px, 4vw, 48px); }
.inhalts-abschnitt + .inhalts-abschnitt { border-top: 1px solid var(--linie); }
.ohne-trenner .inhalts-abschnitt + .inhalts-abschnitt { border-top: 0; }
/* Reine Textabschnitte hintereinander laufen ohne Trennlinie */
.abschnitt-text + .abschnitt-text { border-top: 0; padding-top: 0; }
.antwort-zuerst { font-size: 1.1875rem; }

.platzhalter-text { background: var(--akut-sanft); border: 1px dashed var(--akut); border-radius: var(--r-klein); padding: 16px 18px; }

/* ---------- Selbstcheck ---------- */
.selbstcheck { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: clamp(22px, 4vw, 40px); margin-block: 8px 24px; }
.aussagen { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.aussage {
  width: 100%; display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: center;
  min-height: 56px; padding: 12px 16px; text-align: left;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--hintergrund); border: 1.5px solid transparent; border-radius: var(--r-knopf); cursor: pointer;
  transition: border-color .3s var(--kurve), background-color .3s var(--kurve), transform .15s var(--kurve);
}
.aussage-kreis { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--linie-stark); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.aussage-kreis .symbol { width: 16px; height: 16px; opacity: 0; transition: opacity .25s; }
.aussage[aria-pressed="true"] { background: var(--salbei); border-color: rgb(var(--text-rgb) / .25); }
.aussage[aria-pressed="true"] .aussage-kreis { background: var(--text); border-color: var(--text); color: var(--flaeche); }
.aussage[aria-pressed="true"] .aussage-kreis .symbol { opacity: 1; }
.selbstcheck-ergebnis { margin-top: 20px; padding: 22px; border-radius: var(--r-knopf); background: var(--salbei); animation: auftauchen .6s var(--kurve) both; }
.selbstcheck-ergebnis h3 { font-size: var(--fs-h4); margin-bottom: .4em; }
.selbstcheck-ergebnis p:last-child { margin-bottom: 0; }
.leiser-hinweis { font-size: 1rem; color: var(--text-leise); margin-top: 14px; }

/* ---------- Übungen zum Ausfüllen ---------- */
.werkzeug { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: clamp(22px, 4vw, 44px); margin-block: 8px 28px; }
.werkzeug > h2 { margin-top: 0; }
.fragen-gruppe + .fragen-gruppe { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--linie); }
.fragen-gruppe h3 { display: flex; align-items: center; gap: 12px; margin-top: 0; }
.gruppen-punkt { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.frage { margin-bottom: 22px; }
.frage label { display: block; font-weight: 500; margin-bottom: 4px; }
.frage-hinweis { display: block; font-size: 1rem; color: var(--text-leise); margin-bottom: 8px; }
.frage textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.druck-antwort { display: none; }
.werkzeug-leiste { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 8px; }
.werkzeug-leiste p { margin: 0; font-size: 1rem; color: var(--text-leise); flex: 1 1 260px; }

.chips { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--hintergrund); border: 1.5px solid var(--linie); border-radius: var(--r-knopf); cursor: pointer;
  transition: background-color .25s var(--kurve), border-color .25s var(--kurve), transform .15s var(--kurve);
}
@media (hover: hover) { .chip:hover { border-color: var(--linie-stark); } }
.chip[aria-pressed="true"] { background: var(--salbei); border-color: var(--text); }
.chip[disabled] { opacity: .45; cursor: not-allowed; }
.chip-zaehler { font-size: 1rem; color: var(--text-leise); margin: 0 0 18px; }
.top-auswahl { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--linie); }

.lebensrad { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .lebensrad { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.lebensrad-grafik { max-width: 440px; width: 100%; margin-inline: auto; }
.lebensrad-grafik svg { width: 100%; height: auto; display: block; }
.rad-ring { fill: none; stroke: rgb(var(--text-rgb) / .1); }
.rad-speiche { stroke: rgb(var(--text-rgb) / .12); }
.rad-feld { fill: var(--graugruen); fill-opacity: .8; stroke: var(--flaeche); stroke-width: 2; transition: d .6s var(--kurve); }
.rad-feld.niedrig { fill: var(--sand); fill-opacity: .7; }
.rad-beschriftung { font: 500 20px var(--schrift-text); fill: var(--text); }
.regler-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.regler-zeile label { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.regler-zeile output { font-family: var(--schrift-titel); font-size: 1.25rem; min-width: 2ch; text-align: right; }

.ikigai-grafik { max-width: 420px; margin: 0 auto 28px; }
.ikigai-grafik svg { width: 100%; height: auto; display: block; }
.ikigai-kreis { fill-opacity: .12; stroke-width: 1.5; transition: fill-opacity .8s var(--kurve); }
.ikigai-text { font: 500 14px var(--schrift-text); fill: var(--text); text-anchor: middle; }
.ikigai-woerter { font: 400 12px var(--schrift-text); fill: var(--text); text-anchor: middle; }
.ikigai-woerter.doppelt { font-weight: 700; }
.ikigai-mitte { font: 400 17px var(--schrift-titel); fill: var(--text); text-anchor: middle; }

.schritt-kasten { background: var(--salbei); border-radius: var(--r-karte); padding: clamp(22px, 4vw, 36px); margin-block: 8px 24px; }
.schritt-kasten h2 { margin-top: 0; font-size: var(--fs-h3); }
.schritt-kasten p:last-child { margin-bottom: 0; }
.kern-kasten { display: grid; gap: 24px; align-items: center; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: clamp(22px, 4vw, 36px); margin-block: 8px 24px; }
@media (min-width: 760px) { .kern-kasten { grid-template-columns: minmax(0, 1fr) 190px; } }
.kern-kasten h2 { margin-top: 0; font-size: var(--fs-h3); }
.kern-kasten .app-bild--ausschnitt { max-width: 190px; }

/* ---------- Filter ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.filter a, .filter button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  font: inherit; font-size: 1rem; color: var(--text); text-decoration: none;
  background: transparent; border: 1.5px solid var(--linie-stark); border-radius: var(--r-knopf); cursor: pointer;
  transition: background-color .25s var(--kurve), border-color .25s var(--kurve);
}
@media (hover: hover) { .filter a:hover, .filter button:hover { border-color: var(--text); } }
.filter [aria-pressed="true"], .filter [aria-current="true"] { background: var(--text); border-color: var(--text); color: var(--flaeche); }
.karte[hidden] { display: none; }

/* ---------- Häufige Fragen ---------- */
.faq { max-width: 46rem; }
.faq-eintrag { border-bottom: 1px solid var(--linie); }
.faq-eintrag:first-of-type { border-top: 1px solid var(--linie); }
.faq-eintrag summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-family: var(--schrift-titel); font-size: 1.25rem; line-height: 1.35;
}
.faq-eintrag summary::-webkit-details-marker { display: none; }
.faq-symbol { transition: transform .4s var(--kurve); }
.faq-eintrag[open] .faq-symbol { transform: rotate(45deg); }
.faq-antwort { padding: 0 0 20px; max-width: 40rem; }
.faq-antwort p:last-child { margin-bottom: 0; }
.faq + .faq { margin-top: clamp(40px, 5vw, 64px); }
.kern-kasten + .faq, .schritt-kasten + .faq { margin-top: clamp(48px, 6vw, 80px); }

/* ---------- App-Seite: ein Tab nach dem anderen, links der Text, rechts die Handybilder ---------- */
.app-uebersicht { margin-top: 40px; }
.app-uebersicht .filter { margin: 12px 0 0; }
.app-tab { padding-block: clamp(40px, 6vw, 88px); border-top: 1px solid var(--linie); }
.app-tab-raster { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .app-tab-raster { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; } }
.app-tab-text .lead { margin-bottom: 0; }
.app-punkt { margin-top: clamp(28px, 4vw, 44px); }
.app-punkt h3 { margin-bottom: .35em; }
.app-punkt p:last-child { margin-bottom: 0; }
.app-untertitel { font-size: var(--fs-h5); color: var(--text-leise); margin: -.2em 0 .6em; }
.app-zwei { display: grid; gap: 0 64px; }
@media (min-width: 860px) { .app-zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.app-tab-bilder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; align-content: start; }
.app-foto { min-width: 0; }
.app-tab-bilder .app-bild--handy { width: 100%; max-width: 260px; margin: 0; }
.app-tab-bilder .handy-rahmen { border-radius: 30px; padding: 6px; }
.app-tab-bilder .handy-rahmen img { border-radius: 24px; }
.app-tab-bilder--einzeln { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.app-tab-bilder--einzeln .app-bild--ausschnitt { max-width: 340px; }
.app-tab-bilder--einzeln .app-bild--handy { max-width: 300px; margin-inline: auto; }
@media (min-width: 960px) {
  .app-tab-bilder--einzeln { position: sticky; top: calc(var(--kopf-hoehe) + 24px); }
  /* Mit JavaScript bleibt ein großes Handybild beim Lesen stehen und wechselt mit dem Abschnitt */
  .app-tab-bilder.wechsel { position: sticky; top: calc(var(--kopf-hoehe) + 24px); display: grid; grid-template-columns: min(300px, 100%); justify-content: center; align-content: start; }
  .app-tab-bilder.wechsel .app-foto { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .3s var(--kurve), visibility 0s .3s; }
  .app-tab-bilder.wechsel .app-foto.aktiv { opacity: 1; visibility: visible; transition: opacity .3s var(--kurve); }
  .app-tab-bilder.wechsel .app-bild--handy { max-width: 300px; }
  .app-tab-bilder.wechsel .handy-rahmen { border-radius: 42px; padding: 9px; }
  .app-tab-bilder.wechsel .handy-rahmen img { border-radius: 33px; }
  /* Der letzte Punkt eines Tabs ist so hoch wie das Handy, damit es bis zum Ende des Textes im Bild bleibt und nicht oben herausrutscht */
  .app-tab-raster:has(.wechsel) .app-tab-text > .app-punkt:last-child { min-height: 720px; }
}
@media (max-width: 599px) {
  /* Am Handy nebeneinander wischen statt zwei winzige Bilder pro Zeile */
  .app-tab-bilder { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--rand) * -1); padding: 4px var(--rand) 12px; }
  .app-tab-bilder .app-foto { flex: 0 0 62vw; max-width: 250px; scroll-snap-align: start; }
}

.preise { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .preise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.preis-karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 28px; height: 100%; }
.preis-karte h3 { font-weight: 400; font-size: var(--fs-h3); margin-bottom: .2em; }
.preis-zeile { font-family: var(--schrift-titel); font-size: 1.375rem; margin-bottom: 1rem; }
.preis-karte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.preis-karte li { position: relative; padding-left: 20px; font-size: 1rem; }
.preis-karte li::before { content: ""; position: absolute; left: 4px; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--sand); }
.preis-klein { font-size: 1rem; color: var(--text-leise); margin-top: 18px; }
.preis-ersparnis { font-size: 1rem; margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--salbei-dunkel); border-radius: 14px; background: var(--salbei); color: var(--text); }
.preis-ersparnis strong { font-weight: 700; }

/* ---------- Seite „App laden“ ---------- */
.laden-raster { display: grid; gap: 24px; }
@media (min-width: 760px) { .laden-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.laden-karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 28px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.qr { width: 184px; height: 184px; padding: 12px; background: var(--flaeche); border-radius: var(--r-klein); border: 1px solid var(--linie); }
.qr svg { width: 100%; height: 100%; display: block; }

/* ---------- Fußbereich ---------- */
.fuss { background: var(--hintergrund); border-top: 1px solid var(--linie); margin-top: clamp(40px, 6vw, 88px); }
.logo--fuss .logo-symbol { width: 44px; height: 44px; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 48px var(--rand) 24px; display: grid; gap: 32px; }
@media (min-width: 768px) { .fuss-innen { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px 48px; } }
/* Ab hier beginnt „Entdecken“ genau dort, wo im Newsletter oben das Formular beginnt */
@media (min-width: 860px) { .fuss-innen { grid-template-columns: calc((100% - 48px) * .45) minmax(0, 1fr) minmax(0, 1fr); } }
.fuss-marke p { color: var(--text-leise); font-size: 1rem; max-width: 26rem; margin-top: 12px; }
.fuss-fakt { display: inline-block; }
.fuss-titel { font-weight: 600; margin-bottom: 8px; }
.fuss-spalte ul { list-style: none; margin: 0; padding: 0; }
.fuss-spalte a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; font-size: 1rem; }
@media (hover: hover) { .fuss-spalte a:hover { text-decoration: underline; } }
.fuss-hinweis { width: calc(100% - 2 * var(--rand)); max-width: calc(var(--breite) - 2 * var(--rand)); margin: 0 auto; padding: 20px 0; border-top: 1px solid var(--linie); }
.fuss-hinweis p { font-size: .8125rem; color: var(--text-leise); margin: 0; max-width: 60rem; }
.fuss-hinweis a { color: var(--text); font-weight: 600; white-space: nowrap; }
.fuss-klein { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand) 32px; font-size: .9375rem; color: var(--text-leise); }

/* ---------- Fehlerseite ---------- */
.leer-seite { display: grid; gap: 32px; align-items: center; justify-items: center; text-align: center; }
.leer-seite .akku { width: 110px; }

/* ---------- Sanftes Einblenden ---------- */
.reveal { transition: opacity .9s var(--kurve), transform .9s var(--kurve); }
.reveal.wartet { opacity: 0; transform: translateY(16px); }
body.pausiert *, body.pausiert *::before, body.pausiert *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.wartet { opacity: 1; transform: none; }
}

/* ---------- Kleine Helfer ---------- */
.abstand-oben { margin-top: 32px; }
@media (hover: hover) { .karte-statisch:hover { transform: none; box-shadow: none; border-color: var(--linie); } }
.karte-statisch .tuer-symbol { margin-bottom: 16px; }
.karte-bildschirm { margin: -24px -24px 20px; }
.karte-bildschirm .app-bild--ausschnitt { max-width: none; }
.karte-bildschirm .app-bild--ausschnitt img { border-radius: 0; border: 0; box-shadow: none; }
.druck-kopf { display: none; }
.ikigai-punkt-0 { background: #DEE8D6; border: 1px solid #9fb58f; }
.ikigai-punkt-1 { background: #A9BCB5; }
.ikigai-punkt-2 { background: #cab37e; }
.ikigai-punkt-3 { background: #F1E2DC; border: 1px solid #c49a8a; }
.einstieg { font-family: var(--schrift-titel); font-size: clamp(1.3rem, 1.2rem + .6vw, 1.6rem); line-height: 1.35; margin: 0 0 .8em; max-width: 34rem; }
.quellen { font-size: 1rem; }
.quellen h2 { font-size: var(--fs-h4); }
.hinweis-klein { font-size: 1rem; color: var(--text-leise); margin-top: 8px; }
.leer-zustand { background: var(--flaeche); border: 1px dashed var(--linie-stark); border-radius: var(--r-karte); padding: 28px; text-align: center; color: var(--text-leise); }
.filter--mitte { justify-content: center; }
.beitrag-bild { margin: 0 0 clamp(24px, 4vw, 48px); max-width: 56rem; }
.ueber-raster { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .ueber-raster { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 56px; } }
.ueber-bild { max-width: 360px; width: 100%; }
.rechtstext h2 { font-size: var(--fs-h3); margin-top: 1.8em; }
.hinweis-kasten { background: var(--salbei); border-radius: var(--r-klein); padding: 14px 18px; max-width: 40rem; }

/* ---------- Magazin: ein Beitrag groß, die übrigen als Liste ---------- */
[hidden] { display: none !important; }
.beitrag-gross { display: grid; overflow: hidden; text-decoration: none; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); transition: box-shadow .45s var(--kurve), border-color .45s var(--kurve); }
@media (hover: hover) { .beitrag-gross:hover { box-shadow: var(--schatten); border-color: var(--linie-stark); } }
@media (min-width: 820px) { .beitrag-gross { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.beitrag-gross-bild .platzhalter, .beitrag-gross-bild img { height: 100%; min-height: 220px; border-radius: 0; }
.beitrag-gross-text { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.beitrag-gross-titel { font-size: var(--fs-h3); font-weight: 400; margin-bottom: .4em; }
.beitrag-gross .karte-weiter .symbol, .zeile .karte-weiter .symbol { transition: transform .35s var(--kurve); }
@media (hover: hover) { .beitrag-gross:hover .karte-weiter .symbol, .zeile a:hover .karte-weiter .symbol { transform: translateX(4px); } }

.zeilen { list-style: none; margin: 8px 0 0; padding: 0; }
.zeile + .zeile { border-top: 1px solid var(--linie); }
.zeile a { display: block; padding: 24px 0; text-decoration: none; }
.zeile-titel { font-size: var(--fs-h4); font-weight: 400; margin-bottom: .3em; }
.zeile-text { display: block; color: var(--text-leise); margin: 0 0 .6em; }
@media (min-width: 820px) {
  .zeilen--zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin-top: 24px; }
  .zeilen--zwei .zeile + .zeile { border-top: 0; }
  .zeilen--zwei .zeile a { padding-top: 16px; }
}
.zeile--uebung a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 20px; gap: 16px; align-items: center; padding: 18px 0; }
.zeile-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--salbei); }
.zeile--uebung .zeile-titel { font-size: var(--fs-h4); margin: 0 0 2px; }
.zeile--uebung .zeile-text { margin: 0; font-size: 1rem; }
.zeile-dauer { font-size: 1rem; color: var(--text-leise); white-space: nowrap; }
.zeile-pfeil { transition: transform .35s var(--kurve); }
@media (hover: hover) { .zeile a:hover .zeile-pfeil { transform: translateX(4px); } }
@media (max-width: 599px) {
  .zeile--uebung a { grid-template-columns: 36px minmax(0, 1fr) 20px; }
  .zeile-dauer { display: none; }
}
#uebungen-liste { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.beitrag-gross-bild { min-width: 0; overflow: hidden; } .beitrag-gross-bild .platzhalter, .beitrag-gross-bild img { aspect-ratio: auto; width: 100%; height: 100%; min-height: 240px; }

/* ---------- Bilder und Symbole ---------- */
.app-bild img, .inhalt-bild { filter: brightness(var(--bild-helligkeit)); }
.bild-symbol { display: block; width: 100%; height: 100%; object-fit: contain; }
.fakt-symbol { width: 36px; height: 36px; background: none; border: 0; border-radius: 0; }
.zeile-symbol { width: 36px; height: 36px; background: none; border-radius: 0; }

/* ---------- Schalter hell und dunkel ---------- */
.modus-knopf {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  background: none; border: 1px solid transparent; border-radius: 50%; cursor: pointer; padding: 6px;
  transition: background-color .3s var(--kurve), border-color .3s var(--kurve), transform .15s var(--kurve);
}
@media (hover: hover) { .modus-knopf:hover { background: var(--flaeche); border-color: var(--linie); } }
.modus-knopf img { width: 24px; height: 24px; }
.modus-sonne { display: none; }
:root[data-theme="dunkel"] .modus-sonne { display: block; }
:root[data-theme="dunkel"] .modus-mond { display: none; }
.kopf-cta { margin-left: 8px; }
@media (min-width: 1080px) { .modus-knopf { margin-left: 16px; } }
@media (max-width: 1079px) { .modus-knopf { margin-left: auto; } .kopf-cta { margin-left: 4px; } }
@media (max-width: 399px) { .kopf-innen { gap: 6px; } .kopf-cta { padding: 0 .75rem; } .wortmarke { font-size: 1.3rem; } }

/* ---------- Bedienung am Handy und besondere Einstellungen ---------- */
/* Kurze Rückmeldung beim Antippen */
.karte-link:active, .tuer-link:active, .finder-kachel:active, .beitrag-gross:active, .zeile a:active { transform: scale(.99); }
.chip:active, .aussage:active, .modus-knopf:active { transform: scale(.96); }
a, button, summary, label, input, textarea { touch-action: manipulation; }

/* Kleine Links im Text: größere Tippfläche, ohne dass sich der Zeilenabstand ändert */
.fuss-hinweis a, .brotkrumen a { display: inline-block; padding-block: 11px; margin-block: -11px; }

/* Lange deutsche Wörter am Handy trennen, Überschriften bleiben ganz */
html { overflow-wrap: break-word; }
@media (max-width: 599px) {
  p, li, dd, .lead { -webkit-hyphens: auto; hyphens: auto; }
  h1, h2, h3, h4, .knopf, .chip { -webkit-hyphens: manual; hyphens: manual; }
}

/* Windows-Kontrastmodus: Ränder und Auswahl bleiben sichtbar */
@media (forced-colors: active) {
  .knopf, .chip, .aussage, .modus-knopf, .finder-kachel { border: 1px solid ButtonText; }
  .chip[aria-pressed="true"], .aussage[aria-pressed="true"], .finder-kachel[aria-current] { outline: 2px solid Highlight; outline-offset: 2px; }
}

/* „Transparenz reduzieren“: fester Kopfbereich ohne Milchglas */
@media (prefers-reduced-transparency: reduce) {
  .kopf { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--hintergrund); }
}

/* ---------- Startseite: „Kennst du das?“ ---------- */
.zitate { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.zitate li {
  font-family: var(--schrift-titel); font-style: italic; font-size: clamp(1.25rem, 1.12rem + .6vw, 1.625rem); line-height: 1.35;
  padding: 14px 0 14px 22px; border-left: 2px solid var(--sand);
}
.zitate li + li { border-top: 1px solid var(--linie); }
.entlastung { margin-top: 32px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); max-width: 36rem; }

/* ---------- Startseite: der Weg in vier Schritten, mit einer Linie, die sich beim Scrollen füllt ---------- */
.weg { list-style: none; margin: 40px 0 0; padding: 0 0 0 44px; position: relative; display: grid; gap: clamp(36px, 5vw, 56px); max-width: 44rem; --weg: 0; }
.weg::before, .weg::after { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; }
.weg::before { background: var(--linie); }
.weg::after { background: var(--sand); transform-origin: top; transform: scaleY(var(--weg)); }
.weg-schritt { position: relative; }
.weg-schritt::before {
  content: ""; position: absolute; left: -44px; top: 6px; width: 24px; height: 24px; border-radius: 50%; z-index: 1;
  background: var(--hintergrund); border: 2px solid var(--linie-stark); transition: background-color .5s var(--kurve), border-color .5s var(--kurve);
}
.weg-schritt.erreicht::before { background: var(--sand); border-color: var(--sand); }
.weg-schritt h3 { font-size: var(--fs-h3); font-weight: 400; margin-bottom: .3em; }
.weg-schritt p { margin: 0 0 .4em; max-width: 36rem; }
.weg-nutzen { color: var(--text-leise); }
@media (prefers-reduced-motion: reduce) { .weg { --weg: 1; } .weg-schritt::before { background: var(--sand); border-color: var(--sand); } }

/* ---------- Startseite: Finder ohne farbige Fläche ---------- */
.finder--kurz { margin-top: 28px; }
.finder--kurz .finder-kachel { border-color: var(--linie); }
.finder--kurz .finder-kachel[aria-current="true"] { border-color: var(--text); background: var(--salbei); }

/* ---------- Startseite: der App-Block, der einzige farbige Bereich ---------- */
.app-block { display: grid; gap: 32px; background: var(--salbei); border-radius: var(--r-karte); padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px); }
@media (min-width: 900px) { .app-block { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; } }
.app-block-bild .app-bild--handy { width: min(300px, 68vw); }
.app-block-bild .handy-rahmen { background: var(--hintergrund); }
@media (min-width: 900px) { .app-block-bild { position: sticky; top: calc(var(--kopf-hoehe) + 32px); } }
.app-zeilen { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; }
.app-zeilen li { padding-left: 18px; border-left: 2px solid var(--sand); }
.app-zeilen h3 { font-size: var(--fs-h4); margin: 0 0 .2em; }
.app-zeilen p { margin: 0; }
.app-laden { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-bottom: 20px; }
.app-laden-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.app-qr { display: none; align-items: center; gap: 14px; }
.app-qr .qr { width: 112px; height: 112px; padding: 8px; }
.app-qr p { margin: 0; font-size: .9375rem; color: var(--text-leise); max-width: 9rem; line-height: 1.4; }
@media (min-width: 960px) and (hover: hover) { .app-qr { display: flex; } }
.app-fakten { font-size: 1rem; color: var(--text-leise); max-width: 36rem; }
.papier { margin-top: 20px; padding: 16px 4px 0; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.papier-titel { margin: 0; font-family: var(--schrift-titel); font-size: 1.25rem; }
.papier-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.papier-liste span { color: var(--text-leise); }
.papier-preis { white-space: nowrap; }

/* ---------- Startseite: Vertrauen ---------- */
.vertrauen { display: grid; gap: 48px; }
@media (min-width: 960px) { .vertrauen:has(.team) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: start; } }
.daten-liste { list-style: none; margin: 24px 0 16px; padding: 0; }
.daten-liste li { padding: 12px 0 12px 26px; position: relative; border-bottom: 1px solid var(--linie); }
.daten-liste li:first-child { border-top: 1px solid var(--linie); }
.daten-liste li::before { content: ""; position: absolute; left: 4px; top: 1.28em; width: 7px; height: 7px; border-radius: 50%; background: var(--graugruen); }
.haltung { margin-top: 20px; font-family: var(--schrift-titel); font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); line-height: 1.45; max-width: 34rem; }
.team { display: grid; gap: 20px; }
.team-bild { max-width: 220px; }
.team-bild img, .team-bild .platzhalter { border-radius: var(--r-karte); }
.team h2 { font-size: var(--fs-h3); }

/* ---------- Startseite: ruhiger Schluss ---------- */
.schluss { max-width: 40rem; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: 4px; }
.schluss-symbol { width: 72px; height: 72px; margin-bottom: 12px; }
.schluss p { color: var(--text-leise); margin-bottom: 20px; }
/* ---------- Magazin: Beiträge als Karten (Startseite und Magazin) ---------- */
.mag-karten { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .mag-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1040px) { .mag-karten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.mag-karte { display: flex; }
.mag-karte a {
  display: flex; flex-direction: column; width: 100%; overflow: hidden; text-decoration: none; color: var(--text);
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte);
  box-shadow: 0 1px 2px rgb(var(--schatten-rgb) / .04);
  transition: transform .45s var(--kurve), box-shadow .45s var(--kurve), border-color .45s var(--kurve);
}
@media (hover: hover) { .mag-karte a:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: var(--linie-stark); } }
.mag-karte a:active { transform: scale(.99); }
.mag-karte-bild { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--salbei); }
.mag-karte-bild .platzhalter, .mag-karte-bild img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; min-height: 0; border-radius: 0; object-fit: cover; }
.mag-karte-bild img { transition: transform .8s var(--kurve); }
@media (hover: hover) { .mag-karte a:hover .mag-karte-bild img { transform: scale(1.04); } }
.mag-karte-text { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; border-top: 3px solid var(--sand); }
@media (min-width: 700px) { .mag-karte-text { padding: 24px 24px 26px; } }
.mag-karte-datum { font-family: var(--schrift-text); font-size: .9375rem; color: var(--text-leise); margin-bottom: 6px; }
.mag-karte-titel { font-family: var(--schrift-titel); font-size: clamp(1.375rem, 1.25rem + .5vw, 1.625rem); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; text-wrap: balance; }
.mag-karte-kurz { color: var(--text-leise); font-size: 1rem; line-height: 1.6; margin: 0 0 1.25rem; }
/* Handy: kompakter, kürzerer Vorschautext (zwei Zeilen), flacheres Bild */
@media (max-width: 699px) {
  .mag-karten { gap: 14px; margin-top: 20px; }
  .mag-karte-bild { aspect-ratio: 16 / 9; }
  .mag-karte-text { padding: 14px 16px 16px; }
  .mag-karte-titel { font-size: 1.25rem; margin-bottom: .3em; }
  .mag-karte-kurz { font-size: .9375rem; line-height: 1.5; margin-bottom: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .mag-karte-weiter { padding-top: 10px; }
}
.mag-karte-weiter { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; padding-top: 14px; border-top: 1px solid var(--linie); }
.mag-karte-weiter .symbol { transition: transform .35s var(--kurve); }
@media (hover: hover) { .mag-karte a:hover .mag-karte-weiter .symbol { transform: translateX(4px); } }

/* ---------- Über uns ---------- */
.ueber-symbol { justify-self: center; }
/* Foto auf „Über uns“: rechts neben dem Text, getrennt durch einen goldenen Strich.
   Hinter dem Foto liegt eine versetzte Salbei-Fläche, damit es zur Seite gehört. */
.ueber-foto { position: relative; justify-self: center; width: 100%; max-width: 230px; padding: 32px 12px 12px 0; }
.ueber-foto::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; background: linear-gradient(to right, transparent, var(--sand) 18%, var(--sand) 82%, transparent); }
.ueber-foto-rahmen { position: relative; display: block; }
.ueber-foto-rahmen::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; background: var(--salbei); border-radius: var(--r-karte); }
.ueber-foto img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-karte); box-shadow: var(--schatten); filter: brightness(var(--bild-helligkeit)); }
@media (min-width: 860px) {
  .ueber-raster:has(.ueber-foto) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .ueber-foto { justify-self: stretch; max-width: none; display: flex; justify-content: center; padding: 8px 12px 12px 56px; }
  .ueber-foto::before { top: -40px; bottom: -40px; left: 0; right: auto; width: 2px; height: auto; background: linear-gradient(to bottom, transparent, var(--sand) 14%, var(--sand) 86%, transparent); }
  .ueber-foto-rahmen { width: min(100%, 240px); }
}
.ueber-symbol-bild { width: clamp(140px, 22vw, 220px); height: auto; }
.personen { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.person-foto { max-width: 200px; margin-bottom: 14px; }
.person-foto img, .person-foto .platzhalter { border-radius: var(--r-karte); }
.person-name { font-size: var(--fs-h4); margin: 0 0 .15em; }
.person-rolle { color: var(--text-leise); margin: 0 0 .5em; }
.person-satz { margin: 0; }
.platzhalter-wort { background: var(--akut-sanft); color: var(--text); border: 1px dashed var(--akut); border-radius: 4px; padding: 0 4px; }
/* Im grünen App-Block hebt sich der Knopf hell ab */
.app-block .knopf { background: var(--flaeche); border-color: rgb(var(--text-rgb) / .22); }
@media (hover: hover) { .app-block .knopf:hover { background: var(--hintergrund); border-color: var(--text); } }
/* Am Handy: flacherer Bildstreifen und etwas kleinere Einleitung, damit die Akku-Frage im ersten Bildschirm erscheint */
@media (max-width: 759px) {
  .held-foto { aspect-ratio: 3 / 1; object-position: 72% 62%; }
  .held-titel { padding-top: 16px; }
  .held .lead { font-size: 1.0625rem; line-height: 1.55; margin-bottom: 1rem; }
  .held-raster { gap: 20px; margin-top: 16px; }
  .held-fakten { font-size: .9375rem; }
  .held-probe { padding: 18px 16px; }
}

/* Knopf in der Kopfzeile: nie mehrzeilig, am schmalen Handy ohne „Zur“ */
.kopf-cta { white-space: nowrap; }
@media (max-width: 479px) { .kopf-cta-zur { display: none; } }
@media (max-width: 479px) { .wortmarke { font-size: 1.2rem; letter-spacing: .1em; } .kopf-innen { gap: 4px; } .kopf-cta { padding: 0 .65rem; margin-left: 2px; } }
@media (max-width: 379px) { .wortmarke { font-size: 1.1rem; letter-spacing: .06em; } .logo-symbol { width: 30px; height: 30px; } }

@media (pointer: coarse) { .fuss-spalte a { min-height: 40px; } }

/* Social-Icons unter dem Newsletter: schmale Linien-Icons in unserem Grün */
.fuss-social { list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: clamp(20px, 3vw, 28px) 0 0; border-top: 1px solid var(--linie); display: flex; justify-content: center; gap: 12px; }
.fuss-social a, .fuss-social-leer { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #A9803F; }
.symbol-social { width: 26px; height: 26px; stroke-width: 1.4; }
@media (hover: hover) { .fuss-social a:hover { color: #8E6A2F; } }
.fuss-social a:focus-visible { outline: 2px solid #A9803F; outline-offset: 2px; border-radius: 8px; }

.fuss-spalte a { min-height: 26px; line-height: 1.3; padding-block: 2px; }
.fuss-titel { margin-bottom: 4px; }
@media (pointer: coarse) { .fuss-spalte a { min-height: 36px; } }

/* Semantisch eine H2, sieht aus wie eine H3 */
.wie-h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.25; }

/* Überschrift und Link im Heft in unserem Logo-Grün */
.magazin-seite h2, .magazin-alle { color: #728472; }

/* Nach-oben-Pfeil */
.nach-oben {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--knopf-hg); color: var(--knopf-text);
  border: 1px solid var(--linie-stark); box-shadow: var(--schatten);
  cursor: pointer; opacity: 0; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}
.nach-oben[hidden] { display: none; }
.nach-oben.sichtbar { opacity: 1; transform: none; }
.nach-oben:hover { background: var(--knopf-hover); }
.nach-oben .symbol { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .nach-oben { transition: none; } }
@media print { .nach-oben { display: none !important; } }

/* Abbildungen im Text */
.fliesstext img { display: block; max-width: 100%; height: auto; margin: 1.5em 0; border-radius: var(--r-karte); }

/* Beitragsbilder: Der Rand verläuft in die Farbe der Fläche dahinter. Die Überlagerung ragt 2 px über das Bild hinaus,
   damit auch bei halben Pixeln keine feine Linie an der Kante übrig bleibt. */
.beitrag-bild, .karte-bild, .beitrag-gross-bild { position: relative; --bild-rand: var(--hintergrund); --bild-verlauf: 46px; }
.karte-bild, .beitrag-gross-bild { --bild-rand: var(--flaeche); }
.beitrag-bild .inhalt-bild, .karte-bild .inhalt-bild, .beitrag-gross-bild .inhalt-bild { display: block; border-radius: 0; opacity: var(--bild-helligkeit); }
.beitrag-bild::after, .karte-bild::after, .beitrag-gross-bild::after {
  content: ""; position: absolute; inset: -2px; pointer-events: none;
  background:
    linear-gradient(to right, var(--bild-rand) 4%, color-mix(in srgb, var(--bild-rand) 45%, transparent) 40%, transparent) left / var(--bild-verlauf) 100% no-repeat,
    linear-gradient(to left, var(--bild-rand) 4%, color-mix(in srgb, var(--bild-rand) 45%, transparent) 40%, transparent) right / var(--bild-verlauf) 100% no-repeat,
    linear-gradient(to bottom, var(--bild-rand) 4%, color-mix(in srgb, var(--bild-rand) 45%, transparent) 40%, transparent) top / 100% var(--bild-verlauf) no-repeat,
    linear-gradient(to top, var(--bild-rand) 4%, color-mix(in srgb, var(--bild-rand) 45%, transparent) 40%, transparent) bottom / 100% var(--bild-verlauf) no-repeat;
}

.preis-vorspann { margin: 22px 0 12px; font-size: 1rem; }
.faq-antwort--breit { max-width: none; }
.faq-antwort--breit .tabelle td:not(:first-child), .faq-antwort--breit .tabelle th:not(:first-child) { white-space: nowrap; }
.faq--breit { max-width: none; }

/* ---- Kurs „Die Gegenprobe“ ---- */
.kurs-form { display: grid; gap: 18px; margin: 24px 0; }
.kurs-form input[type="email"] { width: 100%; padding: 12px 14px; border: 1px solid var(--linie-stark); border-radius: var(--r-klein); background: var(--flaeche); color: var(--text); font: inherit; }
.kurs-haken { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .95rem; color: var(--text-leise); }
.kurs-haken input { margin-top: 4px; flex: none; }
.kurs-auswahl { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kurs-auswahl legend { width: 100%; padding: 0; margin: 0 0 8px; font-weight: 700; }
.kurs-option input { position: absolute; opacity: 0; }
.kurs-option label { display: inline-block; padding: 10px 14px; border: 1px solid var(--linie-stark); border-radius: var(--r-klein); background: var(--flaeche); cursor: pointer; }
.kurs-option input:checked + label { background: var(--salbei-dunkel); border-color: var(--text); }
.kurs-option input:focus-visible + label { outline: 2px solid var(--text); outline-offset: 2px; }
.kurs-einwilligung { padding: 14px 16px; border: 1px solid var(--linie-stark); border-radius: var(--r-karte); background: var(--flaeche); margin: 0; }
.kurs-klein { font-size: .9rem; color: var(--text-leise); }
.kurs-fehler { color: var(--akut); font-weight: 700; margin: 0; }
.kurs-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kurs-karte { padding: 24px; border: 1px solid var(--linie-stark); border-radius: var(--r-karte); background: var(--flaeche); }
.kurs-kaestchen { display: block; font-size: .9rem; color: var(--text-leise); }
.kurs-aktionen { margin: 20px 0; }
@media print { .kurs-form, .kurs-aktionen, .kurs-klein { display: none; } .kurs-karte { border: 0; padding: 0; } }

.leer-seite .bild-symbol { width: 110px; height: 110px; }

.kurs-box { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: clamp(20px, 3vw, 32px); margin: 28px 0 8px; }
.kurs-box > p { margin-top: 0; }
.kurs-box .kurs-form { margin: 16px 0 0; }
.inhalts-abschnitt.mitte { text-align: center; }

/* ===== Begleitmaterial zur Gegenprobe (/gegenprobe-material) ===== */
.material-hinweis { background: var(--salbei); border-radius: var(--r-karte); padding: 20px 24px; max-width: 46rem; margin-top: 1.5rem; }
.material-hinweis p { margin: 0; }
.material-hinweis p + p { margin-top: .5rem; }
.material-weg { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.material-schritt { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: center; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 28px; }
.material-vorschau { display: block; }
.material-vorschau img { width: 100%; height: auto; display: block; border-radius: 4px; background: #fff; box-shadow: 0 10px 28px rgb(var(--schatten-rgb) / .16); transform: rotate(-1.5deg); transition: transform .35s var(--kurve); }
.material-schritt:nth-child(even) .material-vorschau img { transform: rotate(1.5deg); }
.material-vorschau:hover img { transform: rotate(0) scale(1.03); }
.material-oben { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: .5rem; }
.material-nr { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--salbei-dunkel); font-weight: 700; }
.material-im-buch { font-size: .9375rem; color: var(--text-leise); }
.material-schritt h3 { margin: 0 0 .4em; }
.material-schritt p { color: var(--text-leise); margin: 0 0 1.1rem; max-width: 36rem; }
@media (max-width: 640px) {
  .material-schritt { grid-template-columns: 96px 1fr; gap: 18px; padding: 18px; }
}
.material-hinweis + .abschnitt-knopf { margin-top: 1.25rem; }

/* Kurze Clips der Begleiter auf der App-Seite */
.app-clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; max-width: 520px; }
.app-clip { margin: 0; text-align: center; }
.app-clip video { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: #E9E9E6; }
.app-clip figcaption { margin-top: 6px; font-size: .875rem; color: var(--text-leise); }

/* Angedeutete Wischbewegung über den Streichel-Clips: ein heller Strich wischt zweimal hin und her */
.app-clip { position: relative; }
.app-clip-wisch { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1; pointer-events: none; overflow: visible; }
.app-clip-wisch path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; opacity: 0; stroke-dasharray: 34 200; stroke-dashoffset: 34; filter: drop-shadow(0 0 3px rgb(0 0 0 / .25)); }
.app-clip.wischt .app-clip-wisch path { animation: app-wisch 2.8s ease-in-out 1 both; }
@keyframes app-wisch {
  0% { stroke-dashoffset: 34; opacity: 0; }
  4% { opacity: .85; }
  25% { stroke-dashoffset: -100; }
  50% { stroke-dashoffset: 34; }
  75% { stroke-dashoffset: -100; }
  96% { opacity: .85; }
  100% { stroke-dashoffset: 34; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .app-clip.wischt .app-clip-wisch path { animation: none; } }

/* Knopf zum erneuten Abspielen, erscheint nach dem automatischen Abspielen */
.app-clip-nochmal { position: absolute; right: 8px; bottom: 38px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--linie); border-radius: 50%; background: var(--flaeche); color: var(--text); cursor: pointer; box-shadow: var(--schatten); }
.app-clip-nochmal[hidden] { display: none; }
.app-clip-nochmal:hover { background: var(--salbei); }
.app-clip-nochmal:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* Der Kurs im Footer: zart hinterlegt, damit er auffällt */
/* Footer: kleiner Hinweis unter „Die Gegenprobe“ */
.fuss-spalte .fuss-zusatz { display: block; margin: -2px 0 6px; font-size: .8125rem; line-height: 1.3; color: var(--text-leise); }

/* Hinweis unter dem Android-QR-Code, bis die App im Play Store ist */
.laden-karte .laden-datum { margin: 14px 0 0; font-size: .9375rem; font-weight: 600; text-align: center; max-width: 18em; }

/* ===== Arbeitsbuch-Angebot auf der Kurs-Seite (/gegenprobe) ===== */
.buch-angebot { margin: clamp(32px, 5vw, 64px) 0; padding: clamp(22px, 4vw, 52px); background: var(--salbei); border: 1px solid var(--salbei-dunkel); border-radius: var(--r-karte); }
.buch-angebot-innen { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 860px) {
  .buch-angebot-innen { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .buch-visual { order: 2; }
}
.buch-ueber { font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise); margin: 0 0 .6rem; }
.buch-text h2 { margin-top: 0; font-size: clamp(1.375rem, .6rem + 1.5vw, 2rem); line-height: 1.2; }
.buch-punkte { margin: 1rem 0 1.5rem; padding-left: 1.2em; display: grid; gap: .45rem; }
.buch-wahl { display: grid; gap: 14px; margin: 0 0 1rem; }
.buch-karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 18px 20px; }
.buch-karte h3 { margin: 0 0 .35rem; font-size: 1.125rem; }
.buch-karte p { margin: 0 0 .9rem; color: var(--text-leise); font-size: .9375rem; }
.buch-karte .knopf { margin: 0; }
.buch-karte--hervor { position: relative; border: 2px solid var(--sand); box-shadow: var(--schatten); padding-top: 24px; }
.buch-marke { position: absolute !important; top: -13px; left: 18px; margin: 0 !important; padding: 3px 12px; border-radius: 999px; background: var(--sand); color: #2B1F1B !important; font-size: .8125rem !important; font-weight: 700; letter-spacing: .02em; }
.knopf-aus { opacity: .6; cursor: default; pointer-events: none; }
.buch-klein { font-size: .8125rem; color: var(--text-leise); margin: 0; }

/* Buchbild: Taschenbuch in 3D, Tablet und Smartphone, alle mit dem Cover. Größen in cqw (Prozent der Breite der Bühne). */
.buch-buehne { container-type: inline-size; position: relative; width: 100%; max-width: 540px; aspect-ratio: 1.1 / 1; margin-inline: auto; }
.buch-3d { position: absolute; left: 5cqw; bottom: 6cqw; width: 48cqw; aspect-ratio: 2 / 3; perspective: 1400px; }
.buch-3d::after { content: ""; position: absolute; left: 4%; right: -14%; bottom: -3.2cqw; height: 5cqw; background: radial-gradient(closest-side, rgb(var(--schatten-rgb) / .38), transparent); filter: blur(5px); z-index: -1; }
.buch-koerper { --b: 48cqw; --t: 3.6cqw; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(26deg) rotateX(2deg); }
.buch-front { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 0 3px 3px 0; transform: translateZ(calc(var(--t) / 2)); box-shadow: inset 3px 0 6px rgb(0 0 0 / .25); }
.buch-ruecken { position: absolute; top: 0; left: 0; width: var(--t); height: 100%; display: block; transform-origin: left center; transform: translateZ(calc(var(--t) / -2)) rotateY(-90deg); }
.buch-hinten { position: absolute; inset: 0; background: #1B2822; transform: translateZ(calc(var(--t) / -2)) rotateY(180deg); }
.geraet { position: absolute; background: #14110F; box-shadow: 0 1.6cqw 3.6cqw rgb(var(--schatten-rgb) / .35), inset 0 0 0 .25cqw #3a3633; }
.geraet img { display: block; width: 100%; height: 100%; object-fit: cover; }
.geraet-tablet { right: 2cqw; top: 4cqw; width: 33cqw; aspect-ratio: 3 / 4.15; padding: 2cqw; border-radius: 3cqw; transform: rotate(4deg); }
.geraet-tablet img { border-radius: 1.2cqw; }
.geraet-handy { right: 24cqw; bottom: 1cqw; width: 17cqw; aspect-ratio: 9 / 18.5; padding: 1cqw; border-radius: 3cqw; background: #14110F; transform: rotate(-3deg); }
.geraet-handy img { height: auto; position: absolute; left: 1cqw; right: 1cqw; width: calc(100% - 2cqw); top: 50%; transform: translateY(-50%); border-radius: .6cqw; }
.geraet-handy::before { content: ""; position: absolute; inset: 1cqw; border-radius: 2.2cqw; background: #1F2D27; }
.geraet-handy img { z-index: 1; }
@media print { .buch-angebot { display: none; } }

/* Überschrift mit festen Zeilenumbrüchen (Kurs-Seite): kleiner, damit jede Zeile auf dem Computer in einer Zeile bleibt */
.h1-drei { font-size: clamp(1.75rem, 1.05rem + 2.6vw, 2.5rem); line-height: 1.2; text-wrap: balance; }
.h1-drei .br-gross { display: none; }
@media (min-width: 700px) { .h1-drei .br-gross { display: inline; } }
.h1-drei .nb { white-space: nowrap; }

/* Blick ins Buch: drei Seiten als kleine Vorschau */
.buch-visual { display: grid; gap: clamp(20px, 3vw, 32px); min-width: 0; }
.buch-einblick .buch-ueber { text-align: center; }
.buch-seiten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 18px); align-items: start; }
.buch-seiten figure { margin: 0; }
.buch-seiten img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--linie); border-radius: 3px; box-shadow: 0 8px 22px rgb(var(--schatten-rgb) / .18); }
.buch-seiten figcaption { margin-top: 10px; text-align: center; font-size: .8125rem; line-height: 1.3; color: var(--text-leise); }

/* Arbeitsbuch-Bereich als kleine Verkaufsseite */
.buch-kurz { display: flex; gap: 16px; align-items: center; margin: 1.1rem 0 1.4rem; padding: 14px 18px; background: var(--flaeche); border: 1px solid var(--linie); border-left: 4px solid var(--sand); border-radius: var(--r-karte); }
.buch-kurz p { margin: 0; }
.buch-kurz-zahl { display: grid; justify-items: center; flex: none; min-width: 5.2rem; line-height: 1.1; }
.buch-kurz-zahl strong { font-family: var(--schrift-titel); font-size: 1.75rem; font-weight: 500; }
.buch-kurz-zahl span { font-size: .8125rem; color: var(--text-leise); }
.buch-detail { display: grid; gap: clamp(28px, 4vw, 44px); margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--salbei-dunkel); }
.buch-detail h3 { margin: 0 0 .7rem; font-size: clamp(1.25rem, 1rem + .9vw, 1.625rem); }
.buch-detail p { max-width: 46rem; }
.buch-detail .buch-klein { margin-top: .9rem; }
.buch-stufen { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .buch-stufen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.buch-stufe { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-karte); padding: 18px 20px; }
.buch-stufe p { margin: 0; }
.buch-stufe .buch-stufe-zeit { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-leise); margin: 0 0 .3rem; }
.buch-stufe h4 { margin: 0 0 .4rem; font-size: 1.25rem; }
.buch-stufe p:last-child { font-size: .9375rem; color: var(--text-leise); }
.buch-haken { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 32px; }
@media (min-width: 760px) { .buch-haken { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.buch-haken li { position: relative; padding-left: 28px; }
.buch-haken li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--text); }
.buch-doppelt { display: grid; gap: clamp(28px, 4vw, 44px); }
@media (min-width: 860px) { .buch-doppelt { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }
.buch-doppelt p { margin: 0; }
@media (min-width: 700px) { .buch-wahl--breit { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; } }
.buch-detail .buch-karte h3 { margin: 0 0 .35rem; font-size: 1.125rem; }
.buch-detail .buch-karte p { max-width: none; }

/* Lightbox */
.lb-knopf { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; font: inherit; color: inherit; cursor: zoom-in; }
.buch-3d .lb-knopf, .geraet .lb-knopf { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; border-radius: inherit; }
.lb-knopf:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.lb-seite { transition: transform .15s ease; }
.lb-seite:hover { transform: translateY(-3px); }
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lb::backdrop { background: rgb(20 18 16 / .88); }
.lb-inhalt { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 16px; box-sizing: border-box; }
.lb-bild { display: block; max-width: min(92vw, 900px); max-height: calc(100vh - 112px); width: auto; height: auto; background: #fff; border-radius: 4px; box-shadow: 0 12px 48px rgb(0 0 0 / .5); }
.lb-zu, .lb-zurueck, .lb-weiter { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .16); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-zu:hover, .lb-zurueck:hover, .lb-weiter:hover { background: rgb(255 255 255 / .3); }
.lb-zu:focus-visible, .lb-zurueck:focus-visible, .lb-weiter:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb-zu { top: 12px; right: 12px; }
.lb-zurueck { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-weiter { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-zurueck[hidden], .lb-weiter[hidden] { display: none; }
html.lb-offen { overflow: hidden; }
/* Genau vier Beiträge: 2 × 2 statt 3 + 1 */
@media (min-width: 1040px) { .mag-karten:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Die App: am Handy steht das Bildschirmfoto direkt unter dem Text der Funktion ---------- */
.app-punkt-bild { display: none; }
@media (max-width: 959px) {
  .app-tab-bilder--nur-computer { display: none; }
  .app-punkt-bild { display: block; margin: 22px auto 0; max-width: min(260px, 72vw); }
  .app-punkt-bild .app-bild--handy { width: 100%; max-width: none; margin: 0; }
  .app-punkt-bild .handy-rahmen { border-radius: 30px; padding: 6px; }
  .app-punkt-bild .handy-rahmen img { border-radius: 24px; }
  .app-punkt { margin-top: clamp(36px, 8vw, 52px); }
}

/* Arbeitsbuch als E-Book: nur Tablet und Handy, ohne gedrucktes Buch (Seite /gegenprobe-ebook) */
.buch-buehne--digital .geraet-tablet { right: 12cqw; top: 3cqw; width: 52cqw; transform: rotate(3deg); }
.buch-buehne--digital .geraet-handy { right: auto; left: 8cqw; bottom: 3cqw; width: 23cqw; }

/* Arbeitsbuch als Taschenbuch: nur das gedruckte Buch, mittig (Seite /gegenprobe-taschenbuch) */
.buch-buehne--buch .buch-3d { left: 24cqw; width: 52cqw; bottom: 8cqw; }
