/* lebeninfluss.ch — Mensch. Raum. Energie.
   Farben angelehnt an die bisherige Seite (Grün #497B47, Gold #ECBC00). */
:root {
  --gruen: #497b47;
  --gruen-hell: #7fae74;
  --gruen-tief: #1f3a22;
  --gruen-nebel: #e9f1e6;
  --gold: #e2b31b;
  --gold-hell: #f7ecc6;
  --papier: #fbfaf6;
  --weiss: #ffffff;
  --tinte: #1d231f;
  --grau: #5b645d;
  --linie: #dfe3dc;
  --radius: 22px;
  --schatten: 0 20px 50px -30px rgba(31, 58, 34, .45);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --breite: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--tinte);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen); text-underline-offset: 3px; }
a:hover { color: var(--gruen-tief); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--breite), 100% - 2.5rem); margin-inline: auto; }
.schmal { max-width: 720px; }
.label {
  display: inline-block; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gruen); font-weight: 600; margin-bottom: 1rem;
}
.gross { font-size: 1.25rem; color: var(--grau); }
.leise { color: var(--grau); }
.klein { font-size: .9rem; color: var(--grau); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--weiss); padding: .5rem 1rem; z-index: 99; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(223, 227, 220, .7);
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--tinte); }
.logo-zeichen {
  width: 44px; height: 44px; border-radius: 12px; background: var(--gruen);
  display: grid; place-items: center; flex: none;
}
.logo-zeichen svg { width: 26px; height: 26px; }
.logo-text { line-height: 1.15; }
.logo-text strong { display: block; font-size: .82rem; letter-spacing: .2em; font-weight: 700; }
.logo-text span { font-size: .78rem; color: var(--grau); }
.navi { display: flex; align-items: center; gap: 1.6rem; }
.navi a { text-decoration: none; color: var(--tinte); font-size: .95rem; white-space: nowrap; }
.logo-text strong, .logo-text span { white-space: nowrap; }
.navi a:hover, .navi a[aria-current="page"] { color: var(--gruen); }
.navi a[aria-current="page"] { font-weight: 600; }
.menue-knopf { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.menue-knopf span { display: block; width: 24px; height: 2px; background: var(--tinte); margin: 5px 0; transition: .3s; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--gruen);
  background: var(--gruen); color: var(--weiss) !important; text-decoration: none;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s;
  font-family: var(--sans);
}
.knopf:hover { background: var(--gruen-tief); border-color: var(--gruen-tief); transform: translateY(-2px); box-shadow: var(--schatten); }
.knopf.hell { background: transparent; color: var(--gruen) !important; }
.knopf.hell:hover { background: var(--gruen-nebel); }
.knopf.klein { padding: .6rem 1.1rem; font-size: .92rem; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.pfeil { transition: transform .25s; }
.knopf:hover .pfeil { transform: translateX(4px); }
/* Test-Knopf in Gold, wie im Corporate Design vorgesehen (Esther, 23.11.2026). Dunkle Schrift: Weiss auf Gold ist zu schwach. */
.knopf[href^="test.html"]:not(.hell) { background: var(--gold); border-color: var(--gold); color: var(--tinte) !important; }
.knopf[href^="test.html"]:not(.hell):hover { background: var(--gruen-tief); border-color: var(--gruen-tief); color: var(--weiss) !important; }

/* ---------- Abschnitte ---------- */
section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.ton { background: var(--weiss); }
.nebel { background: var(--gruen-nebel); }
.dunkel { background: var(--gruen-tief); color: #eef3ec; }
.dunkel h2, .dunkel h3 { color: var(--weiss); }
.dunkel .leise { color: #b9c8b6; }
.dunkel .label { color: var(--gold); }

/* ---------- Bühne (Hero) ---------- */
.buehne { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.buehne .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.buehne h1 em { font-style: italic; color: var(--gruen); }
.buehne-bild { position: relative; }
.buehne-bild img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--schatten);
}
.schwebe {
  position: absolute; left: -1.5rem; bottom: 2rem; background: var(--weiss); border-radius: 18px;
  padding: 1rem 1.2rem; box-shadow: var(--schatten); max-width: 250px; font-size: .92rem;
}
.schwebe strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--gruen-tief); }
/* Einstieg mit Beispiel: drei Bilder untereinander (vorher, geplant, umgesetzt), 17.11.2026 */
.buehne-reihe { margin: 0; display: grid; gap: .8rem; }
.reihe-bild { position: relative; }
.reihe-bild img {
  display: block; width: 100%; aspect-ratio: 2.6 / 1; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.marke {
  position: absolute; left: .8rem; top: .8rem; background: var(--weiss); color: var(--gruen-tief); font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; padding: .25rem .75rem; border-radius: 999px; box-shadow: var(--schatten);
}
.buehne-reihe figcaption { font-size: .9rem; color: var(--grau); }
.fluss { position: absolute; inset: auto 0 0 0; height: 220px; pointer-events: none; opacity: .55; z-index: -1; }
.fluss path { fill: none; stroke: var(--gruen-hell); stroke-width: 1.2; }
.fluss .f2 { stroke: var(--gold); opacity: .6; }
@media (prefers-reduced-motion: no-preference) {
  .fluss path { stroke-dasharray: 8 14; animation: fliessen 18s linear infinite; }
  .fluss .f2 { animation-duration: 26s; }
}
@keyframes fliessen { to { stroke-dashoffset: -440; } }

/* ---------- Karten und Raster ---------- */
.raster-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.raster-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 2rem; transition: transform .35s, box-shadow .35s;
}
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.nebel .karte { border-color: transparent; }
.symptome { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.symptome li {
  background: var(--weiss); border-radius: 16px; padding: 1.1rem 1.2rem 1.1rem 3.2rem; position: relative;
}
.symptome li::before {
  content: ""; position: absolute; left: 1.2rem; top: 1.45rem; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--gruen); background: var(--gruen-nebel);
}
.zitat {
  font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.35; font-style: italic;
  max-width: 900px; margin: 0 auto; text-align: center;
}
.zitat-quelle { text-align: center; margin-top: 1.5rem; letter-spacing: .15em; text-transform: uppercase; font-size: .8rem; }
/* Zitat auf dunklem Grün mit goldenen Anführungszeichen: die eine kräftige Fläche der Startseite (23.11.2026) */
.dunkel .zitat { color: var(--weiss); }
.zitat .anf { color: var(--gold); font-style: normal; }
.dunkel .zitat-quelle { color: var(--gold); }
/* Kurzes Zitat mit Name rechts, im Rahmen (Esther, 23.11.2026) */
.zitat-kasten {
  margin: 1.4rem 0; padding: 1.2rem 1.4rem; background: var(--gruen-nebel); border-left: 4px solid var(--gold);
  border-radius: 16px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem;
}
.zitat-kasten blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.35; color: var(--tinte); }
.zitat-kasten figcaption { margin-left: auto; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gruen-tief); }
.bild-rund { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--schatten); }
.bild-hoch { aspect-ratio: 3 / 4; }

/* ---------- Schritte ---------- */
.schritte { counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem; }
.schritt { position: relative; padding-top: 3.4rem; }
.schritt::before {
  counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--gruen); color: var(--weiss); font-weight: 700;
}
.schritt::after { content: ""; position: absolute; top: 1.25rem; left: 3rem; right: -.5rem; height: 1px; background: var(--linie); }
.schritt:last-child::after { display: none; }
.schritt h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.schritt p { font-size: .95rem; color: var(--grau); }
.schritte-gross { display: grid; gap: 1.2rem; margin-top: 2rem; }
.schritte-gross .karte { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.2rem; align-items: start; }
.nummer { font-family: var(--serif); font-size: 2.6rem; color: var(--gruen); line-height: 1; }

/* ---------- Angebote ---------- */
.angebote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.angebot { display: flex; flex-direction: column; }
.angebot h2 { min-height: 2.3em; }
.angebot .preis { font-family: var(--serif); font-size: 2.1rem; color: var(--gruen-tief); margin: .4rem 0 .2rem; }
.angebot .preis small { font-family: var(--sans); font-size: .95rem; color: var(--grau); }
.angebot ul { padding-left: 1.1rem; margin: 1rem 0 1.5rem; }
.angebot li { margin-bottom: .35rem; }
.angebot .knopf { margin-top: auto; align-self: flex-start; }
.angebot.hervor { border: 2px solid var(--gruen); position: relative; }
.angebot.hervor::before {
  content: "Mit Begleitung"; position: absolute; top: -.85rem; left: 2rem; background: var(--gold);
  color: var(--tinte); font-size: .75rem; font-weight: 700; letter-spacing: .08em; padding: .25rem .7rem; border-radius: 999px;
}
.hinweise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
.hinweis { background: var(--weiss); border-radius: 16px; padding: 1.2rem 1.4rem; border-left: 4px solid var(--gold); }
.hinweis strong { display: block; }

/* ---------- Rechner ---------- */
.rechner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: stretch; }
.feld { margin-bottom: 1.4rem; }
.feld label, .feld legend { display: block; font-weight: 600; margin-bottom: .45rem; }
.zahl-wahl { display: flex; align-items: center; gap: .8rem; }
.zahl-wahl button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--gruen); background: var(--weiss);
  color: var(--gruen); font-size: 1.3rem; cursor: pointer;
}
.zahl-wahl button:hover { background: var(--gruen-nebel); }
.zahl-wahl output { min-width: 3.5rem; text-align: center; font-family: var(--serif); font-size: 1.7rem; }
.schalter { display: flex; align-items: center; gap: .7rem; cursor: pointer; font-weight: 400 !important; }
.schalter input { width: 22px; height: 22px; accent-color: var(--gruen); }
.ergebnis {
  background: var(--gruen-tief); color: var(--weiss); border-radius: var(--radius); padding: 2rem;
  display: flex; flex-direction: column; justify-content: center;
}
.ergebnis .summe { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; margin: .3rem 0 1rem; }
.ergebnis dl { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; margin: 0 0 1rem; font-size: .95rem; color: #cfdccc; }
.ergebnis dd { margin: 0; text-align: right; }

/* ---------- Test ---------- */
.test { background: var(--weiss); border-radius: 28px; box-shadow: var(--schatten); padding: clamp(1.5rem, 4vw, 3rem); }
.test-fortschritt { height: 6px; background: var(--gruen-nebel); border-radius: 99px; overflow: hidden; margin-bottom: 2rem; }
.test-fortschritt div { height: 100%; width: 0; background: linear-gradient(90deg, var(--gruen-hell), var(--gruen)); transition: width .5s ease; }
.test-frage { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--grau); margin-bottom: 1.5rem; min-height: 4.2em; }
.test-frage strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.2rem); color: var(--gruen-tief); line-height: 1.2; margin-bottom: .35rem; }
.test-zaehler { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grau); margin-bottom: .6rem; }
.antworten { display: grid; gap: .7rem; }
.antworten button {
  text-align: left; padding: 1rem 1.3rem; border-radius: 14px; border: 1.5px solid var(--linie);
  background: var(--papier); font: inherit; cursor: pointer; transition: border-color .2s, background .2s, transform .2s;
}
.antworten button:hover, .antworten button:focus-visible { border-color: var(--gruen); background: var(--gruen-nebel); transform: translateX(4px); }
.test-zurueck { margin-top: 1.4rem; background: none; border: 0; color: var(--grau); cursor: pointer; font: inherit; text-decoration: underline; }
.test-ergebnis[hidden], .test-ablauf[hidden] { display: none; }
.test-ergebnis [data-titel]:focus { outline: none; }
.skala { display: flex; gap: .4rem; margin: 1.5rem 0; }
.skala span { flex: 1; height: 10px; border-radius: 99px; background: var(--gruen-nebel); }
.skala span.an { background: var(--gruen); }
.skala span.an.gold { background: var(--gold); }

/* ---------- Formular ---------- */
form .zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1.5px solid var(--linie);
  background: var(--weiss); font: inherit; color: var(--tinte);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gruen); box-shadow: 0 0 0 4px var(--gruen-nebel); }
textarea { min-height: 150px; resize: vertical; }
.einwilligung { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--grau); }
.einwilligung input { margin-top: .3rem; accent-color: var(--gruen); width: 18px; height: 18px; flex: none; }
.meldung { padding: 1rem 1.2rem; border-radius: 12px; margin-top: 1rem; }
.meldung.gut { background: var(--gruen-nebel); }
.meldung.info { background: var(--gold-hell); }

/* ---------- Stimmen ---------- */
.paare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-top: 2.5rem; }
.paar h3 { margin-bottom: .8rem; }
.paar-bilder { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.paar figure { margin: 0; }
.paar img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--schatten); }
.paar figcaption { font-size: .9rem; color: var(--grau); margin-top: .5rem; }
/* So arbeite ich, 23.11.2026: hohe Bilder (Hochformat) weniger beschneiden; Erklärzeile pro Paar in gleicher Höhe */
#vorher-nachher .paar img { aspect-ratio: 9 / 16; }
.paar-text { font-size: .95rem; color: var(--grau); margin: -.4rem 0 .9rem; min-height: 5em; }
.stimmen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.stimme { background: var(--weiss); border-radius: var(--radius); padding: 2.2rem; position: relative; margin: 0; }
.stimme::before {
  content: "\201C"; position: absolute; top: .6rem; right: 1.5rem; font-family: var(--serif);
  font-size: 5rem; color: var(--gruen-nebel); line-height: 1;
}
.stimme p { font-size: 1.02rem; }
.stimme footer { font-weight: 600; margin-top: 1rem; }
.stimme footer span { display: block; font-weight: 400; font-size: .9rem; color: var(--grau); }

/* ---------- Fragen ---------- */
details { border-bottom: 1px solid var(--linie); padding: 1.1rem 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::after { content: "+"; color: var(--gruen); font-size: 1.4rem; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: .8rem 0 0; color: var(--grau); }

/* ---------- Fuss ---------- */
.fuss { background: var(--tinte); color: #c9cfca; padding: 4rem 0 5.5rem; font-size: .95rem; } /* unten Platz für das Netlify-Schild */
.fuss a { color: #e8ece8; text-decoration: none; }
.fuss a:hover { color: var(--gold); }
.fuss .wrap > div:first-child { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.fuss h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--weiss); }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: .4rem; }
.fuss-unten { border-top: 1px solid #333a35; margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }

/* ---------- Textseiten ---------- */
.seitenkopf { padding: clamp(3rem, 7vw, 5.5rem) 0 2rem; }
.text h2 { margin-top: 2.5rem; }
.text ul { padding-left: 1.2rem; }
.text li { margin-bottom: .5rem; }
.kasten { background: var(--gruen-nebel); border-radius: var(--radius); padding: 2rem; margin: 2.5rem 0; }

/* ---------- Bewegung ---------- */
.zeigen { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.zeigen.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .zeigen { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 980px) {
  .schritte { grid-template-columns: 1fr 1fr; }
  .schritt::after { display: none; }
  .angebote, .raster-3 { grid-template-columns: 1fr; }
  .angebot h2 { min-height: 0; }
  .rechner { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .menue-knopf { display: block; }
  .navi {
    position: fixed; inset: 76px 0 auto 0; background: var(--papier); flex-direction: column; align-items: flex-start;
    padding: 1.5rem 1.25rem 2rem; gap: 1.1rem; border-bottom: 1px solid var(--linie);
    transform: translateY(-120%); transition: transform .35s ease; visibility: hidden;
  }
  .navi.offen { transform: none; visibility: visible; }
  .navi a { font-size: 1.15rem; }
}
@media (max-width: 860px) {
  .buehne .wrap, .raster-2 { grid-template-columns: 1fr; }
  .buehne-bild { max-width: 460px; }
  .buehne-reihe { max-width: 600px; }
  .buehne-bild img { aspect-ratio: 4 / 3; border-radius: 120px 120px var(--radius) var(--radius); }
  .schwebe { left: auto; right: -.5rem; bottom: 1rem; }
  .symptome, .stimmen, .hinweise, .paare { grid-template-columns: 1fr; }
  .fuss .wrap > div:first-child { grid-template-columns: 1fr; }
  form .zeile { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .schritte { grid-template-columns: 1fr; }
  .schritte-gross .karte { grid-template-columns: 1fr; }
  .karte { padding: 1.5rem; }
}
