/* ============================================================
   jjac.de — main.css — Spielraster
   Swiss-Raster, eine Grotesk, die Farben von benutzerfreun.de.
   Ordnung durch das Raster, Spiel durch die Formen.
   ============================================================ */

/* ---------- Schrift ----------
   Archivo (SIL Open Font License), variabel: Stärke 100–900,
   Breite 62–125 %. Eine Familie für alles, wie es sich für
   Swiss Style gehört. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/Archivo-02.woff2) format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/Archivo-03.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;
}

/* ---------- Farben und Maße ----------
   Farben aus den Gestaltungsrichtlinien von benutzerfreun.de */
:root {
  --text: #3A352D;          /* 12,1:1 auf Weiß */
  --text-2: #7D7567;        /* 4,6:1 auf Weiß */
  --link: #E13200;          /* 4,51:1 */
  --hover: #F05A19;
  --gedrueckt: #C74A12;     /* 4,75:1 */
  --akzent: #F05A19;        /* Flächen; Weiß darauf nur groß oder fett */
  --tint: #FDF0E8;
  --linie: #E1DDD7;
  --grund: #F7F5F2;
  --seite: #F0EEEB;
  --dunkel: #3A352D;
  --verlauf: linear-gradient(165deg, #FFFFFF 25%, #E1DDD7 100%);
  --schatten: 0 1px 2px rgba(58, 53, 45, .06), 0 6px 20px rgba(58, 53, 45, .08);
  --radius: 6px;

  --schrift: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --breite: 78rem;
  --rand: clamp(1rem, 4vw, 3rem);
  --spalt: clamp(1rem, 2.4vw, 2rem);
  --kopf-h: 4rem;
  --abstand: clamp(3.5rem, 2rem + 4.5vw, 6rem);   /* zwischen Abschnitten */
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  /* nichts darf die Seite seitlich verbreitern – auch kein geworfener Spielstein.
     clip statt hidden, damit die klebende Kopfleiste weiter funktioniert */
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-h) + 1rem);
}
body {
  overflow-x: clip;
  margin: 0;
  background: #FFFFFF;
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1.25rem;        /* 20 px wie auf benutzerfreun.de */
  line-height: 1.55;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
p, ul, ol, figure, address { margin: 0; }
p + p { margin-top: .8em; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
::selection { background: var(--tint); }

:focus-visible { outline: 3px solid var(--dunkel); outline-offset: 3px; }

.sprung {
  position: absolute; left: -100vw; top: .5rem; z-index: 100;
  background: #FFFFFF; color: var(--text);
  padding: .5rem 1rem; font-weight: 600;
}
.sprung:focus { left: .5rem; }

.unsichtbar {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Links und Knöpfe ---------- */
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--hover); text-decoration-thickness: 2px; }
a:active { color: var(--gedrueckt); }

.knopf {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .62em 1.15em .66em;
  border: 2px solid var(--link);
  border-radius: var(--radius);
  background: var(--link);
  color: #FFFFFF;
  font: inherit; font-size: 1.1875rem; font-weight: 700; line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.knopf:hover { background: var(--hover); border-color: var(--hover); color: #FFFFFF; }
.knopf:active { background: var(--gedrueckt); border-color: var(--gedrueckt); transform: translateY(1px); }
.knopf.sekundaer { background: transparent; color: var(--link); }
.knopf.sekundaer:hover { background: var(--hover); border-color: var(--hover); color: #FFFFFF; }

/* Pfeil am Linkende wie bei den Teasern auf benutzerfreun.de */
.pfeil::after { content: "\2192"; display: inline-block; margin-left: .3em; transition: transform .2s ease; }
.pfeil:hover::after { transform: translateX(.2em); }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--dunkel);
  color: #FFFFFF;
}
.kopf-innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand);
  height: var(--kopf-h);
  display: flex; align-items: center; gap: 1.5rem;
}
.marke {
  display: flex; align-items: center; gap: .7rem;
  color: #FFFFFF; text-decoration: none;
  font-size: 1.125rem; font-weight: 700; letter-spacing: -.005em;
  white-space: nowrap;
}
.marke:hover { color: #FFFFFF; }
.marke-signet { width: 13px; height: 40px; display: block; color: #FFFFFF; }

.navigation { margin-left: auto; display: flex; height: 100%; }
.navigation a {
  display: flex; align-items: center;
  padding: 0 .9rem;
  color: #FFFFFF; text-decoration: none;
  font-size: 1.125rem; letter-spacing: .01em;
  transition: box-shadow .15s ease;
}
.navigation a:hover,
.navigation a[aria-current="location"] { box-shadow: inset 0 -4px 0 var(--link); color: #FFFFFF; }
.navigation a:focus-visible { outline-color: #FFFFFF; outline-offset: -5px; }

.zeitmaschine {
  display: flex; align-items: center; gap: .5rem;
  margin-left: .6rem;
  padding: .35rem .2rem .35rem .9rem;
  border-left: 1px solid rgba(255, 255, 255, .25);
  color: #FFFFFF; text-decoration: none;
  font-size: 1rem; font-weight: 700; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.zeitmaschine:hover { color: #FFFFFF; }
.zeitmaschine:focus-visible { outline-color: #FFFFFF; outline-offset: 2px; }
.zm-schalter {
  position: relative;
  width: 2.1rem; height: 1.15rem;
  border: 2px solid #FFFFFF; border-radius: 999px;
}
.zm-schalter span {
  position: absolute; top: 2px; left: 2px;
  width: calc(1.15rem - 8px); height: calc(1.15rem - 8px);
  border-radius: 50%;
  background: var(--akzent);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.zeitmaschine:hover .zm-schalter span,
.zeitmaschine:focus-visible .zm-schalter span,
.zeitmaschine.ist-an .zm-schalter span { transform: translateX(.95rem); }

/* Röhre aus: so verlässt man das Jahr 2026 */
html.abschalten { background: #000000; overflow: hidden; }
html.abschalten body { animation: seiteAus .62s cubic-bezier(.5, 0, .75, 0) forwards; }
@keyframes seiteAus {
  0% { transform: none; filter: none; }
  45% { transform: scale(1, .006); filter: brightness(3); }
  80% { transform: scale(.004, .006); filter: brightness(6); opacity: 1; }
  100% { transform: scale(0, 0); opacity: 0; }
}
.nachgluehen {
  position: fixed; left: 50%; top: 50%; z-index: 9999;
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 16px 6px rgba(255, 255, 255, .85);
  opacity: 0;
  pointer-events: none;
  animation: nachgluehen .9s ease-out .5s forwards;
}
@keyframes nachgluehen {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.3); }
}

.menue-knopf {
  display: none;
  margin-left: auto;
  align-items: center; gap: .55rem;
  padding: .6rem .4rem;
  border: 0; background: none;
  color: #FFFFFF; font: inherit; font-size: 1.0625rem;
  cursor: pointer;
}
.menue-knopf:focus-visible { outline-color: #FFFFFF; }
.menue-striche { width: 20px; height: 14px; position: relative; display: inline-block; }
.menue-striche::before, .menue-striche::after, .menue-striche span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menue-striche::before { top: 0; }
.menue-striche span { top: 6px; }
.menue-striche::after { bottom: 0; }
.nav-offen .menue-striche::before { transform: translateY(6px) rotate(45deg); }
.nav-offen .menue-striche span { opacity: 0; }
.nav-offen .menue-striche::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  html.js .menue-knopf { display: inline-flex; order: 3; margin-left: .4rem; }
  html.js .zeitmaschine { order: 2; margin-left: auto; padding-left: 0; border-left: 0; }
  .kopf-innen { gap: .8rem; }
  html.js .navigation {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    height: auto;
    flex-direction: column;
    background: var(--dunkel);
    padding: .25rem var(--rand) 1rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  html.js .nav-offen .navigation { display: flex; }
  html.js .navigation a { padding: .8rem 0; }
  html:not(.js) .kopf-innen { height: auto; flex-wrap: wrap; padding-block: .6rem; }
  html:not(.js) .navigation { margin-left: 0; flex-wrap: wrap; }
  html:not(.js) .navigation a { padding: .4rem .9rem .4rem 0; }
}

/* ---------- Raster ---------- */
.raster {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
}

/* ---------- Einstieg ---------- */
.einstieg {
  background: var(--verlauf);
  border-bottom: 1px solid var(--linie);
  overflow: clip;
}
.einstieg .raster {
  min-height: min(calc(100svh - var(--kopf-h)), 52rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vh, 4.5rem);
}
.einstieg-text { grid-column: 1 / span 7; position: relative; z-index: 2; }
.einstieg-spiel { grid-column: 8 / span 5; position: relative; max-width: 30rem; justify-self: center; width: 100%; }

.dachzeile {
  font-size: 1.0625rem; font-weight: 600;
  color: var(--text);
  letter-spacing: .01em;
  margin-bottom: 1.1rem;
}
.dachzeile b { color: var(--link); font-weight: 700; }

h1 {
  font-size: clamp(2.25rem, 1rem + 3.6vw, 4.25rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.03em;
  text-wrap: balance;
}
@media (min-width: 421px) { h1 { text-wrap: nowrap; } }
h1 .zeile { display: block; }
h1 em { font-style: normal; color: var(--link); }
/* Typo-Spiel: einzelne Buchstaben, deren Stärke dem Zeiger folgt */
h1 .bs { display: inline-block; font-variation-settings: "wght" var(--w, 700), "wdth" var(--b, 100); }
h1 .wort { display: inline-block; white-space: nowrap; }

.einstieg-unter {
  margin-top: 1.4rem;
  max-width: 30em;
  font-size: clamp(1.25rem, 1.1rem + .4vw, 1.4375rem);
  line-height: 1.45;
}
.einstieg-aktion {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.6rem;
}
.einstieg-aktion a:not(.knopf) {
  font-weight: 600;
  /* auf dem Verlauf reicht Orange als Schriftfarbe nicht (3,6:1) –
     deshalb dunkle Schrift, das Orange steckt im Unterstrich */
  color: var(--text);
  text-decoration-color: var(--link);
  text-decoration-thickness: 2px;
}
.einstieg-aktion a:not(.knopf):hover { color: var(--text); text-decoration-color: var(--hover); text-decoration-thickness: 3px; }

.spielfeld { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.spielfeld .stein { touch-action: none; }
.spielfeld .flaeche { fill: transparent; }
html:not(.js) .spielfeld { display: none; }

.f-dunkel { fill: var(--dunkel); }
.f-orange { fill: var(--akzent); }
.f-rot { fill: var(--link); }
.f-grau { fill: var(--linie); }
.f-hell { fill: #FFFFFF; stroke: var(--dunkel); stroke-width: 3; }
.f-tint { fill: #F6CDB4; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--abstand); }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }

.abschnitt-kopf {
  grid-column: 1 / span 3;
  align-self: start;
  position: sticky;
  top: calc(var(--kopf-h) + 2rem);
}
.abschnitt-inhalt { grid-column: 4 / span 9; min-width: 0; }

.nr {
  font-size: 1.0625rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--link);
  letter-spacing: .02em;
}
.abschnitt-titel {
  margin-top: .15rem;
  font-size: 1.5625rem;      /* 25 px wie h2 auf benutzerfreun.de */
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.abschnitt-kopf .spielfeld { width: min(100%, 11rem); margin-top: 1.4rem; }

.aussage {
  font-size: clamp(1.75rem, 1.05rem + 2.1vw, 2.75rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.02em;
  max-width: 21em;
  text-wrap: balance;
}
.aussage + * { margin-top: 1.1rem; }
.lesetext { max-width: 36em; }

h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.005em;
}

/* Bildunterschrift: groß genug zum Lesen, volle Textfarbe */
figcaption {
  margin-top: .7rem;
  font-size: 1.0625rem;      /* 17 px */
  line-height: 1.45;
  color: var(--text);
}
figcaption b { font-weight: 700; }
figcaption span { color: var(--text-2); }

/* ---------- Über mich ---------- */
.saeulen {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spalt);
}
.saeule { border-top: 3px solid var(--dunkel); padding-top: .9rem; }
.saeule h3 { display: flex; align-items: center; gap: .55rem; }
.saeule h3 svg { width: 1rem; height: 1rem; flex: 0 0 auto; }
.saeule p { margin-top: .45rem; font-size: 1.125rem; line-height: 1.5; }

.portraet { margin-top: 2.5rem; }
.portraet img { width: 100%; border-radius: var(--radius); }
.kontakt-reihe { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 2rem var(--spalt); }
@media (max-width: 700px) { .kontakt-reihe { grid-template-columns: minmax(0, 1fr); } }
.kontakt-foto { margin: 0; width: clamp(11rem, 8rem + 10vw, 16rem); }
.kontakt-foto img { width: 100%; border-radius: var(--radius); }

/* ---------- Labor ---------- */
.karten {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spalt);
}
.karte {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), box-shadow .25s ease;
}
.karte:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(58, 53, 45, .06), 0 14px 32px rgba(58, 53, 45, .12); }
.karte-marke { position: absolute; top: 1.5rem; right: 1.5rem; width: 1.5rem; height: 1.5rem; }
.karte h3 { padding-right: 2.2rem; }
.schlagwort {
  margin-top: .35rem;
  font-size: .9375rem; font-weight: 600;
  color: var(--text-2);
}
.karte p:not(.schlagwort):not(.status):not(.karte-aktion) { margin-top: .75rem; font-size: 1.125rem; line-height: 1.5; }
.status {
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: .9375rem; font-weight: 700;
  color: var(--gedrueckt);
  display: flex; align-items: center; gap: .5rem;
}
.status::before {
  content: ""; width: .55rem; height: .55rem; border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid var(--akzent);
}
.status.offen::before { background: var(--akzent); }
.status.in-arbeit::before { animation: puls 1.6s ease-in-out 3; }
@keyframes puls { 50% { transform: scale(1.6); opacity: .45; } }

/* Breite Karten: geöffnete Experimente mit Vorschau, über die volle Breite */
.karte-breit {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 1.2rem var(--spalt);
  align-items: center;
}
.karte-text { display: flex; flex-direction: column; }
.karte-text h3 { padding-right: 0; font-size: 1.5625rem; }
/* Link unten in der Karte: dunkle Schrift, Orange im Unterstrich – wie die Links im Einstieg */
.karte-aktion { margin-top: 1.1rem; font-size: 1.125rem; font-weight: 600; }
.karte-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--link); text-decoration-thickness: 2px; }
.karte-link:hover, .karte-breit:hover .karte-link { color: var(--text); text-decoration-color: var(--hover); text-decoration-thickness: 3px; }
.karte-breit:hover .karte-link.pfeil::after { transform: translateX(.2em); }
/* die ganze Karte ist klickbar (::before, weil ::after den Pfeil trägt) */
.karte-link::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.karte-link:focus-visible { outline: none; }
.karte-link:focus-visible::before { outline: 3px solid var(--dunkel); outline-offset: 3px; }

/* Vorschau als schlichter Screenshot */
.karte-vorschau {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--grund);
}
.karte-vorschau img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.karte-breit:hover .karte-vorschau img { transform: scale(1.03); }

/* Zeitreise: Vorschau im Röhrenfernseher */
.zeitreise-vorschau {
  padding: .65rem;
  border-radius: 1rem;
  background: linear-gradient(160deg, #57524c, #2e2a27);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .18), 0 4px 0 #1f1c1a;
}
.roehre {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12% / 16%;
  background: #000022;
}
.roehre img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .3s ease; }
.roehre::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(ellipse 55% 38% at 27% 17%, rgba(255, 255, 255, .14), transparent 70%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, .55) 100%);
}
.karte-zeitreise:hover .roehre img { transform: scale(1.04); filter: brightness(1.12) saturate(1.1); }

/* ---------- Illustrationen ---------- */
.galerie {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem var(--spalt);
}
.galerie figure:first-child, .galerie figure:nth-child(4) { grid-column: 1 / -1; }
.galerie a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); background: var(--grund); }
.galerie img { width: 100%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.galerie a:hover img { transform: scale(1.025); }
.galerie a:focus-visible { outline-offset: 4px; }

.leuchtkasten {
  max-width: min(96vw, 1400px);
  max-width: min(96dvw, 1400px);
  max-height: 94vh;
  padding: 0; border: 0; background: transparent;
}
.leuchtkasten::backdrop { background: rgba(58, 53, 45, .88); }
.leuchtkasten img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.leuchtkasten p { margin-top: .6rem; color: #FFFFFF; text-align: center; font-size: 1.0625rem; }
.leuchtkasten .lk-zu {
  position: absolute; top: .5rem; right: .5rem;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 0; background: #FFFFFF; color: var(--text);
  font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.lk-steuerung {
  margin-top: .8rem;
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: .8rem;
}
.lk-zurueck, .lk-weiter {
  min-width: 2.75rem; height: 2.75rem;
  padding: 0 1rem;
  border: 2px solid #FFFFFF; border-radius: 999px;
  background: transparent; color: #FFFFFF;
  font: inherit; font-size: 1.0625rem; font-weight: 700;
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: .35em;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.lk-zurueck, .lk-weiter span { font-size: 1.5rem; line-height: 1; }
.lk-zurueck { padding: 0 0 .15rem; }
.lk-weiter span { margin-top: -.12rem; }
.lk-weiter { background: #FFFFFF; color: var(--text); }
.lk-zurueck:hover { background: rgba(255, 255, 255, .15); }
.lk-weiter:hover { background: var(--hover); border-color: var(--hover); color: #FFFFFF; }
.lk-punkte { display: flex; gap: .2rem; }
/* gefüllter Punkt = aktuelle Abbildung, weißer Ring = die anderen */
.lk-punkt {
  width: 1.75rem; height: 1.75rem;
  padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.lk-punkt::before {
  content: ""; width: .85rem; height: .85rem; border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid #FFFFFF;
  transition: background-color .2s ease, transform .2s ease;
}
.lk-punkt[aria-current="true"]::before { background: #FFFFFF; }
.lk-punkt:hover::before { transform: scale(1.2); }
.leuchtkasten :focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }

/* ---------- Bücher ---------- */
.buecher { margin-top: 2rem; display: grid; gap: 0; }
.buch {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  gap: .4rem var(--spalt);
  padding: 1.2rem 0;
  border-top: 1px solid var(--linie);
}
.buch:last-child { border-bottom: 1px solid var(--linie); }
.buch h3 { font-size: 1.25rem; }
.buch p { font-size: 1.125rem; line-height: 1.5; }

/* ---------- Projekte ---------- */
.projekt { margin-top: 2.2rem; }
.projekt + .projekt { margin-top: 3.2rem; padding-top: 3.2rem; border-top: 1px solid var(--linie); }
.projekt img { width: 100%; border-radius: var(--radius); }
.projekt-kopf { margin-top: 1.1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; }
.projekt-kopf h3 { font-size: 1.5625rem; }
.projekt-kopf .schlagwort { margin-top: 0; }
.projekt-text {
  margin-top: .7rem;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  gap: var(--spalt);
}
.rolle { border-left: 3px solid var(--akzent); padding-left: 1rem; font-size: 1.0625rem; line-height: 1.5; }
.rolle .mehr { display: block; margin-top: .45rem; width: fit-content; }
.rolle b { display: block; font-size: .9375rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.projekt-mehr { margin-top: 3rem; padding-top: 1.4rem; border-top: 3px solid var(--dunkel); max-width: 40em; }

/* ---------- Trivia ---------- */
.zahlen {
  margin: 1.8rem 0 0; padding: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
  background: var(--dunkel);
  color: #FFFFFF;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem var(--spalt);
}
.zahl {
  display: block;
  font-size: clamp(2.25rem, 1.2rem + 1.9vw, 2.875rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--akzent);       /* 3,6:1 auf Dunkel – nur groß */
  font-variant-numeric: tabular-nums;
}
.zahl-text { display: block; margin-top: .5rem; font-size: 1.0625rem; line-height: 1.35; }
.zahl.hopp { animation: hopp .5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes hopp { 40% { transform: translateY(-.25em) scale(1.15); } }
.zahlen-hinweis { margin-top: .8rem; font-size: 1.0625rem; color: var(--text-2); }

/* ---------- Aktion: benutzerfreun.de ---------- */
.aktion-wrap { margin-top: calc(var(--abstand) * -.4); padding-block: 0 var(--abstand); }
.aktion {
  grid-column: 4 / span 9;
  background: var(--akzent);
  color: #FFFFFF;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.4rem 2rem;
}
.aktion p { font-size: clamp(1.5rem, 1.15rem + 1vw, 1.875rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; max-width: 22em; }
.aktion .knopf { display: inline-block; max-width: 100%; overflow-wrap: anywhere; background: #FFFFFF; border-color: #FFFFFF; color: var(--text); }
.aktion .knopf:hover { background: var(--dunkel); border-color: var(--dunkel); color: #FFFFFF; }
.aktion :focus-visible { outline-color: #FFFFFF; }

/* ---------- Kontakt ---------- */
.mail-gross {
  display: inline-block;
  margin-top: 1rem;
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration-thickness: 3px;
  text-underline-offset: .15em;
}
.mail-gross:hover { text-decoration-thickness: 4px; }
.recht-zeile { margin-top: 1.6rem; font-size: 1.0625rem; color: var(--text-2); }
.impressum {
  margin-top: 2.4rem;
  padding: 1.3rem 1.5rem;
  background: var(--grund);
  border-radius: var(--radius);
  max-width: 34rem;
  font-size: 1.0625rem; line-height: 1.6;
  font-style: normal;
}
.impressum h3 { font-size: 1.0625rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; }
.impressum a { color: var(--text); }
.impressum a:hover { color: var(--hover); }

/* ---------- Fuß ---------- */
.fuss {
  background: var(--dunkel);
  color: #FFFFFF;
  padding-block: 3rem 3.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
}
.fuss .raster > * { grid-column: span 4; }
.fuss a { color: #FFFFFF; }
.fuss a:hover { color: var(--hover); }
.fuss :focus-visible { outline-color: #FFFFFF; }
.fuss h2 { font-size: 1.125rem; font-weight: 700; margin-bottom: .5rem; color: #FFFFFF; }
.fuss ul { list-style: none; padding: 0; }
.fuss-marke { display: flex; align-items: center; gap: .7rem; font-weight: 700; margin-bottom: .8rem; }
.fuss-marke svg { width: 13px; height: 40px; }
.fuss-klein { color: #D9D3C9; font-size: 1.0625rem; }

/* ---------- Datenschutz-Unterseite ---------- */
.rechtliches main { padding-block: var(--abstand); }
.rechtliches .abschnitt-inhalt > * { max-width: 36em; }
.rechtliches h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem); text-wrap: balance; margin-bottom: 1.6rem; }
.rechtliches h2 { font-size: 1.5625rem; line-height: 1.2; margin: 2.4rem 0 .6rem; }
.rechtliches h3 { font-size: 1.25rem; margin: 1.8rem 0 .5rem; }
.rechtliches ul { margin: .8rem 0; padding-left: 1.25em; }
.rechtliches ul.plain { list-style: none; padding-left: 0; }
.rechtliches li + li { margin-top: .5rem; }
.rechtliches li p + p { margin-top: .8em; }
.rechtliches ul > li::marker { color: var(--akzent); }
.rechtliches .zurueck { margin-top: 3rem; }
.rechtliches address { font-style: normal; }
.rechtliches dl { margin: .4rem 0 0; display: grid; grid-template-columns: max-content 1fr; gap: .2rem 1.2rem; }
.rechtliches dt { font-weight: 700; }
.rechtliches dd { margin: 0; }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .einstieg-text { grid-column: 1 / span 7; }
  .einstieg-spiel { grid-column: 8 / span 5; }
  .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .abschnitt-kopf, .abschnitt-inhalt, .aktion { grid-column: 1 / -1; }
  .abschnitt-kopf {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    align-items: end;
    margin-bottom: 1.4rem;
  }
  .abschnitt-kopf .nr { grid-row: 1; grid-column: 1; align-self: end; }
  .abschnitt-kopf .abschnitt-titel { grid-row: 2; grid-column: 1; }
  .abschnitt-kopf .spielfeld { grid-row: 1 / span 2; grid-column: 2; width: 6.5rem; margin-top: 0; }
  .einstieg .raster { min-height: 0; }
  .einstieg-text, .einstieg-spiel { grid-column: 1 / -1; }
  .einstieg-spiel { max-width: 24rem; width: 100%; justify-self: center; margin-top: 2.2rem; }
  .einstieg-spiel .spielfeld { width: 78%; margin: 0 auto; }
  .fuss .raster > * { grid-column: 1 / -1; }
  .fuss .raster { row-gap: 2rem; }
}

@media (max-width: 700px) {
  body { font-size: 1.125rem; }   /* 18 px */
  .saeulen, .karten, .galerie { grid-template-columns: minmax(0, 1fr); }
  .karte-breit { grid-template-columns: minmax(0, 1fr); }
  .galerie figure:first-child, .galerie figure:nth-child(4) { grid-column: auto; }
  .buch, .projekt-text { grid-template-columns: minmax(0, 1fr); }
  .aktion { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .abschnitt { padding-top: calc(var(--abstand) - 1.25rem); }
}

@media (max-width: 420px) {
  .menue-wort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menue-knopf { padding-inline: .5rem .2rem; }
}

@media (max-width: 460px) {
  .zahlen { grid-template-columns: minmax(0, 1fr); }
  /* große Systemschrift: mehr Platz für den Knopf im orangen Kasten */
  .aktion { padding: 1.25rem; }
  .aktion .knopf { padding-inline: .8em; }
}

/* Unterseiten: auf schmalen Bildschirmen führt das Signet nach Hause,
   der Textlink würde die Kopfleiste nur umbrechen */
@media (max-width: 520px) { .nav-schlicht { display: none !important; } }

/* ---------- 404: Die jj-Figur schaut sich um ---------- */
.fehlerseite main { padding-block: var(--abstand); }
.fehler-inhalt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem var(--spalt);
  align-items: end;
}
.fehler-inhalt h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem); line-height: 1.05; text-wrap: balance; margin-bottom: 1.2rem; max-width: 14em; }
.fehler-text .lesetext + .lesetext { margin-top: 1rem; }
.fehler-wege { list-style: none; padding: 0; margin: .8rem 0 1.6rem; display: grid; gap: .5rem; font-weight: 700; }
.fehler-hinweis { color: var(--text-2); font-size: 1.0625rem; max-width: 32em; }
.jj-sucht { position: relative; width: clamp(7rem, 4rem + 9vw, 10.5rem); aspect-ratio: 411 / 981; margin: 0; }
.jj-sucht img { position: absolute; inset: 0; width: 100%; height: 100%; }
.jj-links { animation: blickLinks 3.6s steps(1, end) infinite; }
.jj-rechts { opacity: 0; animation: blickRechts 3.6s steps(1, end) infinite; }
@keyframes blickLinks { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes blickRechts { 0% { opacity: 0; } 50% { opacity: 1; } }
@media (max-width: 700px) {
  .fehler-inhalt { grid-template-columns: minmax(0, 1fr); }
  .jj-sucht { order: -1; width: 6.5rem; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
