/* Lesegröße 20.10.2026 (Rico): „die Schrift auf den gesamten Seiten ziemlich klein“.
   Fließtext mind. 18 px ab 768 px Breite, 17 px darunter, Zeilenhöhe 1,6.
   Kleingedrucktes nie unter 14 px, Navigation/Knöpfe/Formulare mind. 15 px, Formularfelder auf dem Handy 16 px.
   Gilt für alle Seiten von scanwerk-3d.de, eingebunden per <link> direkt vor </head> (nach den Inline-Styles).
   Regeln: ~/.claude/skills/design-farbregeln/SKILL.md Abschnitt 3b. */

:root{--fliess:18px}
@media (max-width:767.98px){:root{--fliess:17px}}

html body{font-size:var(--fliess);line-height:1.65}

/* Fließtext: Absätze, Listen, Tabellenzellen, FAQ, außerhalb von Navigation und Fußzeile.
   Ausgenommen sind Etiketten, Preise, Unterzeilen und Einleitungen, die eigene Größen haben. */
html body :is(p,li,dd,td,summary,blockquote):not(nav *):not(footer *):not(.mono):not(.subline):not(.lead):not(.pitch):not(.hint):not(.form-fehler):not(.num):not(.amount):not(.statement):not(.eyebrow):not(.hinweis):not(.browser-caption):not(.price-note):not(.nutzen-titel){
  font-size:var(--fliess);line-height:1.6}

/* Einleitung unter der H1 und Kontakt-Text: etwas größer als der Fließtext */
html body p.lead.lead,html body p.pitch.pitch{font-size:calc(var(--fliess) * 1.1);line-height:1.6}

/* Kleingedrucktes: nie unter 14 px */
html body .mono{font-size:14px}
html body p.hint.hint,html body p.num.num,html body p.form-fehler.form-fehler,html body span.v.v,html body span.k.k,html body .tour-start small,html body p.hinweis.hinweis,html body .crumbs a{font-size:14.5px}
html body p.browser-caption.browser-caption,html body p.eyebrow.eyebrow,html body .kit h3,html body h3.kit{font-size:14px}
html body p.price-note.price-note{font-size:15.5px}
html body th{font-size:15px}
html body figure figcaption:not(.x-){font-size:15.5px}
html body .wfr-row label:not(.x-),html body .wfr-extra label:not(.x-){font-size:14.5px}
html body .demo-chip.demo-chip,html body span.badge.badge{font-size:14px}

/* Preis-Karten: Kartentitel nicht kleiner als der Fließtext */
html body .price h3{font-size:21px}

/* Formulare: Beschriftungen 15 px, Felder mind. 16 px (sonst zoomt iOS) */
html body form:not(.x-) label:not(.x-){font-size:15px}
html body :is(input,select,textarea){font-size:16px}
html body form :is(button,.btn){font-size:15.5px}

/* Navigation und Fußzeile: nur angehoben, weil sie unter 15 bzw. 14 px lagen */
html body nav a:not(.logo),html body .nav-inner a.btn.btn,html body a.btn-sm.btn-sm{font-size:15px}
/* sehr schmale Handys: Kopf-Knopf passt bei 15 px nicht neben das Logo */
@media (max-width:399.98px){html body .nav-inner a.btn.btn,html body a.btn-sm.btn-sm{font-size:14px;padding-left:9px;padding-right:9px;letter-spacing:0}}
html body footer,html body footer :is(a,p,li,span):not(.logo):not(.logo-mark){font-size:14.5px}

/* Wenige Stellen mit Schriftgröße im style-Attribut (danke.html Fußzeile, Wohnflächen-Rechner, Bildunterschrift Grundriss):
   nur hier !important, weil Inline-Styles sonst nicht zu übersteuern sind. */
html body footer[style*="font-size"],html body p[style*="font-size:.8rem"],html body label[style*="font-size:.85rem"],html body figcaption[style*="font-size:.82rem"]{font-size:14.5px!important}

/* Weiß auf dunkel 20.10.2026 (Rico): „Diese grauen Schriften auf diesen dunklen Hintergründen … das soll in weiß sein,
   ein schönes Weiß, angenehm.“ Gedimmter Text (--ink-dim) wird auf dunklem Grund zum Lese-Weiß #F0EFEA.
   Nur dunkle Bereiche: :root ist dark-first, der Hell-Modus (:root:not([data-theme="dark"]) im Media-Query
   prefers-color-scheme: light, :root[data-theme="light"]) und .sec-light bleiben bei #5D6370, weil ihre Regeln spezifischer sind. */
:root{--ink-dim:#F0EFEA}
/* 22.10.2026: nur der Foto-Hero der Startseite (section.hero) ist immer dunkel; der Seitenkopf der Unterseiten (div.wrap.hero)
   folgt dem Hell-Modus, dort machte --ink-dim:#F0EFEA die Einleitung auf hellem Grund unsichtbar. */
.sec-dark,section.hero,.band,.scan-report-inner{--ink-dim:#F0EFEA}
/* Abtönung per Transparenz macht das Weiß wieder grau */
html body .hinweis,html body .foot-credit{opacity:1}
/* feste Grauwerte statt Variable: Hinweis unter dem Tour-Knopf auf der Startseite */
html body .tour-start small{color:#F0EFEA}

/* Nutzenblock „Was Sie davon haben“ 22.10.2026 (Rico: „Benefit: Was Sie davon haben MUSS überall rein“),
   GEO-STANDARD B.15. Direkt nach H1 und Unterzeile, Haken-Kreis wie im Landingpage-Baukasten (lp-mark ok).
   Textfarbe var(--ink): auf dunklem Grund Lese-Weiß, im Hell-Modus dunkel. Daten: docs/nutzen.json, Werkzeug tools/nutzenblock.py. */
.nutzen{margin:1.6rem 0 0;max-width:46rem}
html body p.nutzen-titel{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-weight:700;font-size:1.2rem;line-height:1.4;letter-spacing:0;text-transform:none;color:var(--ink);margin:0 0 .7rem}
.nutzen .nutzen-liste{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
html body .nutzen .nutzen-liste li{display:flex;gap:.75rem;align-items:flex-start;margin:0;padding:0;color:var(--ink);line-height:1.5}
.nutzen .nutzen-liste li::before{content:none;display:none}
.nutzen .lp-mark{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;flex:0 0 24px;margin-top:.12em;color:#fff;background:linear-gradient(135deg,#34D399,#15803D);box-shadow:0 3px 8px rgba(21,128,61,.3)}
.nutzen .lp-mark svg{width:13px;height:13px;display:block}

/* 22.10.2026: Seitenkopf der Unterseiten (div.wrap.hero). Die Regel .hero{padding:76px 0 56px} hat den Seitenrand von .wrap
   überschrieben: auf dem Handy stand der Text bündig am Bildschirmrand, am Desktop 24 px links neben dem übrigen Inhalt. */
html body div.wrap.hero{padding-left:24px;padding-right:24px}
@media (max-width:480px){html body div.wrap.hero{padding-left:18px;padding-right:18px}}
