  :root {
    --bg: #0b0d1c;
    --bg-2: #12152b;
    --card: #171a33;
    --line: #2a2f55;
    --text: #eef0ff;
    --muted: #a7acd2;
    --cyan: #3ee8e0;
    --violet: #a566ff;
    --gold: #ffc861;
    --grad: linear-gradient(120deg, var(--cyan), var(--violet));
    --radius: 20px;
    --max: 1120px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  .ta { font-family: "Noto Sans Tamil", "Tamil Sangam MN", var(--font); }
  a { color: var(--cyan); }
  img { max-width: 100%; display: block; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
  section { padding: 88px 0; scroll-margin-top: 64px; }
  h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
  h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; }
  h3 { font-size: 22px; font-weight: 700; }
  p { margin: 0 0 1em; }
  .eyebrow {
    display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--cyan); margin-bottom: 12px;
  }
  .lead { font-size: 19px; color: var(--muted); max-width: 680px; }
  .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* Tamil: längere Wörter, eigene Schrift, etwas kleinere Titel */
  html[lang="ta"] body { font-family: "Noto Sans Tamil", "Tamil Sangam MN", var(--font); font-size: 16px; line-height: 1.75; }
  html[lang="ta"] h1, html[lang="ta"] h2, html[lang="ta"] h3 { line-height: 1.4; letter-spacing: 0; }
  html[lang="ta"] .hero h1 { font-size: clamp(30px, 4.6vw, 52px); }
  html[lang="ta"] h2 { font-size: clamp(24px, 3.4vw, 36px); }
  html[lang="ta"] .eyebrow { letter-spacing: .04em; }
  html[lang="ta"] .lead { font-size: 17px; }
  /* Tamil: Knöpfe, Chips und Tags nicht mit der hohen Fließtext-Zeilenhöhe aufblähen;
     kleine Schriften etwas grösser, damit tamilische Zeichen lesbar bleiben */
  html[lang="ta"] .btn, html[lang="ta"] .chip, html[lang="ta"] .tag,
  html[lang="ta"] .guide-tabs button, html[lang="ta"] .eyebrow, html[lang="ta"] summary { line-height: 1.45; }
  html[lang="ta"] .btn { text-align: center; justify-content: center; }
  html[lang="ta"] .eyebrow { font-size: 13.5px; }
  html[lang="ta"] .tag { font-size: 12.5px; letter-spacing: .02em; }
  html[lang="ta"] h3 { font-size: 20px; }
  html[lang="ta"] p, html[lang="ta"] li { overflow-wrap: break-word; }
  html[lang="ta"] .hero .lead { font-size: 18px; }

  /* Navigation */
  header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(11, 13, 28, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(42, 47, 85, .6);
  }
  .nav { display: flex; align-items: center; height: 64px; gap: 16px; }
  .brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .04em; margin-right: auto; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
  .nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
  .nav ul a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
  .nav ul a:hover { color: var(--text); }
  .lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); flex: none; }
  .lang button {
    font: 600 13px/1 var(--font); color: var(--muted); background: none; border: 0;
    padding: 7px 10px; border-radius: 999px; cursor: pointer;
  }
  .lang button[aria-pressed="true"] { background: var(--grad); color: #0b0d1c; }
  .menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 7px 12px; font: inherit; font-size: 15px; cursor: pointer; }
  .brand span { white-space: nowrap; }
  html[lang="ta"] .nav ul { gap: 18px; }
  html[lang="ta"] .nav ul a { font-size: 14.5px; line-height: 1.4; }
  html[lang="ta"] .lang button, html[lang="ta"] .menu-btn { line-height: 1; }
  /* Klappmenü: Deutsch/Englisch unter 1060 px, Tamil (längere Wörter) unter 1120 px.
     Tamil-Menü braucht ~640 px Breite (gemessen) – passt ab ~1080 px Fensterbreite neben Logo + Sprachwahl. */
  @media (max-width: 1060px) {
    .menu-btn { display: block; }
    .nav ul {
      display: none; position: absolute; top: 64px; left: 0; right: 0;
      flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line);
    }
    .nav ul.open { display: flex; }
    .nav ul a { display: block; padding: 14px 20px; font-size: 17px; }
  }
  @media (max-width: 1120px) {
    html[lang="ta"] .menu-btn { display: block; }
    html[lang="ta"] .nav ul {
      display: none; position: absolute; top: 64px; left: 0; right: 0;
      flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line);
    }
    html[lang="ta"] .nav ul.open { display: flex; }
    html[lang="ta"] .nav ul a { display: block; padding: 13px 20px; font-size: 16.5px; }
  }
  @media (max-width: 480px) {
    .nav { gap: 10px; }
    .brand span { display: none; }
    .lang button { padding: 7px 9px; }
  }

  /* Hero */
  .hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; inset: -30% -10% auto; height: 120%;
    background:
      radial-gradient(40% 50% at 25% 40%, rgba(62, 232, 224, .18), transparent 70%),
      radial-gradient(40% 50% at 75% 30%, rgba(165, 102, 255, .22), transparent 70%);
    pointer-events: none;
  }
  .hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
  .hero h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; }
  .hero .lead { font-size: 21px; }
  .chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
  .chip {
    font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px;
    background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text);
  }
  .btns { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 14px;
    font-weight: 600; text-decoration: none; font-size: 16px; transition: transform .15s ease;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary { background: var(--grad); color: #0b0d1c; }
  .btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.03); }
  .hero-art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
  .hero-art .logo { width: 100%; border-radius: 32px; box-shadow: 0 30px 80px rgba(165, 102, 255, .25); }
  .hero-art .float {
    position: absolute; width: 27%; border-radius: 22%; box-shadow: 0 16px 40px rgba(0,0,0,.5);
    border: 2px solid rgba(255,255,255,.08);
  }
  .f1 { left: -8%; bottom: 6%; transform: rotate(-8deg); }
  .f2 { right: -7%; top: 8%; transform: rotate(7deg); }
  .f3 { right: -3%; bottom: -5%; transform: rotate(-4deg); }
  @media (max-width: 820px) {
    .hero { padding: 56px 0 48px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-art { max-width: 300px; }
  }

  /* Pillars */
  .pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
  .pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
  .pillar .ico { font-size: 30px; margin-bottom: 12px; }
  .pillar h3 { font-size: 19px; }
  .pillar p { color: var(--muted); font-size: 16px; margin: 0; }
  @media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

  /* Games */
  #spiele { background: var(--bg-2); }
  .games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
  .game {
    position: relative; display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px;
    transition: border-color .2s ease, transform .2s ease;
  }
  .game:hover { border-color: rgba(165, 102, 255, .6); transform: translateY(-3px); }
  .game-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
  .game-icon { width: 76px; height: 76px; border-radius: 18px; flex: none; object-fit: cover; }
  .game-icon.emoji { display: grid; place-items: center; font-size: 38px; background: linear-gradient(135deg, #1f6f8b, #3a2a7a); }
  .game h3 { margin: 0; font-size: 24px; letter-spacing: .02em; }
  .game .tamil { color: var(--muted); font-size: 15px; }
  .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; align-self: flex-start; }
  .tag.live { background: rgba(62, 232, 224, .14); color: var(--cyan); }
  .tag.soon { background: rgba(255, 200, 97, .14); color: var(--gold); }
  .tag.dev { background: rgba(165, 102, 255, .16); color: #c9a6ff; }
  .game p { color: var(--muted); font-size: 16px; }
  .facts { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; font-size: 15px; }
  .facts li::before { content: "✦ "; color: var(--violet); }
  .game .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
  .game .btn { padding: 10px 16px; font-size: 15px; border-radius: 12px; }
  .games-small { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
  .games-small .game { flex-direction: row; gap: 20px; align-items: flex-start; }
  .games-small .game-icon { width: 64px; height: 64px; }
  .games-small p { margin: 0; }
  @media (max-width: 960px) { .games { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 680px) { .games, .games-small { grid-template-columns: 1fr; } }

  /* Guides */
  .guide-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 24px; }
  .guide-tabs button {
    font: 600 16px var(--font); color: var(--muted);
    background: var(--card); border: 1px solid var(--line); border-radius: 999px;
    padding: 10px 20px; cursor: pointer; display: flex; align-items: center; gap: 8px;
  }
  .guide-tabs button img { width: 24px; height: 24px; border-radius: 6px; }
  .guide-tabs button[aria-selected="true"] { color: #0b0d1c; background: var(--grad); border-color: transparent; }
  .guide { display: none; }
  .guide.active { display: block; }
  .guide-intro { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 22px; }
  .guide-intro p { margin: 0; color: var(--muted); }
  .guide-intro p b { color: var(--text); }
  .need { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
  @media (max-width: 680px) { .guide-intro { grid-template-columns: 1fr; } .need { justify-content: flex-start; } }
  .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
  .steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px; counter-increment: s; }
  .steps li::before {
    content: counter(s); position: absolute; top: -14px; left: 20px;
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--grad); color: #0b0d1c; font-weight: 800; font-size: 15px;
  }
  .steps h4 { margin: 4px 0 6px; font-size: 18px; }
  .steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
  @media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
  .tip { margin-top: 22px; padding: 18px 22px; border-radius: 16px; background: rgba(62, 232, 224, .08); border: 1px solid rgba(62, 232, 224, .25); font-size: 16px; }
  .roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
  .role { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 15px; color: var(--muted); }
  .role b { color: var(--text); display: block; font-size: 16px; }
  @media (max-width: 760px) { .roles { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 480px) { .roles { grid-template-columns: 1fr; } }

  /* TV */
  #fernseher { background: var(--bg-2); }
  .tv { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .tv-art {
    aspect-ratio: 16/10; border-radius: 18px; border: 10px solid #1c1f38; background:
      radial-gradient(60% 70% at 50% 40%, rgba(165,102,255,.35), transparent 70%), #0e1024;
    display: grid; place-items: center; position: relative; box-shadow: 0 30px 70px rgba(0,0,0,.45);
  }
  .tv-art::after { content: ""; position: absolute; bottom: -34px; left: 38%; right: 38%; height: 24px; border-radius: 0 0 10px 10px; background: #1c1f38; }
  .tv-art span { font-size: 64px; }
  .tv ol { padding-left: 22px; margin: 0; }
  .tv ol li { margin-bottom: 10px; }
  .tv ol li::marker { color: var(--cyan); font-weight: 700; }
  @media (max-width: 820px) { .tv { grid-template-columns: 1fr; } .tv-art { max-width: 420px; } }

  /* FAQ */
  .faq { margin-top: 32px; display: grid; gap: 12px; }
  details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
  summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; color: var(--cyan); font-size: 24px; line-height: 1; transition: transform .2s ease; }
  details[open] summary::after { transform: rotate(45deg); }
  details p { color: var(--muted); margin: 0 0 18px; }

  /* About + contact */
  .about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
  .timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
  .timeline li { position: relative; padding: 0 0 22px 22px; }
  .timeline li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }
  .timeline b { display: block; color: var(--cyan); font-size: 14px; letter-spacing: .06em; }
  .timeline span { color: var(--muted); }
  @media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
  .contact {
    text-align: center; background: linear-gradient(135deg, rgba(62,232,224,.12), rgba(165,102,255,.18));
    border: 1px solid var(--line); border-radius: 28px; padding: 56px 24px;
  }
  .contact .lead { margin: 0 auto 26px; }
  .contact .btn { max-width: 100%; overflow-wrap: anywhere; }
  @media (max-width: 420px) {
    /* E-Mail-Knopf auf schmalen Handys einzeilig halten */
    a.btn[href^="mailto:"] { font-size: 14.5px; padding: 12px 16px; gap: 6px; }
  }

  /* Privacy + footer */
  .privacy { color: var(--muted); font-size: 15.5px; }
  .privacy h2 { font-size: 28px; }
  .privacy h3 { color: var(--text); font-size: 18px; margin-top: 1.4em; }
  footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
  .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
  .foot a { color: var(--muted); margin-left: 18px; }

  /* ---------- Unterseiten (Support, Datenschutz, Impressum) ---------- */
  .page-hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
  .page-hero::before {
    content: ""; position: absolute; inset: -40% -10% auto; height: 140%;
    background: radial-gradient(40% 50% at 20% 40%, rgba(62,232,224,.14), transparent 70%),
                radial-gradient(40% 50% at 80% 30%, rgba(165,102,255,.18), transparent 70%);
    pointer-events: none;
  }
  .page-hero .wrap { position: relative; }
  .page-hero h1 { font-size: clamp(36px, 5.4vw, 56px); font-weight: 800; }
  .meta-line { color: var(--muted); font-size: 14px; margin-top: 8px; }
  .page section { padding: 40px 0; }
  .doc { max-width: 820px; }
  .doc h2 { font-size: clamp(24px, 3vw, 30px); margin-top: .2em; }
  .doc h3 { font-size: 19px; margin: 1.6em 0 .4em; }
  .doc p, .doc li { color: var(--muted); }
  .doc ul { padding-left: 22px; margin: 0 0 1em; }
  .doc li { margin-bottom: 6px; }
  .doc strong, .doc b { color: var(--text); }
  .doc-block { border-top: 1px solid var(--line); padding-top: 36px; margin-top: 36px; scroll-margin-top: 80px; }
  .doc-block:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
  .app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
  .app-head img { width: 52px; height: 52px; border-radius: 13px; }
  .app-head h2 { margin: 0; }
  .summary { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 28px; }
  .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
  .toc a { text-decoration: none; }
  .toc a.chip:hover { border-color: var(--violet); }
  .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  @media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
  .card h3 { margin-top: 0; }
  .card p:last-child, .card ul:last-child, .card ol:last-child { margin-bottom: 0; }
  .card ol { padding-left: 22px; color: var(--muted); margin: 0; }
  .card ol li { margin-bottom: 6px; }
  .todo { background: rgba(255, 200, 97, .16); color: var(--gold); border-radius: 6px; padding: 0 6px; font-weight: 600; }
  .addr { font-style: normal; line-height: 1.8; color: var(--text); }
  .nav ul a[aria-current="page"] { color: var(--text); }
  .card h3:not(:first-child) { margin-top: 1.4em; }

  /* Breite App-Karte (z. B. KYAM Trips unter den Spielen) */
  .subhead { font-size: 22px; margin: 44px 0 18px; }
  .game-wide { flex-direction: row; gap: 24px; align-items: flex-start; }
  .game-wide .game-icon { width: 96px; height: 96px; border-radius: 22px; }
  .game-wide-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .game-wide-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
  .game-wide-head h3 { margin: 0; }
  .game-wide-head .tag { margin: 0; }
  @media (max-width: 600px) { .game-wide { flex-direction: column; } .game-wide .game-icon { width: 76px; height: 76px; } }
  .faq-group { font-size: 18px; margin: 28px 0 0; color: var(--text); }
  .faq-group:first-child { margin-top: 4px; }
  .guide .faq-group + .faq { margin-top: 12px; }
  .faq-more { color: var(--muted); font-size: 15px; margin-top: 20px; }

  /* ==========================================================================
     Premium-Schicht (25.11.2026): feinere Flächen, Glas, Verlaufsränder, Licht,
     sanfte Bewegung. Alles lokal (keine externen Schriften/Bilder).
     ========================================================================== */
  :root {
    --surface: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
    --hair: rgba(255,255,255,.08);
    --hair-strong: rgba(255,255,255,.14);
    --glow-v: rgba(165,102,255,.35);
    --glow-c: rgba(62,232,224,.28);
    --ease: cubic-bezier(.2,.7,.2,1);
    --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  ::selection { background: rgba(165,102,255,.45); color: #fff; }
  html { scrollbar-color: #2a2f55 transparent; }

  /* Hintergrund: ruhiges Nordlicht + feines Korn (SVG-Rauschen als data-URI) */
  body { background:
      radial-gradient(1200px 600px at 85% -10%, rgba(165,102,255,.10), transparent 60%),
      radial-gradient(900px 500px at -10% 20%, rgba(62,232,224,.07), transparent 60%),
      var(--bg);
    background-attachment: fixed; }
  body::before {
    content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  /* Typografie */
  h1, h2 { font-family: var(--display); text-wrap: balance; }
  h3, h4, summary { text-wrap: balance; }
  p, li { text-wrap: pretty; }
  html:not([lang="ta"]) .hero h1 { letter-spacing: -.035em; line-height: 1.04; }
  html:not([lang="ta"]) h2 { letter-spacing: -.025em; line-height: 1.1; }
  html[lang="ta"] h1, html[lang="ta"] h2 { font-family: "Noto Sans Tamil", "Tamil Sangam MN", var(--display); }
  .lead { line-height: 1.65; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; border-radius: 999px;
    background: rgba(62,232,224,.07); border: 1px solid rgba(62,232,224,.22); font-size: 12px; margin-bottom: 18px;
  }
  .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); flex: none; }
  section { padding: 104px 0; }
  .page section { padding: 44px 0; }
  @media (max-width: 680px) { section { padding: 72px 0; } }

  /* Kopfzeile: Glas, wird beim Scrollen dichter */
  header { background: rgba(11,13,28,.55); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
  header.scrolled { background: rgba(11,13,28,.82); border-bottom-color: var(--hair); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  .brand img { box-shadow: 0 0 0 1px var(--hair-strong), 0 6px 18px rgba(165,102,255,.35); }
  .brand span { font-size: 15px; letter-spacing: .12em; }
  .nav ul a { position: relative; padding: 6px 0; transition: color .2s ease; }
  .nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
    background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); }
  .nav ul a.is-active { color: var(--text); }
  .lang { background: rgba(255,255,255,.04); border-color: var(--hair-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
  .lang button { transition: color .2s ease, background .2s ease; }
  .lang button:hover { color: var(--text); }
  .lang button[aria-pressed="true"] { box-shadow: 0 4px 14px rgba(165,102,255,.4); }
  .menu-btn { border-color: var(--hair-strong); background: rgba(255,255,255,.04); }
  @media (max-width: 1060px) {
    .nav ul { background: rgba(14,16,34,.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom-color: var(--hair); box-shadow: 0 24px 40px rgba(0,0,0,.4); }
    .nav ul a { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.04); }
    .nav ul a::after { display: none; }
  }
  @media (max-width: 1120px) {
    html[lang="ta"] .nav ul { background: rgba(14,16,34,.97); border-bottom-color: var(--hair); box-shadow: 0 24px 40px rgba(0,0,0,.4); }
    html[lang="ta"] .nav ul a { border-top: 1px solid rgba(255,255,255,.04); }
    html[lang="ta"] .nav ul a::after { display: none; }
  }

  /* Knöpfe */
  .btn { position: relative; overflow: hidden; letter-spacing: .005em;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease, background .25s ease; }
  .btn-primary { box-shadow: 0 10px 30px -8px var(--glow-v), inset 0 1px 0 rgba(255,255,255,.45); }
  .btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .7s var(--ease); }
  .btn-primary:hover::after { transform: translateX(120%); }
  .btn-primary:hover { box-shadow: 0 16px 40px -8px var(--glow-v), 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.45); }
  .btn-ghost { background: rgba(255,255,255,.04); border-color: var(--hair-strong); backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
  .btn-ghost:hover { border-color: rgba(165,102,255,.55); background: rgba(165,102,255,.08); }
  :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

  /* Hero */
  .hero { padding: 120px 0 104px; }
  .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--hair-strong), transparent); }
  .chip { background: rgba(255,255,255,.04); border-color: var(--hair-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: blur(6px); }
  .hero-art::before { content: ""; position: absolute; inset: 6%; border-radius: 40px; z-index: -1;
    background: conic-gradient(from 180deg, var(--cyan), var(--violet), var(--cyan)); filter: blur(60px); opacity: .35;
    animation: halo 9s ease-in-out infinite alternate; }
  .hero-art .logo { box-shadow: 0 0 0 1px var(--hair-strong), 0 40px 90px -20px rgba(165,102,255,.5); }
  .hero-art .float { border: 1px solid var(--hair-strong); box-shadow: 0 20px 44px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.2); }
  .f1 { --r: -8deg; } .f2 { --r: 7deg; } .f3 { --r: -4deg; }
  .hero-art .float { animation: bob 7s ease-in-out infinite; transform: rotate(var(--r)); }
  .f2 { animation-delay: -2.3s; } .f3 { animation-delay: -4.6s; }
  @keyframes bob { 0%,100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-10px) rotate(calc(var(--r) * -.4)); } }
  @keyframes halo { from { transform: scale(.95) rotate(0deg); } to { transform: scale(1.05) rotate(25deg); } }
  @media (max-width: 820px) { .hero { padding: 64px 0 64px; } }

  /* Flächen: Karten mit Glas + Lichtkante */
  .pillar, .game, .guide-intro, .steps li, details, .card, .role, .tip {
    background: var(--surface), var(--card); border-color: var(--hair);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 20px 40px -24px rgba(0,0,0,.6);
  }
  .role { background: var(--surface), var(--bg-2); }
  .tip { background: linear-gradient(180deg, rgba(62,232,224,.09), rgba(62,232,224,.04)); border-color: rgba(62,232,224,.25); }
  .pillar { transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease; }
  .pillar:hover { transform: translateY(-4px); border-color: rgba(165,102,255,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 50px -24px rgba(165,102,255,.35); }
  .pillar .ico { width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px; border-radius: 14px;
    background: linear-gradient(140deg, rgba(62,232,224,.16), rgba(165,102,255,.2)); border: 1px solid var(--hair-strong); margin-bottom: 18px; }

  /* Spielkarten: Verlaufsrand + Licht beim Überfahren */
  #spiele, #fernseher, #ueber-uns { background: linear-gradient(180deg, transparent, rgba(18,21,43,.75) 12%, rgba(18,21,43,.75) 88%, transparent) !important; }
  .game { border: 1px solid transparent; border-radius: 26px;
    background: linear-gradient(180deg, #1a1d39, #151832) padding-box,
                linear-gradient(150deg, rgba(62,232,224,.35), rgba(255,255,255,.06) 35%, rgba(255,255,255,.04) 65%, rgba(165,102,255,.4)) border-box;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease); overflow: hidden; }
  .game::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(165,102,255,.14), transparent 45%); }
  .game:hover::before { opacity: 1; }
  .game:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 34px 60px -28px rgba(165,102,255,.45); }
  .game > * { position: relative; }
  .game-icon { box-shadow: 0 0 0 1px var(--hair-strong), 0 12px 28px rgba(0,0,0,.45); }
  .tag { display: inline-flex; align-items: center; gap: 7px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); }
  .tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: pulse 2.4s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .35; } }
  .facts li::before { content: "✦ "; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* Reiter */
  .guide-tabs button { background: rgba(255,255,255,.04); border-color: var(--hair-strong); transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
  .guide-tabs button:hover { color: var(--text); border-color: rgba(165,102,255,.5); }
  .guide-tabs button[aria-selected="true"] { box-shadow: 0 10px 26px -8px var(--glow-v); }
  .guide.active { animation: fadeUp .45s var(--ease); }
  .steps li::before { box-shadow: 0 6px 16px -4px var(--glow-v), 0 0 0 4px var(--bg); }

  /* TV, FAQ, Zeitstrahl, Kontakt */
  .tv-art { border-color: #1d2140; box-shadow: 0 0 0 1px var(--hair-strong), 0 40px 80px -20px rgba(0,0,0,.7), 0 0 80px -20px rgba(165,102,255,.35); }
  details { transition: border-color .25s ease, background .25s ease; }
  details:hover { border-color: rgba(165,102,255,.35); }
  details[open] { border-color: rgba(165,102,255,.4); background: linear-gradient(180deg, rgba(165,102,255,.07), rgba(255,255,255,.015)), var(--card); }
  summary::after { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%;
    background: rgba(62,232,224,.1); border: 1px solid rgba(62,232,224,.25); font-size: 18px; }
  .timeline { border-left: 0; position: relative; }
  .timeline::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 10px; width: 2px; border-radius: 2px; background: linear-gradient(var(--cyan), var(--violet) 70%, transparent); opacity: .6; }
  .timeline li::before { box-shadow: 0 0 0 4px var(--bg), 0 0 14px var(--glow-v); }
  .contact { position: relative; overflow: hidden; border: 1px solid var(--hair-strong);
    background: radial-gradient(60% 120% at 0% 0%, rgba(62,232,224,.18), transparent 60%),
                radial-gradient(60% 120% at 100% 100%, rgba(165,102,255,.24), transparent 60%), #141733;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 40px 80px -40px rgba(165,102,255,.5); }

  /* Unterseiten */
  .page-hero { padding: 96px 0 48px; }
  .page-hero h1 { letter-spacing: -.03em; }
  html[lang="ta"] .page-hero h1 { letter-spacing: 0; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.35; }
  .doc-block { border-top: 0; position: relative; }
  .doc-block::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--hair-strong), transparent); }
  .doc-block:first-of-type::before { display: none; }
  .app-head img { box-shadow: 0 0 0 1px var(--hair-strong), 0 10px 24px rgba(0,0,0,.4); }
  .toc a.chip { transition: border-color .2s ease, background .2s ease; }
  .toc a.chip:hover { background: rgba(165,102,255,.1); }

  /* Fußzeile */
  footer { border-top: 0; position: relative; padding: 40px 0 56px; }
  footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--hair-strong), transparent); }
  .foot a { text-decoration: none; transition: color .2s ease; }
  .foot a:hover { color: var(--text); }

  /* Sanftes Einblenden beim Scrollen (nur mit JS; ohne JS bleibt alles sichtbar) */
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
  }
  @media (max-width: 480px) {
    .contact { padding: 44px 18px; }
    .contact .btns { flex-direction: column; align-items: stretch; }
    .contact .btn { justify-content: center; text-align: center; }
  }
  @media (max-width: 360px) {
    a.btn[href^="mailto:"] { font-size: 13.5px; padding: 12px 10px; }
  }
  .foot > span:last-child { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .foot a { margin-left: 0; }
  /* YouTube-Link (Fußzeile + Kontakt) – nur ein Link, kein eingebettetes Video */
  .yt { display: inline-flex; align-items: center; gap: 8px; }
  .yt-ico { width: 22px; height: 16px; flex: none; }
  .foot .yt-ico { width: 18px; height: 13px; }
  /* Nach-oben-Knopf */
  .to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer; color: #0b0d1c; border: 0; padding: 0;
    background: var(--grad); box-shadow: 0 12px 30px -8px var(--glow-v), inset 0 1px 0 rgba(255,255,255,.45);
    opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
    transition: opacity .3s ease, transform .3s var(--ease), box-shadow .25s ease;
  }
  .to-top.show { opacity: 1; transform: none; pointer-events: auto; }
  .to-top:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px var(--glow-v), 0 0 0 1px rgba(255,255,255,.15), inset 0 1px 0 rgba(255,255,255,.45); }
  .to-top svg { width: 22px; height: 22px; }
  @media (max-width: 480px) { .to-top { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 44px; height: 44px; } }
  @media print { .to-top { display: none; } }
  footer { padding-bottom: 96px; } /* Platz für den Nach-oben-Knopf, damit er keine Links verdeckt */

  /* Screenshot-Galerien in den Anleitungen */
  .shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 22px; margin: 0 -4px 10px;
    scrollbar-width: thin; scrollbar-color: var(--line) transparent; overscroll-behavior-x: contain; }
  .shots button { flex: none; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 24px; scroll-snap-align: start; }
  .shots img { width: 196px; height: auto; aspect-ratio: 660 / 1434; object-fit: cover; border-radius: 24px; background: var(--card);
    box-shadow: 0 0 0 1px var(--hair-strong), 0 22px 40px -20px rgba(0,0,0,.8);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
  .shots button:hover img { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(165,102,255,.5), 0 28px 50px -20px rgba(165,102,255,.45); }
  @media (max-width: 600px) { .shots { gap: 12px; } .shots img { width: 150px; border-radius: 20px; } }

  /* Großansicht */
  .lightbox { border: 0; padding: 0; background: none; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
    display: none; align-items: center; justify-content: center; overflow: hidden; }
  .lightbox[open] { display: flex; animation: fadeUp .3s var(--ease); }
  .lightbox::backdrop { background: rgba(5,6,15,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .lightbox img { max-height: 88vh; max-width: 88vw; width: auto; height: auto; border-radius: 28px; box-shadow: 0 0 0 1px var(--hair-strong), 0 40px 90px rgba(0,0,0,.7); }
  .lightbox button { position: absolute; border: 1px solid var(--hair-strong); background: rgba(20,23,51,.8); color: var(--text);
    width: 48px; height: 48px; border-radius: 50%; font: 400 28px/1 var(--font); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); }
  .lightbox button:hover { border-color: var(--violet); }
  .lb-close { top: 20px; right: 20px; }
  .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
  .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
  @media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } .lightbox img { max-height: 78vh; } }
