/* Vincent Krämer · Website, dark appearance (since 2026-10-18)
   No switch for visitors: the pages load this file only on phones and tablets that ask for dark
   (<link media="(prefers-color-scheme: dark) and (pointer: coarse)">); computers stay light even in dark mode, since
   forced darkening happens on phones (his call, 2026-10-18), and <meta name="color-scheme" content="light dark"> tells browsers
   that would otherwise darken the page by force (Chrome's auto dark, Samsung Internet) that it has its own dark look.

   The idea: the lights in the room go out. Black instead of white (never grey), the type turns light, the flat accents
   stay in the metal's hue (about 206°) but lighter so they read on black. The blue metal is unchanged: metall.js paints
   the same surfaces, the closing block keeps its white type.

   The projector screen goes dark too (his pick, 2026-10-18, over a lit screen in the dark room): a shade lighter
   than the wall behind it, so it still reads as a surface, with the sentence in light type. */

:root {
  color-scheme: dark;
  --grund: #0B0D12;         /* the page: the site's own near-black */
  --kachel: #0F1217;        /* bento tiles, a step off the page */
  --papier: #12151B;
  --wand: #0E1015;          /* the room's wall at night, a shade darker than the screen */
  --tinte: #ECEEF2;         /* type */
  --schwarz: #ECEEF2;
  --text-2: #A2A9B5;        /* secondary text (8:1 on the page) */
  --grau: #737A86;          /* unchosen candidates, unselected offers */
  --linie: #8EA8BC;         /* brackets, links, chosen candidates: the steel tone lifted for black (7.6:1) */
  --navy: #8EA8BC;          /* focus rings and hover edges */
  --markiert: #243543;      /* the highlighter: deep steel behind light type */
  --mitte: #3A4654; --hell: #222831; --spur: #171B22;
  --rand: rgba(170, 192, 212, .14);          /* hairlines and tile edges */
  --rand-stark: rgba(170, 192, 212, .38);
  --fig-grund: var(--grund);                 /* what the figures' solids are filled with: the surface they stand on */
}

body { background: var(--grund); color: var(--tinte); }
.vt-kopf nav a:hover, .recht .kopf nav a:hover { color: var(--linie); }

/* the slim bar */
.balken { background: var(--grund); border-bottom-color: var(--rand); }

/* ——— The hero ——— */
.vortrag { background: linear-gradient(var(--wand) 35%, var(--grund)); }
#workshops { background: var(--grund); }
.vt-tuch-schatten { filter: drop-shadow(9px 5px 12px rgba(0, 0, 0, .55)); }
.vt-rolle { color: var(--text-2); border-left-color: #3A404B; }

/* the screen: everything on it in the dark tones */
.vt-tuch-schatten { --tinte: #EEF0F4; --markiert: #2A3C4B; --linie: #93ADC1; --grau: #7A818D; --schatten: #283A48; }
.vt-tuch {
  background:
    linear-gradient(180deg, #07080B 0, #0A0C0F 14px, #0E1014 20px, rgba(20, 23, 29, .6) 24px, rgba(24, 27, 34, 0) 70px),
    linear-gradient(90deg, rgba(6, 7, 10, .5) 0, rgba(6, 7, 10, 0) 9%, rgba(6, 7, 10, 0) 90%, rgba(6, 7, 10, .55) 100%),
    radial-gradient(85% 80% at 50% 44%, #1E222A 0, #1B1F26 42%, #181B22 75%, #15181E 100%); }
[data-modus="schmal"] .vt-tuch {
  background:
    linear-gradient(180deg, #07080B 0, #0C0E12 8px, rgba(24, 27, 34, 0) 30px),
    radial-gradient(85% 80% at 50% 40%, #1E222A 0, #1A1D24 60%, #15181E 100%); }
/* the cloth's grain, turned light so it still shows on the dark screen */
.vt-tuch::after { mix-blend-mode: screen; opacity: .35; filter: invert(1); }

/* ——— Sections ——— */
.abschnitt { background: var(--grund); }
.fakten div, .eintrag { border-bottom-color: var(--rand); }

/* Workshops: the bento tiles */
.kachel { background: var(--kachel); border-color: var(--rand); --fig-grund: var(--kachel); }
.kachel.k-papier { background: var(--papier); --fig-grund: var(--papier); }
.kachel:not(.k-fest):not(.offen):hover { border-color: var(--rand-stark); }
.k-plus, .k-zu { background: var(--kachel); border-color: rgba(170, 192, 212, .3); }
.k-blau .k-zu { background: var(--weiss); border-color: var(--weiss); }
.k-blau .k-plus { background: var(--weiss); border-color: var(--weiss); color: #0B0E14; }
.k-rahmen, .k-rahmen-knopf { background: var(--kachel); }
.k-rahmen { border-color: rgba(170, 192, 212, .22); }
.k-rahmen.auf { box-shadow: 0 -12px 28px -14px rgba(0, 0, 0, .6); }
@media (hover: hover) { .k-rahmen:hover { box-shadow: 0 -12px 28px -14px rgba(0, 0, 0, .6); } }

/* Beratung: the stage and the stacked cards */
.bk-buehne, .b-kand.stapel .bk-folie { border-color: var(--rand); --fig-grund: #13161C;
  background: radial-gradient(90% 85% at 50% 38%, #161A20 0, #13161C 45%, #101318 80%, #0E1116 100%); }
.b-kand.stapel .bk-folie { box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .7); }
.bk-buehne::after, .b-kand.stapel .bk-folie::after { mix-blend-mode: screen; filter: invert(1); opacity: .25; }
.bk-wenn { color: #6E7581; }
.bk-liste [role="tab"]:hover { background: rgba(142, 168, 188, .06); }
.b-kand .b-unsicher { border-top-color: var(--rand); }

/* the request form's choice list (it opens over the metal) */
.wahl-liste { background: var(--kachel); border-color: var(--rand-stark); color: var(--tinte); box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .7); }
.wahl-option.aktiv { background: rgba(142, 168, 188, .1); }

/* ——— The figures: navy line art on white by day, light steel lines on the surface they stand on by night.
   The figure on the metal tile (data-ton="dunkel") keeps its own colours. ——— */
.fig:not([data-ton="dunkel"]) {
  --anatomy-paper: var(--fig-grund); --anatomy-face: var(--fig-grund); --anatomy-top: var(--fig-grund);
  --anatomy-shade-0: var(--fig-grund); --anatomy-shade-1: var(--fig-grund); --anatomy-shade-2: var(--fig-grund); --anatomy-shade-3: var(--fig-grund);
  --anatomy-lit-top: var(--fig-grund); --anatomy-lit-shade: var(--fig-grund);
  --anatomy-hi: #C5D1DC; --anatomy-mid: #7F909F; --anatomy-lo: #4A5864; --anatomy-faint: #28323C; --anatomy-lit: #C5D1DC; --anatomy-dot: #C5D1DC;
  --anatomy-halo: #000; --anatomy-halo-opacity: .45; }

/* ——— Impressum and Datenschutz ——— */
body.recht { background: var(--grund); }
.recht-text section { border-top-color: var(--rand); }
.recht-bild { border-color: var(--rand); --fig-grund: var(--papier); }
