/* trayde.de - Produktseite fuer TraYde. Farben wie die Kontoseiten der App
   ("Petrol": dunkel mit Petrolstich, Petrol-Verlauf, tuerkise Akzente; siehe
   marke/trayde/markenhandbuch.html), sonst schlicht: viel Luft, klare Schrift,
   Screenshots im Handy-Rahmen. */
/* Ueberschriften-Schrift, selbst gehostet (SIL OFL, siehe schrift/LIZENZ.txt) */
@font-face { font-family: "Bricolage Grotesque"; src: url("/schrift/bricolage-grotesque.woff2") format("woff2");
  font-weight: 500 800; font-style: normal; font-display: swap; }
:root {
  --bg: #0b1112;
  --bg-2: #0f1719;
  --surface: #121a1c;
  --line: #22333a;
  --line-2: #2e434a;
  --text: #eaf3f3;
  --muted: #93a8ab;
  --text-2: #c8d8d9;
  --accent: #4fd1c5;
  --accent-2: #1f8a8a;
  --gold: #f2c230;
  /* Markenverlauf Petrol (Knopf, Akzente); fuer Text die hellere Fassung */
  --holo: linear-gradient(120deg, #4fd1c5 0%, #2bb3a6 35%, #1f8a8a 70%, #0d4d55 100%);
  --holo-text: linear-gradient(110deg, #b4f3ec 0%, #4fd1c5 45%, #2bb3a6 100%);
  --titel: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
/* Nichts darf seitlich herausragen (sonst wackelt die Seite auf dem Handy nach links und rechts) */
html, body { overflow-x: clip; }
body { color: var(--text); font: 17px/1.65 var(--sans); -webkit-text-size-adjust: 100%;
  background: radial-gradient(1100px 600px at 75% -220px, rgba(31, 138, 138, 0.24), transparent 70%),
              radial-gradient(800px 500px at 0% 30%, rgba(79, 209, 197, 0.09), transparent 70%), var(--bg); }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.breite { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* Kopfzeile */
.leiste { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; }
.marke img { width: 32px; height: 32px; border-radius: 9px; }
/* Schriftzug wie im Logo: klein geschrieben, eng, das Y tuerkis */
.marke { letter-spacing: -0.03em; font-weight: 800; }
.marke .y { color: var(--accent); }
/* Name im Text unter der Ueberschrift hervorheben */
.einstieg p .name { color: var(--text); font-weight: 700; }
.leiste nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.leiste nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.leiste nav a:not(.btn):hover { color: var(--text); }
/* Sprachschalter DE/EN oben rechts: Pille, die aktive Sprache ist hinterlegt (zwei Links, kein JS) */
.sprachwahl { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.leiste nav .sprachwahl a:not(.btn) { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 26px; padding: 0 9px;
  border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; }
.leiste nav .sprachwahl a:not(.btn):hover { color: var(--text); }
.leiste nav .sprachwahl a:not(.btn)[aria-current] { background: var(--accent); color: var(--bg); }

/* Knoepfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px;
  font: 600 16px var(--sans); text-decoration: none; white-space: nowrap; transition: background 0.15s, border-color 0.15s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-voll { background: var(--holo); color: #fff; text-shadow: 0 1px 2px rgba(20, 0, 40, 0.35);
  box-shadow: 0 10px 30px -12px rgba(31, 138, 138, 0.7); }
.btn-voll:hover { filter: brightness(1.08); }
.btn-rand { color: var(--text); border: 1px solid var(--line-2); background: var(--surface); }
.btn-rand:hover { border-color: var(--accent-2); }
.btn.klein { padding: 8px 14px; font-size: 14px; border-radius: 8px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Einstieg */
.einstieg { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
.produkt { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.produkt img { width: 52px; height: 52px; border-radius: 14px; }
.produkt b { font-size: 20px; }
.produkt small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.einstieg h1 { font-size: clamp(36px, 5.4vw, 58px); line-height: 1.07; letter-spacing: -0.03em; margin: 0 0 18px; font-weight: 800; }
.einstieg h1 em { font-style: normal; background: var(--holo-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px; border-radius: 99px; font-size: 14px;
  color: var(--text-2); background: rgba(79, 209, 197, 0.08); border: 1px solid rgba(79, 209, 197, 0.25); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--holo); }
.einstieg p { color: var(--muted); font-size: 19px; margin: 0; max-width: 540px; }
.vertrauen { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.vertrauen li { display: inline-flex; align-items: center; gap: 7px; }
.vertrauen svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Handy-Rahmen fuer Screenshots */
.handy { width: 100%; max-width: 320px; margin: 0 auto; padding: 10px; border-radius: 38px; background: #050807;
  border: 1px solid var(--line-2); box-shadow: 0 40px 90px -35px rgba(31, 138, 138, 0.5), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.handy img { width: 100%; border-radius: 28px; }
.handy.gedreht { transform: rotate(2deg); }

/* Abschnitte */
section { padding: 72px 0; }
.mitte { text-align: center; max-width: 660px; margin: 0 auto 44px; }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 12px; }
.mitte p, .zeile-text p { color: var(--muted); margin: 0; font-size: 18px; }

.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.schritt { padding: 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.schritt .nr { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 700;
  color: var(--accent); background: rgba(79, 209, 197, 0.1); border: 1px solid rgba(79, 209, 197, 0.28); }
.schritt h3 { margin: 16px 0 6px; font-size: 19px; }
.schritt p { margin: 0; color: var(--muted); font-size: 16px; }

/* App zeigen: Bild und Text im Wechsel */
.zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 36px 0; }
.zeile + .zeile { border-top: 1px solid var(--line); }
.zeile.umgekehrt .zeile-bild { order: 2; }
.klein-label { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 10px; letter-spacing: 0.02em; }
.zeile-text h3 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 12px; }
.zeile-text ul { margin: 18px 0 0; padding: 0; list-style: none; }
.zeile-text li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--text-2); font-size: 16px; }
.zeile-text li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 10px; height: 6px;
  border-left: 2.4px solid var(--accent); border-bottom: 2.4px solid var(--accent); transform: rotate(-45deg); }

/* Vorteile kompakt */
.vorteile { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vorteil svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vorteil h3 { margin: 12px 0 4px; font-size: 17px; }
.vorteil p { margin: 0; color: var(--muted); font-size: 15px; }

/* Aufruf am Ende */
.aufruf { text-align: center; padding: 56px 28px; border-radius: 24px; border: 1px solid var(--line-2);
  background: radial-gradient(600px 240px at 50% 0, rgba(31, 138, 138, 0.22), transparent 70%), var(--surface); }
.aufruf p { color: var(--muted); margin: 0 auto; max-width: 520px; font-size: 18px; }
.aufruf .knoepfe { justify-content: center; }

/* Textseiten (Impressum, Datenschutz, 404) */
.text { max-width: 720px; padding: 36px 0 20px; }
.text h1 { font-size: 36px; letter-spacing: -0.03em; margin: 0 0 20px; }
.text h2 { font-size: 20px; margin: 30px 0 6px; }
.text p, .text li { color: var(--text-2); }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 44px; font-size: 14px; color: var(--muted); }
.fuss { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.fuss b { display: block; color: var(--text); margin-bottom: 8px; font-size: 15px; }
.fuss p { margin: 0 0 6px; }
.fuss a { color: var(--muted); text-decoration: none; }
.fuss a:hover { color: var(--text); }
.hinweis { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: #7d7590; }

@media (max-width: 880px) {
  .einstieg { grid-template-columns: 1fr; padding-top: 20px; gap: 40px; text-align: left; }
  .zeile { grid-template-columns: 1fr; gap: 28px; }
  .zeile.umgekehrt .zeile-bild { order: 0; }
  .schritte { grid-template-columns: 1fr; }
  .vorteile { grid-template-columns: 1fr 1fr; }
  .fuss { grid-template-columns: 1fr; gap: 18px; }
  section { padding: 52px 0; }
  .handy { max-width: 280px; }
}
@media (max-width: 480px) {
  .leiste nav a:not(.btn) { display: none; }
  /* Kopfleiste mit Anmelden und Sprachschalter: nichts umbrechen */
  .leiste { gap: 10px; }
  .leiste nav { gap: 8px; }
  .marke, .leiste .btn { white-space: nowrap; }
  .marke { font-size: 16px; gap: 8px; }
  .vorteile { grid-template-columns: 1fr; }
  .einstieg p, .mitte p, .aufruf p { font-size: 17px; }
  .knoepfe .btn { flex: 1 1 auto; }
  .btn { white-space: normal; text-align: center; }
}

/* Anleitung */
.anleitung { max-width: 820px; margin: 0 auto; padding-bottom: 20px; }
.anleitung-kopf { padding: 36px 0 26px; }
.anleitung-kopf h1 { font-size: clamp(32px, 4.6vw, 46px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 10px; }
.anleitung-kopf p { color: var(--muted); font-size: 18px; margin: 0; }
.sprung { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sprung a { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 6px 12px;
  border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); }
.sprung a:hover { color: var(--text); border-color: var(--accent-2); }
.karte { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; margin-bottom: 14px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 16px; }
.karte .nr { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; font-weight: 700; font-size: 17px;
  color: var(--accent); background: rgba(79, 209, 197, 0.1); border: 1px solid rgba(79, 209, 197, 0.28); }
.karte h2, .fragen h2 { font-size: 21px; letter-spacing: -0.01em; margin: 5px 0 12px; }
.karte h3 { font-size: 14px; color: var(--muted); margin: 0 0 6px; font-weight: 600; }
.karte ol { margin: 0; padding-left: 20px; }
.karte li { margin-bottom: 6px; color: var(--text-2); font-size: 16px; }
.karte li::marker { color: var(--accent); font-weight: 700; }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tipp { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--bg-2); border-left: 3px solid var(--accent-2);
  color: var(--muted); font-size: 15px; }
.symbol { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fragen { padding: 30px 0 34px; scroll-margin-top: 16px; }
.fragen details { border-top: 1px solid var(--line); padding: 14px 0; }
.fragen details:last-child { border-bottom: 1px solid var(--line); }
.fragen summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.fragen details p { color: var(--muted); margin: 8px 0 0; }
@media (max-width: 640px) {
  .karte { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .zwei-spalten { grid-template-columns: 1fr; gap: 12px; }
}

/* Funktionen kompakt als Raster */
.raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kachel { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.kachel svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.kachel h3 { margin: 12px 0 4px; font-size: 17px; }
.kachel p { margin: 0; color: var(--muted); font-size: 15px; }

/* Fuer Kartenlaeden: eigener Block mit Holo-Rand */
.laden { position: relative; padding: 44px; border-radius: 26px; background: var(--surface); }
.laden::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: 26px; background: var(--holo);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.laden-kopf { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: center; }
.laden-kopf p { color: var(--muted); font-size: 18px; margin: 0; }
.laden .liste { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin-top: 34px; }
.laden .punkt { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.laden .punkt svg { width: 26px; height: 26px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.laden .punkt h3 { margin: 0 0 2px; font-size: 17px; }
.laden .punkt p { margin: 0; color: var(--muted); font-size: 15px; }
.laden .handy { max-width: 270px; }

@media (max-width: 880px) {
  .raster { grid-template-columns: 1fr 1fr; }
  .laden { padding: 28px 22px; }
  .laden-kopf { grid-template-columns: 1fr; gap: 28px; }
  .laden .liste { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .raster { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   Animationen (nur CSS, kein JavaScript - CSP script-src 'none').
   Endlos-Schleifen fuer Scan, Tauschangebot und Ringtausch; Einblenden
   und Mitscrollen ueber scroll-gesteuerte Animationen (animation-timeline),
   wo der Browser sie kann. Bei "Bewegung reduzieren" bleibt alles stehen.
   ------------------------------------------------------------------ */

/* Handy mit festem Bildschirm (Hochformat), Inhalt wird beschnitten */
.schirm { position: relative; width: 100%; aspect-ratio: 9 / 19; overflow: hidden; border-radius: 28px; background: #100e15; }
.schirm > img { position: absolute; left: 0; top: 0; width: 100%; border-radius: 0; }

/* Schwebende Karten im Einstieg */
.einstieg { position: relative; }
.schweben { position: absolute; inset: -40px 0 0; pointer-events: none; z-index: -1; }
.schweben img { position: absolute; width: 96px; border-radius: 7px; opacity: 0.55; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.8); }
.schweben .k1 { left: -170px; top: 330px; transform: rotate(-14deg); }
.schweben .k2 { left: 48%; top: -30px; transform: rotate(8deg); }
.schweben .k3 { left: 52%; bottom: -70px; transform: rotate(-6deg); }
.schweben .k4 { right: -80px; bottom: 80px; transform: rotate(12deg); }
@media (max-width: 880px) {
  .schweben .k1, .schweben .k2, .schweben .k3 { display: none; }
  .schweben .k4 { right: 4px; bottom: 140px; width: 74px; }
}

/* Scan als Vorgang: Binder-Seite im Sucher, Scan-Linie, Ausloeser, Haken */
.sucher { position: absolute; left: 6%; right: 6%; top: 17%; }
.sucher img { width: 100%; display: block; border-radius: 6px; }
.sucher-text { position: absolute; left: 0; right: 0; top: 7%; text-align: center; font-size: 13px; font-weight: 700; color: #fff; }
.schirm.kamera { background: #000; }
.ecke { position: absolute; width: 14%; aspect-ratio: 1; border: 3px solid #fff; }
.ecke.e1 { left: -4%; top: -2.5%; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.ecke.e2 { right: -4%; top: -2.5%; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.ecke.e3 { left: -4%; bottom: -2.5%; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.ecke.e4 { right: -4%; bottom: -2.5%; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.linie { position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: var(--accent);
  box-shadow: 0 0 14px 4px rgba(79, 209, 197, 0.7); opacity: 0; }
.haken { position: absolute; width: 14%; aspect-ratio: 1; margin: -7% 0 0 -7%; border-radius: 50%; background: #3fb950; display: grid; place-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5); }
.haken svg { width: 62%; height: 62%; fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.haken.h1 { left: 16.7%; top: 16.7%; } .haken.h2 { left: 50%; top: 16.7%; } .haken.h3 { left: 83.3%; top: 16.7%; }
.haken.h4 { left: 16.7%; top: 50%; } .haken.h5 { left: 50%; top: 50%; } .haken.h6 { left: 83.3%; top: 50%; }
.haken.h7 { left: 16.7%; top: 83.3%; } .haken.h8 { left: 50%; top: 83.3%; } .haken.h9 { left: 83.3%; top: 83.3%; }
.ausloeser { position: absolute; left: 50%; bottom: 7%; width: 17%; aspect-ratio: 1; margin-left: -8.5%; border-radius: 50%;
  border: 3px solid #fff; background: rgba(255, 255, 255, 0.25); }
.blitz { position: absolute; inset: 0; background: #fff; opacity: 0; }

/* Tauschangebot: Tipp auf "Annehmen", dann Rueckmeldung */
.tipp-kreis { position: absolute; left: 75.7%; top: 64.9%; width: 15%; aspect-ratio: 1; margin: -7.5% 0 0 -7.5%; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.25); opacity: 0; }
.toast { position: absolute; left: 6%; right: 6%; bottom: 5%; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px;
  background: #1f1b29; border: 1.5px solid #3fb950; font-size: 14px; font-weight: 700; color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }
.toast svg { width: 20px; height: 20px; fill: none; stroke: #3fb950; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Ringtausch: drei Personen im Dreieck, Karten wandern im Kreis */
.ring { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; margin: 0 auto; }
.ring svg.kanten { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring .kanten path { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 3.5 3; }
.ring .kanten .spitze { fill: var(--accent); stroke: none; }
.knoten { position: absolute; width: 27%; margin: -13.5% 0 0 -13.5%; text-align: center; }
.knoten img { width: 100%; border-radius: 50%; border: 4px solid #fbf4ee; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.8); }
.knoten b { display: block; margin-top: 4px; font-size: 15px; }
.knoten.n1 { left: 50%; top: 20%; } .knoten.n2 { left: 80%; top: 74%; } .knoten.n3 { left: 20%; top: 74%; }
.knoten.n1 b { position: absolute; left: 0; right: 0; top: -28px; margin: 0; }
.wandert { position: absolute; width: 15%; margin: -10.5% 0 0 -7.5%; border-radius: 5px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7); }
.wandert.w1 { left: 57%; top: 32%; } .wandert.w2 { left: 59%; top: 74%; } .wandert.w3 { left: 30%; top: 54%; }

/* Gruppe: Aufsteller mit QR-Code, Mitglieder treten bei */
.aufsteller-feld { position: relative; max-width: 340px; margin: 0 auto; padding: 30px 46px; }
.aufsteller { padding: 22px 22px 24px; border-radius: 22px; background: #fff; color: #17141f; text-align: center;
  box-shadow: 0 30px 70px -24px rgba(31, 138, 138, 0.8); }
.aufsteller small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: #1f8a8a; }
.aufsteller b { display: block; margin: 4px 0 12px; font-size: 24px; letter-spacing: -0.02em; }
.aufsteller img { width: 70%; margin: 0 auto; image-rendering: pixelated; }
.aufsteller span { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; }
.mitglied { position: absolute; width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fbf4ee; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6); }
.mitglied.m1 { left: 0; top: 18%; } .mitglied.m2 { right: 0; top: 26%; } .mitglied.m3 { left: 2%; top: 64%; }
.mitglied.m4 { right: 2%; top: 70%; } .mitglied.m5 { left: 50%; bottom: -8px; margin-left: -29px; }

@media (prefers-reduced-motion: no-preference) {
  .schweben img { animation: schweben 9s ease-in-out infinite alternate; }
  .schweben .k2 { animation-duration: 11s; animation-delay: -3s; }
  .schweben .k3 { animation-duration: 10s; animation-delay: -5s; }
  .schweben .k4 { animation-duration: 12s; animation-delay: -2s; }
  @keyframes schweben { from { translate: 0 0; rotate: 0deg; } to { translate: 0 -26px; rotate: 6deg; } }

  /* Scan-Schleife (6 s) */
  .linie { animation: linie 6s ease-in-out infinite; }
  @keyframes linie { 0% { top: 0; opacity: 1; } 18% { top: 100%; } 34% { top: 0; opacity: 1; } 36%, 100% { opacity: 0; } }
  .ausloeser { animation: ausloeser 6s infinite; }
  @keyframes ausloeser { 0%, 35% { scale: 1; } 37% { scale: 0.82; } 40%, 100% { scale: 1; } }
  .blitz { animation: blitz 6s infinite; }
  @keyframes blitz { 0%, 36% { opacity: 0; } 37% { opacity: 0.85; } 46%, 100% { opacity: 0; } }
  .haken { animation: haken 6s infinite; }
  .haken.h2 { animation-delay: 0.12s; } .haken.h3 { animation-delay: 0.24s; } .haken.h4 { animation-delay: 0.36s; } .haken.h5 { animation-delay: 0.48s; }
  .haken.h6 { animation-delay: 0.6s; } .haken.h7 { animation-delay: 0.72s; } .haken.h8 { animation-delay: 0.84s; } .haken.h9 { animation-delay: 0.96s; }
  @keyframes haken { 0%, 40% { opacity: 0; scale: 0.4; } 45% { opacity: 1; scale: 1.15; } 48%, 88% { opacity: 1; scale: 1; } 94%, 100% { opacity: 0; scale: 1; } }

  /* Tauschangebot-Schleife (5 s) */
  .tipp-kreis { animation: tipp 5s infinite; }
  @keyframes tipp { 0%, 30% { opacity: 0; scale: 0.5; } 32% { opacity: 1; scale: 0.6; } 44% { opacity: 0; scale: 1.5; } 100% { opacity: 0; } }
  .toast { animation: toast 5s infinite; }
  @keyframes toast { 0%, 40% { opacity: 0; translate: 0 20px; } 46%, 88% { opacity: 1; translate: 0 0; } 96%, 100% { opacity: 0; translate: 0 0; } }

  /* Ringtausch-Schleife (6 s): jede Karte faehrt ein Stueck auf ihrer Kante */
  .wandert { animation: 6s ease-in-out infinite; }
  .wandert.w1 { animation-name: w1; } .wandert.w2 { animation-name: w2; } .wandert.w3 { animation-name: w3; }
  @keyframes w1 { 0%, 10% { left: 56%; top: 30%; opacity: 0; } 18% { opacity: 1; } 60%, 85% { left: 70%; top: 55%; opacity: 1; } 95%, 100% { left: 70%; top: 55%; opacity: 0; } }
  @keyframes w2 { 0%, 10% { left: 68%; top: 74%; opacity: 0; } 18% { opacity: 1; } 60%, 85% { left: 40%; top: 74%; opacity: 1; } 95%, 100% { left: 40%; top: 74%; opacity: 0; } }
  @keyframes w3 { 0%, 10% { left: 25%; top: 63%; opacity: 0; } 18% { opacity: 1; } 60%, 85% { left: 39%; top: 37%; opacity: 1; } 95%, 100% { left: 39%; top: 37%; opacity: 0; } }

  /* Mitglieder ploppen nacheinander auf (Schleife 7 s) */
  .mitglied { animation: beitreten 7s infinite; }
  .mitglied.m2 { animation-delay: 0.35s; } .mitglied.m3 { animation-delay: 0.7s; } .mitglied.m4 { animation-delay: 1.05s; } .mitglied.m5 { animation-delay: 1.4s; }
  @keyframes beitreten { 0%, 4% { opacity: 0; scale: 0.3; } 10% { opacity: 1; scale: 1.15; } 14%, 86% { opacity: 1; scale: 1; } 94%, 100% { opacity: 0; scale: 1; } }

  /* Scroll-gesteuert, wo der Browser es kann */
  @supports (animation-timeline: view()) {
    .zeile, .laden, .schluss, .kopfzeile, .extras li {
      animation: herein linear both; animation-timeline: view(); animation-range: entry 0% cover 28%;
    }
    @keyframes herein { from { opacity: 0; translate: 0 50px; } to { opacity: 1; translate: 0 0; } }
    .zeile-bild .handy { animation: handy linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    @keyframes handy { from { translate: 0 80px; rotate: -3deg; scale: 0.94; } to { translate: 0 0; rotate: 0deg; scale: 1; } }
    .zeile.umgekehrt .zeile-bild .handy { animation-name: handy-r; }
    @keyframes handy-r { from { translate: 0 80px; rotate: 3deg; scale: 0.94; } to { translate: 0 0; rotate: 0deg; scale: 1; } }
    /* Inhalt im Handy scrollt mit der Seite */
    .mitlaufen { view-timeline: --handy block; }
    .mitlaufen .schirm > img { animation: mitlaufen linear both; animation-timeline: --handy; animation-range: cover 25% cover 75%; }
    .mitlaufen.treffer .schirm > img { --weg: -32%; }
    .mitlaufen.treffen .schirm > img { --weg: -22%; }
    @keyframes mitlaufen { from { translate: 0 0; } to { translate: 0 var(--weg); } }
  }
}

/* ------------------------------------------------------------------
   Eigener Look statt Baukasten: Titelschrift, gemalte Unterstreichung,
   Schritte als Sammelkarten, schlichte Liste, Binder-Seite zum Schluss.
   ------------------------------------------------------------------ */
h1, h2, h3, .marke { font-family: var(--titel); }
.einstieg h1 { font-weight: 800; letter-spacing: -0.035em; font-size: clamp(40px, 6vw, 66px); }
.einstieg h1 em { font-style: normal; color: var(--text); background: none; -webkit-background-clip: border-box; background-clip: border-box;
  position: relative; white-space: nowrap; isolation: isolate; }
.einstieg h1 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.08em; height: 0.32em; z-index: -1;
  background: var(--holo); opacity: 0.85; border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%; transform: rotate(-1.2deg); }
.einstieg .fuer { margin-top: 10px; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; color: var(--accent); }
.einstieg h1 + .fuer + p { margin-top: 18px; }

/* Abschnittskopf links statt zentriert */
.kopfzeile { max-width: 640px; margin: 0 0 38px; }
.kopfzeile h2 { margin: 0 0 8px; }
.kopfzeile p { margin: 0; color: var(--muted); font-size: 18px; }

/* Drei Schritte als aufgefaecherte Sammelkarten - Klick dreht sie um (Kontrollkaestchen, kein JavaScript) */
.hand { display: flex; justify-content: center; padding: 10px 0 30px; }
.sammelkarte { position: relative; display: block; width: 270px; aspect-ratio: 63 / 88; margin: 0 12px; cursor: pointer;
  perspective: 1200px; transition: translate 0.25s ease, rotate 0.25s ease; -webkit-tap-highlight-color: transparent; }
.sammelkarte:nth-child(1) { rotate: -5deg; translate: 0 16px; }
.sammelkarte:nth-child(2) { z-index: 1; }
.sammelkarte:nth-child(3) { rotate: 5deg; translate: 0 16px; }
@media (hover: hover) { .sammelkarte:hover { translate: 0 -10px; z-index: 2; } }
.dreh { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.innen { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.3, 0.8, 0.3, 1); }
.dreh:checked + .innen { transform: rotateY(180deg); }
.dreh:focus-visible + .innen { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 18px; }
/* Im Stil echter Pokemon-Karten: farbiger Rahmen je Schritt (Unlicht, Drache, Psycho), Stufen-Pille, Nummer und
   Umdreh-Symbol oben rechts, Bildfenster mit silberner Leiste, "Attacke" mit farblosem Energie-Kreis, silberne Leiste unten. */
.sammelkarte, .bk { --energie: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4.5l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L4.8 9.8l5-.7Z' fill='%233a3a3a'/%3E%3C/svg%3E") center / 13px no-repeat, radial-gradient(circle at 35% 30%, #ffffff, #e3e5e7 60%, #a9aeb3); }
.sammelkarte:nth-child(1) { --rahmen: #34474b; --feld-hell: #5d7074; --feld: #3e5054; --schrift: #eef3f2; }
.sammelkarte:nth-child(2) { --rahmen: #b8973c; --feld-hell: #efe2ae; --feld: #d9c27a; --schrift: #26200f; }
.sammelkarte:nth-child(3) { --rahmen: #9467c2; --feld-hell: #ecdff7; --feld: #cfb4e8; --schrift: #241a30; }
.seite { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 9px 10px 8px; border-radius: 14px; color: #22201a;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; color: var(--schrift);
  border: 8px solid var(--rahmen);
  background: radial-gradient(120% 80% at 50% 60%, var(--feld-hell), var(--feld));
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.35); }
.seite.hinten { transform: rotateY(180deg); }
.karte-kopf { display: flex; align-items: center; gap: 5px; padding: 0 1px; }
.karte-kopf b { flex: 1; min-width: 0; font-family: var(--titel); font-size: 14.5px; letter-spacing: -0.01em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seite.hinten .stufe { display: none; }
/* Stufen-Pille wie "BASIS" oben links */
.stufe { flex-shrink: 0; padding: 2px 7px 2px 6px; border-radius: 3px 99px 99px 3px; font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: #3b3b3b; background: linear-gradient(180deg, #fafafa, #c9cdd0); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }
.karte-kopf > span { font-family: var(--titel); font-weight: 800; font-size: 20px; line-height: 1; }
/* Oben rechts statt Typ-Symbol: umdrehen */
.karte-kopf .dreh-symbol { width: 22px; height: 22px; background: radial-gradient(circle at 35% 30%, #ffffff, #e3e5e7 60%, #a9aeb3);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.85), 0 1px 2px rgba(0, 0, 0, 0.3); }
/* Bildfenster mit silbernem Rand und Leiste darunter */
.fenster { position: relative; flex: 0 0 42%; border-radius: 2px; background: #0a1314; box-shadow: 0 0 0 3px #d9dcdf, 0 0 0 4px rgba(0, 0, 0, 0.25); margin: 0 1px 10px; }
.fenster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fenster::after { content: ''; position: absolute; left: -4px; right: -6px; bottom: -11px; height: 8px; border-radius: 2px 2px 6px 2px;
  background: linear-gradient(180deg, #f6f7f8, #b9bec3); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
/* "Attacke": Energie-Kreis vor dem Text */
.karte-text { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; padding: 2px 4px; flex: 1; font-size: 13.5px; line-height: 1.42; color: inherit; }
.karte-text::before { content: ''; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--energie);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9); }
/* Unten wie Schwaeche/Resistenz/Rueckzug: silberne Leiste mit den Stichworten */
.seite small { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 3px 99px 99px 3px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.01em; color: #3d3d3d; background: linear-gradient(180deg, #fafafa, #c6cacd);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.dreh-symbol { display: grid; place-items: center; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; }
.dreh-symbol svg { width: 13px; height: 13px; fill: none; stroke: #3d3d3d; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Rueckseite: grosses Bildfenster mit einem Ausschnitt aus der App */
.bildfenster { position: relative; flex: 1; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 3px #d9dcdf, 0 0 0 4px rgba(0, 0, 0, 0.25); background: #100e15; margin: 0 1px; }
.bildfenster > img { position: absolute; left: 0; top: 0; width: 100%; }
.mini-scan { position: absolute; inset: 0; background: #000; }
.mini-scan .sucher { left: 10%; right: 10%; top: 9%; }
.mini-scan .ecke { border-width: 2px; }

/* Ausserdem: schlichte zweispaltige Liste */
.extras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.extras li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.extras li b { color: var(--text); font-weight: 650; }
.extras svg { width: 24px; height: 24px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Schluss: Binder-Seite mit Luecken */
.schluss { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: 20px 0; }
.schluss h2 { font-size: clamp(32px, 4.2vw, 48px); letter-spacing: -0.03em; }
.schluss p { color: var(--muted); font-size: 18px; margin: 0; max-width: 480px; }
.binderseite { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; border-radius: 18px; max-width: 360px; justify-self: center;
  background: #1b1726; border: 1px solid var(--line-2); box-shadow: 0 30px 70px -30px rgba(31, 138, 138, 0.6), inset 0 0 0 6px #15121e; }
.binderseite img, .binderseite .leer { width: 100%; aspect-ratio: 63 / 88; border-radius: 6px; }
.binderseite img { box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5); }
.binderseite .leer { border: 2px dashed #2e4a4d; background: rgba(79, 209, 197, 0.04); }

@media (max-width: 880px) {
  .hand { flex-direction: column; align-items: center; gap: 0; }
  .sammelkarte { margin: 6px 0; width: min(270px, 78vw); }
  .sammelkarte:nth-child(1) { rotate: -4deg; translate: -14px 0; }
  .sammelkarte:nth-child(3) { rotate: 4deg; translate: 14px 0; }
  .hand { padding: 30px 0 40px; }
  .extras { grid-template-columns: 1fr; }
  .schluss { grid-template-columns: 1fr; gap: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .innen { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .binderseite .leer { animation: luecke 2.4s ease-in-out infinite; }
  .binderseite .leer:nth-of-type(2) { animation-delay: 0.8s; } .binderseite .leer:nth-of-type(3) { animation-delay: 1.6s; }
  @keyframes luecke { 0%, 100% { border-color: #2e4a4d; } 50% { border-color: var(--accent); } }
}

/* Anleitung im Stil der Startseite: Streifen oben wie bei den Sammelkarten,
   Titelschrift, Nummer als grosse Kontur statt Quadrat */
.anleitung-kopf h1 { font-weight: 800; letter-spacing: -0.035em; }
.karte { position: relative; display: block; padding: 28px 28px 24px; overflow: hidden; border-radius: 18px; }
/* Einheitlich und ruhig: duenne Linie im Akzent statt bunter Streifen */
.karte::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: var(--accent); opacity: 0.55; }
.karte .nr { position: absolute; right: 22px; top: 14px; width: auto; height: auto; display: block; border: 0; background: none;
  font-family: var(--titel); font-size: 54px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.karte h2 { margin: 0 70px 14px 0; font-size: 24px; letter-spacing: -0.02em; }
.karte h3 { font-family: var(--sans); }
.tipp { border-left: 0; position: relative; padding-left: 18px; }
.tipp::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--accent-2); }
.sprung a { border-radius: 10px; }
.fragen summary { font-family: var(--titel); font-weight: 700; letter-spacing: -0.01em; }

/* ------------------------------------------------------------------
   Booster: aufreissen, Karte fuer Karte aufdecken. Nur Kontrollkaestchen
   und CSS (kein JavaScript). Karte 1 liegt oben (zuletzt im HTML); eine
   aufgedeckte Karte dreht sich um und wandert auf ihren Platz im Raster.
   ------------------------------------------------------------------ */
.booster { --k: 168px; --h: calc(var(--k) * 88 / 63); --spalte: calc(var(--k) + 16px); --links: calc(var(--k) + 64px);
  position: relative; width: calc(var(--k) * 5 + 112px); max-width: 100%; height: calc(var(--h) * 2 + 16px + 70px); margin: 0 auto; }
.pack-cb, .bk-cb { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

/* Die Verpackung: Metallfolie mit Knitter, gepolsterter Woelbung, geriffelten Siegelnaehten */
.pack { position: absolute; left: -22px; top: calc((var(--h) * 2 + 16px - var(--h) * 1.3) / 2); z-index: 30; width: calc(var(--k) + 44px); height: calc(var(--h) * 1.3);
  cursor: pointer; display: block; -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.75)); transition: transform 0.4s ease; }
.pack-oben, .pack-mitte, .pack-unten { position: absolute; left: 0; right: 0; display: block; overflow: hidden; background: linear-gradient(115deg, #0a2a2e 0%, #1f8a8a 16%, #bff3ec 27%, #2bb3a6 36%, #0b1f22 50%, #8b2f6e 63%, #e3709f 72%, #f2a65a 84%, #3b2370 100%); background-size: 100% 100%; }
/* Siegelnaehte: fein geriffelt, Zackenkante aussen */
.pack-oben { top: 0; height: 10%; border-radius: 4px 4px 0 0;
  -webkit-mask: linear-gradient(#000 0 0) bottom / 100% 72% no-repeat, conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) top / 10px 28% repeat-x;
  mask: linear-gradient(#000 0 0) bottom / 100% 72% no-repeat, conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) top / 10px 28% repeat-x; }
.pack-unten { bottom: 0; height: 9%; border-radius: 0 0 4px 4px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 70% no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) bottom / 10px 30% repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% 70% no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, #0000 0) bottom / 10px 30% repeat-x; }
.naht { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.38) 0 1px, rgba(0, 0, 0, 0.28) 1px 3px),
  linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.35)); mix-blend-mode: overlay; }
.pack-oben::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 2px; border-bottom: 1.5px dashed rgba(255, 255, 255, 0.75); }
/* Mittelteil: gepolstert (Raender dunkler, Mitte heller), seitliche Naht */
.pack-mitte { top: 10%; bottom: 9%; color: #fff;
  box-shadow: inset 0 10px 14px -8px rgba(0, 0, 0, 0.7), inset 0 -10px 14px -8px rgba(0, 0, 0, 0.7),
              inset 14px 0 18px -10px rgba(255, 255, 255, 0.35), inset -16px 0 20px -10px rgba(0, 0, 0, 0.65); }
.pack-mitte::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(120% 70% at 45% 45%, rgba(255, 255, 255, 0.18), transparent 55%),
              linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent 10%, transparent 88%, rgba(0, 0, 0, 0.45)); }
.pack-mitte::after { content: ""; position: absolute; top: 0; bottom: 0; right: 9%; width: 2px; z-index: 3; background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.35)); }
.pack-logo { position: absolute; left: 0; right: 0; top: 22%; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pack-logo img { width: 46%; border-radius: 22%; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5); }
.pack-logo b { font-family: var(--titel); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: #fff;
  -webkit-text-stroke: 4px #062326; paint-order: stroke fill; text-shadow: 0 4px 10px rgba(0, 0, 0, 0.55); }
.pack-band { position: absolute; left: -10%; right: -10%; bottom: 12%; z-index: 2; padding: 6px 0; text-align: center; rotate: -6deg;
  font-family: var(--titel); font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #062326;
  background: linear-gradient(90deg, #f7d26b, #f2a65a 50%, #f7d26b); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45); }
.pack-anzahl { position: absolute; right: 7%; top: 5%; z-index: 5; width: 52px; height: 52px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; line-height: 1.05;
  background: radial-gradient(circle at 35% 30%, #ff8a7a, #e5383b 60%, #8f1d18); border: 2px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5); }
.pack-anzahl b { display: block; font-family: var(--titel); font-size: 22px; letter-spacing: 0; }
.pack-knitter { position: absolute; inset: 0; z-index: 4; pointer-events: none; mix-blend-mode: overlay; opacity: 0.75;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='k'><feTurbulence type='fractalNoise' baseFrequency='0.013 0.03' numOctaves='3' seed='7'/><feDiffuseLighting lighting-color='white' surfaceScale='4'><feDistantLight azimuth='225' elevation='42'/></feDiffuseLighting></filter><rect width='100%' height='100%' filter='url(%23k)'/></svg>"); background-size: 260px 260px; }
.pack-glanz { position: absolute; inset: -40%; z-index: 6; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.5) 47%, rgba(255, 255, 255, 0.15) 52%, transparent 60%); translate: -60% 0; }
.pack-cb:focus-visible + .pack { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 10px; }
.pack-cb:checked + .pack { pointer-events: none; }
.pack-cb:checked + .pack .pack-oben { translate: 30px -120px; rotate: 24deg; opacity: 0; }
.pack-cb:checked + .pack .pack-mitte, .pack-cb:checked + .pack .pack-unten { translate: 0 140px; opacity: 0; }

/* Die Karten im Stapel */
.bk { position: absolute; left: 0; top: calc((var(--h) * 2 + 16px - var(--h)) / 2); width: var(--k); height: var(--h); display: block; cursor: pointer;
  perspective: 1000px; opacity: 0; pointer-events: none; -webkit-tap-highlight-color: transparent; }
.pack-cb:checked ~ .bk { opacity: 1; pointer-events: auto; }
.b8 { translate: 0 -14px; } .b7 { translate: 0 -12px; } .b6 { translate: 0 -10px; } .b5 { translate: 0 -8px; }
.b4 { translate: 0 -6px; } .b3 { translate: 0 -4px; } .b2 { translate: 0 -2px; }
.bk-innen { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; }
.bk-seite { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.9); }
.bk-rueck { align-items: center; justify-content: center; gap: 12px; color: #fff;
  background: radial-gradient(circle at 50% 42%, #2bb3a6 0, #0d4d55 45%, #071d20 80%); border: 6px solid #12302f; }
.bk-rueck img { width: 42%; border-radius: 22%; }
.bk-rueck b { font-family: var(--titel); font-size: 13px; letter-spacing: 0.12em; opacity: 0.85; white-space: nowrap; }
.bk { --rahmen: #e3a24a; --feld-hell: #fbe7b4; --feld: #f2c97e; }
.bk.ungewoehnlich { --rahmen: #3fa9c0; --feld-hell: #d7f1f4; --feld: #9fd8e2; }
.bk.selten { --rahmen: #7a5ee8; --feld-hell: #e6defc; --feld: #c4b3f5; }
/* Booster-Karten im Stil echter Karten: Rahmen in der Farbe der Seltenheit, Bildfenster mit Leiste, Text als "Attacke" */
.bk-vorne { transform: rotateY(180deg); padding: 6px 7px 6px; gap: 6px; color: #22201a; border: 6px solid var(--rahmen); border-radius: 11px;
  background: radial-gradient(120% 80% at 50% 60%, var(--feld-hell), var(--feld)); box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.35); }
.bk-kopf b { display: block; padding: 0 2px; font-family: var(--titel); font-size: 12.5px; line-height: 1.15; letter-spacing: -0.01em; min-height: 2.3em; }
/* Silberrahmen und die Leiste darunter als Schatten - so darf das Fenster fuer den Holo-Glanz abschneiden */
.bk-bild { position: relative; flex: 0 0 31%; overflow: hidden; border-radius: 2px; background: #0a1314; margin: 0 1px 9px;
  box-shadow: 0 0 0 2.5px #d9dcdf, 0 0 0 3.5px rgba(0, 0, 0, 0.2), 1px 7px 0 2px #c9cdd1, 1px 8px 2px 2px rgba(0, 0, 0, 0.3); }
.bk-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bk-text { flex: 1; min-height: 0; overflow: hidden; display: grid; grid-template-columns: 15px 1fr; gap: 5px; align-items: start; padding: 1px 2px; font-size: 11px; line-height: 1.33; }
.bk-text::before { content: ''; width: 15px; height: 15px; border-radius: 50%; background: var(--energie); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9); }
.bk-fuss { flex-shrink: 0; display: flex; justify-content: space-between; padding: 3px 8px; border-radius: 3px 99px 99px 3px; font-size: 10px; font-weight: 800; color: #3d3d3d;
  background: linear-gradient(180deg, #fafafa, #c6cacd); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
/* Seltene Karten glaenzen holografisch */
.bk.selten .bk-bild::after { content: ""; position: absolute; inset: -50%; mix-blend-mode: soft-light;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 45%, rgba(143, 227, 232, 0.4) 50%, rgba(242, 166, 90, 0.4) 55%, transparent 65%); }

/* Aufgedeckt: umdrehen und auf den Platz im Raster */
.bk-cb:focus-visible + .bk { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 14px; }
.bk-cb:checked + .bk { pointer-events: none; z-index: 20; translate: 0 0;
  left: calc(var(--links) + var(--sp) * var(--spalte)); top: calc(var(--zl) * (var(--h) + 16px)); }
.bk-cb:checked + .bk .bk-innen { transform: rotateY(180deg); }
.b1 { --sp: 0; --zl: 0; --i: 0; } .b2 { --sp: 1; --zl: 0; --i: 1; } .b3 { --sp: 2; --zl: 0; --i: 2; } .b4 { --sp: 3; --zl: 0; --i: 3; }
.b5 { --sp: 0; --zl: 1; --i: 4; } .b6 { --sp: 1; --zl: 1; --i: 5; } .b7 { --sp: 2; --zl: 1; --i: 6; } .b8 { --sp: 3; --zl: 1; --i: 7; }

.booster-hinweis { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; color: var(--muted); font-size: 15px; }
.booster-hinweis .h-auf { display: none; }
.pack-cb:checked ~ .booster-hinweis .h-zu { display: none; }
.pack-cb:checked ~ .booster-hinweis .h-auf { display: inline; }
.booster:not(:has(.bk-cb:not(:checked))) .booster-hinweis { display: none; }
/* Alles aufgedeckt: Raster in die Mitte (am Handy nach oben) */
.booster:not(:has(.bk-cb:not(:checked))) { --links: calc((100% - var(--k) * 4 - 48px) / 2); }
.nochmal { position: absolute; right: 0; bottom: 6px; opacity: 0; pointer-events: none; }
.pack-cb:checked ~ .nochmal { opacity: 1; pointer-events: auto; }

@media (max-width: 880px) {
  .booster { --k: min(150px, 41vw); width: calc(var(--k) * 2 + 14px); height: calc(var(--h) * 5 + 40px + 42px + 90px); }
  .pack { left: calc((var(--k) + 14px) / 2 - 22px); top: -10px; }
  .bk { left: calc((var(--k) + 14px) / 2); top: 14px; }
  /* Handy: kein Karte-fuer-Karte (der Stapel rutscht sonst aus dem Bild) - nach dem Aufreissen
     werden alle Karten nacheinander von selbst ausgeteilt und umgedreht. */
  .booster { height: calc(var(--h) * 1.3 + 70px); }
  .booster:has(.pack-cb:checked) { height: calc(var(--h) * 4 + 42px + 80px); }
  .pack-cb:checked ~ .bk { pointer-events: none; z-index: 20; translate: 0 0;
    left: calc(var(--sp) * (var(--k) + 14px)); top: calc(var(--zl) * (var(--h) + 14px)); }
  .pack-cb:checked ~ .bk .bk-innen { transform: rotateY(180deg); }
  .booster-hinweis .h-auf { display: none !important; }
  .b1 { --sp: 0; --zl: 0; } .b2 { --sp: 1; --zl: 0; } .b3 { --sp: 0; --zl: 1; } .b4 { --sp: 1; --zl: 1; }
  .b5 { --sp: 0; --zl: 2; } .b6 { --sp: 1; --zl: 2; } .b7 { --sp: 0; --zl: 3; } .b8 { --sp: 1; --zl: 3; }
  .booster-hinweis { bottom: 60px; }
  .pack-cb:checked ~ .booster-hinweis { display: none; }
  .bk-rueck b { font-size: 10px; letter-spacing: 0.06em; }
  .bk-vorne { padding: 5px; gap: 5px; border-width: 5px; }
  .bk-kopf b { font-size: 11.5px; min-height: 2.25em; }
  /* Handy: ohne Energie-Kreis, damit der Text in die kleine Karte passt */
  .bk-text { display: block; padding: 0 2px; font-size: 10px; line-height: 1.3; }
  .bk-text::before { display: none; }
  .bk-fuss { font-size: 9px; }
  .nochmal { left: 50%; right: auto; translate: -50% 0; bottom: 6px; }
}

@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) { .pack:hover { transform: perspective(900px) rotateY(-10deg) rotateX(4deg) translateY(-6px); } }
  .pack-glanz { animation: glanz 3.4s ease-in-out infinite; }
  @keyframes glanz { 0%, 30% { translate: -60% 0; } 70%, 100% { translate: 60% 0; } }
  .pack-oben { transition: translate 0.5s ease-out, rotate 0.5s ease-out, opacity 0.5s 0.2s; }
  .pack-mitte, .pack-unten { transition: translate 0.6s 0.25s ease-in, opacity 0.5s 0.35s; }
  .pack-cb:checked ~ .bk { transition: opacity 0.4s 0.55s; }
  .bk-cb:checked + .bk { transition: left 0.6s cubic-bezier(0.3, 0.8, 0.3, 1), top 0.6s cubic-bezier(0.3, 0.8, 0.3, 1), translate 0.6s; }
  .booster { transition: height 0.6s 0.3s; }
  .bk-innen { transition: transform 0.6s cubic-bezier(0.3, 0.8, 0.3, 1); }
  .bk.selten .bk-bild::after { animation: glanz 2.6s ease-in-out infinite; }
  .nochmal { transition: opacity 0.4s 0.8s; }
}
@media (max-width: 880px) and (prefers-reduced-motion: no-preference) {
  .pack-cb:checked ~ .bk { transition: opacity 0.3s 0.5s, left 0.6s cubic-bezier(0.3, 0.8, 0.3, 1), top 0.6s cubic-bezier(0.3, 0.8, 0.3, 1);
    transition-delay: 0.5s, calc(0.8s + var(--i) * 0.3s), calc(0.8s + var(--i) * 0.3s); }
  .pack-cb:checked ~ .bk .bk-innen { transition-delay: calc(0.95s + var(--i) * 0.3s); }
  .pack-cb:checked ~ .nochmal { transition-delay: 3.4s; }
}

/* Laden-Abschnitt: kurzes Video im Handy (9:16) */
.schirm.video { aspect-ratio: 9 / 16; }
.schirm.video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.laden .laden-video { max-width: 260px; }

/* Was ist neu */
.neu-liste { max-width: 820px; margin: 0 auto; }
.eintrag { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.eintrag time { font-family: var(--titel); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--accent); }
.eintrag h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.02em; }
.eintrag ul { margin: 0; padding-left: 18px; color: var(--text-2); }
.eintrag li { margin-bottom: 6px; }
.eintrag li::marker { color: var(--accent); }
@media (max-width: 640px) { .eintrag { grid-template-columns: 1fr; gap: 6px; } }

/* Englische Rechtstexte: Hinweis, dass die deutsche Fassung verbindlich ist */
.hinweis-en { font-size: 15px; color: var(--muted); border-left: 3px solid var(--accent-2); padding-left: 12px; }
/* Sehr schmale Handys: nur das Logo, damit Anmelden und Sprachschalter Platz haben (Name bleibt fuer Screenreader) */
@media (max-width: 400px) {
  .marke { font-size: 0; gap: 0; }
}
