/* ==========================================================================
   „Überlebst du in den Karpaten?“ – Zusatz-Stile für Startseite, Spiel, Händler, Projekt
   Der dunkle Karpatenwald gehört zum Spiel; die Seite bleibt in den Markenfarben.
   Wird nach style.css geladen.
   ========================================================================== */

:root {
  --wald: #0D2626;
  --wald-hell: #17403F;
  --leuchten: #5EE0D2;
  --holz: #D9A066;
  --urzeit: #E86AA8;
}

/* Formulare dürfen auf schmalen Bildschirmen nicht über den Kasten hinauswachsen */
.mitmachen-box > * { min-width: 0; }
.formular input, .formular select, .formular textarea { min-width: 0; max-width: 100%; }

.platzhalter { background: var(--gelb-hell); color: var(--text); padding: 0 .3em; border-radius: 4px; }

/* Bild-Platzhalter: werden später durch Fotos ersetzt */
.bild-platzhalter {
  position: relative; display: grid; place-content: center; text-align: center; gap: .15rem; padding: 1.25rem;
  width: 100%; aspect-ratio: var(--verh, 4 / 3);
  border: 3px dashed rgba(23, 178, 195, .75); border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, rgba(23, 178, 195, .07) 0 14px, rgba(23, 178, 195, .14) 14px 28px);
  color: var(--tuerkis-dunkel); font-weight: 800; font-size: .95rem; line-height: 1.35;
}
.bild-platzhalter small { display: block; font-weight: 600; font-size: .8rem; opacity: .85; }
.neu-hero .bild-platzhalter {
  color: var(--leuchten); border-color: rgba(94, 224, 210, .65);
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 14px, rgba(94, 224, 210, .1) 14px 28px);
}

/* ---------- Neuheit-Hero ---------- */

.neu-hero {
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(94, 224, 210, .24), transparent 62%),
    radial-gradient(700px 420px at 4% 92%, rgba(217, 160, 102, .16), transparent 62%),
    var(--wald);
  color: #D5E8E4; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.neu-hero h1 { color: var(--weiss); font-size: clamp(2.3rem, 5.4vw, 4rem); margin-bottom: .35em; }
.neu-hero .unterzeile { font-family: var(--schrift-titel); font-weight: 500; font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--holz); margin: 0 0 1.1rem; }
.neu-hero .lead { font-size: 1.15rem; color: #D5E8E4; max-width: 560px; }
.neu-hero a:not(.btn) { color: var(--leuchten); }
.neu-hero a:not(.btn):hover { color: var(--gelb); }
.neu-raster { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.neu-chip {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--gelb); color: var(--lila);
  font-family: var(--schrift-titel); font-weight: 600; padding: .35rem .95rem; border-radius: 999px; margin-bottom: 1rem;
  box-shadow: 0 0 0 5px rgba(248, 189, 0, .18);
}
.faktenleiste { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.faktenleiste li {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: var(--weiss);
  padding: .35rem .85rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
}
.kaufbox {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; background: var(--creme); color: var(--text);
  border-radius: var(--radius); padding: 1.1rem 1.35rem; max-width: 560px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6);
}
.kaufbox .preis { font-family: var(--schrift-titel); font-weight: 600; font-size: 2rem; color: var(--lila); line-height: 1.1; }
.kaufbox .preis small { display: block; font-family: var(--schrift-text); font-weight: 600; font-size: .8rem; color: var(--text-leise); }
.kaufbox .btn { margin-left: auto; }
.haendler-hinweis { margin: 1.1rem 0 0; font-size: .98rem; }
.neu-bild { position: relative; }
.neu-bild .bild-platzhalter { --verh: 4 / 5; max-width: 440px; margin-inline: auto; }
.neu-bild .stempel {
  position: absolute; top: -14px; right: 4%; width: 96px; height: 96px; border-radius: 50%; background: var(--rot); color: var(--weiss);
  display: grid; place-content: center; text-align: center; font-family: var(--schrift-titel); font-weight: 600; line-height: 1.1;
  transform: rotate(10deg); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); font-size: 1rem;
}
.neu-bild .stempel small { font-size: .7rem; font-family: var(--schrift-text); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 880px) {
  .neu-raster { grid-template-columns: 1fr; }
  .neu-bild { order: -1; }
  .neu-bild .bild-platzhalter { max-width: 300px; }
  .kaufbox .btn { margin-left: 0; width: 100%; }
}

/* Kleiner Hero für Unterseiten im Waldton */
.neu-hero.klein { padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.25rem, 4vw, 3.25rem); }
.neu-hero.klein h1 { font-size: clamp(2rem, 4.4vw, 3rem); }

/* ---------- Drei Argumente ---------- */

.argumente { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.argument { background: var(--weiss); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--schatten-klein); border-top: 6px solid var(--tuerkis); }
.argument:nth-child(2) { border-top-color: var(--gelb); }
.argument:nth-child(3) { border-top-color: var(--rot); }
.argument .dimension-icon { margin-bottom: 1rem; }
.argument:nth-child(1) .dimension-icon { background: var(--tuerkis-hell); color: var(--tuerkis-dunkel); }
.argument:nth-child(2) .dimension-icon { background: var(--gelb-hell); color: #8F6200; }
.argument:nth-child(3) .dimension-icon { background: var(--rot-hell); color: var(--rot); }
.argument p { margin: 0; color: var(--text-leise); }
@media (max-width: 880px) { .argumente { grid-template-columns: 1fr; } }

/* ---------- Spielphasen & Würfelereignisse ---------- */

.phasen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: phase; }
.phase { background: var(--weiss); border-radius: var(--radius); padding: 1.5rem 1.35rem; box-shadow: var(--schatten-klein); }
.phase::before {
  counter-increment: phase; content: counter(phase); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--lila); color: var(--weiss); font-family: var(--schrift-titel); font-weight: 600; margin-bottom: .9rem;
}
.phase h3 { font-size: 1.15rem; }
.phase p { margin: 0; font-size: .97rem; color: var(--text-leise); }
@media (max-width: 980px) { .phasen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .phasen { grid-template-columns: 1fr; } }

.ereignisse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ereignis { background: var(--weiss); border: 2px solid var(--linie); border-radius: var(--radius-klein); padding: 1.2rem 1.3rem; }
.ereignis .kopfzeile { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.ereignis .wuerfel {
  flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--lila); color: var(--weiss);
  display: grid; place-items: center; font-family: var(--schrift-titel); font-weight: 600; font-size: 1.25rem;
}
.ereignis h3 { margin: 0; font-size: 1.1rem; }
.ereignis .gewinnt { font-weight: 800; color: var(--tuerkis-dunkel); margin: 0 0 .3rem; font-size: .95rem; }
.ereignis p:last-child { margin: 0; font-size: .93rem; color: var(--text-leise); }
@media (max-width: 880px) { .ereignisse { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ereignisse { grid-template-columns: 1fr; } }

/* ---------- Tabellen (Joker, Konditionen) ---------- */

.tabelle-wrap { overflow-x: auto; border-radius: var(--radius-klein); border: 2px solid var(--linie); background: var(--weiss); }
.tabelle { width: 100%; border-collapse: collapse; font-size: .98rem; }
.tabelle th, .tabelle td { text-align: left; padding: .85rem 1.1rem; vertical-align: top; border-bottom: 1px solid var(--linie); }
.tabelle tr:last-child th, .tabelle tr:last-child td { border-bottom: 0; }
.tabelle th { font-family: var(--schrift-titel); font-weight: 600; color: var(--lila); width: 30%; }
.tabelle thead th { background: var(--lila-hell); font-size: .9rem; }
.tabelle td small { display: block; color: var(--text-leise); }

/* ---------- Lila Band: „Wo ist denn hier die Mathe?“ ---------- */

.mathe-band { background: var(--lila); color: #EDE3F2; }
.mathe-band h2, .mathe-band h3 { color: var(--weiss); }
.mathe-band .eyebrow { color: var(--gelb); }
.mathe-raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.mathe-band blockquote { margin: 1.5rem 0 0; padding: 0; border: 0; background: none; font-family: var(--schrift-titel); font-weight: 500; font-size: 1.25rem; color: var(--gelb); line-height: 1.4; }
.mathe-band blockquote cite { display: block; margin-top: .4rem; font: 600 .9rem var(--schrift-text); color: #D9CBE0; font-style: normal; }

.spektrum { margin: 1.75rem 0 0; }
.spektrum-leiste { position: relative; height: 16px; border-radius: 999px; background: linear-gradient(90deg, #B8AEC0, var(--tuerkis) 55%, var(--gelb)); }
.spektrum-marke {
  position: absolute; top: 50%; right: 2%; width: 34px; height: 34px; border-radius: 50%; transform: translateY(-50%);
  background: var(--weiss); border: 5px solid var(--lila-dunkel); box-shadow: 0 0 0 4px var(--gelb);
}
.spektrum-text { display: flex; justify-content: space-between; gap: 1rem; margin-top: .6rem; font-size: .9rem; color: #D9CBE0; }
.spektrum-text span:last-child { text-align: right; color: var(--gelb); font-weight: 800; }

.uebungen { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.uebungen li {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: var(--weiss);
  padding: .4rem .9rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
}
.mathe-band .tipp { margin-top: 1.5rem; background: var(--creme); color: var(--text); border-radius: var(--radius-klein); padding: 1.1rem 1.3rem; }
.mathe-band .tipp strong { color: var(--lila); }
.mathe-band .tipp p { margin: 0; }
@media (max-width: 880px) { .mathe-raster { grid-template-columns: 1fr; } }

/* ---------- Lebensräume / Farbcodierung ---------- */

.lebensraeume { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.lebensraeume li { display: flex; align-items: center; gap: .65rem; background: var(--weiss); border: 2px solid var(--linie); border-radius: var(--radius-klein); padding: .7rem .9rem; font-weight: 700; color: var(--lila); }
.lebensraeume .farbe { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 3px dashed #BDB1C6; }
.lebensraeume .farbe.urzeit { background: var(--urzeit); border: 3px solid #C54A87; }
.lebensraeume small { display: block; font-weight: 600; color: var(--text-leise); }
@media (max-width: 880px) { .lebensraeume { grid-template-columns: repeat(2, 1fr); } }

.kartenwerte { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.kartenwerte li { background: var(--tuerkis-hell); color: var(--tuerkis-dunkel); border-radius: var(--radius-klein); padding: .6rem .5rem; text-align: center; font-weight: 800; font-size: .92rem; }
@media (max-width: 620px) { .kartenwerte { grid-template-columns: repeat(2, 1fr); } }
.zahlenstufen { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; max-width: 820px; }
.zahlenstufen li { display: grid; grid-template-columns: 1.2fr 1.5fr 1.2fr; gap: .75rem; align-items: center; background: var(--tuerkis-hell); color: var(--tuerkis-dunkel); border-radius: var(--radius-klein); padding: .7rem 1rem; }
.zahlenstufen em { font-style: normal; font-weight: 700; text-align: right; }
@media (max-width: 620px) { .zahlenstufen li { grid-template-columns: 1fr; gap: .15rem; } .zahlenstufen em { text-align: left; } }

.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.zweispaltig.oben { align-items: start; }
@media (max-width: 880px) { .zweispaltig { grid-template-columns: 1fr; } }

.inhalt-kacheln { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.inhalt-kachel { background: var(--weiss); border-radius: var(--radius); padding: 1rem 1rem 1.25rem; box-shadow: var(--schatten-klein); }
.inhalt-kachel .bild-platzhalter { --verh: 1 / 1; margin-bottom: .9rem; padding: .5rem; font-size: .8rem; }
.inhalt-kachel strong { display: block; font-family: var(--schrift-titel); font-size: 1.6rem; color: var(--lila); line-height: 1; }
.inhalt-kachel p { margin: .25rem 0 0; font-size: .95rem; color: var(--text-leise); }
@media (max-width: 880px) { .inhalt-kacheln { grid-template-columns: repeat(2, 1fr); } }

.liste-haken { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.liste-haken li { padding-left: 1.75rem; position: relative; }
.liste-haken li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 4px 50% 4px 50%; background: var(--tuerkis); transform: rotate(-10deg);
}

/* ---------- Fragen & Antworten ---------- */

.faq { display: grid; gap: .75rem; max-width: 820px; }
.faq details { background: var(--weiss); border: 2px solid var(--linie); border-radius: var(--radius-klein); padding: 0 1.25rem; }
.faq details[open] { border-color: var(--tuerkis); }
.faq summary { cursor: pointer; padding: 1rem 0; font-family: var(--schrift-titel); font-weight: 500; font-size: 1.1rem; color: var(--lila); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--tuerkis-dunkel); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; color: var(--text-leise); }

/* ---------- Händler-Band & Kontakt ---------- */

.haendler-band { background: var(--lila-dunkel); color: #D6C8DD; }
.haendler-band h2 { color: var(--weiss); }
.haendler-band .eyebrow { color: var(--gelb); }
.haendler-band .inhalt { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.haendler-band .hero-knoepfe { margin-bottom: 0; }
.haendler-band .zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.haendler-band .zahl { background: rgba(255, 255, 255, .07); border-radius: var(--radius-klein); padding: 1rem 1.1rem; }
.haendler-band .zahl strong { display: block; font-family: var(--schrift-titel); font-size: 1.5rem; color: var(--gelb); line-height: 1.15; }
.haendler-band .zahl span { font-size: .9rem; }
@media (max-width: 880px) { .haendler-band .inhalt { grid-template-columns: 1fr; } }

.kontakt-karte { background: var(--creme); color: var(--text); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.kontakt-karte h3 { margin-bottom: .4rem; }
.kontakt-karte p { margin: 0 0 .6rem; font-size: .98rem; }
.kontakt-karte p:last-child { margin: 0; }

.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.download { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--weiss); border: 2px dashed var(--linie); border-radius: var(--radius-klein); padding: .9rem 1.1rem; }
.download span { font-weight: 700; color: var(--lila); }
.download small { display: block; font-weight: 600; color: var(--text-leise); }
@media (max-width: 620px) { .downloads { grid-template-columns: 1fr; } }

.bildzeile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 760px) { .bildzeile { grid-template-columns: 1fr; } }

.digital-karten { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 760px) { .digital-karten { grid-template-columns: 1fr; } }

.hinweis-box { background: var(--gelb-hell); border-radius: var(--radius-klein); padding: 1rem 1.25rem; font-size: .96rem; }
.hinweis-box p { margin: 0; }

/* ---------- Echte Bilder (ersetzen die Platzhalter) ---------- */

.neu-bild img { display: block; width: 100%; max-width: 440px; height: auto; margin-inline: auto; border-radius: var(--radius); box-shadow: 0 28px 50px -22px rgba(0, 0, 0, .75); }
@media (max-width: 880px) { .neu-bild img { max-width: 300px; } }
.inhalt-kacheln { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.inhalt-kachel img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; margin-bottom: .9rem; border-radius: calc(var(--radius) - 6px); background: var(--creme); }
.inhalt-hinweis { margin: 1.25rem 0 0; color: var(--text-leise); }
.karten-bild { display: block; width: 100%; max-width: 340px; height: auto; margin-inline: auto; }
.karten-bildzeile { margin: 0 0 1.25rem; text-align: center; }
.karten-bildzeile figcaption { margin-top: .5rem; font-size: .9rem; color: var(--text-leise); }
/* ---------- Ablauf "So kommst du zu den Spielmodi" (statt QR-Foto) ---------- */

.qr-ablauf { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; counter-reset: qr; }
.qr-ablauf li {
  counter-increment: qr; display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; align-items: start;
  background: var(--weiss); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--schatten-klein);
}
.qr-ablauf li::before {
  content: counter(qr); display: grid; place-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--lila); color: var(--weiss); font-family: var(--schrift-titel); font-weight: 600; font-size: 1.25rem;
}
.qr-ablauf li:nth-child(2)::before { background: var(--tuerkis); }
.qr-ablauf li:nth-child(3)::before { background: var(--gelb); color: var(--lila); }
.qr-ablauf strong { display: block; font-family: var(--schrift-titel); font-weight: 600; color: var(--lila); font-size: 1.1rem; }
.qr-ablauf span { color: var(--text-leise); font-size: .95rem; }
/* Porträt (echtes Foto statt Maskottchen-Platzhalter) */
.portrait img.foto { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; mix-blend-mode: normal; }/* Advents-/Weihnachtsband */
.advent-band { background: var(--gelb-hell); text-align: center; }
.advent-band .container { max-width: 780px; }
.advent-band h2 { margin-top: .4rem; }
.advent-band .hero-knoepfe { justify-content: center; margin-bottom: 0; }

.bildzeile.zwei { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .bildzeile.zwei { grid-template-columns: 1fr; } }

/* Skala auf hellem Grund (Projektseite): wie sehr fühlt es sich nach Mathe an? */
.spektrum.hell { max-width: 680px; margin: 0 auto 2.5rem; }
.spektrum-titel { font-family: var(--schrift-titel); font-weight: 600; color: var(--lila); font-size: 1.1rem; margin: 0 0 .15rem; }
.spektrum-hinweis { margin: 0 0 .5rem; font-size: .95rem; color: var(--text-leise); }
.spektrum.hell .spektrum-feld { padding-top: 4.2rem; }
.spektrum.hell .spektrum-text { color: var(--text-leise); }
.spektrum.hell .spektrum-text span:last-child { color: var(--lila); }
.spektrum-punkt { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--tuerkis); border: 4px solid var(--lila-dunkel); }
.spektrum-punkt b { position: absolute; left: 11px; bottom: 28px; white-space: nowrap; font-size: .88rem; font-weight: 800; color: var(--lila); }
.spektrum-punkt b.hoch { bottom: 54px; }
.spektrum-punkt b.hoch::after { content: ""; position: absolute; left: 0; top: 100%; width: 2px; height: 22px; background: rgba(51, 18, 63, .35); }

/* ---------- Bewegung (alles wird bei „reduzierter Bewegung“ abgeschaltet) ---------- */
@keyframes hoch-ein { from { opacity: 0; transform: translateY(22px); } }
@keyframes bild-ein { from { opacity: 0; transform: translateY(30px) rotate(2.5deg) scale(.96); } }
@keyframes stempel-ein {
  0% { opacity: 0; transform: rotate(-24deg) scale(.2); }
  70% { opacity: 1; transform: rotate(14deg) scale(1.12); }
  100% { opacity: 1; transform: rotate(10deg) scale(1); }
}
@keyframes punkt-ein { from { opacity: 0; transform: scale(.2); } }
@keyframes marke-ein { from { right: 75%; } }
@keyframes puls {
  0%, 100% { box-shadow: 0 0 0 6px var(--gelb-hell); }
  50% { box-shadow: 0 0 0 13px rgba(248, 189, 0, .16); }
}

/* Seitenkopf mit Schachtel: Text steigt nacheinander auf, Schachtel schwebt ein, Stempel poppt */
.neu-raster > div:first-child > * { animation: hoch-ein .75s cubic-bezier(.2, .7, .2, 1) backwards; }
.neu-raster > div:first-child > :nth-child(2) { animation-delay: .08s; }
.neu-raster > div:first-child > :nth-child(3) { animation-delay: .16s; }
.neu-raster > div:first-child > :nth-child(4) { animation-delay: .24s; }
.neu-raster > div:first-child > :nth-child(5) { animation-delay: .32s; }
.neu-raster > div:first-child > :nth-child(6) { animation-delay: .4s; }
.neu-raster > div:first-child > :nth-child(7) { animation-delay: .48s; }
.neu-bild img { animation: bild-ein .9s .15s cubic-bezier(.2, .7, .2, 1) backwards; }
.neu-bild .stempel { animation: stempel-ein .6s 1s cubic-bezier(.3, 1.3, .5, 1) backwards; }

/* Karten heben sich beim Darüberfahren leicht an */
.argument, .phase, .ereignis, .inhalt-kachel, .dimension, .kennzahl, .mitbauen-karte, .fakt {
  transition: opacity .6s ease, transform .6s ease, box-shadow .25s ease;
}
.argument.sichtbar:hover, .phase.sichtbar:hover, .ereignis.sichtbar:hover, .inhalt-kachel.sichtbar:hover,
.dimension.sichtbar:hover, .kennzahl.sichtbar:hover, .mitbauen-karte.sichtbar:hover, .fakt.sichtbar:hover {
  transform: translateY(-5px); box-shadow: var(--schatten);
  transition: transform .22s ease, box-shadow .22s ease, opacity .6s ease;
}
.ereignis .wuerfel { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.ereignis:hover .wuerfel { transform: rotate(-14deg) scale(1.12); }
.inhalt-kachel img { transition: transform .35s ease; }
.inhalt-kachel:hover img { transform: scale(1.04); }

/* Skala: Markierungen erscheinen, sobald sie im Bild ist */
.einblenden.sichtbar .spektrum-marke { animation: marke-ein 1.1s .45s cubic-bezier(.2, .8, .2, 1) backwards; }
.einblenden.sichtbar .spektrum-punkt { animation: punkt-ein .5s cubic-bezier(.3, 1.5, .5, 1) backwards; }
.einblenden.sichtbar .spektrum-punkt:nth-child(1) { animation-delay: .55s; }
.einblenden.sichtbar .spektrum-punkt:nth-child(2) { animation-delay: .7s; }

/* „Jetzt“ im Fahrplan pulsiert leise */
.etappe.jetzt .etappe-punkt { animation: puls 2.6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .neu-raster > div:first-child > *, .neu-bild img, .neu-bild .stempel,
  .einblenden.sichtbar .spektrum-marke, .einblenden.sichtbar .spektrum-punkt, .etappe.jetzt .etappe-punkt { animation: none; }
  .argument.sichtbar:hover, .phase.sichtbar:hover, .ereignis.sichtbar:hover, .inhalt-kachel.sichtbar:hover,
  .dimension.sichtbar:hover, .kennzahl.sichtbar:hover, .mitbauen-karte.sichtbar:hover, .fakt.sichtbar:hover { transform: none; }
  .ereignis:hover .wuerfel, .inhalt-kachel:hover img { transform: none; }
}


/* ==========================================================================
   Startseite auf den Kauf zugeschnitten
   ========================================================================== */

.btn-gross { font-size: 1.15rem; padding: 1rem 2rem; }

/* Hero: Kaufbox mit Hinweiszeile, Autorinnen-Zeile, Karte neben der Schachtel */
.kaufbox-info { flex-basis: 100%; margin: 0; font-size: .92rem; font-weight: 600; color: var(--text-leise); }
.autorin { display: flex; align-items: center; gap: .75rem; margin: 1.35rem 0 0; color: #C3DAD5; font-size: .98rem; }
.autorin img { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .35); }
.neu-bild .beilage {
  position: absolute; left: -7%; bottom: -5%; width: 36%; max-width: none; height: auto; margin: 0;
  border-radius: 0; box-shadow: none; transform: rotate(-8deg);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55));
  animation: karte-ein .8s .55s cubic-bezier(.2, .7, .2, 1) backwards;
}
@keyframes karte-ein { from { opacity: 0; transform: translateY(40px) rotate(-1deg); } }
@media (max-width: 880px) {
  .neu-bild { max-width: 250px; margin-inline: auto; }
  .neu-bild .beilage { left: -14%; width: 40%; }
  .neu-bild .stempel { width: 78px; height: 78px; font-size: .88rem; }
}

/* So wird gespielt: Foto und vier Schritte, ohne Kartenkästen */
.runde-raster { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.runde-bild img { display: block; width: 100%; max-width: 380px; height: auto; margin-inline: auto; border-radius: var(--radius); box-shadow: var(--schatten); transform: rotate(-2deg); }
.runde-frage { font-family: var(--schrift-titel); font-weight: 500; font-size: 1.25rem; line-height: 1.45; color: var(--lila); max-width: 40ch; }
.zuege { list-style: none; padding: 0; margin: 1.6rem 0 1.9rem; counter-reset: zug; display: grid; gap: 1.15rem; }
.zuege li { counter-increment: zug; display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 1rem; align-items: start; }
.zuege li::before {
  content: counter(zug); grid-row: span 2; font-family: var(--schrift-titel); font-weight: 600; font-size: 2.5rem; line-height: .95; color: var(--tuerkis-dunkel);
}
.zuege strong { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.15rem; color: var(--lila); }
.zuege span { color: var(--text-leise); }
@media (max-width: 880px) { .runde-raster { grid-template-columns: 1fr; } .runde-bild img { max-width: 300px; } }

/* Echte Zahlen: dunkles Band mit dem Kartenfoto */
.karten-band {
  background: radial-gradient(760px 440px at 8% 0%, rgba(94, 224, 210, .14), transparent 62%), var(--wald);
  color: #D5E8E4;
}
.karten-band h2 { color: var(--weiss); }
.karten-band .lead { font-size: 1.15rem; color: #D5E8E4; }
.karten-raster { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pluspunkte { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 1rem; }
.pluspunkte li { position: relative; padding-left: 1.6rem; }
.pluspunkte li::before { content: ""; position: absolute; left: 0; top: .6em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--leuchten); }
.pluspunkte strong { font-family: var(--schrift-titel); font-weight: 600; color: var(--weiss); }
.karten-band blockquote {
  margin: 1.9rem 0 0; padding: 0; border: 0; background: none; color: var(--holz);
  font-family: var(--schrift-titel); font-weight: 500; font-size: 1.35rem; line-height: 1.35;
}
.karten-band blockquote cite { display: block; margin-top: .45rem; font: 600 .95rem var(--schrift-text); font-style: normal; color: #B9D3CE; }
.karten-bild img { display: block; width: 100%; max-width: 400px; height: auto; margin-inline: auto; transform: rotate(2deg); border-radius: var(--radius); box-shadow: 0 28px 50px -22px rgba(0, 0, 0, .75); }
@media (max-width: 880px) { .karten-raster { grid-template-columns: 1fr; } }

/* Kaufband: Preis und Knopf nebeneinander */
.kauf-band { background: var(--gelb-hell); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.kauf-raster { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: center; }
.kauf-band h2 { margin: 0 0 .4em; }
.kauf-band p { margin: 0; max-width: 56ch; font-size: 1.1rem; }
.kauf-karte { display: grid; justify-items: center; gap: 1rem; }
.kauf-karte .preis { font-family: var(--schrift-titel); font-weight: 600; font-size: 2.6rem; line-height: 1.05; color: var(--lila); text-align: center; }
.kauf-karte .preis small { display: block; font: 600 .85rem var(--schrift-text); color: var(--text-leise); }
@media (max-width: 760px) { .kauf-raster { grid-template-columns: 1fr; } .kauf-karte { justify-items: start; } .kauf-karte .preis { text-align: left; } }

/* Händler und Gründerin: je ein knapper Streifen */
.haendler-band { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.haendler-kurz { display: grid; grid-template-columns: 1.4fr auto; gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: center; }
.haendler-kurz h2 { margin-bottom: .35em; }
.haendler-kurz p { margin: 0; max-width: 58ch; }
@media (max-width: 880px) { .haendler-kurz { grid-template-columns: 1fr; } }
.ueber-raster { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; max-width: 900px; }
.avatar-rund { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; box-shadow: var(--schatten); }
@media (max-width: 640px) { .ueber-raster { grid-template-columns: 1fr; } .avatar-rund { width: 110px; height: 110px; } }

/* Kaufleiste: erscheint, sobald Preis und Knopf aus dem Bild sind */
.kaufleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .7rem 0; background: var(--lila-dunkel); color: var(--weiss);
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .45);
  transform: translateY(110%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s .35s;
}
.kaufleiste.zeigen { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.kaufleiste .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.kaufleiste-text { min-width: 0; line-height: 1.25; }
.kaufleiste-text strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--schrift-titel); font-weight: 600; }
.kaufleiste-text span { font-size: .9rem; color: #D6C8DD; }
.kaufleiste .btn { flex: none; padding: .7rem 1.3rem; }
@media (max-width: 560px) { .kaufleiste-text span { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .kaufleiste, .kaufleiste.zeigen { transition: none; }
  .neu-bild .beilage { animation: none; }
}

/* Skala und Zitat im Übungsband von spiel.html */
.mathe-skala { max-width: 720px; margin: 0 0 2.5rem; }
.mathe-skala > p { margin: 0; font-size: 1.1rem; }
.neu-bild .stempel { background: #C23A2B; }
.mathe-band .section-kopf p { color: #E3D8EA; }


/* ==========================================================================
   Status: Die Farbe zeigt, ob etwas schon da ist
   Gelb = jetzt (wie Kaufknopf und „jetzt“ im Fahrplan), Türkis = schon im Einsatz,
   blass und gestrichelt = in Vorbereitung. Der Punkt (voll oder hohl) trägt die Information mit.
   ========================================================================== */
.status {
  display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem; border-radius: 999px;
  font-size: .8rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; line-height: 1.2;
}
.status::before { content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.status-jetzt { background: var(--gelb); color: var(--lila); box-shadow: 0 0 0 4px var(--gelb-hell); }
.status-da { background: var(--tuerkis-dunkel); color: var(--weiss); }
.status-bald { background: rgba(255, 255, 255, .75); color: var(--text-leise); border: 1.5px dashed #A99BB3; }
.status-bald::before { background: transparent; border: 2px solid currentColor; }
.status-reihe { display: flex; flex-wrap: wrap; gap: .4rem; }
.produkt-bild .status-reihe { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 1; }


/* ==========================================================================
   Eine Runde zum Ausprobieren: Du liegst vorn, dann kommt der Joker um die Ecke
   Die Phase steht in data-phase auf .duell, die Karten liegen absolut auf dem Tisch.
   ========================================================================== */
.duell-band { padding: clamp(2.75rem, 6vw, 4.5rem) 0 0; }
.duell-band .section-kopf { margin-bottom: 1.5rem; }
.duell {
  --tempo: cubic-bezier(.2, .7, .2, 1);
  position: relative; overflow: hidden; padding: clamp(1.15rem, 3vw, 2rem); border-radius: var(--radius); color: #D5E8E4;
  background: radial-gradient(720px 420px at 50% 62%, rgba(94, 224, 210, .13), transparent 70%), var(--wald);
  box-shadow: 0 24px 50px -28px rgba(13, 38, 38, .8);
}

.duell-kopf { display: flex; align-items: center; gap: .85rem; }
.duell-kopf p { margin: 0; flex: 1; line-height: 1.35; }
.duell-kopf strong { display: block; font-family: var(--schrift-titel); font-weight: 600; font-size: 1.3rem; color: var(--weiss); }
.duell-wuerfel {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--creme); color: var(--lila);
  font-family: var(--schrift-titel); font-weight: 600; font-size: 1.35rem; transform: rotate(-7deg);
}
.duell-regel.gedreht .regel-wort { text-decoration: line-through; opacity: .65; }
.regel-neu { font-weight: 800; color: var(--gelb); }
.duell-skip {
  flex: none; padding: .4rem .2rem; border: 0; background: none; color: #B9D3CE; font: 700 .9rem var(--schrift-text);
  text-decoration: underline; text-underline-offset: .2em; cursor: pointer;
}
.duell-skip:hover { color: var(--weiss); }

.duell-ansage {
  display: flex; align-items: center; min-height: 5.2rem; margin: .5rem 0 .25rem; outline: none;
  font-family: var(--schrift-titel); font-weight: 500; font-size: clamp(1.2rem, 2.6vw, 1.7rem); line-height: 1.25; color: var(--weiss);
}
.duell-ansage.gross { font-size: clamp(3.2rem, 8vw, 5rem); font-weight: 600; line-height: 1; animation: ansage-gross .4s var(--tempo); }
.duell[data-phase="sieg"] .duell-ansage { color: var(--gelb); }
@keyframes ansage-gross { from { opacity: 0; scale: 1.5; } }

/* Tisch */
.duell-tisch { position: relative; container-type: size; height: min(350px, 44vw); }
.tisch-label { position: absolute; top: 0; font-size: .85rem; font-weight: 700; color: #B9D3CE; transition: opacity .3s; }
.tisch-gegner { left: 6cqw; }
.tisch-revier { left: 50cqw; }
.tisch-du { left: 75cqw; opacity: 0; }
.duell:not([data-phase="wahl"]) .tisch-revier { opacity: 0; }
.duell:not([data-phase="wahl"]) .tisch-du { opacity: 1; }

.k {
  --w: min(19cqw, 180px);
  --y: var(--y0);
  position: absolute; top: 0; left: 0; width: var(--w);
  transform: translate(var(--x), var(--y)) rotate(var(--r, 0deg));
  transition: transform .7s var(--tempo), opacity .3s, filter .5s;
}
.k-gegner { --x: 6cqw; --y0: 30px; }
.k-hand { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 12px; }
.k-hand.slot-0 { --x: 50cqw; --y0: 38px; --r: -5deg; }
.k-hand.slot-1 { --x: 64cqw; --y0: 30px; }
.k-hand.slot-2 { --x: 78cqw; --y0: 38px; --r: 5deg; }
.duell[data-phase="wahl"] .k-hand:hover, .duell[data-phase="wahl"] .k-hand:focus-visible { --y: calc(var(--y0) - 14px); --r: 0deg; z-index: 2; }
.k-hand:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }
.k-hand[disabled] { cursor: default; }
.k-hand.gewaehlt { --x: 75cqw; --y0: 30px; --r: 0deg; z-index: 1; }
.k-hand.weg { --y0: 130px; opacity: 0; pointer-events: none; }

/* Kartengesicht */
.k-front { position: relative; display: block; padding: 6%; border-radius: 12px; background: #F3EEDD; color: #2A2233; box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .7); }
.k-front img { display: block; width: 100%; height: auto; border-radius: 7px; }
.k-name {
  position: absolute; top: 6%; left: 6%; z-index: 1; padding: .1em .55em; border-radius: 7px 0 7px 0; background: rgba(243, 238, 221, .88);
  font-family: var(--schrift-titel); font-weight: 500; font-size: max(11px, calc(var(--w) * .078));
}
.k-wert { display: block; margin-top: 5%; padding: 5% 7%; border-radius: 7px; background: var(--farbe); transition: background .3s, color .3s; }
.k-wert small { display: block; font-size: max(10px, calc(var(--w) * .064)); font-weight: 700; line-height: 1.2; }
.k-wert b { display: block; font-family: var(--schrift-titel); font-weight: 600; font-size: max(14px, calc(var(--w) * .125)); line-height: 1.2; }
.k-luft { --farbe: #BCDDF2; }
.k-feld { --farbe: #F9DF93; }
.k-wald { --farbe: #BFE3B4; }

/* Rückseite und Aufdecken */
.k-innen { position: relative; transform-style: preserve-3d; transition: transform .6s var(--tempo); }
.k-gegner.offen .k-innen { transform: rotateY(180deg); }
.k-gegner .k-front { transform: rotateY(180deg); backface-visibility: hidden; }
.k-rueck {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; border: calc(var(--w) * .05) solid #F3EEDD;
  background: radial-gradient(circle at 50% 40%, var(--wald-hell), var(--wald)); backface-visibility: hidden;
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .7);
  font-family: var(--schrift-titel); font-weight: 600; font-size: max(12px, calc(var(--w) * .115)); color: var(--holz);
}

/* Du liegst vorn */
.k.vorn { --y0: 24px; }
.k.vorn .k-wert, .k-gegner.sieger .k-wert { background: var(--gelb); }
.k.vorn .k-front, .k-gegner.sieger .k-front { box-shadow: 0 18px 36px -10px rgba(248, 189, 0, .6); }

/* Der Joker lauert hinter der Ecke des Tischs */
.k-joker {
  --jw: min(24cqw, 222px);
  position: absolute; top: 0; left: 0; z-index: 3; width: var(--jw); max-width: none; height: auto;
  transform: translate(var(--x), var(--y)) rotate(var(--r));
  transition: transform .7s var(--tempo), opacity .3s;
}
.k-umgedreht { --x: calc(100cqw + 140px); --y: 40px; --r: 22deg; }
.k-zauber { --x: calc(-1 * var(--jw) - 140px); --y: 30px; --r: -22deg; z-index: 4; border-radius: 14px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .75); }

.duell[data-phase="lauern"] .k-umgedreht { --x: calc(100cqw - var(--jw) * .2); --y: 70px; --r: -9deg; animation: lauern 1.1s ease-in-out .6s; }
@keyframes lauern { 30% { translate: -14px 0; } 60% { translate: 2px 0; } 80% { translate: -8px 0; } }
.duell[data-phase="lauern"] .k-gegner, .duell[data-phase="lauern"] .k-hand.gewaehlt,
.duell[data-phase="joker"] .k-gegner, .duell[data-phase="joker"] .k-hand.gewaehlt { filter: brightness(.62); }

.duell[data-phase="joker"] .k-umgedreht, .duell[data-phase="oh"] .k-umgedreht {
  --x: calc(50cqw - var(--jw) / 2); --y: 0px; --r: -3deg;
}
.duell[data-phase="joker"] .k-umgedreht { animation: knall .38s .34s ease-out; }
@keyframes knall { 0% { scale: 1.22; } 55% { scale: .96; } 100% { scale: 1; } }
.duell.beben .duell-tisch { animation: beben .36s .5s ease-out; }
@keyframes beben { 20% { translate: -6px 2px; } 45% { translate: 5px -2px; } 70% { translate: -3px 1px; } 100% { translate: 0 0; } }

/* Oh. */
.k.verloren { --y0: 74px; --r: 9deg; filter: grayscale(.75) brightness(.7); }
.k.verloren .k-wert { background: #C23A2B; color: var(--weiss); }
.k-gegner.sieger { --y0: 24px; }

/* Revanche: Diesmal kommt dein eigener Joker von der anderen Seite */
.k-hand.raus { visibility: hidden; opacity: 0; pointer-events: none; }
.k-hand.rest-0:not(.gewaehlt):not(.weg) { --x: 54cqw; --y0: 34px; --r: -4deg; }
.k-hand.rest-1:not(.gewaehlt):not(.weg) { --x: 72cqw; --y0: 34px; --r: 4deg; }
.duell[data-phase="dran"] .k-zauber { --x: calc(var(--jw) * -.62); --y: 70px; --r: 9deg; animation: lauern-links 1.1s ease-in-out .6s; }
@keyframes lauern-links { 30% { translate: 14px 0; } 60% { translate: -2px 0; } 80% { translate: 8px 0; } }
.duell[data-phase="zauber"] .k-zauber, .duell[data-phase="sieg"] .k-zauber, .duell[data-phase="pech"] .k-zauber { --x: calc(50cqw - var(--jw) / 2); --y: 0px; --r: 3deg; }
.duell[data-phase="zauber"] .k-zauber { animation: knall .38s .34s ease-out; }
.duell-joker-knopf { position: absolute; left: 50%; top: 42%; z-index: 5; transform: translate(-50%, -50%); white-space: nowrap; animation: knopf-ein .4s var(--tempo); }
@keyframes knopf-ein { from { opacity: 0; } }
.duell-joker-knopf:hover { transform: translate(-50%, calc(-50% - 2px)); }
.duell-joker-knopf[hidden] { display: none; }

/* Ende: Urteil und Kauf */
.duell-ende { margin-top: 1.25rem; animation: hoch-ein .6s var(--tempo); }
.duell-urteil { margin: 0; max-width: 62ch; font-size: 1.15rem; font-weight: 700; color: var(--weiss); }
.duell-mathe { margin: .4rem 0 .8rem; max-width: 62ch; color: #B9D3CE; }
.duell-vorgeschmack { margin: 0 0 1.25rem; max-width: 62ch; font-weight: 700; color: var(--gelb); }
.duell-band .section-kopf strong { color: var(--lila); }
.duell-knoepfe { display: flex; flex-wrap: wrap; gap: .9rem; }
.duell-nochmal { color: var(--weiss); border-color: rgba(255, 255, 255, .6); }
.duell-nochmal:hover { color: var(--lila); }

@media (max-width: 640px) {
  .duell-skip { position: absolute; right: .7rem; bottom: .5rem; z-index: 5; font-size: .8rem; }
  .duell-tisch { height: auto; aspect-ratio: 1 / 1.34; }
  .k { --w: 31cqw; }
  .k-wert small { display: none; }
  .k-joker { --jw: 48cqw; }
  .tisch-gegner { left: 3cqw; }
  .tisch-revier { left: 2cqw; top: 56cqw; }
  .tisch-du { left: 66cqw; }
  .k-gegner { --x: 3cqw; --y0: 9cqw; }
  .k-hand.slot-0 { --x: 1cqw; --y0: 65cqw; --r: -2deg; }
  .k-hand.slot-1 { --x: 34.5cqw; --y0: 65cqw; --r: 0deg; }
  .k-hand.slot-2 { --x: 68cqw; --y0: 65cqw; --r: 2deg; }
  .k-hand.gewaehlt { --x: 66cqw; --y0: 9cqw; --r: 0deg; }
  .k-hand.weg { --y0: 100cqw; }
  .k.vorn { --y0: 8cqw; }
  .k.verloren { --y0: 16cqw; }
  .k-gegner.sieger { --y0: 8cqw; }
  .k-umgedreht { --y: 70cqw; }
  .k-zauber { --y: 70cqw; }
  .duell[data-phase="lauern"] .k-umgedreht { --x: calc(100cqw - var(--jw) * .28); --y: 66cqw; }
  .duell[data-phase="joker"] .k-umgedreht, .duell[data-phase="oh"] .k-umgedreht,
  .duell[data-phase="zauber"] .k-zauber, .duell[data-phase="sieg"] .k-zauber, .duell[data-phase="pech"] .k-zauber { --y: 58cqw; }
  .duell[data-phase="dran"] .k-zauber { --y: 70cqw; }
  .k-hand.rest-0:not(.gewaehlt):not(.weg) { --x: 14cqw; --y0: 65cqw; --r: -2deg; }
  .k-hand.rest-1:not(.gewaehlt):not(.weg) { --x: 55cqw; --y0: 65cqw; --r: 2deg; }
  .duell-joker-knopf { top: 76%; }
  .duell-knoepfe .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .k, .k-joker, .k-innen { transition: none; }
  .duell .k-joker, .duell-ansage.gross, .duell.beben .duell-tisch, .duell-ende, .duell-joker-knopf { animation: none; }
}


/* ==========================================================================
   Fluss: Die Farben laufen wie der Pinselring im Logo (Türkis, Lila, Rot, warmes Gelb).
   Bewusst ohne Übergang von Türkis direkt zu Gelb, der würde grünlich.
   ========================================================================== */
:root {
  --logo-fluss: linear-gradient(90deg, var(--tuerkis), var(--lila) 36%, var(--rot) 70%, var(--gelb));
  --bogen: clamp(22px, 4.5vw, 54px);
}

/* Der Faden unter der Kopfzeile */
.kopf::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--logo-fluss); }

/* Die Skala endet im selben Gelb wie alle Kaufknöpfe */
.spektrum-leiste { background: linear-gradient(90deg, #B8AEC0, var(--lila) 45%, var(--rot) 75%, var(--gelb)); }

/* Weiße und cremefarbene Abschnitte gehen ineinander über. !important, weil Weiß als Inline-Stil gesetzt ist. */
section[style*="background:var(--weiss)"] {
  background: linear-gradient(to bottom, var(--creme), var(--weiss) 110px, var(--weiss) calc(100% - 110px), var(--creme)) !important;
}

/* Geschwungene Ränder statt harter Kanten */
.neu-hero { border-radius: 0 0 50% 50% / 0 0 var(--bogen) var(--bogen); }
.karten-band, .mathe-band, .haendler-band { border-radius: 50% / var(--bogen); position: relative; z-index: 1; }
.fuss { border-radius: 50% 50% 0 0 / var(--bogen) var(--bogen) 0 0; background: linear-gradient(to bottom, var(--lila), var(--lila-dunkel) 60%); }

/* Dunkle Bänder fließen statt flach zu stehen */
.karten-band {
  background:
    radial-gradient(760px 440px at 8% 0%, rgba(94, 224, 210, .14), transparent 62%),
    radial-gradient(700px 460px at 96% 100%, rgba(248, 189, 0, .13), transparent 64%),
    var(--wald);
}
.mathe-band { background: linear-gradient(160deg, var(--lila), var(--lila-dunkel)); }
.haendler-band { background: linear-gradient(110deg, var(--lila-dunkel), var(--lila)); border-radius: 50% / calc(var(--bogen) * .5); }

/* Das Kaufband läuft sonnig aus und schiebt sich unter das dunkle Band davor */
.kauf-band {
  background: linear-gradient(105deg, var(--gelb-hell), #FFE59A 62%, #FFD263);
  border-radius: 0 0 50% 50% / 0 0 var(--bogen) var(--bogen);
}
.karten-band + .kauf-band, .mathe-band + .kauf-band {
  margin-top: calc(-1 * var(--bogen));
  padding-top: calc(clamp(2.5rem, 6vw, 4rem) + var(--bogen));
}
.kauf-band .preis small { color: var(--text); }

/* Newsletter-Kasten: Verlauf im Türkis, Überschrift dunkel, weil Weiß darauf nicht lesbar genug war */
.mitmachen-box { background: linear-gradient(130deg, var(--tuerkis), #5ACDC7); }
.mitmachen-box h2 { color: var(--lila-dunkel); }

/* Rahmenknopf auf dunklem Grund: beim Überfahren wird die Schrift dunkel, sonst wäre sie unlesbar */
.btn-hell { color: var(--weiss); border-color: rgba(255, 255, 255, .6); }
.btn-hell:hover { color: var(--lila); }

/* Direkt unter der Runde: Das Spiel kann noch viel mehr. Der Fächer geht beim Einblenden auf. */
.mehr-spiele {
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem); padding: clamp(1.4rem, 3.5vw, 2.5rem); border-radius: var(--radius);
  background: linear-gradient(115deg, var(--gelb), #FFD45C 58%, #FFE9A8);
  color: var(--lila); box-shadow: 0 22px 44px -26px rgba(122, 85, 0, .75);
}
.mehr-text h3 { margin: 0 0 .85rem; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.18; color: var(--lila); }
.von-wegen { display: block; width: fit-content; margin-top: .14em; padding: .02em .38em .08em; border-radius: 12px; background: var(--lila); color: var(--gelb); transform: rotate(-2deg); }
.mehr-dreiklang { margin: 0 0 1rem; font-family: var(--schrift-titel); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.35; }
.mehr-text > p:not(.mehr-dreiklang) { margin: 0 0 .7rem; font-weight: 600; color: var(--lila); }
.mehr-modi { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.mehr-modi li { margin: 0; padding: .32rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .72); font-size: .95rem; font-weight: 700; }
.mehr-faecher { --w: clamp(100px, 13vw, 168px); position: relative; height: calc(var(--w) * 1.5); }
.mehr-faecher .k-front {
  --x: 0; --r: 0deg; --y: 0;
  position: absolute; left: calc(50% - var(--w) / 2); top: 8%; width: var(--w); padding-bottom: 16%;
  box-shadow: 0 12px 22px -12px rgba(74, 30, 96, .65);
  background: linear-gradient(#F3EEDD 80%, var(--farbe) 80%);
  transform-origin: 50% 110%;
  transition: transform .75s cubic-bezier(.2, .9, .3, 1.25);
}
.mehr-faecher .k-front:nth-child(1) { --r: -30deg; --x: -46%; --y: 10px; }
.mehr-faecher .k-front:nth-child(2) { --r: -15deg; --x: -24%; --y: 2px; }
.mehr-faecher .k-front:nth-child(3) { --r: 0deg; }
.mehr-faecher .k-front:nth-child(4) { --r: 15deg; --x: 24%; --y: 2px; }
.mehr-faecher .k-front:nth-child(5) { --r: 30deg; --x: 46%; --y: 10px; }
.mehr-faecher .k-front { transform: translate(var(--x), var(--y)) rotate(var(--r)); }
.mehr-spiele:not(.sichtbar) .mehr-faecher .k-front { transform: none; }
.mehr-spiele:hover .mehr-faecher .k-front { transform: translate(calc(var(--x) * 1.14), calc(var(--y) - 6px)) rotate(calc(var(--r) * 1.12)); }
@media (max-width: 760px) {
  .mehr-spiele { grid-template-columns: 1fr; }
  .mehr-faecher { --w: clamp(84px, 25vw, 112px); order: -1; margin-bottom: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mehr-faecher .k-front { transition: none; }
}

/* Zahlenzauber: Das Kartenbild trägt unten den Namen, daneben rollt der Würfel */
.k-zauber { overflow: hidden; }
.k-zauber img { display: block; width: 100%; height: auto; }
.k-zauber p {
  position: absolute; left: 5%; right: 5%; top: 61%; bottom: 3.5%; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 3% 6%; border-radius: 8px; background: #F3EEDD; color: #2A2233;
  text-align: center; font-size: max(10px, calc(var(--jw) * .06)); font-weight: 700; line-height: 1.25;
}
.k-zauber strong { display: block; margin-bottom: .15em; font-family: var(--schrift-titel); font-weight: 600; font-size: 1.45em; color: var(--lila); }
.duell-zauberwuerfel {
  --jw: min(24cqw, 222px);
  position: absolute; left: calc(50cqw + var(--jw) / 2 - 18px); top: 120px; z-index: 6; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 15px;
  background: var(--creme); color: var(--lila); font-family: var(--schrift-titel); font-weight: 600; font-size: 2.2rem; box-shadow: 0 14px 26px -10px rgba(0, 0, 0, .7);
}
.duell-zauberwuerfel[hidden] { display: none; }
.duell-zauberwuerfel.rollt { animation: rollen .3s linear infinite; }
@keyframes rollen { 0% { transform: rotate(0) scale(1.05); } 50% { transform: rotate(180deg) scale(.92); } 100% { transform: rotate(360deg) scale(1.05); } }
.duell[data-phase="pech"] .duell-ansage { color: var(--weiss); }
@media (max-width: 640px) {
  .duell-zauberwuerfel { --jw: 48cqw; left: calc(50cqw + var(--jw) / 2 - 26px); top: 90cqw; width: 56px; height: 56px; font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) { .duell-zauberwuerfel.rollt { animation: none; } }