/* Lernstudio · Gestaltungswerte (Meilenstein A0.3). Erzeugt von entwurf/werkzeug/baue_werte.py
   aus entwurf/stil/entwurf.css; nicht von Hand ändern. Gilt für den Arbeitsplatz und die Server-Seiten.
   Schriften: SIL Open Font License 1.1, Lizenztexte in schrift/OFL-*.txt. */

/* ---------- Schriften (lokal, SIL Open Font License 1.1, siehe schrift/OFL-*.txt) */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("schrift/figtree-latin-wght-normal.woff2") format("woff2");
  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; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("schrift/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 900; font-display: swap; src: url("schrift/figtree-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("schrift/literata-latin-wght-normal.woff2") format("woff2");
  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; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("schrift/literata-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("schrift/literata-latin-wght-italic.woff2") format("woff2"); }


/* ---------- GESTALTUNGSWERTE */
:root {
  /* Flächen: warmes Papier. grund trägt Kopf und Leiste, flaeche die Arbeitsflächen, flaeche-2/3 sind Tonstufen darin. */
  --grund: #f3efe7; --flaeche: #fffdfa; --flaeche-2: #f8f5ee; --flaeche-3: #eeeae0;
  --linie: #e5e0d4; --linie-stark: #cdc6b7; --kante-bedien: #8a8375;
  --text: #1f1d1a; --text-2: #524d46; --text-3: #6a655c;
  /* Akzent „Tinte“: Handlung, Auswahl, Fokus, Agent. */
  --akzent: #3d4ec2; --akzent-stark: #2b399c; --akzent-flaeche: #e4e7fa; --akzent-text: #ffffff;
  /* Farbfamilien: je Tonfläche (flaeche), Schrift darauf (text) und Vollton für Punkte und Formen (voll). */
  --blau-flaeche: #d9e8fa; --blau-text: #1b518c; --blau-voll: #2f7dcc;
  --tuerkis-flaeche: #d2ede8; --tuerkis-text: #0e5d57; --tuerkis-voll: #19897f;
  --gruen-flaeche: #dbeed7; --gruen-text: #24632f; --gruen-voll: #358a42;
  --gelb-flaeche: #fae9bd; --gelb-text: #754e00; --gelb-voll: #b07600;
  --koralle-flaeche: #fbdfd4; --koralle-text: #96381b; --koralle-voll: #d2582f;
  --rosa-flaeche: #f9dce6; --rosa-text: #912e57; --rosa-voll: #cf4f85;
  --violett-flaeche: #e9defa; --violett-text: #59389d; --violett-voll: #8860d6;
  /* Zustände */
  --gut: #24632f; --gut-flaeche: #dbeed7; --warn: #754e00; --warn-flaeche: #fae9bd; --schlecht: #ad241c; --schlecht-flaeche: #fbdcd8;
  /* Markierungsfarben im Lesetext (Schrift darauf: --text) und auf dem Seitenbild (immer Papier, daher fest). */
  --m-gelb: #ffe66d; --m-gruen: #b5e8a8; --m-blau: #a9d6ff; --m-rosa: #ffc0d3; --m-violett: #dcc8ff;
  --p-gelb: #ffe45c; --p-gruen: #a8e39b; --p-blau: #9fd0ff; --p-rosa: #ffb3cb; --p-violett: #d3bcff;
  --tinte: #1d3fa8;
  /* Formen */
  --r-1: 6px; --r-2: 10px; --r-3: 14px; --r-4: 20px; --r-5: 28px; --r-voll: 999px;
  /* Abstände (4er-Raster) */
  --a-1: 4px; --a-2: 8px; --a-3: 12px; --a-4: 16px; --a-5: 24px; --a-6: 32px; --a-7: 48px;
  /* Tiefe: Flächen liegen flach; Schatten nur für Schwebendes. */
  --schatten-1: 0 1px 2px rgba(60,48,20,.06), 0 3px 10px rgba(60,48,20,.07);
  --schatten: 0 2px 6px rgba(60,48,20,.08), 0 14px 40px rgba(60,48,20,.16);
  /* Bewegung */
  --dauer-1: 120ms; --dauer-2: 220ms; --dauer-3: 360ms;
  --kurve: cubic-bezier(.2, 0, 0, 1); --kurve-feder: cubic-bezier(.3, 1.45, .5, 1);
  /* Schrift */
  --ui: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --lese: "Literata", "Charter", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs: 13.5px; --fs-klein: 12px; --fs-titel: 19px; --fs-lese: 17px;
  /* Dichte kompakt (Vorgabe) */
  --zeile: 32px; --knopf: 30px; --polster: 14px;
  /* Maße des Rahmens */
  --b-leiste: 252px; --b-rechts: 420px; --b-dock: 0px; --fuge: 8px;
  color-scheme: light;
}
:root[data-thema="dunkel"] {
  --grund: #161513; --flaeche: #201f1c; --flaeche-2: #262521; --flaeche-3: #302e29;
  --linie: #383630; --linie-stark: #504c44; --kante-bedien: #8f897c;
  --text: #ece8e0; --text-2: #bbb6ab; --text-3: #a09b90;
  --akzent: #aab4ff; --akzent-stark: #c5ccff; --akzent-flaeche: #2a2f58; --akzent-text: #141833;
  --blau-flaeche: #1c3450; --blau-text: #a6cffa; --blau-voll: #5ba3ec;
  --tuerkis-flaeche: #143d3a; --tuerkis-text: #8fd9d1; --tuerkis-voll: #3db8ad;
  --gruen-flaeche: #1f3f29; --gruen-text: #a4dba9; --gruen-voll: #5db96a;
  --gelb-flaeche: #463510; --gelb-text: #f0cb77; --gelb-voll: #dda83a;
  --koralle-flaeche: #52271a; --koralle-text: #ffb59c; --koralle-voll: #f0805a;
  --rosa-flaeche: #4d2135; --rosa-text: #f9aec8; --rosa-voll: #e77ba6;
  --violett-flaeche: #37285b; --violett-text: #cdb8fa; --violett-voll: #a483ea;
  --gut: #a4dba9; --gut-flaeche: #1f3f29; --warn: #f0cb77; --warn-flaeche: #463510; --schlecht: #ffaaa0; --schlecht-flaeche: #55231f;
  --m-gelb: #5e4f00; --m-gruen: #29582a; --m-blau: #1c4a78; --m-rosa: #6f2a44; --m-violett: #49347c;
  --tinte: #9db8ff;
  --schatten-1: 0 1px 2px rgba(0,0,0,.35), 0 3px 10px rgba(0,0,0,.3);
  --schatten: 0 2px 6px rgba(0,0,0,.4), 0 14px 40px rgba(0,0,0,.55);
  color-scheme: dark;
}
:root[data-dichte="bequem"] { --zeile: 46px; --knopf: 34px; --polster: 18px; --fs: 14.5px; --fs-klein: 12.5px; }
@media (min-width: 2300px) { :root { --fs: 14.5px; --fs-klein: 12.5px; --fs-lese: 18px; --b-leiste: 280px; --b-rechts: 500px; } :root[data-dichte="bequem"] { --fs: 15.5px; } }
@media (max-width: 1500px) { :root { --fs: 13px; --b-leiste: 228px; --b-rechts: 360px; } }

/* Bedeutung → Farbfamilie. Fundarten tragen zusätzlich eine eigene Form (Plakette), Stränge einen Punkt. */
.fund-artikel, .strang-studien-statistik { --fam-fl: var(--blau-flaeche); --fam-tx: var(--blau-text); --fam-vo: var(--blau-voll); }
.fund-nachricht, .strang-szene-news { --fam-fl: var(--koralle-flaeche); --fam-tx: var(--koralle-text); --fam-vo: var(--koralle-voll); }
.fund-termin { --fam-fl: var(--gelb-flaeche); --fam-tx: var(--gelb-text); --fam-vo: var(--gelb-voll); }
.fund-organisation, .strang-orga-hr-pm { --fam-fl: var(--violett-flaeche); --fam-tx: var(--violett-text); --fam-vo: var(--violett-voll); }
.fund-werkzeug, .strang-tools-luecken { --fam-fl: var(--tuerkis-flaeche); --fam-tx: var(--tuerkis-text); --fam-vo: var(--tuerkis-voll); }
.strang-grundlagen { --fam-fl: var(--rosa-flaeche); --fam-tx: var(--rosa-text); --fam-vo: var(--rosa-voll); }
/* ---------- ENDE WERTE */

/* ---------- STELLSCHRAUBEN (Einstellungen, Bereich „Darstellung“; GESTALTUNG.md §12). Je Konto gespeichert.
   Freigegeben sind: Farbschema, Akzent aus sechs geprüften Tönen, Dichte, Schriftgröße, Lesespalte, Leseschrift, Rundung.
   Bedeutungsfarben (Fundarten, Stränge, Markierungen, Zustände) bleiben fest. A0.3 übernimmt diesen Block mit den Werten. */
:root[data-akzent="petrol"] { --akzent: #0f6e73; --akzent-stark: #0a5357; --akzent-flaeche: #d6eeee; --akzent-text: #ffffff; }
:root[data-akzent="moos"] { --akzent: #3a6b2e; --akzent-stark: #2a5221; --akzent-flaeche: #e0eeda; --akzent-text: #ffffff; }
:root[data-akzent="beere"] { --akzent: #a02c66; --akzent-stark: #7e1f4f; --akzent-flaeche: #f9dfea; --akzent-text: #ffffff; }
:root[data-akzent="kupfer"] { --akzent: #a0481c; --akzent-stark: #7c3512; --akzent-flaeche: #fae1d3; --akzent-text: #ffffff; }
:root[data-akzent="schiefer"] { --akzent: #48566b; --akzent-stark: #364255; --akzent-flaeche: #e3e8ef; --akzent-text: #ffffff; }
:root[data-thema="dunkel"][data-akzent="petrol"] { --akzent: #7fd3d6; --akzent-stark: #a8e3e5; --akzent-flaeche: #123638; --akzent-text: #062325; }
:root[data-thema="dunkel"][data-akzent="moos"] { --akzent: #a3d694; --akzent-stark: #c0e5b5; --akzent-flaeche: #1e3719; --akzent-text: #0e2209; }
:root[data-thema="dunkel"][data-akzent="beere"] { --akzent: #f3a3c8; --akzent-stark: #f8c1da; --akzent-flaeche: #4f1f37; --akzent-text: #2b0a1a; }
:root[data-thema="dunkel"][data-akzent="kupfer"] { --akzent: #f5ad85; --akzent-stark: #f9c7aa; --akzent-flaeche: #50280f; --akzent-text: #2a1204; }
:root[data-thema="dunkel"][data-akzent="schiefer"] { --akzent: #b3c0d4; --akzent-stark: #cbd5e4; --akzent-flaeche: #2a323f; --akzent-text: #131a24; }
:root[data-groesse="klein"] { --fs: 12.5px; --fs-klein: 11.5px; --fs-lese: 16px; }
:root[data-groesse="gross"] { --fs: 15px; --fs-klein: 13px; --fs-lese: 19px; --zeile: 36px; --knopf: 34px; }
:root[data-groesse="gross"][data-dichte="bequem"] { --fs: 16px; --zeile: 50px; }
:root[data-spalte="schmal"] { --lesebreite: 36rem; } :root[data-spalte="breit"] { --lesebreite: 52rem; }
:root[data-leseschrift="figtree"] { --lese: var(--ui); }
:root[data-rundung="knapp"] { --r-1: 3px; --r-2: 5px; --r-3: 7px; --r-4: 10px; --r-5: 14px; --r-voll: 8px; }
/* ---------- ENDE STELLSCHRAUBEN */

/* ---------- STELLSCHRAUBEN, Teil 2: Barrierefreiheit (GESTALTUNG.md §12; Paket A1.9). Kontrast, Farbsehen, Bewegung. */
:root[data-kontrast="hoch"] { --grund: #ffffff; --flaeche: #ffffff; --flaeche-2: #f4f2ec; --flaeche-3: #e6e2d8; --linie: #8a8375; --linie-stark: #5c564b; --kante-bedien: #3d3932;
  --text: #000000; --text-2: #26231f; --text-3: #3d3932; --akzent: #2b399c; --akzent-stark: #1b2570; --akzent-flaeche: #dfe3fa;
  --gut: #17481f; --warn: #573a00; --schlecht: #8a1610; --blau-text: #123c69; --tuerkis-text: #0a4541; --gruen-text: #17481f; --gelb-text: #573a00; --koralle-text: #73290f; --rosa-text: #6e1f40; --violett-text: #432a78; }
:root[data-thema="dunkel"][data-kontrast="hoch"] { --grund: #000000; --flaeche: #000000; --flaeche-2: #141412; --flaeche-3: #24231f; --linie: #8f897c; --linie-stark: #b9b4a9; --kante-bedien: #d0cbc0;
  --text: #ffffff; --text-2: #ece8e0; --text-3: #d0cbc0; --akzent: #c5ccff; --akzent-stark: #dfe3ff; --akzent-flaeche: #23284c; --akzent-text: #000000;
  --gut: #c0e8c4; --warn: #f7dc9c; --schlecht: #ffc7c0; --blau-text: #c4dffc; --tuerkis-text: #b4e8e2; --gruen-text: #c0e8c4; --gelb-text: #f7dc9c; --koralle-text: #ffcfbd; --rosa-text: #fcc9da; --violett-text: #ded0fc; }
:root[data-kontrast="hoch"] .karte, :root[data-kontrast="hoch"] .rubrik, :root[data-kontrast="hoch"] #mitte, :root[data-kontrast="hoch"] #rechts, :root[data-kontrast="hoch"] #dock, :root[data-kontrast="hoch"] .kn.rand, :root[data-kontrast="hoch"] .sprechleiste { outline: 1px solid var(--linie); }
:root[data-kontrast="hoch"] :focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
/* Farbsehen: Töne, die sich auch bei Rot-Grün-Schwäche trennen (nach Okabe und Ito), dazu je Markierungsfarbe ein eigenes Strichmuster. */
:root[data-farbsehen="muster"] { --m-gelb: #f7e37a; --m-gruen: #9fdcc9; --m-blau: #a9d3f5; --m-rosa: #f5b99a; --m-violett: #dcc3ea;
  --p-gelb: #f0e442; --p-gruen: #7fd1b9; --p-blau: #8cc4f0; --p-rosa: #f0a37a; --p-violett: #cfa8e0; --gruen-voll: #007a5e; --koralle-voll: #c44e00; }
:root[data-thema="dunkel"][data-farbsehen="muster"] { --m-gelb: #5c5200; --m-gruen: #0d5244; --m-blau: #17486f; --m-rosa: #6e3a16; --m-violett: #523a66; --gruen-voll: #4fc7a8; --koralle-voll: #f0915a; }
:root[data-farbsehen="muster"] .m { text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--text-2); }
:root[data-farbsehen="muster"] .m.f-gelb { text-decoration-style: solid; } :root[data-farbsehen="muster"] .m.f-gruen { text-decoration-style: dashed; }
:root[data-farbsehen="muster"] .m.f-blau { text-decoration-style: dotted; } :root[data-farbsehen="muster"] .m.f-rosa { text-decoration-style: wavy; text-decoration-thickness: 1.5px; }
:root[data-farbsehen="muster"] .m.f-violett { text-decoration-style: double; text-decoration-thickness: 1px; }
:root[data-farbsehen="muster"] .stufe.lesenswert::after { content: "✓"; font-weight: 700; }
:root[data-bewegung="aus"] *, :root[data-bewegung="aus"] *::before, :root[data-bewegung="aus"] *::after, :root[data-bewegung="aus"] ::backdrop { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
:root[data-bewegung="aus"] .wellen i:nth-child(odd) { height: 80%; } :root[data-bewegung="aus"] .wellen i:nth-child(even) { height: 45%; }
:root[data-groesse="sehr_gross"] { --fs: 17px; --fs-klein: 14.5px; --fs-lese: 21px; --zeile: 42px; --knopf: 38px; }
:root[data-kontrast="hoch"] .reiter button.an { background: var(--text); color: var(--flaeche); box-shadow: none; }


/* ---------- GERÄTESCHEMA (erzeugt): ohne data-thema am Wurzelelement folgt die Seite dem Gerät.
   Dieselben Dunkelwerte wie oben, nur mit dem Auswahlmerkmal :root:not([data-thema]). */
@media (prefers-color-scheme: dark) {
  :root:not([data-thema]) {
  --grund: #161513; --flaeche: #201f1c; --flaeche-2: #262521; --flaeche-3: #302e29;
  --linie: #383630; --linie-stark: #504c44; --kante-bedien: #8f897c;
  --text: #ece8e0; --text-2: #bbb6ab; --text-3: #a09b90;
  --akzent: #aab4ff; --akzent-stark: #c5ccff; --akzent-flaeche: #2a2f58; --akzent-text: #141833;
  --blau-flaeche: #1c3450; --blau-text: #a6cffa; --blau-voll: #5ba3ec;
  --tuerkis-flaeche: #143d3a; --tuerkis-text: #8fd9d1; --tuerkis-voll: #3db8ad;
  --gruen-flaeche: #1f3f29; --gruen-text: #a4dba9; --gruen-voll: #5db96a;
  --gelb-flaeche: #463510; --gelb-text: #f0cb77; --gelb-voll: #dda83a;
  --koralle-flaeche: #52271a; --koralle-text: #ffb59c; --koralle-voll: #f0805a;
  --rosa-flaeche: #4d2135; --rosa-text: #f9aec8; --rosa-voll: #e77ba6;
  --violett-flaeche: #37285b; --violett-text: #cdb8fa; --violett-voll: #a483ea;
  --gut: #a4dba9; --gut-flaeche: #1f3f29; --warn: #f0cb77; --warn-flaeche: #463510; --schlecht: #ffaaa0; --schlecht-flaeche: #55231f;
  --m-gelb: #5e4f00; --m-gruen: #29582a; --m-blau: #1c4a78; --m-rosa: #6f2a44; --m-violett: #49347c;
  --tinte: #9db8ff;
  --schatten-1: 0 1px 2px rgba(0,0,0,.35), 0 3px 10px rgba(0,0,0,.3);
  --schatten: 0 2px 6px rgba(0,0,0,.4), 0 14px 40px rgba(0,0,0,.55);
  color-scheme: dark;}
  :root:not([data-thema])[data-akzent="petrol"] { --akzent: #7fd3d6; --akzent-stark: #a8e3e5; --akzent-flaeche: #123638; --akzent-text: #062325;}
  :root:not([data-thema])[data-akzent="moos"] { --akzent: #a3d694; --akzent-stark: #c0e5b5; --akzent-flaeche: #1e3719; --akzent-text: #0e2209;}
  :root:not([data-thema])[data-akzent="beere"] { --akzent: #f3a3c8; --akzent-stark: #f8c1da; --akzent-flaeche: #4f1f37; --akzent-text: #2b0a1a;}
  :root:not([data-thema])[data-akzent="kupfer"] { --akzent: #f5ad85; --akzent-stark: #f9c7aa; --akzent-flaeche: #50280f; --akzent-text: #2a1204;}
  :root:not([data-thema])[data-akzent="schiefer"] { --akzent: #b3c0d4; --akzent-stark: #cbd5e4; --akzent-flaeche: #2a323f; --akzent-text: #131a24;}
  :root:not([data-thema])[data-kontrast="hoch"] { --grund: #000000; --flaeche: #000000; --flaeche-2: #141412; --flaeche-3: #24231f; --linie: #8f897c; --linie-stark: #b9b4a9; --kante-bedien: #d0cbc0;
  --text: #ffffff; --text-2: #ece8e0; --text-3: #d0cbc0; --akzent: #c5ccff; --akzent-stark: #dfe3ff; --akzent-flaeche: #23284c; --akzent-text: #000000;
  --gut: #c0e8c4; --warn: #f7dc9c; --schlecht: #ffc7c0; --blau-text: #c4dffc; --tuerkis-text: #b4e8e2; --gruen-text: #c0e8c4; --gelb-text: #f7dc9c; --koralle-text: #ffcfbd; --rosa-text: #fcc9da; --violett-text: #ded0fc;}
  :root:not([data-thema])[data-farbsehen="muster"] { --m-gelb: #5c5200; --m-gruen: #0d5244; --m-blau: #17486f; --m-rosa: #6e3a16; --m-violett: #523a66; --gruen-voll: #4fc7a8; --koralle-voll: #f0915a;}
}
/* ---------- ENDE GERÄTESCHEMA */
