/* Schriftgrößen (27.11., Andre: „einheitlich um ein Drittel kleiner“): alle Größen = 2/3 der Mockup-Werte,
   mit Untergrenze für die Lesbarkeit (Kleintext 12 px, Fließtext/Bedienelemente 15 px, Überschriften 18 px).
   Was an der Schrift hängt (Knöpfe, Etiketten, Suchfeld, Logo-Schriftzug, Icons neben Überschriften) ist in em angegeben
   bzw. um dasselbe Drittel verkleinert und wächst so immer passend zur Schrift mit. Bilder und Raster bleiben unverändert. */
/* wirtschaftsspiele.com – Design "Miniatur-Wirtschaftswelt"
   Maße 1:1 aus dem Grafik-Mockup (Bezugsbreite 1360 px = 85rem).
   Ab 1100 px Breite skaliert die ganze Seite proportional mit (1rem = 100vw / 85),
   dadurch sieht das Layout auf 1440 px, Full HD und 4K identisch aus. */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  --navy: #111a33;
  --tinte: #1c2437;
  --tinte-2: #3a4256;
  --gruen: #0b8a42;
  --gruen-hell: #10a050;
  --gruen-dunkel: #07743a;
  --gruen-flaeche: #d6efe1;
  --messing: #b99b60;
  --messing-text: #9c7a2c;
  --messing-balken: #c4913a;
  --messing-flaeche: #c3a15a;
  --linie: #e5e6e3;
  --linie-2: #d2d7db;
  --seite: #fdfdfc;
  --seite-2: #f7f7f5;
  --band: #f8f9f8;
  --grau-pille: #eceef1;
  --grau-text: #5f6673;
  --weiss: #fff;
  --schatten: 0 0.125rem 0.375rem rgba(17, 26, 51, .07), 0 0.0625rem 0.125rem rgba(17, 26, 51, .05);
  --schatten-tafel: 0 0.5rem 1.5rem rgba(17, 26, 51, .14), 0 0.125rem 0.375rem rgba(17, 26, 51, .08);
  --kopf-h: 3.5rem;
  color-scheme: light;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (min-width: 1100px) { html { font-size: calc(100vw / 85); } }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--seite);
  color: var(--tinte);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: max(.6667rem, 15px);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--navy); margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: .375rem; }
.sprung:focus { top: 1rem; }
:focus-visible { outline: 0.1875rem solid var(--gruen); outline-offset: 0.1875rem; }

/* ------------------------------------------------------------ Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  border-radius: 0.375rem; font-weight: 800; text-decoration: none; cursor: pointer;
  border: 0; white-space: nowrap; line-height: 1;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .15s;
}
.knopf:active { transform: translateY(1px); }
.knopf-gruen {
  background: linear-gradient(180deg, var(--gruen-hell) 0%, var(--gruen) 55%, var(--gruen-dunkel) 100%);
  color: #fff; box-shadow: 0 0.125rem 0.25rem rgba(7, 116, 58, .28), inset 0 1px 0 rgba(255,255,255,.18);
}
.knopf-gruen:hover { background: linear-gradient(180deg, #12ad57 0%, #0a7e3d 100%); box-shadow: 0 0.25rem 0.75rem rgba(7, 116, 58, .35); }
.knopf-messing { background: #fff; color: var(--messing-text); box-shadow: inset 0 0 0 0.09375rem var(--messing); }
.knopf-messing:hover { background: #fbf6ea; color: #84661f; }
.knopf-aus { background: var(--grau-pille); color: var(--grau-text); cursor: not-allowed; }
.pfeil { font-size: 1.25em; line-height: 0; position: relative; top: -0.04em; font-weight: 700; transition: transform .2s; }
.knopf:hover .pfeil, .weiterlesen:hover .pfeil { transform: translateX(0.1875rem); }

/* ------------------------------------------------------------ Kopfzeile */
.kopf {
  position: sticky; top: 0; z-index: 60;
  height: var(--kopf-h);
  display: flex; align-items: center;
  padding: 0 1.5625rem 0 1.875rem;
  background: #fff;
  border-bottom: 1px solid #ecedea;
  transition: box-shadow .25s;
}
.kopf.mit-schatten { box-shadow: 0 0.375rem 1.25rem rgba(17, 26, 51, .08); }
.marke { display: flex; align-items: center; text-decoration: none; color: var(--navy); flex: none; }
.marke-emblem { width: 2.8333rem; height: auto; margin-top: -0.1667rem; }
.marke-strich { width: 1px; height: 2.5rem; background: #9aa0aa; margin: 0 0.5833rem 0 0.75rem; }
.marke-wort { font-size: max(1.3533rem, 18px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.navi { display: flex; align-items: center; gap: 1.25rem; margin-left: 2.2rem; }
.navi > a, .navi-knopf {
  font-size: max(.6733rem, 15px); font-weight: 800; color: var(--navy); text-decoration: none;
  background: none; border: 0; padding: 0.5rem 0; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem;
  position: relative;
}
.navi > a::after, .navi-knopf::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.125rem; height: 0.125rem; background: var(--gruen);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.navi > a:hover::after, .navi-knopf:hover::after, .navi-knopf[aria-expanded="true"]::after { transform: scaleX(1); }
.winkel { width: 0.5rem; height: 0.5rem; border-right: 0.15rem solid currentColor; border-bottom: 0.15rem solid currentColor; transform: rotate(45deg) translate(-0.1rem, -0.1rem); transition: transform .2s; }
.navi-knopf[aria-expanded="true"] .winkel { transform: rotate(-135deg) translate(-0.05rem, -0.05rem); }
.navi-genres { position: relative; }
.genre-menue {
  position: absolute; top: calc(100% + 0.5rem); left: -1rem; width: max-content; min-width: 11.3333rem;
  background: #fff; border-radius: 0.5rem; box-shadow: var(--schatten-tafel); border: 1px solid var(--linie);
  padding: 0.5rem; display: grid;
}
.genre-menue[hidden] { display: none; }
.genre-menue a { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.75rem; border-radius: 0.375rem; text-decoration: none; font-weight: 700; color: var(--navy); }
.genre-menue a b { font-size: max(.5333rem, 12px); background: var(--grau-pille); color: var(--grau-text); border-radius: 1rem; min-width: 1.6rem; text-align: center; padding: .1rem .45rem; }
.genre-menue a:hover { background: var(--gruen-flaeche); color: var(--gruen-dunkel); }
.kopf-strich { width: 1px; height: 1.5833rem; background: #b5bac2; margin-left: 1.6667rem; flex: none; }
.suche { position: relative; margin-left: 1rem; width: max(11.4167rem, 210px); flex: none; }
.suche input {
  width: 100%; height: 2.6316em; border: 1px solid #c4c8cf; border-radius: 0.5rem; background: #fff;
  padding: 0 0.7895em 0 2.7895em; font: inherit; font-size: max(.6333rem, 12px); color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
.suche input::placeholder { color: #6b717c; }
.suche input:focus { outline: none; border-color: var(--gruen); box-shadow: 0 0 0 0.1875rem rgba(11, 138, 66, .15); }
.suche-lupe { position: absolute; left: 0.5667rem; top: 50%; width: 0.7rem; height: 0.7rem; transform: translateY(-58%); pointer-events: none; }
.suche-lupe::before { content: ""; position: absolute; left: 0; top: 0; width: 0.52rem; height: 0.52rem; border: max(0.0867rem, 1.5px) solid var(--navy); border-radius: 50%; }
.suche-lupe::after { content: ""; position: absolute; left: 0.4533rem; top: 0.4667rem; width: 0.28rem; height: max(0.0867rem, 1.5px); background: var(--navy); border-radius: 0.1rem; transform: rotate(45deg); transform-origin: left center; }
.such-vorschlaege {
  position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0; z-index: 70;
  background: #fff; border: 1px solid var(--linie); border-radius: 0.5rem; box-shadow: var(--schatten-tafel); padding: 0.375rem; max-height: 22rem; overflow: auto;
}
.such-vorschlaege[hidden] { display: none; }
.such-vorschlaege a { display: flex; align-items: center; gap: 0.75rem; padding: 0.4rem; border-radius: 0.375rem; text-decoration: none; color: var(--navy); }
.such-vorschlaege a img { width: 3.5rem; height: 2.1rem; object-fit: cover; border-radius: 0.25rem; }
.such-vorschlaege a b { display: block; font-weight: 800; font-size: max(.6333rem, 12px); line-height: 1.2; }
.such-vorschlaege a small { color: var(--grau-text); font-size: max(.52rem, 12px); }
.such-vorschlaege a:hover, .such-vorschlaege a[aria-selected="true"] { background: var(--gruen-flaeche); }
.such-vorschlaege p { margin: 0; padding: .6rem; color: var(--grau-text); font-size: max(.6rem, 12px); }
.kopf-play { margin-left: auto; width: 9.0556em; height: 2.5556em; font-size: max(.75rem, 15px); }
.menue-knopf { display: none; }
.handy-menue[hidden] { display: none; }

/* ------------------------------------------------------------ Startseite: Bühne */
.buehne { position: relative; }
.buehne-bild { position: relative; aspect-ratio: 1360 / 582; overflow: hidden; background: #dfe7ef; }
.buehne-bild img { width: 100%; height: 100%; object-fit: cover; }
.buehne-tafel {
  position: absolute; left: 1.1875rem; top: 6.875rem; width: 27.3125rem; height: 23.6875rem;
  background: #fff; border-radius: 0.5rem; box-shadow: var(--schatten-tafel);
  padding: 1.6rem 1.75rem 1.6rem 1.8125rem;
  display: flex; flex-direction: column; justify-content: center; z-index: 2;
}
.buehne-tafel h1 { font-size: max(1.5867rem, 18px); line-height: 1.13; letter-spacing: -0.015em; }
.buehne-tafel p { font-size: max(.9333rem, 15px); line-height: 1.26; font-weight: 500; color: var(--tinte); margin: 0.5rem 0 1.25rem; }
.knopf-gross { width: 14.0625em; height: 2.3897em; font-size: max(.9067rem, 15px); justify-content: center; }
.buehne-tafel .knopf + .knopf { margin-top: 0.625rem; height: 2.2978em; }

.chips-band { background: var(--band); border-bottom: 1px solid #f0f1ee; }
.chips { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.375rem; gap: 0.6rem; }
.chip {
  height: 2.2321em; padding: 0 1.1607em; border-radius: 1.1161em; cursor: pointer;
  background: #fff; color: var(--messing-text); border: 0.09375rem solid var(--messing);
  font-size: max(.7467rem, 15px); font-weight: 700; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { background: #fbf6ea; }
.chip.aktiv { background: linear-gradient(180deg, var(--gruen-hell), var(--gruen-dunkel)); color: #fff; border-color: transparent; font-weight: 800; padding: 0 2.0536em; }
.chips-band.leuchten .chip:not(.aktiv) { animation: chip-leuchten 1.2s ease-out 1; }
@keyframes chip-leuchten { 0% { box-shadow: 0 0 0 0 rgba(185,155,96,.55); } 100% { box-shadow: 0 0 0 0.6rem rgba(185,155,96,0); } }

/* ------------------------------------------------------------ Spielkarten */
.spiele { padding: 1.1875rem 1.125rem 0 1.1875rem; }
.raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem 0.9375rem; }
.karte {
  background: #fff; border: 1px solid #ebebe7; border-radius: 0.375rem; box-shadow: var(--schatten);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.karte:hover { box-shadow: 0 0.75rem 1.75rem rgba(17, 26, 51, .13); transform: translateY(-0.1875rem); }
.karte[hidden] { display: none; }
.karte-bild { display: block; aspect-ratio: 320 / 190; overflow: hidden; background: #e9eef0; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.karte:hover .karte-bild img { transform: scale(1.045); }
.karte-text { padding: 0.75rem 0.9375rem 0.875rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.karte h3 { font-size: max(1.0667rem, 18px); line-height: 1.2; }
.karte h3 a { text-decoration: none; }
.karte h3 a:hover { color: var(--gruen-dunkel); }
.karte-meta { display: flex; justify-content: space-between; align-items: center; margin: 0.25rem 0 0.8rem; font-size: max(.7333rem, 15px); font-weight: 500; color: var(--tinte); gap: .5rem; }
.pille { font-size: max(.5667rem, 12px); font-weight: 600; color: #50575f; background: var(--grau-pille); border-radius: 0.8824em; padding: 0.1176em 0.7059em; white-space: nowrap; }
.pille-offline { background: #e3e6ea; color: #59606b; }
.karte-knoepfe { display: flex; justify-content: space-between; gap: 0.9rem; margin-top: auto; }
.knopf-klein { height: 2.3058em; font-size: max(.6867rem, 15px); padding: 0 0.8738em; }
.karte-knoepfe .knopf-gruen, .karte-knoepfe .knopf-aus { flex: 9.875 1 0; min-width: 0; }
.karte-knoepfe .knopf-messing { flex: 7.25 1 0; min-width: 0; }
.leer-hinweis, .such-hinweis { font-weight: 700; color: var(--grau-text); padding: 1rem 0.25rem; margin: 0; }
.such-hinweis button { margin-left: .5rem; background: none; border: 0; color: var(--gruen-dunkel); font-weight: 800; text-decoration: underline; cursor: pointer; }

/* ------------------------------------------------------------ Einleitungstexte */
.einleitung { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 1.875rem; padding: 2.65rem 1.25rem 3.25rem 1.9375rem; }
.einleitung-strich { width: 1px; background: var(--messing); margin: 0.2rem 0 0.4rem; }
.einleitung h2 { font-size: max(1.2667rem, 18px); line-height: 1.15; margin-bottom: 0.9rem; }
.aufklapp { font-size: max(.64rem, 12px); line-height: 1.5; color: var(--tinte); overflow: hidden; position: relative; }
.aufklapp p { margin: 0 0 .8em; }
.aufklapp b, .aufklapp strong { font-weight: 700; }
.aufklapp.zu { max-height: 6em; }
.weiterlesen {
  background: none; border: 0; padding: 0; margin-top: 0.55rem; cursor: pointer;
  color: var(--gruen); font-size: max(.7667rem, 15px); font-weight: 800; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.1em;
  display: inline-flex; align-items: center; gap: .6rem;
}
.weiterlesen[aria-expanded="true"] .pfeil { transform: rotate(-90deg); }

/* ------------------------------------------------------------ Spielseite */
.seite-spiel, .seite-recht { background: var(--seite-2); }
.spiel-buehne { position: relative; }
.spiel-buehne-bild { position: relative; aspect-ratio: 1360 / 658; overflow: hidden; background: #dfe7ef; }
.spiel-buehne-bild img { width: 100%; height: 100%; object-fit: cover; }
.spiel-tafel {
  position: absolute; left: 1.5rem; bottom: 1.5625rem; z-index: 2;
  min-width: 20rem; max-width: 44rem;
  background: #fff; border-radius: 0.5rem; box-shadow: var(--schatten-tafel);
  padding: 1.1rem 1.2rem 1.2rem 1.1875rem;
}
.brotkrumen { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: max(.7133rem, 15px); font-weight: 600; color: var(--navy); }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { color: var(--gruen-dunkel); text-decoration: underline; }
.brotkrumen b { font-weight: 800; }
.brotkrumen span { font-size: 1.1em; line-height: 1; }
.spiel-tafel h1 { font-size: max(2.5667rem, 18px); line-height: 1.05; margin: 0.65rem 0 1.1rem; letter-spacing: -0.02em; }
.tafel-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.35rem; }
.pille-gross { height: 2.0536em; display: inline-flex; align-items: center; padding: 0 1.0268em; border-radius: 1.0268em; font-size: max(.7467rem, 15px); font-weight: 600; }
.pille-messing { background: var(--messing-flaeche); color: #fff; }
.pille-rand { background: #fff; box-shadow: inset 0 0 0 0.09375rem #9aa0aa; color: #3a4252; }
.knopf-hero { width: 8.7171em; height: 1.8092em; font-size: max(1.2667rem, 18px); }
.spiel-tafel .knopf-aus.knopf-gross { width: auto; padding: 0 1.1029em; }

.spiel-raster {
  display: grid; grid-template-columns: 15.1875rem minmax(0, 1fr) 22rem; gap: 1.4375rem;
  padding: 2.125rem 0.5rem 3.5rem 0.8125rem; align-items: start;
}
/* Rasterspalten dürfen nie breiter werden als vorgesehen (sonst waagerechter Scrollbalken) */
.spiel-raster > *, .seitenleiste > * { min-width: 0; }
.inhalt-karte { position: sticky; top: calc(var(--kopf-h) + 1rem); }
.inhalt-kasten { background: #fff; border: 1px solid var(--linie); border-radius: 0.5rem; box-shadow: var(--schatten); padding: 1.3rem 0 0.6rem; }
.inhalt-kasten h2 { font-size: max(1.4333rem, 18px); padding: 0 1.15rem; }
.fortschritt { position: relative; height: 0.5rem; margin: 1.15rem 1.2rem 1.2rem; background: var(--linie-2); border-radius: 0.25rem; overflow: visible; }
.fortschritt > span { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--gruen); border-radius: 0.25rem; }
.inhalt-liste { list-style: none; margin: 0; padding: 0; }
.inhalt-liste li + li a { border-top: 1px solid var(--linie); }
.inhalt-liste a {
  display: grid; grid-template-columns: 1.4655em 1fr; gap: 0.1rem; align-items: start;
  padding: 0.72rem 0.8rem 0.72rem 1.05rem; text-decoration: none; color: var(--navy);
  font-size: max(.7733rem, 15px); line-height: 1.3; font-weight: 500; position: relative; transition: background-color .2s, color .2s;
}
.inhalt-liste a b { font-weight: 600; }
.inhalt-liste a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0.25rem; background: var(--gruen); transform: scaleY(0); transition: transform .25s; }
.inhalt-liste a:hover { background: #f1f8f4; }
.inhalt-liste a.aktiv { background: var(--gruen-flaeche); color: var(--gruen-dunkel); font-weight: 800; }
.inhalt-liste a.aktiv b { font-weight: 800; }
.inhalt-liste a.aktiv::before { transform: scaleY(1); }
.inhalt-liste li:has(a.aktiv) + li a { border-top-color: transparent; }

.artikel {
  background: #fff; border: 1px solid var(--linie); border-radius: 0.5rem; box-shadow: var(--schatten);
  padding: 1.3rem 1.2rem 1.4rem; font-size: max(.8467rem, 15px); line-height: 1.34; color: var(--tinte); min-width: 0;
}
.artikel > :first-child { margin-top: 0; }
.artikel p { margin: 0 0 1em; }
.artikel a { color: var(--gruen-dunkel); text-decoration-thickness: .08em; text-underline-offset: .15em; overflow-wrap: anywhere; }
.artikel strong, .artikel b { font-weight: 700; color: var(--navy); }
.artikel h2, .artikel h3, .artikel h4 { position: relative; padding-left: 1.4rem; margin: 2.2rem 0 1rem; }
.artikel h2::before, .artikel h3::before, .artikel h4::before { content: ""; position: absolute; left: 0; top: 0.08em; bottom: 0.08em; width: 0.25rem; background: var(--messing-balken); border-radius: 0.125rem; }
.artikel h2 { font-size: max(1.8rem, 18px); line-height: 1.1; }
.artikel h3 { font-size: max(1.0667rem, 18px); }
.artikel h4 { font-size: max(.8333rem, 15px); }
.artikel ul, .artikel ol { padding-left: 1.4rem; margin: 0 0 1em; }

.video { margin: 1.2rem 0 1.4rem; border-radius: 0.375rem; overflow: hidden; background: #eef0f3; }
.video-start { display: block; position: relative; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; aspect-ratio: 661 / 347; }
.video-start img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s; }
.video-start:hover img { transform: scale(1.02); filter: brightness(1.04); }
.video-play {
  position: absolute; left: 50%; top: 50%; width: 5.75rem; height: 5.75rem; transform: translate(-50%, -50%);
  border-radius: 50%; background: #1b2131; box-shadow: 0 0 0 0.3rem #fff, 0 0.5rem 1.5rem rgba(0,0,0,.35);
  transition: transform .25s, background-color .25s;
}
.video-play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 1.2rem 0 1.2rem 1.95rem; border-color: transparent transparent transparent #fff; }
.video-start:hover .video-play { transform: translate(-50%, -50%) scale(1.07); background: var(--gruen); }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video figcaption { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1.1rem; font-size: max(.7rem, 15px); color: #374151; background: #eceef1; }
.yt { width: 1.8rem; height: 1.25rem; border-radius: 0.3rem; background: #2b3242; position: relative; flex: none; }
.yt::after { content: ""; position: absolute; left: 0.72rem; top: 0.33rem; border-style: solid; border-width: 0.3rem 0 0.3rem 0.5rem; border-color: transparent transparent transparent #fff; }

.galerie { list-style: none; padding: 0 !important; margin: 2.6rem 0 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.55rem; }
.galerie-bild { display: block; aspect-ratio: 160 / 251; border-radius: 0.3rem; overflow: hidden; background: #e9eef0; position: relative; }
.galerie-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.galerie-bild:hover img { transform: scale(1.06); }

.seitenleiste { display: grid; gap: 1.45rem; }
.steckbrief, .weitere { background: #fff; border: 1px solid var(--linie); border-radius: 0.5rem; box-shadow: var(--schatten); padding: 1.3rem 1.05rem 1.35rem; }
.steckbrief h2, .weitere h2 { position: relative; padding-left: 1.3rem; font-size: max(1.4rem, 18px); }
.weitere h2 { font-size: max(1.4rem, 18px); line-height: 1.06; }
.steckbrief h2::before, .weitere h2::before { content: ""; position: absolute; left: 0; top: 0.06em; bottom: 0.06em; width: 0.25rem; background: var(--messing-balken); border-radius: 0.125rem; }
.steckbrief dl { margin: 1.1rem 0 1.35rem; border-top: 1px solid var(--linie); }
.steckbrief dl div { display: grid; grid-template-columns: max-content minmax(0, 1fr); border-bottom: 1px solid var(--linie); }
.steckbrief dt { font-weight: 800; color: var(--navy); padding: 0.68rem 0.75rem; font-size: max(.8rem, 15px); border-right: 1px solid var(--linie); }
.steckbrief dd { margin: 0; padding: 0.68rem 0.7rem; font-size: max(.8rem, 15px); font-weight: 500; overflow-wrap: anywhere; }
.knopf-breit { width: 100%; height: 2.1094em; font-size: max(1.0667rem, 18px); }
.weitere ul { list-style: none; margin: 1.1rem 0 0; padding: 0; border-top: 1px solid var(--linie); }
.weitere li a { display: grid; grid-template-columns: 9.8rem minmax(0, 1fr); gap: 0.85rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--linie); text-decoration: none; color: var(--navy); }
.weitere li a img { width: 9.8rem; aspect-ratio: 157 / 107; object-fit: cover; border-radius: 0.25rem; transition: transform .4s; }
.weitere li a:hover img { transform: scale(1.04); }
.weitere li a b { display: block; font-size: max(1rem, 18px); line-height: 1.12; hyphens: manual; overflow-wrap: break-word; }
.weitere li a:hover b { color: var(--gruen-dunkel); }
.weitere .pille { display: inline-block; margin-top: 0.45rem; font-size: max(.6333rem, 12px); padding: 0.1579em 0.8947em; }

/* ------------------------------------------------------------ Leuchtkasten (Galerie groß) */
.leuchtkasten { position: fixed; inset: 0; z-index: 300; background: rgba(12, 17, 30, .94); display: grid; grid-template-columns: 5rem 1fr 5rem; align-items: center; }
.leuchtkasten[hidden] { display: none; }
.leuchtkasten figure { margin: 0; display: grid; justify-items: center; gap: 0.8rem; }
.leuchtkasten img { max-height: 86vh; max-width: 100%; width: auto; border-radius: 0.375rem; box-shadow: 0 1.5rem 4rem rgba(0,0,0,.5); }
.leuchtkasten figcaption { color: #e8eaee; font-weight: 700; }
.lk-pfeil, .lk-zu { background: #fff; color: var(--navy); border: 0; border-radius: 50%; width: 3.2rem; height: 3.2rem; font-size: 2rem; line-height: 1; cursor: pointer; justify-self: center; box-shadow: 0 .4rem 1rem rgba(0,0,0,.3); }
.lk-zu { position: absolute; top: 1.2rem; right: 1.2rem; }
.lk-pfeil:hover, .lk-zu:hover { background: var(--gruen); color: #fff; }

/* ------------------------------------------------------------ Lupe (three.js) */
[data-lupe] { cursor: zoom-in; }
.lupe-leinwand { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; opacity: 0; }

/* ------------------------------------------------------------ Fußbereich */
.fuss { background: #fbfbf9; border-top: 1px solid #efefec; margin-top: 0; }
.fuss-oben {
  display: grid; grid-template-columns: 25.9375rem 16.25rem 16.0625rem 16.3125rem 1fr;
  padding: 1.25rem 0 0 1.5625rem; position: relative; z-index: 2; min-height: 16.4rem;
}
.fuss-marke { display: flex; flex-direction: column; align-items: stretch; justify-self: center; padding-right: 0.75rem; }
.fuss-emblem { width: 7rem; height: auto; margin: 0 0 0.1rem 3.1rem; }
.fuss-wort { font-size: max(1.68rem, 18px); font-weight: 800; color: var(--navy); letter-spacing: -0.028em; line-height: 1; white-space: nowrap; }
.fuss-wort span { color: var(--gruen); }
.fuss-zier { display: flex; align-items: center; gap: 0.5rem; width: 100%; margin: 0.3667rem 0 0.2667rem; }
.fuss-zier span { flex: 1; height: 0.125rem; background: var(--messing); border-radius: 1px; }
.fuss-zier img { width: 1rem; height: auto; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.fuss-marke:hover .fuss-zier img { transform: rotate(180deg); }
.fuss-claim { font-size: max(.6467rem, 12px); font-weight: 700; color: var(--navy); margin: 0; white-space: nowrap; letter-spacing: -0.01em; }
.fuss-spalte { padding: 1.85rem 0 1rem 1.05rem; }
.fuss-spalte + .fuss-spalte { padding-left: 1.7rem; border-left: 0.09rem solid var(--messing); margin-top: 2.1rem; padding-top: 0; }
.fuss-spalte:first-of-type { padding-top: 1.85rem; }
.fuss-spalte + .fuss-spalte h2 { margin-top: -0.25rem; }
.fuss-knopf-platz { border-left: 0.09rem solid var(--messing); margin-top: 2.1rem; }
.fuss-spalte h2 { display: flex; align-items: center; gap: 0.4667rem; font-size: max(1.2667rem, 18px); margin-bottom: 0.95rem; }
.fuss-spalte h2 img { width: 1.8rem; height: auto; }
.fuss-spalte:nth-of-type(2) h2 img { width: 1.7667rem; }
.fuss-spalte:nth-of-type(3) h2 img { width: 1.5667rem; }
.fuss-spalte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.36rem; }
.fuss-spalte a { display: inline-flex; align-items: center; gap: 0.6667rem; text-decoration: none; color: var(--navy); font-size: max(.8733rem, 15px); line-height: 1.08; font-weight: 700; letter-spacing: -0.005em; transition: color .2s, transform .2s; white-space: nowrap; }
.fuss-spalte a::before { content: ""; border-style: solid; border-width: 0.3rem 0 0.3rem 0.4533rem; border-color: transparent transparent transparent var(--gruen); transition: transform .2s; }
.fuss-spalte a:hover { color: var(--gruen-dunkel); }
.fuss-spalte a:hover::before { transform: translateX(0.2rem); }
.fuss-knopf-platz { display: flex; justify-content: center; align-items: flex-start; padding-top: 2.85rem; }
.nach-oben { border: 0; background: none; padding: 0; cursor: pointer; width: 5.1rem; transition: transform .2s, filter .2s; }
.nach-oben img { width: 100%; height: auto; }
.nach-oben:hover { transform: translateY(-0.2rem); filter: drop-shadow(0 0.5rem 0.6rem rgba(124, 96, 40, .3)); }
.nach-oben.gedrueckt { transform: scale(.94); }
.fuss-diorama { position: relative; margin-top: -0.4rem; }
.fuss-diorama-bild { width: 100%; height: auto; aspect-ratio: 2688 / 898; object-fit: cover; }
.fleck { position: absolute; display: block; border-radius: 0.5rem; text-decoration: none; }
.fleck span {
  position: absolute; left: 50%; bottom: calc(100% + 0.4rem); transform: translate(-50%, 0.3rem); opacity: 0; pointer-events: none;
  background: var(--navy); color: #fff; font-size: max(.5667rem, 12px); font-weight: 800; padding: 0.35rem 0.7rem; border-radius: 0.375rem; white-space: nowrap;
  transition: opacity .2s, transform .2s;
}
.fleck::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0.15rem rgba(255,255,255,0); transition: box-shadow .25s; }
.fleck:hover span, .fleck:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
.fleck:hover::after, .fleck:focus-visible::after { box-shadow: 0 0 0 0.15rem #fff, 0 0 0 0.35rem var(--gruen); }
.fleck-impressum { left: 56.6%; top: 40.5%; width: 10.4%; height: 12%; }
.fleck-datenschutz { left: 35.4%; top: 57.5%; width: 9.2%; height: 19%; }
.fuss-unten { display: flex; align-items: center; gap: 1.9rem; padding: 0.6rem 1.3rem 1.4rem; }
.fuss-unten span { flex: 1; height: 0.13rem; background: var(--messing); }
.fuss-unten p { margin: 0; font-size: max(1.1333rem, 18px); font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }

/* ------------------------------------------------------------ Rechtsseiten / 404 */
.recht-raster { display: grid; gap: 1.4375rem; padding: 2.125rem 0.8125rem 3.5rem; align-items: start; }
.datenschutz-raster { grid-template-columns: 15.1875rem minmax(0, 1fr); }
.datenschutz-raster .artikel { max-width: 66rem; }
.recht-text h2 { font-size: max(1.3333rem, 18px); }
.recht-text h3 { font-size: max(.9667rem, 15px); margin-top: 1.8rem; }
.recht-text h4 { font-size: max(.7667rem, 15px); }
.recht-text { font-size: max(.7067rem, 15px); }
/* Lesbare Zeilenlänge (seit der kleineren Schrift wären die Zeilen in der breiten Spalte zu lang) */
.recht-text > p, .recht-text > ul, .recht-text > ol, .recht-text > h2, .recht-text > h3, .recht-text > h4 { max-width: 85ch; }
.fortschritt-stapler { margin-top: 2.6rem; }
.fortschritt-stapler .stapler { position: absolute; bottom: 0.15rem; left: 0; width: 3.6rem; height: auto; transform: translateX(-30%); pointer-events: none; filter: drop-shadow(0 0.15rem 0.15rem rgba(0,0,0,.18)); }
.impressum-raster { grid-template-columns: 30rem minmax(0, 1fr); }
.visitenkarte {
  position: sticky; top: calc(var(--kopf-h) + 4.5rem); margin-top: 3.4rem;
  background: #fff; border-radius: 0.75rem; box-shadow: 0 1.2rem 2.6rem rgba(17, 26, 51, .13), 0 0.2rem 0.5rem rgba(17, 26, 51, .08);
  border: 1px solid #ece6d6;
}
.visitenkarte::before { content: ""; position: absolute; inset: 0.55rem; border: 0.09rem solid var(--messing); border-radius: 0.45rem; pointer-events: none; }
.visitenkarte-innen { padding: 1.9rem 2rem 1.7rem; position: relative; }
.visitenkarte h3 { font-size: max(.5467rem, 12px); text-transform: uppercase; letter-spacing: 0.09em; color: var(--messing-text); margin: 1.15rem 0 0.3rem; font-weight: 800; }
.visitenkarte h3:first-child { margin-top: 0; }
.visitenkarte p { margin: 0; font-size: max(.72rem, 15px); line-height: 1.45; color: var(--navy); font-weight: 500; }
.visitenkarte p:first-of-type { font-size: max(.9667rem, 15px); font-weight: 800; line-height: 1.25; }
.visitenkarte ul.kontakt { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.visitenkarte ul.kontakt li { display: grid; grid-template-columns: max-content 1fr; column-gap: 0.6em; font-size: max(.72rem, 15px); color: var(--navy); }
.visitenkarte ul.kontakt li span:first-child { color: var(--grau-text); }
.visitenkarte a { color: var(--gruen-dunkel); font-weight: 700; text-decoration: none; }
.visitenkarte a:hover { text-decoration: underline; }
.kopier-knoepfe { display: flex; gap: 0.7rem; margin-top: 1.5rem; flex-wrap: wrap; }
.kopier-knoepfe .knopf { width: auto; padding: 0 0.9709em; }
.kopier-knoepfe .knopf.kopiert { background: var(--gruen-flaeche); color: var(--gruen-dunkel); box-shadow: inset 0 0 0 0.09375rem var(--gruen); }
.figur-leser { position: absolute; width: 5.4rem; right: 2.2rem; top: -5.05rem; pointer-events: none; z-index: 2; }
.impressum-raster .artikel { margin-top: 0; }

.tafel-text { font-size: max(.7667rem, 15px); margin: 0.1rem 0 1rem; max-width: 30rem; }
.suche-404 { margin: 0 0 1.3rem; width: 100%; max-width: 30rem; }
.suche-404 input { height: 2.8571em; font-size: max(.7rem, 15px); }
.figur-lupe { position: absolute; right: 2.2rem; top: -6.75rem; width: 4.6rem; pointer-events: none; filter: drop-shadow(0 0.3rem 0.25rem rgba(0,0,0,.18)); }
.tafel-knoepfe { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.tafel-knoepfe .knopf-gross { width: auto; padding: 0 1.1765em; }
.seite-404 .spiel-tafel h1 { font-size: max(2.1333rem, 18px); }
.spiele-404 { padding: 2.4rem 1.125rem 3.5rem 1.1875rem; }
.abschnitt-titel { font-size: max(1.3333rem, 18px); margin: 0 0 1.2rem 0.2rem; }

/* ------------------------------------------------------------ Einblend-Animationen */
.js .anim { opacity: 0; transform: translateY(1.2rem); }

/* ------------------------------------------------------------ Tablet und Handy */
@media (max-width: 1099px) {
  .suche input, .suche-404 input { font-size: 16px; }
  /* Tippflächen am Handy mindestens 40 px hoch */
  .knopf, .chip { min-height: 2.5rem; }
  :root { --kopf-h: 4rem; }
  .kopf { padding: 0 1rem; gap: .75rem; }
  .marke-emblem { width: 3rem; }
  .marke-strich { height: 2.4rem; margin: 0 .6rem; }
  .marke-wort { font-size: 1.35rem; }
  .navi, .kopf-strich, .suche:not(.suche-404), .kopf-play { display: none; }
  .menue-knopf {
    display: inline-flex; margin-left: auto; align-items: center; gap: .5rem; height: 2.5rem; padding: 0 1rem;
    border-radius: 1.25rem; border: .09rem solid var(--messing); background: #fff; color: var(--messing-text); font-weight: 800; cursor: pointer;
  }
  .handy-menue { position: sticky; top: var(--kopf-h); z-index: 59; background: #fff; border-bottom: 1px solid var(--linie); box-shadow: var(--schatten-tafel); display: grid; padding: .5rem 1rem 1rem; }
  .handy-menue a { padding: .75rem .25rem; border-bottom: 1px solid var(--linie); font-weight: 800; color: var(--navy); text-decoration: none; }
  .buehne-bild { aspect-ratio: 2726 / 1753; }
  .buehne-tafel { position: relative; left: auto; top: auto; width: auto; height: auto; margin: -2.5rem 1rem 0; padding: 1.5rem 1.4rem 1.6rem; }
  .buehne-tafel h1 { font-size: max(clamp(1.1333rem, 3.4667vw, 1.6rem), 18px); }
  .buehne-tafel p { font-size: max(.7333rem, 15px); }
  .knopf-gross { width: 100%; }
  .chips-band { margin-top: 1.25rem; }
  .chips { justify-content: flex-start; overflow-x: auto; padding: 1rem; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .raster { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .spiele { padding: 1rem; }
  .einleitung { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1rem 2.5rem; }
  .einleitung-strich { width: auto; height: 1px; margin: 0; }
  .einleitung h2 { font-size: max(1.0667rem, 18px); }
  .aufklapp { font-size: max(.6667rem, 15px); }
  .aufklapp.zu { max-height: 7.5em; }
  .spiel-buehne-bild { aspect-ratio: 16 / 10; }
  .spiel-tafel { position: relative; left: auto; bottom: auto; min-width: 0; max-width: none; margin: -2.5rem 1rem 0; }
  .spiel-tafel h1 { font-size: max(clamp(1.3333rem, 4.6667vw, 2rem), 18px); }
  .knopf-hero { width: 100%; font-size: max(.9333rem, 15px); }
  .spiel-raster, .recht-raster, .datenschutz-raster, .impressum-raster { grid-template-columns: 1fr; padding: 1.25rem 1rem 2.5rem; }
  .inhalt-karte { position: static; }
  .seitenleiste { grid-template-columns: 1fr; }
  .artikel { font-size: max(.7rem, 15px); padding: 1.2rem 1.1rem; }
  .artikel h2 { font-size: max(1.1rem, 18px); }
  .artikel h3 { font-size: max(.9rem, 15px); }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .weitere li a { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .weitere li a img { width: 7.5rem; }
  .weitere li a b { font-size: max(.8rem, 15px); }
  .knopf-breit { font-size: max(.8667rem, 15px); }
  .visitenkarte { position: relative; top: auto; margin-top: 4.5rem; }
  .figur-lupe { display: none; }
  .fuss-oben { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; padding: 2rem 1rem 1rem; }
  .fuss-spalte a { white-space: normal; align-items: flex-start; hyphens: manual; overflow-wrap: break-word; }
  .fuss-spalte a::before { flex-shrink: 0; margin-top: 0.12em; }
  .fuss-wort { text-align: center; }
  .fuss-marke { grid-column: 1 / -1; padding: 0; }
  .fuss-emblem { margin: 0 auto; width: 8rem; }
  .fuss-wort { font-size: clamp(1.6rem, 7vw, 2.6rem); }
  .fuss-claim { white-space: normal; text-align: center; }
  .fuss-spalte, .fuss-spalte + .fuss-spalte, .fuss-knopf-platz { border-left: 0; padding-left: 0; }
  .fuss-knopf-platz { padding-top: 0; justify-content: flex-start; }
  .fuss-diorama-bild { aspect-ratio: 16 / 9; object-position: 40% 70%; }
  .fleck { display: none; }
  .fuss-unten p { font-size: max(.7333rem, 15px); }
  .leuchtkasten { grid-template-columns: 3rem 1fr 3rem; }
  .lk-pfeil { width: 2.6rem; height: 2.6rem; }
}
@media (max-width: 599px) {
  .raster { grid-template-columns: 1fr; }
  .marke-wort { font-size: 1.12rem; }
  .marke-strich { display: none; }
  .marke-emblem { width: 2.6rem; margin-right: .5rem; }
  .karte-knoepfe .knopf-gruen, .karte-knoepfe .knopf-aus, .karte-knoepfe .knopf-messing { width: auto; flex: 1; }
  .steckbrief dl div { grid-template-columns: max-content minmax(0, 1fr); }
  .fuss-spalte a { font-size: max(.7467rem, 15px); gap: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .anim { opacity: 1; transform: none; }
}
