/* ============================================================
   HENBRAIN — Landingpage
   Erbt das Hentecs-Design-System: Schwarz/Anthrazit/Grau, Fira Sans.
   Bewusst NICHT enthalten (am 03.08.2026 aus hentecs.com entfernt):
   Glassmorphism, Eyebrow-Chips, Farbverlaufs-Ueberschriften,
   Icon-Kacheln, Nummern-Labels.
   ============================================================ */

:root {
  --text-primary:   #121212;
  --text-secondary: #4A4A4A;
  --text-muted:     #6A6A6A;
  --akzent:         #1A1A1A;
  --linie:          rgba(0, 0, 0, 0.12);
  --flaeche:        #FAFAFA;
  --karte:          #FFFFFF;
  --dunkel:         #121212;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --nav-h: 76px;
  --schatten: 0 12px 48px rgba(0, 0, 0, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.huelle { width: min(92vw, 1040px); margin: 0 auto; }

/* ── Navigation ───────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex; align-items: center;
}
.nav .huelle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wortmarke {
  font-size: 1.35rem; letter-spacing: -0.01em; text-decoration: none;
  color: var(--text-primary); font-weight: 400; white-space: nowrap;
}
.wortmarke strong { font-weight: 700; }
.nav-rechts { display: flex; align-items: center; gap: 1.5rem; }
.nav-herkunft {
  font-size: 0.8rem; color: var(--text-muted); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.nav-herkunft:hover { border-bottom-color: var(--text-muted); }

/* Schmale Geraete: Die Herkunftszeile braucht zu viel Platz und bricht die
   Leiste auf. Sie steht ohnehin noch einmal in der Fusszeile.              */
@media (max-width: 580px) {
  .nav { height: auto; padding: 0.7rem 0; }
  .nav-rechts { gap: 0.75rem; }
  .nav-herkunft { display: none; }
  .nav .knopf { padding: 0.65rem 1.05rem; font-size: 0.88rem; }
  .wortmarke { font-size: 1.2rem; }
}

/* ── Schaltflaechen ───────────────────────────────────── */
.knopf {
  display: inline-block; padding: 0.85rem 1.6rem;
  background: var(--akzent); color: #FFFFFF;
  text-decoration: none; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; border: 1px solid var(--akzent);
  transition: background 0.2s ease;
}
.knopf:hover { background: #000000; }
.knopf--leise {
  background: transparent; color: var(--text-primary); border-color: var(--linie);
}
.knopf--leise:hover { background: var(--flaeche); }

/* ── Hero ─────────────────────────────────────────────── */
.hero { padding: 6rem 0 5rem; border-bottom: 1px solid var(--linie); }
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  line-height: 1.15; letter-spacing: -0.02em;
  margin: 0 0 1.25rem; font-weight: 700; max-width: 16ch;
}
.hero .unterzeile {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-secondary); max-width: 54ch; margin: 0 0 2.25rem;
}
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.hero-hinweis { font-size: 0.85rem; color: var(--text-muted); margin-top: 1.5rem; }

/* ── Abschnitte ───────────────────────────────────────── */
section { padding: 4.5rem 0; }
section.getoent { background: var(--flaeche); border-block: 1px solid var(--linie); }
h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.05rem); line-height: 1.25;
  letter-spacing: -0.015em; margin: 0 0 1.25rem; font-weight: 600; max-width: 24ch;
}
h3 { font-size: 1.08rem; font-weight: 600; margin: 0 0 0.5rem; }
p { color: var(--text-secondary); margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }
.fliesstext { max-width: 62ch; }
.fliesstext p { font-size: 1.08rem; line-height: 1.8; }

/* ── Schritte ─────────────────────────────────────────── */
.schritte { display: grid; gap: 2.25rem; margin-top: 2.5rem; }
@media (min-width: 720px) { .schritte { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.schritt { border-top: 2px solid var(--akzent); padding-top: 1.1rem; }
.schritt p { font-size: 0.97rem; margin: 0; }

/* ── Preis ────────────────────────────────────────────── */
.preis-karte {
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--radius-md); padding: 2.25rem;
  max-width: 460px; box-shadow: var(--schatten);
}
.preis-zahl { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.preis-takt { font-size: 1rem; color: var(--text-muted); font-weight: 400; margin-left: 0.4rem; }
.preis-liste { list-style: none; padding: 0; margin: 1.75rem 0; }
.preis-liste li {
  padding: 0.5rem 0 0.5rem 1.6rem; position: relative;
  color: var(--text-secondary); font-size: 0.97rem; border-bottom: 1px solid var(--linie);
}
.preis-liste li:last-child { border-bottom: 0; }
.preis-liste li::before {
  content: "—"; position: absolute; left: 0; color: var(--text-muted);
}
.preis-fuss { font-size: 0.85rem; color: var(--text-muted); margin-top: 1.25rem; }

/* ── Vertrauen ────────────────────────────────────────── */
.punkte { display: grid; gap: 1.75rem; margin-top: 2.25rem; }
@media (min-width: 720px) { .punkte { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; } }
.punkt p { font-size: 0.97rem; margin: 0; }

/* ── Abgrenzung ───────────────────────────────────────── */
.abgrenzung { max-width: 62ch; }
.abgrenzung ul { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.abgrenzung li {
  padding: 0.9rem 0; border-top: 1px solid var(--linie);
  color: var(--text-secondary); font-size: 0.99rem;
}
.abgrenzung li strong { color: var(--text-primary); font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { max-width: 70ch; margin-top: 2rem; }
.faq details { border-top: 1px solid var(--linie); }
.faq details:last-of-type { border-bottom: 1px solid var(--linie); }
.faq summary {
  padding: 1.15rem 2rem 1.15rem 0; cursor: pointer; font-weight: 500;
  list-style: none; position: relative; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 1.05rem;
  font-size: 1.3rem; color: var(--text-muted); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
.faq .antwort { padding: 0 2rem 1.35rem 0; }
.faq .antwort p { font-size: 0.99rem; }
.faq .antwort ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.faq .antwort li {
  color: var(--text-secondary); font-size: 0.99rem; margin-bottom: 0.4rem; line-height: 1.6;
}

/* ── Fusszeile ────────────────────────────────────────── */
.fuss { background: var(--dunkel); color: #AFAFAF; padding: 3rem 0 2.5rem; font-size: 0.9rem; }
.fuss a { color: #E4E4E4; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.22); }
.fuss a:hover { border-bottom-color: #E4E4E4; }
.fuss-reihen { display: flex; flex-wrap: wrap; gap: 1.5rem 2.25rem; margin-bottom: 1.75rem; }
.fuss-klein { color: #7E7E7E; font-size: 0.82rem; line-height: 1.7; }

/* ── Entwurfsbanner — vor der Veroeffentlichung entfernen ── */
.entwurf {
  background: #1A1A1A; color: #FFD27F; text-align: center;
  padding: 0.6rem 1rem; font-size: 0.82rem; letter-spacing: 0.02em;
}

/* ── Kundenbereich ────────────────────────────────────── */
.formular { max-width: 420px; margin-top: 1.75rem; }
.formular label {
  display: block; font-size: 0.92rem; font-weight: 500;
  margin: 1.1rem 0 0.4rem; color: var(--text-primary);
}
.formular input {
  width: 100%; padding: 0.8rem 0.9rem; font-size: 1rem; font-family: inherit;
  border: 1px solid var(--linie); border-radius: var(--radius-sm);
  background: #FFFFFF; color: var(--text-primary); box-sizing: border-box;
}
.formular input:focus { outline: 2px solid var(--akzent); outline-offset: 1px; border-color: transparent; }
.formular button { margin-top: 1.5rem; cursor: pointer; font-family: inherit; }
.formular-knapp { margin-top: 1.25rem; }
.formular-knapp button { cursor: pointer; font-family: inherit; font-size: 0.88rem; padding: 0.55rem 1rem; }

.err {
  background: #FFF4F4; border: 1px solid #F3C9C9; color: #8A1F1F;
  padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.93rem; margin-top: 1.25rem;
}

.brains { display: grid; gap: 1.5rem; margin: 2rem 0 3rem; }
@media (min-width: 760px) { .brains { grid-template-columns: repeat(2, 1fr); } }
.brain {
  border: 1px solid var(--linie); border-radius: var(--radius-md);
  padding: 1.6rem; background: var(--karte);
}
.brain h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.brain label {
  display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-muted); margin: 1.1rem 0 0.35rem;
}
.brain-zustand { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 0.5rem; }
.brain-zustand--bereit { color: #1C6B3A; font-weight: 500; }
.brain-zustand--fehler { color: #8A1F1F; font-weight: 500; }
.brain-hinweis { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.9rem; }

.schluessel-kasten {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88rem; background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--radius-sm); padding: 0.7rem 0.85rem; margin: 0;
  word-break: break-all; color: var(--text-primary);
}
.schluessel-kasten a { color: var(--text-primary); }
