/* ==========================================================================
   Hegaugen – Design „Nachtgrün“
   Leitwelt: schlichter Tech-Noir in Grün mit Binär-Helix.
   Schrift: Jost (Wortmarke + Überschriften), Inter (Text), Courier Prime (Beschriftungen,
   Ordner-Reiter, Stempel). Alle lokal gehostet, Lizenzen in assets/fonts.
   Alle Farben über Variablen; body.theme-floster schaltet auf hell.
   ========================================================================== */

@font-face { font-family: "Jost"; src: url("assets/fonts/jost-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("assets/fonts/courier-prime-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("assets/fonts/courier-prime-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Layout: eine Erzählspalte (max. 68 Zeichen) plus breite Bühne für Ordner und Demos */
  --bg: #050906;
  --bg-2: #08100c;
  --surface: #0c1611;
  --surface-2: #101d16;
  --text: #e6ece3;
  --muted: #9fb0a3;
  --faint: #66786b;
  --line: #1b2a22;
  --line-2: #2a3d32;
  --accent: #b9f227;
  --accent-2: #5dd7be;
  --on-accent: #0a1208;
  --stamp: #ee6a5f;
  --spot: rgba(185, 242, 39, 0.10);
  --display: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --sans: "Inter", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --type: "Courier Prime", "Courier New", ui-monospace, monospace;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

body.theme-floster {
  --bg: #f4f2ea;
  --bg-2: #ebe8dc;
  --surface: #fbfaf5;
  --surface-2: #f0eee4;
  --text: #15231c;
  --muted: #4c5c53;
  --faint: #7d8a81;
  --line: #dcd8c9;
  --line-2: #c9c4b2;
  --accent: #17352b;
  --accent-2: #5b8f0f;
  --on-accent: #f4f2ea;
  --spot: rgba(185, 242, 39, 0.18);
  --shadow: 0 24px 60px rgba(23, 53, 43, 0.14);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Filmkorn – statisch, kaum sichtbar */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body.theme-floster::after { opacity: 0.035; }

::selection { background: var(--accent); color: var(--on-accent); }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap {
  max-width: 1180px; margin: 0 auto; position: relative;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

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

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); color: var(--text); text-wrap: balance; }

h1 { font-size: clamp(44px, 7vw, 96px); line-height: 1.0; font-weight: 300; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; font-weight: 300; letter-spacing: -0.015em; }
h3 { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.25; font-weight: 500; letter-spacing: 0; }
.hero-title-long { font-size: clamp(40px, 5.8vw, 80px); }
.hero-sub { margin-top: 22px; font-family: var(--display); font-weight: 300; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; color: var(--text); max-width: 24ch; text-wrap: balance; }
h1 em, h2 em, .hl { font-style: normal; color: var(--accent); }

.lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

.kicker, .section-label {
  font-family: var(--type); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 12px;
}
.section-label { margin-bottom: 22px; }

/* Ortsangabe (derzeit nicht verwendet) */
.caption {
  font-family: var(--type); font-size: 15px; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); display: grid; justify-items: start; gap: 2px; margin-bottom: 34px;
}
.caption span { display: inline-block; }
.caption span:last-child { color: var(--muted); }
.caption.typing span { overflow: hidden; white-space: nowrap; max-width: 0; animation: type 1.1s steps(40, end) forwards; }
.caption.typing span:last-child { animation-delay: 1.15s; }
@keyframes type { to { max-width: 40em; } }

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

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 2px;
  font-family: var(--type); font-weight: 700; font-size: 14.5px; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 1px var(--accent), 0 0 30px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn-primary:hover { box-shadow: 0 0 0 1px var(--accent), 0 0 50px color-mix(in srgb, var(--accent) 50%, transparent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: var(--accent); color: var(--on-accent); }
body.theme-floster .btn-primary { box-shadow: none; }

/* ---------- Kopfzeile ---------- */

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; }

.placeholder-tag {
  font-family: var(--type); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid currentColor; color: var(--accent); padding: 1px 8px; margin-left: 6px;
}

nav.main-nav { display: flex; align-items: center; gap: 30px; }
nav.main-nav a { white-space: nowrap; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
nav.main-nav a:hover { color: var(--text); }
nav.main-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.btn-header { padding: 11px 18px; font-size: 13px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 1240px) { nav.main-nav { gap: 22px; } }
@media (max-width: 960px) {
  nav.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px max(24px, env(safe-area-inset-left, 0px)) 22px; background: var(--bg); border-bottom: 1px solid var(--line); }
  nav.main-nav.nav-open { display: flex; }
  nav.main-nav a { padding: 12px 0; width: 100%; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
}

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

.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: 100px 24px; }
.hero-compact { padding-block: 90px 80px; }
.about-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hero-compact:has(.about-hero) { padding-bottom: 0; }
.hero-compact:has(.about-hero) + section { padding-top: 0; }
.about-hero > div:first-child { padding-bottom: 110px; }
.portrait { margin: 0 0 -1px; position: relative; justify-self: end; width: 100%; max-width: 420px; }
.portrait::before { content: ""; position: absolute; inset: 12% 8% 18%; background: radial-gradient(closest-side, rgba(93,215,190,0.07), rgba(185,242,39,0.025) 60%, transparent); filter: blur(30px); z-index: 0; }
.portrait img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .about-hero { grid-template-columns: 1fr; gap: 28px; }
  .about-hero > div:first-child { padding-bottom: 0; }
  .portrait { justify-self: center; max-width: 320px; }
  .hero-compact:has(.about-hero) + section { padding-top: 40px; }
}

.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: auto 0 0 0; height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-block: 56px 48px; } }

.hero-pills { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding: 0; list-style: none; }
.pill { font-family: var(--type); font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.pill::before { content: "■"; color: var(--accent); font-size: 8px; }

.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

/* Helix-Bühne (Canvas über die ganze Hero-Fläche, Startsequenz) */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-scene { position: relative; min-height: 460px; }
.scene-caption {
  position: absolute; right: 0; bottom: -60px; font-family: var(--type); font-size: 12.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint);
}
.scene-caption b { color: var(--accent); font-weight: 400; }
@media (max-width: 900px) { .hero-scene { display: none; } }

/* ---------- Abschnitte ---------- */

section { padding-block: 80px; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-dark { background: var(--surface); border-block: 1px solid var(--line); }
.section-header { max-width: 820px; margin-bottom: 54px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .lead { margin-top: 20px; }

/* Erzählspalte */
.story { max-width: 760px; }
.story p + p { margin-top: 1.1em; }
.story p { color: var(--muted); font-size: 18.5px; line-height: 1.75; }
.story p strong { color: var(--text); font-weight: 600; }
.story h2 + p { margin-top: 30px; }
.turn {
  margin-top: 24px; max-width: 28ch; font-family: var(--display); font-weight: 300;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.2; color: var(--text); text-wrap: balance;
}
.turn em { font-style: normal; color: var(--accent); }

/* Protokoll (Beobachtungen mit Uhrzeit) */
.log { list-style: none; margin: 46px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 860px; }
.log li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.log time { font-family: var(--type); color: var(--accent); font-size: 17px; letter-spacing: 0.06em; }
.log p { color: var(--text); font-size: 17.5px; }
@media (max-width: 560px) { .log li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Ordner (Produkte) ---------- */

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 56px; }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; gap: 40px; } }
.case {
  position: relative; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line-2); padding: 46px 34px 32px; margin-top: 18px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.case:hover { border-color: var(--accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), var(--shadow); }
.case-tab {
  position: absolute; top: -18px; left: -1px; padding: 4px 16px 4px 14px; background: var(--surface); border: 1px solid var(--line-2); border-bottom: 0;
  font-family: var(--type); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
.case:hover .case-tab { border-color: var(--accent); }
.case-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--type); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.case-meta b { color: var(--text); font-weight: 400; }
.case h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); }
.case p { color: var(--muted); }
.case .text-link { margin-top: auto; padding-top: 10px; }

.stamp {
  display: inline-block; font-family: var(--type); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stamp); border: 2px solid var(--stamp); padding: 2px 10px; transform: rotate(-4deg); opacity: 0.85;
}

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--type); font-weight: 700; font-size: 14px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Karten (sparsam, als Linien statt Kästen) ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card { padding: 28px 0 0; border-top: 1px solid var(--line-2); }
.card .num { display: block; font-family: var(--type); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-2); margin-bottom: 18px; }
.card-icon svg { width: 20px; height: 20px; }
.card-logo { height: 48px; width: auto; margin-bottom: 18px; }

.pain-card { padding: 26px 0 0; border-top: 1px solid var(--line-2); }
.pain-card .lead { color: var(--text); font-size: 19px; }

/* ---------- Schritte ---------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding-top: 24px; border-top: 1px solid var(--line-2); }
.step .step-index { display: block; font-family: var(--type); font-size: 15px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 16px; }

/* ---------- Großer Satz ---------- */

.emotional { text-align: center; padding-block: 100px; }
.emotional h2 { font-size: clamp(36px, 6vw, 80px); max-width: 1000px; margin: 0 auto; }
.emotional .lead { margin: 28px auto 0; }
.emotional .section-label { justify-content: center; }

/* ---------- Status-/Preiskarte ---------- */

.price-card { max-width: 620px; margin: 0 auto; padding: 48px; background: var(--surface); border: 1px solid var(--line-2); text-align: left; }
.price-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.price-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--muted); font-size: 16px; }
.price-list li::before { content: "■"; color: var(--accent); font-size: 9px; line-height: 2.6; }

/* ---------- Kontakt ---------- */

.cta-band {
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 34px; align-items: end;
  padding-block: 70px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.cta-band h2 { color: var(--text) !important; }
.cta-band .lead { color: var(--muted) !important; }
.cta-mail { font-family: var(--type); font-size: 15px; letter-spacing: 0.06em; color: var(--muted); margin-top: 18px; user-select: all; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Fußbereich ---------- */

footer.site-footer { padding-block: 70px 34px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid:has(> div:nth-child(4)) { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-family: var(--type); font-weight: 400; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--muted); font-size: 15px; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--muted) !important; }
.footer-logo { height: 140px; width: auto; margin-bottom: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-family: var(--type); font-size: 13px; letter-spacing: 0.06em; color: var(--faint); }

/* ---------- Über mich ---------- */

.about-teaser { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.fact-list li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.fact-list strong { font-family: var(--type); font-weight: 400; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.fact-list span { color: var(--text); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.prose { margin-top: 28px; display: grid; gap: 18px; max-width: 680px; }
.prose p { color: var(--muted); font-size: 18px; line-height: 1.75; }
@media (max-width: 900px) { .about-teaser, .about-grid { grid-template-columns: 1fr; } .fact-list li { grid-template-columns: 1fr; gap: 2px; } }

.hero-product-logo { height: 54px; width: auto; }

/* ---------- Leiste ---------- */

.marquee { border-block: 1px solid var(--line); padding-block: 18px; }
.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; padding-inline: 20px; font-family: var(--type); font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; }
.marquee-track span::after { content: "/"; color: var(--accent); }
.marquee-track span:last-child::after { display: none; }

/* ---------- Produktseiten: Zonen ---------- */

.zones { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.35fr) 40px minmax(0, 1fr); align-items: stretch; }
.zone { padding: 30px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); }
.zone-ki { border-color: var(--accent); box-shadow: 0 0 60px color-mix(in srgb, var(--accent) 10%, transparent); }
.zone-tag { font-family: var(--type); font-size: 13px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 16px; }
.zone h3 { margin-bottom: 14px; }
.zone ul { margin: 0; padding-left: 18px; display: grid; gap: 9px; font-size: 15.5px; color: var(--muted); }
.zone ul li::marker { color: var(--accent); }
.zone-ki strong { color: var(--text); font-weight: 600; }
.zone-foot { margin-top: auto; padding-top: 20px; font-family: var(--type); font-size: 13px; color: var(--faint); }
.zone-arrow { display: grid; place-items: center; }
.zone-arrow span { width: 100%; height: 1px; background: var(--accent); position: relative; }
.zone-arrow span::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 8px solid var(--accent); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
@media (max-width: 960px) {
  .zones { grid-template-columns: 1fr; }
  .zone-arrow { height: 40px; }
  .zone-arrow span { width: 1px; height: 100%; }
  .zone-arrow span::after { right: auto; left: -4px; top: auto; bottom: -1px; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-top: 8px solid var(--accent); border-bottom: 0; }
}

/* ---------- Demo ---------- */

.demo { position: relative; padding: 34px; background: var(--surface); border: 1px solid var(--line-2); }
.demo::before {
  content: "Live-Demo"; position: absolute; top: -12px; left: 28px; padding: 2px 10px; background: var(--bg-2);
  font-family: var(--type); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line-2);
}
.demo-bar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.demo-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-tabs button { font: inherit; font-size: 14.5px; font-weight: 500; padding: 9px 15px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; }
.demo-tabs button:hover { color: var(--text); border-color: var(--accent); }
.demo-tabs button.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.demo-play { padding: 9px 16px; font-size: 12.5px; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; margin-top: 28px; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } .demo { padding: 30px 16px 18px; } }
.demo-title { margin-bottom: 18px; font-weight: 400; }
.demo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.demo-steps li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px 10px; border-bottom: 1px solid var(--line); cursor: pointer; opacity: 0.45; transition: opacity 0.3s ease, background 0.3s ease; }
.demo-steps li.done { opacity: 0.75; }
.demo-steps li.active { opacity: 1; background: color-mix(in srgb, var(--accent) 7%, transparent); box-shadow: inset 2px 0 0 var(--accent); }
.demo-steps strong { display: block; font-size: 16px; color: var(--text); }
.demo-steps p { margin-top: 2px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.lane { font-family: var(--type); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 3px 6px; border: 1px solid; align-self: start; margin-top: 2px; }
.lane-input { color: var(--text); border-color: var(--line-2); }
.lane-ki { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.lane-auto { color: var(--accent-2); border-color: var(--accent-2); }
.lane-mensch { color: var(--accent); border-color: var(--accent); }
.lane-output { color: var(--muted); border-color: var(--muted); }

.chat { border: 1px solid var(--line-2); background: var(--bg); display: flex; flex-direction: column; min-height: 380px; max-height: 520px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--text); }
.chat-head small { margin-left: auto; font-family: var(--type); font-weight: 400; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; flex: 1; }
.bubble { max-width: 88%; padding: 11px 14px; border-radius: 10px; font-size: 15px; line-height: 1.5; animation: bubbleIn 0.3s ease both; }
.bubble.user { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 2px; }
.bubble.bot { align-self: flex-start; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-bottom-left-radius: 2px; }
.chat-buttons { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.chat-buttons span { font-size: 13px; font-weight: 600; padding: 5px 11px; border: 1px solid var(--accent); color: var(--accent); border-radius: 6px; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .chat { min-height: 240px; max-height: 420px; } .demo-steps li { grid-template-columns: 80px minmax(0, 1fr); } }

/* ---------- Regeln ---------- */

.rules { list-style: none; margin: 0; padding: 0; counter-reset: rule; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line-2); }
.rules li { counter-increment: rule; position: relative; padding: 20px 0 20px 56px; border-bottom: 1px solid var(--line-2); color: var(--muted); font-size: 16px; line-height: 1.6; }
.rules li::before { content: counter(rule, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-family: var(--type); color: var(--accent); font-size: 16px; }
.rules strong { color: var(--text); font-weight: 600; }
.rules .stamp { margin-left: 10px; vertical-align: 2px; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }
.section-dark .section-header h2 { color: var(--text) !important; }

/* ---------- Zeitleiste ---------- */

.timeline { display: grid; gap: 0; max-width: 880px; border-top: 1px solid var(--line-2); }
.tl-item { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.tl-item > span { font-family: var(--type); color: var(--accent); font-size: 18px; letter-spacing: 0.06em; }
.tl-item > span::before { content: "S"; }
.tl-item h3 { margin-bottom: 6px; }
.tl-item p { color: var(--muted); font-size: 16px; }

/* ---------- Ablauf-Demo (n8n) ---------- */

.flow { display: flex; align-items: stretch; margin-top: 22px; overflow-x: auto; padding: 8px 2px 14px; }
.node { flex: 1 1 0; min-width: 150px; padding: 18px 16px; border: 1px solid var(--line-2); background: var(--bg); opacity: 0.45; transition: opacity 0.3s ease, border-color 0.3s ease; }
.node.done { opacity: 0.8; }
.node.active { opacity: 1; border-color: var(--accent); box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 14%, transparent); }
.node strong { display: block; margin-top: 12px; font-size: 15.5px; color: var(--text); }
.node p { margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.node-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--faint); border: 1px solid var(--line-2); }
.node.active .node-icon, .node.done .node-icon { color: var(--accent); border-color: var(--accent); }
.node-icon svg { width: 20px; height: 20px; }
.edge { flex: 0 0 30px; display: grid; place-items: center; }
.edge span { display: block; width: 100%; height: 1px; background: var(--line-2); }
.edge.done span { background: var(--accent); }
@media (max-width: 760px) { .flow { flex-direction: column; overflow: visible; } .node { min-width: 0; } .edge { flex-basis: 24px; } .edge span { width: 1px; height: 100%; } }

/* ---------- Rechtsseiten ---------- */

.legal-page { padding-block: 80px 110px; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 12px; }
.legal-page h2 { font-size: 24px; margin-top: 44px; margin-bottom: 12px; font-weight: 400; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal-page ul { padding-left: 20px; }
.legal-page a { color: var(--accent); }
.todo-flag { display: block; margin: 10px 0; padding: 12px 16px; border: 1px dashed var(--stamp); color: var(--stamp); font-family: var(--type); font-size: 14px; }
.draft-banner { background: var(--stamp); color: #1a0d0b; text-align: center; font-family: var(--type); font-size: 14px; letter-spacing: 0.06em; padding: 10px 16px; }

/* ---------- Floster: Chat-Beispiel im Hero ---------- */

.hero-chat { max-width: 420px; justify-self: end; width: 100%; min-height: 0; box-shadow: var(--shadow); }
@media (max-width: 900px) { .hero-chat { justify-self: stretch; } }

/* ---------- Einblenden (nur mit JavaScript; ohne JS alles sichtbar) ---------- */

.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .caption { font-size: 13px; letter-spacing: 0.04em; }
  .btn-header { padding: 9px 11px; font-size: 10.5px; letter-spacing: 0.06em; }
  .nav-actions { gap: 10px; }
  section { padding-block: 56px; }
  .case { padding: 40px 22px 26px; }
  .price-card { padding: 32px 22px; }
  .brand img { height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .caption.typing span { animation: none; max-width: none; }
  .bubble { animation: none; }
  html { scroll-behavior: auto; }
}

/* Nebel über der Helix */
.hero-canvas { filter: blur(0.8px); }
.fog { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fog span {
  position: absolute; border-radius: 50%; filter: blur(60px);
  background: radial-gradient(closest-side, rgba(170, 200, 180, 0.13), rgba(120, 160, 140, 0.05) 60%, transparent);
  animation: fog 46s ease-in-out infinite alternate;
}
.fog span:nth-child(1) { width: 70%; height: 70%; right: -10%; top: 5%; }
.fog span:nth-child(2) { width: 55%; height: 55%; right: 15%; bottom: -10%; animation-duration: 58s; animation-delay: -20s; background: radial-gradient(closest-side, rgba(93, 215, 190, 0.08), transparent); }
.fog span:nth-child(3) { width: 45%; height: 40%; right: 0; top: 35%; animation-duration: 70s; animation-delay: -35s; background: radial-gradient(closest-side, rgba(185, 242, 39, 0.05), transparent); }
.fog::after {
  content: ""; position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='3' seed='7'/><feColorMatrix values='0 0 0 0 .6  0 0 0 0 .75  0 0 0 0 .68  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>");
  background-size: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 25%, #000 70%);
}
@keyframes fog { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-8%, 4%, 0) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .fog span { animation: none; } }

.cases-single { grid-template-columns: minmax(0, 860px); }

.lead .dna { color: var(--text); font-weight: 500; }

/* ---------- Leitlinien (bis 08.11. „Verfassung“) ---------- */
.articles { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; text-align: left; border-top: 1px solid var(--line-2); }
.articles li { padding: 26px 0 28px; border-bottom: 1px solid var(--line-2); }
.art-no { display: block; font-family: var(--type); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.articles h3 { font-weight: 400; font-size: clamp(19px, 1.7vw, 22px); margin-bottom: 8px; }
.articles p { color: var(--muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 900px) { .articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .articles { grid-template-columns: 1fr; } }
.decision { margin-top: 64px; display: grid; justify-items: center; gap: 18px; }
.decision-label { font-family: var(--type); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.decision-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; }
.decision-flow li { font-family: var(--display); font-size: clamp(17px, 1.8vw, 22px); color: var(--text); padding: 6px 14px; display: inline-flex; align-items: center; }
.decision-flow li + li::before { content: "→"; color: var(--accent); margin-right: 28px; margin-left: -14px; }
.decision-note { font-family: var(--type); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stamp); }
.art-ref { display: inline-block; margin-left: 10px; font-family: var(--type); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); padding: 1px 7px; vertical-align: 2px; }

/* Interaktive Demo (ki-demo.html) eingebettet */
.demo-frame { display: block; width: 100%; height: 1650px; border: 0; margin-top: 28px; background: transparent; }

/* Startseite als Story (05.11.2026) */
.log-after li time { color: var(--accent); }
.log-after li { border-color: rgba(185,242,39,.35); }
.cta-inline { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border: 1px solid rgba(185,242,39,.35); background: rgba(185,242,39,.04); }
.cta-inline p { margin: 0; max-width: 640px; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps-3 { grid-template-columns: 1fr; } }
.about-teaser-photo { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); align-items: center; }
.teaser-photo { width: 100%; max-width: 360px; height: auto; display: block; justify-self: center; }
@media (max-width: 900px) { .teaser-photo { max-width: 260px; } }
.cta-list { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 17px; }
.cta-list li::marker { color: var(--accent); }
@media (max-width: 900px) { .about-teaser-photo { grid-template-columns: 1fr; } }

/* Mehrwert und Nachweis (06.11.2026) */
.gains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
@media (max-width: 760px) { .gains { grid-template-columns: 1fr; } }
.gain { border: 1px solid var(--line-2); background: var(--surface); padding: 26px 26px 24px; }
.g-before { margin: 0; font-size: 14px; color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--stamp) 70%, transparent); }
.g-after { margin: 8px 0 10px; font-family: var(--display); font-size: 24px; line-height: 1.2; color: var(--accent); }
.g-text { margin: 0; color: var(--text); }
.proof { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }
.proof li { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); position: relative; }
.proof li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--muted); }
.proof li.now::before { background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.proof .p-when { font-family: var(--type); font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.proof h3 { margin: 8px 0 6px; }
.proof li.now h3 { color: var(--text); }
.proof p { margin: 0; color: var(--muted); }
.proof-logo { display: inline-block; margin: 6px 0 12px; opacity: .8; transition: opacity .2s; }
.proof-logo:hover, .proof-logo:focus-visible { opacity: 1; }
.proof-logo img { display: block; height: 26px; width: auto; }

/* Der Mensch bleibt (06.11.2026) */
.split { margin-top: 40px; border-top: 1px solid var(--line-2); max-width: 980px; }
.split-h, .split-r { display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: baseline; }
.split-h { padding: 12px 0; font-family: var(--type); font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; }
.split-h b:nth-of-type(1) { color: var(--accent); font-weight: 400; }
.split-h b:nth-of-type(2) { color: var(--accent-2); font-weight: 400; }
.split-r { padding: 18px 0; border-top: 1px solid var(--line); }
.split-r span { font-family: var(--type); font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.split-r p { margin: 0; }
.split-r p:nth-of-type(1) { color: var(--text); }
.split-r p:nth-of-type(1) b { color: var(--accent); font-weight: 600; }
.split-r p:nth-of-type(2) { color: var(--muted); }
@media (max-width: 700px) { .split-h { display: none; } .split-r { grid-template-columns: 1fr; gap: 4px; } .split-r p:nth-of-type(2)::before { content: "KI-Agenten: "; color: var(--accent-2); } }

/* Heute: vier Szenen (06.11.2026) */
.scenes { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 900px; }
.scenes li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.scenes b { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--accent); }
.scenes p { margin: 0; font-size: 18px; color: var(--text); }
@media (max-width: 560px) { .scenes li { grid-template-columns: 1fr; gap: 2px; } }
.g-after { margin-top: 0; }
/* Menü: aktiver Abschnitt beim Scrollen (06.11.2026) */
nav.main-nav a.is-active { color: var(--text); border-bottom-color: var(--accent); }

/* Abschnitte klar abgrenzen (06.11.2026) */
main > section, body > section + section { border-top: 1px solid var(--line); }
.hero + section { border-top: 0; }

/* Profil als Karteikarte (06.11.2026) */
.pcard-modal { position: fixed; inset: 0; z-index: 200; background: rgba(2,5,3,.8); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; }
.pcard-modal[hidden] { display: none; }
html.pc-open { overflow: hidden; }
.pcard { position: relative; width: min(700px, 100%); max-height: 88vh; overflow: auto; background: #f3f1ea; color: #1a1f1b; padding: 34px 36px; box-shadow: 0 30px 80px rgba(0,0,0,.6); font-size: 14px; line-height: 1.6; animation: pcpop .25s ease both; }
@keyframes pcpop { from { opacity: 0; transform: translateY(8px); } }
.pc-x { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #555; }
.pc-ph { display: flex; justify-content: space-between; gap: 12px; font-family: var(--type); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6b726c; border-bottom: 1px solid #d6d3c8; padding-bottom: 10px; }
.pc-st { color: #3A5F08; border: 1.5px solid #3A5F08; padding: 1px 6px; transform: rotate(-2deg); }
.pc-fn { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: #6b726c; }
.pc-ext { font-family: var(--type); font-size: 9px; font-weight: 700; padding: 1px 3px; border: 1px solid #3A5F08; color: #3A5F08; }
.pcard h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; margin: 14px 0 2px; color: #1a1f1b; }
.pc-sub { margin: 0; color: #5b625c; }
.pcard h4 { font-family: var(--type); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin: 20px 0 8px; color: #3A5F08; }
.pcard p { margin: 0; }
.pc-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.pc-kpi div { border: 1px solid #dcd8cb; padding: 10px 12px; background: #faf8f2; }
.pc-kpi b { display: block; font-family: var(--display); font-weight: 500; font-size: 22px; color: #3A5F08; line-height: 1.15; }
.pc-kpi span { font-size: 11.5px; color: #6b726c; }
.pc-path { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid #dcd8cb; }
.pc-path li { position: relative; padding: 0 0 10px; }
.pc-path li::before { content: ""; position: absolute; left: -24px; top: 6px; width: 10px; height: 10px; background: #c9c5b8; }
.pc-path li.now::before { background: #3A5F08; }
.pc-path b { display: block; font-weight: 600; color: #1a1f1b; }
.pc-path span { color: #5b625c; font-size: 13px; }
.pc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pc-two ul { margin: 0; padding-left: 18px; }
.pc-two li::marker { color: #3A5F08; }
.pc-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid #d6d3c8; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pc-foot span { font-family: var(--type); font-size: 12px; color: #6b726c; }
@media (max-width: 560px) { .pcard { padding: 26px 20px; } .pc-kpi, .pc-two { grid-template-columns: 1fr; } }

.pc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-tags span { background: #3A5F08; color: #f3f1ea; padding: 5px 12px; font-size: 13.5px; font-weight: 600; }
.pc-tags.light span { background: transparent; color: #3A5F08; border: 1px solid #b9c4a6; font-weight: 500; }
.pc-lang { margin-top: 16px !important; font-family: var(--type); font-size: 12px; letter-spacing: .08em; color: #6b726c; }
.pc-gain { padding: 12px 0; border-top: 1px solid #dcd8cb; }
.pc-gain b { display: block; font-family: var(--display); font-weight: 500; font-size: 18px; color: #1a1f1b; }
.pc-gain p { color: #4b524c; margin-top: 2px !important; }
.pc-proof { margin-top: 16px !important; padding-top: 12px; border-top: 1px solid #dcd8cb; font-family: var(--type); font-size: 11.5px; letter-spacing: .06em; color: #6b726c; }
.pc-li { font-family: var(--type); font-size: 12px; letter-spacing: .08em; color: #3A5F08; text-decoration: none; border-bottom: 1px solid #b9c4a6; }
.pc-title { font-family: var(--type); font-size: 12px; letter-spacing: .08em; color: #3A5F08; vertical-align: baseline; margin-left: 0; white-space: nowrap; }
.pcard .pc-sub { margin-top: 1.4em; }

/* Leitlinien: siebte Leitlinie über die ganze Breite */
.articles li.art-wide { grid-column: 1 / -1; }

/* Hero: Ergebnis als eigene Zeile */
.hero-gain { margin-top: 22px; font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 400; line-height: 1.3; color: var(--text); }
.hero-gain em { font-style: normal; color: var(--accent); }

/* Kontakt: nur eine Trennlinie zum Abschnitt davor */
#kontakt .cta-band { border-top: 0; }

/* Hero: Bildunterschrift zur Helix (Hegau + Gen) */
.helix-cap { display: grid; gap: 6px; max-width: 300px; text-align: right; justify-items: end; bottom: 0; text-transform: none; letter-spacing: 0.04em; font-size: 13px; line-height: 1.5; color: var(--muted); }
.helix-cap b { text-transform: uppercase; letter-spacing: 0.16em; }
.helix-cap-m { display: none; }
@media (max-width: 900px) { .helix-cap-m { display: grid; text-align: left; justify-items: start; margin-top: 34px; font-family: var(--type); } }
.helix-cap b { color: var(--accent); font-weight: 400; }

/* Hegau + Gen im Schriftbild des Logos */
.helix-cap .hg-word { display: block; height: 15px; width: auto; margin-bottom: 4px; }

/* Helix-Unterschrift: Der Mensch + die KI im Stil des Logos */
.helix-cap .hg-word { height: auto; font-family: var(--display); font-weight: 300; font-size: 17px; letter-spacing: 0.32em; text-transform: uppercase; color: #EEF3EA; margin-bottom: 6px; }
.helix-cap .hg-word i { font-style: normal; opacity: .6; letter-spacing: 0; margin: 0 .25em; }
.helix-cap .hg-word em { font-style: normal; color: var(--accent); }
.helix-cap { max-width: 400px; }

/* Helix-Unterschrift als Wasserzeichen: liegt mittig in der Helix, deutlicher als die Ziffern, aber nicht so hell wie der Text links */
.hero-scene .helix-cap { left: auto; right: 0; bottom: 0; transform: none; width: max-content; max-width: 420px; text-align: right; justify-items: end; pointer-events: none; opacity: .62; }
.helix-cap .hg-word { text-shadow: 0 0 14px rgba(238, 243, 234, .35); }
.helix-cap .hg-word em { text-shadow: 0 0 14px rgba(185, 242, 39, .55); }
.helix-cap span:last-child { text-shadow: 0 0 10px rgba(5, 9, 6, .9); }
.helix-cap-m { opacity: .7; }

/* Hero: weniger Abstand unter der Menüleiste */
.hero { padding-top: 56px; }
@media (max-width: 900px) { .hero { padding-top: 36px; } }

/* Nur eine Trennlinie zwischen Abschnitten: die untere Linie der abgesetzten Abschnitte übernimmt der nächste Abschnitt */
body > section.section-alt + section { border-top: 1px solid var(--line); }
body > section.section-alt { border-bottom: 0; }
#kontakt .cta-band { border-bottom: 0; }

/* Im Einsatz: Erfahrungswerte */
.facts-label { margin: 34px 0 0; font-family: var(--type); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.facts li { border: 1px solid var(--line-2); background: var(--bg-2); padding: 20px 20px 18px; display: grid; gap: 6px; align-content: start; }
.facts b { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; color: var(--accent); }
.facts span { color: var(--text); font-size: 15px; line-height: 1.45; }
.facts small { color: var(--muted); font-size: 14.5px; }
.facts-note { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* Hero: Hürde senken direkt unter den Knöpfen */
.cta-note { margin-top: 14px; font-family: var(--type); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Demo: Höhe vorab reservieren (entspricht der geladenen Höhe), damit beim späten Laden nichts springt */
@media (max-width: 1100px) { .demo-frame { height: 1890px; } }
@media (max-width: 900px) { .demo-frame { height: 2520px; } }
@media (max-width: 600px) { .demo-frame { height: 2700px; } }

/* Lesbarkeit: Fußzeile unten mit ausreichendem Kontrast */
.footer-bottom { color: var(--muted); }

/* Demo: Höhe passend zur zugeklappten Rollen-Tabelle */
@media (min-width: 1101px) { .demo-frame { height: 1190px; } }

/* Profil: Versprechen als Zitat, zentriert */
.pcard .pc-sub.pc-quote { text-align: center; font-size: 1.12em; line-height: 1.5; margin: 1.6em auto 1.8em; max-width: 34em; color: #2f3530; font-style: italic; }

/* Profil: Titel unter dem Namen */
.pcard h3 .pc-title { display: block; margin: 6px 0 0 2px; }

/* Handy: Helix als eigenes Band über „Der Mensch + die KI“ */
.helix-band { display: block; width: 100%; height: 64px; margin: 0 0 10px; }
@media (max-width: 900px) { .helix-cap-m { opacity: 1; max-width: none; } }

/* Handy: Helix zwischen „Die KI erledigt den Rest“ und den Buttons */
@media (max-width: 900px) { .hero .helix-cap-m { margin: 22px 0 26px; } }

/* Mensch weiß (Wertschöpfung), KI grün (Nebenarbeit) */
.turn-mk .tm { color: #EEF3EA; }

/* Mensch weiß und zuerst, KI grün und danach */
.split-h b:nth-of-type(1) { color: #EEF3EA; }
.split-h b:nth-of-type(2) { color: var(--accent); }
.split-r p:nth-of-type(1) b { color: #EEF3EA; }
@media (max-width: 700px) { .split-r p:nth-of-type(2)::before { color: var(--accent); } }

/* Rollen-Popup aus der Demo (wie „Mehr über mich“) */
.rm-card { width: min(900px, 100%); }
.rm-card h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 16px 0 4px; color: #1a1f1b; }
.rm-card .rm-lead { margin: 0 0 16px; color: #4a514b; }
.rm-card table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.5; }
.rm-card th { text-align: left; font-family: var(--type); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #6b726c; font-weight: 400; padding: 0 14px 8px 0; border-bottom: 1px solid #d6d3c8; }
.rm-card td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid #e2dfd5; vertical-align: top; color: #3c423d; }
.rm-card td:first-child { width: 22%; }
.rm-card td b { display: block; font-weight: 600; color: #3A5F08; }
.rm-card tr.human td b { color: #1a1f1b; }
.rm-card td small { font-family: var(--type); font-size: 10.5px; letter-spacing: .06em; color: #6b726c; }
@media (max-width: 720px) { .rm-card thead { display: none; } .rm-card tr { display: block; border-bottom: 1px solid #e2dfd5; padding: 10px 0; } .rm-card td { display: block; border: 0; padding: 2px 0; width: auto !important; } .rm-card td:nth-child(3) { color: #6b726c; } }

/* Zurück auf Rechtsseiten */
.back-link { display: inline-block; margin: 0 0 18px; font-family: var(--type); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.back-link.back-bottom { display: block; width: max-content; margin: 44px 0 0; }
.back-link.back-top { display: block; width: max-content; text-align: left; }
.seiten-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin: 44px 0 0; text-align: left; }
.seiten-nav .back-link { margin: 0; }
.seiten-nav-oben { margin: 0 0 18px; }
.seiten-nav .weiter-link { margin-left: auto; }

/* Über mich: Belege direkt sichtbar */
.about-proof { margin: 16px 0 0; font-family: var(--type); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #EEF3EA; line-height: 1.7; }
/* Kontakt: Button mit Hinweis */
.cta-go { display: grid; gap: 12px; justify-items: start; max-width: 300px; }
.cta-hint { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
/* Häufige Fragen */
.faq { max-width: 860px; border-top: 1px solid var(--line); margin-top: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-size: 18px; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 22px; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 680px; }

/* Kontakt: Hinweis über dem Button, Button unten bündig mit E-Mail/Telefon */
#kontakt .cta-band { grid-template-columns: 1fr; }
#kontakt .cta-go { margin-top: 28px; max-width: 420px; }

/* Hero-Kernbotschaft im Stil der übrigen Kernbotschaften (.turn) */
.hero-gain { font-weight: 300; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; }
/* Wie der Claim in der Demo: Display-Schrift, grün */
.story p.story-lead { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; color: var(--accent); }
.story p.story-lead + p { margin-top: 12px; }
/* Heute: gleiche Tabelle wie "Mit System" */
.split-heute .split-r p.none { color: var(--muted); opacity: .7; }
@media (max-width: 700px) { .split-heute .split-r p.none { display: none; } .split-heute .split-r p:nth-of-type(2)::before { content: "KI: "; } }
/* Profilkarte: Kontaktlinks mit Symbol */
.pc-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pc-links .pc-li { display: inline-flex; align-items: center; gap: 7px; letter-spacing: .03em; }
.pc-ic { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pcard .pc-foot { margin-top: 12px; padding-top: 14px; }
.pc-gain p { margin-bottom: 0 !important; }
.pcard .pc-gain:has(+ .pc-foot) { padding-bottom: 0; }
.pc-links .pc-li { border-bottom: 0; }
.pc-links .pc-li:hover, .pc-links .pc-li:focus-visible { color: #22380a; }
/* Handy: Foto direkt über dem Namen */
.teaser-photo-m { display: none; }
@media (max-width: 900px) {
  .teaser-photo-m { display: block; max-width: 240px; margin: 18px 0 22px; }
  .about-teaser-photo > .teaser-photo { display: none; }
}
/* Popups: Schließen deutlich */
.pc-x { position: sticky; top: -24px; float: right; margin: -26px -30px 6px 12px; width: 40px; height: 40px; border-radius: 50%; background: #1a1f1b; color: #f3f1ea; font-size: 24px; display: grid; place-items: center; z-index: 3; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.pc-x:hover, .pc-x:focus-visible { background: #3A5F08; outline: none; }
.pc-close { display: block; clear: both; width: 100%; margin-top: 22px; padding: 13px; border: 0; background: #1a1f1b; color: #f3f1ea; font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .02em; cursor: pointer; }
.pc-close:hover, .pc-close:focus-visible { background: #3A5F08; outline: none; }
@media (max-width: 560px) { .pc-x { top: -18px; margin: -20px -14px 6px 10px; width: 44px; height: 44px; } }
.pcard > .pc-ph { margin-right: 4px; }
.pcard .pc-ph { padding-right: 46px; }
.pc-ph .pc-st { align-self: flex-start; }
.footer-grid:has(> div:only-child) { grid-template-columns: 1fr; }
/* Spruch mittig auf der Helix */
.hero-scene .helix-cap { left: 50%; right: auto; top: auto; bottom: 0; transform: translateX(-50%); text-align: center; justify-items: center; }
.hero-scene .helix-cap.at-gain { top: var(--cap-y); bottom: auto; transform: translate(calc(-50% + var(--cap-dx, 0px)), -50%); }
/* Fußzeile kompakt: alles unter dem Logo */
footer.site-footer-c { padding-block: 40px 28px; }
.site-footer-c .footer-logo { height: 96px; margin-bottom: 12px; display: block; }
.site-footer-c .f-claim { margin: 0; font-size: 14px; color: var(--muted); }
.site-footer-c .f-legal { margin: 10px 0 0; font-family: var(--type); font-size: 14px; letter-spacing: 0.06em; color: var(--muted); }
.site-footer-c .f-legal a { color: inherit; }
.site-footer-c .f-copy { margin: 6px 0 0; font-family: var(--type); font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
@media (max-width: 560px) { .site-footer-c .f-copy { font-size: 12px; letter-spacing: 0.02em; } }
#kontakt .cta-band { padding-bottom: 0; }
.site-footer-c .f-claim strong { display: block; }
/* Handy: Menüleiste deckt den Bereich der Frontkamera/Statusleiste mit ab */
.site-header { top: 0; padding-top: env(safe-area-inset-top, 0px); }
/* Handy: Statusleisten-Bereich immer abgedeckt, auch wenn der Browser die Leiste anders behandelt */
body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 60; pointer-events: none; }
/* Safari iOS 26: Statusleiste übernimmt nur die Farbe eines FIXIERTEN, deckenden Elements am oberen Rand.
   Deshalb auf dem Handy: Menüleiste fixiert und deckend, Platzhalter per --hh (script.js) */
@media (max-width: 900px) {
  .site-header { position: fixed; top: 0; left: 0; right: 0; background: var(--bg); }
  body { padding-top: var(--hh, 72px); }
}
/* Safari iOS 26 zeichnet Seiteninhalt auch über dem oberen Rand (unter der Statusleiste).
   Die Menüleiste bekommt deshalb nach oben eine deckende Verlängerung. */
.site-header::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 200px; background: var(--bg); pointer-events: none; }
/* Safari iOS 26: Statusleiste übernimmt die Farbe nur von einem schlichten, deckenden Element (ohne Weichzeichner) */
@media (max-width: 900px) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; } }
html, body { background-color: var(--bg); }
/* Kein runder Schließen-Kreis mehr, geschlossen wird über den Button unten */
.pc-x { display: none !important; }
.pcard:focus { outline: none; }
.pcard .pc-ph { padding-right: 0; }
.pcard > .pc-ph { margin-right: 0; }
/* Datenschutz-Hinweis unten */
/* Datenschutz: Unterabschnitt und Widerspruch Statistik */
.legal-page h3 { font-size: 19px; margin-top: 28px; margin-bottom: 10px; font-weight: 400; }
.legal-page p + p { margin-top: 12px; }
.legal-page .btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }

/* Einwilligung (Consent) */
.consent { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90; width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 20px 22px; background: var(--bg-2, #0b120e); border: 1px solid var(--line-2); border-left: 2px solid var(--accent); box-shadow: 0 18px 60px rgba(0,0,0,.6); font-size: 14px; line-height: 1.55; color: var(--muted); }
.consent p { margin: 0; }
.consent-titel { font-family: var(--display); color: var(--text); font-size: 19px; margin-bottom: 8px !important; }
.consent-text a { color: var(--accent); }
.consent-liste { display: none; list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.consent-details .consent-liste { display: block; }
.consent-liste li { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.consent-kat { display: block; cursor: pointer; }
.consent-kat-kopf { display: flex; align-items: center; gap: 12px; color: var(--text); }
.consent-kat-kopf strong { font-weight: 500; flex: 1; }
.consent-kat-kopf em { font-style: normal; font-size: 12px; color: var(--muted); }
.consent-kat-text { display: block; margin-top: 4px; font-size: 13px; }
.consent-kat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent-schalter { position: relative; flex: none; width: 40px; height: 22px; border-radius: 11px; background: var(--line-2); transition: background .2s; }
.consent-schalter::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text); transition: transform .2s; }
.consent-kat input:checked + .consent-schalter { background: var(--accent); }
.consent-kat input:checked + .consent-schalter::after { transform: translateX(18px); background: var(--on-accent, #050906); }
.consent-kat input:disabled + .consent-schalter { opacity: .55; }
.consent-kat input:focus-visible + .consent-schalter { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.consent-btn { justify-content: center; text-align: center; flex: 1 1 0; padding: 11px 14px; font-size: 12px; background: transparent; color: var(--text); border: 1px solid var(--accent); }
.consent-btn:hover { background: var(--accent); color: var(--on-accent); }
.consent-nur-details { display: none; }
.consent-details .consent-nur-details { display: inline-flex; }
.consent-details .consent-nur-start { display: none; }
.consent-kat-anb { display: block; margin-top: 2px; font-size: 12px; color: var(--dim, var(--muted)); opacity: .8; }
@media (max-width: 560px) {
  .consent { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 16px); padding: 12px 14px; font-size: 12px; line-height: 1.45; max-height: 70dvh; }
  .consent-titel { font-size: 15px; margin-bottom: 4px !important; }
  .consent-knoepfe { gap: 6px; margin-top: 10px; flex-wrap: nowrap; }
  .consent-btn { flex: 1 1 0; min-width: 0; padding: 9px 2px; font-size: 9.5px; letter-spacing: .02em; white-space: normal; line-height: 1.2; }
  .consent-details .consent-knoepfe { flex-wrap: wrap; }
  .consent-kat-text { font-size: 12px; }
}

/* Entwurf: Platzhalter für Angaben */
mark.platzhalter { background: #ffd54a; color: #1a1400; padding: 1px 4px; border-radius: 2px; }

.faq-mehr { margin-top: 18px; font-size: 15px; color: var(--muted); }
.faq-mehr a { color: var(--accent); }
.pc-ph .pc-st { white-space: nowrap; }

/* Nutzen als Fließtext, Ablauf als Zeitachse, Leitlinien als Liste (10.11.) */
.fliess { max-width: 760px; margin-top: 34px; }
.fliess p { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--text); margin: 0 0 18px; }
.fliess .fliess-regel { color: var(--muted); border-left: 2px solid var(--accent); padding-left: 16px; margin-top: 26px; font-size: 16px; }
.nutzen { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
@media (max-width: 1100px) { .nutzen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .nutzen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .nutzen { grid-template-columns: 1fr; } }
.nutzen li { padding: 26px 22px 26px 0; border-bottom: 1px solid var(--line); position: relative; }
.nutzen li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--accent); }
.nutzen h3 { margin: 4px 0 8px; font-size: clamp(18px, 1.6vw, 21px); }
.nutzen p { margin: 0; color: var(--muted); }
.nutzen-ds { max-width: 760px; margin: 28px 0 0; color: var(--muted); }
.nutzen-ds b { color: var(--text); }
.weg-zeit { list-style: none; margin: 40px 0 0; padding: 0 0 0 28px; max-width: 760px; border-left: 1px solid var(--line-2); }
.weg-zeit li { position: relative; padding: 0 0 30px; }
.weg-zeit li::before { content: ""; position: absolute; left: -33px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); }
.weg-zeit .wz-label { display: block; font-family: var(--type); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.weg-zeit p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.weg-zeit .wz-ziel { padding-bottom: 0; }
.weg-zeit .wz-ziel::before { background: var(--bg); }
.weg-zeit .wz-ziel p { color: var(--muted); }
.articles-liste { display: block; max-width: 820px; margin: 50px auto 0; text-align: left; }
.articles-liste li { display: grid; grid-template-columns: 52px 1fr; gap: 0 12px; padding: 20px 0; }
.articles-liste .art-no { margin: 4px 0 0; }
.articles-liste h3 { margin-bottom: 4px; }

/* Profilkarte als Fließtext, Kontakt unter Über mich, Satz statt Werbezeile */
.pc-fliess p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; }
.ueber-kontakt { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.ueber-kontakt a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-size: 15px; }
.ueber-kontakt a:hover { color: var(--accent); }
.kontakt-wege { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 0; }
.kontakt-wege a { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: var(--text); text-decoration: none; font-size: 16px; white-space: nowrap; }
.kontakt-wege a:hover { color: var(--accent); }
.kontakt-wege .pc-ic { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.ueber-kontakt .pc-ic { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.turn.turn-satz { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; max-width: 760px; }

/* Anrede-Schalter du/Sie (10.11.) */
html[data-anrede="du"]:not(.anrede-bereit) body { visibility: hidden; }
.anrede-wahl { display: inline-flex; border: 1px solid var(--line-2); position: relative; }
.anrede-wahl button { background: transparent; border: 0; color: var(--muted); font-family: var(--type); font-size: 12.5px; letter-spacing: .08em; padding: 7px 9px; cursor: pointer; line-height: 1; }
.anrede-wahl button + button { border-left: 1px solid var(--line-2); }
.anrede-wahl button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent, #050906); }
.anrede-wahl button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (max-width: 560px) { .anrede-wahl button { padding: 7px 8px; font-size: 11.5px; } }

.ueber-titel { margin: 6px 0 0; font-family: var(--type); font-size: 14.5px; letter-spacing: .08em; color: var(--muted); }

/* Hinweis am Anrede-Schalter: sofort beim Überfahren oder Antippen */
.anrede-wahl::after { content: attr(data-hinweis); position: absolute; top: calc(100% + 8px); right: 0; width: max-content; max-width: 240px; padding: 8px 10px; background: var(--surface, #0e1511); border: 1px solid var(--line-2); color: var(--text); font-family: var(--sans, inherit); font-size: 12px; line-height: 1.4; letter-spacing: 0; text-transform: none; white-space: normal; opacity: 0; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease; pointer-events: none; z-index: 20; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.anrede-wahl:hover::after, .anrede-wahl:focus-within::after { opacity: 1; transform: none; }

/* Rollen auf der Startseite (aus der Demo übernommen, 10.11.) */
.rollen { margin-top: 48px; }
.rollen-h { font-family: var(--display); font-weight: 300; font-size: clamp(24px, 2.6vw, 32px); margin: 8px 0 4px; }
.rollen-lead { color: var(--muted); margin: 0 0 18px; }
.rollen-tab { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.rollen-tab th { text-align: left; font-family: var(--type); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding: 0 14px 10px 0; border-bottom: 1px solid var(--line-2); }
.rollen-tab td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.rollen-tab td:first-child { width: 22%; }
.rollen-tab td b { display: block; font-weight: 600; color: var(--accent); }
.rollen-tab td small { font-family: var(--type); font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.rollen-tab tr.mensch td b { color: var(--text); }
@media (max-width: 720px) {
  .rollen-tab thead { display: none; }
  .rollen-tab tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .rollen-tab td { display: block; border: 0; padding: 4px 0; width: auto !important; }
  .rollen-tab td:nth-child(3)::before { content: "In der Demo: "; color: var(--text); }
}

/* Demo-Einleitung auf der Startseite (aus der Demo übernommen, 10.11.) */
.demo-claim { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2.2vw, 24px); color: var(--accent); margin: 26px 0 10px; }
.demo-lead { color: var(--muted); max-width: 760px; line-height: 1.6; margin: 22px 0 0; }

/* Fragen und Antworten (faq.html, 10.11.) */
.faq-seite .fq-suche { margin: 28px 0 8px; }
.faq-seite .fq-label { display: block; font-family: var(--type); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.faq-seite #fq-q { width: 100%; max-width: 560px; padding: 12px 14px; background: var(--surface, #0e1511); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 16px; }
.faq-seite #fq-q:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.faq-seite .fq-info { min-height: 1.4em; margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.faq-seite .fq-kat { margin-top: 0; padding: 0; border: 0; background: none; }
.faq-seite .fq-kat h2 { margin: 44px 0 6px; color: var(--accent); }
.faq-seite .fq { border-bottom: 1px solid var(--line-2); }
.faq-seite .fq summary { cursor: pointer; padding: 14px 28px 14px 0; position: relative; list-style: none; color: var(--text); font-size: 17px; }
.faq-seite .fq summary::-webkit-details-marker { display: none; }
.faq-seite .fq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; color: var(--accent); font-size: 20px; }
.faq-seite .fq[open] summary::after { content: "−"; }
.faq-seite .fq p { margin: 0 0 16px; }
.faq-seite .fq-leer { margin-top: 24px; }

/* Begriffserklärung per Maus-over (z. B. MCP in den FAQ) */
.begriff { position: relative; border-bottom: 1px dotted var(--accent); cursor: help; outline: none; }
.begriff::after { content: attr(data-hinweis); position: absolute; bottom: calc(100% + 8px); left: 0; width: max-content; max-width: min(280px, 78vw); padding: 8px 10px; background: var(--surface, #0e1511); border: 1px solid var(--line-2); color: var(--text); font-size: 12.5px; line-height: 1.45; font-weight: 400; white-space: normal; opacity: 0; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; pointer-events: none; z-index: 20; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.begriff:hover::after, .begriff:focus::after { opacity: 1; transform: none; }
.begriff:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 700px) {
  p:has(> .begriff), li:has(> .begriff) { position: relative; }
  .begriff { position: static; }
  .begriff::after { left: 0; right: 0; bottom: auto; width: auto; max-width: none; transform: translateY(calc(1.5em + 4px)); }
  .begriff:hover::after, .begriff:focus::after { transform: translateY(1.5em); }
}

/* Laptops mit niedriger Bildschirmhöhe: Kopfbereich kompakter, damit die Buttons ohne Scrollen sichtbar sind */
@media (min-width: 901px) and (max-height: 820px) {
  .hero { padding-top: 32px; }
  .hero .kicker { margin-bottom: 18px !important; }
  .hero h1 { font-size: clamp(44px, 5.6vw, 76px); }
  .hero .lead { margin-top: 18px !important; }
  .hero-gain { margin-top: 14px; }
  .hero-actions { margin-top: 20px; }
}

/* Ansprechpartner im Einstieg: kleines Foto mit Name, führt zum Abschnitt „Über mich“ */
.hero-person { display: flex; width: fit-content; align-items: center; gap: 14px; margin-top: 30px; text-decoration: none; color: var(--text); }
.hero-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); flex: none; }
.hero-person span { display: grid; gap: 2px; min-width: 0; }
.hero-person b { font-weight: 600; font-size: 16px; }
.hero-person small { font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.hero-person:hover b, .hero-person:focus-visible b { color: var(--accent); }
.hero-person + .hero-actions { margin-top: 18px; }

/* Demo-Seite: aufklappbare Abschnitte */
.aufklapp > summary { list-style: none; cursor: pointer; position: relative; padding-right: 56px; }
.aufklapp > summary::-webkit-details-marker { display: none; }
.aufklapp > summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); font-size: 24px; line-height: 1; transition: border-color .2s; }
.aufklapp[open] > summary::after { content: "−"; }
.aufklapp > summary:hover::after { border-color: var(--accent); }
.aufklapp > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.aufklapp > summary .story, .aufklapp > summary .section-header { margin-bottom: 0; }
.aufklapp > summary h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 300; line-height: 1.2; letter-spacing: 0; margin: 8px 0 4px; }
.aufklapp-inhalt { padding-top: 6px; }
.aufklapp-lead { margin-top: 0; }
.aufklapp-rollen { margin-top: 48px; border-top: 1px solid var(--line-2); padding-top: 28px; }

/* Demo-Seite: kompakter wie eine Akkordeon-Liste, einheitliche Schrift */
.aufklapp-seite main > section, .aufklapp-seite body > section, body.aufklapp-seite > section { padding-block: 36px; }
body.aufklapp-seite > section:first-of-type { padding-top: 48px; }
.aufklapp-seite .aufklapp > summary .section-label { margin-bottom: 0; }
.aufklapp-seite .aufklapp > summary h2 { margin: 6px 0 0; }
.aufklapp-seite .aufklapp[open] > summary { margin-bottom: 10px; }
.aufklapp-seite .aufklapp-rollen { margin-top: 36px; padding-top: 24px; }
.aufklapp-seite .demo-lead { font-size: 18.5px; line-height: 1.75; margin: 12px 0 0; }
.aufklapp-seite .rollen-lead { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; color: var(--accent); margin: 0 0 18px; }
.aufklapp-seite .cta-inline { margin-top: 36px; }
@media (max-width: 700px) { body.aufklapp-seite > section { padding-block: 26px; } }

/* Weniger Leerraum auf allen Seiten (19.11.2026), an der Demo-Seite ausgerichtet */
section { padding-block: 56px; }
.emotional { padding-block: 64px; }
main > section:first-child { padding-top: 40px; }
.faq-seite.legal-page { padding-block: 40px 64px; }
.seiten-nav-oben { margin-bottom: 12px; }
.seiten-nav { margin-top: 32px; }
.section-header, .story { margin-bottom: 0; }
@media (max-width: 700px) {
  section { padding-block: 40px; }
  .emotional { padding-block: 48px; }
  main > section:first-child { padding-top: 28px; }
}

/* Einheitliche Überschriften auf allen Seiten (19.11.2026): wie „Wer macht was?“; Einstieg (H1) bleibt groß */
section:not(.hero) h2, .emotional h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 300; line-height: 1.2; letter-spacing: 0; }
.emotional h2 { max-width: 760px; }
.faq-seite h1 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 300; line-height: 1.2; }
section:not(.hero) h2 em { font-style: normal; }

/* Demo skaliert ins Fenster (19.11.2026) */
.demo-skala { position: relative; overflow: hidden; margin-top: 28px; }
.demo-skala .demo-frame { margin-top: 0; transform-origin: 0 0; }

/* Demo hervorgehoben (19.11.2026) */
.aufklapp-demo { border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 12%, transparent); padding: 22px 24px; }
.aufklapp-demo > summary h2 { color: var(--accent); }
.aufklapp-demo > summary::after { background: var(--accent); color: var(--on-accent); border-color: var(--accent); right: 0; }
.aufklapp-demo[open] { background: transparent; box-shadow: none; }
.demo-badge { display: inline-block; margin-left: 10px; padding: 2px 8px; border: 1px solid var(--accent); color: var(--accent); font-size: 11px; letter-spacing: .12em; vertical-align: middle; }
@media (max-width: 700px) { .aufklapp-demo { padding: 18px 16px; } }

/* Erstgespräch dezent zwischen Zurück und Vor (19.11.2026) */
.seiten-nav .erstgespraech-dezent { margin: 0 auto; font-family: var(--type); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 7px 12px; border: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.seiten-nav .erstgespraech-dezent:hover, .seiten-nav .erstgespraech-dezent:focus-visible { color: var(--accent); border-color: var(--accent); }
.seiten-nav .erstgespraech-dezent + .weiter-link { margin-left: 0; }
@media (max-width: 600px) { .seiten-nav .erstgespraech-dezent { order: 3; flex-basis: 100%; text-align: center; margin-top: 4px; } }

/* „Heute“: KI-Spalte zentriert, bei Mensch nur die Überschrift (19.11.2026) */
@media (min-width: 701px) {
  .split-h b { text-align: center; }  /* Überschriften Mensch/KI in beiden Tabellen mittig */
  .split-heute .split-r p:nth-of-type(2) { text-align: center; }
}

/* Startseite: Branchen als Verlängerung des Einstiegstexts (19.11.2026) */
.hero-branchen { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.hero-branchen li { white-space: nowrap; }
.hero-branchen li:not(:last-child)::after { content: "·"; margin: 0 .45em; }
.hero-branchen li.hb-fuer::after { content: none; }
.hero-branchen li.hb-fuer { margin-right: .3em; }

/* Startseite: Trennlinie Einstieg/Nutzen (19.11.2026) */
#nachher { border-top: 1px solid var(--line-2); }
#praxis { border-top: 1px solid var(--line); }
/* Preise */
.preis-liste { list-style: none; margin: 40px 0 0; padding: 0; max-width: 820px; border-top: 1px solid var(--line-2); }
.preis-liste li { display: grid; grid-template-columns: 1fr auto; gap: 6px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.preis-liste h3 { font-weight: 400; font-size: clamp(19px, 1.7vw, 22px); margin-bottom: 4px; }
.preis-liste p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.preis-liste .preis { font-family: var(--type); font-size: 16px; color: var(--text); white-space: nowrap; text-align: right; }
.preis-hinweis { max-width: 820px; margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 600px) { .preis-liste li { grid-template-columns: 1fr; } .preis-liste .preis { text-align: left; } }
.nutzen p { overflow-wrap: break-word; hyphenate-limit-chars: 16 7 7; }
.nutzen li:last-child p { hyphens: auto; -webkit-hyphens: auto; }
.proof .proof-mehr { margin-top: 12px; }
.proof .proof-mehr a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* Startseite: Zielgruppe nach Abläufen statt Branchen (20.11.2026) */
.hero-fuer { margin: 14px 0 0; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; color: var(--muted); max-width: 52ch; }

/* Startup-Seite */
.startup-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.startup-punkte { list-style: none; margin: 40px 0 0; padding: 0; max-width: 820px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 48px; }
.startup-punkte h3 { font-weight: 400; font-size: clamp(19px, 1.7vw, 22px); margin-bottom: 6px; }
.startup-punkte p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 700px) { .startup-punkte { grid-template-columns: 1fr; } }
.site-footer-c .f-startup { margin: 10px 0 0; font-size: 14px; }
.site-footer-c .f-startup a { color: var(--accent); text-decoration: none; }
.site-footer-c .f-startup a:hover { text-decoration: underline; }
.startup-referenz { max-width: 820px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.startup-referenz h3 { font-weight: 400; font-size: clamp(19px, 1.7vw, 22px); margin-bottom: 6px; }
.startup-referenz p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
/* Startup-Seite: Einstieg mit wachsender Helix */
.hero-startup .hero-scene { min-height: 400px; }
.hero-startup .section-header { margin-bottom: 0; }

/* Startup-Seite: Aufbau-Szene (drei KI-Bilder desselben Gebäudes, Teile tauchen aus dem Nebel auf, Helix aus dem jeweils höchsten Dach) */
.hero-startup { min-height: min(86vh, 780px); display: flex; align-items: center; }
.hero-startup > .wrap { width: 100%; }
.hero-startup .section-header { margin-bottom: 0; }
.startup-bau { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.startup-bau.bereit { opacity: 1; }
.bau-bilder { position: absolute; left: 0; top: 0; width: 0; height: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 99%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 99%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 88%, transparent 100%);
  mask-composite: intersect; }
.bau-stufe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bau-stufe + .bau-stufe { opacity: 0; }
.bau-helix { position: absolute; inset: 0; width: 100%; height: 100%; }
.bau-cap { position: absolute; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease 0.4s; margin: 0; transform: translate(-50%, 0); white-space: nowrap; font-family: var(--display); font-weight: 300; font-size: 15px; letter-spacing: 0.32em; text-transform: uppercase; color: #EEF3EA; }
.startup-bau.bereit ~ .bau-cap { opacity: 1; }
.bau-cap i { font-style: normal; opacity: .6; letter-spacing: 0; margin: 0 .25em; }
.bau-cap em { font-style: normal; color: var(--accent); }
@media (max-width: 1180px) {
  .hero-startup { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-startup .startup-bau { position: relative; order: 2; z-index: 0; height: min(78vw, 520px); margin-top: 24px; }
  .hero-startup .bau-cap { position: static; order: 3; transform: none; text-align: center; margin-top: 4px; }
}
.hero-startup + section { border-top: 1px solid var(--line-2); } /* Trennlinie nach dem Einstieg wie #nachher auf der Startseite */
/* Handy: keine Animationen im Einstieg (Startseite: Helix-Band mit „Der Mensch + die KI“, Startup-Seite: Helix mit Berg) */
@media (max-width: 900px) {
  .hero .helix-cap-m { display: none; }
  .hero-startup .startup-bau, .hero-startup .bau-cap { display: none; }
}
.warum-demo { margin: 34px 0 0; max-width: 820px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.preis-liste li p + p { margin-top: 8px; }
/* Startup-Seite: Kopf. „Starten + wachsen“ unter dem Schriftzug, „Für Startups“ größer, Teil der Überschrift grün */
.brand { position: relative; }
.brand-zusatz { position: absolute; left: 26.4%; bottom: -6px; white-space: nowrap; font-family: var(--display); font-weight: 300; font-size: 9.5px; letter-spacing: 0.45em; text-transform: uppercase; color: #EEF3EA; }
.brand-zusatz i { font-style: normal; opacity: .6; letter-spacing: 0; margin: 0 .2em; }
.brand-zusatz em { font-style: normal; color: var(--accent); }
.hero-startup .section-label { font-size: 16px; }
.hero-startup h2 em { font-style: normal; color: var(--accent); }
@media (max-width: 900px) { .brand-zusatz { font-size: 6.5px; bottom: -4px; } }

/* Vorgehen in vier Schritten (Pfeile) */
.weg-pfeile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; max-width: 720px; counter-reset: weg; }
.weg-pfeile span { counter-increment: weg; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 22px 0 28px; margin-left: -12px; font-size: 13px; font-weight: 600; line-height: 1.15; text-align: center; color: var(--text); background: #1d2621; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%); }
.weg-pfeile span::before { content: counter(weg); font-family: var(--type); font-size: 12px; color: var(--accent); }
.weg-pfeile span:first-child { margin-left: 0; padding-left: 14px; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); }
.weg-pfeile span:nth-child(even) { background: #252f29; }
@media (max-width: 560px) { .weg-pfeile span { flex-direction: column; gap: 2px; font-size: 11px; padding: 4px 12px 4px 18px; min-height: 52px; hyphens: auto; } .weg-pfeile span:first-child { padding-left: 8px; } }
.weg-steps { list-style: none; padding: 0; margin: 40px 0 0; }
.weg-steps li { padding-top: 22px; border-top: 1px solid var(--line-2); }
.weg-steps h3 { margin: 8px 0 8px; }
.weg-steps p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.weg-n { font-family: var(--type); font-size: 13px; color: var(--accent); letter-spacing: 0.08em; }
.kontakt-karte { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.kontakt-qr { width: 132px; height: 132px; padding: 8px; background: #fff; border-radius: 10px; flex: none; }
.kontakt-karte-text .cta-hint { margin: 0 0 12px; }
@media (max-width: 760px), (hover: none) and (pointer: coarse) { .kontakt-qr, .kontakt-qr-hinweis { display: none; } .kontakt-karte { margin-top: 16px; } }
