/* daumenliga.de – Landingpage, Link- und Rechtsseiten (01.11.2026). Gleiche Farben und Schriften wie das Spiel
   (styles.css), aber eigenständig: diese Seiten laden das Spiel nicht. */
:root {
  --grund: #060A12;
  --karte: #0E182B;
  --karte-2: #14223A;
  --tinte: #EEF4FF;
  --tinte-2: #9AAECB;
  --tinte-3: #62759A;
  --rand: rgba(207, 230, 255, .10);
  --rand-stark: rgba(207, 230, 255, .2);
  --neon: #19FB5C;
  --neon-2: #0BC64A;
  --neon-tinte: #03200C;
  --gold: #FFC800;
  --rot: #FF4D6A;
  --hoch: #19FB5C;
  --runter: #FF4D6A;
  --ziffern: "Rubik", system-ui, sans-serif;
  --schrift: "Rubik", system-ui, -apple-system, sans-serif;
  --anzeige: "Kanit", "Rubik", system-ui, sans-serif;
  --weich: cubic-bezier(.22, .8, .28, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(70% 38% at -10% -6%, rgba(207, 230, 255, .16), transparent 62%),
    radial-gradient(70% 38% at 110% -6%, rgba(207, 230, 255, .12), transparent 62%),
    linear-gradient(180deg, #0B1426 0%, #070C17 50%, #05110B 100%);
  background-color: var(--grund);
  color: var(--tinte);
  font: 16px/1.5 var(--schrift);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: auto 0 0 0; height: 45vh; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(25, 251, 92, .05) 0 46px, transparent 46px 92px);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent); mask-image: linear-gradient(to top, #000 10%, transparent);
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.breite { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Kopf ---------- */
.kopfleiste { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 10, 18, .72); border-bottom: 1px solid var(--rand); }
.kopfleiste .breite { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; }
.kopf-links { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 15px; }
.kopf-links a { text-decoration: none; color: var(--tinte-2); }
.kopf-links a:hover { color: var(--tinte); }
.kopf-links a.knopf { color: var(--neon-tinte); }
@media (max-width: 640px) { .kopf-links .nur-breit { display: none; } }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: 14px; border: 0; font: 700 16px/1 var(--schrift); text-decoration: none; cursor: pointer;
  background: linear-gradient(180deg, var(--neon), var(--neon-2)); color: var(--neon-tinte);
  box-shadow: 0 0 0 1px rgba(25, 251, 92, .4), 0 14px 30px -14px rgba(25, 251, 92, .7);
  transition: transform .2s var(--weich), box-shadow .2s var(--weich); }
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: translateY(0) scale(.98); }
.knopf.hell { background: rgba(207, 230, 255, .08); color: var(--tinte); box-shadow: inset 0 0 0 1px var(--rand-stark); }
.knopf.klein { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.knopf svg { width: 20px; height: 20px; flex: none; }
.store-knopf { min-height: 56px; padding: 0 20px; text-align: left; line-height: 1.1; background: #000; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.store-knopf small { display: block; font-weight: 500; font-size: 11px; opacity: .85; }
.store-knopf b { font-size: 18px; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero: Spielwand + Titel + lebende Tabelle ---------- */
.held { position: relative; padding: 0 0 64px; overflow: hidden; }
.spielwand { position: relative; display: grid; gap: 12px; padding: 18px 0 0; transform: rotate(-4deg) scale(1.08); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 70%, transparent 100%); }
.spielreihe { display: flex; gap: 12px; width: max-content; animation: laufen var(--dauer, 90s) linear infinite; }
.spielreihe.zurueck { animation-direction: reverse; }
@keyframes laufen { to { transform: translateX(-50%); } }
.spielkarte { position: relative; flex: none; margin: 0; width: 128px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--karte);
  box-shadow: 0 0 0 1px rgba(207, 230, 255, .14), 0 14px 30px -14px rgba(0, 0, 0, .9); }
.spielkarte img { width: 100%; height: 100%; object-fit: cover; }
.spielkarte span { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 4px 6px; border-radius: 8px; font: 700 11px/1.1 var(--schrift);
  background: rgba(6, 10, 18, .78); color: #fff; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.held-titel { position: relative; margin-top: -150px; }
.augenbraue { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1.2 var(--schrift); letter-spacing: .1em;
  text-transform: uppercase; color: var(--neon); }
.augenbraue::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--neon); transform: skewX(-20deg); flex: none; }
h1, h2, h3 { font-family: var(--anzeige); font-weight: 800; font-style: italic; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(44px, 7.4vw, 92px); line-height: .92; text-transform: uppercase; margin: 12px 0 0; text-shadow: 0 6px 30px rgba(0, 0, 0, .85); }
h1 .gruen { color: var(--neon); text-shadow: 0 0 28px rgba(25, 251, 92, .45), 0 6px 30px rgba(0, 0, 0, .85); }
h1 .gold { color: var(--gold); }
.held-unten { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 40px; align-items: start; margin-top: 26px; }
.held p.unter { font-size: clamp(17px, 2vw, 20px); color: var(--tinte-2); max-width: 34em; margin: 0 0 26px; }
.bald { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--tinte-2); font-size: 15px; }
.bald b { color: var(--tinte); }
.punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(255, 200, 0, .15); flex: none;
  animation: puls 1.8s ease-in-out infinite; }
@keyframes puls { 50% { box-shadow: 0 0 0 10px rgba(255, 200, 0, 0); } }

/* Lebende Tabelle – Markup und Aussehen wie in der App (src/ui/tabelle.js, styles.css „Tabelle“) */
.tabelle-karte { padding: 16px 0 6px; border-radius: 22px; background: linear-gradient(180deg, rgba(20, 34, 58, .97), rgba(14, 24, 43, .97));
  box-shadow: inset 0 0 0 1px var(--rand-stark), 0 30px 60px -30px rgba(0, 0, 0, .95), 0 0 70px -30px rgba(25, 251, 92, .4); overflow: hidden; }
.tabelle-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 16px 10px; }
.tabelle-kopf b { font: italic 800 20px/1.1 var(--anzeige); text-transform: uppercase; }
.tabelle-kopf span { color: var(--tinte-3); font-size: 13px; font-weight: 600; white-space: nowrap; }
.duell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 0 12px 4px; padding: 10px 12px; border-radius: 14px;
  background: rgba(25, 251, 92, .08); box-shadow: inset 0 0 0 1px rgba(25, 251, 92, .25); font-size: 14px; }
.duell .seite { display: flex; align-items: center; gap: 7px; font-weight: 700; min-width: 0; }
.duell .seite.rechts { justify-content: flex-end; }
.duell .stand { font: italic 900 24px/1 var(--anzeige); font-variant-numeric: tabular-nums; }
.duell .disziplinen { grid-column: 1 / -1; display: flex; gap: 6px; justify-content: center; }
.duell .disziplinen figure { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tinte-2); }
.duell .disziplinen img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; object-position: 50% 30%; }
.duell.neu { animation: duell-rein .5s var(--weich); }
@keyframes duell-rein { from { opacity: 0; transform: translateY(-6px); } }
.avatar { --a: #5B6B8C; --b: #2A3550; position: relative; display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(155deg, var(--a), var(--b)); color: #fff; font-family: var(--anzeige); font-style: italic; font-size: 13px; font-weight: 900;
  letter-spacing: .01em; box-shadow: 0 4px 12px -5px var(--b), inset 0 0 0 1px rgba(255, 255, 255, .22); }
.avatar.ich { --a: #8DFFB0; --b: var(--neon-2); color: var(--neon-tinte); }
.avatar.klein { width: 24px; height: 24px; font-size: 10px; box-shadow: none; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabelle th { font-family: var(--anzeige); font-style: italic; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tinte-3); text-align: right; padding: 14px 8px 8px; }
.tabelle th:nth-child(2) { text-align: left; }
.tabelle td { padding: 10px 6px; text-align: right; border-top: 1px solid var(--rand); }
.tabelle td:nth-child(2) { text-align: left; width: 100%; }
.tabelle td.platz { font-family: var(--anzeige); font-style: italic; font-size: 19px; font-weight: 900; color: var(--tinte-2); width: 1%; white-space: nowrap; padding-left: 12px; }
.tabelle td.punkte { font-family: var(--anzeige); font-style: italic; font-size: 19px; font-weight: 900; padding-right: 14px; }
.tabelle td.z { font-family: var(--ziffern); font-variant-numeric: tabular-nums; color: var(--tinte-2); white-space: nowrap; }
.tabelle tr.ich td { background: rgba(25, 251, 92, .11); }
.tabelle tr.ich td.platz { box-shadow: inset 4px 0 0 var(--neon); color: var(--neon); text-shadow: 0 0 10px rgba(25, 251, 92, .6); }
.tabelle tr.ich td.punkte { color: var(--neon); text-shadow: 0 0 10px rgba(25, 251, 92, .6); }
.tabelle tr.keller td { background: rgba(255, 77, 106, .08); }
.medaille { display: inline-grid; place-items: center; width: 26px; height: 24px; border-radius: 5px; transform: skewX(-10deg); font-size: 12px; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.medaille.m1 { background: linear-gradient(155deg, #FFE27A, #D99A00); color: #3A2400; text-shadow: none; box-shadow: 0 0 14px rgba(255, 200, 0, .5); }
.medaille.m2 { background: linear-gradient(155deg, #F1F5FA, #8C9AB0); color: #1D2433; }
.medaille.m3 { background: linear-gradient(155deg, #FFC796, #B4652A); color: #2B1404; }
.spieler-zelle { display: flex; align-items: center; gap: 7px; font-weight: 700; min-width: 0; }
.bewegung { width: 10px; height: 10px; flex: none; }
.bewegung.hoch { fill: var(--hoch); }
.bewegung.runter { fill: var(--runter); }
.bewegung.gleich { fill: var(--tinte-3); }
.form { display: inline-flex; gap: 3px; margin-left: 2px; }
.form i { width: 7px; height: 5px; border-radius: 2px; transform: skewX(-14deg); background: var(--tinte-3); opacity: .6; }
.form i.S { background: var(--hoch); opacity: 1; box-shadow: 0 0 6px rgba(25, 251, 92, .55); }
.form i.N { background: var(--runter); opacity: 1; }
.tabelle-hinweis { padding: 8px 16px 6px; font-size: 12px; color: var(--tinte-3); }
@media (max-width: 400px) { .tabelle td { padding-inline: 4px; } .tabelle td.platz { padding-left: 10px; } .tabelle th { padding-inline: 4px; } }

/* Trailer */
.trailer-raster { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.handy { position: relative; justify-self: center; width: min(300px, 78vw); aspect-ratio: 9 / 19.5; border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, #2A3A57, #0B1220 60%); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(207, 230, 255, .18),
  0 0 90px -20px rgba(25, 251, 92, .35); transform: rotate(3deg); }
.handy video { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; background: #000; }
.ton { position: absolute; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(6, 10, 18, .7); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.ton svg { width: 20px; height: 20px; }

@media (min-width: 861px) {
  .spielkarte { width: 168px; border-radius: 20px; }
  .held-titel { margin-top: -190px; }
}
@media (max-width: 860px) {
  .held-unten { grid-template-columns: 1fr; gap: 28px; margin-top: 20px; }
  .held-unten > .tabelle-karte { order: -1; }
  .trailer-raster { grid-template-columns: 1fr; }
  .handy { transform: none; }
}
@media (max-width: 420px) {
  .spielkarte { width: 104px; border-radius: 13px; }
  .spielkarte span { font-size: 10px; }
  .held-titel { margin-top: -70px; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 72px 0; }
.abschnitt h2 { font-size: clamp(32px, 5vw, 52px); line-height: 1; text-transform: uppercase; margin: 14px 0 14px; }
.abschnitt .einleitung { color: var(--tinte-2); font-size: 18px; max-width: 38em; margin: 0 0 36px; }

.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: schritt; }
.schritt { position: relative; padding: 26px 22px 24px; border-radius: 20px; background: linear-gradient(180deg, var(--karte-2), var(--karte));
  box-shadow: inset 0 0 0 1px var(--rand); }
.schritt::before { counter-increment: schritt; content: counter(schritt); position: absolute; top: 18px; right: 20px;
  font: italic 800 56px/1 var(--anzeige); color: rgba(25, 251, 92, .16); }
.schritt h3 { font-size: 24px; margin-bottom: 8px; }
.schritt p { margin: 0; color: var(--tinte-2); }
.schritt .symbol { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(160deg, var(--neon), var(--neon-2)); color: var(--neon-tinte); }
.schritt .symbol svg { width: 26px; height: 26px; }
@media (max-width: 760px) { .schritte { grid-template-columns: 1fr; } }

.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.zahl { padding: 22px 18px; border-radius: 18px; background: rgba(207, 230, 255, .04); box-shadow: inset 0 0 0 1px var(--rand); }
.zahl b { display: block; font: italic 800 clamp(38px, 5vw, 54px)/1 var(--anzeige); color: var(--neon); }
.zahl > span { color: var(--tinte-2); font-size: 15px; }
@media (max-width: 760px) { .zahlen { grid-template-columns: 1fr 1fr; } }

.tarife { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tarif { display: flex; flex-direction: column; padding: 26px 22px; border-radius: 22px; background: linear-gradient(180deg, var(--karte-2), var(--karte));
  box-shadow: inset 0 0 0 1px var(--rand); }
.tarif.plus { box-shadow: inset 0 0 0 2px var(--gold), 0 24px 60px -30px rgba(255, 200, 0, .5); }
.tarif h3 { font-size: 28px; }
.tarif .preis { font: 700 18px/1.3 var(--schrift); color: var(--gold); margin: 6px 0 16px; }
.tarif.gratis .preis { color: var(--neon); }
.tarif ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tarif li { position: relative; padding-left: 28px; color: var(--tinte-2); }
.tarif li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 3px solid var(--neon);
  border-bottom: 3px solid var(--neon); transform: rotate(-45deg); }
.tarif .klein { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--tinte-3); }
@media (max-width: 860px) { .tarife { grid-template-columns: 1fr; } }

.fair { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fair div { padding: 20px; border-radius: 18px; background: rgba(207, 230, 255, .04); box-shadow: inset 0 0 0 1px var(--rand); }
.fair b { display: block; font-size: 17px; margin-bottom: 4px; }
.fair span { color: var(--tinte-2); font-size: 15px; }
@media (max-width: 860px) { .fair { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fair { grid-template-columns: 1fr; } }

.schluss { text-align: center; padding: 80px 0 96px; }
.schluss h2 { font-size: clamp(36px, 6vw, 64px); }
.schluss .knopf-reihe { justify-content: center; margin-top: 28px; }
.schluss .bald { justify-content: center; text-align: left; max-width: 420px; margin-inline: auto; }

/* ---------- Fuß ---------- */
.fuss { border-top: 1px solid var(--rand); padding: 28px 0 40px; color: var(--tinte-3); font-size: 14px; }
.fuss .breite { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fuss a { color: var(--tinte-2); text-decoration: none; }
.fuss a:hover { color: var(--tinte); }

/* ---------- Link- und Rechtsseiten ---------- */
.blatt { width: min(560px, 100% - 32px); margin: 32px auto 56px; }
.karte { padding: 28px 24px; border-radius: 24px; background: linear-gradient(180deg, var(--karte-2), var(--karte)); box-shadow: inset 0 0 0 1px var(--rand); }
.karte h1 { font-size: clamp(34px, 9vw, 48px); margin: 14px 0 12px; }
.karte p { color: var(--tinte-2); margin: 0 0 16px; }
.ligabild { width: 88px; height: 88px; border-radius: 22px; object-fit: cover; background: var(--karte-2); box-shadow: 0 0 0 2px var(--neon); }
.mitglieder { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; padding: 0; list-style: none; }
.mitglieder li { padding: 6px 12px; border-radius: 999px; background: rgba(207, 230, 255, .07); font-weight: 600; font-size: 14px; }
.code { font: 700 clamp(26px, 8vw, 34px)/1 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .08em; color: var(--gold);
  padding: 16px; border-radius: 16px; text-align: center; background: rgba(255, 200, 0, .07); box-shadow: inset 0 0 0 1px rgba(255, 200, 0, .3); margin: 6px 0 12px; }
.stapel { display: grid; gap: 12px; margin-top: 20px; }
.stapel .knopf { width: 100%; }
.schritte-klein { margin: 18px 0 0; padding-left: 22px; color: var(--tinte-2); }
.schritte-klein li { margin-bottom: 6px; }
.hinweis { margin-top: 16px; font-size: 14px; color: var(--tinte-3); }
.zurueck { display: inline-flex; gap: 8px; align-items: center; color: var(--tinte-2); text-decoration: none; font-weight: 600; margin-bottom: 16px; }
.recht section { margin-top: 24px; }
.recht h2 { font-size: 22px; font-style: normal; font-family: var(--schrift); font-weight: 700; margin-bottom: 8px; text-transform: none; }
.recht p, .recht li { color: var(--tinte-2); }
.recht a { color: var(--neon); }
.recht details { border-top: 1px solid var(--rand); padding: 14px 0; }
.recht summary { cursor: pointer; font-weight: 600; }
.leise { color: var(--tinte-3); font-size: 14px; }

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

/* Spielnamen (für Leser und Suchmaschinen) und häufige Fragen */
.spielnamen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spielnamen li { padding: 7px 12px; border-radius: 999px; background: rgba(207, 230, 255, .06); box-shadow: inset 0 0 0 1px var(--rand); font-size: 14px; font-weight: 600; color: var(--tinte-2); }
.fragen { display: grid; gap: 10px; max-width: 820px; }
.fragen details { padding: 16px 18px; border-radius: 16px; background: rgba(207, 230, 255, .04); box-shadow: inset 0 0 0 1px var(--rand); }
.fragen summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.fragen p { margin: 10px 0 0; color: var(--tinte-2); }
