/* Energyology – Vorschau-Website.
   Aufbau nach Leticias Second-Brain-Seite (secondbrainers-v16): Raster 1140 px,
   eckige Formen, Umriss-Buttons, Labels in Versalien.
   Brand nach brand.energyology.com: streng monochrom (#141414 / #FAFAFA),
   Schrift Parkinsans, keine Akzentfarbe im Masterbrand. */

@font-face {
  font-family: "Parkinsans";
  src: url("schrift/parkinsans-latin-ext.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Parkinsans";
  src: url("schrift/parkinsans-latin.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Farben: hell (positiv) */
:root {
  --grund: #FAFAFA;
  --text: #141414;
  --text2: #5C5C5C;
  --text3: #8C8C8C;
  --linie: #D9D9D9;
  --flaeche: #F0F0F0;
  --schatten: 0 1px 3px rgba(20,20,20,0.10), 0 1px 2px rgba(20,20,20,0.06);
  --font: "Parkinsans", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
/* dunkel (negativ): nur auf Wunsch über den Knopf. Hell ist immer die Vorgabe
   (Ricos Auftrag vom 08.11.2026), die Systemeinstellung zählt hier nicht. */
:root[data-theme="dark"] {
  --grund: #141414; --text: #FAFAFA; --text2: #B3B3B3; --text3: #858585;
  --linie: #333333; --flaeche: #1E1E1E; --schatten: none; color-scheme: dark;
}
:root[data-theme="light"] {
  --grund: #FAFAFA; --text: #141414; --text2: #5C5C5C; --text3: #8C8C8C;
  --linie: #D9D9D9; --flaeche: #F0F0F0;
  --schatten: 0 1px 3px rgba(20,20,20,0.10), 0 1px 2px rgba(20,20,20,0.06);
  color-scheme: light;
}

* { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; background: var(--grund); color: var(--text); }
body { font: 400 18px/1.6 var(--font); letter-spacing: 0.01em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, blockquote, figure { margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 24px; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.1; margin-bottom: 24px; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.2; margin-bottom: 12px; }
p { margin-bottom: 20px; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.6; color: var(--text); }
.klein { font-size: 15px; line-height: 1.6; color: var(--text2); }
.label { display: block; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text2); margin-bottom: 16px; }

.huelle { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
.text { max-width: 752px; }
@media (max-width: 767px) { .huelle { padding: 0 16px; } }

/* Logo: The Dot + Wortmarke (Variante ohne Registrierungszeichen) */
.logo { display: inline-flex; align-items: center; gap: 0.42em; text-decoration: none; color: var(--text); font-size: 22px; line-height: 1; }
.logo .dot { width: 0.95em; height: 0.86em; background: currentColor; border-radius: 50%; flex: none; }
.logo .wort { font-weight: 700; letter-spacing: 0.14em; }
.logo:hover { text-decoration: none; }

/* Kopf */
header.kopf { border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 10; background: var(--grund); }
header.kopf .huelle { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
nav.seiten { display: flex; align-items: center; gap: 28px; margin-left: auto; }
nav.seiten a { font-size: 15px; color: var(--text2); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
nav.seiten a:hover { color: var(--text); }
nav.seiten a[aria-current="page"] { color: var(--text); border-bottom-color: var(--text); }
.werkzeuge { display: flex; align-items: center; gap: 20px; }
@media (max-width: 1020px) {
  header.kopf .huelle { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 0; row-gap: 6px; }
  nav.seiten { order: 3; width: 100%; margin-left: 0; gap: 24px; overflow-x: auto; padding-bottom: 8px; }
}
.thema { font: 500 14px/1 var(--font); letter-spacing: 0.02em; background: transparent; color: var(--text); border: 1px solid var(--text); padding: 10px 14px; cursor: pointer; white-space: nowrap; }
.thema:hover { background: var(--text); color: var(--grund); }
@media (max-width: 480px) { .logo { font-size: 17px; } .werkzeuge { gap: 10px; } nav.seiten { gap: 18px; } nav.seiten a { font-size: 14px; } }

/* Abschnitte */
section { padding: 112px 0; border-bottom: 1px solid var(--linie); }
section.hero { padding: 128px 0 112px; }
section.dunkel { background: var(--text); color: var(--grund); border-bottom: 0; }
section.dunkel .label, section.dunkel .klein { color: var(--text3); }
@media (max-width: 767px) { section { padding: 72px 0; } section.hero { padding: 72px 0 64px; } }

/* Buttons: Umrisse */
.aktionen { display: flex; gap: 16px 24px; flex-wrap: wrap; margin-top: 40px; }
.btn { display: inline-block; font: 500 17px/1 var(--font); letter-spacing: 0.02em; padding: 18px 36px; min-width: 200px; text-align: center; text-decoration: none; border: 1px solid var(--text); color: var(--text); background: transparent; }
.btn.voll { background: var(--text); color: var(--grund); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--text); color: var(--grund); }
  .btn.voll:hover { background: transparent; color: var(--text); }
}
section.dunkel .btn { border-color: var(--grund); color: var(--grund); }
section.dunkel .btn:hover { background: var(--grund); color: var(--text); }
@media (max-width: 480px) { .btn { width: 100%; } }

/* Hero-Punkt */
.hero-raster { display: grid; grid-template-columns: 1fr 260px; gap: 64px; align-items: center; }
.grosser-punkt { width: 220px; height: 200px; border-radius: 50%; background: var(--text); justify-self: end; animation: atmen 7s ease-in-out infinite; }
@keyframes atmen { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .grosser-punkt { animation: none; } }
@media (max-width: 900px) { .hero-raster { grid-template-columns: 1fr; } .grosser-punkt { display: none; } }

/* Zitat */
blockquote.zitat { font-size: clamp(24px, 3vw, 34px); font-weight: 500; line-height: 1.3; margin: 0 0 20px; max-width: 900px; }
blockquote.zitat.mittel { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; }
.quelle { font-size: 14px; color: var(--text2); letter-spacing: 0.02em; }
section.dunkel .quelle { color: var(--text3); }

/* Raster und Karten */
.raster3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.raster2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 900px) { .raster3, .raster2 { grid-template-columns: 1fr; } }
.karte { border: 1px solid var(--linie); background: var(--grund); box-shadow: var(--schatten); padding: 32px; }
.karte .nr { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text2); margin-bottom: 20px; }
.karte p { font-size: 16px; line-height: 1.6; color: var(--text2); margin: 0; }
.karte.betont { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.karte.betont .nr { color: var(--text); }
.karte .mini-punkt { width: 18px; height: 16px; border-radius: 50%; background: var(--text); display: inline-block; vertical-align: -2px; margin-right: 8px; }

.leitsatz { border-top: 1px solid var(--text); padding-top: 20px; font-size: 20px; font-weight: 500; line-height: 1.4; }
.leitsatz span { display: block; font-size: 13px; font-weight: 400; color: var(--text2); margin-top: 12px; letter-spacing: 0.02em; }

/* Gründer */
.gruender-raster { display: grid; grid-template-columns: 320px 1fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .gruender-raster { grid-template-columns: 1fr; gap: 40px; } }
.steckbrief { border: 1px solid var(--linie); padding: 32px; position: sticky; top: 112px; }
@media (max-width: 900px) { .steckbrief { position: static; } }
.steckbrief .initialen { width: 96px; height: 88px; border-radius: 50%; background: var(--text); color: var(--grund); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 28px; letter-spacing: 0.08em; margin-bottom: 24px; }
.steckbrief dl { margin: 0; font-size: 15px; }
.steckbrief dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text2); margin-top: 16px; }
.steckbrief dd { margin: 4px 0 0; }

ol.verlauf { list-style: none; padding: 0; margin: 40px 0; border-left: 1px solid var(--text); }
ol.verlauf li { position: relative; padding: 0 0 36px 32px; }
ol.verlauf li:last-child { padding-bottom: 0; }
ol.verlauf li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 10px; border-radius: 50%; background: var(--grund); border: 1px solid var(--text); }
ol.verlauf li.ist::before { background: var(--text); }
ol.verlauf .wann { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text2); margin-bottom: 6px; }
ol.verlauf h3 { font-size: 20px; margin-bottom: 8px; }
ol.verlauf p { font-size: 17px; margin-bottom: 10px; }
ol.verlauf q { font-style: normal; }
.einschub { border-left: 2px solid var(--text); padding: 4px 0 4px 20px; margin: 12px 0 4px; font-size: 17px; }

/* Methode */
.schritte { counter-reset: s; }
.schritte .karte { counter-increment: s; }
.schritte .karte .nr::before { content: "0" counter(s) " · "; }

/* Fuss */
footer.fuss { padding: 56px 0 64px; font-size: 14px; color: var(--text2); }
footer.fuss .huelle { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
footer.fuss .hinweis { max-width: 640px; margin: 0; }
footer.fuss nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer.fuss .zeile { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--linie); padding-top: 24px; }
@media (max-width: 767px) { footer.fuss .huelle { grid-template-columns: 1fr; } }

/* Impressum */
.impressum h2 { font-size: 24px; margin: 48px 0 12px; }
.impressum p { font-size: 17px; }
.impressum address { font-style: normal; margin-bottom: 20px; }

/* Sprachwahl als Dropdown (08.11.2026) */
details.sprachwahl { position: relative; }
details.sprachwahl summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font: 500 14px/1 var(--font); letter-spacing: 0.08em; color: var(--text); border: 1px solid var(--linie); padding: 10px 12px; user-select: none; }
details.sprachwahl summary::-webkit-details-marker { display: none; }
details.sprachwahl summary:hover, details.sprachwahl[open] summary { border-color: var(--text); }
details.sprachwahl .pfeil { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
details.sprachwahl[open] .pfeil { transform: translateY(2px) rotate(-135deg); }
details.sprachwahl ul { list-style: none; margin: 0; padding: 6px 0; position: absolute; right: 0; top: calc(100% + 6px); min-width: 200px; background: var(--grund); border: 1px solid var(--text); box-shadow: 0 8px 24px rgba(20,20,20,.12); z-index: 20; }
details.sprachwahl li a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; text-decoration: none; color: var(--text2); font-size: 15px; }
details.sprachwahl li a:hover { background: var(--flaeche); color: var(--text); }
details.sprachwahl li a[aria-current="true"] { color: var(--text); font-weight: 600; }
details.sprachwahl li a .code { font-size: 12px; letter-spacing: 0.08em; color: var(--text3); }
@media (max-width: 560px) { details.sprachwahl ul { right: auto; left: 0; } }
@media (max-width: 560px) { .werkzeuge { width: 100%; justify-content: space-between; } }

/* Anführungszeichen je Sprache für <q> */
q { quotes: "«" "»" "‹" "›"; }
:lang(en) q { quotes: "“" "”" "‘" "’"; }
:lang(pt) q { quotes: "“" "”" "‘" "’"; }
:lang(fr) q { quotes: "« " " »" "‹ " " ›"; }

/* ---------- Mehrseiter (08.11.2026) ---------- */
section.hero.kompakt { padding: 96px 0 72px; }
@media (max-width: 767px) { section.hero.kompakt { padding: 56px 0 48px; } }
.oben { margin-top: 48px; }
a.weiter { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--text); }
.hinweis-klein { font-size: 13px; color: var(--text2); margin-top: 24px; max-width: 752px; }
section.dunkel .hinweis-klein { color: var(--text3); }
a.karte.link { display: block; text-decoration: none; color: var(--text); transition: border-color .15s; }
a.karte.link:hover { border-color: var(--text); }
a.karte.link h3 { margin-top: 4px; }
nav.inhalt { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
nav.inhalt a { font-size: 14px; text-decoration: none; border: 1px solid var(--linie); padding: 8px 14px; color: var(--text2); }
nav.inhalt a:hover { border-color: var(--text); color: var(--text); }
ol.kette { list-style: none; padding: 0; margin: 40px 0; display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; }
ol.kette li { border: 1px solid var(--text); padding: 12px 20px; font-weight: 500; position: relative; }
ol.kette li:not(:last-child)::after { content: "→"; position: absolute; right: -30px; top: 50%; transform: translateY(-50%); color: var(--text2); }
ol.zwoelf { counter-reset: z; list-style: none; padding: 0; margin: 40px 0 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
ol.zwoelf li { counter-increment: z; border-top: 1px solid #3a3a3a; padding: 18px 0 18px 48px; position: relative; font-size: 17px; line-height: 1.55; }
ol.zwoelf li::before { content: counter(z, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-size: 13px; letter-spacing: 0.1em; color: var(--text3); }
:root[data-theme="dark"] ol.zwoelf li { border-top-color: #CFCFCF; }
@media (max-width: 900px) { ol.zwoelf { grid-template-columns: 1fr; } }
dl.schrittliste { margin: 32px 0 24px; border-top: 1px solid var(--linie); }
dl.schrittliste > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--linie); }
dl.schrittliste dt { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text2); padding-top: 4px; }
dl.schrittliste dd { margin: 0; font-size: 18px; max-width: 752px; }
@media (max-width: 767px) { dl.schrittliste > div { grid-template-columns: 1fr; gap: 6px; } }
ul.liste { padding-left: 22px; margin: 0 0 20px; }
ul.liste li { margin-bottom: 8px; }
.karte.beobachtung p { color: var(--text); }
.karte.beobachtung p.art { margin-top: 16px; font-size: 13px; color: var(--text2); border-top: 1px solid var(--linie); padding-top: 12px; }

/* ---------- Modellbilder aus dem Energyology-Entwurf (bausteine.js) ----------
   Farben der Leitzeichen wie in der Dokumentation (von Rico geprüft, ME02-M323).
   Nur innerhalb der Bilder; die Seite selbst bleibt monochrom. */
.modellbild-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.modellbild, .modellbild-defs {
  --paper: #ffffff; --ink: #1d232b; --muted: #5d6672; --line-strong: #8d96a1;
  --ruhe: #eef3f6; --ruhe-line: #7f9bb0; --unruhe: #fbe9d0; --unruhe-line: #c9781e; --unruhe-ink: #7a4510;
  --cell: #2f6f9f; --cell-fill: #dbe9f5; --e1: #7a828c; --e1-soft: #e9ebee; --e2: #13808a; --e2-soft: #d6eef0;
  --gruen: #3d7a34; --gruen-soft: #e1efdc; --boden: #6b6660; --boden-soft: #e9e6e1;
  --rot-hell: #e3262d; --rot-dunkel: #8f1d1d; --e3: #6a4f94; --e3-soft: #efe9f7;
  --dm: #3a3f47; --dm-ink: #f1f2f4; --offen: #b23b3b;
  --lz-ruhe: var(--ruhe-line); --lz-aus: var(--unruhe-line); --lz-zur: var(--cell);
  --lz-zelle: var(--gruen); --lz-zelle-soft: var(--gruen-soft); --lz-schwarm: var(--e2); --lz-gruppe: var(--e3); --lz-punkt: var(--e2);
  --lz-boden: var(--boden); --lz-boden-soft: var(--boden-soft); --lz-fremd: var(--rot-hell); --lz-sog: var(--rot-dunkel);
}
:root[data-theme="dark"] .modellbild, :root[data-theme="dark"] .modellbild-defs {
  --paper: #1b1f24; --ink: #e6e8eb; --muted: #a2aab4; --line-strong: #5b6571;
  --ruhe: #1c2329; --ruhe-line: #8fa9bd; --unruhe: #3a2a16; --unruhe-line: #e3a457; --unruhe-ink: #f0c98f;
  --cell: #8db8dc; --cell-fill: #1d2a3a; --e1: #9aa3ad; --e1-soft: #23282e; --e2: #6fcfd6; --e2-soft: #15302f;
  --gruen: #97cc8c; --gruen-soft: #1d2c1a; --boden: #aaa39a; --boden-soft: #26241f;
  --rot-hell: #ff5a5f; --rot-dunkel: #d27a7a; --e3: #b9a3dc; --e3-soft: #2a2238; --dm: #0b0d10; --dm-ink: #d5d9de; --offen: #e08080;
}
figure.modellbild { background: var(--paper); border: 1px solid var(--linie); padding: 24px; margin: 0; }
figure.modellbild.gross { margin-top: 48px; padding: 32px; }
figure.modellbild.gross svg { max-width: 860px; max-height: 460px; margin: 0 auto; }
figure.modellbild + figure.modellbild.gross { margin-top: 24px; }
figure.modellbild.auf-dunkel { border-color: #333; }
figure.modellbild svg { display: block; width: 100%; height: auto; }
figure.modellbild figcaption { margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--muted); }
figure.modellbild figcaption strong { color: var(--ink); font-weight: 600; }
.raster3.bilder { align-items: stretch; }
.raster3.bilder figure { display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 767px) { figure.modellbild { padding: 16px; } figure.modellbild.gross { padding: 16px; } }

.modellbild svg text { font-family: Helvetica, Arial, sans-serif; }
.b-sub { font-size: 13px; fill: var(--muted); }
.b-klein { font-size: 11.5px; fill: var(--muted); }
.b-lab { font-size: 14px; font-weight: 600; fill: var(--ink); }
.b-hell { fill: var(--dm-ink); }
.b-aus { fill: var(--unruhe-ink); }
.b-zur { fill: var(--lz-zur); }
.b-zelle { fill: var(--lz-zelle); }
.b-hilfe { fill: var(--lz-sog); }
.b-weiter { stroke: var(--line-strong); stroke-width: 2; fill: none; }
.b-anregen { stroke: var(--lz-zelle); stroke-width: 2; fill: none; stroke-dasharray: 6 5; }
.b-signatur { fill: none; stroke: var(--lz-zelle); stroke-width: 1.2; opacity: .55; }
.lz-ruhe { fill: none; stroke: var(--lz-ruhe); stroke-width: 2.6; }
.lz-schieben { stroke: var(--lz-ruhe); stroke-width: 2; }
.lz-aus { fill: none; stroke: var(--lz-aus); stroke-width: 2.6; }
.lz-zur { fill: none; stroke: var(--lz-zur); stroke-width: 2.6; }
.lz-zelle { fill: var(--lz-zelle-soft); stroke: var(--lz-zelle); stroke-width: 2.6; }
.lz-zelle-aussen { fill: none; stroke-width: 1.6; opacity: .7; }
.lz-zelle-e3 { fill: var(--e3-soft); }
.lz-zelle-feld { fill: var(--cell-fill); }
.lz-zelle-hilfe { stroke-dasharray: 7 6; }
.lz-zelle-fest { stroke-width: 3.6; }
.lz-zelle-blass { opacity: .6; stroke-width: 1.6; }
.lz-dreh { fill: none; stroke: var(--lz-zelle); stroke-width: 2; }
.lz-raum { stroke: var(--muted); stroke-width: 1.4; fill: none; }
.lz-gestrichelt { stroke-dasharray: 4 4; }
.lz-e1 { fill: var(--e1-soft); stroke: var(--e1); stroke-width: 2; }
.lz-schwarm { fill: var(--paper); stroke: var(--lz-schwarm); stroke-width: 1.4; }
.lz-punkt { fill: var(--lz-punkt); }
.lz-gruppe { fill: none; stroke: var(--lz-gruppe); stroke-width: 1.8; stroke-dasharray: 6 4; }
.lz-neu { fill: var(--ruhe); stroke: var(--lz-ruhe); stroke-width: 1.4; stroke-dasharray: 3 3; }
.lz-hilfe { stroke: var(--lz-boden); stroke-width: 2; fill: none; }
.lz-wasser-flaeche { fill: var(--lz-boden-soft); }
.lz-wasser { fill: none; stroke: var(--lz-boden); stroke-width: 2; }
.lz-grund-flaeche { fill: var(--lz-boden-soft); }
.lz-grund { stroke: var(--lz-boden); stroke-width: 3; }
.lz-erde-strich { stroke: var(--lz-boden); stroke-width: 2; opacity: .45; }
.lz-spitze-aus { fill: var(--lz-aus); } .lz-spitze-zur { fill: var(--lz-zur); } .lz-spitze-ruhe { fill: var(--lz-ruhe); }
.lz-spitze-grau { fill: var(--line-strong); } .lz-spitze-hilfe { fill: var(--lz-boden); } .lz-spitze-zelle { fill: var(--lz-zelle); }
.lz-fremd-strich { stroke: var(--line-strong); stroke-width: 1.4; }
.lz-pixel { fill: var(--dm-ink); opacity: .08; }
.w-bereich { fill: none; stroke: var(--line-strong); stroke-width: 1.4; stroke-dasharray: 6 5; }
.w-frei { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 4 5; }
.w-hilfe { fill: var(--lz-boden-soft); fill-opacity: .4; stroke: var(--lz-boden); stroke-width: 1.2; stroke-dasharray: 4 3; }
.w-stab { fill: var(--lz-boden-soft); stroke: var(--lz-boden); stroke-width: 1.2; }
.w-entw { fill: var(--lz-boden-soft); stroke: var(--lz-boden); stroke-width: 1.2; }
.w-erde { fill: url(#p-erde); stroke: none; }
.t-e2 { fill: var(--e2-soft); stroke: var(--e2); stroke-width: 1.6; }
.t-e3 { fill: var(--e3-soft); stroke: var(--e3); stroke-width: 1.6; stroke-dasharray: 6 4; }
section[id] { scroll-margin-top: 90px; }
@media (max-width: 1020px) { section[id] { scroll-margin-top: 150px; } }

/* 404: der Punkt fehlt, an seiner Stelle ein leerer Kreis */
.leerer-punkt { width: 220px; height: 200px; border-radius: 50%; border: 2px dashed var(--text); justify-self: end; animation: atmen 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .leerer-punkt { animation: none; } }
@media (max-width: 900px) { .leerer-punkt { width: 120px; height: 110px; justify-self: start; order: -1; } }
body.seite-404 { min-height: 100vh; }

/* Forschung: Zahlen, Räume, Schärfe (08.11.2026) */
.zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 56px 0 56px; border-top: 1px solid #3a3a3a; }
.zahlen > div { padding-top: 28px; }
.zahlen .zahl { display: block; font-size: clamp(44px, 6vw, 80px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; margin-bottom: 14px; }
.zahlen .was { display: block; font-size: 16px; color: var(--text3); max-width: 260px; }
:root[data-theme="dark"] .zahlen { border-top-color: #CFCFCF; }
@media (max-width: 767px) { .zahlen { grid-template-columns: 1fr; gap: 8px; margin: 40px 0; } }
.raeume { display: grid; grid-template-columns: repeat(3, 56px); gap: 10px; margin-bottom: 32px; }
.raeume span { height: 48px; border: 1px solid var(--linie); }
.raeume span.an { border-color: var(--text); background: var(--text); }
@media (prefers-reduced-motion: no-preference) {
  .raeume span.an { animation: raum 6s ease-in-out infinite; }
  .raeume span.an:nth-child(5) { animation-delay: 2s; } .raeume span.an:nth-child(9) { animation-delay: 4s; }
}
@keyframes raum { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.schaerfe { height: 2px; background: var(--linie); margin-top: 24px; }
.schaerfe i { display: block; height: 100%; background: var(--text); }
section.dunkel .lead { color: inherit; }
:lang(mk) q { quotes: "„" "“" "‚" "‘"; }
.raster2.bilder { align-items: stretch; }
.raster2.bilder figure { display: flex; flex-direction: column; justify-content: space-between; }
section.dunkel .karte.auf-dunkel { background: transparent; border-color: #3a3a3a; box-shadow: none; }
section.dunkel .karte.auf-dunkel p { color: var(--text3); }
section.dunkel .karte.auf-dunkel .nr { color: var(--text3); }
:root[data-theme="dark"] section.dunkel .karte.auf-dunkel { border-color: #CFCFCF; }

/* Animierte Modellbilder (animation.js) */
figure.anim canvas { display: block; width: 100%; height: auto; }
figure.anim[data-anim="tragkraft"] canvas { cursor: crosshair; touch-action: manipulation; }
.anim-leiste { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 16px; font-size: 15px; color: var(--muted); }
.anim-leiste button { font: 500 14px/1.2 var(--font); padding: 10px 16px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.anim-leiste button:hover, .anim-leiste button[aria-pressed="true"] { border-color: var(--ink); }
.anim-leiste button:focus-visible, .anim-leiste input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.anim-regler { display: flex; gap: 12px; align-items: center; flex: 1 1 300px; color: var(--ink); }
.anim-regler input[type="range"] { flex: 1; min-width: 120px; accent-color: var(--ink); }
.anim-wert { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; min-width: 3.2em; }
.anim-legende { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.anim-legende i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; border: 2px solid; }
.anim-legende i.ruhig { border-color: var(--lz-zur); background: var(--cell-fill); }
.anim-legende i.gleicht { border-color: var(--lz-aus); background: var(--lz-aus); }
.anim-legende i.kippt { border-color: var(--rot-hell); background: var(--rot-hell); }
