/* ==========================================================================
   GRWTH Coaching – grwth-coaching.com
   Design-Tokens & Basis. Dunkel, minimalistisch, eine Akzentfarbe (Gelbgrün).
   Referenz: Exaggerated Minimalism (Kraken Industries).
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #0d0f12;            /* kühles Fast-Schwarz, Navy-Unterton wie bisherige Seite */
  --surface: #14171b;       /* leicht angehobene Fläche */
  --surface-2: #1a1e23;
  --ink: #f1f3ef;           /* Off-White */
  --muted: #9fa7a6;
  --line: rgba(241, 243, 239, 0.18);  /* 27.09.: von 0.10 angehoben – auf Handy-Displays sonst kaum sichtbar */
  --accent: #d9e021;        /* Gelbgrün – einzige Akzentfarbe */
  --accent-ink: #12140a;    /* Text auf Akzent */

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --w-max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --sec-pad: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 14px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --line-w: 1px;
  --milk: rgba(241, 243, 239, 0.04);  /* Milchglas-Fill der Karten; mobil kräftiger */
}

/* Milchglas-Karten (Chris, 27.09.): subtil aufgehellte, weichgezeichnete Fläche,
   damit sich Textboxen vom Glas-Hintergrund abheben. Vorerst nur Startseite
   (#ziele, #ergebnisse) – nach Freigabe auf alle Karten ausweiten. */
.goal, .result-card, .plan, .faq-item, .fit-col,
.google-banner, .transform-card, .flow-node, .loop-item {
  background: var(--milk);   /* dezente Aufhellung – der Effekt lebt vom Blur */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--font);
  background: transparent;   /* Grundfarbe liegt auf html; der Glas-Layer malt darüber */
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-ink); }

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   Hintergrund: Glasstruktur (Entscheid Chris 25.09.2026)
   Facettierte Flächen mit subtilen Navy-/Petrol-Verläufen, wie bisherige Seite.
   -------------------------------------------------------------------------- */

/* Kein negativer z-index: iOS Safari malt den body-Hintergrund sonst darüber
   (Vorfall 27.09.2026, mobil komplett schwarz). Ebenen explizit: Layer 0, Inhalt 1. */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--bg);
}

.bg-glas picture { display: block; width: 100%; height: 100%; }
.bg-glas img { width: 100%; height: 100%; object-fit: cover; }

main, footer { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(13, 15, 18, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: var(--line-w) solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 80px;
}

.nav-logo img {
  height: 70px;    /* Web-Logo-Variante (großer COACHING-Schriftzug), Leiste 80 px */
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  font-size: 1.05rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta { margin-left: 0.5rem; }

/* Sprachumschalter (Globus): Nav + Footer */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.nav-links .lang-switch {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: var(--line-w) solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

.nav-links .lang-switch:hover { border-color: var(--muted); }

.lang-switch .icon { width: 15px; height: 15px; stroke-width: 1.6; }

/* CTA-Button: dunkle Schrift auf Akzent, auch gegen die Nav-Link-Farben */
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover { color: var(--accent-ink); }

.nav-burger {
  display: none;
  margin-left: auto;
  appearance: none;
  -webkit-appearance: none;   /* iOS Safari: kein System-Button-Styling über unserem */
  background: none;
  border: 1px solid rgba(241, 243, 239, 0.28);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}

.nav-burger svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
}

/* Breakpoint 1080px: EN-Labels + Sprachumschalter brauchen mehr Platz als 860px */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--surface);
    border-bottom: var(--line-w) solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; font-size: 1.05rem; width: 100%; }
  .nav-links .lang-switch { border: none; border-radius: 0; padding: 0.75rem 0; }
  .nav-cta { margin: 0.75rem 0 0; }
  .nav-burger { display: block; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover { background: #e6ec49; }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover { border-color: rgba(242, 244, 236, 0.4); }

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */

h1, h2, h3 {
  font-stretch: 115%;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 7.5vw, 5.25rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; font-stretch: 105%; line-height: 1.3; }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 34em;
}

.accent { color: var(--accent); }

section { padding-block: var(--sec-pad); }

.sec-sub {
  color: var(--muted);
  max-width: 38em;
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  min-height: calc(100dvh - 68px);
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.hero-inner { max-width: 60rem; }

.hero h1 { margin-bottom: 1.5rem; }

.hero .lead { margin-bottom: 2.25rem; }

.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* Hero-Load-in: eine orchestrierte Sequenz */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-stagger] {
    opacity: 0;
    transform: translateY(14px);
    animation: rise 0.55s var(--ease) forwards;
  }
  .hero [data-stagger="2"] { animation-delay: 0.1s; }
  .hero [data-stagger="3"] { animation-delay: 0.2s; }
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Ziele (konkrete Beispiel-Ziele, Gerlinde-Feedback)
   -------------------------------------------------------------------------- */

.goals-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1rem;
}

.goal {
  border: var(--line-w) solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 15rem;
}

.goal .big.big-word {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  overflow-wrap: anywhere;
}

.goal .big {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.goal h3 { margin-bottom: 0.4rem; }

.goal p { color: var(--muted); font-size: 0.98rem; }

.goal small {
  display: block;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.goals-note {
  margin-top: 2rem;
  font-size: 1.15rem;
  max-width: 42em;
}

@media (max-width: 860px) {
  .goals-grid { grid-template-columns: 1fr; }
  .goal { min-height: 0; }
}

/* --------------------------------------------------------------------------
   Entlastung („Was du abgibst")
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.relief-list { list-style: none; display: grid; gap: 0; }

.relief-list li {
  padding: 1.4rem 0;
  border-top: var(--line-w) solid var(--line);
}

.relief-list li:last-child { border-bottom: var(--line-w) solid var(--line); }

.relief-list strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.relief-list span { color: var(--muted); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Mindestanforderungen
   -------------------------------------------------------------------------- */

.minimum {
  background: var(--surface);
  border-block: var(--line-w) solid var(--line);
}

.min-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.min-item .big {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.min-item .big em {
  font-style: normal;
  color: var(--accent);
}

.min-item h3 { margin-bottom: 0.5rem; }

.min-item p { color: var(--muted); margin-top: 0.5rem; }

@media (max-width: 860px) {
  .min-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* --------------------------------------------------------------------------
   Erster Monat (Sequenz, daher nummeriert)
   -------------------------------------------------------------------------- */

.month-steps { display: grid; gap: 0; margin-top: 1rem; }

.month-step {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: var(--line-w) solid var(--line);
  align-items: baseline;
}

.month-step:last-child { border-bottom: var(--line-w) solid var(--line); }

.month-step .num {
  font-size: 2.4rem;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}

.month-step h3 { margin-bottom: 0.3rem; }

.month-step p { color: var(--muted); max-width: 44em; }

@media (max-width: 640px) {
  .month-step { grid-template-columns: 3.5rem 1fr; gap: 1rem; }
  .month-step .num { font-size: 1.8rem; }
}

/* --------------------------------------------------------------------------
   Ergebnisse-Teaser
   -------------------------------------------------------------------------- */

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.result-card {
  border: var(--line-w) solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.result-card .metric {
  font-size: 2.2rem;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.result-card blockquote {
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.result-card cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .results-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Abschluss-CTA
   -------------------------------------------------------------------------- */

.closing { text-align: left; }

.closing h2 { max-width: 20em; }

.closing .lead { margin-bottom: 2rem; }

.closing-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer {
  border-top: var(--line-w) solid var(--line);
  padding: 3.5rem 0 4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Zentriert gestapelt (Chris, 25.09.): Logo, Titel, Seiten, Instagram, E-Mail, Rechtliches */
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

.footer-inner img { height: 66px; width: auto; opacity: 0.9; }  /* Raute ohne COACHING-Schriftzug */

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-links a:hover { color: var(--ink); }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-contact a:hover { color: var(--ink); }

.footer-legal { font-size: 0.85rem; }

.icon {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Leistungen: Paketkarten + Laufzeit-Staffel
   -------------------------------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.plan {
  border: var(--line-w) solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  display: flex;
  flex-direction: column;
}

.plan.featured { border-color: rgba(217, 224, 33, 0.45); }

.plan .plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: -0.01em;
}

.plan .plan-for {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.5rem 0 1.5rem;
}

.plan .price {
  font-size: clamp(2.3rem, 4vw, 3rem);
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
}

.plan .price small {
  font-size: 1rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--muted);
}

.plan .price-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0.5rem 0 0.4rem;
}

.plan .once {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.plan .once s {
  color: #e5484d;
  text-decoration-color: #e5484d;
  text-decoration-thickness: 2px;
}

.plan .once strong {
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.plan ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.plan li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.97rem;
}

.plan li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.plan li span { color: var(--muted); font-size: 0.9rem; display: block; }

.plan .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
}

/* Preise und Folgezeilen beider Karten auf gleicher Höhe (Chris, 27.09.):
   Subgrid richtet Name, Beschreibung, Preis, Zusatzzeilen, Liste und Button
   zeilenweise über beide Karten aus. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 861px) {
    .plan {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 7;
      align-content: start;
    }
    #personal-training .plan,
    #consult-calls .plan { grid-row: span 6; }
    .plan .btn { margin-top: 0; align-self: start; justify-self: start; }
  }
}

.price-table-wrap { overflow-x: auto; margin-top: 1.5rem; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  min-width: 480px;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: var(--line-w) solid var(--line);
  font-variant-numeric: tabular-nums;
}

.price-table th {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.price-table td:first-child { color: var(--muted); }

.price-table strong { color: var(--accent); font-weight: 700; }

.fineprint {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 52em;
}

.fineprint strong { color: var(--ink); }

.fineprint a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fineprint a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   FAQ (native Accordion) + Geeignet-Tabelle
   -------------------------------------------------------------------------- */

.faq-list { max-width: 52rem; display: grid; gap: 0.75rem; }

.faq-item {
  border: var(--line-w) solid var(--line);
  border-radius: var(--radius);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.3rem 1.6rem;
  font-weight: 700;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-body {
  padding: 0 1.6rem 1.5rem;
  color: var(--muted);
}

.faq-body p + p { margin-top: 0.75rem; }

.faq-body .month-steps { margin-top: 0.5rem; }

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

.fit-col {
  border: var(--line-w) solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}

.fit-col.yes { border-color: rgba(217, 224, 33, 0.35); }

.fit-col h4 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
  color: var(--ink);
}

.fit-col ul { list-style: none; display: grid; gap: 0.65rem; }

.fit-col li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.93rem;
  line-height: 1.5;
}

.fit-col.yes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.fit-col.no li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 720px) {
  .fit-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Ergebnisse / Rezensionen
   -------------------------------------------------------------------------- */

.google-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  border: var(--line-w) solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.stars {
  color: var(--accent);
  font-size: 1.3rem;
  letter-spacing: 0.15em;
}

.google-banner p { color: var(--muted); font-size: 0.95rem; }

.about-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Google-Rezension innerhalb einer Ergebnis-Karte */
.g-review {
  border-top: var(--line-w) solid var(--line);
  margin-top: 1.4rem;
  padding-top: 1.4rem;
}

.g-review .g-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.g-review .g-head .stars { font-size: 1rem; letter-spacing: 0.12em; }

.g-review blockquote { font-size: 0.98rem; line-height: 1.6; margin-bottom: 0.9rem; }

.g-review cite { font-style: normal; color: var(--muted); font-size: 0.9rem; }

/* Hinweis unter übersetzten Rezensionen (EN-Seite) */
.g-note { color: var(--muted); font-size: 0.8rem; margin-top: 0.35rem; }

.g-review .g-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.g-review .g-link:hover { color: var(--ink); }

.transform-card {
  border: var(--line-w) solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
}

.transform-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.transform-imgs.single { grid-template-columns: 1fr; }

.transform-imgs img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.img-slot {
  aspect-ratio: 3 / 4;
  border: 1px dashed var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  background: rgba(241, 243, 239, 0.02);
}

/* --------------------------------------------------------------------------
   App-Seite (Nutrilize-Mockups)
   -------------------------------------------------------------------------- */

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.app-item img {
  width: 100%;
  height: auto;
}

.app-item h3 { font-size: 1.05rem; margin: 1rem 0 0.3rem; }

.app-item p { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 1024px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .app-grid { grid-template-columns: 1fr; max-width: 20rem; margin-inline: auto; } }

/* --------------------------------------------------------------------------
   Rechtsseiten (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */

.legal { max-width: 46rem; }

.legal h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 1.5rem;
}

.legal h2 { font-size: 1.05rem; margin: 2rem 0 0.6rem; }

.legal p, .legal li { color: var(--muted); font-size: 0.9rem; }

.legal ul { padding-left: 1.25rem; display: grid; gap: 0.4rem; }

.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.legal .stand { font-size: 0.8rem; margin-top: 3rem; }

/* --------------------------------------------------------------------------
   Scroll-Reveal (dezent, nur Schlüsselelemente)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Flowchart (Ablauf-Seite: Anfrage → Erstgespräch → Entscheidung → Onboarding)
   -------------------------------------------------------------------------- */

.flow {
  max-width: 44rem;
  display: grid;
}

.flow-node {
  border: var(--line-w) solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.75rem;
  position: relative;
}

.flow-node .num {
  font-size: 1.6rem;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.flow-node h3 { margin-bottom: 0.35rem; }

.flow-node p { color: var(--muted); font-size: 0.98rem; }

/* Verbindungsstück zwischen Knoten */
.flow-link {
  height: 3rem;
  width: 1px;
  background: var(--line);
  margin-left: 2.6rem;
  position: relative;
}

.flow-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(241, 243, 239, 0.35);
}

.flow-link span {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

/* Entscheidungs-Knoten */
.flow-node.decision {
  border-color: rgba(217, 224, 33, 0.35);
}

.flow-node.goal {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(217, 224, 33, 0.07), rgba(217, 224, 33, 0.02));
}

.flow-node.goal .arrow {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.6rem;
}

/* Wochenrhythmus-Loop */
.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
  counter-reset: loopstep;
}

.loop-item {
  border: var(--line-w) solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  position: relative;
}

.loop-item::before {
  counter-increment: loopstep;
  content: counter(loopstep, decimal-leading-zero);
  display: block;
  font-weight: 800;
  font-stretch: 115%;
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.loop-item h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }

.loop-item p { color: var(--muted); font-size: 0.92rem; }

.loop-back {
  margin-top: 0.75rem;
  padding: 0.8rem 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.loop-back .accent { font-weight: 700; }

@media (max-width: 960px) {
  .loop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .loop-grid { grid-template-columns: 1fr; }
}

/* Nur aktiv, wenn JS läuft (main.js setzt .js auf <html>) – ohne JS bleibt alles sichtbar.
   Timing nach Apple-Design-Skill: kurz, dezent, ease-out. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }
  .js .reveal.in { opacity: 1; transform: none; }

  /* FAQ: weiches Auf-/Zuklappen (progressive enhancement, Chrome 131+) */
  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .faq-item::details-content {
      opacity: 0;
      height: 0;
      overflow: clip;
      transition: height 0.35s var(--ease), opacity 0.3s var(--ease), content-visibility 0.35s allow-discrete;
    }
    .faq-item[open]::details-content {
      opacity: 1;
      height: auto;
    }
  }
}
