@charset "utf-8";
/* ==========================================================================
   MXO – Gemeinsames Stylesheet der gesamten Website
   Dunkles Neon-Blau/Cyan-Theme. Keine externen Ressourcen, keine Schrift-
   Downloads, keine Tracker. Diese Datei gilt fuer ALLE Seiten (Dachseite,
   Produktseiten, Rechtsseiten) in beiden Sprachen.

   Aufbau:
     01  Design-Tokens
     02  Produkt-Akzente (.theme-bot / .theme-studio / .theme-suite)
     03  Grundlagen und Typografie
     04  Fokus, Sprunglink, Hilfsklassen
     05  Layout: wrap / section / Ueberschriften-Beiwerk
     06  Buttons
     07  Kopfbereich: Marke, Navigation, Sprachumschalter
     08  Hero
     09  Karten und Hinweise
     10  Produktkacheln der Startseite
     11  Abzeichen (badge)
     12  Preise, Plaene, Limit-Tabelle
     13  Schritte ("So legst du los")
     14  Callouts
     15  Download-Kasten und Kopier-Knopf
     16  Warteliste
     17  Spiele-Kacheln
     18  Brotkrumen
     19  FAQ
     20  CTA-Band
     21  Fussbereich
     22  Rechtsseiten
     23  Platzhalter-Hinweis (von app.js erzeugt)
     24  Responsive
     25  Bewegung reduzieren
     26  Druck
   ========================================================================== */

/* ==========================================================================
   01  Design-Tokens
   ========================================================================== */

:root {
  --bg:           #050b18;
  --bg-2:         #071227;
  --surface:      #0b1a30;
  --surface-2:    #0e2140;
  --line:         #1b3a60;
  --line-soft:    #16304f;

  --cyan:         #22d3ee;
  --cyan-strong:  #67e8f9;
  --blue:         #3b82f6;

  --text:         #eaf3ff;
  --muted:        #a8c0da;
  --ink-on-cyan:  #04121f;

  --radius:       14px;
  --radius-lg:    20px;
  --wrap:         1140px;

  --shadow:       0 18px 40px rgba(0, 0, 0, .45);
  --glow:         0 0 24px rgba(34, 211, 238, .28);

  /* Warnfarben (Platzhalter-Hinweise, callout-warn) – bewusst als Token,
     damit sie nur an einer Stelle gepflegt werden. */
  --warn:         #ffb020;
  --warn-text:    #ffd28a;

  /* Akzent – Grundzustand ist Cyan. Produktseiten ueberschreiben ihn ueber
     eine .theme-*-Klasse am <body>. --accent faerbt nur Dekoratives,
     --accent-text ist die aufgehellte, AA-sichere Variante fuer Schrift. */
  --accent:       #22d3ee;
  --accent-text:  #67e8f9;
  --accent-soft:  rgba(34, 211, 238, .12);
  --accent-rgb:   34, 211, 238;
}

/* ==========================================================================
   02  Produkt-Akzente
   Als Klasse am <body> setzen: .theme-bot, .theme-studio, .theme-suite.
   Basis bleibt ueberall Cyan; der Akzent faerbt Eyebrow, Badge, Hero-Glow,
   Karten-Hover und Schritt-Nummern der jeweiligen Produktseite.
   --accent-text ist jeweils die aufgehellte Variante: die vollen Akzentfarben
   (#5865f2, #a855f7) faellen als Schrift auf dunklem Grund unter AA und
   werden deshalb NIE direkt als Textfarbe verwendet.
   ========================================================================== */

.theme-bot {
  --accent:      #5865f2;                    /* Discord-Blau-Violett */
  --accent-text: #949cf7;                    /* ~7:1 auf --surface */
  --accent-soft: rgba(88, 101, 242, .14);
  --accent-rgb:  88, 101, 242;
}

.theme-studio {
  --accent:      #a855f7;                    /* Violett mit Rosa-Einschlag */
  --accent-text: #c084fc;                    /* ~6,6:1 auf --surface */
  --accent-soft: rgba(168, 85, 247, .14);
  --accent-rgb:  168, 85, 247;
}

.theme-suite {
  --accent:      #f59e0b;                    /* Bernstein */
  --accent-text: #fbbf24;                    /* ~10:1 auf --surface */
  --accent-soft: rgba(245, 158, 11, .14);
  --accent-rgb:  245, 158, 11;
}

/* ==========================================================================
   03  Grundlagen und Typografie
   ========================================================================== */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 78% -10%, rgba(34, 211, 238, .13), transparent 60%),
    radial-gradient(900px 560px at 5% 8%, rgba(59, 130, 246, .12), transparent 62%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.05rem, 6.2vw, 3.55rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.35rem); }
h4 { font-size: 1.08rem; margin-bottom: .35em; }

p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

a { color: var(--cyan); }

code, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas,
               "Liberation Mono", Menlo, monospace;
  font-size: .95em;
}

.link { text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--cyan-strong); }

/* ==========================================================================
   04  Fokus, Sprunglink, Hilfsklassen
   ========================================================================== */

:focus-visible {
  outline: 3px solid var(--cyan-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--cyan);
  color: var(--ink-on-cyan);
  padding: .7rem 1.1rem;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* Auszufuellender Platzhalter – bewusst auffaellig, damit er beim
   Veroeffentlichen nicht uebersehen wird. */
.ph {
  background: #ffd54a;
  color: #241a00;
  padding: .06em .4em;
  border-radius: .25em;
  font-weight: 700;
  font-size: .95em;
  word-break: break-word;
}

/* ==========================================================================
   05  Layout
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.wrap-narrow { max-width: 820px; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(11, 26, 48, 0) 0%, rgba(11, 26, 48, .75) 12%, rgba(11, 26, 48, .75) 88%, rgba(11, 26, 48, 0) 100%);
  border-block: 1px solid var(--line-soft);
}

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  margin: 0 0 .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.grad {
  background: linear-gradient(100deg, var(--cyan-strong), var(--blue) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.group-title {
  margin: 2.4rem 0 1rem;
  color: var(--text);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.cards + .group-title { margin-top: 3rem; }

/* ==========================================================================
   06  Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease,
              border-color .16s ease, color .16s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-strong), var(--cyan) 45%, var(--blue));
  color: var(--ink-on-cyan);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .35), 0 10px 26px rgba(34, 211, 238, .22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(103, 232, 249, .6), 0 14px 34px rgba(34, 211, 238, .35);
}

.btn-ghost {
  background: rgba(34, 211, 238, .07);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, .14);
  transform: translateY(-2px);
}

.btn-sm { padding: .6rem 1.05rem; font-size: .95rem; }
.btn-block { display: flex; width: 100%; }

/* ==========================================================================
   07  Kopfbereich
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 11, 24, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-right: auto;
}
.brand-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--glow);
}
/* Inline-SVG-Zeichen statt Bilddatei (Dachmarke MXO). Die Grafik zeichnet mit
   currentColor – deshalb reicht hier eine Farbangabe. */
.brand-mark {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--glow);
  color: var(--cyan);
}
.brand-name { font-size: 1.15rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.75rem);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.6rem);
  list-style: none;
}
.nav-list a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: .4rem .2rem;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--text); border-bottom-color: var(--cyan); }
.nav-list a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  background: rgba(34, 211, 238, .08);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1rem;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--cyan); }
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle-bars span {
  display: block;
  width: 18px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}

/* ---------- Sprachumschalter -------------------------------------------- */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  padding: .2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(34, 211, 238, .06);
}
.lang-switch a {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.3;
}
.lang-switch a:hover { color: var(--text); background: rgba(34, 211, 238, .12); }
.lang-switch a[aria-current="true"] {
  background: var(--cyan);
  color: var(--ink-on-cyan);
}

/* ==========================================================================
   08  Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden; /* verhindert horizontales Scrollen durch den Glow */
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.hero-glow {
  position: absolute;
  inset: -25% -5% auto auto;
  width: min(620px, 90vw);
  height: min(620px, 90vw);
  background: radial-gradient(circle, rgba(var(--accent-rgb), .22), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
/* Einspaltige Variante fuer Seiten ohne Bild rechts. */
.hero-inner-single { grid-template-columns: minmax(0, 1fr); max-width: 780px; }

.hero-text h1 { margin-bottom: .55rem; }

.lead {
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 1.9rem;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.15rem;
  list-style: none;
  color: var(--muted);
  font-size: .95rem;
}
.facts li { display: inline-flex; align-items: center; gap: .4rem; }
.facts li + li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: .75rem;
  box-shadow: 0 0 8px var(--accent);
}
.facts strong { color: var(--text); font-size: 1.05rem; }

.hero-visual { display: flex; justify-content: center; }

.logo-frame {
  position: relative;
  width: min(360px, 100%);
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(150deg, rgba(var(--accent-rgb), .45), rgba(59, 130, 246, .12) 55%, rgba(var(--accent-rgb), .3));
  box-shadow: 0 0 60px rgba(var(--accent-rgb), .22), var(--shadow);
}
.logo-frame img,
.logo-frame .product-mark {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
}

/* ==========================================================================
   09  Karten und Hinweise
   ========================================================================== */

.cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.card {
  background: linear-gradient(180deg, var(--surface), rgba(11, 26, 48, .55));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.25rem;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), .55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 0 1px rgba(var(--accent-rgb), .18);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: .85rem;
  border-radius: 12px;
  font-size: 1.35rem;
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), .28);
}
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }
.card p + p { margin-top: .75rem; }

/* Einschraenkender Zusatz innerhalb einer Karte – bewusst leiser gesetzt. */
.card-note {
  font-size: .88rem !important;
  padding-top: .75rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.note {
  margin-top: 2.4rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
}
.note strong { color: var(--text); }

/* ==========================================================================
   10  Produktkacheln der Startseite
   ========================================================================== */

.product-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, var(--surface), rgba(7, 18, 39, .85));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem 1.5rem;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), .55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 0 0 1px rgba(var(--accent-rgb), .18);
}

.product-card-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: .9rem;
}
/* Bild-Logo oder Inline-SVG-Zeichen im Kopf der Kachel. Das SVG-Zeichen
   zeichnet mit currentColor und uebernimmt so den Produkt-Akzent. */
.product-logo,
.product-mark {
  width: 56px; height: 56px;
  flex: none;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.product-mark { color: var(--accent-text); }
.product-title { margin: 0; font-size: 1.25rem; }
.product-claim { color: var(--muted); font-size: .98rem; margin-bottom: 1.1rem; }

.product-features {
  list-style: none;
  display: grid;
  gap: .45rem;
  margin: 0 0 auto;          /* schiebt Status und Aktionen an den unteren Rand */
  padding-bottom: 1.3rem;
  font-size: .96rem;
}
.product-features li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
}
.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-text);
  font-weight: 800;
}

.product-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .55rem;
  margin: 0 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .95rem;
}
.product-status strong { color: var(--text); font-size: 1.15rem; font-weight: 800; }

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.product-actions .btn { flex: 1 1 auto; }

/* ==========================================================================
   11  Abzeichen
   ========================================================================== */

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1rem;
  list-style: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .2rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), .4);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.6;
  white-space: nowrap;
}

.badge-free    { border-color: rgba(74, 222, 128, .42);  background: rgba(74, 222, 128, .12);  color: #86efac; }
.badge-paid    { border-color: rgba(34, 211, 238, .45);  background: rgba(34, 211, 238, .12);  color: var(--cyan-strong); }
.badge-soon    { border-color: rgba(255, 176, 32, .45);  background: rgba(255, 176, 32, .12);  color: var(--warn-text); }
.badge-version { border-color: var(--line);              background: rgba(255, 255, 255, .05); color: var(--muted); }

/* ==========================================================================
   12  Preise, Plaene, Limit-Tabelle
   ========================================================================== */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
  align-items: start;
}

.plan {
  position: relative;
  background: linear-gradient(180deg, var(--surface), rgba(7, 18, 39, .8));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-featured {
  border-color: rgba(34, 211, 238, .55);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, .18), 0 18px 50px rgba(34, 211, 238, .14), var(--shadow);
  background: linear-gradient(180deg, var(--surface-2), rgba(7, 18, 39, .9));
}

.plan-badge {
  position: absolute;
  top: -.85rem;
  left: 1.6rem;
  margin: 0;
  padding: .25rem .8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan-strong), var(--blue));
  color: var(--ink-on-cyan);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.plan-name { font-size: 1.25rem; margin-bottom: .25rem; }

.plan-price { margin: 0 0 .35rem; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.plan-price .amount { font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.plan-price .per { color: var(--muted); font-weight: 600; }

.plan-note { color: var(--muted); font-size: .93rem; margin-bottom: 1.3rem; }

.plan-list {
  list-style: none;
  margin: 0 0 1.6rem;
  display: grid;
  gap: .5rem;
  font-size: .97rem;
}
.plan-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
}
.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: 800;
}
.plan-list li.hl { color: var(--text); font-weight: 600; }

.plan .btn { margin-top: auto; }

.plan-hint {
  margin: .9rem 0 0;
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.5;
}

.table-title { margin: clamp(2.5rem, 5vw, 3.5rem) 0 1rem; }

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(11, 26, 48, .55);
}

.limits {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: .97rem;
}
.limits th, .limits td {
  padding: .8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.limits thead th {
  background: rgba(34, 211, 238, .08);
  color: var(--text);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.limits tbody th { font-weight: 600; color: var(--text); }
.limits tbody td { color: var(--muted); text-align: center; width: 22%; }
.limits tbody tr:last-child th,
.limits tbody tr:last-child td { border-bottom: 0; }
.limits tbody tr:hover td,
.limits tbody tr:hover th { background: rgba(34, 211, 238, .05); }
.limits thead th:not(:first-child) { text-align: center; }

/* ==========================================================================
   13  Schritte
   ========================================================================== */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 1.2rem 1.25rem 1.2rem 3.6rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 1.9rem; height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), .45);
  color: var(--accent-text);
  font-weight: 800;
  font-size: .95rem;
}
.step-title { margin: 0 0 .3rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ==========================================================================
   14  Callouts – die ehrlichen Hinweise
   ========================================================================== */

.callout {
  margin: 1.6rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: .96rem;
}
.callout > :last-child { margin-bottom: 0; }
.callout strong { color: var(--text); }

.callout-title {
  margin: 0 0 .4rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.callout-info { border-left-color: var(--cyan); background: rgba(34, 211, 238, .06); }
.callout-warn { border-left-color: var(--warn); background: rgba(255, 176, 32, .1); }
.callout-warn .callout-title { color: var(--warn-text); }

/* ==========================================================================
   15  Download-Kasten und Kopier-Knopf
   ========================================================================== */

.download-box {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), rgba(7, 18, 39, .85));
  box-shadow: var(--shadow);
}
.download-title { margin: 0; font-size: 1.2rem; }

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 2rem;
  margin: 0;
}
.download-meta > div { display: grid; gap: .1rem; }
.download-meta dt {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.download-meta dd { margin: 0; font-weight: 600; }

.download-hash {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem .8rem;
  padding: .8rem .9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(5, 11, 24, .6);
}
.download-hash-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.download-hash code {
  flex: 1 1 18rem;
  min-width: 0;
  color: var(--text);
  word-break: break-all;
  font-size: .88rem;
}

.copy-btn {
  flex: none;
  padding: .4rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(34, 211, 238, .08);
  color: var(--text);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease;
}
.copy-btn:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .16); }
.copy-btn.is-copied { border-color: var(--cyan); color: var(--cyan-strong); }

/* Rueckmeldung "Kopiert" – wird von app.js gefuellt, role="status". */
.copy-status {
  flex: none;
  min-height: 1.2em;
  font-size: .86rem;
  font-weight: 700;
  color: var(--cyan-strong);
}

.download-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.download-hint { margin: 0; color: var(--muted); font-size: .9rem; }

/* ==========================================================================
   16  Warteliste
   ========================================================================== */

.waitlist {
  display: grid;
  gap: .9rem;
  justify-items: start;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  border: 1px dashed rgba(var(--accent-rgb), .5);
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
}
.waitlist-title { margin: 0; font-size: 1.2rem; }
.waitlist p { margin: 0; color: var(--muted); max-width: 62ch; }

/* ==========================================================================
   17  Spiele-Kacheln
   ========================================================================== */

.game-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: .75rem;
}

.game-tile {
  display: grid;
  gap: .35rem;
  justify-items: start;
  padding: .9rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .16s ease, transform .16s ease;
}
.game-tile:hover { border-color: rgba(var(--accent-rgb), .5); transform: translateY(-2px); }

.game-emoji { font-size: 1.5rem; line-height: 1.2; }
.game-name { font-weight: 700; font-size: .98rem; line-height: 1.35; }

.game-format {
  padding: .05rem .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.game-format-portrait  { border-color: rgba(var(--accent-rgb), .4); color: var(--accent-text); }
.game-format-landscape { border-color: rgba(34, 211, 238, .4);      color: var(--cyan-strong); }

/* ==========================================================================
   18  Brotkrumen
   ========================================================================== */

.breadcrumb {
  padding-top: 1.3rem;
  font-size: .9rem;
  color: var(--muted);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2rem .6rem;
  margin: 0;
  padding: 0;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: .6rem; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.breadcrumb a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ==========================================================================
   19  FAQ
   ========================================================================== */

.faq { display: grid; gap: .8rem; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq details[open] { border-color: rgba(var(--accent-rgb), .45); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-weight: 700;
  position: relative;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(var(--accent-rgb), .06); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.35rem;
  top: 1.45rem;
  width: 9px; height: 9px;
  border-right: 2px solid var(--accent-text);
  border-bottom: 2px solid var(--accent-text);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.65rem; }

.faq-body {
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
}
.faq-body p:last-child { margin-bottom: 0; }
.faq-body strong { color: var(--text); }

/* ==========================================================================
   20  CTA-Band
   ========================================================================== */

.cta-band {
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(var(--accent-rgb), .16), transparent 70%),
    var(--bg-2);
}
.cta-inner { text-align: center; }
.cta-inner p { color: var(--muted); margin-bottom: 1.6rem; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
}

/* ==========================================================================
   21  Fussbereich
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
  padding: 2.8rem 0 2.2rem;
  font-size: .93rem;
}
.footer-inner { display: grid; gap: 2rem; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.8rem;
}
.footer-col-title {
  margin: 0 0 .7rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}
.footer-col ul { list-style: none; display: grid; gap: .4rem; }
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-col a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.footer-col p { margin: 0 0 .4rem; color: var(--muted); }

.footer-bottom {
  display: grid;
  gap: .55rem;
  justify-items: center;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
}
.footer-brand img,
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); box-shadow: none; }

.footer-contact, .footer-copy, .footer-legal { margin: 0; color: var(--muted); }
.footer-legal { font-size: .84rem; opacity: .8; max-width: 70ch; }

.footer-template-note {
  max-width: 62ch;
  margin: .25rem 0 0;
  padding: .8rem 1rem;
  border: 1px solid var(--warn);
  border-left-width: 6px;
  border-radius: var(--radius);
  background: rgba(255, 176, 32, .1);
  color: var(--text);
  font-size: .88rem;
  line-height: 1.55;
  text-align: left;
}
.footer-template-note strong { color: var(--warn-text); }
.footer-template-note code {
  padding: .05em .35em;
  border-radius: .25em;
  background: rgba(255, 255, 255, .1);
}

/* ==========================================================================
   22  Rechtsseiten
   Die Stile lagen bisher als <style>-Block in den Rechtsseiten. Sie stehen
   jetzt hier, damit keine Seite mehr eigenes CSS mitbringen muss.
   ========================================================================== */

.legal-page {
  max-width: 76ch;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3rem) 0 4rem;
}
.legal-page h1 { margin-bottom: .35rem; }
.legal-page h2 {
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  margin: 2.75rem 0 .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
}
.legal-page h3 { font-size: 1.05rem; margin: 1.75rem 0 .5rem; }
.legal-page ul, .legal-page ol { padding-left: 1.4rem; margin: .5rem 0 1.25rem; }
.legal-page li { margin-bottom: .4rem; }
.legal-page address { font-style: normal; }

.legal-meta { font-size: .92rem; color: var(--muted); margin: 0 0 2rem; }

.legal-warning {
  border: 2px solid var(--warn);
  border-left-width: 8px;
  border-radius: var(--radius);
  background: rgba(255, 176, 32, .12);
  padding: 1rem 1.15rem;
  margin: 0 0 2.5rem;
}
.legal-warning h2 {
  margin: 0 0 .5rem; padding: 0; border: 0;
  font-size: 1.08rem;
  color: var(--warn-text);
}
/* Der Titel des Vorlagen-Kastens steht VOR dem <h1> der Seite. Er ist deshalb
   bewusst ein <p> und keine Ueberschrift – sonst begaenne die Ueberschriften-
   hierarchie der Rechtsseiten mit einer h2. Optisch identisch zu obiger Regel. */
.legal-warning .legal-warning-title {
  margin: 0 0 .5rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--warn-text);
}
.legal-warning p { margin: 0 0 .5rem; }
.legal-warning p:last-child { margin-bottom: 0; }

.legal-note {
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--surface);
  padding: .9rem 1.05rem;
  margin: 1.25rem 0;
}
.legal-note p { margin: 0; }

.legal-address, .legal-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}
.legal-form { border-style: dashed; }
.legal-form p { margin: .55rem 0; }

.legal-toc ul { list-style: none; padding-left: 0; display: grid; gap: .25rem; }
.legal-toc li { margin: 0; }

/* Innerhalb der Rechtstexte steht die Tabelle frei im Fliesstext: kein
   Kastenrahmen wie bei .limits, dafuer Abstand nach oben und unten. */
.legal-page .table-scroll {
  margin: 1.25rem 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.legal-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 32rem;
  font-size: .95rem;
}
.legal-table caption { caption-side: top; text-align: left; margin: 0 0 .5rem; }
.legal-table th, .legal-table td {
  border: 1px solid var(--line);
  padding: .6rem .7rem;
  text-align: left;
  vertical-align: top;
}
.legal-table th { background: var(--surface-2); }

/* ==========================================================================
   23  Platzhalter-Hinweis
   Wird ausschliesslich von app.js erzeugt, wenn jemand auf einen noch nicht
   eingetragenen Link (href="#platzhalter") klickt. Nicht selbst schreiben.
   ========================================================================== */

.ph-toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  z-index: 300;
  transform: translateX(-50%);
  max-width: min(38rem, calc(100vw - 2rem));
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .85rem 1rem;
  border: 1px solid var(--warn);
  border-left-width: 6px;
  border-radius: var(--radius);
  background: #1a1405;
  color: var(--text);
  font-size: .93rem;
  line-height: 1.5;
  box-shadow: var(--shadow);
}
.ph-toast-close {
  flex: none;
  padding: .1rem .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ph-toast-close:hover { border-color: var(--warn); }

/* ==========================================================================
   24  Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .logo-frame { width: min(260px, 70%); }
  .lead { max-width: none; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    padding: .5rem 0 1.1rem;
    border-top: 1px solid var(--line-soft);
  }
  .site-nav.is-open { display: flex; }

  /* Fallback ohne JavaScript: Der Menue-Knopf koennte nichts ausloesen, also
     wird er ausgeblendet und die Navigation dauerhaft aufgeklappt gezeigt.
     Die Klasse "no-js" steht im <html>-Tag und wird per Inline-Skript im
     <head> sofort entfernt, sobald JavaScript laeuft – daher kein Aufblitzen. */
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { display: flex; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    display: block;
    padding: .7rem .2rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-cta { width: 100%; }

  /* Der Sprachumschalter bleibt im aufgeklappten Menue voll bedienbar. */
  .lang-switch { align-self: flex-start; }
}

@media (max-width: 560px) {
  .product-actions .btn { flex: 1 1 100%; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .download-meta { gap: .8rem 1.2rem; }
}

@media (max-width: 520px) {
  .limits { min-width: 0; font-size: .9rem; }
  .limits th, .limits td { padding: .65rem .5rem; }
  .limits thead th { font-size: .74rem; letter-spacing: .04em; }
  .limits tbody td { width: 20%; }
  .legal-table { min-width: 0; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .btn { width: 100%; }
  .hero-actions { gap: .7rem; }
  .facts { font-size: .9rem; }
  .plan, .card, .product-card { padding-inline: 1.1rem; }
  .brand-name { font-size: 1.05rem; }
  .copy-btn { width: auto; }
}

/* ==========================================================================
   25  Bewegung reduzieren
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover,
  .card:hover,
  .product-card:hover,
  .game-tile:hover { transform: none; }
}

/* ==========================================================================
   26  Druck
   ========================================================================== */

@media print {
  body { background: #fff; color: #000; }
  .site-header, .cta-band, .hero-glow, .nav-toggle, .ph-toast, .copy-btn { display: none; }
  .legal-page { max-width: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}

/* Vorübergehend abgeschaltete Schaltfläche.
   Der Betreiber schaltet Download und Bot-Einladung erst frei, wenn Abo, Rechtstexte
   und Bereitstellung stehen. Bis dahin bleibt die Schaltfläche SICHTBAR — die Seite
   soll erklären, was kommt, statt eine Lücke zu zeigen — aber sie löst nichts aus.
   Umgesetzt als <span>, nicht als <a> mit pointer-events:none: ein Link ohne Ziel
   bliebe mit der Tastatur erreichbar und für Screenreader ein Link ins Nichts. */
.btn.is-off {
  cursor: default;
  opacity: .55;
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
  box-shadow: none;
}
.btn.is-off:hover { transform: none; }
