/* Onkel Immo: Gestaltung der Website (Startseite, Rechtsseiten, Vorschau-Tor). Eine Designsprache, entschieden
   von Eric am 17.10.2026: Feeling nach handhold.io, Inhalte, Farben und Logo von Onkel Immo, Überschriften in Manrope.

   Gemessen an handhold.io (1440 × 900, 17.10.2026), übernommen:
   - Raster: Inhalt höchstens 1512 px, Rand 16 px mobil und 32 px ab 1024 px. Kopfzeile 72 px (16/32 Innenabstand).
   - Schrift: Inter für Text, Manrope in Stärke 300 für Überschriften. Claim 72 (mobil 44), H2 40, H3 28,
     Abschnittsmarke 20, Laufweite der Titel −0,04 em, Zeilenhöhe 1,06. Fließtext 14/20 mit −0,18 px, Unterzeile 16/24.
   - Farben: Weiß, Schwarz, Fläche #f2f1ed, Nebentext Schwarz 55 %, Fußtext Schwarz 40 %, Linien Schwarz 10 %.
     Pink und Indigo nur in Welle, Farbflächen, Kugeln und Hervorhebungen.
   - Knöpfe: 40 px hoch, 8/16 Innenabstand, ganz rund, 14/20, Abstand Zeichen zu Text 8 px. Schwarz und Grau.
   - Radien: Karten 32 px, Vorführkarte 24 px.
   - Bewegung: Einblenden 20 px (Varianten 12 bis 16 px) und optional von 97 % Größe, 0,5 s,
     cubic-bezier(.23,1,.32,1), einmalig ab 20 % Sichtbarkeit, Staffel 0,1 s. Welle: 102 % auf 100 % und Deckkraft,
     0,5 s, Verzug 0,15 s, cubic-bezier(.215,.61,.355,1). Laufband 40 s linear. Aufklappen 0,4 s über
     grid-template-rows. Listen schalten alle 8 s weiter. Hover 0,15 s cubic-bezier(.4,0,.2,1).
   Abweichungen: Manrope statt STK Bureau Serif. Welle und Farbflächen eigene Shader in unseren Farben statt three.js.
   Statt Kundenlogos ein Laufband mit Datengrundlagen, statt Kundenstimmen die Preise.
   Die H1 ist klein und trägt das Keyword, der Claim darüber ist größer und bewusst kein Heading. */

@font-face { font-family: "Inter"; src: url("schrift/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("schrift/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  /* Farben nach Aufgabe. Hell hier, Dunkel in .thema-dunkel (ganze Seite oder nur der Hero). */
  --grund: #ffffff;            /* Seitengrund, Text auf Knöpfen */
  --tinte: #000000;            /* Text, Hauptknopf, Linien in voller Stärke */
  --tinte-70: rgba(0, 0, 0, .7);
  --karte: #ffffff;            /* Felder und Karten auf der Fläche */
  --flaeche: #f2f1ed;
  --flaeche-tief: #e8e6e0;
  --neben: rgba(0, 0, 0, .55);
  --leise: rgba(0, 0, 0, .55);   /* 4,6:1 auf --flaeche, AA (Review 02.11.2026) */
  --linie: rgba(0, 0, 0, .1);
  --hauch: rgba(0, 0, 0, .06);
  --hauch-2: rgba(0, 0, 0, .1);
  --knopf-hover: #27272a;
  --pink: #f80169;
  --pink-hover: #d9005b;       /* Hover auf dem pinken Knopf */
  --pink-hauch: #ffe3ef;       /* Grund einer Fehlermeldung (Vorschau-Tor) */
  --auswahl: var(--pink-hauch); /* markierter Text, Pink als Licht (Review 02.11.2026) */
  --lila: #6b6bf0;             /* Licht wie auf der Deutschlandkarte, Vergleichsobjekte im Einblick */
  /* Schatten nur an Screenshots: weich nach unten, dazu eine Haarlinie. */
  --schatten-bild: 0 24px 60px -24px rgba(0, 0, 60, .4), 0 0 0 1px rgba(0, 0, 0, .05);
  --titel: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --titel-gewicht: 300; --titel-spur: -.04em; --titel-zeile: 1.06;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --breite: 1512px;
  --rand: 16px;
  --kurve: cubic-bezier(.23, 1, .32, 1);
  --kurve-schnell: cubic-bezier(.4, 0, .2, 1);
  color-scheme: light;
}
@media (min-width: 1024px) { :root { --rand: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
/* Dunkler Hero oben und dunkler Fuß unten: beim Überscrollen auf dem Handy kein weißer Streifen (Review 02.11.2026) */
html:has(.buehne-oben.thema-dunkel) { background: #07060c; }
/* Sprunglink an der Kopfzeile vorbei: unsichtbar, bis er den Fokus hat */
.sprunglink { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--karte); color: #000; font-size: 14px; line-height: 20px; box-shadow: 0 0 0 1px var(--hauch-2), 0 8px 24px -8px rgba(0, 0, 0, .18); }
.sprunglink:focus { top: 16px; }
#inhalt:focus { outline: none; }
body {
  margin: 0; background: var(--grund); color: var(--tinte);
  font-family: var(--sans); font-size: 16px; line-height: 24px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
/* Browser-Flächen im Hausstil (Review 02.11.2026): Markierung im Pink-Hauch, Eingabe-Cursor pink, kein einzelnes Wort
   in der letzten Zeile von Fließ- und Kleintext (große Zeilen gleichen mit balance aus). */
::selection { background: var(--auswahl); color: var(--tinte); }
html { caret-color: var(--pink); }
p, li, small, figcaption { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Titelschrift (Manrope 300) für Claim, Überschriften, Preise und Logo. */
h2, h3, .t2, .t3, .claim, .sektion-marke, .preise-satz, .schritt-frage, .preis-betrag {
  font-family: var(--titel); font-weight: var(--titel-gewicht);
}
h2, .t2 { font-size: 40px; line-height: 40px; letter-spacing: -1.2px; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 479px) { h2, .t2 { font-size: 34px; line-height: 36px; letter-spacing: -1px; } }
/* Rasterkinder dürfen schmaler werden als ihr längstes Wort, sonst schiebt ein langes Kompositum die Seite seitlich auf. */
.block > *, .kacheln > *, .schritte-raster > *, .preis-raster > *, .fuss > * { min-width: 0; }
h3, .t3 { font-size: 28px; line-height: 28px; letter-spacing: -.84px; }
.leise { color: var(--neben); }
.klein { font-size: 14px; line-height: 20px; letter-spacing: -.18px; }

.rahmen { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.linie { border: 0; border-top: 1px solid var(--linie); margin: 48px 0; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 14px; line-height: 20px; letter-spacing: -.13px; white-space: nowrap;
  transition: background-color .15s var(--kurve-schnell), color .15s var(--kurve-schnell), opacity .15s var(--kurve-schnell), transform .1s var(--kurve-schnell);
}
.knopf:active { transform: scale(.97); } /* Rückmeldung beim Drücken, auch auf Touch (Review 02.11.2026) */
.knopf.schwarz { background: var(--tinte); color: var(--grund); }
@media (hover: hover) and (pointer: fine) { .knopf.schwarz:hover { background: var(--knopf-hover); } }
.knopf.grau { background: var(--flaeche); color: var(--tinte); }
@media (hover: hover) and (pointer: fine) { .knopf.grau:hover { background: var(--flaeche-tief); } }
/* Markenpink, für den Zweitknopf im Hero (Eric 17.10.2026). */
.knopf.pink { background: var(--pink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .knopf.pink:hover { background: var(--pink-hover); } }
.knopf.breit { width: 100%; }
/* Fokus für alle Bedienelemente gleich, auch Links (DESIGN.md: 2 px --tinte, 2 px Abstand), wie in der App */
:focus-visible { outline: 2px solid var(--tinte); outline-offset: 2px; }
button.knopf:disabled { opacity: .6; cursor: progress; }

/* Kopfzeile */
.buehne-oben { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.kopf {
  position: relative; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 16px var(--rand); width: 100%;
}
/* Logo (Eric 17.10.2026): Gesicht im Punkteraster (Original von Codex, 56 px hoch) mit der Wortmarke darin, das o ist
   das zweite Auge. Ein SVG je Farbfassung aus teile.php, Maße fest (nicht per CSS skalieren). */
.logo { display: inline-flex; align-items: center; border-radius: 8px; }
/* Bildzeichen in zwei Farbfassungen: fuer-hell (dunkle Punkte) auf hellem Grund, fuer-dunkel (helle Punkte) auf
   dunklem. Knöpfe und Laufband tragen kein Zeichen (Eric 17.10.2026). */
.zeichen-paar { display: inline-flex; flex: none; }
.zeichen-paar svg { display: block; }
.zeichen-paar .auf-dunkel, .thema-dunkel .zeichen-paar .auf-hell { display: none; }
.thema-dunkel .zeichen-paar .auf-dunkel { display: block; }
.zeichen-paar.nur-hell .auf-hell, .zeichen-paar.nur-dunkel .auf-dunkel { display: block; }
.kopf-nav { display: flex; align-items: center; gap: 4px; }
.kopf-link {
  display: inline-flex; align-items: center; height: 40px; padding: 8px 16px; border-radius: 999px;
  font-size: 14px; line-height: 20px; letter-spacing: -.13px; transition: background-color .15s var(--kurve-schnell);
}
@media (hover: hover) and (pointer: fine) { .kopf-link:hover { background: var(--flaeche); } }
.kopf-nav .knopf { margin-left: 8px; }
@media (max-width: 767px) { .kopf-link { padding-inline: 12px; } }
/* Sechs Links plus Knöpfe (seit „Rechner", 06.11.2026) brauchen neben dem 161 px breiten Logo rund 820 px: darunter
   steht das Menü in der Zeile statt der Einzellinks (Logo links bleibt), bis 959 engere Links, sonst stoßen sie bei
   16 px Innenabstand ans Logo. Gemessen mit Rechner und Lexikon im Kopf. */
@media (max-width: 839px) { .nur-breit { display: none; } }
@media (min-width: 840px) and (max-width: 959px) { .kopf-link { padding-inline: 8px; } }

/* Menü (nur unter 768): grauer Knopf, darunter eine Karte mit den Sprungzielen. Schwebt wie die Leiste, daher deren
   Haarlinie und Schatten. */
.menue { position: relative; }
.menue summary { list-style: none; }
.menue summary::-webkit-details-marker { display: none; }
/* Drei Striche statt des Worts „Menü“ (Eric 20.10.2026): runder grauer Knopf 40 × 40, offen ein Kreuz */
.menue-knopf { width: 40px; padding: 0; }
.menue-knopf svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.menue .menue-auf, .menue[open] .menue-zu { display: none; }
.menue[open] .menue-auf { display: block; }
.menue-liste {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; display: grid; min-width: 220px; padding: 8px;
  border-radius: 20px; background: var(--karte); color: var(--tinte);
  box-shadow: 0 0 0 1px var(--hauch-2), 0 8px 24px -8px rgba(0, 0, 0, .18);
}
.menue-liste a { display: flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; line-height: 20px; letter-spacing: -.13px; }
@media (hover: hover) and (pointer: fine) { .menue-liste a:hover { background: var(--flaeche); } }
@media (min-width: 840px) { .nur-schmal { display: none; } }
/* 768 bis 839: Menü rechts in der Zeile, die Karte öffnet bündig rechts, damit sie nicht über den Rand läuft */
@media (min-width: 768px) and (max-width: 839px) { .menue-liste { left: auto; right: 0; } }
/* Unter 768: Logo oben mittig, darunter Menü, Anmelden und Start mittig; unter 360 steht Anmelden nur im Menü.
   Abstand zwischen Logo und Knöpfen 20 (Eric 20.10.2026, vorher 12: zu eng). */
@media (max-width: 767px) {
  .kopf { flex-wrap: wrap; justify-content: center; row-gap: 20px; height: auto; }
  .kopf .logo { flex: 0 0 100%; justify-content: center; }
  .kopf-nav { flex: 0 0 100%; justify-content: center; gap: 8px; }
  .kopf-nav .knopf { margin-left: 0; }
}
@media (max-width: 359px) { .kopf-anmelden { display: none; } }

/* Hero */
.held { position: relative; flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.held-text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px var(--rand) 0; }
.held-h1 {
  display: inline-flex; align-items: center; min-height: 32px; max-width: 100%; padding: 6px 14px; margin-bottom: 20px;
  background: var(--flaeche); border-radius: 999px;
  font-family: var(--sans); font-size: 13px; line-height: 18px; font-weight: 400; letter-spacing: -.1px; color: var(--neben);
  text-wrap: balance;
}
.claim { max-width: 760px; font-size: 44px; line-height: 44px; letter-spacing: -1.32px; text-wrap: balance; }
.held-sub { max-width: 683px; margin-top: 24px; font-size: 16px; line-height: 24px; letter-spacing: -.18px; text-wrap: balance; }
.knopfreihe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
@media (min-width: 768px) {
  .held-text { padding-top: 48px; }
  .claim { font-size: 72px; line-height: 72px; letter-spacing: -2.16px; }
}

.welle { position: relative; flex: 1; min-height: 300px; pointer-events: none; } /* Platzhalter: hält Raum fürs Gitter frei */

/* Laufband */
.laufband {
  position: relative; z-index: 2; overflow: hidden; padding: 28px 0 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.laufband-spur { display: flex; width: max-content; }
.laufband ul { display: flex; flex: none; gap: 56px; padding-right: 56px; animation: lauf 40s linear infinite; }
.laufband li { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; line-height: 24px; font-weight: 500; letter-spacing: -.3px; white-space: nowrap; }
@keyframes lauf { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* Stimme unter dem Hero: Zitat von Onkel Immo, mittig. Keine Preise an dieser Stelle (Eric 17.10.2026). */
.stimme-zeile { display: grid; justify-items: center; padding-top: 8px; padding-bottom: 56px; text-align: center; }
.stimme-zeile .stimme { max-width: 560px; }
.stimme-zeile figcaption { justify-content: center; }
.stimme blockquote { font-size: 14px; line-height: 20px; letter-spacing: -.18px; color: var(--neben); }
.stimme figcaption { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 16px; }
.stimme-bild { flex: none; } /* Gesicht ohne Schriftzug, 56 hoch wie in der Kopfzeile */
.stimme figcaption span { display: flex; flex-direction: column; font-size: 13px; line-height: 20px; }
.stimme figcaption b { font-weight: 400; }
.stimme figcaption small { color: var(--neben); font-size: 13px; }

/* Vorführkarte */
#beispiel { padding-bottom: 32px; }   /* darunter die Trennlinie wie nach einem Funktionsblock (32 + 48), seit die Funktionsübersicht unter den Kacheln steht */
/* Keine feste Höhe (Eric 18.10.2026: mehr vom Screenshot zeigen): Die Karte endet mit dem Anschnitt des Bildes, das
   Bildfeld zeigt 88 Prozent der Bildhöhe (Screenshot 1560 × 960). So passt es auf jeder Breite, ohne leeren Rand. */
.vorfuehrung {
  position: relative; overflow: hidden; border-radius: 24px; background: var(--flaeche);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.vorfuehrung-text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px var(--rand) 0; }
.vorfuehrung-text .t2 { margin-top: 4px; }
.vorfuehrung-text .leise { font-size: 14px; line-height: 20px; margin-bottom: 12px; }
.dachzeile { font-size: 14px; line-height: 20px; }
.vorfuehrung-bild { position: relative; z-index: 1; width: min(92%, 1040px); margin-top: 48px; aspect-ratio: 1560 / 845; min-height: 0; }
.vorfuehrung-bild img {
  width: 100%; height: auto; border-radius: 14px 14px 0 0;
  box-shadow: var(--schatten-bild);
}

/* Abschnittskopf */
.abschnitt-kopf { padding-top: 16px; padding-bottom: 72px; }
/* Große Zeile über einem Modul (Abschnittskopf, Schritte, Vergleich): höchstens 760 px wie Claim und Abschluss,
   höchstens zwei Zeilen. In einer Spalte gilt die Spalte (Funktionsblock 560), in einer Karte die Karte. */
.abschnitt-kopf h2, .abschnitt-kopf .t2, .schritte-abschnitt h2 { max-width: 760px; }
.abschnitt-kopf .dachzeile + .t2 { margin-top: 12px; }
.abschnitt-kopf p:not(.t2) { max-width: 560px; margin-top: 24px; font-size: 14px; line-height: 20px; letter-spacing: -.18px; }

/* Funktionsblöcke */
.block { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }
.block + .block { padding-top: 32px; }
.block-text { display: flex; flex-direction: column; }
.etikett {
  align-self: flex-start; display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
  background: var(--flaeche); border-radius: 999px; font-size: 14px; line-height: 20px; letter-spacing: -.13px;
}
.block-text .t2 { margin-top: 16px; max-width: 560px; }
.punkte { margin-top: 48px; }
.punkt { position: relative; border-top: 1px solid var(--linie); }
.punkt h3 { font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 24px; letter-spacing: 0; }
.punkt button { width: 100%; padding: 24px 0; border: 0; background: none; text-align: left; cursor: pointer; transition: color .15s var(--kurve-schnell), padding-bottom .4s var(--kurve); }
.punkt.ist-offen button { padding-bottom: 12px; }
.punkt:not(.ist-offen) button { color: var(--tinte-70); }
@media (hover: hover) and (pointer: fine) { .punkt button:hover { color: var(--tinte); } }
.punkt-inhalt { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--kurve); }
.punkt-inhalt > div { overflow: hidden; }
.punkt-inhalt p { max-width: 400px; padding-bottom: 24px; font-size: 14px; line-height: 20px; letter-spacing: -.18px; color: var(--neben); opacity: 0; transition: opacity .4s var(--kurve); }
.punkt.ist-offen .punkt-inhalt { grid-template-rows: 1fr; }
.punkt.ist-offen .punkt-inhalt p { opacity: 1; }
.punkt-fortschritt { position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--tinte); }
.punkt.ist-offen.laeuft .punkt-fortschritt { animation: fortschritt 8s linear forwards; }
@keyframes fortschritt { from { width: 0; } to { width: 100%; } }

.block-bild {
  position: relative; overflow: hidden; border-radius: 32px; background: var(--flaeche);
  aspect-ratio: 661 / 640; display: grid; place-items: center;
}
.block-bild canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.block-bild img {
  position: relative; z-index: 1; width: 86%; height: auto; border-radius: 14px;
  box-shadow: var(--schatten-bild);
}
/* Startseite: je Block eine Karte der App in zwei Fassungen (Eric 02.11.2026), aufgenommen in der Breite, in der sie hier
   erscheint: Handy und Tablet 360 px, Desktop ab 1200 px 520 px. Der Radius folgt dem der Karte (32 von 360 bzw. 520) und
   wächst mit der Kachel, sonst blieben weiße Zwickel in den Ecken. Unter 1200 ist der Rahmen höher, damit die Handy-Fassung
   mit Rand im Gitter steht. Das Lexikon behält seine Bilder und Regeln (.lx-analyse ohne .block). */
.block .block-bild { container-type: inline-size; }
.block .block-bild picture { display: contents; }
.block .block-bild img { width: 90%; border-radius: calc(90cqw * 32 / 360); }
@media (max-width: 1199px) { .block .block-bild { aspect-ratio: 100 / 118; } }
@media (min-width: 1200px) { .block .block-bild img { border-radius: calc(90cqw * 32 / 520); } }
@media (min-width: 768px) {
  .block { grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
  .block-text { justify-content: center; padding: 48px 0; }
  .block-links .block-text { order: 2; }
  .block-links .block-bild { order: 1; }
  .block-bild { width: 100%; } /* sonst verbreitert das Seitenverhältnis die Kachel über ihre Spalte hinaus */
  .punkte { margin-top: 112px; }
}

/* Drei Schritte */
.schritte-abschnitt h2 { margin-top: 48px; }
.schritte-raster { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 64px; padding-bottom: 32px; }
.schritt { padding: 24px 0; border-top: 1px solid var(--linie); }
.schritt:first-child { border-top: 0; padding-top: 0; }
/* Die Frage des Käufers in Titelschrift 28 (wie h3 der Kacheln), darunter Onkel Immos Antwort (Eric 21.10.2026) */
.schritt-frage { font-size: 28px; line-height: 32px; letter-spacing: -.84px; text-wrap: balance; }
/* Schritte als Knöpfe (Eric 18.10.2026): der aktive in Tinte, die übrigen in --neben; das Bild rechts wechselt mit */
.schritt-knopf { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.schritt-frage { display: block; }
.schritt-text { display: block; max-width: 360px; margin-top: 8px; font-size: 14px; line-height: 20px; letter-spacing: -.18px; }
.schritt { transition: color .3s var(--kurve-schnell); }
.schritt:not(.ist-aktiv) { color: var(--neben); }
@media (hover: hover) and (pointer: fine) { .schritt:not(.ist-aktiv):hover { color: var(--tinte); } }
.schritte-aktion { margin-top: 64px; }
.schritte-aktion .leise { margin-top: 20px; font-size: 14px; line-height: 20px; }
.schritte-bild { display: grid; place-items: center; padding: 48px 32px; border-radius: 32px; background: var(--flaeche); }
/* Drei App-Fenster übereinander, das aktive blendet weich über */
.schritte-folien { display: grid; width: 100%; }
.schritte-folien picture { display: contents; } /* Bildwechsel Handy/Desktop, das img bleibt Rasterelement für seite.js */
.schritte-folien img { grid-area: 1 / 1; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--schatten-bild); opacity: 0; transition: opacity .5s var(--kurve); }
.schritte-folien img.ist-aktiv { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .schritte-folien img { transition: none; } }
@media (min-width: 1024px) { .schritte-raster { grid-template-columns: 420px 1fr; gap: 40px; } }

/* Kacheln: großer Standort-Check und drei kleine Vorteile */
.kacheln { display: grid; grid-template-columns: 1fr; gap: 12px; padding-bottom: 72px; }
.kachel { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 28px; border-radius: 32px; background: var(--flaeche); }
.kachel .klein { max-width: 260px; }
.kachel.gross { align-items: center; justify-content: flex-start; gap: 0; padding: 64px 16px 72px; text-align: center; }
.kachel.gross .t2 { margin: 0; }
.kachel.gross > .leise { max-width: 420px; margin-top: 12px; font-size: 14px; line-height: 20px; }
.kachel-spalte { display: grid; gap: 12px; }
@media (max-width: 599px) {
      }
/* Deutschlandkarte im Standort-Check (Entwurf, Eric 17.10.2026; Geometrie aus marke/karte/karte.py): querformatiger
   Ausschnitt aus der Mitte Deutschlands als engmaschiges Punkteraster, Großstädte als Knoten mit feinen Verbindungen.
   Höchstens 640 breit (rund 280 hoch), damit die Kachel nicht höher wird als die Spalte rechts; oben und unten blendet
   der Ausschnitt weich aus. Die Städte leuchten versetzt in Pink und Lila auf (Gitterfarben), Takt 6 s, Stufen s0 bis
   s5 (nicht t2/t3, das sind die Klassen der großen Zeilen). Maße im SVG in Karteneinheiten (rund 2,6 px je Einheit bei voller Breite). Bei „Bewegung reduzieren" still. */
.karte { display: flex; justify-content: center; width: 100%; margin: 32px 0 24px; }
.karte-bild {
  width: 100%; max-width: 640px; height: auto; overflow: visible;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}
.karte-raster { fill: none; stroke: var(--tinte); stroke-opacity: .2; stroke-linecap: round; }
.karte-netz line { stroke: var(--tinte); stroke-opacity: .16; stroke-width: 1; vector-effect: non-scaling-stroke; }
.karte text { font-family: var(--sans); font-size: 4.6px; fill: var(--neben); paint-order: stroke; stroke: var(--flaeche); stroke-width: 1.4px; stroke-linejoin: round; text-rendering: geometricPrecision; }
/* Rand in Kachelfarbe: Linien laufen hinter dem Namen. geometricPrecision: sonst rundet der Browser die Abstände
   bei der kleinen Schriftgröße im SVG vor dem Vergrößern, die Buchstaben schieben sich ineinander (Leipzig). */
@media (max-width: 599px) { .karte text { font-size: 7.5px; } } /* Handy: Karte nur rund 310 breit, Namen sonst unter 6 px */
.stadt.pink { color: #ff5c93; }
.stadt.lila { color: var(--lila); }
.stadt .kern { fill: var(--tinte); animation: karte-kern 6s linear infinite; }
.stadt .puls { fill: currentColor; opacity: 0; transform-box: fill-box; transform-origin: center; animation: karte-puls 6s cubic-bezier(.215, .61, .355, 1) infinite; }
.stadt.s1 circle { animation-delay: 1s; } .stadt.s2 circle { animation-delay: 2s; } .stadt.s3 circle { animation-delay: 3s; }
.stadt.s4 circle { animation-delay: 4s; } .stadt.s5 circle { animation-delay: 5s; }
@keyframes karte-puls { 0% { transform: scale(1); opacity: .5; } 35%, 100% { transform: scale(5.5); opacity: 0; } }
@keyframes karte-kern { 0%, 30% { fill: currentColor; } 45%, 100% { fill: var(--tinte); } }
/* Eingegebener Ort (karte.js): pink, pulsiert schneller und dauerhaft, Name darüber in Schriftfarbe. */
.stadt.eingabe { color: var(--pink); }
.stadt.eingabe .kern { fill: currentColor; animation: none; }
.stadt.eingabe .puls { animation: karte-puls 2s cubic-bezier(.215, .61, .355, 1) infinite; }
.stadt.eingabe text { fill: var(--tinte); font-weight: 500; }
.stadt.unter-eingabe { display: none; }
@media (prefers-reduced-motion: reduce) { .stadt .kern, .stadt .puls { animation: none; } .stadt .kern { fill: currentColor; } }
.pruefen { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; max-width: 480px; margin-top: 16px; }
.pruefen input {
  flex: 1 1 220px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--karte);
  font-size: 16px; letter-spacing: -.18px; /* unter 16 px zoomt iOS beim Antippen */
}
.pruefen input::placeholder { color: var(--leise); }
.dc-ziel { width: 100%; max-width: 560px; text-align: left; }
.dc-ziel:not(:empty) { margin-top: 24px; }
.dc-karte { padding: 20px; border-radius: 20px; background: var(--karte); }
.dc-kopf { display: flex; gap: 12px; align-items: flex-start; }
.dc-kopf strong { display: block; font-weight: 500; font-size: 15px; line-height: 22px; }
.dc-kopf span:not(.dc-stern) { display: block; font-size: 13px; line-height: 20px; color: var(--neben); }
.dc-stern, .dc-marke { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; background: var(--flaeche); }
.dc-stern, .dc-marke.ja { background: var(--tinte); color: var(--grund); }
.dc-liste { display: grid; gap: 12px; margin-top: 16px; }
.dc-liste li { display: flex; gap: 12px; }
.dc-liste b { display: block; font-weight: 500; font-size: 14px; line-height: 20px; }
.dc-liste p { font-size: 13px; line-height: 19px; color: var(--neben); }
.dc-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--linie); }
.dc-fuss small { flex: 1 1 240px; font-size: 12px; line-height: 16px; color: var(--leise); }
.dc-fuss .knopf { background: var(--tinte); color: var(--grund); }
.dc-fehler { font-size: 14px; color: var(--neben); }
@media (min-width: 1024px) { .kacheln { grid-template-columns: 1.52fr 1fr; } .kachel-spalte { grid-template-rows: repeat(3, 1fr); } }

/* Preise, an der Stelle der Kundenstimmen */
.preise { padding-top: 48px; }
.sektion-marke { font-size: 20px; line-height: 20px; letter-spacing: -.6px; color: var(--neben); }
.preise-satz { max-width: 1200px; margin-top: 40px; font-size: 32px; line-height: 34px; letter-spacing: -.9px; text-wrap: balance; }
.preis-raster { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 56px; }
.preis { display: flex; flex-direction: column; padding: 28px; border-radius: 32px; background: var(--flaeche); }
.preis .t3 { display: flex; align-items: center; gap: 10px; }
.preis .t3 + .leise { min-height: 40px; margin-top: 12px; }
.preis-betrag { margin-top: 28px; font-size: 48px; line-height: 48px; letter-spacing: -1.4px; }
.preis-betrag + .leise { margin-top: 6px; }
.preis ul { display: grid; gap: 8px; margin: 24px 0 28px; font-size: 14px; line-height: 20px; letter-spacing: -.18px; }
.preis li { padding-left: 20px; position: relative; }
.preis li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 5px; border-left: 1.5px solid var(--tinte); border-bottom: 1.5px solid var(--tinte); transform: rotate(-45deg); }
.preis .knopf { margin-top: auto; }
.preis .knopf.grau { background: var(--karte); }
@media (hover: hover) and (pointer: fine) { .preis .knopf.grau:hover { background: var(--karte); box-shadow: inset 0 0 0 1px var(--hauch-2); } }
.preis.hervor { background: var(--karte); box-shadow: inset 0 0 0 1px var(--hauch-2); }
.beliebt { font-family: var(--sans); font-size: 12px; line-height: 16px; padding: 3px 9px; border-radius: 999px; background: var(--pink); color: #fff; letter-spacing: 0; }
.preise-fuss { margin-top: 20px; }
@media (min-width: 768px) {
  .preise-satz { font-size: 40px; line-height: 40px; letter-spacing: -1.2px; }
  .preis-raster { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) { .preis-raster { grid-template-columns: repeat(4, 1fr); } }

/* Häufige Fragen */
.fragen { padding-top: 40px; padding-bottom: 40px; }
.fragen-liste { margin-top: 32px; }
.frage h3 { font-size: 28px; line-height: 28px; }
.frage button {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%;
  padding: 8px 0; border: 0; background: none; text-align: left; cursor: pointer;
  font: inherit; letter-spacing: inherit;
}
.plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--hauch); transition: background-color .15s var(--kurve-schnell); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: var(--tinte); transform: translate(-50%, -50%); transition: transform .4s var(--kurve); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
@media (hover: hover) and (pointer: fine) { .frage button:hover .plus { background: var(--hauch-2); } }
.frage.ist-offen .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.frage-inhalt { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--kurve); }
.frage-inhalt > div { overflow: hidden; }
.frage-inhalt p { max-width: 720px; padding: 4px 0 24px; font-size: 16px; line-height: 24px; letter-spacing: -.18px; color: var(--neben); opacity: 0; transition: opacity .4s var(--kurve); }
.frage.ist-offen .frage-inhalt { grid-template-rows: 1fr; }
.frage.ist-offen .frage-inhalt p { opacity: 1; }
.frage + .frage { margin-top: 8px; }

/* Abschluss: volle Breite und dunkel wie der Hero, Text oben, das Punkte-Gitter läuft darunter in die Tiefe.
   Geht nahtlos in die dunkle Fußzeile (.ende) über. */
.abschluss { position: relative; overflow: hidden; min-height: 600px; margin-top: 48px; padding: 104px var(--rand) 0; text-align: center; }
.abschluss-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.abschluss-text .t2 { max-width: 760px; font-size: 44px; text-wrap: balance; }
.abschluss-text .leise { font-size: 16px; line-height: 24px; letter-spacing: -.18px; }
.abschluss-text .knopfreihe { margin-top: 8px; }
@media (min-width: 768px) { .abschluss-text .t2 { font-size: 56px; } .abschluss { min-height: 680px; } }
/* Dunkle Fußzeile der Startseite: gleicher Grund wie der Abschluss, nur eine feine Linie trennt. */
.ende .ende-linie { margin: 0; }

/* Fußzeile */
.fuss { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 32px; padding-bottom: 168px; }
.fuss-logo { margin-bottom: 8px; color: var(--tinte); } /* Logo oben links in voller Schriftfarbe, 24 bis zum ersten Absatz */
.fuss-text { display: grid; align-content: start; gap: 16px; max-width: 800px; font-size: 12px; line-height: 16px; letter-spacing: .01px; color: var(--leise); }
.fuss-spalte { display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 20px; }
.fuss-spalte a { padding: 12px 0; margin: -12px 0; } /* Trefferfläche 44 hoch, Abstände bleiben */
.fuss-kopf { color: var(--neben); margin-bottom: 4px; }
@media (hover: hover) and (pointer: fine) { .fuss-spalte a:hover { text-decoration: underline; text-underline-offset: 3px; } }
@media (min-width: 1024px) { .fuss { grid-template-columns: 1fr 200px 200px; } }

/* Mitlaufende Leiste unten: Standort-Check und Start, an der Stelle des Chatfelds der Vorlage */
/* Steht das Laufband im Hero im Streifen der Leiste, hebt seite.js sie per --leiste-hub darüber. Bewegung über
   transform (weich, ohne Layout), 0,9 s mit sanftem Ein- und Auslauf. Mit Skript erscheint die Leiste erst, wenn ihre
   Lage feststeht (.bereit), sonst sähe man sie beim Laden von unten hochspringen. */
.leiste {
  position: fixed; z-index: 50; left: 50%; bottom: 16px; transform: translate(-50%, var(--leiste-hub, 0px));
  transition: transform .9s cubic-bezier(.45, 0, .2, 1), opacity .4s var(--kurve);
  display: flex; align-items: center; gap: 8px; width: min(560px, calc(100% - 24px));
}
.leiste-feld {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 8px 0 6px;
  background: var(--karte); border-radius: 999px;
  box-shadow: 0 0 0 1px var(--hauch-2), 0 8px 24px -8px rgba(0, 0, 0, .18);
}
.leiste-bild { flex: none; display: grid; place-items: center; width: 34px; height: 34px; } /* Mikrozeichen des Logos, 24 hoch */
.leiste-feld input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: 16px; letter-spacing: -.18px; }
.leiste-feld input:focus { outline: none; }
.leiste-feld:focus-within { box-shadow: 0 0 0 2px var(--tinte), 0 8px 24px -8px rgba(0, 0, 0, .18); }
.leiste-feld input::placeholder { color: var(--leise); }
.leiste-senden { position: relative; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--tinte); color: var(--grund); cursor: pointer; transition: transform .1s var(--kurve-schnell); }
.leiste-senden::after { content: ""; position: absolute; inset: -6px; } /* Trefferfläche 44 */
.leiste-senden:active { transform: scale(.94); }
.leiste-senden svg { width: 16px; height: 16px; }
.leiste-knopf { flex: none; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35); }
@media (max-width: 479px) { .leiste-knopf { display: none; } }
html.js .leiste:not(.bereit) { opacity: 0; transition: none; }
@media (prefers-reduced-motion: reduce) { .leiste { transition: none; } }


/* Vergleichstabelle (Eric 17.10.2026): eine Standard-Kachel, links Thema und übliche Rechner gedämpft, rechts
   Onkel Immo als weiße Karte in der Kachel (Radius 20) mit dem Haken der Preisliste. Darunter der Aufruf.
   Nur Tokens und Maße aus DESIGN.md. Unter 768 wird jede Zeile ein Block, Onkel Immo als eigene Karte darunter. */
/* Aufruf unter einem Modul (Funktionsblock, Vergleich): 48 Abstand, schwarzer Knopf, optional ein Satz 20 darunter. */
.aktion { margin-top: 48px; }
.aktion .leise { margin-top: 20px; }
/* Hinweis unter einem Text, etwa „In der Komplettanalyse“: eigene Zeile, fein, leise. Kacheln am Standort-Check. */
.hinweis { display: block; margin-top: 4px; font-size: 12px; line-height: 16px; letter-spacing: 0; color: var(--leise); }
/* Der Markenname wird nie getrennt (große Zeilen trennen sonst automatisch „On-kel“). */
/* Funktionsübersicht (Eric 18.10.2026): unter dem Abschnittskopf „Alles, was über deinen Kauf entscheidet“, vor den
   Funktionsblöcken. Abstand zum ersten Block wie zwischen zwei Blöcken (32 + 32). */
.funktionen { padding-bottom: 32px; }   /* darunter die Trennlinie wie nach dem letzten Block (Eric 18.10.2026) */

/* Mosaik wie die Kachelgruppe (Radius 32, Innenabstand 28, Lücke 12), je Gruppe ein echter Einblick
   aus der Beispielanalyse. Farbe nur als Licht: Pink für deinen Preis, Lila für die Vergleichsobjekte. */
.fu-mosaik { display: grid; grid-template-columns: 1fr; gap: 12px; }
.fu-kachel { display: flex; flex-direction: column; gap: 32px; padding: 28px; border-radius: 32px; background: var(--flaeche); }
.fu-kachel > .fu-punkte { margin-top: auto; }
.fu-punkte { display: grid; gap: 8px; font-size: 14px; line-height: 20px; letter-spacing: -.18px; }
.fu-punkte li { position: relative; padding-left: 20px; }
.fu-punkte li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 5px; border-left: 1.5px solid var(--tinte); border-bottom: 1.5px solid var(--tinte); transform: rotate(-45deg); }
/* Preisband als weiße Karte wie die Kennzahlen der App: oben die drei Werte mit Farbpunkt, darunter die Spanne der
   Vergleichsobjekte als weiche Spur, Punkte mit weißem Rand, Marken für deinen Preis und den Marktwert, leise Skala. */
.fu-markt { display: grid; gap: 20px; padding: 20px; border-radius: 20px; background: var(--karte); }
.fu-markt-werte { display: grid; grid-template-columns: 1fr; gap: 12px; }
.fu-markt-werte p { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 8px; }
.fu-legende { width: 8px; height: 8px; border-radius: 50%; }
.fu-legende.pink { background: var(--pink); }
.fu-legende.tinte { background: var(--tinte); }
.fu-legende.lila { background: var(--lila); }
.fu-wert { font-family: var(--titel); font-weight: var(--titel-gewicht); font-size: 24px; line-height: 28px; letter-spacing: var(--titel-spur); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fu-band { width: 100%; height: auto; overflow: visible; }
.fu-band .fu-spur { fill: var(--flaeche); }
.fu-band .fu-vergleich { fill: var(--lila); stroke: var(--karte); stroke-width: 2; }
.fu-band .fu-markt-marke { stroke: var(--tinte); stroke-width: 2; stroke-linecap: round; }
.fu-band .fu-dein { stroke: var(--pink); stroke-width: 3; stroke-linecap: round; }
/* Skala als eigenes SVG unter dem Band (Review 02.11.2026): im Band-SVG schrumpfte sie mit auf 7,5 px */
.fu-skala { display: block; overflow: visible; margin-top: -12px; }
.fu-skala text { font-family: var(--sans); font-size: 12px; fill: var(--leise); }
/* Handy: Band nur 230 bis 280 breit, Zahlen etwas kleiner */
@media (max-width: 599px) {
  .fu-markt { padding: 16px; }
  .fu-markt .fu-wert { font-size: 20px; line-height: 24px; }
}
/* Breit genug: die drei Werte nebeneinander, Bezeichnung über der Zahl. Gemessen an der Karte selbst, nicht am Fenster:
   bei 1024 war sie nur 311 breit und die Bezeichnungen brachen mitten im Wort (Review 02.11.2026) */
.fu-markt { container-type: inline-size; }
@container (min-width: 440px) {
  .fu-markt-werte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .fu-markt-werte p { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; row-gap: 4px; }
  .fu-markt-werte .fu-wert { grid-column: 1 / 3; }
}
.fu-zahl { display: flex; flex-direction: column; gap: 8px; font-family: var(--titel); font-weight: var(--titel-gewicht); font-size: 56px; line-height: 56px; letter-spacing: var(--titel-spur); font-variant-numeric: tabular-nums; }
.fu-zahl .klein { font-family: var(--sans); font-weight: 400; max-width: 260px; }
.fu-plan { display: grid; max-width: 420px; padding: 8px 20px; border-radius: 20px; background: var(--karte); font-size: 14px; line-height: 20px; letter-spacing: -.18px; }
.fu-plan p { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-variant-numeric: tabular-nums; }
.fu-plan p + p { border-top: 1px solid var(--linie); }
.fu-plan .fu-plan-summe { font-weight: 500; }
@media (min-width: 768px) { .fu-mosaik { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .fu-mosaik { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fu-kachel { min-height: 360px; }
  /* Breite Kacheln (Eric 18.10.2026): links Titel und Einblick, rechts die Stichpunkte untereinander, an den
     rechten Rand gesetzt und unten ausgerichtet wie in den schmalen Kacheln */
  .fu-breit { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.6fr) auto; grid-template-rows: auto 1fr; column-gap: 48px; }
  .fu-breit > h3 { grid-column: 1; grid-row: 1; }
  .fu-breit > .fu-markt, .fu-breit > .fu-plan { grid-column: 1; grid-row: 2; align-self: end; }
  .fu-breit > .fu-punkte { grid-column: 2; grid-row: 1 / 3; align-self: end; justify-self: end; }
}

.markenname { white-space: nowrap; hyphens: manual; }
.vergleich { padding-bottom: 32px; }
.vergleich-tafel { padding: 8px 8px 8px 28px; border-radius: 32px; background: var(--flaeche); }
.vergleich-tafel table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 20px; letter-spacing: -.18px; }
.vergleich-tafel th, .vergleich-tafel td { padding: 20px 24px; text-align: left; vertical-align: top; font-weight: 400; }
.vergleich-tafel thead th { padding-top: 28px; padding-bottom: 20px; font-family: var(--titel); font-weight: var(--titel-gewicht); font-size: 20px; line-height: var(--titel-zeile); letter-spacing: var(--titel-spur); }
.vergleich-tafel thead th.andere { color: var(--neben); }
.vergleich-tafel th:first-child { padding-left: 0; }
.vergleich-tafel tbody th { font-weight: 500; }
.vergleich-tafel tbody tr > * { border-top: 1px solid var(--linie); }
.vergleich-tafel td.andere { color: var(--neben); }
.vergleich-tafel .wir { background: var(--karte); }
.vergleich-tafel thead th.wir { border-radius: 20px 20px 0 0; }
.vergleich-tafel tbody tr:last-child td.wir { border-radius: 0 0 20px 20px; }
.vergleich-tafel tbody td.wir { font-size: 16px; line-height: 24px; }
.vergleich-marke { display: inline-flex; align-items: center; gap: 8px; }
.vergleich-tafel .haken { position: relative; display: block; padding-left: 20px; }
.vergleich-tafel .haken::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 5px; border-left: 1.5px solid var(--tinte); border-bottom: 1.5px solid var(--tinte); transform: rotate(-45deg); }
@media (min-width: 768px) {
  .vergleich-tafel thead th:first-child { width: 16%; }
  .vergleich-tafel thead th.andere { width: 34%; }
}
@media (max-width: 767px) {
  .vergleich-tafel { padding: 8px; }
  .vergleich-tafel table, .vergleich-tafel tbody, .vergleich-tafel tr, .vergleich-tafel th, .vergleich-tafel td { display: block; width: auto; }
  .vergleich-tafel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vergleich-tafel tbody tr > * { border-top: 0; }
  .vergleich-tafel tbody tr + tr { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--linie); }
  .vergleich-tafel tbody th, .vergleich-tafel th:first-child { padding: 12px 12px 4px; }
  .vergleich-tafel td.andere { padding: 4px 12px 12px; }
  .vergleich-tafel td::before { content: attr(data-wer); display: block; margin-bottom: 4px; font-size: 12px; line-height: 16px; color: var(--leise); }
  .vergleich-tafel td.wir, .vergleich-tafel tbody tr:last-child td.wir { padding: 16px; border-radius: 20px; }
}

/* Lexikon (Eric 17.10.2026, marketing/lexikon/landingpage.md, DESIGN.md 8.1). Freigegebene Bausteine: Seitenkopf
   kompakt, Lesespalte mit Randspalte, Skala, Begriffsnetz. Alles andere aus vorhandenen Bausteinen. */

/* Seitenkopf kompakt: dunkel, volle Breite, Brotkrumen, große Zeile als H1, Kurzdefinition. Das Punktegitter des Hero
   (.raster) liegt als Band von 340 unten (wie .welle im Hero), damit die Welle unter dem Text ausläuft und nicht hinter
   der Kurzdefinition liegt. Unten 176 Platz (Bausteinmaß wie die 340 der Welle). */
/* Senkrecht nicht beschneiden: die Trefferliste der Suche darf über die Unterkante hinausragen (Eric 18.10.2026: wurde
   abgeschnitten). Seitlich weiter beschneiden, das Gitter beschneidet sich selbst. */
.seitenkopf { position: relative; overflow-x: clip; padding: 40px 0 176px; }
.seitenkopf > .raster { top: auto; height: 340px; overflow: hidden; }
.seitenkopf > .rahmen { position: relative; z-index: 1; }
.brotkrumen { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; line-height: 20px; color: var(--leise); }
.brotkrumen a { color: var(--neben); }
@media (hover: hover) and (pointer: fine) { .brotkrumen a:hover { color: var(--tinte); } }
.seitenkopf-titel { max-width: 760px; margin-top: 24px; font-family: var(--titel); font-weight: var(--titel-gewicht); font-size: 44px;
  line-height: var(--titel-zeile); letter-spacing: var(--titel-spur); text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.seitenkopf-text { max-width: 683px; margin-top: 24px; font-size: 16px; line-height: 24px; letter-spacing: -.18px; color: var(--tinte-70); }
.seitenkopf-auch { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--leise); }
.seitenkopf-auch b { font-weight: 500; color: var(--neben); }
/* Absender der Begriffsseite: „Erklärt von Onkel Immo" kursiv, ohne Logo (Eric 17.10.2026), dahinter das Prüfdatum */
.seitenkopf-absender { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--neben); }
.seitenkopf-absender em { font-style: italic; }
.seitenkopf-absender a, .lx-quellen p a, .lx-methodik-hinweis a { color: inherit; text-decoration: underline; text-decoration-color: var(--hauch-2); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .seitenkopf-absender a:hover, .lx-quellen p a:hover, .lx-methodik-hinweis a:hover { text-decoration-color: currentColor; } }
.lx-methodik-hinweis { margin-top: 32px; }
/* Datenstudien (/studien/): Tabellen dürfen die ganze Breite nutzen, Fließtext bleibt bei 760. */
.lx-raster.lx-studie { grid-template-columns: minmax(0, 1fr); }
.lx-raster.lx-studie .lx-text { max-width: 1080px; }
.lx-studie .lx-absatz, .lx-studie .lx-titel, .lx-studie .lx-unter, .lx-studie .lx-blick { max-width: 760px; }
.lx-studie .lx-werte th[scope="row"] { white-space: nowrap; }
.lx-suche { position: relative; max-width: 560px; margin-top: 32px; }
.lx-suche .leiste-feld { padding: 0 20px; }
.lx-suche input { padding: 0; }
/* Treffer unter dem Suchfeld (Eric 18.10.2026): Karte wie das Menü, volle Feldbreite, Zeilen 40 rund; Begriff links,
   Thema rechts leise; die letzte Zeile filtert die Liste von A bis Z */
.lx-vorschlaege { right: 0; text-align: left; }
.lx-vorschlaege[hidden], .lx-filter[hidden] { display: none; }
.lx-vorschlaege a, .lx-vorschlaege button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: inherit; font: inherit; font-size: 14px; line-height: 20px; letter-spacing: -.13px; text-align: left; cursor: pointer; }
.lx-vorschlaege .aktiv { background: var(--flaeche); }
@media (hover: hover) and (pointer: fine) { .lx-vorschlaege a:hover, .lx-vorschlaege button:hover { background: var(--flaeche); } }
.lx-vorschlaege .lx-v-begriff { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-vorschlaege .lx-v-thema { flex: none; font-size: 12px; line-height: 16px; color: var(--leise); }
.lx-vorschlaege .lx-v-trenner { height: 1px; margin: 4px 16px; background: var(--linie); }
.lx-vorschlaege .lx-v-leer { padding: 10px 16px; font-size: 14px; line-height: 20px; color: var(--neben); }
@media (max-width: 479px) { .lx-vorschlaege .lx-v-thema { display: none; } }
.lx-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 14px; line-height: 20px; color: var(--neben); }
@media (min-width: 768px) { .seitenkopf { padding: 48px 0 176px; } .seitenkopf-titel { font-size: 56px; } }

/* Lesespalte und Randspalte: Text höchstens 760 breit, ab 1024 direkt daneben das mitlaufende Inhaltsverzeichnis (260),
   nicht an den rechten Rand geschoben (sonst klafft zwischen Text und Verzeichnis eine Lücke). */
.lx-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.lx-text { max-width: 760px; min-width: 0; }
.lx-rand { order: -1; }
@media (min-width: 1024px) {
  .lx-raster { grid-template-columns: minmax(0, 760px) 260px; gap: 64px; justify-content: start; }
  .lx-rand { order: 0; }
  .lx-inhalt { position: sticky; top: 24px; }
}
/* Unter 1024 grauer Knopf wie „Menü" (Baustein Knopf), ab 1024 offen und nur noch Überschrift der Randspalte. */
.lx-inhalt summary { list-style: none; }
@media (min-width: 1024px) { .lx-inhalt summary.knopf { display: block; height: auto; padding: 0; background: none; color: var(--neben); pointer-events: none; } }
.lx-inhalt summary::-webkit-details-marker { display: none; }
.lx-inhalt ol { display: grid; gap: 8px; margin-top: 12px; padding-left: 16px; border-left: 1px solid var(--linie); font-size: 14px; line-height: 20px; }
.lx-inhalt a { color: var(--neben); }
@media (hover: hover) and (pointer: fine) { .lx-inhalt a:hover { color: var(--tinte); } }
.lx-modul + .lx-modul { margin-top: 72px; }
.lx-titel { margin-bottom: 24px; font-size: 28px; }
.lx-absatz { font-size: 16px; line-height: 24px; letter-spacing: -.18px; }
.lx-unter { margin-top: 20px; }
.lx-absatz + .lx-tafel, .lx-absatz + .lx-skala { margin-top: 24px; }

/* Kachelreihe (Baustein Kacheln) im Lesetext: 1 Spalte, ab 768 drei; Kernbegriffe und Weiterlesen ab 768 zwei, ab 1200
   vier. minmax(0, …) und Silbentrennung: lange Begriffe („Kapitaldienstdeckung") drückten die Spalten sonst bei 768 bis
   1024 über den Rand (bis 328 px Überlauf, gemessen 17.10.2026). */
.lx-blick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 768px) { .lx-blick { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lx-kern, .lx-weiter-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .lx-kern, .lx-weiter-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lx-blick h3, .lx-text .frage h3 span { hyphens: auto; overflow-wrap: anywhere; }
.lx-wert { font-family: var(--titel); font-weight: var(--titel-gewicht); font-size: 40px; line-height: var(--titel-zeile); letter-spacing: var(--titel-spur); overflow-wrap: break-word; }
/* Lange Kennwerte kleiner (Stufe nach Zeichenzahl aus lexikon.php), damit sie in der Kachel bleiben (Eric 18.10.2026) */
.lx-wert.l2 { font-size: 32px; }
.lx-wert.l3 { font-size: 26px; }
.lx-wert.l4 { font-size: 22px; line-height: 1.15; }
/* Käufer-Check und typische Fehler: viel Text je Kachel, daher ab 768 zwei Spalten, Text direkt unter der Überschrift,
   Überschriften ohne automatische Trennung („Miet-art“, Eric 18.10.2026) */
.lx-blick.lx-lang .kachel { justify-content: flex-start; gap: 16px; }
.lx-blick.lx-lang .kachel .klein { max-width: none; }
.lx-blick.lx-lang h3 { hyphens: manual; overflow-wrap: break-word; }
/* Fließtext in Kacheln darf trennen („Unbedenklichkeitsbescheinigung“ lief bei 768 bis 1024 über den Rand) */
.lx-blick .kachel .klein { hyphens: auto; overflow-wrap: break-word; }
@media (min-width: 768px) { .lx-blick.lx-lang { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
a.kachel { transition: background-color .15s var(--kurve-schnell); }
@media (hover: hover) and (pointer: fine) { a.kachel:hover { background: var(--flaeche-tief); } }

/* Tafel: Standard-Kachel mit Karte darin (Formel, Nicht verwechseln) oder Tabelle (Rechenbeispiel) */
.lx-tafel { padding: 8px; border-radius: 32px; background: var(--flaeche); }
.lx-karte { padding: 20px; border-radius: 20px; background: var(--karte); }
@media (min-width: 768px) { .lx-karte { padding: 28px; } }
.lx-formel { font-family: var(--titel); font-weight: var(--titel-gewicht); font-size: 24px; line-height: var(--titel-zeile); letter-spacing: var(--titel-spur); }
.lx-variablen { display: grid; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--linie); font-size: 14px; line-height: 20px; }
.lx-variablen dt { font-weight: 500; }
.lx-variablen dd { margin: 4px 0 0; color: var(--neben); }
.lx-text a:not(.knopf):not(.kachel) { text-decoration: underline; text-decoration-color: var(--hauch-2); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .lx-text a:not(.knopf):not(.kachel):hover { text-decoration-color: currentColor; } }
.lx-tabelle { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 20px; }
.lx-tabelle th, .lx-tabelle td { padding: 12px 20px; text-align: left; font-weight: 400; border-top: 1px solid var(--linie); }
.lx-tabelle tr:first-child > * { border-top: 0; }
/* Werte rechtsbündig; lange Werte (ganze Angaben wie „Zeile 173: gute Wohnlage …“) brechen um, Beträge bleiben durch das
   geschützte Leerzeichen zusammen (vorher nowrap: 598 px Überlauf bei 768, gemessen 18.10.2026) */
.lx-tabelle td { text-align: right; overflow-wrap: break-word; }
.lx-tabelle tr.summe > * { font-weight: 500; background: var(--karte); }
.lx-tabelle tr.summe th { border-radius: 20px 0 0 20px; }
.lx-tabelle tr.summe td { border-radius: 0; }
.lx-tabelle tr.summe td:last-child { border-radius: 0 20px 20px 0; }
.lx-tabelle th { color: var(--neben); }
/* Schmale Schirme: Werte dürfen umbrechen, sonst drücken lange Zeilen die Tabelle über den Rand (gemessen 18.10.2026). */
@media (max-width: 599px) { .lx-tafel:not(.lx-tafel-breit) .lx-tabelle td { white-space: normal; } .lx-tabelle th, .lx-tabelle td { padding: 12px; overflow-wrap: anywhere; } }
.lx-tabelle tr.summe th { color: var(--tinte); }

/* Mini-Rechner: Kachel mit Feldern wie im Standort-Check, Ergebnis groß */
.lx-rechner { gap: 16px; justify-content: flex-start; }
.lx-feld { display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.lx-eingabe { display: flex; align-items: center; gap: 8px; max-width: 320px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--karte); }
.lx-eingabe input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: 16px; }
.lx-eingabe input:focus { outline: none; }
.lx-eingabe:focus-within { box-shadow: 0 0 0 2px var(--tinte); }
.lx-eingabe span { color: var(--leise); }
.lx-ergebnis { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--linie); }
.lx-ergebnis-wert { font-family: var(--titel); font-weight: var(--titel-gewicht); font-size: 40px; line-height: var(--titel-zeile); letter-spacing: var(--titel-spur); }
.lx-ergebnis-text { font-size: 14px; line-height: 20px; color: var(--neben); }

/* Skala „guter Wert": Band in drei Grautönen (schwach, knapp, solide), Marker pink. Band 60 bis 140 %. */
.lx-skala { margin-bottom: 24px; }
.lx-skala-band { position: relative; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 2px; height: 12px; margin-top: 48px; }
.lx-skala-band .z1, .lx-skala-band .z2, .lx-skala-band .z3 { border-radius: 999px; background: var(--tinte); }
.lx-skala-band .z1 { opacity: .08; } .lx-skala-band .z2 { opacity: .16; } .lx-skala-band .z3 { opacity: .3; }
.lx-skala-marke { position: absolute; top: -32px; transform: translateX(-50%); white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--neben); }
.lx-skala-marke b { font-weight: 500; color: var(--tinte); }
.lx-skala-marke::after { content: ""; position: absolute; left: 50%; top: 30px; width: 16px; height: 16px; margin-left: -8px; /* Punkt mittig auf dem 12 hohen Band */ border: 3px solid var(--grund); border-radius: 50%; background: var(--pink); }
.lx-skala-text { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 2px; margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--leise); }
.lx-pos-0 { left: 0%; }
.lx-pos-5 { left: 5%; }
.lx-pos-10 { left: 10%; }
.lx-pos-15 { left: 15%; }
.lx-pos-20 { left: 20%; }
.lx-pos-25 { left: 25%; }
.lx-pos-30 { left: 30%; }
.lx-pos-35 { left: 35%; }
.lx-pos-40 { left: 40%; }
.lx-pos-45 { left: 45%; }
.lx-pos-50 { left: 50%; }
.lx-pos-55 { left: 55%; }
.lx-pos-60 { left: 60%; }
.lx-pos-65 { left: 65%; }
.lx-pos-70 { left: 70%; }
.lx-pos-75 { left: 75%; }
.lx-pos-80 { left: 80%; }
.lx-pos-85 { left: 85%; }
.lx-pos-90 { left: 90%; }
.lx-pos-95 { left: 95%; }
.lx-pos-100 { left: 100%; }

/* Funktionsblock im Lesetext: Text oben, Bildkachel darunter (Lesespalte ist zu schmal für zwei Spalten) */
.lx-analyse { display: grid; gap: 24px; }
.lx-analyse-text .t3 { margin-bottom: 12px; }
.lx-analyse .block-bild { width: 100%; }

/* Begriffsnetz: Stil der Deutschlandkarte. Punktgrund, feine Linien, Knoten pink und lila, Mitte groß. */
.lx-netz-tafel { padding: 20px 8px; }
.lx-netz { display: block; width: 100%; height: auto; overflow: hidden; } /* nichts läuft aus dem Kasten; oi_lex_netz() rückt Beschriftungen nach innen */
.lx-netz-grund { opacity: .5; }
.lx-netz pattern circle { fill: var(--tinte); fill-opacity: .12; }
.lx-netz line { stroke: var(--tinte); stroke-opacity: .2; stroke-width: 1; vector-effect: non-scaling-stroke; }
.lx-netz text { font-family: var(--sans); font-size: 13px; text-anchor: middle; fill: var(--neben); paint-order: stroke; stroke: var(--flaeche); stroke-width: 4px; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .lx-netz a:hover text { fill: var(--tinte); } }
.lx-text .lx-netz a:not(.knopf):not(.kachel) { text-decoration: none; } /* gleiche Spezifität wie die Linkregel der Lesespalte, steht danach */
.lx-karte .t3 + .lx-absatz { margin-top: 12px; }

/* Weitere Lexikon-Module (textformat.md), nur aus vorhandenen Mustern: Schrittliste wie der Baustein Schritte (Nummer
   in der großen Schrift, Linien dazwischen), Merkmale und Listen wie die Variablen der Formel, mehrspaltige Tabelle
   wie das Rechenbeispiel (auf schmalen Schirmen seitlich verschiebbar in ihrer Kachel, nie die ganze Seite). */
.lx-schritte { counter-reset: lx-schritt; display: grid; }
.lx-schritte > li { position: relative; counter-increment: lx-schritt; padding: 20px 0 20px 48px; border-top: 1px solid var(--linie); }
.lx-schritte > li:first-child { border-top: 0; padding-top: 0; }
.lx-schritte > li::before { content: counter(lx-schritt); position: absolute; left: 0; top: 20px; font-family: var(--titel); font-weight: var(--titel-gewicht); font-size: 28px; line-height: 28px; color: var(--neben); }
.lx-schritte > li:first-child::before { top: 0; }
.lx-schritte h3 + .lx-absatz { margin-top: 8px; }
.lx-merkmale { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin-top: 12px; font-size: 14px; line-height: 20px; }
.lx-merkmale dd { overflow-wrap: anywhere; }
.lx-merkmale dt { font-weight: 500; }
.lx-merkmale dd { margin: 0; color: var(--neben); }
.lx-liste { display: grid; gap: 4px; padding-left: 16px; list-style: disc; }
.lx-spannen td { text-align: left; white-space: normal; color: var(--neben); }
.lx-spannen th { width: 40%; color: var(--tinte); }
.lx-bewertung { display: block; margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--leise); }
.lx-tafel-breit { overflow-x: auto; }
.lx-werte { min-width: 480px; }
.lx-werte thead th { font-weight: 500; color: var(--tinte); }
.lx-werte td { text-align: left; }
.lx-stellen { display: grid; gap: 8px; margin-top: 16px; font-size: 14px; line-height: 20px; }
.lx-stellen b { font-weight: 500; margin-right: 8px; }
.lx-stellen a, .lx-quellen a { color: var(--neben); text-decoration: underline; text-decoration-color: var(--hauch-2); text-underline-offset: 3px; }
.lx-knoten.pink { fill: #ff5c93; } .lx-knoten.lila { fill: var(--lila); }
.lx-mitte { fill: var(--pink); }
.lx-mitte-text { font-weight: 500; fill: var(--tinte) !important; font-size: 15px !important; }
.lx-netz-liste { margin-top: 16px; padding: 0 20px 4px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; line-height: 20px; }
/* Handy (Eric 06.11.2026): Das Netz schrumpft unter 600 auf rund 7 px Schrift, dann nur die Liste, als Tippflächen
   mit 40 px Höhe und Druckrückmeldung wie die Rückverweise */
@media (max-width: 599px) {
  .lx-netz { display: none; }
  .lx-netz-tafel { padding: 16px; }
  .lx-netz-liste { margin-top: 0; padding: 0; gap: 8px; list-style: none; }
  .lx-netz-liste a { display: inline-block; padding: 10px 14px; border-radius: 999px; background: var(--karte); color: var(--tinte);
    text-decoration: none; touch-action: manipulation; transition: transform 120ms var(--kurve); }
  .lx-netz-liste a:active { transform: scale(.97); }
}

/* Quellen: Fußtext 12/16 */
.lx-quellen ul, .lx-quellen p { font-size: 12px; line-height: 16px; color: var(--leise); }
.lx-quellen ul { display: grid; gap: 8px; padding-left: 16px; list-style: disc; }
.lx-quellen p { margin-top: 12px; }
/* Quellen aufklappbar (Eric 18.10.2026): Kopfzeile mit Zahl der Dokumente, Liste nach Herausgeber hinter dem grauen
   Knopf wie „Auf dieser Seite“; jede Fundstelle einmal */
.lx-quellen .lx-quellen-kopf { margin-top: 0; font-size: 14px; line-height: 20px; color: var(--neben); }
.lx-quellen-liste { margin-top: 16px; }
.lx-quellen-liste > summary { list-style: none; cursor: pointer; }
.lx-quellen-liste > summary::-webkit-details-marker { display: none; }
.lx-quellen-liste[open] > summary { margin-bottom: 16px; }
.lx-quellen .lx-quellen-liste ul { list-style: none; padding-left: 0; gap: 12px; }
.lx-quellen-von { display: block; font-weight: 500; color: var(--neben); }
.lx-modul.fragen { padding-top: 0; padding-bottom: 0; }

/* Weiterlesen und Hub */
.lx-weiter, .lx-hub-teil { padding-top: 16px; padding-bottom: 56px; }
/* Knopfreihe im Seitenkopf linksbündig (im Hero zentriert) */
.seitenkopf .knopfreihe { justify-content: flex-start; margin-top: 32px; }
/* Nutzen unter dem Hauptknopf (Eric 06.11.2026): nah am Knopf, in der Breite einer Lesezeile */
.aufruf-kachel { display: grid; gap: 24px; margin-top: 12px; padding: 28px; border-radius: 32px; background: var(--grund); box-shadow: inset 0 0 0 1px var(--hauch-2); }
.aufruf-text .t2 { margin-top: 12px; max-width: 760px; }
.aufruf-satz { margin-top: 12px; max-width: 560px; font-size: 14px; line-height: 20px; color: var(--neben); text-wrap: pretty; }
.aufruf-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .aufruf-kachel { grid-template-columns: 1fr auto; align-items: end; column-gap: 48px; } }
.lx-weiter .sektion-marke, .lx-hub-teil .sektion-marke { margin-bottom: 32px; }
.lx-hub-teil:first-of-type { padding-top: 48px; }
/* Themen-Kacheln im Hub: 10 Kategorien, deshalb 2 und ab 1200 5 Spalten (nie eine einzelne Kachel in der letzten Reihe). */
/* minmax(0, …): lange Wörter wie „Wohnungseigentum" dürfen eine Spalte nicht breiter drücken, sie trennen sich. */
@media (min-width: 768px) { .lx-themen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .lx-themen { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.lx-buchstaben { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 32px; font-family: var(--titel); font-size: 20px; color: var(--neben); }
/* Sprungleiste der Kategorieseite: Unterthemen statt Buchstaben, sonst wie die Buchstabenleiste. */
.lx-sprung { gap: 8px 24px; }
@media (hover: hover) and (pointer: fine) { .lx-buchstaben a:hover { color: var(--tinte); } }
.lx-az { columns: 1; column-gap: 40px; }
@media (min-width: 600px) { .lx-az { columns: 2; } }
@media (min-width: 1024px) { .lx-az { columns: 4; } }
.lx-az-gruppe { break-inside: avoid; margin-bottom: 28px; }
.lx-az-buchstabe { font-family: var(--titel); font-weight: var(--titel-gewicht); font-size: 28px; line-height: var(--titel-zeile); margin-bottom: 8px; }
.lx-az ul { display: grid; gap: 4px; font-size: 14px; line-height: 20px; }
.lx-az a { color: var(--neben); }
@media (hover: hover) and (pointer: fine) { .lx-az a:hover { color: var(--tinte); } }

/* Laufweite und Zeilenhöhe der Titelschrift einheitlich in em, damit sie in allen Größen gleich sitzt.
   Steht nach den Einzelregeln und gewinnt über die Spezifität von html :is(…). */
html :is(h2, h3, .t2, .t3, .claim, .sektion-marke, .preise-satz, .schritt-frage, .preis-betrag) {
  letter-spacing: var(--titel-spur); line-height: var(--titel-zeile);
}
html .punkt h3 { font-family: var(--sans); font-weight: 400; letter-spacing: 0; line-height: 24px; }

/* Einblenden (seite.js setzt die Startwerte aus data-weg, data-skala, data-verzug, data-dauer) */
html.js [data-zeigen] {
  opacity: 0; transform: translateY(var(--weg, 20px)) scale(var(--skala, 1));
  transition: opacity var(--dauer, .5s) var(--kurve) var(--verzug, 0s), transform var(--dauer, .5s) var(--kurve) var(--verzug, 0s);
}
html.js [data-zeigen].ist-sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-zeigen] { opacity: 1; transform: none; transition: none; }
  .raster canvas { transition: none; }
  .laufband ul, .punkt.ist-offen.laeuft .punkt-fortschritt { animation: none; }
  .punkt-inhalt, .frage-inhalt, .punkt-inhalt p, .frage-inhalt p { transition: none; }
}

/* Vorschau-Tor (tor.php): eine Karte auf der grauen Fläche, sonst nichts. */
.torseite { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; background: var(--flaeche); padding: 24px var(--rand); }
.torkarte { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 400px; padding: 40px 28px 32px; border-radius: 32px; background: var(--karte); text-align: center; }
.torkarte .logo { margin-bottom: 20px; }
.tor-titel { font-family: var(--titel); font-weight: var(--titel-gewicht); font-size: 28px; line-height: 1.1; letter-spacing: -.04em; }
.tor-form { display: grid; gap: 10px; width: 100%; margin-top: 16px; }
.tor-form input { height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--flaeche); font-size: 16px; }
.tor-form input::placeholder { color: var(--leise); }
.tor-meldung { padding: 10px 14px; border-radius: 14px; background: var(--pink-hauch); font-size: 13px; line-height: 18px; }
.tor-fuss { margin-top: 12px; }

/* Dunkel: dieselben Aufgaben-Farben auf Schwarz, für einen Bereich. Auf der Startseite trägt sie der Hero
   (.buehne-oben.thema-dunkel), die Seite darunter bleibt hell. */
.thema-dunkel {
  --grund: #07060c;
  --auswahl: rgba(248, 1, 105, .4);
  --tinte: #ffffff;
  --tinte-70: rgba(255, 255, 255, .72);
  --karte: #1b1a23;
  --flaeche: #121119;
  --flaeche-tief: #1d1c26;
  --neben: rgba(255, 255, 255, .62);
  --leise: rgba(255, 255, 255, .5);
  --linie: rgba(255, 255, 255, .12);
  --hauch: rgba(255, 255, 255, .08);
  --hauch-2: rgba(255, 255, 255, .14);
  --knopf-hover: #e4e4ea;
  background: var(--grund); color: var(--tinte); color-scheme: dark;
}

/* Hero mit Punkte-Gitter: die Fläche liegt hinter dem Text und füllt den ganzen Hero. Ein weicher Schein in unseren
   Farben lässt das Gitter auch auf Weiß leuchten. */
.raster { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.raster::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 45% at 55% 78%, rgba(255, 92, 147, .13), transparent 70%),
              radial-gradient(45% 40% at 25% 82%, rgba(75, 75, 209, .11), transparent 72%);
}
.thema-dunkel .raster::before {
  background: radial-gradient(55% 45% at 55% 80%, rgba(255, 92, 147, .16), transparent 70%),
              radial-gradient(45% 40% at 25% 84%, rgba(107, 107, 240, .18), transparent 72%);
}
.raster canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.02);
  transition: opacity .5s cubic-bezier(.215, .61, .355, 1) .15s, transform .5s cubic-bezier(.215, .61, .355, 1) .15s;
}
.raster canvas.ist-bereit { opacity: 1; transform: none; }
.held.mit-raster .welle { min-height: 340px; }


/* Leiste über dunklen Bereichen: Start-Knopf hell (seite.js setzt .auf-dunkel). */
.leiste.auf-dunkel .leiste-knopf { background: #fff; color: #000; }
@media (hover: hover) and (pointer: fine) { .leiste.auf-dunkel .leiste-knopf:hover { background: #e4e4ea; } }

/* H-Struktur (Eric 17.10.2026): kleine Etiketten tragen als Überschrift das Keyword und sehen aus wie vorher.
   Die großen Zeilen darüber sind Absätze (.t2, .t3) im Stil von H2 und H3. */
html h2.dachzeile { font-family: var(--sans); font-weight: 400; font-size: 14px; line-height: 20px; letter-spacing: normal; text-wrap: pretty; hyphens: manual; max-width: none; }
html h2.etikett { height: auto; min-height: 40px; padding: 10px 18px; font-family: var(--sans); font-weight: 400; font-size: 14px; line-height: 20px; letter-spacing: -.13px; text-wrap: balance; hyphens: manual; max-width: 100%; }

/* Overlay „Einstieg“ (Eric 19.10.2026, teile.php oi_einstieg, einstieg.js): Anmeldung vor der App. Eine Kachel
   (--flaeche, Radius 32), die schwebt wie Leiste und Menü: deren Haarlinie, dazu der Schatten der Screenshots.
   Knöpfe untereinander, höchstens 320 breit; weiße Knöpfe, weil grau auf der grauen Kachel verschwände. */
.einstieg {
  position: fixed; inset: 0; margin: auto; width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto;
  padding: 48px 32px 32px; border: 0; border-radius: 32px; background: var(--flaeche); color: var(--tinte); text-align: center;
  box-shadow: 0 0 0 1px var(--hauch-2), 0 24px 60px -24px rgba(0, 0, 60, .4);
}
.einstieg[open] { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.einstieg::backdrop { background: rgba(0, 0, 0, .4); }
.einstieg .t2 { margin-top: 4px; }
.einstieg .leise { max-width: 420px; font-size: 14px; line-height: 20px; }
.einstieg-knoepfe { display: grid; gap: 12px; width: 100%; max-width: 320px; margin-top: 12px; }
.einstieg .knopf.weiss { background: var(--karte); color: var(--tinte); }
@media (hover: hover) and (pointer: fine) { .einstieg .knopf.weiss:hover { background: var(--flaeche-tief); } }
.einstieg-google { gap: 10px; }
.einstieg-meldung { max-width: 420px; font-size: 14px; line-height: 20px; }
.einstieg-meldung:empty { display: none; }
.einstieg .hinweis { max-width: 360px; }
.einstieg .hinweis a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.einstieg .linie { width: 100%; margin: 20px 0 8px; }
.einstieg-zu {
  position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: var(--karte); color: var(--tinte); cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .einstieg-zu:hover { background: var(--flaeche-tief); } }
@media (max-width: 479px) { .einstieg { padding: 56px 20px 24px; } }
/* Fenster „Warteliste“ (Eric 06.11.2026, teile.php oi_warteliste, warteliste.js): wie der Einstieg, Feld und Knopf
   untereinander in 320 Breite. Die Roboterfalle „firma“ liegt außerhalb des Bildes, nicht display:none (das überspringen Roboter). */
.warteliste-form { display: grid; gap: 12px; width: 100%; max-width: 320px; margin-top: 12px; }
.warteliste-feld { max-width: none; height: 48px; }
.warteliste-falle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.warteliste-form[hidden] { display: none; }
.warteliste-adresse { display: inline-block; max-width: 100%; font-weight: 500; overflow-wrap: anywhere; }
