/* Vereinsfarben und Kurven aus der App (soldatenhilfe-app/app/css/style.css) */
:root {
  --black: #000000;
  --yellow: #FEC600;
  --red: #C12E1F;
  --blue-grey: #5B6579;
  --white: #FFFFFF;
  --ink: var(--black);
  --paper: var(--white);
  --card: var(--white);                 /* Karten; im Dunkelmodus leicht angehoben */
  --tint: rgb(91 101 121 / 0.10);
  --tint-strong: rgb(91 101 121 / 0.18);
  --line: rgb(91 101 121 / 0.28);
  --shadow: 0 2px 8px rgb(0 0 0 / 0.12);
  --shadow-lift: 0 10px 28px rgb(0 0 0 / 0.14);
  --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  color-scheme: light;                  /* die Seite ist bewusst immer hell */
  --width: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); background: var(--paper); color: var(--ink); line-height: 1.55; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--width); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--black); padding: 10px 14px; border-radius: 8px; font-weight: 700; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Knöpfe (wie in der App) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border: 0; border-radius: var(--radius);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform 120ms ease-out, box-shadow 200ms var(--ease-out), background-color 160ms ease-out;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform 240ms var(--ease-out); }
.btn-yellow { background: var(--yellow); color: var(--black); box-shadow: var(--shadow); }
.btn-black { background: var(--black); color: var(--white); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline { background: transparent; color: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.btn-small { min-height: 44px; padding: 8px 16px; }
@media (hover: hover) {
  .btn-yellow:hover { box-shadow: 0 6px 18px rgb(254 198 0 / 0.35); }
  .btn-black:hover { box-shadow: var(--shadow-lift); }
  .btn-ghost:hover { background: rgb(0 0 0 / 0.07); }
  .btn-outline:hover { background: rgb(0 0 0 / 0.07); }
  .btn:hover svg { transform: translateX(4px); }
}

/* ---------- Kopfzeile ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--white); transition: box-shadow 240ms var(--ease-out); }
.header.is-scrolled { box-shadow: 0 6px 24px rgb(0 0 0 / 0.28); }
.header-row { display: flex; align-items: center; gap: 20px; height: 76px; transition: height 240ms var(--ease-out); }
.header.is-scrolled .header-row { height: 60px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: 0.01em; white-space: nowrap; }
.brand img { width: 46px; height: 46px; border-radius: 50%; transition: width 240ms var(--ease-out), height 240ms var(--ease-out), transform 420ms var(--ease-spring); }
@media (hover: hover) { .brand:hover img { transform: rotate(-10deg) scale(1.08); } }
.header.is-scrolled .brand img { width: 38px; height: 38px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.95rem; color: rgb(255 255 255 / 0.82); position: relative; transition: color 160ms ease-out; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
@media (hover: hover) { .nav a:hover { color: var(--white); } .nav a:hover::after { transform: scaleX(1); } }
.progress { position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--white); cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .menu-btn { display: grid; place-items: center; }
  .header .btn-small { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px; background: var(--black); border-top: 1px solid rgb(255 255 255 / 0.14);
         opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity 200ms ease-out, transform 220ms var(--ease-out), visibility 0s 220ms; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgb(255 255 255 / 0.10); }
  .nav a::after { display: none; }
}

/* ---------- Einstieg ---------- */
.hero { background: var(--paper); color: var(--ink); position: relative; overflow: hidden; }
.hero::before { /* feines Punktraster, läuft nach rechts oben aus */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(91 101 121 / 0.28) 1px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 30%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 90% at 85% 30%, #000 0%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; padding-block: clamp(48px, 9vw, 104px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-grey); }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px; }
.hero h1 { margin-top: 18px; font-size: clamp(2.3rem, 6.2vw, 4.4rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 100% / 100% 38%; padding: 0 0.08em; margin: 0 -0.08em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero h1 .line-in { display: block; }
.hero .lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--blue-grey); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mail { margin-top: 18px; font-size: 0.95rem; color: var(--blue-grey); }
.hero-mail a { color: var(--ink); text-underline-offset: 3px; }
.hero-logo { justify-self: center; position: relative; width: min(100%, 320px); aspect-ratio: 1; }
.hero-logo img { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 10px var(--tint), 0 24px 60px rgb(0 0 0 / 0.16); }
.hero-logo::before { content: ""; position: absolute; inset: -34px; border-radius: 50%; border: 2px dashed var(--yellow); }
.hero-logo::after { content: ""; position: absolute; inset: -70px; border-radius: 50%; border: 1px solid var(--line); }


.facts { background: var(--tint); color: var(--ink); }
.facts ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 36px; font-weight: 600; font-size: 0.95rem; }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tint { background: var(--tint); }
.section-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .eyebrow::before { background: var(--yellow); }
.section-head h2 { margin-top: 12px; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.section-head p { margin-top: 14px; color: var(--blue-grey); font-size: 1.08rem; }

/* Drei Säulen – Kacheln wie auf der App-Startseite: heller Grund, dunkler Fuß */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
.pillar-body { padding: 26px 24px 22px; flex: 1; }
.pillar-icon { width: 64px; height: 64px; padding: 12px; border-radius: var(--radius); background: var(--tint); transition: transform 320ms var(--ease-spring); }
.pillar h3 { margin-top: 18px; font-size: 1.2rem; font-weight: 800; line-height: 1.2; }
.pillar p { margin-top: 8px; color: var(--blue-grey); }
.pillar-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; background: var(--black); color: var(--white); font-weight: 700; font-size: 0.95rem; }
.pillar-foot svg { width: 20px; height: 20px; transition: transform 240ms var(--ease-out); }
.pillar.is-urgent .pillar-foot { background: var(--red); }
@media (hover: hover) {
  .pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .pillar:hover .pillar-foot svg { transform: translateX(4px); }
  .pillar:hover .pillar-icon { transform: scale(1.07) rotate(-3deg); }
}

/* Vorteile */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.benefit { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.benefit-mark { width: 48px; height: 48px; border-radius: var(--radius); background: var(--yellow); color: var(--black); display: grid; place-items: center; }
.benefit-mark svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.1rem; font-weight: 800; }
.benefit p { margin-top: 6px; color: var(--blue-grey); }

/* Prinzipien */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.principles { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.principles li { counter-increment: p; position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 22px 0; }
.principles li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles li::before { content: "0" counter(p); font-weight: 800; font-size: 0.95rem; color: var(--blue-grey); padding-top: 4px; font-variant-numeric: tabular-nums; }
.principles h3 { font-size: 1.2rem; font-weight: 800; }
.principles p { margin-top: 6px; color: var(--blue-grey); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: box-shadow 240ms var(--ease-out); }
@media (hover: hover) { .person:hover { box-shadow: var(--shadow-lift); } }
.person-top { display: flex; align-items: center; gap: 14px; }
.avatar { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--black); color: var(--yellow); display: grid; place-items: center; font-weight: 800; letter-spacing: 0.04em; }
.person h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.2; }
.person .role { margin-top: 2px; color: var(--blue-grey); font-size: 0.92rem; }
.tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--tint); font-size: 0.84rem; font-weight: 600; }
.person details { margin-top: 14px; border-top: 1px solid var(--line); }
.person summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding-top: 6px; cursor: pointer; font-weight: 700; font-size: 0.95rem; }
.person summary::-webkit-details-marker { display: none; }
.person summary svg { width: 20px; height: 20px; transition: transform 240ms var(--ease-out); }
.person details[open] summary svg { transform: rotate(180deg); }
.person details p { padding: 4px 0 4px; color: var(--blue-grey); font-size: 0.96rem; }

/* App */
.app-band { background: var(--black); color: var(--white); border-radius: calc(var(--radius) * 2); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; overflow: hidden; }
.app-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; margin-top: 12px; }
.app-band p { margin-top: 14px; color: rgb(255 255 255 / 0.78); max-width: 32em; }
.app-band ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: rgb(255 255 255 / 0.9); }
.app-band li { display: flex; gap: 10px; align-items: baseline; }
.app-band li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; transform: translateY(-1px); }
.phone { --tint: rgb(91 101 121 / 0.10); justify-self: center; width: 230px; margin-bottom: calc(-1 * clamp(60px, 9vw, 110px)); background: var(--white); color: var(--black); border-radius: 30px 30px 0 0; border: 6px solid #2a2d33; border-bottom: 0; padding: 22px 14px 28px; text-align: center; }
.phone img.logo { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto; }
.phone strong { display: block; margin: 10px 0 12px; font-size: 0.92rem; line-height: 1.2; }
.phone-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.phone-tiles span { background: var(--tint); border-radius: 8px; padding: 8px 4px 0; overflow: hidden; }
.phone-tiles img { width: 30px; height: 30px; margin: 0 auto 8px; }
.phone-tiles i { display: block; height: 6px; margin: 0 -4px; background: var(--black); }
.phone-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.phone-btns span { background: var(--yellow); border-radius: 8px; padding: 12px 8px; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; }
.phone-login { margin-top: 8px; background: var(--black); color: var(--white); border-radius: 8px; padding: 9px; font-size: 0.7rem; font-weight: 700; }

/* Abschluss */
.cta { background: var(--yellow); color: var(--black); }
.cta-row { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-block: clamp(44px, 6vw, 72px); }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.cta p { margin-top: 10px; font-size: 1.1rem; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Fußzeile */
.footer { background: var(--black); color: rgb(255 255 255 / 0.74); padding-block: 48px 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: var(--white); }
.footer h3 { color: var(--white); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer li a { display: inline-block; padding: 5px 0; text-decoration: none; transition: color 160ms ease-out; }
@media (hover: hover) { .footer li a:hover { color: var(--yellow); } }
.footer-note { margin-top: 14px; max-width: 26em; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.14); font-size: 0.88rem; }

/* ---------- Handy und Tablet ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-logo { display: none; }
  .pillars, .team { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .section-head { position: static; }
  .app-band { grid-template-columns: 1fr; }
  .cta-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .pillars, .team, .benefits { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .facts ul { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Dezente Bewegung ----------
   Nur wenn das Gerät Bewegung erlaubt und das Skript läuft (Klasse "js" am <html>) –
   ohne Skript ist alles sofort sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hero-in { animation: hero-in 700ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
  @keyframes hero-in { from { opacity: 0; transform: translateY(12px); } }
  .eyebrow::before { transform-origin: left; }
  .hero .eyebrow::before { animation: line-in 600ms var(--ease-out) 200ms both; }
  @keyframes line-in { from { transform: scaleX(0); } }

  /* Überschrift schiebt sich zeilenweise von unten ins Bild */
  .hero h1 .line-in { animation: line-up 800ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
  @keyframes line-up { from { transform: translateY(110%); } }

  /* Ringe ums Logo wachsen einmal auf; der gestrichelte dreht danach sehr langsam */
  .hero-logo::before { animation: ring-in 1100ms var(--ease-out) 300ms both, ring-turn 90s linear infinite; }
  .hero-logo::after { animation: ring-in 1300ms var(--ease-out) 450ms both; }
  @keyframes ring-in { from { opacity: 0; scale: 0.82; } }
  @keyframes ring-turn { to { rotate: 360deg; } }

  /* Kleine Details, die mit ihrem Abschnitt erscheinen */
  .js .reveal .eyebrow::before { transform: scaleX(0); transition: transform 600ms var(--ease-out) 200ms; }
  .js .reveal.is-in .eyebrow::before { transform: none; }
  .js .reveal .benefit-mark { opacity: 0; transform: scale(0.7); transition: opacity 300ms ease-out, transform 480ms var(--ease-spring); transition-delay: calc(var(--i, 0) * 70ms + 160ms); }
  .js .reveal.is-in .benefit-mark { opacity: 1; transform: none; }
  .js .principles li.reveal::after { transform: scaleX(0); transition: transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .principles li.reveal.is-in::after { transform: none; }
  .js .reveal .phone { transform: translateY(48px); transition: transform 900ms var(--ease-out) 150ms; }
  .js .reveal.is-in .phone { transform: none; }
  .js .reveal .avatar { transform: scale(0.8); transition: transform 480ms var(--ease-spring); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
  .js .reveal.is-in .avatar { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================
   Bausteine der Unterseiten
   ========================================================== */

/* Aktiver Menüpunkt */
.nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 900px) { .nav a[aria-current="page"] { color: var(--yellow); } }

/* Seitenkopf der Unterseiten – kleiner Bruder des Einstiegs */
.page-hero { background: var(--tint); color: var(--ink); position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 80px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(91 101 121 / 0.28) 1px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 60% 120% at 90% 20%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 120% at 90% 20%, #000 0%, transparent 70%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { margin-top: 14px; max-width: 18em; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.page-hero .lead { margin-top: 18px; max-width: 38em; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--blue-grey); }
.page-hero .hero-actions { margin-top: 28px; }

/* Fließtext (Rechtstexte) */
.prose { max-width: 46em; }
.prose h2 { margin: 2.2em 0 0.6em; font-size: 1.3rem; font-weight: 800; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 0.9em; }
.prose ul { margin: 0 0 0.9em; padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Textlink mit Pfeil */
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.more svg { width: 18px; height: 18px; transition: transform 240ms var(--ease-out); }
@media (hover: hover) { .more:hover svg { transform: translateX(4px); } }

/* Ablauf in Schritten */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--yellow); color: var(--black); font-weight: 800; }
.steps h3 { font-size: 1.1rem; font-weight: 800; }
.steps p { margin-top: 6px; color: var(--blue-grey); }

/* Themen-Übersicht */
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.topics li { padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.topics strong { display: block; font-weight: 800; }
.topics span { display: block; margin-top: 2px; color: var(--blue-grey); font-size: 0.94rem; }

/* Ausführliche Säulen auf „Hilfe & Beratung“ */
.feature { display: grid; grid-template-columns: 96px 1fr; gap: 28px; padding: 32px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature-icon { width: 96px; height: 96px; padding: 18px; border-radius: var(--radius); background: var(--tint); }
.feature h3 { font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.feature p { margin-top: 8px; color: var(--blue-grey); max-width: 40em; }
.feature .more { margin-top: 16px; }
.feature.is-urgent h3 { color: var(--red); }

/* Zwei Zielgruppen nebeneinander */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--yellow); }
.duo-card .kicker { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-grey); }
.duo-card h3 { margin-top: 6px; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.duo-card p { margin-top: 10px; color: var(--blue-grey); }

/* Liste mit Haken */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checks li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }
.checks strong { font-weight: 800; }
.checks span { color: var(--blue-grey); }

/* Hinweiskasten */
.note { padding: 22px 24px; border-radius: var(--radius); background: var(--tint); border-left: 4px solid var(--yellow); }
.note h3 { font-size: 1.1rem; font-weight: 800; }
.note p { margin-top: 6px; color: var(--blue-grey); }
.note .btn { margin-top: 16px; }
.note-quiet { border-left-color: var(--blue-grey); font-size: 0.94rem; }

/* Formulare zum Herunterladen */
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: d; }
.doc { counter-increment: d; display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 240ms var(--ease-out); }
@media (hover: hover) { .doc:hover { box-shadow: var(--shadow-lift); } }
.doc::before { content: counter(d); display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius); background: var(--black); color: var(--yellow); font-weight: 800; font-size: 1.2rem; }
.doc h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.doc p { margin-top: 6px; color: var(--blue-grey); }
.doc .who { margin-top: 10px; font-size: 0.94rem; color: var(--ink); }
.doc .who strong { font-weight: 800; }
.doc .warn { margin-top: 10px; padding: 10px 14px; border-radius: 8px; background: rgb(193 46 31 / 0.10); color: var(--ink); font-size: 0.94rem; }
.doc .warn strong { color: var(--red); }
.doc .btn { white-space: nowrap; }

/* Zwei Spalten: Text links, Inhalt rechts (wie bei den Prinzipien) */
.split-plain .section-head { position: static; }

/* Team-Seite: voller Text sichtbar */
.team-full { grid-template-columns: repeat(2, 1fr); }
.person .bio { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--blue-grey); font-size: 0.98rem; }
.group-title { margin: 0 0 20px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-grey); }
.group-title:not(:first-child) { margin-top: 48px; }

.center { text-align: center; }
.stack > * + * { margin-top: 20px; }

@media (max-width: 900px) {
  .steps, .topics { grid-template-columns: 1fr 1fr; }
  .duo, .team-full { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 56px 1fr; }
  .doc .btn { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .steps, .topics { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 16px; }
  .feature-icon { width: 72px; height: 72px; padding: 14px; }
  .doc { grid-template-columns: 1fr; }
  .doc::before { width: 44px; height: 44px; font-size: 1rem; }
  .page-hero .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal.steps li::before, .js .reveal .steps li::before { transition: transform 480ms var(--ease-spring); }
  .js .doc.reveal::before { transform: scale(0.7); transition: transform 480ms var(--ease-spring) 160ms; }
  .js .doc.reveal.is-in::before { transform: none; }
}

/* „Mitglied werden“ steht am PC als gelber Knopf in der Kopfzeile, am Handy im Menü */
.nav-only-mobile { display: none; }
@media (max-width: 900px) { .nav-only-mobile { display: block; } }

/* ==========================================================
   Logo im Einstieg: Scheibe, die sich leicht zum Mauszeiger neigt,
   und ein Lichtreflex, der einmal darüberläuft
   ========================================================== */
.logo-disc { position: relative; width: 100%; height: 100%; border-radius: 50%; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 500ms var(--ease-out); }
.shine { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none; }
.shine::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / 0.75), transparent); transform: translateX(-140%) skewX(-12deg); }

@media (prefers-reduced-motion: no-preference) {
  /* Logo dreht sich beim Laden ein Stück ein und federt auf */
  .logo-disc { animation: logo-in 1100ms var(--ease-spring) 250ms both; }
  @keyframes logo-in { from { opacity: 0; scale: 0.84; rotate: -16deg; } }
  .shine::before { animation: shine 1200ms var(--ease-out) 1300ms both; }
  @keyframes shine { to { transform: translateX(340%) skewX(-12deg); } }

  /* Gelbe Unterlegung zeichnet sich nach dem Text von links ein */
  .hero h1 em { animation: mark-in 800ms var(--ease-out) 750ms both; }
  @keyframes mark-in { from { background-size: 0% 38%; } }

  /* Weicher Übergang beim Wechsel zwischen den Seiten; die Kopfzeile bleibt stehen.
     Browser, die das nicht kennen, wechseln wie gewohnt hart. */
  @view-transition { navigation: auto; }
  .header { view-transition-name: header; }
  ::view-transition-old(root) { animation: 180ms ease-out both vt-out; }
  ::view-transition-new(root) { animation: 320ms var(--ease-out) both vt-in; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
}

/* Verweis auf Podcast und Videos */
.media { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
.media-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--black); color: var(--yellow); }
.media-mark svg { width: 26px; height: 26px; }
.media-text strong { display: block; font-size: 1.15rem; font-weight: 800; }
.media-text span { display: block; color: var(--blue-grey); }
.media > svg { width: 22px; height: 22px; transition: transform 240ms var(--ease-out); }
@media (hover: hover) {
  .media:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
  .media:hover > svg { transform: translateX(4px); }
}

/* Beitrag auf „Mitglied werden“ */
.price { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 28px; background: var(--black); color: var(--white); border-radius: var(--radius); }
.price-amount { display: flex; flex-direction: column; padding-right: 28px; border-right: 1px solid rgb(255 255 255 / 0.2); white-space: nowrap; }
.price-amount strong { font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; font-weight: 800; color: var(--yellow); letter-spacing: -0.02em; }
.price-amount span { margin-top: 6px; font-weight: 600; color: rgb(255 255 255 / 0.8); }
.price h3 { font-size: 1.2rem; font-weight: 800; }
.price p:not(.price-amount) { margin-top: 6px; color: rgb(255 255 255 / 0.8); max-width: 40em; }
.price a { color: var(--white); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 620px) {
  .price { grid-template-columns: 1fr; gap: 18px; }
  .price-amount { padding-right: 0; padding-bottom: 18px; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 0.2); }
}

/* Abschnitt zur App: zwei hervorgehobene Funktionen und ein kleines Chat-Bild */
.app-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 5vw, 64px); align-items: center; margin-bottom: 48px; }
.app-main { display: grid; gap: 20px; }
.app-feature { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.app-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius); background: var(--yellow); color: var(--black); }
.app-mark svg { width: 28px; height: 28px; }
.app-feature h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.app-feature p { margin-top: 8px; color: var(--blue-grey); }
.checks a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.phone-chat { width: 260px; margin-bottom: 0; padding: 0 0 14px; border: 6px solid #2a2d33; border-radius: 30px; overflow: hidden; text-align: left; box-shadow: var(--shadow-lift); }
.phone-bar { display: flex; align-items: center; gap: 8px; padding: 14px 12px 12px; margin-bottom: 14px; background: var(--black); color: var(--white); font-size: 0.72rem; font-weight: 700; }
.phone-bar img { width: 28px; height: 28px; border-radius: 50%; }
.bubble { margin: 0 12px 8px; padding: 9px 11px; border-radius: 12px; font-size: 0.74rem; line-height: 1.35; max-width: 82%; }
.bubble-me { margin-left: auto; background: var(--yellow); color: var(--black); border-bottom-right-radius: 4px; }
.bubble-them { background: var(--tint-strong); border-bottom-left-radius: 4px; }
.phone-input { display: flex; align-items: center; justify-content: space-between; margin: 16px 12px 0; padding: 6px 6px 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.7rem; color: var(--blue-grey); }
.phone-input i { width: 26px; height: 26px; border-radius: 50%; background: var(--black); }

@media (max-width: 900px) {
  .app-grid { grid-template-columns: 1fr; }
  .phone-chat { justify-self: center; }
}
@media (max-width: 620px) { .app-feature { grid-template-columns: 1fr; gap: 14px; } }

@media (prefers-reduced-motion: no-preference) {
  /* Sprechblasen erscheinen nacheinander, sobald das Chat-Bild sichtbar wird */
  .js .reveal .phone-chat .bubble { opacity: 0; transform: translateY(8px) scale(0.96); transform-origin: bottom left; transition: opacity 320ms ease-out, transform 420ms var(--ease-spring); }
  .js .reveal .phone-chat .bubble-me { transform-origin: bottom right; }
  .js .reveal.is-in .phone-chat .bubble { opacity: 1; transform: none; }
  .js .reveal.is-in .phone-chat .bubble:nth-of-type(1) { transition-delay: 500ms; }
  .js .reveal.is-in .phone-chat .bubble:nth-of-type(2) { transition-delay: 1300ms; }
  .js .reveal.is-in .phone-chat .bubble:nth-of-type(3) { transition-delay: 2000ms; }
}

/* Hinweis, dass die App noch in der Testphase ist */
.phone-wrap { display: grid; justify-items: center; gap: 14px; }
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--black); color: var(--white); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* Marke „Entwurf“ – erscheint nur im Vorschau-Paket für den Vorstand (build.py --preview) */
.preview-badge { position: fixed; left: 16px; bottom: 16px; z-index: 60; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lift); font-size: 0.82rem; font-weight: 700; color: var(--black); }
.preview-badge span { color: var(--blue-grey); font-weight: 600; }
