@charset "UTF-8";
/* Knuspercode Labs – gemeinsames Stylesheet für alle Seiten
   Layout: ein gemeinsamer "Rahmen" (Kopfzeile, Fußzeile, Raster) für alle Projekte.
   Jede Projektseite färbt denselben Rahmen über <body data-thema="..."> neu ein,
   so wie Riot oder Blizzard ihre Spieleseiten. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-extrabold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens: Studio-Thema (Nachtblau + Keks) ---------- */
:root {
  --bg: #03194e;          /* Logo-Hintergrund */
  --surface: #0b2766;
  --surface-2: #123278;
  --line: rgba(255, 244, 223, 0.14);
  --fg: #fff4df;          /* Creme statt Weiß */
  --muted: #b3bedb;
  --accent: #f9b93c;      /* Keks */
  --accent-ink: #03194e;
  --accent-2: #e8892a;    /* Keksrand */
  --choc: #7e3311;        /* Schokostück */
  --header-bg: rgba(3, 25, 78, 0.86);

  --display: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --radius-l: 28px;
  --radius-m: 18px;
  --radius-s: 999px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  color-scheme: dark;
}

/* Projekt-Themen: dieselben Tokens, andere Werte */
body[data-thema="bloodline"] {
  --bg: #070d08;
  --surface: #0e1a10;
  --surface-2: #142617;
  --line: rgba(139, 227, 106, 0.18);
  --fg: #e3f5da;
  --muted: #93ac8d;
  --accent: #8be36a;       /* Nachtsicht-Grün */
  --accent-ink: #07120a;
  --accent-2: #d9c27a;     /* Sand */
  --header-bg: rgba(7, 13, 8, 0.88);
  color-scheme: dark;
}
body[data-thema="hollmarsch"] {
  --bg: #0a0d1c;
  --surface: #121731;
  --surface-2: #1a2142;
  --line: rgba(217, 170, 84, 0.18);
  --fg: #efe6d2;
  --muted: #a7acc4;
  --accent: #d9aa54;       /* Laternengold */
  --accent-ink: #0a0d1c;
  --accent-2: #7fd6a0;     /* Irrlicht */
  --header-bg: rgba(10, 13, 28, 0.88);
  color-scheme: dark;
}
body[data-thema="comic"] {
  --bg: #fff1cc;
  --surface: #ffffff;
  --surface-2: #ffe7a6;
  --line: #17130f;
  --fg: #17130f;
  --muted: #5d503f;
  --accent: #ff3b2f;
  --accent-ink: #ffffff;
  --accent-2: #2f6bff;
  --header-bg: rgba(255, 241, 204, 0.92);
  color-scheme: light;
}

body[data-thema="pixel"] {
  --bg: #14161d;
  --surface: #1c1f28;
  --surface-2: #252a36;
  --line: rgba(129, 153, 255, 0.2);
  --fg: #e9ebf2;
  --muted: #9ba1b5;
  --accent: #8199ff;       /* Auswahl-Blau aus dem Editor */
  --accent-ink: #0f1220;
  --accent-2: #f9b93c;     /* Keks */
  --header-bg: rgba(20, 22, 29, 0.88);
  color-scheme: dark;
}
body[data-thema="notbehelf"] {
  --bg: #12151c;
  --surface: #1a1f28;
  --surface-2: #212733;
  --line: rgba(207, 166, 78, 0.18);
  --fg: #e7e0cf;
  --muted: #a69f90;
  --accent: #cfa64e;       /* Messing */
  --accent-ink: #12151c;
  --accent-2: #63ad9f;     /* Grünspan */
  --header-bg: rgba(18, 21, 28, 0.88);
  color-scheme: dark;
}
/* Pixelbilder scharf vergrößern statt verwischen */
.kunst[src*="knusperpixel"] { image-rendering: pixelated; }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, canvas { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.kopf__innen { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.marke img { width: 38px; height: auto; }
.marke span { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .nav button {
  font: inherit; font-size: 0.98rem; font-weight: 600; color: var(--fg);
  background: none; border: 0; cursor: pointer; text-decoration: none;
  padding: 10px 14px; border-radius: 10px;
}
.nav a:hover, .nav button:hover, .nav button[aria-expanded="true"] { background: var(--surface); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav .knopf-klein { background: var(--accent); color: var(--accent-ink); margin-left: 8px; }
.nav .knopf-klein:hover { background: var(--accent); filter: brightness(1.08); }
.nav__chevron { display: inline-block; margin-left: 6px; transition: transform .2s; font-size: .8em; }
button[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }
.menue-knopf { display: none; margin-left: auto; font: inherit; font-weight: 700; font-size: .95rem; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }

/* Projekte-Menü (Dropdown) */
.nav__projekte { position: relative; }
.projektmenue {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: min(560px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 10px; display: grid; gap: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.projektmenue a { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center; padding: 8px; border-radius: 12px; }
.projektmenue a:hover { background: var(--surface-2); }
.projektmenue canvas, .projektmenue img { width: 88px; height: 56px; border-radius: 8px; object-fit: cover; }
.projektmenue strong { display: block; font-weight: 700; line-height: 1.25; }
.projektmenue small { color: var(--muted); font-weight: 500; }
.projektmenue__alle { border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 8px 4px !important; display: block !important; font-weight: 700; color: var(--accent); }

/* ---------- Bausteine ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: var(--radius-s); border: 2px solid transparent;
  background: var(--accent); color: var(--accent-ink);
  transition: transform .15s, filter .15s;
}
.knopf:hover { filter: brightness(1.07); transform: translateY(-1px); }
.knopf--rand { background: transparent; color: var(--fg); border-color: var(--line); }
.knopf--rand:hover { border-color: var(--fg); }
.knopf[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

.pille {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  padding: 5px 11px; border-radius: var(--radius-s);
  background: #f9b93c; color: #1b1406; white-space: nowrap;
}
.pille::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; }
.pille--konzept { background: #cfb2ff; color: #1d1030; }
.pille--entwicklung { background: #f9b93c; color: #2a1a00; }
.pille--test { background: #7fd6ff; color: #04202e; }
.pille--live { background: #86e39a; color: #06240e; }
.pille--leise { background: var(--surface-2); color: var(--muted); }
.pille--leise::before { display: none; }

.plattformen { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.plattformen li { font-size: .82rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); padding: 3px 10px; border-radius: var(--radius-s); }

.abschnitt { padding-block: clamp(56px, 8vw, 104px); }
.abschnitt__kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 4vw, 40px); }
.abschnitt__kopf h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.abschnitt__kopf p { color: var(--muted); max-width: 46ch; }

/* ---------- Startseite: Einstieg ---------- */
.einstieg { padding-top: clamp(32px, 5vw, 64px); }
.einstieg__text { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(24px, 3.5vw, 40px); }
.einstieg h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.einstieg h1 .zeile2 { color: var(--accent); display: block; }
.einstieg__text p { color: var(--muted); font-size: 1.12rem; max-width: 44ch; }

/* Scheinwerfer: großes Hauptprojekt wie bei Riot/Blizzard */
.scheinwerfer { position: relative; border-radius: var(--radius-l); overflow: hidden; background: #08120a; min-height: clamp(380px, 46vw, 540px); display: flex; isolation: isolate; }
.scheinwerfer .kunst { position: absolute; object-fit: cover; inset: 0; width: 100%; height: 100%; z-index: -2; transition: opacity .45s ease; }
.scheinwerfer::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 48%, rgba(0,0,0,0) 75%); }
.scheinwerfer__inhalt { align-self: end; padding: clamp(24px, 4vw, 48px); max-width: 640px; display: grid; gap: 16px; color: #fff8ea; }
.scheinwerfer__inhalt h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.scheinwerfer__inhalt p { font-size: 1.12rem; color: rgba(255, 248, 234, .86); max-width: 48ch; }
.scheinwerfer__inhalt .plattformen li { color: rgba(255,248,234,.85); border-color: rgba(255,248,234,.3); }
.scheinwerfer .knopf { background: #fff4df; color: #03194e; }
.scheinwerfer__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.scheinwerfer.wechselt .kunst { opacity: 0; }

.reiter { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.reiter button {
  flex: 1 1 0; min-width: 200px; text-align: left; cursor: pointer;
  font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: 14px 16px; display: grid; gap: 2px;
}
.reiter button strong { font-weight: 700; }
.reiter button span { font-size: .86rem; color: var(--muted); }
.reiter button[aria-selected="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* ---------- Projektkarten ---------- */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.karte { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.karte__bild { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-m); overflow: hidden; background: var(--surface); }
.karte__bild canvas, .karte__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.karte:hover .karte__bild canvas, .karte:hover .karte__bild img { transform: scale(1.04); }
.karte__bild .pille { position: absolute; left: 14px; top: 14px; }
.karte__text { padding: 18px 4px 0; display: grid; gap: 8px; }
.karte__text h3 { font-size: 1.7rem; }
.karte__text h3 small { display: block; font-family: var(--body); font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.karte__text p { color: var(--muted); }
.karte--leer .karte__bild { border: 2px dashed var(--line); background: transparent; }

/* ---------- Neuigkeiten ---------- */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 32px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.news time { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; padding-top: 4px; }
.news h3 { font-size: 1.45rem; margin-bottom: 6px; }
.news .projekt { font-size: .86rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: 6px; }
.news p { color: var(--muted); max-width: 64ch; }

/* ---------- Über uns ---------- */
.ueber { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.ueber__keks { position: relative; max-width: 380px; width: 100%; justify-self: center; }
.ueber__keks img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.ueber h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 20px; }
.ueber p + p { margin-top: 14px; }
.ueber p { color: var(--muted); max-width: 58ch; }
.ueber strong { color: var(--fg); }
.kontakt { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.kontakt code { font-family: var(--body); font-weight: 700; font-size: 1.1rem; background: var(--surface); border: 1px solid var(--line); padding: 10px 16px; border-radius: 12px; user-select: all; }
.kopiert { font-size: .9rem; color: var(--accent); font-weight: 600; }

/* ---------- Fußzeile ---------- */
.fuss { border-top: 1px solid var(--line); padding-block: 48px 40px; margin-top: 24px; background: var(--surface); }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.fuss h4 { margin: 0 0 12px; font-size: .95rem; color: var(--muted); font-weight: 600; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss a { text-decoration: none; font-weight: 600; }
.fuss a:hover { color: var(--accent); }
.fuss__marke p { color: var(--muted); margin-top: 12px; max-width: 36ch; font-size: .95rem; }
.fuss__unten { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- Projektseiten ---------- */
.p-held { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(420px, 56vw, 620px); display: flex; align-items: end; }
.p-held .kunst { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.p-held::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 38%, transparent 75%); }
.p-held__inhalt { padding-block: 48px clamp(40px, 6vw, 72px); display: grid; gap: 18px; }
.p-held .brotkrumen { font-size: .92rem; color: var(--muted); }
.p-held .brotkrumen a { text-decoration: none; font-weight: 600; }
.p-held .brotkrumen a:hover { color: var(--accent); }
.p-held h1 { font-size: clamp(2.8rem, 8vw, 6.4rem); max-width: 13ch; }
.p-held .untertitel { font-size: 1rem; font-weight: 600; color: var(--muted); }
.p-held .pitch { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 52ch; }
.p-held__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.merkmale { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 40px; }
.merkmal { padding-block: 22px; border-top: 1px solid var(--line); min-width: 0; }
.merkmal h3 { font-family: var(--body); font-weight: 800; font-size: 1.12rem; letter-spacing: 0; margin-bottom: 6px; }
.merkmal p { color: var(--muted); }

.fahrplan { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: schritt; }
.fahrplan li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
.fahrplan li::before {
  counter-increment: schritt; content: counter(schritt);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; border: 2px solid var(--line); color: var(--muted); background: var(--bg);
  position: relative; z-index: 1;
}
.fahrplan li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.fahrplan li:last-child::after { display: none; }
.fahrplan li.erledigt::before { content: "✓"; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.fahrplan li.jetzt::before { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent); }
.fahrplan h3 { font-family: var(--body); font-size: 1.1rem; font-weight: 800; letter-spacing: 0; padding-top: 9px; }
.fahrplan p { color: var(--muted); }
.fahrplan .jetzt h3::after { content: "Aktuell"; margin-left: 10px; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); vertical-align: 2px; }

/* Änderungsprotokoll eines Projekts: Zeitleiste, neueste Version oben */
.aenderungen { list-style: none; margin: 0; padding: 0; display: grid; max-width: 760px; }
.aenderungen > li { position: relative; padding: 0 0 30px 34px; }
.aenderungen > li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); z-index: 1; }
.aenderungen > li::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.aenderungen > li:last-child::after { display: none; }
.aenderungen > li:first-child::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.aenderungen .aend-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; }
.aenderungen time { color: var(--muted); font-size: .92rem; }
.aenderungen h3 { font-family: var(--body); font-size: 1.1rem; font-weight: 800; letter-spacing: 0; margin-bottom: 6px; }
.aenderungen ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 4px; }
.welt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.welt article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; display: grid; gap: 10px; align-content: start; }
.welt h3 { font-family: var(--body); font-size: 1.15rem; font-weight: 800; letter-spacing: 0; }
.welt p { color: var(--muted); }
.welt dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; color: var(--muted); }
.welt dt { color: var(--fg); font-weight: 700; }
.welt dd { margin: 0; }
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.hinweis { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; display: grid; gap: 10px; }
.hinweis h3 { font-family: var(--body); font-size: 1.1rem; font-weight: 800; letter-spacing: 0; }
.hinweis p { color: var(--muted); }


/* Bildergalerie auf Projektseiten */
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
/* Gerade Anzahl Bilder: immer zwei nebeneinander statt drei plus eins */
.galerie--paare { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.galerie--paare figure.breit { grid-column: 1 / -1; }
.galerie figure { margin: 0; border-radius: var(--radius-m); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.galerie img { display: block; width: 100%; height: auto; aspect-ratio: 20 / 7; object-fit: cover; }
.galerie figcaption { padding: 12px 16px; color: var(--muted); font-size: .95rem; }

/* Hollmarsch-Thema: Laternenlicht statt Keks */
body[data-thema="hollmarsch"] .p-held h1 { letter-spacing: .04em; text-shadow: 0 0 28px color-mix(in srgb, var(--accent) 35%, transparent); }

/* Comic-Thema: harte schwarze Konturen statt weicher Linien */
body[data-thema="comic"] .hinweis,
body[data-thema="comic"] .karte__bild { border: 3px solid var(--line); box-shadow: 6px 6px 0 var(--line); }
body[data-thema="comic"] .knopf { border: 3px solid var(--line); box-shadow: 4px 4px 0 var(--line); }
body[data-thema="comic"] .knopf--rand { background: var(--surface); }
body[data-thema="comic"] .merkmal { border-top-width: 3px; }
body[data-thema="comic"] .p-held h1 { -webkit-text-stroke: 0; text-shadow: 4px 4px 0 var(--accent); }
body[data-thema="comic"] .p-held::after { background: linear-gradient(0deg, var(--bg) 0%, transparent 35%), linear-gradient(90deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 80%, transparent) 42%, transparent 64%); }
body[data-thema="comic"] .fuss { background: var(--surface-2); }

/* ---------- Rechtstexte ---------- */
.text-seite { padding-block: clamp(40px, 6vw, 80px); }
.text-seite article { max-width: 70ch; }
.text-seite h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 28px; }
.text-seite h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.text-seite p, .text-seite li { color: var(--muted); }
.text-seite p + p { margin-top: 12px; }
.text-seite strong { color: var(--fg); }
.text-seite ul { padding-left: 1.2em; }
.text-seite a { color: var(--accent); }
.todo { background: rgba(249, 185, 60, .14); border: 1px dashed var(--accent); border-radius: 12px; padding: 14px 16px; color: var(--fg) !important; margin: 20px 0; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .menue-knopf { display: inline-flex; }
  .kopf__innen { position: static; }
  .kopf { position: sticky; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; gap: 2px; display: none; }
  .kopf.offen .nav { display: flex; }
  .nav .knopf-klein { margin: 8px 0 0; text-align: center; }
  .nav__projekte > button { width: 100%; text-align: left; }
  .projektmenue { position: static; width: 100%; box-shadow: none; margin-top: 4px; }
  .projektmenue a { grid-template-columns: 72px 1fr; }
  .projektmenue a .pille { display: none; }
  .projektmenue canvas, .projektmenue img { width: 72px; height: 46px; }
  .einstieg__text, .ueber, .zweispaltig { grid-template-columns: minmax(0, 1fr); }
  .ueber__keks { max-width: 220px; }
  .news li { grid-template-columns: minmax(0, 1fr); }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
  .fuss__marke { grid-column: 1 / -1; }
  .scheinwerfer::after { background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.05) 100%); }
  .reiter button { min-width: 180px; }
  .p-held { display: block; min-height: 0; padding-top: 60vw; }
  .p-held .kunst { height: 72vw; bottom: auto; }
  .p-held::after, body[data-thema="comic"] .p-held::after { bottom: auto; height: 72vw; background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 60%, transparent) 22%, transparent 50%); }
  .p-held__inhalt { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
