/* ==========================================================================
   BallisticCore – Website
   Farben & Bauteile übernommen aus der App (styles.css / UI/Theme.swift)
   und dem Flyer. Keine externen Ressourcen (Fonts, CDNs) – DSGVO-freundlich.
   ========================================================================== */

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

:root {
  /* --- App-Farben (1:1 aus styles.css / Theme.swift) --- */
  --green:       #83B545;   /* Logo-Grün */
  --green-dark:  #6E9C37;
  --green-chart: #68B83C;
  --blue-chart:  #4a6b8a;
  --ink:         #1a1a1a;
  --ink-mid:     #555555;
  --muted:       #b2b2b2;

  /* --- Flyer-Farben --- */
  --forest:      #2C4520;   /* Überschriften dunkelgrün */
  --forest-deep: #1B2D13;   /* dunkle Sektionen */
  --cream:       #EAE2CC;   /* warmer Kasten (Kostenrechnung) */

  /* Akzent für Ziffern, Striche und Kennzahlen. Auf hellem Grund das
     dunklere Grün (Kontrast), auf dunklem Grund das Logo-Grün. */
  --accent:      #6E9C37;
  --accent-dark: #83B545;

  /* --- Flächen --- */
  --paper:       #F6F9F0;
  --paper-2:     #EDF3E1;
  --paper-3:     #E2EBD2;
  --line:        rgba(44, 69, 32, 0.14);
  --line-soft:   rgba(44, 69, 32, 0.08);

  --wrap:  1280px;
  --gut:   clamp(20px, 5vw, 64px);
  --nav-h: 78px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Inter", Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Layout ─────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: 900px; }

section { position: relative; }
.sec { padding: clamp(72px, 9vw, 150px) 0; }
.sec-tight { padding: clamp(52px, 6vw, 96px) 0; }

.bg-paper   { background: var(--paper); }
.bg-grad    { background: linear-gradient(170deg, var(--paper-2) 0%, var(--paper) 55%, var(--paper-3) 100%); }
.bg-soft    { background: var(--paper-2); }
.bg-forest  { background: var(--forest-deep); color: #EDF3E1; }
.bg-forest .lead, .bg-forest p { color: rgba(237, 243, 225, 0.78); }
.bg-forest h2, .bg-forest h3 { color: #fff; }

/* ── Typografie ─────────────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 18px;
}
.eyebrow--light { color: rgba(255,255,255,0.82); }
.eyebrow--accent { color: var(--accent); }
.eyebrow-num { color: var(--accent); margin-right: 10px; font-variant-numeric: tabular-nums; }
/* Auf Bild- und Dunkelflächen das hellere Logo-Grün */
.eyebrow--light .eyebrow-num,
.bg-forest .eyebrow-num,
.cta-band .eyebrow-num { color: var(--accent-dark); }

.rule { width: 46px; height: 2px; background: var(--forest); margin: 0 0 26px; }
.rule--light { background: rgba(255,255,255,0.65); }
.rule--accent { background: var(--accent); }
.rule--center { margin-left: auto; margin-right: auto; }

h1, h2, h3, h4 { color: var(--forest); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 6.4vw, 82px); }
h2 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.1; }
h3 { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 16px; letter-spacing: 0; }

.lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
  color: var(--ink-mid);
  max-width: 62ch;
}
p { color: var(--ink-mid); }
p + p { margin-top: 1em; }
strong, b { color: var(--forest); font-weight: 700; }
.bg-forest strong, .bg-forest b { color: #fff; }

.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav::after {
  content: ''; position: absolute; left: var(--gut); right: var(--gut); bottom: 0;
  height: 1px; background: rgba(255,255,255,0.28);
  transition: background 0.4s var(--ease), opacity 0.4s var(--ease);
}
.nav-inner {
  width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav a, .nav button { color: #fff; }

/* ── Aufbau beim Laden ───────────────────────────────────────
 * Die Haarlinie zieht von links nach rechts durch, die drei Elemente
 * folgen ihr in derselben Richtung. Nur einmal beim Seitenaufruf. */
.nav::after { transform-origin: left center; }
body.nav-intro .nav::after { animation: navLinie 0.7s var(--ease) both; }
body.nav-intro .nav-menu-btn { animation: navRein 0.55s var(--ease) 0.10s both; }
body.nav-intro .brand        { animation: navRein 0.55s var(--ease) 0.22s both; }
body.nav-intro .nav-cta      { animation: navRein 0.55s var(--ease) 0.34s both; }

@keyframes navLinie { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes navRein {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.nav-intro .nav::after, body.nav-intro .nav-menu-btn,
  body.nav-intro .brand, body.nav-intro .nav-cta { animation: none; }
}

/* gescrollt / Unterseiten mit hellem Kopf */
.nav.solid {
  background: rgba(246, 249, 240, 0.94);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 rgba(44,69,32,0.10), 0 12px 30px rgba(27,45,19,0.06);
}
.nav.solid::after { opacity: 0; }
.nav.solid a, .nav.solid button { color: var(--forest); }
.nav.solid .brand-word { color: var(--forest); }
.nav.solid .burger i { background: var(--forest); }

.nav-menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 10px 0; justify-self: start;
}
.burger { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.burger i { display: block; height: 1.5px; background: #fff; transition: background 0.4s var(--ease); }
.burger i:nth-child(2) { width: 72%; }

.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: center; }
/* Das Logo ist bereits randlos auf den Kreis zugeschnitten – kein grüner
   Hintergrund dahinter, sonst entsteht ein Kreis-im-Kreis-Rand. */
.brand img { width: 36px; height: 36px; }
.brand-word {
  font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: #fff;
  transition: color 0.4s var(--ease); white-space: nowrap;
}
.brand-word em { font-style: normal; color: var(--green); }

/* Rechts steht nur noch der Download-Knopf – alle Seiten liegen im
   Seitenmenü, damit es genau eine Navigation gibt. */
.nav-cta { justify-self: end; display: flex; align-items: center; gap: 10px; }
/* Zweitknopf in der Kopfzeile: über dem Foto weiß umrandet, auf hellem Grund
   dunkel. Auf schmalen Schirmen weicht er dem Rechner-Knopf. */
.btn-ghost-nav { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost-nav:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.nav.solid .btn-ghost-nav { color: var(--forest); border-color: var(--line); }
.nav.solid .btn-ghost-nav:hover { border-color: var(--forest); background: transparent; }
@media (max-width: 820px) { .btn-ghost-nav { display: none; } }

/* Handy: Kopfzeile auf Symbol + Wortmarke + kleinen Knopf eindampfen,
   damit sich nichts überlagert. */
@media (max-width: 660px) {
  :root { --nav-h: 64px; }
  .nav-menu-btn { font-size: 0; gap: 0; padding: 12px 8px 12px 0; }
  .brand { gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .brand-word { font-size: 16px; }
  .nav-cta .btn { padding: 10px 16px; font-size: 12px; }
}
/* Ganz schmale Schirme: Wortmarke weicht, damit Logo und Rechner-Knopf passen. */
@media (max-width: 400px) {
  .brand-word { display: none; }
  .nav-cta .btn { padding: 9px 15px; font-size: 11.5px; }
}

/* ── Seitenmenü ─────────────────────────────────────────────
 * Die einzige Navigation der Seite: fährt links ein, enthält alle vier
 * Seiten, beide Store-Knöpfe und die Rechtstexte. */
.menu { position: fixed; inset: 0; z-index: 95; visibility: hidden; transition: visibility 0.5s; }
.menu.open { visibility: visible; }

.menu-scrim {
  position: absolute; inset: 0; background: rgba(19, 32, 13, 0.55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 0.5s var(--ease); cursor: pointer;
}
.menu.open .menu-scrim { opacity: 1; }

.menu-panel {
  position: absolute; top: 0; left: 0; height: 100%;
  width: min(440px, 90vw);
  background: var(--forest-deep);
  box-shadow: 24px 0 60px rgba(0,0,0,0.28);
  display: flex; flex-direction: column;
  padding: var(--nav-h) clamp(24px, 3vw, 40px) 28px;
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(-102%); transition: transform 0.5s var(--ease);
}
.menu.open .menu-panel { transform: none; }

.menu-close {
  position: absolute; top: 0; left: clamp(24px, 3vw, 40px); height: var(--nav-h);
  display: flex; align-items: center; gap: 12px;
  background: none; border: 0; color: #fff; cursor: pointer; font-family: inherit;
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.menu-close:hover { color: var(--green); }

.menu-label {
  display: block; margin: 26px 0 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}
.menu-list { list-style: none; }
.menu-list li { border-bottom: 1px solid rgba(255,255,255,0.12); }
.menu-list a {
  display: flex; align-items: baseline; gap: 16px; padding: 18px 0;
  font-size: clamp(22px, 2.4vw, 27px); font-weight: 700; letter-spacing: -0.02em;
  color: #fff; opacity: 0.92; transition: opacity 0.3s, transform 0.4s var(--ease), color 0.3s;
}
.menu-list a:hover { opacity: 1; transform: translateX(8px); color: var(--green); }
.menu-list a[aria-current="page"] { color: var(--green); opacity: 1; }
.menu-list .n { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--green); }
.menu-list .sub {
  display: block; font-size: 12.5px; font-weight: 400; letter-spacing: 0;
  color: rgba(237,243,225,0.55); margin-top: 5px;
}

.menu-cta { margin-top: 30px; display: grid; gap: 10px; }
.menu-cta .btn { width: 100%; padding: 15px 22px; font-size: 14px; }

.menu-foot {
  margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 20px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.menu-foot a:hover { color: var(--green); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 34px; border-radius: 50px; border: 1.5px solid transparent;
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(110,156,55,0.28); }
.btn-green:hover { background: var(--green-dark); box-shadow: 0 14px 32px rgba(110,156,55,0.36); }
.btn-white { background: #fff; color: var(--forest); }
.btn-dark  { background: var(--forest-deep); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--forest); border-color: #fff; }
.btn-line  { background: transparent; color: var(--forest); border-color: var(--line); }
.btn-line:hover { border-color: var(--forest); }
.btn-line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-line-light:hover { background: rgba(255,255,255,0.10); border-color: #fff; }
.btn-sm { padding: 12px 24px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Store-Buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 12px 24px 12px 20px; border-radius: 14px;
  background: #0d0d0d; color: #fff; border: 1px solid rgba(255,255,255,0.30);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.store:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.34); border-color: rgba(255,255,255,0.6); }
.store svg { width: 24px; height: 24px; flex-shrink: 0; fill: #fff; }
.store-txt { display: block; line-height: 1.25; }
.store-txt span {
  display: block; font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
}
.store-txt b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }

/* ── Hero ───────────────────────────────────────────────── */
/* Grid statt Flex: Der Inhalt sitzt unten, wächst er über die Mindesthöhe
   hinaus, wächst die Sektion mit (statt nach oben unter die Kopfleiste zu
   laufen). */
.hero { position: relative; display: grid; align-content: end; overflow: hidden; color: #fff; }
.hero--full { min-height: 100svh; }
.hero--page { min-height: 74svh; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
/* Das Foto ist quer (16:9), das Reh steht bei ~66 % Breite / ~52 % Höhe.
   Auf breiten Schirmen deckt es die Fläche fast ohne Beschnitt ab, auf hohen
   und schmalen wird stark seitlich beschnitten – dann auf das Reh ausrichten,
   damit nicht nur Getreide im Bild steht. Nicht spiegeln: das Reh sitzt im
   Original bereits rechts, also neben der Kennzahl statt unter der
   Überschrift. */
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 58% 48%;
}
@media (max-aspect-ratio: 4/3)  { .hero-media img { object-position: 64% 50%; } }
@media (max-aspect-ratio: 3/4)  { .hero-media img { object-position: 66% 54%; } }

/* Der Himmel ist hell und flächig – oben braucht es mehr Abdunklung als beim
   alten Foto, sonst steht die weiße Kopfzeile im Nichts. */
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(19,32,13,0.74) 0%, rgba(19,32,13,0.34) 26%, rgba(19,32,13,0.34) 52%, rgba(19,32,13,0.90) 100%),
    linear-gradient(95deg, rgba(19,32,13,0.62) 0%, rgba(19,32,13,0.08) 62%);
}
.hero-body { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(70px, 10vh, 130px); padding-top: calc(var(--nav-h) + 40px); }
/* Startseite: mehr Luft unten, damit die Kennzahlen-Leiste nicht auf dem
   Scroll-Hinweis sitzt. */
.hero--full .hero-body { padding-bottom: clamp(132px, 14vh, 170px); }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,0.28); }
.hero h1 .g { color: var(--green); }
.hero .lead { color: rgba(255,255,255,0.86); max-width: 52ch; margin-top: 26px; }
.hero .btn-row { margin-top: 38px; }
.hero-note {
  margin-top: 22px; font-size: 12.5px; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.74); text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.62);
}
.hero-scroll .bar { width: 1px; height: 54px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.hero-scroll .bar::after {
  content: ''; position: absolute; inset: 0; background: #fff;
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }
@media (max-width: 700px) { .hero-scroll { display: none; } }

/* Zweispaltiger Hero: Text links, Kennzahl rechts – beide auf derselben
   Grundlinie. Früher schwebte die Kennzahl absolut positioniert im Bild. */
/* Kennzahl als Fußleiste des Heros (Flyer-Optik).
   Volle Rasterbreite, Trennlinie oben – dadurch hängt der Block an der
   Spaltenkante statt frei über dem Foto zu schweben. */
.hero-figure {
  margin-top: clamp(30px, 4vh, 52px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.30);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(24px, 5vw, 80px);
}
.hero-figure .k {
  margin: 0; flex: 0 1 auto;
  font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; line-height: 1.15;
  color: #fff; letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero-figure .k em { font-style: normal; color: var(--green); }
.hero-figure .c {
  flex: 0 1 44ch; margin: 0;
  color: rgba(255,255,255,0.76); font-size: 13.5px; line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
@media (max-width: 900px) {
  .hero-figure { display: block; }
  .hero-figure .c { margin-top: 12px; }
}
@media (max-width: 620px) { .hero-figure { display: none; } }

/* ── Kopf ohne Foto (Rechtstexte) ───────────────────────── */
.page-head {
  padding: calc(var(--nav-h) + clamp(44px, 6vw, 78px)) 0 clamp(28px, 4vw, 48px);
  background: linear-gradient(170deg, var(--paper-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-head h1 { font-size: clamp(32px, 4.4vw, 58px); }

/* ── Rechtstexte ────────────────────────────────────────── */
.legal { max-width: 74ch; }
.legal h3 {
  font-size: clamp(17px, 1.6vw, 20px); color: var(--forest);
  margin: clamp(30px, 3.4vw, 44px) 0 10px;
}
.legal > *:first-child { margin-top: 0; }
.legal p { font-size: 15.5px; line-height: 1.78; }
/* Lange Adressen und Platzhalter dürfen umbrechen, sonst schiebt eine
   E-Mail-Adresse die Rechtstexte auf schmalen Schirmen auf. */
.legal, .legal p, .legal li { overflow-wrap: anywhere; }
.legal p + p { margin-top: 0.9em; }
.legal ul { margin: 12px 0 0 22px; }
.legal li { font-size: 15.5px; line-height: 1.7; color: var(--ink-mid); padding: 4px 0; }
.legal a { color: var(--green-dark); font-weight: 600; }
.legal a:hover { text-decoration: underline; }

/* ── Grid-Bausteine ─────────────────────────────────────── */
.grid { display: grid; gap: clamp(20px, 2.6vw, 34px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* Grid-Kinder dürfen unter ihre Mindestbreite schrumpfen. Ohne min-width:0
   sprengt eine breite Tabelle in einer Spalte sonst die ganze Seite, statt in
   ihrem eigenen Kasten zu scrollen (trat auf praezision.html am Handy auf). */
.split > *, .grid > * { min-width: 0; }
.table-wrap { max-width: 100%; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
/* Eine Tabelle braucht die volle Breite, lange bevor der Rest umbricht.
   Bewusst über eine Klasse statt :has() – das fehlt in älteren Browsern. */
@media (max-width: 1180px) {
  .split--tabelle { grid-template-columns: 1fr; }
  .split:has(.table-wrap) { grid-template-columns: 1fr; }
}

.stack > * + * { margin-top: 18px; }

/* ── Karten ─────────────────────────────────────────────── */
.card {
  background: #fff; border-radius: 20px; padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line-soft);
  box-shadow: 0 2px 4px rgba(27,45,19,0.03), 0 18px 44px rgba(27,45,19,0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  height: 100%;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.65; }
.card--link:hover { transform: translateY(-5px); box-shadow: 0 26px 54px rgba(27,45,19,0.11); }
.card--green { background: var(--green); border-color: transparent; }
.card--green h3, .card--green p, .card--green li { color: #fff; }
.card--green p { color: rgba(255,255,255,0.9); }
.card--forest { background: var(--forest-deep); border-color: transparent; }
.card--forest h3 { color: #fff; }
.card--forest p, .card--forest li { color: rgba(237,243,225,0.78); }
.card--cream { background: var(--cream); border-color: transparent; }
.card--flat { background: transparent; border: 0; box-shadow: none; padding: 0; }

.card-num {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--accent);
  display: block; margin-bottom: 14px;
}
.card--forest .card-num { color: var(--accent-dark); }
.card-more {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-dark);
}
.card--link:hover .card-more .arrow { transform: translateX(5px); }

/* Feature-Zeile: was es macht / was du davon hast */
.feat { border-top: 1px solid var(--line); padding: clamp(26px, 3vw, 42px) 0; }
.feat:last-child { border-bottom: 1px solid var(--line); }
.feat-grid { display: grid; grid-template-columns: 64px 1.05fr 1fr; gap: clamp(18px, 3vw, 46px); align-items: start; }
@media (max-width: 860px) { .feat-grid { grid-template-columns: 1fr; gap: 14px; } }
.feat-n { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); padding-top: 6px; }
.feat h3 { margin-bottom: 10px; }
.feat-gain {
  background: rgba(131,181,69,0.10); border-left: 2px solid var(--green);
  padding: 14px 18px; border-radius: 0 12px 12px 0;
}
.feat-gain span {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green-dark); margin-bottom: 6px;
}
.feat-gain p { color: var(--forest); font-size: 15px; }
.tag {
  display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 20px;
  background: var(--green); color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; vertical-align: 3px;
}
.tag--free { background: rgba(44,69,32,0.10); color: var(--forest); }
/* Noch nicht ausgeliefert: klar gekennzeichnet, nicht als Versprechen gesetzt. */
.tag--soon { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
/* Großes „In Arbeit" – damit niemand das Zielbild für eine fertige
   Funktion hält. Steht als Überschrift über der Grafik, nicht als Fußnote. */
.tag--gross {
  font-size: 13px; letter-spacing: 0.16em; padding: 8px 16px; border-radius: 100px;
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.scope-kopf {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 14px; margin-bottom: 22px;
}
.scope-kopf h3 { font-size: clamp(20px, 2.2vw, 26px); }
.feat--soon { opacity: 0.78; }
.feat--soon .feat-n { letter-spacing: 0.14em; text-transform: uppercase; font-size: 10.5px; }
.feat--soon .feat-gain { background: rgba(44,69,32,0.06); border-left-color: var(--muted); }
.feat--soon .feat-gain span { color: var(--ink-mid); }

/* ── Situationen (Fallliste auf der Startseite) ─────────── */
.cases { border-top: 1px solid var(--line); }
.case {
  display: grid; grid-template-columns: 56px 1fr 24px; align-items: baseline;
  gap: clamp(10px, 2vw, 26px);
  padding: clamp(20px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}
.case:hover { background: rgba(131,181,69,0.07); padding-left: 14px; padding-right: 14px; }
.case-n { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent); }
.case-t { font-size: 15px; line-height: 1.65; color: var(--ink-mid); max-width: 74ch; }
.case-t strong {
  display: block; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.3;
  color: var(--forest); letter-spacing: -0.01em; margin-bottom: 7px;
}
.case-a { color: var(--accent); font-size: 20px; justify-self: end; }
.case:hover .case-a { transform: translateX(4px); }
@media (max-width: 600px) {
  .case { grid-template-columns: 40px 1fr; }
  .case-a { display: none; }
}

/* ── Kachel (Gelegenheiten, kompakte Aufzählung) ─────────── */
.tile {
  border-top: 2px solid rgba(255,255,255,0.20); padding-top: 18px;
}
.tile h4 {
  font-size: 15.5px; color: #fff; letter-spacing: -0.01em; margin-bottom: 8px;
  line-height: 1.3;
}
.tile p { font-size: 13.5px; line-height: 1.6; color: rgba(237,243,225,0.66); }
.tile--light { border-top-color: var(--line); }
.tile--light h4 { color: var(--forest); }
.tile--light p { color: var(--ink-mid); }

/* ── Aussagesatz zwischen zwei Abschnitten ──────────────── */
.statement {
  max-width: 30ch; font-size: clamp(21px, 2.2vw, 30px); font-weight: 700;
  line-height: 1.3; letter-spacing: -0.02em; color: var(--forest);
}
.statement--light { color: #fff; }
.statement + .statement-note {
  margin-top: 20px; font-size: 15px; line-height: 1.7; color: var(--ink-mid); max-width: 52ch;
}
.bg-forest .statement + .statement-note { color: rgba(237,243,225,0.74); }

/* Ehrlichkeitshinweis: was die App bewusst nicht leistet */
.limit-note {
  margin-top: clamp(28px, 4vw, 44px); padding: 20px 24px;
  border-left: 2px solid var(--accent); background: rgba(131,181,69,0.09);
  border-radius: 0 14px 14px 0; max-width: 74ch;
}
.limit-note p { font-size: 14.5px; line-height: 1.7; color: var(--forest); }
.bg-forest .limit-note { background: rgba(255,255,255,0.06); border-left-color: var(--accent-dark); }
.bg-forest .limit-note p { color: rgba(237,243,225,0.82); }

/* ── „Waffen vergleichen“ teilt sich in die beiden Stores ──
 * Zu: ein grüner Knopf. Angetippt fährt er in die Breite und die beiden
 * Hälften schieben aus der Mitte auseinander – jede Hälfte führt in ihren
 * Store. Reine CSS-Übergänge, das Skript setzt nur die Klasse `open`. */
.split-cta {
  position: relative; height: 56px; max-width: 264px; overflow: hidden;
  border-radius: 50px;
  transition: max-width 0.5s var(--ease), box-shadow 0.4s var(--ease);
}
.split-cta.open { max-width: 460px; }

.split-cta-main {
  position: absolute; inset: 0; width: 100%; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 50px; cursor: pointer; font-family: inherit;
  font-size: 15px; font-weight: 600; color: #fff; background: var(--green);
  box-shadow: 0 10px 26px rgba(110,156,55,0.28);
  transition: opacity 0.28s var(--ease), transform 0.4s var(--ease);
}
.split-cta-main:hover { background: var(--green-dark); }
.split-cta.open .split-cta-main { opacity: 0; transform: scale(0.94); pointer-events: none; }

.split-cta-halves { position: absolute; inset: 0; display: flex; gap: 2px; }
.split-half {
  flex: 1 1 50%; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: #0d0d0d; color: #fff; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.35s var(--ease) 0.08s,
              background 0.25s var(--ease);
}
/* Geschlossen liegen beide Hälften mittig übereinander – von dort schieben
   sie beim Öffnen nach außen. */
.split-half:first-child  { transform: translateX(50%);  border-radius: 50px 0 0 50px; }
.split-half:last-child   { transform: translateX(-50%); border-radius: 0 50px 50px 0; }
.split-cta.open .split-half { transform: translateX(0); opacity: 1; pointer-events: auto; }
.split-half:hover { background: #1f1f1f; }
.split-half svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
.split-half span { white-space: nowrap; }

@media (max-width: 460px) {
  .split-cta { max-width: 100%; }
  .split-cta.open { max-width: 100%; }
  .split-half { font-size: 13px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .split-cta, .split-cta-main, .split-half { transition: none; }
}

/* In der Kopfzeile: dieselbe Mechanik, aber Größe und Farbe des früheren
   „App laden"-Knopfes – über dem Foto weiß umrandet, auf hellem Grund dunkel. */
/* Alle Kinder liegen absolut – ohne eigene Breite fällt der Knopf als
   Flex-Element auf 0 zusammen. Deshalb hier width statt nur max-width. */
.split-cta--nav {
  height: 43px; width: 132px; max-width: 132px; flex: 0 0 auto;
  transition: width 0.5s var(--ease), max-width 0.5s var(--ease);
}
.split-cta--nav.open { width: 272px; max-width: 272px; }
.split-cta--nav .split-cta-main {
  font-size: 13px; background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5); box-shadow: none;
}
.split-cta--nav .split-cta-main:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.nav.solid .split-cta--nav .split-cta-main { color: var(--forest); border-color: var(--line); }
.nav.solid .split-cta--nav .split-cta-main:hover { background: transparent; border-color: var(--forest); }
.split-cta--nav .split-half { font-size: 12px; gap: 7px; }
.split-cta--nav .split-half svg { width: 16px; height: 16px; }
/* Auf schmalen Schirmen weicht er dem Rechner-Knopf – wie vorher. */
@media (max-width: 820px) { .split-cta--nav { display: none; } }

/* Als großer Handlungsknopf im Fließtext (Hero, Abschnitts-CTAs).
   Anders als die Varianten oben steht der Hauptknopf hier IM FLUSS – nur so
   bekommt die Hülle die Breite ihrer Beschriftung, die je Knopf verschieden
   lang ist. site.js misst diese Breite und legt --zu und --auf fest. */
.split-cta--cta {
  display: inline-flex; position: relative; overflow: hidden;
  width: auto; max-width: none; height: auto; flex: 0 0 auto;
  border-radius: 50px; vertical-align: top;
  transition: width 0.5s var(--ease);
}
.split-cta--cta[style*="--zu"] { width: var(--zu); }
.split-cta--cta[style*="--zu"].open { width: var(--auf); }
.split-cta--cta .split-cta-main {
  position: relative; inset: auto; width: auto; white-space: nowrap;
  padding: 17px 34px; font-size: 15px; gap: 12px;
  /* Ein <button> erbt die Zeilenhöhe des Textkörpers nicht – ohne diese
     beiden Zeilen steht er 8 px niedriger als ein .btn daneben. */
  line-height: 1.6; border: 1.5px solid transparent;
}
.split-cta--cta { align-self: stretch; }
.split-cta--cta .split-cta-main { height: 100%; }
.split-cta--cta .split-half { font-size: 14px; }
@media (max-width: 520px) {
  .split-cta--cta { width: 100% !important; }
  .split-cta--cta.open { width: 100% !important; }
  .split-cta--cta .split-cta-main { width: 100%; justify-content: center; }
}

/* Im Seitenmenü: dunkler Grund, deshalb hellere Hälften mit Rand. */
.split-cta--menu { max-width: 210px; }
.split-cta--menu.open { max-width: 100%; }
.split-cta--menu .split-half {
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.28);
}
.split-cta--menu .split-half:hover { background: rgba(255,255,255,0.20); }

/* ── Kennzahlen ─────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { border-top: 2px solid var(--line); padding-top: 20px; }
.stat .k {
  font-size: clamp(34px, 4.4vw, 58px); font-weight: 700; line-height: 1;
  color: var(--accent); letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.stat .k small { font-size: 0.42em; font-weight: 700; letter-spacing: 0; margin-left: 4px; }
.stat .l { margin-top: 12px; font-size: 13.5px; color: var(--ink-mid); line-height: 1.5; }
.stat--light { border-top-color: rgba(255,255,255,0.22); }
.stat--light .k { color: var(--green); }
.stat--light .l { color: rgba(237,243,225,0.72); }

.note { font-size: 12px; line-height: 1.65; color: #8a927f; }
.bg-forest .note { color: rgba(237,243,225,0.45); }

/* ── Tabellen (App-Optik) ───────────────────────────────── */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(to right, #fff 40%, rgba(255,255,255,0)) left center / 34px 100% no-repeat local,
    linear-gradient(to left,  #fff 40%, rgba(255,255,255,0)) right center / 34px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(44,69,32,0.16), rgba(44,69,32,0)) left center / 16px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(44,69,32,0.16), rgba(44,69,32,0)) right center / 16px 100% no-repeat scroll,
    #fff;
  border-radius: 20px; padding: clamp(14px, 2vw, 26px);
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 44px rgba(27,45,19,0.05);
}
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.tbl th {
  padding: 12px 10px; text-align: center; font-weight: 700; color: var(--forest);
  border-bottom: 1.5px solid rgba(44,69,32,0.16); white-space: nowrap; font-size: 13px;
}
table.tbl td {
  padding: 13px 10px; text-align: center; color: var(--ink); white-space: nowrap;
  border-bottom: 1px solid rgba(44,69,32,0.07); font-variant-numeric: tabular-nums;
}
table.tbl tr:last-child td { border-bottom: none; }
table.tbl th:first-child, table.tbl td:first-child {
  text-align: left; white-space: nowrap; color: var(--forest); font-weight: 600;
}
table.tbl td.best { color: var(--green-dark); font-weight: 700; }
/* Wert, der eine Grenze reißt (unterstabil, Energie zu niedrig) */
table.tbl td.warn { color: #B0442B; font-weight: 700; }
table.tbl tr.hi td { background: rgba(131,181,69,0.09); }
table.tbl tr.hi td:first-child { border-radius: 10px 0 0 10px; }
table.tbl tr.hi td:last-child { border-radius: 0 10px 10px 0; }
.table-cap { margin-top: 14px; font-size: 12px; line-height: 1.6; color: #8a927f; }

/* ── Vorher/Nachher (Geschätzt vs. Gerechnet) ───────────── */
.vs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; overflow: hidden; box-shadow: 0 22px 54px rgba(27,45,19,0.08); }
@media (max-width: 700px) { .vs { grid-template-columns: 1fr; } }
.vs-col { padding: clamp(26px, 3vw, 40px); }
.vs-col--a { background: #fff; }
.vs-col--b { background: var(--green); }
.vs-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 22px; color: var(--ink-mid);
}
.vs-col--b h4 { color: rgba(255,255,255,0.85); }
.vs-col ul { list-style: none; }
.vs-col li {
  position: relative; padding-left: 30px; padding-bottom: 15px; margin-bottom: 15px;
  font-size: 15.5px; line-height: 1.5; color: var(--ink-mid);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.vs-col li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.vs-col--a li::before {
  content: ''; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--muted);
}
.vs-col--b li { color: #fff; border-bottom-color: rgba(255,255,255,0.18); }
.vs-col--b li::before {
  content: '✓'; position: absolute; left: 0; top: -1px; font-size: 15px; color: #fff; font-weight: 700;
}
.vs-col--b li b { color: #fff; }

/* ── Duell: zwei Waffen direkt nebeneinander ─────────────
   Der Waffenvergleich ist die Kernfunktion der App – deshalb steht er
   als eigener Blickfang auf Start- und Zielgruppenseite, nicht nur als
   Zeile in einer Tabelle. Aufbau wie in der App: zwei Konfigurationen,
   eine Kennzahl je Zeile, die bessere Seite grün. */
.duell {
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 22px 54px rgba(27,45,19,0.10);
}
.duell-kopf {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px;
  background: var(--forest); color: #fff;
  padding: clamp(22px,2.8vw,32px) clamp(18px,2.4vw,34px);
}
.duell-name { min-width: 0; }
.duell-name .lbl {
  display: block; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 8px;
}
.duell-name b {
  display: block; font-size: clamp(20px,2.5vw,29px); line-height: 1.12; letter-spacing: -0.015em;
  /* Ohne diese Zeile erbt <b> das globale Dunkelgrün und verschwindet
     im dunkelgrünen Kopf – Waffe 1 stand unsichtbar da. */
  color: #fff;
}
.duell-name .sub {
  display: block; margin-top: 7px; font-size: 12.5px; line-height: 1.45;
  color: rgba(255,255,255,0.72);
}
.duell-b { text-align: right; }
.duell-b b { color: var(--accent-dark); }
.duell-vs {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.26);
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.duell-zeile {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px;
  padding: clamp(15px,1.9vw,21px) clamp(18px,2.4vw,34px);
  border-top: 1px solid var(--line-soft);
}
.duell-mitte {
  text-align: center; white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mid);
}
.duell-wert {
  font-size: clamp(23px,3.2vw,34px); font-weight: 700; letter-spacing: -0.02em;
  color: var(--muted); font-variant-numeric: tabular-nums; line-height: 1.1;
}
.duell-zeile .duell-b { text-align: right; }
.duell-sieger { color: var(--accent); }
.duell-delta {
  display: block; margin-top: 5px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em; color: var(--green-dark);
}
.duell-fuss {
  padding: clamp(16px,2vw,22px) clamp(18px,2.4vw,34px);
  border-top: 1px solid var(--line-soft); background: var(--paper);
  font-size: 13px; line-height: 1.62; color: var(--ink-mid);
}
.duell-fuss strong { color: var(--forest); }
@media (max-width: 660px) {
  .duell-kopf { grid-template-columns: 1fr; gap: 0; }
  .duell-b, .duell-zeile .duell-b { text-align: left; }
  .duell-vs {
    width: auto; height: auto; border: 0; border-radius: 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    justify-content: flex-start; padding: 15px 0; margin-top: 15px;
  }
  .duell-zeile {
    grid-template-columns: 1fr 1fr; row-gap: 9px;
    grid-template-areas: "mitte mitte" "wa wb";
  }
  .duell-mitte { grid-area: mitte; text-align: left; }
  .duell-zeile .duell-a { grid-area: wa; }
  .duell-zeile .duell-b { grid-area: wb; }
}


/* ── Formular (Support) ─────────────────────────────────── */
.panel-form {
  background: #fff; border-radius: 20px; padding: clamp(24px,3vw,38px);
  box-shadow: 0 22px 54px rgba(27,45,19,0.08);
}
.feld { margin-bottom: 22px; min-width: 0; }
.feld label {
  display: block; margin-bottom: 9px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--forest);
}
.feld label .opt {
  font-weight: 500; letter-spacing: 0.06em; text-transform: none; color: var(--ink-mid);
}
.feld input, .feld select, .feld textarea {
  font-family: inherit; font-size: 15px; color: var(--ink); width: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.feld textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.feld select {
  appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%236E9C37' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: 0; background: #fff; border-color: var(--green);
}
.feld input::placeholder, .feld textarea::placeholder { color: var(--muted); }
.feld-hint { display: block; margin-top: 7px; font-size: 12px; color: var(--ink-mid); }

.form-status { margin-top: 16px; font-size: 14px; line-height: 1.55; color: var(--ink-mid); }
.form-status:empty { margin-top: 0; }
.form-status--ok { color: var(--green-dark); }
.form-status--fehler { color: #8C3520; }
.form-hinweis {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  font-size: 12.5px; line-height: 1.6; color: var(--ink-mid);
}

.kontakt-direkt { padding: 22px 24px; border-radius: 16px; background: rgba(44,69,32,0.05); }
.kontakt-direkt .lbl {
  display: block; margin-bottom: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mid);
}
.kontakt-direkt p { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.kontakt-direkt .note { display: block; margin-top: 12px; font-size: 12.5px; line-height: 1.6; }
.kontakt-mail {
  font-size: clamp(16px,2vw,19px); font-weight: 700; color: var(--green-dark);
  text-decoration: none; border-bottom: 1.5px solid rgba(110,156,55,0.35);
  overflow-wrap: anywhere;
}
.kontakt-mail:hover { border-bottom-color: var(--green-dark); }
.kopier-btn {
  font-family: inherit; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mid);
  background: transparent; border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 15px; cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.kopier-btn:hover { border-color: var(--green); color: var(--green-dark); }
.kopier-btn.ok { border-color: var(--green); color: var(--green-dark); }
.mt16 { margin-top: 16px; }

/* ── Schritte ───────────────────────────────────────────── */
.steps { counter-reset: st; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--green-dark);
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: 15px; }

/* ── Zitate ─────────────────────────────────────────────── */
.quote { background: #fff; border-radius: 20px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-soft); height: 100%; }
.quote .stars { color: var(--green); letter-spacing: 3px; font-size: 14px; margin-bottom: 16px; }
.quote p { font-style: italic; font-size: 15.5px; line-height: 1.7; }
.quote .who { margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ── Handy-Mockup (App-Oberfläche) ──────────────────────── */
.phone-mock {
  width: 300px; max-width: 100%; margin: 0 auto;
  border-radius: 42px; padding: 11px; background: #14210f;
  box-shadow: 0 34px 70px rgba(19,32,13,0.34), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.phone-screen {
  /* Querformat im Hochkant-Rahmen: auf das Feld statt auf den Himmel ausrichten. */
  border-radius: 32px; overflow: hidden; background: #dfe8d2 url('img/bg.jpg') 62% 60% / cover no-repeat;
  position: relative; display: flex; flex-direction: column; min-height: 560px;
}
.phone-screen::before { content: ''; position: absolute; inset: 0; background: rgba(240,246,233,0.72); }
.phone-screen > * { position: relative; z-index: 1; }
.ph-notch {
  position: absolute; z-index: 3; top: 9px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 24px; border-radius: 14px; background: #14210f;
}
.ph-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 34px 16px 12px;
  background: linear-gradient(180deg, #f5f8f1 0%, #eef2e8 100%);
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}
.ph-title { font-size: 21px; font-weight: 300; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
.ph-head img { width: 40px; height: 40px; border-radius: 50%; background: var(--green); }
.ph-res { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 8px; }
.ph-res b { font-size: 15px; color: var(--ink); }
.ph-res span { color: var(--ink-mid); font-size: 13px; }
.ph-tabs { display: flex; margin: 0 12px 10px; background: rgba(255,255,255,0.7); border-radius: 50px; padding: 3px; }
.ph-tab { flex: 1; text-align: center; padding: 7px 3px; border-radius: 50px; font-size: 10.5px; font-weight: 500; color: var(--ink); }
.ph-tab.on { background: var(--green); color: #fff; }
.ph-row-dist {
  display: flex; justify-content: space-between; margin: 0 12px 10px; padding: 11px 14px;
  background: rgba(255,255,255,0.6); border-radius: 12px; font-size: 12.5px; color: var(--ink);
}
.ph-row-dist b { font-weight: 700; border-bottom: 1.5px solid rgba(104,184,60,0.55); }
.ph-tbl { width: calc(100% - 24px); margin: 0 12px 10px; border-collapse: collapse; font-size: 11px; }
.ph-tbl th { padding: 7px 4px; font-weight: 700; color: var(--ink); border-bottom: 1.5px solid rgba(0,0,0,0.1); }
.ph-tbl td { padding: 6.5px 4px; text-align: center; color: var(--ink); border-bottom: 1px solid rgba(0,0,0,0.06); font-variant-numeric: tabular-nums; }
.ph-tbl th:first-child, .ph-tbl td:first-child { text-align: left; }
.ph-chart {
  margin: 0 12px 12px; background: rgba(195,212,182,0.55); border-radius: 14px;
  padding: 12px; height: 112px; display: flex; align-items: flex-end;
}
.ph-chart svg { width: 100%; height: 100%; overflow: visible; }
.ph-modell {
  font-size: 8.5px; color: #8a8a8a; text-align: right;
  margin: 6px 2px 0; line-height: 1.35;
}
.ph-btn {
  margin: auto 12px 16px; padding: 12px; border-radius: 50px; background: var(--green);
  color: #fff; text-align: center; font-size: 13px; font-weight: 500;
}

/* ── Weiter-zu-Navigation am Seitenende ─────────────────── */
.next-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 760px) { .next-nav { grid-template-columns: 1fr; } }
.next-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.4vw, 34px); border-radius: 18px;
  background: #fff; border: 1px solid var(--line-soft);
  box-shadow: 0 2px 4px rgba(27,45,19,0.03), 0 16px 40px rgba(27,45,19,0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.next-card:hover { transform: translateY(-5px); box-shadow: 0 26px 54px rgba(27,45,19,0.12); }
.next-card .lbl {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-dark);
}
.next-card h3 { font-size: clamp(19px, 1.8vw, 23px); }
.next-card p { font-size: 14.5px; line-height: 1.6; }
.next-card .go {
  margin-top: auto; display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--forest);
}
.next-card:hover .go .arrow { transform: translateX(5px); }

/* ── Zielfernrohr-Grafik ────────────────────────────────── */
.scope-wrap { position: relative; }
.scope { width: 100%; max-width: 460px; margin: 0 auto; display: block; }

/* ── Preis / CTA-Band ───────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; background: var(--forest-deep); color: #fff; }
.cta-band .bgimg { position: absolute; inset: 0; opacity: 0.20; }
.cta-band .bgimg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(237,243,225,0.78); }

.price-row {
  display: flex; flex-wrap: wrap; gap: 12px 34px; align-items: center;
  margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 14px; color: rgba(237,243,225,0.8);
}
.price-row b { color: #fff; font-size: 17px; }
/* Beta: der freie Preis wird hervorgehoben, der spätere bleibt daneben stehen. */
.price-row .price-beta b { color: var(--accent-dark); }
.price-row .price-beta::before {
  content: 'Beta'; display: inline-block; margin-right: 9px; padding: 3px 10px;
  border-radius: 20px; background: var(--accent-dark); color: #14210f;
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  vertical-align: 2px;
}

/* ── Fußzeile ───────────────────────────────────────────── */
.foot { background: #14210f; color: rgba(237,243,225,0.6); padding: clamp(48px, 6vw, 84px) 0 34px; font-size: 13.5px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.10); }
@media (max-width: 800px) { .foot-top { grid-template-columns: 1fr; gap: 30px; } }
.foot h4 { color: rgba(255,255,255,0.5); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; }
.foot ul { list-style: none; }
.foot li { padding: 5px 0; }
.foot a:hover { color: var(--green); }
.foot .brand-word { color: #fff; font-size: 22px; }
.foot-bottom { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; font-size: 11.5px; color: rgba(237,243,225,0.4); }
.foot-disclaimer { margin-top: 18px; max-width: 78ch; font-size: 11.5px; line-height: 1.7; color: rgba(237,243,225,0.4); }

/* ── Scroll-Animation ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-scroll .bar::after { animation: none; }
}

/* ── Kleinkram ──────────────────────────────────────────── */
.hairline { height: 1px; background: var(--line); border: 0; }
.mt0 { margin-top: 0; } .mt24 { margin-top: 24px; } .mt40 { margin-top: 40px; } .mt64 { margin-top: clamp(34px, 5vw, 64px); }
.mb24 { margin-bottom: 24px; } .mb40 { margin-bottom: 40px; }
.maxw { max-width: 68ch; }

/* ── Sehr schmale Schirme (< 400 px) ─────────────────────────
 * Muss am DATEIENDE stehen: gleiche Spezifität wie `.btn` weiter oben –
 * bei Gleichstand gewinnt die zuletzt notierte Regel. Lange Beschriftungen
 * brechen dann um, statt die Seite aufzuschieben. */
@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; }
}

/* ── Eigener Mauszeiger ──────────────────────────────────────
 * Kleiner Punkt, der exakt folgt, und ein Ring, der mit leichtem Nachlauf
 * hinterherzieht. Über anklickbaren Dingen wächst der Ring und füllt sich,
 * beim Drücken zieht er sich kurz zusammen.
 * Nur für echte Zeigegeräte – auf Touch bleibt alles unangetastet. */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none;
  border-radius: 50%; opacity: 0;
  transition: opacity 0.3s var(--ease);
}
html.hat-cursor .cursor-dot, html.hat-cursor .cursor-ring { opacity: 1; }

.cursor-dot {
  width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
  background: var(--green);
  /* transform kommt aus der rAF-Schleife – kein Übergang darauf, sonst
     kämpfen Übergang und Schleife jeden Frame gegeneinander. */
  transition: opacity 0.3s var(--ease);
}
.cursor-ring {
  width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border: 1.5px solid rgba(131,181,69,0.75);
  transition: opacity 0.3s var(--ease), width 0.28s var(--ease), height 0.28s var(--ease),
              margin 0.28s var(--ease), background 0.28s var(--ease),
              border-color 0.28s var(--ease);
}
/* Über Anklickbarem: größer und leicht gefüllt */
html.cursor-aktiv .cursor-ring {
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  background: rgba(131,181,69,0.14); border-color: var(--green);
}
/* Punktgröße und Klick-Reaktion setzt die Schleife (weiche Interpolation). */

/* Systemzeiger ausblenden – Textfelder behalten ihren Cursor,
   damit die Schreibmarke auffindbar bleibt. */
html.hat-cursor, html.hat-cursor * { cursor: none; }
html.hat-cursor input, html.hat-cursor textarea { cursor: auto; }

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-dot, .cursor-ring { display: none; }
  html.hat-cursor, html.hat-cursor * { cursor: auto; }
}

/* ── Tabellen auf schmalen Schirmen ──────────────────────────
 * Sieben Spalten passen auf kein Telefon. Erst wird kompakter gesetzt,
 * darunter wird jede Zeile zu einer Karte mit Beschriftung je Wert –
 * so steht alles da, ohne dass rechts etwas abgeschnitten wirkt. */
@media (max-width: 1000px) {
  table.tbl { font-size: 13.5px; }
  table.tbl th, table.tbl td { padding: 11px 10px; }
}
@media (max-width: 700px) {
  .table-wrap {
    overflow-x: visible; background: none; border: 0; padding: 0;
    border-radius: 0;
  }
  /* Die Mindestbreite von oben würde die Karten wieder breit ziehen. */
  table.tbl, table.tbl tbody, table.tbl tr, table.tbl td { display: block; width: 100%; min-width: 0; }
  table.tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.tbl tr {
    background: #fff; border: 1px solid var(--line-soft); border-radius: 16px;
    padding: 4px 16px; margin-bottom: 14px;
  }
  table.tbl tr.hi { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
  table.tbl td {
    display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
    padding: 10px 0; border-bottom: 1px solid var(--line-soft); text-align: right;
  }
  table.tbl td:last-child { border-bottom: 0; }
  table.tbl td::before {
    content: attr(data-label); flex: 0 1 auto; text-align: left;
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
    color: var(--ink-mid); text-transform: uppercase;
  }
  /* Die erste Spalte ist der Name der Zeile – als Überschrift der Karte. */
  table.tbl td:first-child {
    display: block; text-align: left; font-weight: 700; color: var(--forest);
    font-size: 15px; padding-top: 14px;
  }
  table.tbl td:first-child::before { display: none; }
  /* Dunkle Abschnitte: Karten aufgehellt statt weiß. */
  .bg-forest table.tbl tr { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); }
  .bg-forest table.tbl td { border-bottom-color: rgba(255,255,255,0.12) !important; }
  .bg-forest table.tbl td::before { color: rgba(237,243,225,0.66); }
  .bg-forest table.tbl td:first-child { color: #fff !important; }
}

/* Sechs Spalten und mehr passen auch auf dem Tablet nicht nebeneinander –
   diese Tabellen gehen schon ab 1000 px in den Kartenmodus. */
@media (max-width: 1000px) {
  .table-wrap {
    overflow-x: visible; background: none; border: 0; padding: 0;
    border-radius: 0;
  }
  /* Die Mindestbreite von oben würde die Karten wieder breit ziehen. */
  table.tbl--breit, table.tbl--breit tbody, table.tbl--breit tr, table.tbl--breit td { display: block; width: 100%; min-width: 0; }
  table.tbl--breit thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.tbl--breit tr {
    background: #fff; border: 1px solid var(--line-soft); border-radius: 16px;
    padding: 4px 16px; margin-bottom: 14px;
  }
  table.tbl--breit tr.hi { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
  table.tbl--breit td {
    display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
    padding: 10px 0; border-bottom: 1px solid var(--line-soft); text-align: right;
  }
  table.tbl--breit td:last-child { border-bottom: 0; }
  table.tbl--breit td::before {
    content: attr(data-label); flex: 0 1 auto; text-align: left;
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
    color: var(--ink-mid); text-transform: uppercase;
  }
  /* Die erste Spalte ist der Name der Zeile – als Überschrift der Karte. */
  table.tbl--breit td:first-child {
    display: block; text-align: left; font-weight: 700; color: var(--forest);
    font-size: 15px; padding-top: 14px;
  }
  table.tbl--breit td:first-child::before { display: none; }
  /* Dunkle Abschnitte: Karten aufgehellt statt weiß. */
  .bg-forest table.tbl--breit tr { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); }
  .bg-forest table.tbl--breit td { border-bottom-color: rgba(255,255,255,0.12) !important; }
  .bg-forest table.tbl--breit td::before { color: rgba(237,243,225,0.66); }
  .bg-forest table.tbl--breit td:first-child { color: #fff !important; }
}

/* ── Breite Tabellen bekommen mehr Platz ─────────────────────
 * Sechs und mehr Spalten stehen sonst gequetscht in der Textspalte.
 * Auf großen Schirmen dürfen sie über den Satzspiegel hinausragen,
 * höchstens aber bis zum Rand des Fensters. */
@media (min-width: 1100px) {
  .table-wrap--weit {
    /* Ohne max-width: none deckelt die Regel weiter oben die Breite auf 100 %
       der Textspalte – die negativen Ränder blieben wirkungslos. */
    max-width: none;
    margin-left: calc(-1 * clamp(0px, 3.5vw, 96px));
    margin-right: calc(-1 * clamp(0px, 3.5vw, 96px));
  }
}
/* Mehr Luft je Zelle, wenn die Breite da ist. */
@media (min-width: 1100px) {
  table.tbl--breit th, table.tbl--breit td { padding: 15px 16px; }
}

/* ── Handy-Rahmen mit echtem Bildschirmfoto ──────────────────
 * Der Rahmen bleibt, der nachgebaute Inhalt weicht dem Foto aus dem
 * Simulator. Das Bild bringt Statusleiste und Kopfzeile schon mit. */
.phone-mock--foto { padding: 10px; line-height: 0; }
.phone-mock--foto img {
  display: block; width: 100%; height: auto; border-radius: 32px;
}

/* ── Einwilligungsleiste ─────────────────────────────────────
 * Erscheint nur, wenn in site.js `EINWILLIGUNG.modus` auf 'einwilligung'
 * steht. Ablehnen und Akzeptieren sind gleich groß – keine Vorauswahl,
 * kein hervorgehobenes „Alles akzeptieren". */
.hinweis-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -18px 46px rgba(19,32,13,0.14);
  transform: translateY(102%); transition: transform 0.5s var(--ease);
}
.hinweis-bar.an { transform: none; }
.hinweis-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gut);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px 30px;
}
.hinweis-text {
  flex: 1 1 380px; min-width: 0;
  font-size: 13.5px; line-height: 1.6; color: var(--ink-mid); max-width: 76ch;
}
.hinweis-text b { color: var(--forest); }
.hinweis-knoepfe { display: flex; gap: 10px; flex: 0 0 auto; }
.hinweis-btn {
  font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 12px 26px; border-radius: 50px;
  border: 1.5px solid var(--line); background: transparent; color: var(--forest);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease);
}
.hinweis-btn:hover { border-color: var(--forest); }
.hinweis-btn--ja { background: var(--green); border-color: var(--green); color: #fff; }
.hinweis-btn--ja:hover { background: var(--green-dark); border-color: var(--green-dark); }
@media (max-width: 620px) {
  .hinweis-knoepfe { width: 100%; }
  .hinweis-btn { flex: 1 1 50%; padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hinweis-bar { transition: none; }
}

/* Zwischenüberschriften in den Rechtstexten (8.1, 8.2 …) – ohne eigene
   Abstände klebten sie am vorangehenden Absatz. */
.legal h4 { font-size: 16px; margin: 26px 0 8px; }
