/* =========================================================
   KI-Beratung – Stylesheet
   Eine Quelle: dieselben Tokens wie das Design-System in Claude
   (https://claude.ai/artifact/3xYJnDCpRyv6WUAPV5DuA9).
   Farben aus Nippon Colors · Schrift Geist · Linien statt Schatten.

   Aufbau
    1  Tokens             9  Ablauf, Tagline, Farbflächen
    2  Grundlagen        10  Rechner
    3  Textstile         11  Fragen
    4  Navigation        12  Formulare und Terminbuchung
    5  Knöpfe, Abzeichen 13  Kontakt und Ansprechpartner
    6  Hero              14  Preise
    7  Unterseiten       15  Brief, Danke, Buchungsleiste
    8  Karten, Lösungen  16  Bewegung, Fußzeile, Hilfsklassen
   ========================================================= */

@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* ---------- 1 Tokens ---------- */
:root {
  /* Flächen */
  --bg: #F7F9FA;            /* kühles Weiß, leicht ins Blau: Seitenhintergrund */
  --surface: #FFFFFF;       /* Karten, Formulare */
  --surface-2: #EEF3F5;     /* Hauch Ai: leichte Flächen */
  --band: #E6EEF1;          /* aufgehelltes Ai: Farbfläche */
  --ai-tief: #0D3B45;       /* tiefes Ai: dunkle Blöcke */
  --line: #E1E8EB;
  --line-strong: #CBD5DA;
  --line-input: #8F8F8F;    /* 3,3 : 1 auf Weiß, Pflicht für Eingabefelder */

  /* Text */
  --text: #1C1C1C;          /* Sumi 墨 */
  --text-2: #434343;        /* Keshizumi 消炭 */
  --muted: #56646A;         /* 5,9 : 1 auf dem Grund */

  /* Handlung und Bedeutung */
  --primary: #1C1C1C;       /* Hauptknöpfe */
  --primary-hover: #000000;
  --accent: #0D5661;        /* Ai 藍 (Weimar-Blau): die eine Markenfarbe */
  --accent-hover: #0A434C;
  --accent-soft: #DCEBEE;   /* aufgehelltes Ai */
  --trust: #0D5661;         /* Ai 藍: Links, Nummern, Hinweise */
  --ok: #2D6D4B;            /* Tokusa 木賊 */
  --ok-soft: #E3EEE7;
  --error: #B54434;         /* Benikaba 紅樺 */

  --shadow-window: 0 24px 48px -24px rgba(28, 28, 28, 0.18);

  /* Abstände */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* Radien */
  --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  /* Bewegung */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* ---------- 2 Grundlagen ---------- */
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; } /* Farbflächen über die volle Breite ohne seitliches Scrollen */
body {
  margin: 0; padding-top: var(--s-900); background: transparent; color: var(--text-2); /* Grundfarbe trägt html, damit das feste Hintergrundbild durchscheint */
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 24px; font-weight: 400; font-style: normal;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--text); margin: 0; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 480px) { h1, h2 { hyphens: auto; } } /* nur lange Wörter in großen Überschriften am Handy */
p, li, dd, td, summary, label { text-wrap: pretty; }
p { margin: 0 0 var(--s-200); }
em, i { font-style: normal; }
a { color: var(--text); text-underline-offset: 4px; text-decoration-color: var(--line-strong); transition: text-decoration-color 300ms var(--ease); }
a:hover { text-decoration-color: var(--text); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: var(--r-md); }
::selection { background: var(--accent); color: #FFFFFF; }

main, footer { max-width: 1080px; margin: 0 auto; padding: 0 var(--s-200); }
section { padding: var(--s-700) 0; scroll-margin-top: var(--s-900); }
@media (min-width: 768px) {
  main, footer { padding: 0 var(--s-300); }
  section { padding: var(--s-800) 0; }
}
/* Abschnitte durch eine feine Linie getrennt (nicht an Farbflächen) */
main > section + section:not(.cta):not(.tagline) { border-top: 1px solid var(--line); }

.skip { position: absolute; left: -9999px; top: var(--s-200); z-index: 100; }
.skip:focus { left: var(--s-200); background: var(--text); color: var(--bg); padding: var(--s-75) var(--s-100); border-radius: var(--r-lg); }

/* ---------- 3 Textstile ---------- */
/* Mobil eine Stufe kleiner, damit bei 390 px nichts überläuft */
h1 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.03em; }
h2 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: var(--s-200); }
h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: var(--s-75); }
strong { color: var(--text); font-weight: 600; }
.small { font-size: 14px; line-height: 20px; color: var(--muted); }
.tag { display: block; margin: 0 0 var(--s-75); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--trust); }
@media (min-width: 768px) {
  h1 { font-size: 60px; line-height: 60px; }
  h2 { font-size: 36px; line-height: 40px; }
  .page-head h1 { font-size: 48px; line-height: 48px; }
}
section > p:not(.small):not(.tag), .page-head > p:not(.crumb) { max-width: 680px; color: var(--muted); }

/* ---------- 4 Navigation ---------- */
.nav {
  /* zentriert ohne transform: ein transform würde das Vollbild-Menü in der Leiste festhalten */
  position: fixed; z-index: 50; top: var(--s-100); left: 0; right: 0; margin: 0 auto;
  width: calc(100% - var(--s-400)); max-width: 1032px; padding: var(--s-75);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
}
.nav::before { /* Glasfläche auf einem Pseudo-Element, damit das Mobil-Menü am Bildschirm hängt */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:  rgba(247, 249, 250, 0.85); border: 1px solid var(--line); border-radius: var(--r-xl);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.logo { position: relative; z-index: 2; padding: var(--s-75) var(--s-100); font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text); text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: var(--s-50); }
.nav nav a { padding: var(--s-75) var(--s-100); border-radius: var(--r-lg); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color 300ms var(--ease), background-color 300ms var(--ease); }
.nav nav a:hover, .nav nav a[aria-current=page] { color: var(--text); background: var(--surface-2); }
.nav nav a.btn { margin-left: var(--s-75); background: var(--primary); color: #FFFFFF; }
.nav nav a.btn:hover { background: var(--primary-hover); color: #FFFFFF; }

/* Menü-Knopf: zwei Linien, die sich zu einem X drehen */
.nav-toggle { display: none; position: relative; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: var(--r-lg); background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle span { position: absolute; left: 12px; width: 16px; height: 2px; border-radius: var(--r-full); background: currentColor; transition: transform 500ms var(--ease); }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: var(--s-75); padding: var(--s-900) var(--s-300) var(--s-300);
    background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    opacity: 0; visibility: hidden; transition: opacity 500ms var(--ease), visibility 0s linear 500ms;
  }
  .nav nav.open { opacity: 1; visibility: visible; transition: opacity 500ms var(--ease), visibility 0s; }
  .nav nav a { padding: var(--s-100) var(--s-200); font-size: 24px; line-height: 32px; font-weight: 600; color: var(--text);
    opacity: 0; transform: translateY(var(--s-300)); transition: opacity 500ms var(--ease), transform 500ms var(--ease), background-color 300ms var(--ease); }
  .nav nav.open a { opacity: 1; transform: none; }
  .nav nav a.btn { margin: var(--s-300) 0 0; text-align: center; font-size: 18px; line-height: 28px; }
}
body.menu-open { overflow: hidden; }

/* ---------- 5 Knöpfe und Abzeichen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100); border: 1px solid transparent; border-radius: var(--r-lg);
  background: var(--primary); color: #FFFFFF; font: inherit; font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.btn:hover { background: var(--primary-hover); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: progress; }
/* Bestätigung nach dem Absenden: grün, kurzes Aufploppen */
.btn.fertig, .btn.fertig:disabled { opacity: 1; background: var(--ok); border-color: var(--ok); color: #FFFFFF; cursor: default; animation: geschafft 500ms var(--ease); }
@keyframes geschafft { 0% { transform: scale(0.96); } 60% { transform: scale(1.02); } 100% { transform: scale(1); } }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text); }
.btn-gross { padding: var(--s-100) var(--s-300); font-size: 18px; line-height: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-top: var(--s-300); }

.badge { display: inline-flex; align-items: center; gap: var(--s-75); margin: 0 0 var(--s-300); padding: var(--s-50) var(--s-100);
  border: 1px solid var(--line-strong); border-radius: var(--r-full); background: var(--surface); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2); }
.badge-dot { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--accent); }

/* ---------- 6 Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--s-400); column-gap: var(--s-600); align-items: center; padding-top: var(--s-400); }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) 380px; column-gap: var(--s-700); align-items: start; padding-top: var(--s-700); }
  .hero-kopf { grid-column: 1 / -1; }
}
/* Überschrift über die volle Breite, einfarbig */
.hero-kopf h1 { margin-bottom: 0; font-size: 48px; line-height: 48px; letter-spacing: -0.035em; color: var(--text); }
@media (min-width: 768px) { .hero-kopf h1 { font-size: 60px; line-height: 60px; } }
@media (min-width: 960px) { .hero-kopf h1 { font-size: 72px; line-height: 72px; } }
.hero .lead { max-width: 560px; margin: 0; font-size: 18px; line-height: 28px; color: var(--muted); }
.naechster { margin: var(--s-200) 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.naechster a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* Faktenleiste */
.fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-200) var(--s-300); margin: var(--s-400) 0 0; padding-top: var(--s-300); border-top: 1px solid var(--line); }
.fakten dt { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fakten dd { margin: var(--s-50) 0 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }



/* ---------- 7 Unterseiten ---------- */
.page-head { padding: var(--s-400) 0 var(--s-200); }
.page-head h1 { margin-bottom: var(--s-200); }
.page-head > p:last-child { margin-bottom: 0; }
.crumb { margin-bottom: var(--s-200); font-size: 14px; line-height: 20px; color: var(--muted); }
.crumb a { color: var(--muted); }
.cta { margin: var(--s-700) 0; padding: var(--s-600) var(--s-300); text-align: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); }
.cta p { margin-left: auto; margin-right: auto; }
.cta .btn { margin-top: var(--s-75); }

/* Kein Trennstrich direkt unter Kopf, Hero und Farbflächen */
.page-head + section { padding-top: var(--s-500); }
.page-head + section, .hero + section, .tagline + section, .band + section, .tagline, .band { border-top: 0 !important; }

/* ---------- 8 Karten und Lösungen ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-200); margin-top: var(--s-400); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s-300); }
.card > .tag + h3, .card > h3 + p { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { margin: 0 0 var(--s-200); padding-left: var(--s-200); }
.card li { margin-bottom: var(--s-75); }
.section-link { margin-top: var(--s-400); font-size: 14px; line-height: 20px; font-weight: 600; }
.section-link a { color: var(--trust); }

/* Lösungs-Kacheln: ganze Kachel ist ein Link */
.teaser { display: flex; flex-direction: column; color: var(--text-2); text-decoration: none;
  transition: transform 500ms var(--ease), border-color 300ms var(--ease), background-color 300ms var(--ease); }
.teaser:hover { border-color: var(--text); background: var(--surface-2); }
.teaser:active { transform: scale(0.98); }
/* Icon pro Lösung (Phosphor, MIT-Lizenz) */
.icon { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; width: 40px; height: 40px; margin-bottom: var(--s-200);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--trust); }
.icon svg { display: block; width: 20px; height: 20px; }
.teaser:hover .icon { border-color: var(--line-strong); }
.teaser p { margin-bottom: 0; }
.teaser .mehr { margin-top: auto; padding-top: var(--s-300); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--trust); }
.teaser .mini { margin-top: var(--s-200); transition: border-color 300ms var(--ease); }
.teaser:hover .mini { border-color: var(--line-strong); }

/* Bento-Raster: oben eine breite und eine schmale Kachel, unten drei gleiche */
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento > * { grid-column: span 2; }
  .bento > :first-child { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-400); align-content: start; padding: var(--s-400); }
  .bento > :first-child > :not(.mini) { grid-column: 1; }
  .bento > :first-child h3 { font-size: 30px; line-height: 36px; letter-spacing: -0.02em; }
  .bento > :first-child p { max-width: 360px; font-size: 18px; line-height: 28px; }
  .bento > :first-child .mini { grid-column: 2; grid-row: 1 / span 5; align-self: start; margin-top: 0; }
  .bento > :first-child .mehr { align-self: end; }
}
.bento > :first-child .mini p { max-width: 90%; font-size: 12px; line-height: 16px; }

/* App-Vorschauen: zeigen, was eine Lösung tut (Beispielinhalte) */
.mini { display: grid; gap: var(--s-75); margin-top: var(--s-200); padding: var(--s-100); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); font-size: 12px; line-height: 16px; color: var(--text-2); }
.mini p { margin: 0; }
.mini-kopf { display: flex; align-items: center; gap: var(--s-75); font-weight: 600; color: var(--text); }
.mini-zeit { margin-left: auto; color: var(--muted); font-weight: 400; white-space: nowrap; }
.mini-zeit--ok { color: var(--ok); font-weight: 600; }
.mini-punkt { flex: none; width: 6px; height: 6px; border-radius: var(--r-full); background: var(--trust); }
.mini-punkt--neu { background: var(--accent); }
.mini-blase { justify-self: start; max-width: 90%; padding: var(--s-75) var(--s-100); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.mini-blase--antwort { justify-self: end; background: var(--text); border-color: var(--text); color: #FFFFFF; }
.mini-pfeil { color: var(--muted); }
.mini-dok { display: grid; gap: var(--s-50); padding: var(--s-75) var(--s-100); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.mini-dok-titel { margin-bottom: var(--s-25); font-weight: 600; color: var(--text); }
.mini-zeile { display: flex; align-items: center; gap: var(--s-100); }
.mini-zeile span { flex: 1; }
.mini-balken { display: block; width: 48px; height: 8px; border-radius: var(--r-full); background: var(--line-strong); }
.mini-balken--kurz { width: 32px; }
.mini-knopf { padding: var(--s-75); text-align: center; background: var(--primary); color: #FFFFFF; border-radius: var(--r-md); font-weight: 600; }
.mini-sterne { color: var(--accent); letter-spacing: 2px; }
.mini-chip { display: inline-flex; align-items: center; justify-self: start; padding: var(--s-25) var(--s-75); border: 1px solid var(--line-strong); border-radius: var(--r-full);
  background: var(--surface); font-weight: 600; color: var(--text-2); white-space: nowrap; }
.mini-chip--ok { color: var(--ok); border-color: var(--ok-soft); background: var(--ok-soft); }
.mini-chip--akzent { color: #FFFFFF; border-color: var(--accent); background: var(--accent); }
.mini-chip--info { color: var(--trust); border-color: var(--line-strong); }
.mini-slot { display: flex; align-items: center; justify-content: space-between; padding: var(--s-75) var(--s-100); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.mini-slot--leer { color: var(--muted); }
.mini-hinweis { display: flex; align-items: center; gap: var(--s-75); color: var(--muted); }
.mini-mail { display: flex; align-items: center; gap: var(--s-75); min-width: 0; padding: var(--s-75) var(--s-100); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.mini-mail > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.mini-regel { padding: var(--s-75) var(--s-100); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.mini-regel--ja { color: var(--ok); }
.mini-regel--nein { color: var(--error); }

/* Pakete (Lösungen-Seite) */
.paket { display: flex; flex-direction: column; scroll-margin-top: var(--s-900); }
.paket .mini { margin: var(--s-75) 0 0; }
.paket .btn { margin-top: auto; align-self: flex-start; }
.facts { list-style: none; margin: var(--s-200) 0 var(--s-300) !important; padding: var(--s-200) !important; font-size: 14px; line-height: 20px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); }
.facts li { margin: 0; padding: var(--s-25) 0; }
.eigenes { margin-top: var(--s-200); }

/* Hinweise und Zusatzkarten unter Rastern kleben nicht an den Karten */
section > .grid + p.small, section > .preis-grid + p.small, section > .table-wrap + p.small,
section > .steps + p.small, section > .card + p.small { margin-top: var(--s-300); }
section > .grid + .card { margin-top: var(--s-200); }
main > section > :last-child { margin-bottom: 0; }

/* Tabellen */
.table-wrap { overflow-x: auto; margin-top: var(--s-400); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
th { padding: var(--s-200) var(--s-300); text-align: left; font-weight: 500; color: var(--muted); background: var(--surface-2); }
td { padding: var(--s-200) var(--s-300); vertical-align: top; border-top: 1px solid var(--line); }
.vergleich td:first-child { width: 45%; color: var(--muted); }
.vergleich td:last-child { color: var(--text); }
@media (max-width: 559px) {
  .vergleich thead { display: none; }
  .vergleich tr { display: block; padding: var(--s-200); }
  .vergleich tr + tr { border-top: 1px solid var(--line); }
  .vergleich td { display: block; width: auto !important; padding: var(--s-50) 0; border: 0; }
  .vergleich td:first-child::before { content: "Kennst du: "; font-weight: 600; }
  .vergleich td:last-child::before { content: "Bei mir: "; font-weight: 600; }
}

/* ---------- 9 Ablauf, Tagline, Farbflächen ---------- */
.steps { list-style: none; counter-reset: schritt; display: grid; gap: 0; margin: var(--s-400) 0 0; padding: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.steps li { counter-increment: schritt; position: relative; display: flex; flex-direction: column; padding: var(--s-300); }
.steps li + li { border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(schritt); display: block; margin-bottom: var(--s-200); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--trust); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 18px; line-height: 28px; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 768px) {
  .steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .steps li + li { border-top: 0; border-left: 1px solid var(--line); }
  /* mehr als 4 Schritte: 2 Reihen à 3 */
  .steps:has(li:nth-child(5)) { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps:has(li:nth-child(5)) li:nth-child(3n+1) { border-left: 0; }
  .steps:has(li:nth-child(5)) li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
/* „Dein Schutz“: die zweite Hälfte als Sicherheit, nicht als Rechnung */
.schritt-schutz { align-self: flex-start; margin-top: var(--s-200); padding: var(--s-25) var(--s-75); border: 1px solid var(--accent); border-radius: var(--r-full);
  color: var(--accent); font-size: 12px; line-height: 16px; font-weight: 600; }

/* Tagline: Wort für Wort, auf Schwarz */
.tagline { padding: var(--s-900) 0; }
.tagline p { max-width: 680px; margin: 0; font-size: 30px; line-height: 36px; font-weight: 600; text-wrap: balance; }
section.tagline > p:not(.small) { color: #FFFFFF; }
@media (min-width: 768px) { .tagline p { font-size: 48px; line-height: 48px; } }
.js .tagline .w { opacity: 0.4; transition: opacity 500ms var(--ease); } /* auf Schwarz noch 5 : 1 */
.js .tagline .w.on { opacity: 1; }

/* Farbflächen über die volle Breite */
.tagline, .band { position: relative; isolation: isolate; }
.tagline::before, .band::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; z-index: -1; }
.tagline::before { background: var(--primary); }
.band::before { background: var(--band); }

/* ---------- 10 Rechner ---------- */
.calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-200); margin: var(--s-400) 0 var(--s-300); }
.calc-result { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-200); margin-bottom: var(--s-300); padding: var(--s-300);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); }
.calc-result div { display: flex; flex-direction: column; gap: var(--s-50); font-size: 14px; line-height: 20px; color: var(--muted); }
.big { font-size: 36px; line-height: 40px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
input[type=range] { height: 40px; padding: 0; background: transparent; border: 0; accent-color: var(--accent); }
.rechner-fazit { margin: 0 0 var(--s-75); font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text); }
#rechner p.small { margin-bottom: var(--s-300); }
#rechner p:last-child { margin-bottom: 0; }

/* ---------- 11 Fragen: eine Liste mit Trennlinien ---------- */
#faq details { margin-top: -1px; background: var(--surface); border: 1px solid var(--line); border-radius: 0; transition: background-color 300ms var(--ease); }
#faq h2 + details, #faq details:first-of-type { margin-top: var(--s-400); border-radius: var(--r-xl) var(--r-xl) 0 0; }
#faq details:last-of-type { border-radius: 0 0 var(--r-xl) var(--r-xl); }
#faq details:hover, #faq details[open] { background: var(--surface-2); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-200);
  padding: var(--s-200) var(--s-300); font-size: 16px; line-height: 24px; font-weight: 500; color: var(--text); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; line-height: 28px; color: var(--muted); transition: transform 500ms var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding: 0 var(--s-300) var(--s-200); color: var(--muted); }

blockquote { margin: var(--s-200) 0 0; padding: var(--s-300); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); color: var(--text); font-size: 18px; line-height: 28px; }
cite { display: block; margin-top: var(--s-100); font-style: normal; font-size: 14px; line-height: 20px; color: var(--muted); }

/* ---------- 12 Formulare und Terminbuchung ---------- */
label { display: block; margin-bottom: var(--s-200); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
input, select, textarea {
  display: block; width: 100%; margin-top: var(--s-75); padding: var(--s-75) var(--s-100);
  font: inherit; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--text);
  background: #FFFFFF; border: 1px solid var(--line-input); border-radius: var(--r-lg);
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: var(--text-2); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-color: var(--text); }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--error); }
textarea { resize: vertical; min-height: 120px; }
.check { display: flex; gap: var(--s-100); align-items: flex-start; font-weight: 400; color: var(--muted); }
.check input { flex: none; width: 20px; height: 20px; margin: var(--s-25) 0 0; padding: 0; accent-color: var(--text); }
.err { display: block; margin-top: var(--s-50); font-size: 14px; line-height: 20px; font-weight: 400; color: var(--error); }
.err:empty { display: none; }
.note { margin-bottom: var(--s-200); padding: var(--s-100) var(--s-200); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); font-size: 14px; line-height: 20px; color: var(--text-2); }
#form-status { margin-top: var(--s-200); font-size: 14px; line-height: 20px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* Buchungsformular in einem Rahmen */
#kontakt-form { padding: var(--s-300); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
@media (min-width: 768px) { #kontakt-form { padding: var(--s-400); } }
#kontakt-form .btn[type=submit] { width: 100%; margin-top: 0; }
.schritt { min-width: 0; margin: 0 0 var(--s-400); padding: 0; border: 0; }
.schritt legend { display: flex; align-items: center; gap: var(--s-100); margin-bottom: var(--s-200); padding: 0; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--text); }
.schritt-nr { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2); color: var(--trust); font-size: 14px; line-height: 20px; font-weight: 600; }
.tage { display: flex; gap: var(--s-75); overflow-x: auto; margin: 0 calc(-1 * var(--s-50)); padding: var(--s-50) var(--s-50) var(--s-100); scrollbar-width: thin; }
.zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: var(--s-75); margin-top: var(--s-200); }
.chip { position: relative; display: block; margin: 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: var(--s-75) var(--s-100);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); color: var(--text); font-size: 16px; line-height: 24px; font-weight: 500;
  font-variant-numeric: tabular-nums; transition: border-color 300ms var(--ease), background-color 300ms var(--ease), transform 300ms var(--ease); }
.chip-tag { flex: none; }
.chip-tag span { min-width: 80px; white-space: nowrap; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--muted); }
.chip-tag b { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text); }
.chip:hover span { border-color: var(--text); }
.chip:active span { transform: scale(0.98); }
.chip input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.chip-tag input:checked + span, .chip-tag input:checked + span b { color: #FFFFFF; }
.skeleton-chip { flex: none; width: 76px; height: 64px; border-radius: var(--r-lg); background: var(--surface-2); animation: puls 1.4s var(--ease) infinite alternate; }
@keyframes puls { to { opacity: 0.5; } }
.link-btn { margin-top: var(--s-200); padding: 0; border: 0; background: none; font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text);
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.termin-hinweis { margin: 0 0 var(--s-100); }
.mehr-angaben { margin-top: var(--s-75); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.mehr-angaben summary { padding: var(--s-100) var(--s-200); font-size: 14px; line-height: 20px; font-weight: 600; }
.mehr-angaben[open] { padding-bottom: var(--s-75); }
.mehr-angaben label { padding: 0 var(--s-200); }
.absenden { display: grid; gap: var(--s-100); }
.absenden .small, .absenden p { margin: 0; }
.gewaehlt { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text); }
.gewaehlt:empty { display: none; }

/* ---------- 13 Kontakt und Ansprechpartner ---------- */
.kontakt-grid { display: grid; gap: var(--s-400); margin-top: var(--s-400); align-items: start; }
.kontakt-grid > * { min-width: 0; }
@media (min-width: 900px) {
  .kontakt-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-700); }
  .kontakt-info { position: sticky; top: var(--s-900); }
}
.kontakt-info { padding: var(--s-300); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.gastgeber { display: flex; gap: var(--s-200); align-items: center; }
.avatar { flex: none; display: flex; align-items: flex-end; justify-content: center; width: 64px; height: 64px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-full); background: var(--surface-2); color: var(--trust); }
.avatar svg { width: 52px; height: 52px; }
.gastgeber h3 { margin: 0; font-size: 20px; line-height: 28px; }
.gastgeber .small { margin: 0; }
.gastgeber-label { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); }
.gastgeber-fakten { display: grid; grid-template-columns: repeat(3, 1fr); margin: var(--s-300) 0; padding: var(--s-200) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gastgeber-fakten div { padding: 0 var(--s-75); }
.gastgeber-fakten div + div { border-left: 1px solid var(--line); }
.gastgeber-fakten dt { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--text); }
.gastgeber-fakten dd { margin: 0; font-size: 12px; line-height: 16px; color: var(--muted); }
.check-list { list-style: none; display: grid; gap: var(--s-200); margin: var(--s-200) 0 0 !important; padding: 0 !important; }
.check-list li { position: relative; margin: 0; padding-left: var(--s-400); }
.check-list li::before { content: ""; position: absolute; left: 0; top: var(--s-50); width: 16px; height: 16px; border-radius: var(--r-full); background: var(--ok-soft); border: 1px solid var(--ok-soft); }
.check-list li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 6px; height: 4px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.check-list strong { display: block; font-size: 16px; line-height: 24px; font-weight: 500; }
.check-list span { display: block; font-size: 14px; line-height: 20px; color: var(--muted); }

/* ---------- 14 Preise ---------- */
/* Umschalter für die Datenschutz-Stufe */
.stufen-wahl { min-width: 0; margin: var(--s-400) 0 0; padding: 0; border: 0; }
.stufen-wahl legend { margin-bottom: var(--s-100); padding: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.segment { display: inline-grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-50); max-width: 100%; padding: var(--s-50);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); }
.segment label { position: relative; margin: 0; cursor: pointer; }
.segment input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segment span { display: flex; flex-direction: column; align-items: center; padding: var(--s-75) var(--s-200); border-radius: var(--r-lg);
  font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-2); white-space: nowrap;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), transform 300ms var(--ease); }
.segment small { font-size: 12px; line-height: 16px; font-weight: 400; color: var(--muted); }
.segment label:hover span { color: var(--text); }
.segment label:active span { transform: scale(0.98); }
.segment input:checked + span { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(28, 28, 28, 0.08); outline: 1px solid var(--line-strong); }
.segment input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
@media (max-width: 480px) { .segment { display: grid; width: 100%; } .segment span { padding: var(--s-75) var(--s-50); } }

/* Preis-Karten: große Zahl, ein Satz, ganze Karte anklickbar */
.preis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-200); margin-top: var(--s-400); }
.preis-karte { position: relative; display: flex; flex-direction: column; padding: var(--s-400) var(--s-300); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  transition: border-color 300ms var(--ease), transform 500ms var(--ease), background-color 300ms var(--ease); }
.preis-karte--hervor { border: 1px solid var(--text); }
.preis-karte:hover { border-color: var(--text); transform: translateY(-4px); background: var(--surface); }
.preis-karte:active { transform: scale(0.99); }
.preis-karte:focus-within { border-color: var(--text); }
.preis-karte:has(.preis-link:focus-visible) { outline: 2px solid var(--text); outline-offset: 2px; }
.preis-karte h3 { margin: 0; font-size: 18px; line-height: 28px; font-weight: 500; color: var(--text-2); }
.preis { margin: var(--s-75) 0 var(--s-200); font-size: 36px; line-height: 40px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.preis-ab, .preis-einheit { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--muted); }
.preis-text { margin: 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.preis-link { margin-top: auto; padding-top: var(--s-300); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--trust); text-decoration: none; transition: transform 300ms var(--ease); }
.preis-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.preis-link:hover { text-decoration: underline; }
.preis-link:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; border-radius: var(--r-md); }
.preis-karte:hover .preis-link { transform: translateX(var(--s-50)); }
.preis-badge { position: absolute; top: -10px; left: var(--s-300); margin: 0; padding: var(--s-25) var(--s-75); border-radius: var(--r-full);
  background: var(--accent); color: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 600; } /* sitzt auf der Oberkante */
/* Preis und Text wechseln weich */
.preis-wert, [data-text] { display: inline-block; transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
[data-text] { display: block; }
.wechselt { opacity: 0; transform: translateY(var(--s-50)); }

/* Hälfte und Hälfte als ruhiger Balken */
.zahlung { margin-top: var(--s-600); }
.zahlung h3 { margin-bottom: var(--s-200); }
.zahlung-balken { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-75); }
.zahlung-teil { display: flex; flex-direction: column; gap: var(--s-25); padding: var(--s-300); border-radius: var(--r-xl); background: var(--primary); color: #FFFFFF; font-size: 14px; line-height: 20px; font-weight: 500; }
.zahlung-teil--zwei { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); }
.zahlung-prozent { font-size: 24px; line-height: 32px; font-weight: 600; }
.preis-hinweise { list-style: none; display: grid; gap: var(--s-100); margin: var(--s-400) 0 var(--s-200); padding: 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.preis-hinweise li { position: relative; padding-left: var(--s-300); }
.preis-hinweise li::before { content: ""; position: absolute; left: var(--s-50); top: var(--s-75); width: 6px; height: 6px; border-radius: var(--r-full); background: var(--muted); }

/* ---------- 15 Brief, Danke, Buchungsleiste ---------- */

.danke-termin { max-width: 560px; margin: var(--s-300) 0; }
.danke-datum { margin: var(--s-50) 0 var(--s-100); font-size: 24px; line-height: 32px; font-weight: 600; color: var(--text); }

.buchen-leiste { display: none; }
@media (max-width: 767px) {
  body.hat-leiste { padding-bottom: var(--s-900); }
  .buchen-leiste { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
    padding: var(--s-100) var(--s-200) calc(var(--s-100) + env(safe-area-inset-bottom, 0px)); background:  rgba(247, 249, 250, 0.96);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line);
    transition: transform 500ms var(--ease), opacity 500ms var(--ease); }
  .buchen-leiste b { display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text); }
  .buchen-leiste span { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
  .buchen-leiste.weg { transform: translateY(100%); opacity: 0; pointer-events: none; }
  body.menu-open .buchen-leiste { opacity: 0; pointer-events: none; }
}

/* ---------- 16 Bewegung, Fußzeile, Hilfsklassen ---------- */
footer { padding-top: var(--s-600); padding-bottom: var(--s-600); font-size: 14px; line-height: 20px; color: var(--muted); }
footer a { color: var(--muted); }

.js .reveal { opacity: 0; transform: translateY(var(--s-400)); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .js .reveal { transform: none; }
  .js .reveal.in { opacity: 1; }
  .js .tagline .w { opacity: 1; }
  .nav nav a, .teaser:hover, .preis-karte:hover, .preis-karte:active, .preis-karte:hover .preis-link { transform: none !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
tr.done { opacity: 0.5; }
.leer { text-align: center; padding: var(--s-600) var(--s-300); }

/* ---------- 17 Pixel-Feld im Hero ---------- */
/* Feines Raster hinter dem Hero. Kästchen leuchten unter der Maus auf und verblassen. */
.hero { position: relative; isolation: isolate; }
.hero > :not(.pixel-feld):not(.ascii-feld) { position: relative; }
.pixel-feld {
  position: absolute; z-index: -1; top: calc(-1 * var(--s-900)); height: calc(100% + var(--s-900) + var(--s-700)); left: 50%; width: 100vw; margin-left: -50vw;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
/* Am Computer steht in der rechten Spalte erst der Hebel, darunter die Live-Liste. Am Handy nur die Live-Liste. */
.hebel-platz { display: none; }
@media (min-width: 960px) {
  .hebel-platz { display: block; min-height: 200px; }
  .hero-seite { align-self: start; }
}

/* ---------- 18 Etiketten und Abschnitte der Startseite ---------- */
/* Etikett über jeder Überschrift (nach dem Vorbild AI COMMON): man weiß beim Scrollen immer, wo man ist */
.etikett { margin: 0 0 var(--s-200); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--trust); }
.hero-kopf .etikett, .tagline .etikett { margin-bottom: var(--s-300); }
.tagline .etikett { color: var(--accent-soft); }

/* Probleme in den Worten des Kunden, mit der Antwort daneben */
.probleme { list-style: none; margin: var(--s-400) 0 0; padding: 0; border-top: 1px solid var(--line); }
.probleme li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--s-200); row-gap: var(--s-50); padding: var(--s-300) 0; border-bottom: 1px solid var(--line); }
.probleme-nr { grid-row: span 2; font-size: 14px; line-height: 28px; font-weight: 600; color: var(--trust); font-variant-numeric: tabular-nums; }
.probleme-vorher { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--text); }
.probleme-nachher { margin: 0; color: var(--muted); }
.probleme-nachher::before { content: "→ "; color: var(--accent); }
@media (min-width: 768px) {
  .probleme li { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-300); align-items: baseline; }
  .probleme-nr { grid-row: auto; }
}


/* Auf einen Blick: Person, Preise und Ablauf als Bento-Raster */
.blick { display: grid; gap: var(--s-200); margin-top: var(--s-400); }
.blick .card { display: flex; flex-direction: column; }
.blick .card p { color: var(--muted); }
@media (min-width: 600px) {
  .blick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blick-person, .blick-preis, .blick-ablauf { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .blick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .blick-person { grid-column: span 2; grid-row: span 2; }
  .blick-preis { grid-column: span 2; }
  .blick-ablauf { grid-column: 1 / -1; }
}
.person-foto { display: block; width: 120px; aspect-ratio: 1; margin-bottom: var(--s-300); object-fit: cover; border: 1px solid var(--line); border-radius: var(--r-xl); }
.person-foto--platzhalter { display: flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--muted); font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; }
.blick-person h3 { font-size: 24px; line-height: 32px; }
.person-fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-200); margin: var(--s-100) 0 0; padding-top: var(--s-300); border-top: 1px solid var(--line); }
.person-fakten dt { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--text); }
.person-fakten dd { margin: 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.blick-zahl { margin: 0 0 var(--s-100); font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; color: var(--text) !important; font-variant-numeric: tabular-nums; }
.blick-preis .blick-zahl { font-size: 60px; line-height: 60px; letter-spacing: -0.03em; }
.blick-zahl .preis-ab { font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: 0; }
.blick .mehr { margin-top: auto; padding-top: var(--s-300); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--trust); text-decoration: none; }
.blick .mehr:hover { text-decoration: underline; }
/* Ablauf in der Kachel: ohne eigenen Rahmen */
.steps--kachel { margin: 0; border: 0; border-radius: 0; background: none; }
.steps--kachel li { padding: var(--s-200) 0; }
@media (min-width: 768px) {
  .steps--kachel li { padding: var(--s-100) var(--s-300); }
  .steps--kachel li:first-child { padding-left: 0; }
  .steps--kachel li:last-child { padding-right: 0; }
}

/* Live-Aufgabenliste im Hero (Idee von designeer.xyz): zeigt, was KI im Hintergrund erledigt */
.live { padding: var(--s-100); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-window); }
.live-kopf { display: flex; align-items: center; gap: var(--s-75); padding: var(--s-50) var(--s-75) var(--s-100); border-bottom: 1px solid var(--line); }
.live-punkt { flex: none; width: 8px; height: 8px; border-radius: var(--r-full); background: var(--ok); animation: puls 1.4s var(--ease) infinite alternate; }
.live-titel { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.live-beispiel { margin-left: auto; padding: var(--s-25) var(--s-75); border: 1px solid var(--line-strong); border-radius: var(--r-full); font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted); }
.live-zaehler { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-200); padding: var(--s-100) var(--s-75); font-size: 12px; line-height: 16px; color: var(--muted); }
.live-zaehler b { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.live-liste { list-style: none; display: grid; gap: var(--s-75); margin: 0; padding: 0; }
.live-eintrag { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; column-gap: var(--s-75); padding: var(--s-75) var(--s-100);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.live-eintrag.neu { opacity: 0; transform: translateY(calc(-1 * var(--s-75))); }
.live-eintrag.weg { opacity: 0; }
.live-zeichen { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ok); text-align: center; }
.live-eintrag.arbeitet .live-zeichen { color: var(--muted); animation: puls 0.6s var(--ease) infinite alternate; }
.live-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.live-text small { display: block; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--muted); }
.live-minuten { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ok); font-variant-numeric: tabular-nums; white-space: nowrap; }
.live-eintrag.arbeitet .live-minuten { color: var(--muted); font-weight: 400; }

/* ---------- 19 Feinschliff nach "20 Design Terms You Should Know" ---------- */
/* 1 Kerning: Abstände zwischen Buchstabenpaaren in großen Zeilen ausgleichen */
h1, h2, h3, .blick-zahl, .preis, .big { font-kerning: normal; text-rendering: optimizeLegibility; }

/* 4 Layout-Verschiebung: Platz freihalten, bevor Inhalte nachladen */
.naechster[hidden] { display: block; visibility: hidden; min-height: 20px; }
.live-liste { min-height: 248px; }

/* 8 Touch-Ziele: alles Antippbare mindestens 44 px hoch */
.btn { min-height: 44px; }
.nav-toggle { width: 44px; height: 44px; }
.nav-toggle span { left: 14px; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.section-link a, .naechster a, footer a, .crumb a, .absenden .small a, td a { display: inline-block; padding-block: 13px; margin-block: -13px; }
.logo { padding-block: 10px; }
.link-btn { margin-top: var(--s-50); padding-block: var(--s-100); }

/* 10 Herkunft: das Handy-Menü wächst aus dem Menü-Knopf heraus */
@media (max-width: 767px) {
  .nav nav { transform-origin: calc(100% - 40px) 40px; transform: scale(0.96);
    transition: opacity 500ms var(--ease), transform 500ms var(--ease), visibility 0s linear 500ms; }
  .nav nav.open { transform: none; transition: opacity 500ms var(--ease), transform 500ms var(--ease), visibility 0s; }
  /* 14 Stagger: Menüpunkte kommen nacheinander */
  .nav nav.open a:nth-child(2) { transition-delay: 60ms; }
  .nav nav.open a:nth-child(3) { transition-delay: 120ms; }
  .nav nav.open a:nth-child(4) { transition-delay: 180ms; }
  .nav nav.open a:nth-child(5) { transition-delay: 240ms; }
}

/* 14 Stagger: Kacheln und Zeilen erscheinen nacheinander, wenn ihr Abschnitt einblendet */
@keyframes hochkommen { from { opacity: 0; transform: translateY(var(--s-200)); } }
.js .reveal.in :is(.grid, .blick, .probleme, .preis-grid, .steps) > * { animation: hochkommen 600ms var(--ease) backwards; }
.js .reveal.in :is(.grid, .blick, .probleme, .preis-grid, .steps) > :nth-child(2) { animation-delay: 60ms; }
.js .reveal.in :is(.grid, .blick, .probleme, .preis-grid, .steps) > :nth-child(3) { animation-delay: 120ms; }
.js .reveal.in :is(.grid, .blick, .probleme, .preis-grid, .steps) > :nth-child(4) { animation-delay: 180ms; }
.js .reveal.in :is(.grid, .blick, .probleme, .preis-grid, .steps) > :nth-child(5) { animation-delay: 240ms; }
.js .reveal.in :is(.grid, .blick, .probleme, .preis-grid, .steps) > :nth-child(6) { animation-delay: 300ms; }

/* 13 Safe Area: Abstand zu Notch und Rundungen beim iPhone */
.nav { top: max(var(--s-100), env(safe-area-inset-top)); }
main, footer { padding-left: max(var(--s-200), env(safe-area-inset-left)); padding-right: max(var(--s-200), env(safe-area-inset-right)); }
@media (min-width: 768px) { main, footer { padding-left: max(var(--s-300), env(safe-area-inset-left)); padding-right: max(var(--s-300), env(safe-area-inset-right)); } }

/* 15 Zeilenlänge: höchstens etwa 65 Zeichen pro Zeile */
section > p:not(.small):not(.tag), .page-head > p:not(.crumb) { max-width: 65ch; }

/* 20 Gemeinsames Element beim Seitenwechsel: die Navigation bleibt stehen, der Inhalt blendet weich über */
@view-transition { navigation: auto; }
.nav { view-transition-name: hauptnavigation; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 300ms; animation-timing-function: var(--ease); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Unterseiten: Problem in Kundensprache über jeder Paket-Beschreibung */
.paket-problem { margin-bottom: var(--s-75); font-size: 18px; line-height: 28px; font-weight: 600; color: var(--text); }
.bento > .paket:first-child .paket-problem { font-size: 20px; line-height: 28px; }
.bento > .paket:first-child .btn { justify-self: start; }

/* Weitere Leistungen als Bento: oben zwei halbe, dann drei Drittel, unten Betreuung über die volle Breite */
@media (min-width: 900px) {
  .leistungen-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .leistungen-bento > * { grid-column: span 2; }
  .leistungen-bento > :nth-child(1), .leistungen-bento > :nth-child(2) { grid-column: span 3; }
  .leistungen-bento > :nth-child(6) { grid-column: 1 / -1; }
}

/* Preise als Bento: die häufigste Lösung groß links, die anderen drei rechts daneben */
@media (min-width: 900px) {
  .preis-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .preis-bento > .preis-karte--hervor { grid-column: 1 / 3; grid-row: 1 / 3; justify-content: center; }
  .preis-bento > .preis-karte--hervor .preis { font-size: 60px; line-height: 60px; letter-spacing: -0.03em; }
  .preis-bento > :last-child { grid-column: span 2; }
}
/* Drei Karten als Bento: schmal und breit oben, eine über die volle Breite unten */
@media (min-width: 900px) {
  .drei-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .drei-bento > :nth-child(1) { grid-column: span 2; }
  .drei-bento > :nth-child(2) { grid-column: span 4; }
  .drei-bento > :nth-child(3) { grid-column: 1 / -1; }
}

/* Über mich: Foto links, Text und Fakten rechts */
.ueber-person { display: grid; gap: var(--s-300); align-items: start; }
@media (min-width: 768px) { .ueber-person { grid-template-columns: 160px minmax(0, 1fr); gap: var(--s-600); } .ueber-person .person-foto { width: 160px; } }
.ueber-person p { max-width: 65ch; color: var(--muted); }
.ueber-person .person-fakten { max-width: 560px; }

/* ASCII-Bild vom Nationaltheater Weimar: fest hinter der ganzen Seite, der Inhalt scrollt darüber */
.ascii-feld {
  position: fixed; z-index: -1; top: 0; left: 0; width: 100vw; margin: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent);
}

/* Das Theater steht klein in der rechten Spalte (statt über die ganze Breite) */

/* "Mein Prinzip": schmale Glasfläche wie die Navigation statt schwarzem Band über die volle Breite */
.tagline { margin: var(--s-400) 0; padding: var(--s-500) var(--s-300); }
@media (min-width: 768px) { .tagline { padding: var(--s-600) var(--s-500); } }
.tagline::before {
  left: 0; right: 0; width: auto; margin-left: 0;
  background:  rgba(247, 249, 250, 0.78); border: 1px solid var(--line); border-radius: var(--r-xl);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
section.tagline > p:not(.small) { color: var(--text); }
.tagline .etikett { color: var(--trust); }
@media (min-width: 768px) { .tagline p { font-size: 36px; line-height: 40px; } }
.js .tagline .w { opacity: 0.25; } /* Wörter erscheinen nacheinander, auf hellem Glas */
.js .tagline .w.on { opacity: 1; }
/* Etwas breiter als die Navigation und durchsichtiger, damit das Theater erkennbar durchscheint */
.tagline::before { background:  rgba(247, 249, 250, 0.55); -webkit-backdrop-filter: blur(6px) saturate(140%); backdrop-filter: blur(6px) saturate(140%); }
@media (min-width: 1100px) { .tagline::before { left: calc(-1 * var(--s-500)); right: calc(-1 * var(--s-500)); } }
@media (min-width: 768px) and (max-width: 1099px) { .tagline::before { left: calc(-1 * var(--s-100)); right: calc(-1 * var(--s-100)); } }

/* "Kennst du das?" in einer Box wie die große Lösungs-Karte */
.probleme-box { padding: var(--s-300); }
@media (min-width: 768px) { .probleme-box { padding: var(--s-400); } }
.probleme-box h2 { margin-bottom: 0; }
.probleme-box .probleme li:last-child { border-bottom: 0; padding-bottom: 0; }

/* Tastatur und Finger: auch Links mitten im Kartentext bekommen eine 44 px hohe Tippfläche */
.card p a { display: inline-block; padding-block: 12px; margin-block: -12px; }

/* ---------- 20 Rückmeldung im Hebel-Takt (Skill awwwards) ---------- */
/* Knöpfe heben sich 2 px an wie ein Hebel und rasten beim Drücken ein */
.btn { transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 18px -10px rgba(28, 28, 28, 0.55); }
.btn-ghost:hover { box-shadow: 0 10px 18px -12px rgba(28, 28, 28, 0.35); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }

/* Nächster freier Termin: unterstrichen, beim Darüberfahren kräftiger */
.naechster a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: currentColor;
  transition: text-decoration-thickness 300ms var(--ease), text-underline-offset 300ms var(--ease); }
.naechster a:hover { text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Logo: ein kleiner Ai-Punkt rastet ein */
.logo::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 4px; vertical-align: baseline; border-radius: var(--r-full);
  background: var(--accent); transform: scale(0); transition: transform 300ms var(--ease); }
.logo:hover::after, .logo:focus-visible::after { transform: scale(1); }

@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:active { transform: none; } }

/* ---------- 21 Durchgang nach der Jury-Bewertung (17.11.2026) ---------- */
/* Navigation fast deckend, damit beim Scrollen kein Text durchscheint */
.nav::before { background:  rgba(247, 249, 250, 0.92); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); }

/* Knöpfe kippen wie ein Hebel: leicht anheben und um 1 Grad neigen, beim Klick einrasten */
/* Feinschliff (emil): Kippen nur bei echter Maus, Einrasten beim Druck schneller als das Anheben */
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px) rotate(-1deg); } }
.btn:active { transform: scale(0.97); transition-duration: 120ms; }

/* Einzelne Links: eine Linie wächst von links wie ein Hebelarm */
.crumb a, .section-link a, .zurueck, .blick a.mehr {
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size 300ms var(--ease), color 300ms var(--ease); }
.crumb a { background-size: 100% 1px; }
.crumb a:hover, .section-link a:hover, .zurueck:hover, .blick a.mehr:hover { background-size: 100% 2px; }
.section-link a { display: inline-block; padding-block: 13px; margin-block: -13px; background-position: 0 calc(100% - 11px); }
.zurueck { display: inline-block; padding-block: 12px; background-position: 0 calc(100% - 10px); background-size: 24px 2px; color: var(--text); font-weight: 600; }
.zurueck:hover { background-size: 100% 2px; }
.teaser .mehr { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 300ms var(--ease); justify-self: start; align-self: flex-start; }
.teaser:hover .mehr { background-size: 100% 2px; }

/* Seitenwechsel: Navigation und Theater bleiben stehen, der Inhalt gleitet weich darüber */
.ascii-feld { view-transition-name: theater; }
@keyframes seite-rein { from { opacity: 0; transform: translateY(8px); } }
@keyframes seite-raus { to { opacity: 0; } }
::view-transition-old(root) { animation: 160ms var(--ease) both seite-raus; }
::view-transition-new(root) { animation: 320ms var(--ease) 60ms both seite-rein; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* Lesbarkeit: hinter der Textspalte blendet das Theater weich aus */
@media (min-width: 960px) {
  .ascii-feld {
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent), linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.3) 40%, #000 62%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, #000 70%, transparent), linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.3) 40%, #000 62%);
    mask-composite: intersect;
  }
}

/* Handy: Überschrift eine Stufe kleiner, bricht in zwei saubere Sätze */
@media (max-width: 767px) { .hero-kopf h1 { font-size: 40px; line-height: 42px; } }

/* Große Lösungs-Karte ohne leeren Rest: die Vorschau füllt die ganze Höhe */
@media (min-width: 900px) {
  .bento > :first-child { grid-template-rows: auto auto auto auto 1fr auto; }
  .bento > :first-child .mini { grid-row: 1 / -1; align-self: stretch; align-content: start; }
}
/* Fertige Lösung (Preise): was inklusive ist, statt leerer Fläche */
.preis-inklusive { list-style: none; display: grid; gap: var(--s-75); margin: var(--s-300) 0 0; padding: var(--s-300) 0 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--text-2); }
.preis-inklusive li::before { content: "✓ "; color: var(--ok); font-weight: 600; }

/* Fokus: Inhalte, die noch einblenden, werden beim Tabben sofort sichtbar */
.js .reveal:focus-within, .js .reveal:focus-within :is(.grid, .blick, .probleme, .preis-grid, .steps) > * { opacity: 1; transform: none; animation: none; transition: none; }

/* Rechtstexte: Abstand zwischen Seitentitel und erstem Abschnitt */
.recht h2 { margin-top: var(--s-400); }
.recht h1 + h2 { margin-top: var(--s-500); }

.blick a.mehr { align-self: flex-start; padding-bottom: 2px; }
.blick a.mehr:hover { text-decoration: none; }

/* 404: der Hebel steht auch auf dem Handy, unter den Knöpfen */
@media (max-width: 899px) { .hero-404 .hebel-platz { display: block; height: 200px; margin-top: var(--s-400); } }
.hero-404 { min-height: calc(100svh - 240px); }

/* Navigation: die Lücke über der schwebenden Leiste deckt, damit beim Scrollen kein Text durchscheint */
html::after { content: ""; position: fixed; z-index: 49; top: 0; left: 0; right: 0; height: calc(max(var(--s-100), env(safe-area-inset-top)) + 8px);
  background: linear-gradient(var(--bg) 60%,  rgba(247, 249, 250, 0)); pointer-events: none; }
@media (max-width: 899px) { .nav::before { background:  rgba(247, 249, 250, 0.97); } }

/* ---------- 22 Weimar-Blau (17.11.2026) ---------- */
html { background: var(--bg); }
/* "Mein Prinzip" als dunkler Ai-Block: der eine kräftige Kontrast der Seite */
.tagline::before { background: var(--ai-tief) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-color: transparent !important; box-shadow: none !important; }
.tagline, .tagline p, .tagline .w { color: #F7F9FA !important; }
.tagline .etikett { color: #9FD3DB !important; }
.js .tagline .w { opacity: 0.45; }
.js .tagline .w.on { opacity: 1; }

/* ---------- 23 Fußbereich nach checklist.design (Logo, Seiten, Kontakt, Rechtliches) ---------- */
footer.fuss { position: relative; isolation: isolate; margin-top: var(--s-900); padding-top: var(--s-800); padding-bottom: var(--s-500);
  display: grid; gap: var(--s-500); grid-template-columns: 1fr; color: #C9D8DC; font-size: 14px; line-height: 20px; }
footer.fuss::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 100vw; margin-left: -50vw; background: var(--ai-tief); z-index: -1; }
@media (min-width: 768px) { footer.fuss { grid-template-columns: 2fr 1fr 1fr; } }
.fuss-marke { display: grid; gap: var(--s-200); justify-items: start; max-width: 380px; }
.fuss-marke p { margin: 0; }
.fuss-logo { padding: 0; color: #F7F9FA; font-size: 20px; line-height: 28px; }
.fuss .fuss-btn { background: #F7F9FA; color: var(--text); margin-top: var(--s-75); }
.fuss .fuss-btn:hover { background: #FFFFFF; }
.fuss-spalte { display: grid; gap: var(--s-75); align-content: start; }
.fuss-titel { margin: 0 0 var(--s-50); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9FD3DB; }
footer.fuss a:not(.btn) { color: #F7F9FA; text-decoration: none; justify-self: start; padding-block: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 300ms var(--ease); }
footer.fuss a:not(.btn):hover { background-size: 100% 1px; }
footer.fuss :focus-visible { outline-color: #F7F9FA; }
.fuss-unten { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-200);
  padding-top: var(--s-300); border-top: 1px solid rgba(247, 249, 250, 0.16); color: #9FB6BC; }
.fuss-unten a:not(.btn) { color: #C9D8DC !important; }
@media (max-width: 899px) { footer.fuss { padding-bottom: calc(var(--s-900) + var(--s-400)); } }   /* Platz für die Buchungsleiste */
.faq-kontakt { margin-top: var(--s-300); font-size: 16px; line-height: 24px; }
footer.fuss a:not(.btn) { display: inline-block; margin-block: 0; padding-block: 6px; min-height: 0; }
.fuss-unten a:not(.btn) { padding-block: 12px; margin-block: -12px; }
footer.fuss::before { box-shadow: 0 400px 0 0 var(--ai-tief); }   /* auch der Rest unter dem Fuß wird dunkel */
.hero-404 .small { margin-top: var(--s-200); }
.fuss-marke { gap: var(--s-100); }

/* Hover nachziehen: Navigation und Text-Knöpfe bekommen die wachsende Linie, Knöpfe kippen bei jeder Maus */
.nav nav a:not(.btn) { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 12px calc(100% - 8px); background-size: 0 1px;
  transition: background-size 300ms var(--ease), color 300ms var(--ease); }
.nav nav a:not(.btn):hover, .nav nav a[aria-current="page"] { background-size: calc(100% - 24px) 1px; }
.link-btn { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 30% 1px no-repeat; transition: background-size 300ms var(--ease); }
.link-btn:hover { background-size: 100% 1px; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px) rotate(-1deg); } }


/* ---------- 25 Fixes aus der Jury (17.11.2026) ---------- */
.nav::before { background: rgba(247, 249, 250, 0.97); }                     /* Kopfzeile fast deckend */
.skip:focus { left: var(--s-200); z-index: 200; }                             /* Sprunglink liegt über der Kopfzeile */
.faq-kontakt a, .hero-404 .small a { display: inline-block; padding-block: 4px; } /* Tippfläche mindestens 24 px */
/* "Mein Prinzip" bündig mit der Inhaltsspalte */
.tagline::before { left: 0 !important; right: 0 !important; width: auto !important; margin-left: 0 !important; }
.tagline { padding-left: var(--s-500); padding-right: var(--s-500); }

/* ---------- 26 Hebel-Waage auf der Preisseite: 1. Hälfte zum Start, 2. Hälfte wenn es läuft ---------- */
.zahlung-hebel { position: relative; padding: var(--s-300) 0 0; }
.hebel-zustand { position: relative; height: 20px; margin: 0 0 var(--s-400); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text); }
.hebel-zustand span { position: absolute; left: 0; top: 0; transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.hebel-zustand-laeuft { color: var(--accent); }
.hebel-balken { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-75); padding-bottom: var(--s-75); border-bottom: 3px solid var(--text);
  transform-origin: 50% 100%; transition: transform 900ms cubic-bezier(0.34, 1.4, 0.64, 1); }
.hebel-balken .zahlung-teil { transition: transform 600ms var(--ease), opacity 600ms var(--ease), background-color 600ms var(--ease), color 600ms var(--ease), border-color 600ms var(--ease); }
.hebel-fuss { display: flex; justify-content: center; }
.hebel-drehpunkt { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 24px; line-height: 24px; font-weight: 600; color: var(--text); letter-spacing: -0.05em; white-space: pre; }
/* Zustand "Start": links liegt Gewicht, der Hebel kippt nach links, die zweite Hälfte schwebt noch */
.js .zahlung-hebel:not(.laeuft) .hebel-balken { transform: rotate(-4deg); }
.js .zahlung-hebel:not(.laeuft) .zahlung-teil--zwei { transform: translateY(-24px); opacity: 0.5; border-style: dashed; border-color: var(--line-strong); }
.js .zahlung-hebel:not(.laeuft) .hebel-zustand-laeuft, .zahlung-hebel.laeuft .hebel-zustand-start, html:not(.js) .hebel-zustand-start { opacity: 0; transform: translateY(4px); }
/* Zustand "läuft": die zweite Hälfte landet, der Hebel steht gerade, beide Hälften in Ai und Sumi */
.zahlung-hebel.laeuft .zahlung-teil--zwei { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .hebel-balken, .hebel-balken .zahlung-teil, .hebel-zustand span { transition: none; } }
@media (max-width: 480px) { .hebel-zustand { height: 40px; } .js .zahlung-hebel:not(.laeuft) .hebel-balken { transform: rotate(-6deg); } }
.hebel-fuss { padding-bottom: var(--s-100); }

/* Live-Liste: feste Höhe (per JS gemessen), nichts darunter verrutscht */
.live-liste { min-height: 0; overflow: hidden; overflow-anchor: none; position: relative; align-content: start; }
.live { overflow-anchor: none; }

/* ---------- 27 Feinschliff nach dem 3. Jury-Durchgang ---------- */
/* Lösungs-Kacheln: beim Darüberfahren eine Ai-Kante oben, wie ein Reiter im Setzkasten */
.teaser { transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.teaser:hover { box-shadow: inset 0 3px 0 var(--accent) !important; }
.teaser:hover h3 { color: var(--accent); }
.teaser h3 { transition: color 300ms var(--ease); }
/* Nächster freier Termin: dieselbe wachsende Linie wie alle Links */
.naechster a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 12px) / 100% 1px no-repeat; transition: background-size 300ms var(--ease); }
.naechster a:hover { background-size: 100% 2px; }
/* Abschluss-Kasten: Swiss, alles linksbündig in einer Kante */
.cta { text-align: left; padding: var(--s-600) var(--s-500); }
.cta p { margin-left: 0; margin-right: 0; }
.cta .actions { justify-content: flex-start !important; }
/* Sprunglink: beim Fokus fest über der Kopfzeile */
.skip:focus { position: fixed; top: var(--s-200); left: var(--s-200); z-index: 300; }
/* Daten-Schalter (Preise): das Auswahlfeld liegt unsichtbar über dem ganzen Feld und zeigt selbst den Fokusring */
.segment input { appearance: none; -webkit-appearance: none; opacity: 1; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; background: transparent; border-radius: var(--r-lg); cursor: pointer; z-index: 1; }
.segment input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.segment input:focus-visible + span { outline: none; }

/* Hebel auf der Startseite: die Live-Liste liegt auf einem Balken, der Drehpunkt sitzt links (kleiner Hebel, große Wirkung).
   Jede erledigte Aufgabe drückt den Balken kurz nach unten. */
.live-wippe { position: relative; transform-origin: 22% calc(100% - 44px); }
.live-hebel { position: relative; height: 28px; }
.live-hebel-balken { position: absolute; left: -4%; right: -4%; top: 0; height: 3px; background: var(--text); }
.live-hebel-dreh { position: absolute; left: 22%; top: 4px; transform: translateX(-50%); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 22px; line-height: 22px; font-weight: 600; color: var(--text); white-space: pre; }
.live-hebel-text { margin: var(--s-75) 0 0; font-size: 12px; line-height: 16px; color: var(--muted); }
.live-wippe .live { margin-bottom: var(--s-75); }

/* Seitenwechsel, sichtbar auch ohne View Transitions: Navigation und Theater bleiben stehen (benannte Übergänge),
   der Inhalt steigt beim Laden jeder Seite weich auf. Die Wurzel wechselt sofort, damit nichts doppelt animiert. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
@keyframes inhalt-rein { from { opacity: 0.001; transform: translateY(14px); } }
@media (prefers-reduced-motion: no-preference) { main, footer.fuss { animation: inhalt-rein 520ms var(--ease) both; } footer.fuss { animation-delay: 80ms; } }

/* Mehr Rhythmus in den Kartenreihen: Fließtext in Kacheln eine Stufe größer und dunkler, Titel kräftiger */
.bento > * > p:not(.tag), .leistungen-bento > * > p, .drei-bento > * > p, .blick > * > p:not(.etikett) { font-size: 16px; line-height: 24px; color: var(--text-2); }
.leistungen-bento > * > h3, .drei-bento > * > h3 { font-size: 24px; line-height: 32px; letter-spacing: -0.02em; }
@media (min-width: 900px) { .leistungen-bento > :nth-child(1) h3, .leistungen-bento > :nth-child(2) h3 { font-size: 30px; line-height: 36px; letter-spacing: -0.025em; } }
@media (max-width: 899px) { .live-hebel-balken { left: 0; right: 0; } }

/* Tage-Leiste: Verlauf und Pfeil rechts, solange weitere Tage folgen */
.tage-rahmen { position: relative; }
.tage-rahmen.hat-mehr .tage { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent); }
.tage-weiter { position: absolute; right: 0; top: 50%; transform: translateY(-60%); width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: var(--r-full); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: transform 300ms var(--ease), background-color 300ms var(--ease); }
.tage-weiter:hover { background: var(--surface-2); transform: translateY(-60%) translateX(2px); }
.tage-weiter[hidden] { display: none; }
/* Handy: Überschrift in drei sauberen Zeilen ("KI für deinen Betrieb." passt in eine Zeile) */
@media (max-width: 767px) { .hero-kopf h1 { font-size: min(36px, 9.2vw); line-height: 1.05; } }

/* ======================================================================
   28 Weimar-Gemälde (17.11.2026) – nach den Vorbildern Intercom, Origin, General Intelligence
   Großes farbiges Pixelbild oben mit Glas-Panel, Serifen-Überschriften, Mono-Etiketten,
   warmes Papier, große runde Karten, schwebende Pillen-Navigation. Darunter ruhig.
   ====================================================================== */
:root {
  --bg: #F6F4EF; --surface: #FFFFFF; --surface-2: #F1EEE7; --band: #ECE8DF;
  --line: #E6E1D6; --line-strong: #D5CFC2; --muted: #5F5B53; --text-2: #3D3B37;
  --r-md: 10px; --r-lg: 14px; --r-xl: 24px; --r-2xl: 28px; --r-3xl: 32px;
  --serif: "Instrument Serif", "Iowan Old Style", "Charter", "Palatino Linotype", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow-window: 0 24px 60px -24px rgba(20, 22, 26, 0.35);
}
html { background: var(--bg); }

/* Schrift: Serifen für große Überschriften, Mono in Großbuchstaben für Etiketten */
h1, h2, .page-head h1, .tagline p, .cta h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
h1 { font-size: 44px; line-height: 46px; }
h2 { font-size: 36px; line-height: 40px; }
@media (min-width: 768px) { h2 { font-size: 48px; line-height: 50px; } .page-head h1 { font-size: 64px; line-height: 64px; } }
.etikett, .tag, .fakten dt, .fuss-titel, .live-beispiel, .live-zaehler span, .schritt legend { font-family: var(--mono); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.etikett { font-size: 11px; line-height: 16px; color: var(--text-2); }
.etikett::before { content: none !important; }
.tag { font-size: 11px; line-height: 16px; }

/* Navigation: schwebende Glas-Pille in der Mitte */
.nav { max-width: 920px; padding: 6px 6px 6px var(--s-200); }
.nav::before { background: rgba(255, 255, 255, 0.72) !important; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px;
  box-shadow: 0 8px 30px -12px rgba(20, 22, 26, 0.25); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
html::after { content: none !important; }
.nav nav a:not(.btn) { border-radius: 999px; }
.btn { border-radius: 999px; }
.btn-gross { padding: 12px var(--s-300); }

/* Das Pixelbild: oben, so hoch wie der Kopfbereich, unten weich ins Papier */
.ascii-feld { position: absolute !important; z-index: -1; top: 0; left: 0; width: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 140px), transparent) !important; mask-image: linear-gradient(to bottom, #000 calc(100% - 140px), transparent) !important;
  -webkit-mask-composite: source-over !important; mask-composite: add !important; image-rendering: pixelated; }
body { position: relative; }
.pixel-feld { display: none; }

/* Hero: Glas-Panel links unten, Live-Karte schwebt rechts */
.hero { min-height: min(860px, 100svh); padding-top: 120px; padding-bottom: var(--s-700); align-items: end; }
.hero-glas { position: relative; padding: var(--s-400); border-radius: var(--r-2xl); background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 30px 80px -30px rgba(20, 22, 26, 0.45);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); max-width: 620px; }
.hero-glas .hero-kopf h1 { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 46px; letter-spacing: -0.01em; color: #14161A; }
@media (min-width: 768px) { .hero-glas .hero-kopf h1 { font-size: 60px; line-height: 60px; } .hero-glas { padding: var(--s-500); } }
.hero-glas .lead { color: #2E2C29; margin-top: var(--s-300); }
.hero-glas .etikett { color: #2E2C29; }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) 380px; align-items: end; }
  .hero-glas { grid-column: 1; grid-row: 1; }
  .hero-seite { grid-column: 2; grid-row: 1; align-self: end; }
}
.live { border-radius: var(--r-xl); border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadow-window) !important; }
.live-eintrag { border-radius: var(--r-md); }
.live-hebel-text { color: #2E2C29; }
.hero-glas .naechster, .hero-glas .naechster a { color: #2E2C29; }

/* Faktenleiste unter dem Bild */
.fakten-leiste { padding: var(--s-500) 0 0; border-top: 0 !important; }
.fakten-leiste .fakten { margin: 0; padding: 0; border: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .fakten-leiste .fakten { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fakten dd { font-size: 16px; line-height: 24px; }

/* Ruhige Abschnitte: Überschriften mittig, viel Luft, große runde Karten mit Abstand */
main > section { border-top: 0 !important; }
main > section:not(.hero):not(.fakten-leiste) { padding-top: var(--s-900); }
#loesungen > h2, #ueberblick > h2, #faq > h2, #loesungen > p, #ueberblick > p { text-align: center; margin-left: auto; margin-right: auto; max-width: 18ch; }
#loesungen > p, #ueberblick > p { max-width: 52ch; }
.section-link { text-align: center; }
.card, .live, .preis-karte, .teaser, .cta, .probleme-box, .zahlung-teil, .segment, .tage-weiter { border-radius: var(--r-xl); }
.bento, .leistungen-bento, .preis-bento, .blick, .drei-bento { gap: var(--s-200) !important; background: none !important; border: 0 !important; }
.bento > *, .leistungen-bento > *, .preis-bento > *, .blick > *, .drei-bento > * { border-radius: var(--r-xl) !important; border: 1px solid var(--line) !important; }
.card { box-shadow: 0 1px 2px rgba(20, 22, 26, 0.04); }
.teaser:hover { box-shadow: 0 18px 40px -20px rgba(20, 22, 26, 0.25) !important; transform: translateY(-3px); }
.teaser { transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), background-color 300ms var(--ease); }
.mini, .mini-blase, .mini-chip, .mini-knopf { border-radius: var(--r-md); }

/* Mein Prinzip: große Serifen-Zeile auf tiefem Ai, runde Fläche */
.tagline::before { border-radius: var(--r-3xl); }
.tagline p { font-size: 40px; line-height: 44px; }
@media (min-width: 768px) { .tagline p { font-size: 60px; line-height: 62px; } }

/* Abschluss-Kasten: zentriert wie bei Origin */
.cta { text-align: center; padding: var(--s-800) var(--s-500); background: var(--surface-2); border: 0; }
.cta h2 { margin-left: auto; margin-right: auto; max-width: 16ch; }
.cta p { margin-left: auto; margin-right: auto; }

/* Unterseiten: Kopf als Glas-Panel auf dem Bild */
.page-head { margin-top: 112px; padding: var(--s-500); border-radius: var(--r-2xl); background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 30px 80px -30px rgba(20, 22, 26, 0.45); max-width: 760px; }
.page-head .crumb, .page-head p { color: #2E2C29; }
.recht { padding-top: 120px !important; }
.recht > *:first-child, .recht h1 { position: relative; }

/* Fußbereich: oben rund */
footer.fuss::before { border-radius: var(--r-3xl) var(--r-3xl) 0 0; }

@media (max-width: 767px) {
  .hero { padding-top: 104px; min-height: 0; }
  .hero-glas { padding: var(--s-300); }
  .page-head { margin-top: 96px; padding: var(--s-300); }
  main > section:not(.hero):not(.fakten-leiste) { padding-top: var(--s-700); }
}
.hero-glas { background: rgba(255, 255, 255, 0.76); max-width: 680px; }
.hero .live-hebel-text { display: none; }
.hero .live-hebel-balken { background: #14161A; }
.hero .live-hebel-dreh { color: #14161A; text-shadow: 0 0 6px rgba(255,255,255,0.8); }
@media (min-width: 960px) { .hero { min-height: min(820px, 100svh); } }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) 360px; column-gap: var(--s-400); }
  .hero-glas .hero-kopf h1 { font-size: 54px; line-height: 56px; }
}
.page-head { background: rgba(255, 255, 255, 0.78); }
.tag { font-size: 11px !important; line-height: 16px !important; }
.fakten-leiste { padding-top: var(--s-600); }
/* Rechtstexte: Bildstreifen oben, Text auf einer ruhigen Papierkarte */
.recht { margin-top: 220px; padding: var(--s-500) !important; background: var(--surface); border-radius: var(--r-2xl); border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(20, 22, 26, 0.35); }
@media (max-width: 767px) { .recht { margin-top: 180px; padding: var(--s-300) !important; } }
/* 404: Glas-Panel wie auf der Startseite, der gekippte Hebel auf einer kleinen Glaskarte */
.hero-404 .hebel-platz { border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.76); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,0.7); }
.hero-404 .pixel-feld { display: block; z-index: 2; -webkit-mask-image: none; mask-image: none; }
.recht h2 { font-size: 28px; line-height: 32px; }
.recht h1 { font-size: 44px; line-height: 46px; }

/* Instrument Serif (SIL Open Font License, Lizenz in fonts/InstrumentSerif-OFL.txt), lokal ausgeliefert, kein Google-Server */
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* Fünf fertige Lösungen: ruhig wie "Sechs Leistungen" – Zielgruppe, Titel, ein Satz, Preis, Knopf. Keine Beispiel-Bildchen. */
.loesungen-bento > * { display: flex; flex-direction: column; gap: var(--s-75); padding: var(--s-500) !important; }
.loesungen-bento > * > h3 { margin: 0; }
.loesungen-bento > * > p { margin: 0; max-width: 46ch; }
.loesungen-bento .tag { margin: 0 0 var(--s-50); color: var(--muted); }
.paket-preis { margin-top: var(--s-100) !important; font-size: 14px !important; line-height: 20px !important; font-weight: 600; color: var(--text) !important; }
.loesungen-bento .paket-btn, .loesungen-bento .mehr { margin-top: auto; padding-top: var(--s-200); align-self: flex-start; }
.loesungen-bento .paket-btn { margin-top: auto; }
.loesungen-bento > * { min-height: 0; }
@media (max-width: 767px) { .loesungen-bento > * { padding: var(--s-300) !important; } }
.loesungen-bento .paket-btn { padding: var(--s-75) var(--s-300); margin-top: auto; }
.loesungen-bento .paket-preis { margin-bottom: var(--s-200); }
