/* =========================================================
   HALBZEIT — Design System
   Gesundheitsökosystem für die zweite Lebenshälfte.
   Sprache: erwachsen, warm, erklärend. Ruhe und Luft statt Lautstärke,
   große lesbare Grotesk, Dunkelpetrol und Bernstein.
   Abgrenzung: DEKADE (Papier/Serife), OKTAN (dunkel/technisch),
   MORGEN (creme/rund), HUNDO (weiß/schwarz/pink/laut).
   ========================================================= */

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

:root {
  --grund:   #FBFAF8;
  --flaeche: #FFFFFF;
  --nebel:   #F1EEE9;
  --tief:    #10323A;   /* Dunkelpetrol, die Markenfläche */
  --tief-2:  #17454E;
  --tinte:   #15242A;
  --tinte-2: #445157;
  --tinte-3: #5B686E;
  --linie:   #DFDAD2;

  --bernstein:   #975B12;   /* Akzent für Schrift — geprüft ≥4,5:1 auch auf Nebel */
  --bernstein-f: #E8A33C;   /* Akzent als Fläche, Schrift darauf dunkel */
  --beere:       #7A2E5C;   /* zweiter Akzent */
  --gruen:       #1F6B4A;

  --breite: 1180px;
  --schmal: 720px;
  --lesen: 640px;
}

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

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--grund); color: var(--tinte);
  font-size: 17.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; border: none; background: none; cursor: pointer; }

/* ===== Typografie: groß, ruhig, gut lesbar ===== */
h1, h2, h3, h4 {
  font-weight: 500; letter-spacing: -0.022em; line-height: 1.14;
  text-wrap: balance; hyphens: auto; -webkit-hyphens: auto;
  hyphenate-limit-chars: 12 6 4; overflow-wrap: break-word;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -0.026em; }
h3 { font-size: clamp(1.14rem, 1.8vw, 1.35rem); letter-spacing: -0.016em; }
h4 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.008em; }

p, li {
  color: var(--tinte-2); overflow-wrap: anywhere;
  hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 7 4 3; text-wrap: pretty;
}
p { max-width: 62ch; }
strong { font-weight: 600; color: var(--tinte); }
em { font-style: italic; }
.gross { font-size: clamp(1.14rem, 1.7vw, 1.34rem); line-height: 1.52; max-width: 54ch; }

.kenn {
  display: inline-block; font-size: 0.775rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600; color: var(--bernstein); max-width: none;
}
.kenn.hell { color: var(--bernstein-f); }

/* ===== Layout ===== */
.bahn { max-width: var(--breite); margin: 0 auto; padding: 0 26px; }
.schmal { max-width: var(--schmal); }
.lesen { max-width: var(--lesen); }
section { padding: clamp(64px, 8vw, 116px) 0; }
.duenn { padding: clamp(40px, 5vw, 70px) 0; }

.fl-w { background: var(--flaeche); }
.fl-n { background: var(--nebel); }
.fl-t { background: var(--tief); color: #EDF1F1; }
.fl-t p, .fl-t li { color: #A9BCC0; }
.fl-t strong { color: #fff; }

.raster { display: grid; gap: 22px; }
.raster > * { min-width: 0; }
.r2 { grid-template-columns: repeat(2, 1fr); }
.r3 { grid-template-columns: repeat(3, 1fr); }
.r4 { grid-template-columns: repeat(4, 1fr); }
.zwei { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.zwei > * { min-width: 0; }
.ob-s { margin-top: 14px; } .ob-m { margin-top: 26px; } .ob-l { margin-top: 52px; }

/* ===== Knöpfe ===== */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 6px;
  font-size: 0.97rem; font-weight: 500;
  border: 1.5px solid transparent; transition: background .16s, color .16s, border-color .16s;
}
.knopf-voll { background: var(--tief); color: #fff; }
.knopf-voll:hover { background: var(--tinte); }
.knopf-akz { background: var(--bernstein-f); color: var(--tinte); font-weight: 600; }
.knopf-akz:hover { background: #D8942F; }
.knopf-leer { border-color: var(--linie); color: var(--tinte); background: var(--flaeche); }
.knopf-leer:hover { border-color: var(--tief); }
.knopf-hell { background: #fff; color: var(--tief); }
.knopf-reihe { display: flex; gap: 13px; flex-wrap: wrap; }

/* ===== Kopf ===== */
.kopf { position: sticky; top: 0; z-index: 70; background: rgba(251,250,248,.94);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--linie); }
.kopf-in { max-width: var(--breite); margin: 0 auto; padding: 13px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.logo { display: flex; align-items: center; gap: 11px; flex: none; white-space: nowrap;
  font-weight: 600; font-size: 1.24rem; letter-spacing: -0.02em; }
.logo img { width: 28px; height: 28px; }
.kopf-nav { display: flex; gap: 24px; font-size: 0.92rem; }
.kopf-nav a { color: var(--tinte-2); }
.kopf-nav a:hover { color: var(--bernstein); }
.nav-schalter { display: none; font-size: 1.4rem; line-height: 1; padding: 4px 8px; }

/* ===== Die Achse: was ab wann gilt — Signatur der Marke =====
   Sachliche Zeitachse statt Altersansprache. Der Betrachter verortet
   sich selbst; wir sagen ihm nicht, wo er steht.
   Echtes Raster statt absoluter Positionen — sonst überlagern sich
   die hinteren Punkte, was der Überlaufprüfstand nicht erkennt. */
.achse-huelle { margin-top: 40px; }
.achse { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.achse > * { min-width: 0; }
/* Linie und Punkte oben, darunter Jahr und Text. Der Punkt muss ein
   ::before sein — ein ::after landet immer hinter dem Text. */
.achse::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 3px;
  background: linear-gradient(90deg, var(--linie) 0%, var(--tief) 100%); border-radius: 2px; }
.achse-p { position: relative; padding: 24px 16px 0 0; }
.achse-p::before { content: ""; position: absolute; top: 0; left: 0; z-index: 1;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bernstein-f); border: 2px solid var(--grund); }
.achse-j { display: block; font-size: clamp(1.2rem, 1.9vw, 1.55rem); font-weight: 600;
  letter-spacing: -0.03em; color: var(--tief); line-height: 1; margin-bottom: 7px; }
.achse-t { display: block; font-size: 0.83rem; color: var(--tinte-3); line-height: 1.35; }
.achse-fuss { margin-top: 26px; font-size: 0.84rem; color: var(--tinte-3); max-width: 66ch; }

@media (max-width: 1000px) { .achse { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .achse::before { display: none; }
  .achse-p::before { top: 4px; } }
@media (max-width: 620px) {
  .achse { grid-template-columns: 1fr; row-gap: 0; }
  .achse-p { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: baseline;
    padding: 13px 0; border-top: 1px solid var(--linie); }
  .achse-p:last-child { border-bottom: 1px solid var(--linie); }
  .achse-p::before { display: none; }
  .achse-p { padding-top: 13px; }
  .achse-j { margin-bottom: 0; }
}

/* ===== Talk-Karten ===== */
.talks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.talk { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px;
  padding: 24px 22px; display: flex; flex-direction: column; transition: border-color .16s; }
.talk:hover { border-color: var(--tief); }
.talk-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.dauer { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600;
  color: var(--tief); background: var(--nebel); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.talk h3 { margin: 14px 0 10px; }
.talk p { font-size: 0.94rem; flex: 1; }
.talk-fuss { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--linie);
  font-size: 0.86rem; color: var(--tinte-3); }

/* ===== Evidenzmarke, familienweit einheitlich ===== */
.ev { display: inline-flex; align-items: center; gap: 6px; font-size: 0.775rem; font-weight: 600;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.ev.belegt   { background: #DDEFE5; color: #14563A; }
.ev.frueh    { background: #FAECD2; color: #7A4E0B; }
.ev.nichts   { background: #F3E2E6; color: #7A2E44; }

/* ===== Themenfelder ===== */
.felder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--linie); border: 1px solid var(--linie); border-radius: 10px;
  overflow: hidden; margin-top: 42px; }
.feld { background: var(--flaeche); padding: 24px 22px; }
.feld-n { font-size: 0.8rem; font-weight: 600; color: var(--bernstein); }
.feld h3 { margin: 8px 0 9px; }
.feld p { font-size: 0.9rem; }
.feld ul { list-style: none; margin-top: 13px; display: grid; gap: 6px; }
.feld li { font-size: 0.85rem; color: var(--tinte-3); padding-left: 14px; position: relative; }
.feld li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 1.5px;
  background: var(--linie); }

/* ===== Tagesablauf ===== */
.tag { margin-top: 36px; display: grid; gap: 0; }
.tag-z { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.16); }
.tag-z:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.tag-u { font-size: 0.87rem; font-weight: 600; color: var(--bernstein-f); }
.tag-x { font-size: 0.97rem; }
.fl-t .tag-x { color: #CDDADD; }
.fl-t .tag-x b { color: #fff; }

/* ===== Zitat ===== */
.zitat { border-left: 3px solid var(--bernstein-f); padding-left: 24px; }
.zitat p { font-size: clamp(1.25rem, 2.3vw, 1.7rem); line-height: 1.34; color: var(--tinte);
  max-width: 28ch; font-weight: 500; letter-spacing: -0.018em; }
.zitat cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.87rem; color: var(--tinte-3); }
.fl-t .zitat p { color: #fff; }

/* ===== Rechnung / Zahlen ===== */
.zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--linie);
  border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; margin-top: 40px; }
.zahl { background: var(--flaeche); padding: 28px 24px; }
.zahl-n { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1; color: var(--tief); }
.zahl-t { font-size: 0.92rem; margin-top: 14px; }
.zahl-q { font-size: 0.79rem; color: var(--tinte-3); margin-top: 11px; }

/* ===== Ehrlichkeitsliste ===== */
.ehrlich { list-style: none; margin-top: 34px; }
.ehrlich li { display: grid; grid-template-columns: 240px 1fr; gap: 26px; padding: 18px 0;
  border-top: 1px solid var(--linie); align-items: baseline; }
.ehrlich li:last-child { border-bottom: 1px solid var(--linie); }
.ehrlich b { font-size: 0.99rem; color: var(--tinte); font-weight: 600; }
.ehrlich span { font-size: 0.93rem; color: var(--tinte-2); }

/* ===== Preise ===== */
.tarife { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: start; }
.tarif { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px;
  padding: 30px 26px; display: flex; flex-direction: column; height: 100%; }
.tarif.hebt { border: 2px solid var(--tief); }
.tarif-n { font-size: 0.83rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tinte-3); }
.tarif h3 { margin: 8px 0 6px; }
.tarif .fuer { font-size: 0.88rem; color: var(--tinte-3); min-height: 2.6em; }
.tarif .preis { font-size: 2.3rem; font-weight: 500; letter-spacing: -.035em; margin: 18px 0 2px; line-height: 1; color: var(--tief); }
.tarif .je { font-size: 0.84rem; color: var(--tinte-3); }
.tarif ul { list-style: none; display: grid; gap: 10px; margin: 22px 0 26px; }
.tarif li { font-size: 0.89rem; padding-left: 22px; position: relative; color: var(--tinte-2); }
.tarif li::before { content: ""; position: absolute; left: 1px; top: .4em; width: 10px; height: 5px;
  border-left: 2px solid var(--gruen); border-bottom: 2px solid var(--gruen); transform: rotate(-45deg); }
.tarif .knopf { margin-top: auto; justify-content: center; }

/* ===== Hinweisband ===== */
.arbeitsstand { background: var(--nebel); border-bottom: 1px solid var(--linie);
  font-size: 0.8rem; color: var(--tinte-2); padding: 9px 26px; text-align: center; line-height: 1.5; }
.arbeitsstand strong { color: var(--tinte); }

/* ===== Fuß ===== */
.fuss { background: var(--tief); color: #A9BCC0; padding: 58px 0 30px; }
.fuss a { color: #A9BCC0; } .fuss a:hover { color: #fff; }
.fuss-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.fuss h5 { font-size: 0.8rem; letter-spacing: .11em; text-transform: uppercase; color: #8AA2AA;
  font-weight: 600; margin-bottom: 14px; }
.fuss ul { list-style: none; display: grid; gap: 9px; font-size: 0.9rem; }
.fuss-unten { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; font-size: 0.83rem; color: #8AA2AA; }

/* ===== Reaktion ===== */
@media (max-width: 1040px) {
  .zwei { grid-template-columns: 1fr; gap: 42px; }
  .felder { grid-template-columns: repeat(2, 1fr); }
  .talks { grid-template-columns: 1fr; }
  .tarife { grid-template-columns: 1fr; }
  .fuss-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .kopf-nav { display: none; }
  .nav-schalter { display: block; }
  .kopf-nav.offen { display: grid; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--grund); border-bottom: 1px solid var(--linie); padding: 16px 26px 22px; gap: 0; }
  .kopf-nav.offen a { padding: 11px 0; border-bottom: 1px solid var(--linie); }
}
@media (max-width: 720px) {
  .r2, .r3, .r4 { grid-template-columns: 1fr; }
  .felder { grid-template-columns: 1fr; }
  .zahlen { grid-template-columns: 1fr; }
  .ehrlich li { grid-template-columns: 1fr; gap: 6px; }
  .tag-z { grid-template-columns: 92px 1fr; gap: 12px; }
  .tag-u { overflow-wrap: anywhere; }
  .tag-z .ev { grid-column: 2; justify-self: start; }
  .fuss-in { grid-template-columns: 1fr; gap: 28px; }
  .leiste { height: 52px; }
}
@media (max-width: 430px) {
  .bahn { padding: 0 20px; }
  .kopf-in { padding: 12px 20px; }
  .arbeitsstand { padding: 9px 20px; }
  .leiste-jetzt { font-size: .76rem; padding: 4px 9px; }
}
