/* ═══════════════════════════════════════════════════════════════════
   🎀 ONIMAI KAWAII · basis.css — Token, Grundlagen, Grundbausteine
   ───────────────────────────────────────────────────────────────────
   EIN Designsystem für alle Seiten von onimai.eu / onimai.ch.
   Quelle: assets/onimai-web/css/ im Repo. Gebaut mit
   `node scripts/kawaii-seiten-einbauen.cjs` nach css/onimai-kawaii.css
   (basis + schale + bausteine), css/onimai-kawaii-startseite.css und
   css/onimai-kawaii-seiten.css.

   Präfix `k-` (kawaii) für alle Klassen, `--k-` für alle Token.
   Hell = Pastell (html.light). Ohne .light = „Nacht-Pastell":
   dunkles Violett statt Schwarz, dieselben Akzente.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Schriften (selbst gehostet, OFL — siehe /assets/fonts/LIZENZ.txt) ── */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/assets/fonts/fredoka-latin.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: 'Fredoka'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/assets/fonts/fredoka-latin-ext.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: 'Nunito'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/nunito-latin.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: 'Nunito'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/nunito-latin-ext.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: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/caveat-latin.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; }

/* ── Token: Pastell (Vorlage) ───────────────────────────────────────── */
:root {
  --k-bg: #fff7fb;
  --k-bg-2: #f1f8ff;
  --k-karo: #eaf4ff;
  --k-surface: rgba(255, 255, 255, .78);
  --k-surface-solid: #ffffff;
  --k-surface-2: rgba(255, 244, 250, .92);
  --k-surface-3: #fdf3f9;
  --k-ink: #3f2847;
  --k-ink-2: #624a6c;
  --k-ink-3: #74607f; /* war #85708f: 4,2:1 auf dem Grund — zu blass für Kleingedrucktes */
  --k-line: rgba(106, 59, 91, .13);
  --k-line-strong: rgba(106, 59, 91, .22);
  --k-outline: #6a3b5b;

  --k-pink: #ff8fc2;
  --k-pink-strong: #f2539c;
  --k-pink-deep: #b8246d; /* war #c92a78: 4,2:1 auf dem rosa Etikett, jetzt 4,9:1 */
  --k-pink-soft: #ffe1ef;
  --k-blue: #7cc8ff;
  --k-blue-strong: #3f9ee8;
  --k-blue-deep: #1f6fb8;
  --k-blue-soft: #dff0ff;
  --k-lilac: #b995ff;
  --k-lilac-strong: #8b62e6;
  --k-lilac-deep: #6a44c8;
  --k-lilac-soft: #efe6ff;
  --k-mint: #5fd6a8;
  --k-mint-deep: #137a55;
  --k-mint-soft: #dcf8ec;
  --k-yellow: #ffd66e;
  --k-gold-deep: #9a6400;
  --k-gold-soft: #fff3d1;
  --k-red: #ff6b8a;
  --k-red-deep: #c0264f;
  --k-red-soft: #ffe3ea;
  --k-trans-blue: #5bcefa;
  --k-trans-pink: #f5a9b8;

  --k-discord: #5865f2;
  --k-discord-soft: #e6e8ff;
  --k-telegram: #229ed9;
  --k-telegram-soft: #dcf1fc;
  --k-whatsapp: #1fa855;
  --k-whatsapp-soft: #dcf7e6;

  --k-grad-pink: linear-gradient(135deg, #ff7eb9 0%, #e2418f 100%);
  --k-grad-blue: linear-gradient(135deg, #5cb8ff 0%, #2a7fd4 100%);
  --k-grad-lilac: linear-gradient(135deg, #b58cff 0%, #7a4fdc 100%);
  --k-grad-mint: linear-gradient(135deg, #2fcf8f 0%, #138a5c 100%);
  --k-grad-gold: linear-gradient(135deg, #ffd56e 0%, #f0a21a 100%);
  --k-grad-discord: linear-gradient(135deg, #7d86ff 0%, #4f55d8 100%);
  --k-grad-telegram: linear-gradient(135deg, #4cc3f5 0%, #1e8fc8 100%);
  --k-grad-trans: linear-gradient(90deg, #5bcefa, #f5a9b8, #ffffff, #f5a9b8, #5bcefa);
  --k-grad-wort: linear-gradient(100deg, #ff6fb1 0%, #d65cff 48%, #3fa6f2 100%);
  --k-grad-rand: linear-gradient(120deg, #ff8fc2, #b995ff, #7cc8ff);

  --k-shadow-sm: 0 6px 18px -8px rgba(160, 70, 130, .28);
  --k-shadow: 0 22px 50px -24px rgba(214, 80, 150, .42), 0 6px 16px -8px rgba(80, 60, 120, .12);
  --k-shadow-lg: 0 40px 90px -40px rgba(214, 80, 150, .5), 0 12px 30px -14px rgba(80, 60, 120, .18);
  --k-glow-pink: 0 0 0 1px rgba(255, 143, 194, .35), 0 18px 46px -14px rgba(242, 83, 156, .55);
  --k-glow-blue: 0 0 0 1px rgba(124, 200, 255, .4), 0 18px 46px -14px rgba(63, 158, 232, .5);
  --k-glow-lilac: 0 0 0 1px rgba(185, 149, 255, .4), 0 18px 46px -14px rgba(122, 79, 220, .5);

  --k-r-xl: 40px;
  --k-r-lg: 30px;
  --k-r-md: 22px;
  --k-r-sm: 14px;
  --k-r-pill: 999px;

  --k-font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --k-font-display: 'Fredoka', 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --k-font-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --k-font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --k-ease: cubic-bezier(.22, .8, .25, 1);
  --k-spring: cubic-bezier(.34, 1.56, .64, 1);
  --k-dur: .45s;
  --k-header-h: 64px;
  --k-header-top: 10px;
  --k-max: 1240px;
  --k-tap: 48px;

  /* Seitenfarbe: jede Seite darf zwei Akzente setzen (body.k-seite--…). */
  --seite-a: var(--k-pink-strong);
  --seite-b: var(--k-blue-strong);
  --seite-soft: var(--k-pink-soft);
  --seite-tief: var(--k-pink-deep);
}

/* ── Token: Nacht-Pastell ───────────────────────────────────────────── */
html:not(.light) {
  --k-bg: #1a1224;
  --k-bg-2: #121a2c;
  --k-karo: rgba(124, 200, 255, .05);
  --k-surface: rgba(43, 28, 60, .78);
  --k-surface-solid: #2a1c3a;
  --k-surface-2: rgba(52, 33, 70, .88);
  --k-surface-3: #24173a;
  --k-ink: #fdf0f8;
  --k-ink-2: #dcc8ea;
  --k-ink-3: #b49cc8;
  --k-line: rgba(255, 200, 235, .12);
  --k-line-strong: rgba(255, 200, 235, .22);
  --k-pink-soft: rgba(255, 143, 194, .16);
  --k-blue-soft: rgba(124, 200, 255, .15);
  --k-lilac-soft: rgba(185, 149, 255, .16);
  --k-mint-soft: rgba(95, 214, 168, .15);
  --k-gold-soft: rgba(255, 214, 110, .14);
  --k-red-soft: rgba(255, 107, 138, .16);
  --k-discord-soft: rgba(125, 134, 255, .18);
  --k-telegram-soft: rgba(76, 195, 245, .16);
  --k-whatsapp-soft: rgba(61, 220, 132, .15);
  --k-pink-deep: #ffa3cf;
  --k-blue-deep: #9ad3ff;
  --k-lilac-deep: #cdb2ff;
  --k-mint-deep: #7ee8bf;
  --k-gold-deep: #ffd98a;
  --k-red-deep: #ff9db3;
  --k-shadow-sm: 0 6px 18px -8px rgba(0, 0, 0, .5);
  --k-shadow: 0 22px 50px -24px rgba(0, 0, 0, .6), 0 6px 16px -8px rgba(0, 0, 0, .35);
  --k-shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, .7), 0 12px 30px -14px rgba(0, 0, 0, .4);
  color-scheme: dark;
}
html.light { color-scheme: light; }

/* ── Seitenfarben ───────────────────────────────────────────────────── */
.k-seite--discord { --seite-a: #5865f2; --seite-b: #b995ff; --seite-soft: var(--k-discord-soft); --seite-tief: #4450d6; }
.k-seite--telegram { --seite-a: #229ed9; --seite-b: #7cc8ff; --seite-soft: var(--k-telegram-soft); --seite-tief: #136a95; }
.k-seite--spiele, .k-seite--games { --seite-a: #18a07a; --seite-b: #7cc8ff; --seite-soft: var(--k-mint-soft); --seite-tief: var(--k-mint-deep); }
.k-seite--news { --seite-a: #8b62e6; --seite-b: #ff8fc2; --seite-soft: var(--k-lilac-soft); --seite-tief: var(--k-lilac-deep); }
.k-seite--bank { --seite-a: #e0a21a; --seite-b: #ff8fc2; --seite-soft: var(--k-gold-soft); --seite-tief: var(--k-gold-deep); }
.k-seite--rang, .k-seite--premium { --seite-a: #e0a21a; --seite-b: #b995ff; --seite-soft: var(--k-gold-soft); --seite-tief: var(--k-gold-deep); }
.k-seite--status, .k-seite--health, .k-seite--stats, .k-seite--tech { --seite-a: #18a07a; --seite-b: #7cc8ff; --seite-soft: var(--k-mint-soft); --seite-tief: var(--k-mint-deep); }
.k-seite--befehle, .k-seite--features { --seite-a: #f2539c; --seite-b: #8b62e6; }
.k-seite--login, .k-seite--profil, .k-seite--dashboard { --seite-a: #8b62e6; --seite-b: #f2539c; --seite-soft: var(--k-lilac-soft); --seite-tief: var(--k-lilac-deep); }
html:not(.light) .k-seite--discord { --seite-a: #9aa3ff; --seite-tief: #b8beff; }
html:not(.light) .k-seite--telegram { --seite-a: #6fd0fb; --seite-tief: #9fdefd; }
html:not(.light) .k-seite--spiele, html:not(.light) .k-seite--status, html:not(.light) .k-seite--health,
html:not(.light) .k-seite--stats, html:not(.light) .k-seite--tech { --seite-a: #6fe2bb; }
html:not(.light) .k-seite--news, html:not(.light) .k-seite--login, html:not(.light) .k-seite--profil,
html:not(.light) .k-seite--dashboard { --seite-a: #c7a6ff; }
html:not(.light) .k-seite--bank, html:not(.light) .k-seite--rang, html:not(.light) .k-seite--premium { --seite-a: #ffd06e; }

/* ── Hintergrund: Onimai-Bilderfolge unter Pastellschleier ──────────────
   Dieselben vier Bilder (hintergrund/oni-hintergrund.js) auf jeder Seite.
   Zwei Lagen sorgen für Lesbarkeit: ein kräftiger Pastell-Schleier über
   dem Bild UND deckende Karten für jeden Text. Das Bild ist Stimmung. */
html.light body .oni-bg { --oni-bg-ton: 255, 246, 251 !important; }
html:not(.light) body .oni-bg { --oni-bg-ton: 26, 16, 38 !important; }
html body .oni-bg { z-index: -1; -webkit-mask-image: none; mask-image: none; }
html.light body .oni-bg-bild { filter: blur(1.5px) saturate(1.05) brightness(1.04); }
html.light body .oni-bg-bild.an { opacity: .8; }
html.light body .oni-bg::after {
  background:
    radial-gradient(60vw 50vh at 6% 4%, rgba(255, 143, 194, .3), transparent 70%),
    radial-gradient(55vw 55vh at 98% 16%, rgba(124, 200, 255, .28), transparent 70%),
    linear-gradient(180deg, rgba(var(--oni-bg-ton), .70) 0%, rgba(var(--oni-bg-ton), .60) 38%, rgba(var(--oni-bg-ton), .78) 78%, rgba(var(--oni-bg-ton), .92) 100%);
}
html:not(.light) body .oni-bg::after {
  background:
    radial-gradient(60vw 50vh at 6% 4%, rgba(255, 143, 194, .2), transparent 70%),
    radial-gradient(55vw 55vh at 98% 16%, rgba(124, 200, 255, .16), transparent 70%),
    linear-gradient(180deg, rgba(var(--oni-bg-ton), .70) 0%, rgba(var(--oni-bg-ton), .60) 38%, rgba(var(--oni-bg-ton), .82) 78%, rgba(var(--oni-bg-ton), .95) 100%);
}
/* Handy: Text läuft über die ganze Breite — der Schleier wird gleichmässig. */
@media (max-width: 900px) {
  html.light body .oni-bg::after { background: linear-gradient(180deg, rgba(var(--oni-bg-ton), .80), rgba(var(--oni-bg-ton), .72) 45%, rgba(var(--oni-bg-ton), .88)); }
  html:not(.light) body .oni-bg::after { background: linear-gradient(180deg, rgba(var(--oni-bg-ton), .84), rgba(var(--oni-bg-ton), .76) 45%, rgba(var(--oni-bg-ton), .92)); }
}
/* Stille Seiten (Impressum/Datenschutz): Bild fast unsichtbar, Text zuerst. */
html body.k-seite--ruhig .oni-bg-bild.an { opacity: .28; }

/* ── Grundlagen ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.k-seite {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--k-font);
  font-size: clamp(16px, .45vw + 14.6px, 18px);
  line-height: 1.6;
  color: var(--k-ink);
  background: var(--k-bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.k-seite > main { flex: 1 0 auto; position: relative; z-index: 1; }
/* Alte Unterseiten legen ihren Inhalt in einen Block wie `.pwrap { max-width:
   1080px; margin: 0 auto }` direkt unter <body>. In der Flex-Spalte heben die
   automatischen Ränder das Strecken auf: der Block wurde so breit wie sein
   längster Satz (811 px auf einem 390-px-Handy) und overflow-x: clip schnitt
   Überschrift und Text rechts ab. :where() hält die Spezifität bei 0 — eine
   Seite, die selbst eine Breite setzt, behält sie. */
:where(body.k-seite) > :where(div[class*="wrap"], main, section, article) { width: 100%; }
/* Karo + weiche Farbflächen wie im Hauptbild — genau fenstergross,
   sonst entsteht ein waagrechter Rollbalken. */
body.k-seite::before {
  content: '';
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(60vw 50vh at 8% 6%, rgba(255, 143, 194, .28), transparent 70%),
    radial-gradient(55vw 55vh at 96% 18%, rgba(124, 200, 255, .26), transparent 70%),
    radial-gradient(60vw 60vh at 50% 110%, rgba(185, 149, 255, .22), transparent 70%),
    linear-gradient(180deg, var(--k-bg) 0%, var(--k-bg-2) 100%);
}
body.k-seite::after {
  content: '';
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(45deg, var(--k-karo) 25%, transparent 25%, transparent 75%, var(--k-karo) 75%),
    linear-gradient(45deg, var(--k-karo) 25%, transparent 25%, transparent 75%, var(--k-karo) 75%);
  background-size: 44px 44px;
  background-position: 0 0, 22px 22px;
  opacity: .35;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 18%, transparent 82%, #000 100%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 18%, transparent 82%, #000 100%);
}
.k-seite img, .k-seite svg { max-width: 100%; }
.k-seite img { height: auto; display: block; }
.k-seite a { color: inherit; text-decoration: none; }
/* Knopf-Links behalten ihre weisse Schrift — sonst erbten a.k-btn („Discord öffnen",
   „Onimai starten") die dunkle Textfarbe, weil .k-seite a spezifischer ist als .k-btn. */
.k-seite a.k-btn:not(.k-btn--glas) { color: #fff; }
.k-seite button, .k-seite input, .k-seite select, .k-seite textarea { font: inherit; color: inherit; }
.k-seite :focus-visible { outline: 3px solid var(--k-blue-strong); outline-offset: 3px; border-radius: 12px; }
.k-seite ::selection { background: rgba(255, 143, 194, .45); color: inherit; }
.k-seite h1, .k-seite h2, .k-seite h3, .k-seite h4 { overflow-wrap: break-word; hyphens: auto; }
.k-seite p, .k-seite li, .k-seite dd { overflow-wrap: break-word; }
.k-seite [hidden] { display: none !important; }
.k-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.k-skip { position: fixed; left: 12px; top: -80px; z-index: 2000; padding: 12px 18px; border-radius: var(--k-r-pill); background: var(--k-surface-solid); color: var(--k-ink); font-weight: 800; box-shadow: var(--k-shadow); transition: top .2s; }
.k-skip:focus { top: 12px; }
.k-icon { width: 1em; height: 1em; display: inline-block; flex: none; fill: currentColor; vertical-align: -.125em; }

/* ── Layout ─────────────────────────────────────────────────────────── */
.k-wrap { width: min(var(--k-max), 100% - 32px); margin-inline: auto; }
.k-wrap--schmal { width: min(860px, 100% - 32px); }
.k-wrap--text { width: min(760px, 100% - 32px); }
.k-section { position: relative; padding-block: clamp(44px, 6.5vw, 96px); scroll-margin-top: calc(var(--k-header-h) + 28px); }
.k-section--eng { padding-block: clamp(26px, 3.6vw, 48px); scroll-margin-top: calc(var(--k-header-h) + 28px); }
.k-section--oben0 { padding-top: 0; }
.k-raster { display: grid; gap: clamp(12px, 1.6vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(var(--min, 260px), 100%), 1fr)); }
.k-raster--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.k-raster--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.k-raster--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.k-reihe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.k-reihe--mitte { justify-content: center; }
.k-stapel > * + * { margin-top: var(--abstand, 14px); }
.k-mitte { text-align: center; }
@media (max-width: 1040px) { .k-raster--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .k-raster--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .k-raster--2, .k-raster--3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .k-wrap, .k-wrap--schmal, .k-wrap--text, .k-lesen { width: calc(100% - 24px); } }
@media (max-width: 420px) { .k-raster--4 { grid-template-columns: 1fr; } }

/* ── Typografie ─────────────────────────────────────────────────────── */
.k-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--k-r-pill);
  font: 800 .76rem/1.1 var(--k-font); letter-spacing: .12em; text-transform: uppercase;
  color: var(--seite-tief); background: var(--seite-soft);
  border: 1px solid color-mix(in srgb, var(--seite-a) 35%, transparent);
}
.k-h1 {
  margin: 14px 0 12px;
  font: 700 clamp(2.3rem, 4.6vw + .8rem, 4.2rem)/1.02 var(--k-font-display);
  letter-spacing: -.015em;
}
.k-h1 .k-verlauf, .k-h2 .k-verlauf, .k-verlauf {
  background: linear-gradient(100deg, var(--seite-a), var(--seite-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}
.k-h2 { margin: 14px 0 10px; font: 700 clamp(1.8rem, 2.6vw + .8rem, 3rem)/1.06 var(--k-font-display); letter-spacing: -.01em; }
.k-h3 { margin: 0 0 8px; font: 600 clamp(1.2rem, .6vw + 1rem, 1.45rem)/1.2 var(--k-font-display); }
.k-herz { color: var(--k-pink-strong); display: inline-block; }
.k-lead { margin: 0; max-width: 58ch; color: var(--k-ink-2); font-size: 1.08em; line-height: 1.6; }
.k-klein { font-size: .88rem; color: var(--k-ink-3); }
.k-stark { font-weight: 800; color: var(--k-ink); }
.k-kopf { text-align: center; display: grid; justify-items: center; margin-bottom: clamp(24px, 3.4vw, 42px); }
.k-kopf .k-lead { margin-inline: auto; }
.k-titel-sticker {
  font: 700 clamp(1.55rem, 1.3vw + 1.1rem, 2.05rem)/1.05 var(--k-font-display);
  color: var(--titel, var(--k-pink-strong));
  text-shadow:
    2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff,
    0 3px 0 #fff, 3px 0 0 #fff, 0 -3px 0 #fff, -3px 0 0 #fff,
    0 8px 18px rgba(160, 70, 130, .25);
}
html:not(.light) .k-titel-sticker { text-shadow: 0 3px 16px rgba(0, 0, 0, .45); }
.k-code, .k-seite code, .k-seite kbd {
  font-family: var(--k-font-mono); font-size: .88em;
  padding: .12em .45em; border-radius: 8px;
  color: var(--k-pink-deep); background: var(--k-pink-soft);
  border: 1px solid rgba(255, 143, 194, .3);
  overflow-wrap: anywhere;
}
.k-text { color: var(--k-ink-2); line-height: 1.75; }
.k-text > * + * { margin-top: 1em; }
.k-text a, a.k-link { color: var(--k-pink-deep); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgba(242, 83, 156, .4); }
.k-text a:hover, a.k-link:hover { text-decoration-color: currentColor; }
.k-text strong { color: var(--k-ink); }

/* ── Knöpfe ─────────────────────────────────────────────────────────── */
.k-btn {
  --btn-bg: var(--k-grad-pink);
  --btn-glow: var(--k-glow-pink);
  --btn-schatten: rgba(200, 50, 120, .55);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--k-tap);
  padding: 12px 24px;
  border: 0; border-radius: var(--k-r-pill);
  font: 800 1rem/1.1 var(--k-font);
  color: #fff;
  background: var(--btn-bg);
  box-shadow: 0 10px 24px -12px var(--btn-schatten), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .08);
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(60, 20, 60, .28);
  transition: transform var(--k-dur) var(--k-spring), box-shadow var(--k-dur) var(--k-ease), filter .3s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.k-btn::before {
  content: ''; position: absolute; inset: 3px 12px auto; height: 42%;
  border-radius: var(--k-r-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
  z-index: -1; pointer-events: none;
}
.k-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--btn-glow); filter: saturate(1.08); }
.k-btn:active { transform: translateY(0) scale(.98); transition-duration: .12s; }
.k-btn[disabled], .k-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; filter: grayscale(.3); }
.k-btn .k-icon { font-size: 1.2em; }
.k-btn--blau { --btn-bg: var(--k-grad-blue); --btn-glow: var(--k-glow-blue); --btn-schatten: rgba(42, 127, 212, .5); }
.k-btn--lila { --btn-bg: var(--k-grad-lilac); --btn-glow: var(--k-glow-lilac); --btn-schatten: rgba(122, 79, 220, .5); }
.k-btn--mint { --btn-bg: var(--k-grad-mint); --btn-glow: 0 0 0 1px rgba(95, 214, 168, .4), 0 18px 46px -14px rgba(19, 138, 92, .5); --btn-schatten: rgba(19, 138, 92, .5); }
.k-btn--gold { --btn-bg: var(--k-grad-gold); --btn-glow: 0 0 0 1px rgba(255, 214, 110, .5), 0 18px 46px -14px rgba(224, 162, 26, .55); --btn-schatten: rgba(224, 162, 26, .5); color: #4a2c00; text-shadow: 0 1px 0 rgba(255, 255, 255, .45); }
.k-btn--discord { --btn-bg: var(--k-grad-discord); --btn-glow: 0 0 0 1px rgba(125, 134, 255, .45), 0 18px 46px -14px rgba(79, 85, 216, .55); --btn-schatten: rgba(79, 85, 216, .5); }
.k-btn--telegram { --btn-bg: var(--k-grad-telegram); --btn-glow: var(--k-glow-blue); --btn-schatten: rgba(30, 143, 200, .5); }
.k-btn--whatsapp { --btn-bg: linear-gradient(135deg, #3ddc84, #128c5e); --btn-glow: 0 0 0 1px rgba(61, 220, 132, .45), 0 18px 46px -14px rgba(18, 140, 94, .5); --btn-schatten: rgba(18, 140, 94, .5); }
.k-btn--seite { --btn-bg: linear-gradient(135deg, var(--seite-a), var(--seite-tief)); }
.k-btn--glas {
  color: var(--k-ink);
  background: var(--k-surface);
  border: 1.5px solid var(--k-line-strong);
  text-shadow: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--k-shadow-sm);
}
.k-btn--glas::before { opacity: .5; }
.k-btn--glas:hover { color: var(--k-pink-deep); box-shadow: 0 0 0 1px rgba(255, 143, 194, .4), 0 16px 36px -16px rgba(214, 80, 150, .45); }
.k-btn--klein { min-height: 44px; padding: 9px 18px; font-size: .92rem; }
.k-btn--mini { min-height: 36px; padding: 6px 14px; font-size: .85rem; gap: 6px; }
.k-btn--breit { width: 100%; }
.k-btn--gross { min-height: 58px; padding: 16px 32px; font-size: 1.12rem; }
@media (pointer: coarse) { .k-btn--mini { min-height: 44px; } }

.k-rund {
  width: var(--k-tap); height: var(--k-tap);
  display: inline-grid; place-items: center;
  border: 1px solid var(--k-line); border-radius: 50%;
  background: var(--k-surface-2);
  cursor: pointer; font-size: 1.2rem; color: var(--k-ink-2);
  transition: transform .35s var(--k-spring), background .3s, color .3s;
  padding: 0;
}
.k-rund:hover { transform: rotate(-10deg) scale(1.06); color: var(--k-pink-deep); }

/* Funken beim Überfahren (per JS erzeugt, verschwinden von selbst). */
.k-funke {
  position: absolute; z-index: 2; pointer-events: none;
  width: 10px; height: 10px; background: #fff;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 4px rgba(255, 143, 194, .9));
  animation: k-funke .8s var(--k-ease) forwards;
}
@keyframes k-funke {
  0% { opacity: 0; transform: translate(0, 0) scale(.2) rotate(0deg); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(90deg); }
}

/* ── Flächen ────────────────────────────────────────────────────────── */
.k-glas {
  position: relative;
  background: var(--k-surface);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--k-r-lg);
  box-shadow: var(--k-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
}
html:not(.light) .k-glas { border-color: var(--k-line); }
/* Deckende Karte für Text: niemals graues Glas über dem Bild. */
.k-panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: var(--k-r-lg);
  background: var(--k-surface-2);
  border: 1.5px solid rgba(255, 255, 255, .9);
  box-shadow: var(--k-shadow);
}
html.light .k-panel { background: rgba(255, 255, 255, .92); }
html:not(.light) .k-panel { background: rgba(38, 25, 56, .9); border-color: var(--k-line); }
.k-panel--eng { padding: clamp(14px, 1.8vw, 20px); border-radius: var(--k-r-md); }
.k-panel--hover { transition: transform .5s var(--k-spring), box-shadow .4s var(--k-ease), border-color .3s; }
.k-panel--hover:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--seite-a) 45%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--seite-a) 25%, transparent), 0 26px 56px -26px color-mix(in srgb, var(--seite-a) 50%, transparent); }
.k-rand-verlauf { position: relative; isolation: isolate; }
.k-rand-verlauf::after {
  content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: conic-gradient(from var(--k-winkel, 0deg), #ff8fc2, #b995ff, #7cc8ff, #5fd6a8, #ffd66e, #ff8fc2);
  opacity: 0; transition: opacity .5s;
}
@property --k-winkel { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.k-rand-verlauf:hover::after, .k-rand-verlauf.k-immer::after { opacity: .9; animation: k-drehen 6s linear infinite; }
@keyframes k-drehen { to { --k-winkel: 360deg; } }

/* ── Abzeichen ──────────────────────────────────────────────────────── */
.k-badge {
  --b-farbe: var(--k-pink-deep); --b-grund: var(--k-pink-soft);
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; padding: 4px 11px;
  border-radius: var(--k-r-pill);
  font: 800 .78rem/1.1 var(--k-font); letter-spacing: .02em;
  color: var(--b-farbe); background: var(--b-grund);
  border: 1px solid color-mix(in srgb, var(--b-farbe) 25%, transparent);
  white-space: nowrap;
}
.k-badge .k-icon { font-size: 1.05em; }
.k-badge--blau { --b-farbe: var(--k-blue-deep); --b-grund: var(--k-blue-soft); }
.k-badge--lila { --b-farbe: var(--k-lilac-deep); --b-grund: var(--k-lilac-soft); }
.k-badge--mint { --b-farbe: var(--k-mint-deep); --b-grund: var(--k-mint-soft); }
.k-badge--gold { --b-farbe: var(--k-gold-deep); --b-grund: var(--k-gold-soft); }
.k-badge--rot { --b-farbe: var(--k-red-deep); --b-grund: var(--k-red-soft); }
.k-badge--grau { --b-farbe: var(--k-ink-2); --b-grund: var(--k-surface-2); }
.k-badge--gross { min-height: 34px; padding: 6px 14px; font-size: .86rem; }

/* Plattform-Abzeichen: Farbe UND Wort UND Symbol — nie nur Farbe. */
.k-plattform-badge {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 26px; padding: 3px 9px 3px 7px;
  border-radius: var(--k-r-pill);
  font: 800 .72rem/1.1 var(--k-font);
  border: 1px solid transparent;
  white-space: nowrap;
}
.k-plattform-badge .k-icon { font-size: .95rem; }
.k-plattform-badge--wa { color: #137a3f; background: var(--k-whatsapp-soft); border-color: rgba(31, 168, 85, .25); }
.k-plattform-badge--dc { color: #4450d6; background: var(--k-discord-soft); border-color: rgba(88, 101, 242, .25); }
.k-plattform-badge--tg { color: #1576a8; background: var(--k-telegram-soft); border-color: rgba(34, 158, 217, .25); }
html:not(.light) .k-plattform-badge--wa { color: #7ee8b0; }
html:not(.light) .k-plattform-badge--dc { color: #b8beff; }
html:not(.light) .k-plattform-badge--tg { color: #9fdefd; }
.k-plattform-badge--aus { color: var(--k-ink-3); background: transparent; border-color: var(--k-line); text-decoration: line-through; text-decoration-thickness: 1.5px; }

/* Lebenszeichen: pulsierender Punkt + Text daneben. */
.k-puls { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #2fcf8f; flex: none; display: inline-block; }
.k-puls::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: k-puls 2s ease-out infinite; }
@keyframes k-puls { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }
.k-puls--aus { background: #ff6b8a; }
.k-puls--teil { background: #ffc34d; }
.k-puls--unklar { background: #c7b3d6; }
.k-puls--aus::after, .k-puls--unklar::after { animation: none; }
.k-live-dot { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; }

/* ── Eingaben ───────────────────────────────────────────────────────── */
.k-feld { display: grid; gap: 7px; }
.k-feld + .k-feld { margin-top: 14px; }
.k-label { font: 800 .8rem/1.2 var(--k-font); letter-spacing: .04em; color: var(--k-ink-2); }
.k-input, .k-select, .k-textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 2px solid var(--k-line-strong);
  background: var(--k-surface-solid);
  color: var(--k-ink);
  font: 600 1rem/1.3 var(--k-font);
  transition: border-color .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
html:not(.light) .k-input, html:not(.light) .k-select, html:not(.light) .k-textarea { background: rgba(20, 12, 32, .72); }
.k-textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.k-select { padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--k-pink-strong) 50%), linear-gradient(135deg, var(--k-pink-strong) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.k-input::placeholder, .k-textarea::placeholder { color: var(--k-ink-3); opacity: 1; }
.k-input:hover, .k-select:hover, .k-textarea:hover { border-color: rgba(255, 143, 194, .55); }
.k-input:focus, .k-select:focus, .k-textarea:focus { outline: none; border-color: var(--k-pink-strong); box-shadow: 0 0 0 4px rgba(255, 143, 194, .25); }
.k-input[disabled], .k-select[disabled], .k-textarea[disabled] { opacity: .6; cursor: not-allowed; }
.k-suche { position: relative; display: block; }
.k-suche .k-input { padding-left: 50px; border-radius: var(--k-r-pill); min-height: 56px; font-size: 1.05rem; }
.k-suche > .k-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--k-pink-strong); pointer-events: none; }
.k-input::-webkit-search-cancel-button { filter: hue-rotate(290deg); }

/* Filter-Chips (aria-pressed trägt den Zustand, nicht die Farbe allein) */
.k-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.k-chip {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 42px; padding: 8px 15px;
  border-radius: var(--k-r-pill);
  border: 1.5px solid var(--k-line-strong);
  background: var(--k-surface-solid);
  color: var(--k-ink-2);
  font: 800 .9rem/1.1 var(--k-font);
  cursor: pointer;
  transition: transform .3s var(--k-spring), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
html:not(.light) .k-chip { background: rgba(255, 255, 255, .05); }
.k-chip:hover { transform: translateY(-2px); color: var(--k-pink-deep); border-color: rgba(255, 143, 194, .6); }
.k-chip[aria-pressed="true"], .k-chip.is-an {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--seite-a), var(--seite-tief));
  box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--seite-a) 70%, transparent);
}
.k-chip[aria-pressed="true"]::before { content: '✓'; font-weight: 900; }
.k-chip__n { font-size: .8em; opacity: .75; }

/* Segmentschalter (Tabs) */
.k-segment { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: var(--k-r-pill); background: var(--k-surface-2); border: 1px solid var(--k-line); }
.k-segment button, .k-segment a {
  min-height: 42px; padding: 8px 18px; border: 0; border-radius: var(--k-r-pill);
  background: transparent; color: var(--k-ink-2); font: 800 .92rem/1 var(--k-font); cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .25s, color .25s;
}
.k-segment [aria-selected="true"], .k-segment .is-an { color: #fff; background: linear-gradient(135deg, var(--seite-a), var(--seite-tief)); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--seite-a) 70%, transparent); }

/* ── Zustände: Laden, leer, Fehler, Hinweis ─────────────────────────── */
.k-skelett {
  display: inline-block; width: var(--w, 70px); height: var(--h, 12px); border-radius: 8px;
  background: linear-gradient(90deg, var(--k-line) 25%, rgba(255, 255, 255, .7) 50%, var(--k-line) 75%);
  background-size: 200% 100%;
  animation: k-skelett 1.3s linear infinite;
  vertical-align: middle;
}
html:not(.light) .k-skelett { background-image: linear-gradient(90deg, rgba(255, 255, 255, .06) 25%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, .06) 75%); }
.k-skelett--block { display: block; width: 100%; height: var(--h, 72px); border-radius: var(--k-r-md); }
@keyframes k-skelett { to { background-position: -200% 0; } }
.k-lader { width: 38px; height: 38px; border-radius: 50%; border: 4px solid var(--k-pink-soft); border-top-color: var(--k-pink-strong); animation: k-drehen-einfach .8s linear infinite; }
@keyframes k-drehen-einfach { to { transform: rotate(360deg); } }
.k-leer {
  display: grid; justify-items: center; gap: 8px; text-align: center;
  padding: clamp(24px, 4vw, 44px) 18px;
  color: var(--k-ink-2);
}
.k-leer__bild { width: 88px; height: 88px; font-size: 2.6rem; display: grid; place-items: center; border-radius: 30px; background: var(--k-pink-soft); }
.k-leer__bild img { width: 100%; height: 100%; object-fit: contain; }
.k-leer__titel { margin: 4px 0 0; font: 700 1.25rem/1.2 var(--k-font-display); color: var(--k-ink); }
.k-leer p { margin: 0; max-width: 46ch; }
.k-leer--fehler .k-leer__bild { background: var(--k-red-soft); }
.k-leer--fehler .k-leer__titel { color: var(--k-red-deep); }
.k-hinweis {
  --h-farbe: var(--k-blue-deep); --h-grund: var(--k-blue-soft);
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--k-r-md);
  background: var(--h-grund); color: var(--k-ink);
  border: 1.5px solid color-mix(in srgb, var(--h-farbe) 28%, transparent);
  line-height: 1.55;
}
.k-hinweis__ic { font-size: 1.35rem; line-height: 1.2; flex: none; }
.k-hinweis b { color: var(--h-farbe); }
.k-hinweis--warn { --h-farbe: var(--k-gold-deep); --h-grund: var(--k-gold-soft); }
.k-hinweis--fehler { --h-farbe: var(--k-red-deep); --h-grund: var(--k-red-soft); }
.k-hinweis--ok { --h-farbe: var(--k-mint-deep); --h-grund: var(--k-mint-soft); }
.k-hinweis--pink { --h-farbe: var(--k-pink-deep); --h-grund: var(--k-pink-soft); }

/* Tooltip (data-tipp) — nur Zier, die Information steht auch im Text. */
[data-tipp] { position: relative; }
[data-tipp]::after {
  content: attr(data-tipp);
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  transform: translate(-50%, 6px) scale(.95);
  width: max-content; max-width: 220px;
  padding: 8px 12px; border-radius: 14px;
  font: 700 .8rem/1.3 var(--k-font); color: #fff;
  background: linear-gradient(135deg, #ff7eb9, #b58cff);
  box-shadow: 0 10px 24px -12px rgba(150, 60, 140, .6);
  opacity: 0; pointer-events: none; z-index: 20;
  transition: opacity .25s, transform .35s var(--k-spring);
}
[data-tipp]:hover::after, [data-tipp]:focus-visible::after { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (max-width: 560px) { [data-tipp]::after { display: none; } }

/* ── Bewegung ───────────────────────────────────────────────────────── */
@keyframes k-schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes k-pochen { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.22); } 24% { transform: scale(1); } }
@keyframes k-deko { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(12deg); } }
.k-schwebt { animation: k-schweben 6s ease-in-out infinite; }
.k-schwebt--2 { animation-duration: 7.5s; animation-delay: -2s; }
.k-deko {
  position: absolute; z-index: 0; pointer-events: none;
  width: var(--g, 26px); height: var(--g, 26px);
  color: var(--c, var(--k-pink));
  animation: k-deko var(--t, 14s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
  opacity: .85;
}
/* Einblenden nur mit JavaScript (.k-js) — ohne JS ist alles sichtbar.
   Nach 6 s greift das Sicherheitsnetz (.k-alles). */
.k-alles .k-rein { opacity: 1 !important; transform: none !important; }
.k-js .k-rein { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--k-ease), transform .8s var(--k-ease); transition-delay: var(--verz, 0s); }
.k-js .k-rein.is-sichtbar { opacity: 1; transform: none; }
.k-seite img[loading="lazy"] { opacity: 0; transition: opacity .6s var(--k-ease); }
.k-seite img[loading="lazy"].is-geladen { opacity: 1; }
html:not(.k-js) .k-seite img[loading="lazy"] { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .k-seite *, .k-seite *::before, .k-seite *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .k-js .k-rein { opacity: 1; transform: none; }
  .k-seite img[loading="lazy"] { opacity: 1; }
}
@media print {
  body.k-seite::before, body.k-seite::after, .oni-bg { display: none !important; }
  body.k-seite { background: #fff; color: #000; }
}

/* ── Altsystem-Bruecke ────────────────────────────────────────────────
   Die Unterseiten von onimai.eu laden noch den alten Satz (style.css,
   onicenter-master.css, bloom.css) — ihr Inhalt haengt daran. Der alte
   Satz bringt aber auch SEITEN-Chrom mit, das hier stoert:

     style.css:  body { background: var(--bg) }
                 → uebermalt die Bildebene mit Blaugrau (238,242,249)
     style.css:  body > header { position: fixed; background: rgba(6,8,15,.94) }
                 → legte ein dunkles Band hinter die Kawaii-Kopfzeile

   Beides wird hier zurueckgenommen — aber NUR auf Seiten, die schon auf
   den neuen Aufbau umgestellt sind (`body.k-seite`). Unkonvertierte
   Seiten behalten ihr altes Aussehen, bis sie dran sind.

   Ohne `!important`: `body.k-seite` (0,1,1) schlaegt `body` (0,0,1),
   `body.k-seite > header` (0,1,2) schlaegt `body > header` (0,0,2).
   Spezifitaet reicht — ein `!important` waere nur schwerer zu ueberschreiben. */
/* `html.light body` aus onimai-theme.css hat Spezifitaet (0,1,2) und
   schlaegt ein blosses `body.k-seite` (0,1,1) — unabhaengig davon, wer
   spaeter geladen wird. Deshalb hier ebenfalls zweistufig, damit die
   Bildebene nicht wieder von Blaugrau uebermalt wird. */
html body.k-seite { background: var(--k-creme, #fff7fb); }
html.light body.k-seite { background: var(--k-creme, #fff7fb); }
html:not(.light) body.k-seite { background: var(--k-nacht, #1b1226); }

/* Die Bildebene liegt bewusst auf `z-index: -1` (siehe oben). Das geht
   nur auf, solange NUR der Body einen Hintergrund hat: Dann wandert der
   auf die Leinwand, der Body selbst malt nichts, und die Ebene bleibt
   sichtbar. Der alte Satz gibt aber auch `html` einen Hintergrund
   (`html.light` in onimai-theme.css) — dadurch malt der Body seinen
   eigenen Kasten und deckt die Ebene zu. Auf umgestellten Seiten kommt
   sie deshalb eine Stufe hoeher. */
body.k-seite .oni-bg { z-index: 0; }
/* Nur die STRUKTUR hochziehen, nicht jedes Kind. Ein `*:not(.oni-bg)`
   traf auch den Sprunglink `a.k-skip`, der sich per `position: absolute`
   aus dem Bild schiebt — mit `position: relative` stand er ploetzlich im
   Fluss und ragte 12px aus der Seite (Querscroll bei 1440px). */
body.k-seite > :where(header, main, footer, section, article, aside, nav, .k-wrap) {
  position: relative;
  z-index: 1;
}

body.k-seite > header {
  position: static;
  background: none;
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
}

/* Der alte Satz brachte eine eigene, frei schwebende Moduswippe mit. Auf
   umgestellten Seiten sitzt sie schon in der Kopfzeile — zwei davon sind
   eine zu viel. */
body.k-seite .oni-mode-fab,
body.k-seite #modeBtn,
body.k-seite .oni-theme-fab,
body.k-seite #oniThemeToggle,
body.k-seite .oni-theme-toggle { display: none !important; }
