/* ==========================================================================
   Startseite (public/index.php) – seitenspezifisch. Gemeinsames in praesentation.css (.pr-)
   ========================================================================== */
/* ── Knöpfe (zwei gleichwertige Hauptwege) ───────────────────────────────── */
/* ── Hero ─────────────────────────────────────────────────────────────────── */
.st-hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 120px); isolation: isolate; }
.st-hero::before {             /* weiches Licht: Minze links, Pfirsich rechts */
  content: ""; position: absolute; inset: -84px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 30%, color-mix(in oklab, var(--pr-warm) 22%, transparent), transparent 70%),
    radial-gradient(800px 600px at 18% 10%, color-mix(in oklab, var(--rf-akzent-hell) 18%, transparent), transparent 70%);
}
[data-theme="dark"] .st-hero::before {
  background:
    radial-gradient(900px 520px at 78% 30%, color-mix(in oklab, var(--pr-warm) 10%, transparent), transparent 70%),
    radial-gradient(800px 600px at 18% 10%, color-mix(in oklab, var(--rf-akzent) 16%, transparent), transparent 70%);
}
.st-hero__raster { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.st-hero h1 { font-size: clamp(42px, 5.4vw, 74px); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 22px 0 24px; }
.st-hero .pr-lead { font-size: clamp(18px, 1.6vw, 20px); margin-bottom: 36px; }
.st-schnell { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.st-schnell a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 10px; border-radius: 14px; background: var(--rf-flaeche); border: 1px solid var(--rf-rand); color: var(--rf-text); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: border-color .2s, transform .2s var(--rf-kurve); }
.st-schnell a:hover { border-color: var(--rf-akzent); transform: translateY(-2px); color: var(--rf-text); }
.st-schnell i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--rf-akzent-weich); color: var(--rf-akzent); }
.st-schnell svg { width: 17px; height: 17px; }
/* Telefon */
.st-hero__bild { position: relative; display: grid; place-items: center; padding: 20px 0; }
.st-hero__bild::before {      /* ruhiger Kreis hinter dem Telefon */
  content: ""; position: absolute; width: min(118%, 560px); aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--rf-akzent-hell) 26%, var(--rf-flaeche)), color-mix(in oklab, var(--pr-warm) 16%, var(--rf-flaeche)) 75%);
  opacity: .9;
}
[data-theme="dark"] .st-hero__bild::before { background: radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--rf-akzent) 22%, var(--rf-flaeche)), var(--rf-flaeche) 72%); }
/* Schwebende Hinweise rund ums Telefon */
.st-notiz {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; width: max-content; max-width: 280px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: color-mix(in oklab, var(--rf-flaeche) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--rf-rand); box-shadow: 0 24px 50px -20px rgb(var(--rf-schatten-farbe) / .35), 0 2px 6px rgb(var(--rf-schatten-farbe) / .06);
  font-size: 13.5px; line-height: 1.3; color: var(--rf-text);
}
.st-notiz b { display: block; font-weight: 700; font-size: 14px; }
.st-notiz small { color: var(--rf-text-3); font-size: 12.5px; }
.st-notiz i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none; }
.st-notiz svg { width: 19px; height: 19px; }
.st-notiz--warm i { background: var(--pr-warm-weich); color: #c26a12; }
.st-notiz--rot i { background: var(--rf-gefahr-weich); color: var(--rf-gefahr); }
.st-notiz--ki i { background: linear-gradient(135deg, #8fd3ff, #4fd1e6 45%, #34c38f); color: #fff; }
[data-theme="dark"] .st-notiz--warm i { color: var(--pr-warm); }
.st-notiz.n1 { top: 12%; left: -6%; }
.st-notiz.n2 { top: 47%; right: -9%; }
.st-notiz.n3 { bottom: 9%; left: -2%; }
@media (prefers-reduced-motion: no-preference) {
  .st-hero__text > * { animation: st-auf .8s var(--rf-kurve) both; }
  .st-hero__text > :nth-child(2) { animation-delay: .06s; }
  .st-hero__text > :nth-child(3) { animation-delay: .12s; }
  .st-hero__text > :nth-child(4) { animation-delay: .18s; }
  .st-hero__text > :nth-child(5) { animation-delay: .24s; }
  .st-notiz { animation: st-notiz .7s var(--rf-kurve) both, st-schweben 7s ease-in-out infinite; }
  .st-notiz.n1 { animation-delay: .7s, 1.4s; }
  .st-notiz.n2 { animation-delay: 1.0s, 2.6s; }
  .st-notiz.n3 { animation-delay: 1.3s, 3.8s; }
}
@keyframes st-auf { from { opacity: 0; transform: translateY(16px); } }
@keyframes st-notiz { from { opacity: 0; transform: translateY(14px) scale(.94); } }
@keyframes st-schweben { 50% { translate: 0 -6px; } }
/* ── Problem ─────────────────────────────────────────────────────────────── */
.st-problem { text-align: center; }
.st-problem__zahl {
  display: block; font: 800 clamp(96px, 17vw, 230px)/.86 var(--rf-schrift-titel); letter-spacing: -.06em;
  background: linear-gradient(180deg, var(--rf-text) 30%, color-mix(in oklab, var(--rf-text) 35%, var(--pr-papier)));
  -webkit-background-clip: text; background-clip: text; color: transparent; margin: 18px 0 10px;
}
.st-problem__satz { font: 700 clamp(22px, 2.6vw, 32px)/1.25 var(--rf-schrift-titel); letter-spacing: -.02em; max-width: 26ch; margin: 0 auto 56px; color: var(--rf-text); }
.st-problem__satz em { font-style: normal; color: var(--rf-text-3); }
.st-fakten { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; border-top: 1px solid var(--rf-rand); }
.st-fakten > div { padding: 28px 24px 0; text-align: left; }
.st-fakten > div + div { border-left: 1px solid var(--rf-rand); }
.st-fakten b { display: block; font: 800 34px/1 var(--rf-schrift-titel); letter-spacing: -.03em; color: var(--rf-text); margin-bottom: 8px; }
.st-fakten p { margin: 0; color: var(--rf-text-2); font-size: 15px; line-height: 1.5; }
.st-fakten .st-fakten__wende b { color: var(--rf-akzent); }
.st-quelle { margin-top: 28px; font-size: 12.5px; color: var(--rf-text-3); }
/* ── Geschichte: So funktioniert Refrivo (klebendes Telefon) ─────────────── */
.st-geschichte { display: grid; grid-template-columns: 1fr minmax(300px, 400px); gap: clamp(40px, 7vw, 110px); }
.st-schritt { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; max-width: 520px; }
.st-schritt:first-child { min-height: 52vh; }
.st-schritt__nr { font: 700 14px/1 var(--rf-schrift-text); letter-spacing: .06em; color: var(--rf-text-3); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.st-schritt__nr i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--rf-flaeche); border: 1px solid var(--rf-rand); color: var(--rf-akzent); transition: background .4s, color .4s, border-color .4s; }
.st-schritt__nr svg { width: 21px; height: 21px; }
.st-schritt h3 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin: 0 0 16px; }
.st-schritt p { font-size: 18px; line-height: 1.6; color: var(--rf-text-2); margin: 0; }
.st-schritt ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.st-schritt li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--rf-text-2); }
.st-schritt li svg { width: 18px; height: 18px; color: var(--rf-akzent); flex: none; margin-top: 3px; }
.st-schritt__bild { display: none; }
.st-schritt.ist-aktiv .st-schritt__nr i { background: var(--rf-akzent); border-color: var(--rf-akzent); color: var(--rf-akzent-auf); }
.js .st-schritt { opacity: .35; transition: opacity .5s var(--rf-kurve); }
.js .st-schritt.ist-aktiv { opacity: 1; }
.st-buehne { position: sticky; top: calc(var(--header-h, 84px) + 4vh); height: calc(100vh - var(--header-h, 84px) - 8vh); display: grid; place-items: center; }
.st-buehne .pr-telefon { width: auto; height: min(100%, 720px); max-width: 100%; }
.st-buehne .pr-telefon__bild > div { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .55s var(--rf-kurve), transform .7s var(--rf-kurve); }
.st-buehne .pr-telefon__bild > div.ist-aktiv { opacity: 1; transform: none; }
.st-fortschritt { position: absolute; right: -28px; top: 50%; translate: 0 -50%; display: grid; gap: 8px; }
.st-fortschritt i { width: 6px; height: 6px; border-radius: 6px; background: var(--rf-rand-stark); transition: height .4s var(--rf-kurve), background .4s; }
.st-fortschritt i.ist-aktiv { height: 26px; background: var(--rf-akzent); }
/* ── Rückrufe (der eine dunkle Moment) ───────────────────────────────────── */
.st-rueckruf {
  position: relative; overflow: hidden; border-radius: 36px; padding: clamp(36px, 6vw, 80px);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  background: #0b1310; color: #e9f1ec; isolation: isolate;
}
.st-rueckruf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 100% 0%, rgba(239, 68, 68, .16), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(46, 164, 111, .18), transparent 70%); }
[data-theme="dark"] .st-rueckruf { background: #0f1915; border: 1px solid var(--rf-rand); }
.st-rueckruf h2, .st-rueckruf h3 { color: #fff; }
.st-rueckruf .pr-kicker { color: #fca5a5; }
.st-rueckruf .pr-lead { color: #a9bab1; }
.st-rueckruf ul { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 12px; }
.st-rueckruf li { display: flex; gap: 12px; color: #d3dfd8; font-size: 16px; }
.st-rueckruf li svg { width: 20px; height: 20px; color: #4ade80; flex: none; margin-top: 2px; }
.st-rueckruf .pr-knopf--rahmen { color: #fff; border-color: rgba(255,255,255,.22); }
.st-rueckruf .pr-knopf--rahmen:hover { border-color: rgba(255,255,255,.5); color: #fff; }
/* ── Bereiche: Refrivo · Fitness · R.A.I. ────────────────────────────────── */
.st-welten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.st-welt {
  position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 30px;
  background: var(--rf-flaeche); border: 1px solid var(--rf-rand); color: var(--rf-text); text-decoration: none;
  transition: transform .35s var(--rf-kurve), box-shadow .35s var(--rf-kurve), border-color .35s;
}
.st-welt:hover { transform: translateY(-6px); box-shadow: var(--rf-schatten-lg); border-color: color-mix(in oklab, var(--rf-akzent) 40%, var(--rf-rand)); color: var(--rf-text); }
.st-welt__text { padding: 30px 30px 0; }
.st-welt__marke { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.st-welt__marke img { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; }
.st-welt[data-bereich="ki"] .st-welt__marke img { object-fit: contain; padding: 7px; background: var(--rf-flaeche-2); border: 1px solid var(--rf-rand); }
.st-welt__marke b { font: 800 19px/1 var(--rf-schrift-titel); letter-spacing: -.02em; }
.st-welt__status { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--rf-akzent); background: var(--rf-akzent-weich); padding: 6px 10px; border-radius: 999px; }
.st-welt h3 { font-size: 25px; line-height: 1.15; letter-spacing: -.025em; font-weight: 800; margin: 0 0 10px; }
.st-welt p { color: var(--rf-text-2); font-size: 15.5px; line-height: 1.55; margin: 0 0 18px; }
.st-welt__mehr { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 15px; color: var(--rf-akzent); }
.st-welt__mehr svg { width: 16px; height: 16px; transition: transform .25s var(--rf-kurve); }
.st-welt:hover .st-welt__mehr svg { transform: translateX(4px); }
.st-welt__bild { position: relative; margin: 28px 30px 0; height: 250px; border-radius: 24px 24px 0 0; overflow: hidden; background: var(--rf-flaeche-2); box-shadow: 0 0 0 8px color-mix(in oklab, var(--rf-akzent) 9%, transparent); }
.st-welt__bild img { width: 100%; height: auto; display: block; max-width: none; }
.st-welt::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, var(--rf-flaeche)); pointer-events: none; }
/* ── Vertrauen ───────────────────────────────────────────────────────────── */
.st-werte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--rf-rand); border-radius: 28px; background: var(--rf-flaeche); overflow: hidden; }
.st-werte > div { padding: 30px 28px; }
.st-werte > div + div { border-left: 1px solid var(--rf-rand); }
.st-werte i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--rf-akzent-weich); color: var(--rf-akzent); margin-bottom: 18px; }
.st-werte i svg { width: 21px; height: 21px; }
.st-werte h3 { font-size: 18px; letter-spacing: -.015em; margin: 0 0 6px; font-weight: 750; }
.st-werte p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--rf-text-2); }
/* ── FAQ ─────────────────────────────────────────────────────────────────── */
/* ── Abschluss ───────────────────────────────────────────────────────────── */
/* ── Responsiv ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .st-welten { grid-template-columns: 1fr 1fr; }
  .st-welt:last-child { grid-column: span 2; }
  .st-werte { grid-template-columns: 1fr 1fr; }
  .st-werte > div:nth-child(3) { border-left: 0; }
  .st-werte > div:nth-child(n+3) { border-top: 1px solid var(--rf-rand); }
}
@media (max-width: 900px) {
  .st-hero__raster { grid-template-columns: 1fr; }
  .st-hero__text { text-align: center; }
  .st-hero .pr-lead { margin-inline: auto; }
  .pr-knoepfe, .pr-vertrauen, .st-schnell { justify-content: center; }
  .st-hero__bild { margin-top: 12px; }
  .st-geschichte { grid-template-columns: 1fr; }
  .st-buehne { display: none; }
  .js .st-schritt { opacity: 1; }
  .st-schritt, .st-schritt:first-child { min-height: 0; max-width: none; padding: 0 0 72px; text-align: center; align-items: center; }
  .st-schritt ul { justify-items: start; text-align: left; }
  .st-schritt__bild { display: block; margin-top: 36px; width: min(70%, 280px); }
  .st-schritt__bild .pr-telefon { width: 100%; }
  .st-rueckruf { grid-template-columns: 1fr; border-radius: 28px; }
}
@media (max-width: 720px) {
  .st-welten { grid-template-columns: 1fr; }
  .st-welt:last-child { grid-column: auto; }
  .st-fakten { grid-template-columns: 1fr; border-top: 0; }
  .st-fakten > div { text-align: center; padding: 22px 0; border-top: 1px solid var(--rf-rand); }
  .st-fakten > div + div { border-left: 0; }
  .st-werte { grid-template-columns: 1fr; }
  .st-werte > div + div { border-left: 0; border-top: 1px solid var(--rf-rand); }
  .st-notiz { transform: scale(.86); }
  .st-notiz.n1 { left: -4%; top: 6%; }
  .st-notiz.n2 { right: -4%; }
  .st-notiz.n3 { left: 0; bottom: 4%; }
}
/* Raster-Kinder dürfen schrumpfen (lange Rückruf-Titel sonst zu breit) */
.st-rueckruf > *, .st-hero__raster > *, .st-geschichte > *, .pr-faq > * { min-width: 0; }
@media (max-width: 720px) {
  .st-rueckruf { grid-template-columns: minmax(0, 1fr); padding: 32px 20px; }
}
.st-rueckruf__wege { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
