/* Gestaltung fuer lob-gesund.de (Bauchgefluester), Entwurf vom 06.10.2026.
   Keine fremden Schriften, keine fremden Bilder. Systemschriften des Geraets.
   Diese Datei wird von allen Seiten eingebunden. Gestaltung direkt in den
   Seiten waere durch die Sicherheitsanweisung aus ADR-020 blockiert. */

:root {
  /* Farbkonzept von Lioba (31.10.2026): sichtbar, kraeftig.
     Weiss #FFFFFF, warme Flaeche #FFF1E9, Akzent #FF665A, Highlight #D6AD52,
     Gruen #55C7A5, Knoepfe und Vertrauen #087C68, Text #243B53. */
  --text: #243B53;
  --gedaempft: #3d5470;
  --flaeche: #FFF1E9;
  --flaeche-2: #FFE3D4;
  --linie: #FFCDB8;
  --akzent: #087C68;
  --akzent-dunkel: #065c4e;
  --akzent-text: #ffffff;
  --gruen: #55C7A5;
  --koralle: #FF665A;
  --gold: #D6AD52;
  --hinweis: #FFF1E9;
  --hinweis-rand: #D6AD52;
  --breite: 46rem;
}

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

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

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: "Segoe UI", Verdana, Geneva, sans-serif;
  line-height: 1.25;
  margin: 2.25rem 0 .75rem;
  text-wrap: balance;
}
h1 { font-size: 2rem; margin-top: 0; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .5rem; }

a { color: var(--akzent); }
a:focus-visible { outline: 3px solid var(--hinweis-rand); outline-offset: 2px; }

.innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Kopf */
.kopf {
  border-bottom: 1px solid var(--linie);
  background: #ffffff;
}
.kopf .innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: .875rem;
  padding-bottom: .875rem;
}
.marke {
  font-family: "Segoe UI", Verdana, Geneva, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}
.marke span {
  display: block;
  font-weight: 400;
  font-size: .8125rem;
  color: var(--gedaempft);
}
.navi ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
}
.navi li { margin: 0; }
.navi a {
  font-family: "Segoe UI", Verdana, Geneva, sans-serif;
  font-size: .9375rem;
  color: var(--text);
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.navi a:hover, .navi a[aria-current="page"] { border-bottom-color: var(--akzent); }

/* Abschnitte */
.abschnitt { padding: 3rem 0; }
.abschnitt-farbig { background: var(--flaeche); }
.abschnitt-farbig-2 { background: var(--flaeche-2); }

.buehne { padding: 3.5rem 0 3rem; background: var(--flaeche); }
.vorspann { font-size: 1.1875rem; color: var(--gedaempft); }

.karte {
  background: #ffffff;
  border: 1px solid var(--linie);
  border-radius: .625rem;
  padding: 1.25rem 1.375rem;
  margin: 1.25rem 0;
}
.karte h3 { margin-top: 0; }

.raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.raster .karte { margin: 0; }

.liste-ruhig { list-style: none; padding-left: 0; }
.liste-ruhig li {
  padding-left: 1.5rem;
  position: relative;
}
.liste-ruhig li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--gruen);
}

.zitat-satz {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--akzent-dunkel);
}

/* Knoepfe. Die Regel steht nach "a", damit die weisse Schrift gewinnt
   (Lehre aus ADR-008, zweiter Nachtrag). */
a.knopf {
  display: inline-block;
  background: var(--akzent);
  color: var(--akzent-text);
  font-family: "Segoe UI", Verdana, Geneva, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  padding: .875rem 1.5rem;
  border-radius: .5rem;
  margin: .25rem .5rem .25rem 0;
}
a.knopf:hover, a.knopf:focus { background: var(--akzent-dunkel); color: var(--akzent-text); }
a.knopf-hell {
  background: #ffffff;
  color: var(--akzent);
  border: 2px solid var(--akzent);
}
a.knopf-hell:hover, a.knopf-hell:focus { background: var(--flaeche); color: var(--akzent-dunkel); }

/* Abgrenzung: gut sichtbar, nicht im Kleingedruckten */
.abgrenzung {
  background: var(--hinweis);
  border-left: 4px solid var(--hinweis-rand);
  border-radius: .375rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.abgrenzung p:last-child { margin-bottom: 0; }

/* Sichtbare Platzhalter im Entwurf */
.platzhalter {
  display: block;
  background: #fff3cd;
  border-left: 4px solid #b45309;
  padding: .5rem .75rem;
  margin: .5rem 0;
  font-family: "Segoe UI", Verdana, Geneva, sans-serif;
  font-size: .9375rem;
}

.klein { font-size: .9375rem; color: var(--gedaempft); }

/* Fuss */
.fuss {
  background: var(--text);
  color: #FFF1E9;
  padding: 2.5rem 0 2rem;
  font-size: .9375rem;
}
.fuss a { color: #FFF1E9; }
.fuss .raster { gap: 1.5rem; }
.fuss h2 {
  font-size: 1rem;
  margin: 0 0 .5rem;
  color: #ffffff;
}
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: .25rem; }
.fuss .klein { color: #FFD9C7; margin-top: 1.5rem; }

@media (max-width: 480px) {
  body { font-size: 1rem; }
  h1 { font-size: 1.625rem; }
  h2 { font-size: 1.3125rem; }
  .buehne { padding: 2.5rem 0 2rem; }
  .abschnitt { padding: 2.25rem 0; }
  a.knopf { display: block; text-align: center; margin-right: 0; }
}


/* ==========================================================================
   Grafiken und Seitenaufbau, Entwurf vom 31.10.2026 (Fassung b).
   Alles inline-SVG in index.html, Gestaltung nur hier ueber Klassen.
   Animiert werden nur transform, opacity und stroke-dashoffset.
   ========================================================================== */

:root {
  --koralle-hell: #FFB3AC;
  --koralle-weich: #FFE0DC;
  --gold-hell: #F0D9A0;
  --gold-weich: #F8EBC8;
  --gruen-hell: #A9E6D2;
  --gruen-weich: #D6F3EA;
  --teal-hell: #9FD8CC;
  --teal: #087C68;
  --sand: #FFE3D4;
}

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.st-gold { stop-color: #D6AD52; }
.st-gold-hell { stop-color: #F3DDA4; }
.st-koralle { stop-color: #FF665A; }
.st-koralle-hell { stop-color: #FFC2BA; }
.st-gruen { stop-color: #55C7A5; }
.st-teal { stop-color: #087C68; }
.st-weiss { stop-color: #FFFFFF; }
.st-sand { stop-color: #FFE3D4; }

/* Zeichnungen: feine Linie, runde Enden, Fuellung wird pro Form gesetzt */
svg.ill, svg.fluss {
  fill: none;
  stroke: #243B53;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg.ill { display: block; width: 100%; height: auto; overflow: visible; }
svg.ill .no { stroke: none; }
.ln { fill: none; }
.st { stroke: #243B53; }
.sk { stroke: #FF665A; }
.so { stroke: #D6AD52; }
.sg { stroke: #55C7A5; }
.sa { stroke: #087C68; }
.sw { stroke: #ffffff; stroke-width: 1.5; fill: none; }
svg.ill .st { stroke: #243B53; }

.f-weiss { fill: #ffffff; }
.f-himmel { fill: url(#gHimmel); }
.f-sonne { fill: url(#gSonne); }
.f-koralle { fill: #FF665A; }
.f-koralle-hell { fill: var(--koralle-hell); }
.f-koralle-weich { fill: var(--koralle-weich); }
.f-gold { fill: #D6AD52; }
.f-gold-hell { fill: var(--gold-hell); }
.f-gold-weich { fill: var(--gold-weich); }
.f-gruen { fill: #55C7A5; }
.f-gruen-hell { fill: var(--gruen-hell); }
.f-gruen-weich { fill: var(--gruen-weich); }
.f-teal { fill: #087C68; }
.f-teal-hell { fill: var(--teal-hell); }

/* ---- Kopf und Hero ---- */
.kopf { position: relative; z-index: 2; }
.buehne {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 1rem;
  background: var(--flaeche);
  animation: none;
}
.buehne::before { content: none; }
.buehne .innen { position: relative; z-index: 1; }
.buehne .innen.buehne-raster {
  max-width: 66rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 760px) {
  .buehne { padding: 3.5rem 0 1.5rem; }
  .buehne .innen.buehne-raster { grid-template-columns: 1.1fr .9fr; gap: 2.5rem; }
}
.buehne h1 { font-size: 1.75rem; }
@media (min-width: 760px) { .buehne h1 { font-size: 2.5rem; } }
.vorspann { font-size: 1.1875rem; color: var(--text); }
.buehne-bild { width: 100%; max-width: 28rem; margin: 0 auto; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin-top: 1.25rem; }
.knoepfe-mitte { justify-content: center; }
a.knopf { margin: 0; }
.buehne p, .buehne h1, .buehne .vorspann { animation: sanft-ein .9s cubic-bezier(.2, .7, .2, 1) both; }
.buehne .vorspann { animation-delay: .25s; }
.buehne .knoepfe { animation-delay: .5s; }

/* Fliessende Windungslinien im Hintergrund */
svg.fluss { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .4; pointer-events: none; z-index: 0; stroke-width: 2; }
.fluss-cta { opacity: .5; }

/* Wellen als Abschnittstrenner */
.trenner { line-height: 0; }
.trenner svg { display: block; width: 100%; height: 3rem; stroke-width: 2; }
.t-warm { background: var(--flaeche); }
.t-weiss { background: #ffffff; }
.w-weiss { fill: #ffffff; stroke: none; }
.w-warm { fill: var(--flaeche); stroke: none; }

/* ---- Abschnitte ---- */
.abschnitt { padding: 2.5rem 0; }
.abschnitt-warm { background: var(--flaeche); }
.innen-breit { max-width: 66rem; }
.mitte { text-align: center; margin-top: 0; }
h2 { font-size: 1.5rem; }
@media (min-width: 760px) { h2 { font-size: 1.875rem; } }
h2.mitte::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 4px;
  margin: .75rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #FF665A, #D6AD52, #55C7A5);
}

/* Karten mit Icon */
.karten { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .karten-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.karte-i {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--linie);
  border-top: 5px solid var(--koralle);
  border-radius: 1rem;
  padding: 1.5rem 1.375rem 1.5rem;
  text-align: center;
  transition: transform .35s ease;
}
.karte-i:hover { transform: translateY(-.375rem); }
.k-koralle { border-top-color: #FF665A; }
.k-gold { border-top-color: #D6AD52; }
.k-gruen { border-top-color: #55C7A5; }
.karte-i svg.icon { width: 6rem; height: 6rem; margin: 0 auto 1rem; }
.karte-i h3 { margin: 0 0 .5rem; }
.karte-i p { margin: 0; }

.naechster { text-align: center; margin-top: 2.5rem; }
svg.ill.herz { width: 2.5rem; height: auto; margin: 0 auto .5rem; stroke-width: 2; }
.zitat-satz { font-family: "Segoe UI", Verdana, Geneva, sans-serif; font-size: 1.3125rem; font-weight: 600; color: var(--text); font-style: normal; margin-bottom: .5rem; }

/* Weg */
.weg { margin-top: 1.5rem; }
.weg-bild { max-width: 34rem; margin: 0 auto; }
.zahl { font: 700 17px "Segoe UI", Verdana, sans-serif; fill: #ffffff; stroke: none; }
.zahl-dunkel { fill: #243B53; }
.schritte { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.schritte li {
  margin: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--linie);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}
.schritte p { margin: 0; }
.nr {
  flex: none;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font: 700 1.125rem "Segoe UI", Verdana, sans-serif;
  color: #ffffff;
}
.nr-1 { background: #FF665A; color: #243B53; }
.nr-2 { background: #D6AD52; color: #243B53; }
.nr-3 { background: #087C68; }
.nr-1 { color: #243B53; }
@media (min-width: 760px) { .schritte { grid-template-columns: repeat(3, 1fr); } .schritte li { flex-direction: column; text-align: center; } }

/* Vertiefung */
.tief h2.mitte { margin-bottom: 2rem; }
.zeile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  margin: 0 0 2rem;
}
.zeile-bild { border-radius: 1.5rem; padding: 1rem; max-width: 22rem; width: 100%; margin: 0 auto; }
.b-gold { background: var(--gold-weich); }
.b-koralle { background: var(--koralle-weich); }
.b-gruen { background: var(--gruen-weich); }
.b-teal { background: #D2ECE6; }
.zeile-text h3 { margin: 0 0 .5rem; font-size: 1.375rem; }
.zeile-text p { font-size: 1.125rem; margin: 0; }
@media (min-width: 760px) {
  .zeile { grid-template-columns: 1fr 1.1fr; gap: 3rem; margin-bottom: 3rem; }
  .zeile:nth-of-type(even) .zeile-bild { order: 2; }
  .zeile-bild { max-width: 24rem; }
}

/* Abschluss */
.abschluss { background: #ffffff; padding-top: 2rem; }
.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(135deg, var(--flaeche), var(--sand));
  border: 1px solid var(--linie);
  border-radius: 1.75rem;
  padding: 1.75rem 1.25rem;
}
.cta-text, .cta-bild { position: relative; z-index: 1; }
.cta h2 { margin-top: 0; }
.cta-bild { max-width: 18rem; margin: 0 auto; width: 100%; }
@media (min-width: 760px) {
  .cta { grid-template-columns: 1.2fr .8fr; padding: 3rem 3rem; gap: 2rem; }
  .cta-bild { order: 2; }
}

.abschnitt-schmal { padding-top: 0; }
.abgrenzung { position: relative; background: #ffffff; border: 2px solid var(--gold); border-left-width: 6px; padding: 1.25rem 1.25rem 1.25rem; }
.abgrenzung h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
svg.ill.herz-kasten { width: 2.25rem; float: right; margin: 0 0 .5rem 1rem; stroke-width: 2; }
.fuss .raster { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }

@media (max-width: 480px) {
  h1 { font-size: 1.625rem; }
  .knoepfe a.knopf { flex: 1 1 100%; text-align: center; }
}

/* ---- Bewegung (nur transform, opacity, stroke-dashoffset) ---- */
@keyframes sanft-ein { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes treiben { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(10px, -12px) rotate(10deg); } }
@keyframes puls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes drehen { to { transform: rotate(360deg); } }
@keyframes aufgehen { from { transform: translateY(38px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wolke { 0%, 100% { transform: translateX(-10px); } 50% { transform: translateX(14px); } }
@keyframes zeichnen { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes dampf { 0% { transform: translateY(6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-8px); opacity: 0; } }
@keyframes flattern { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.45); } }
@keyframes funkeln { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes wiegen { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes nadel { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(14deg); } }
@keyframes welle { 0%, 100% { transform: translateX(-8px); } 50% { transform: translateX(8px); } }
@keyframes atmen { 0%, 100% { transform: scale(.9); } 50% { transform: scale(1.08); } }
@keyframes hupfen { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes herzschlag { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }

/* Hero */
.sonne { animation: aufgehen 2.6s cubic-bezier(.2, .7, .2, 1) .2s both; }
.halo, .strahlen, .bluete, .ring, .stein, .stern, .herz-klein, .herz-brief, .nadel, .dampf path, .fluegel, .zeiger, .mond, .spross, .brief, .knoten, .welle, .zweig, .blatt-lose, .treiben, .wolke, .blase, .sonne-klein {
  transform-box: fill-box;
  transform-origin: center;
}
.halo { animation: puls 6s ease-in-out infinite; }
.strahlen { animation: drehen 90s linear infinite; transform-origin: 200px 190px; transform-box: view-box; }
.wolke-1 { animation: wolke 20s ease-in-out infinite; }
.wolke-2 { animation: wolke 26s ease-in-out -8s infinite; }
.treiben-1 { animation: treiben 9s ease-in-out infinite; }
.treiben-2 { animation: treiben 11s ease-in-out -3s infinite; }
.treiben-3 { animation: treiben 8s ease-in-out -5s infinite; }
.treiben-4 { animation: treiben 12s ease-in-out -7s infinite; }
.schmetterling { animation: schweben 5s ease-in-out infinite; }
.fluegel { transform-box: fill-box; transform-origin: 100% 50%; animation: flattern 1.6s ease-in-out infinite; }
.fluegel-r { transform-origin: 0 50%; }
.zeichnen { animation: zeichnen 3.5s ease-out .3s both; }

/* Icons */
.b1 { animation: puls 5s ease-in-out infinite; }
.b2 { animation: puls 6s ease-in-out -2s infinite; }
.b3 { animation: puls 7s ease-in-out -4s infinite; }
.nadel { animation: nadel 6s ease-in-out infinite; }
.dampf-1 { animation: dampf 3.4s ease-in-out infinite; }
.dampf-2 { animation: dampf 3.4s ease-in-out -1.1s infinite; }
.dampf-3 { animation: dampf 3.4s ease-in-out -2.2s infinite; }
.ring-1 { animation: atmen 6s ease-in-out infinite; }
.ring-2 { animation: atmen 6s ease-in-out -.4s infinite; }
.ring-3 { animation: atmen 6s ease-in-out -.8s infinite; }
.sonne-klein { animation: puls 5s ease-in-out infinite; }
.stein-1 { animation: hupfen 4s ease-in-out infinite; }
.stein-2 { animation: hupfen 4s ease-in-out -.6s infinite; }
.stein-3 { animation: hupfen 4s ease-in-out -1.2s infinite; }
.spross { transform-origin: 50% 100%; animation: wiegen 5s ease-in-out infinite; }
.zeiger { transform-origin: 156px 124px; transform-box: view-box; animation: drehen 24s linear infinite; }
.zweig { transform-origin: 50% 100%; animation: wiegen 8s ease-in-out infinite; }
.blatt-lose { animation: treiben 9s ease-in-out infinite; }
.blatt-lose-2 { animation-delay: -4s; }
.mond { animation: schweben 7s ease-in-out infinite; }
.stern-1 { animation: funkeln 3s ease-in-out infinite; }
.stern-2 { animation: funkeln 4s ease-in-out -1s infinite; }
.stern-3 { animation: funkeln 3.5s ease-in-out -2s infinite; }
.welle-1 { animation: welle 7s ease-in-out infinite; }
.welle-2 { animation: welle 9s ease-in-out -3s infinite; }
.blase-1 { animation: schweben 6s ease-in-out infinite; }
.blase-2 { animation: schweben 7s ease-in-out -2s infinite; }
.herz-klein, .herz-brief { animation: herzschlag 2.4s ease-in-out infinite; }
.brief { animation: schweben 6s ease-in-out infinite; }

/* Scroll: Linien zeichnen sich, Karten erscheinen. Nur wo der Browser es kann. */
@supports (animation-timeline: view()) {
  .weg-linie { animation: zeichnen linear both; animation-timeline: view(); animation-range: entry 10% cover 55%; }
  .knoten { animation: sanft-ein linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  .reveal, .reveal-liste > * {
    animation: sanft-ein linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
}

/* Wer Bewegung am Geraet reduziert hat, sieht alles ruhig und vollstaendig. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Grafiken in Rahmen bleiben im Rahmen, auch wenn sich Wellen bewegen */
.zeile-bild svg.ill, .cta-bild svg.ill { overflow: hidden; border-radius: 1rem; }
