  @font-face { font-family: "Inter AC"; src: url("fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
  @font-face { font-family: "Inter AC"; src: url("fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
  @font-face { font-family: "Inter AC"; src: url("fonts/Inter-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
  @font-face { font-family: "Inter AC"; src: url("fonts/Inter-ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
  @font-face { font-family: "Inter AC"; src: url("fonts/Inter-Black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }

  :root {
    --sky: #1E2147;
    --star: #F4EFD8;
    --amber: #F2A541;
    --text: #F3F1EA;
    --text-soft: #D9D5C9;
    --ink: #121114;
    --panel: rgba(16, 14, 13, 0.86);
    --gold: #f2c230;
    --live: #e8352b;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    margin: 0;
    background: var(--sky);
    color: var(--text);
    font-family: "Inter AC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1.0625rem;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-synthesis: none;
    line-height: 1.6;
  }

  a { color: var(--amber); }
  a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

  .wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; position: relative; }
  h1, h2, h3 { line-height: 1.15; margin: 0 0 .75rem; }
  h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
  h3 { font-size: 1.15rem; font-weight: 700; }
  p { margin: 0 0 1rem; }

  canvas.pixels { display: block; image-rendering: pixelated; image-rendering: crisp-edges; }

  /* ---------- Navigation ---------- */
  .nav { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; gap: 1rem; flex-wrap: wrap; }
  .brand { font-weight: 900; font-size: 1.15rem; color: var(--text); text-decoration: none; }
  .nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
  .nav ul a { color: var(--text-soft); text-decoration: none; font-weight: 600; }
  .nav ul a:hover { color: var(--text); }

  /* ---------- Oberfläche ---------- */
  .hero { position: relative; background: var(--sky); overflow: hidden; }
  .stars { position: absolute; inset: 0; pointer-events: none; }
  .stars span { position: absolute; width: 4px; height: 4px; background: var(--star); opacity: .7; }
  .moon { position: absolute; top: 5rem; right: 9%; width: 56px; height: 56px; background: var(--star); box-shadow: inset -14px 0 0 #DCD5B8; }
  @media (max-width: 640px) { .moon { width: 40px; height: 40px; top: 8.5rem; right: 1.25rem; box-shadow: inset -10px 0 0 #DCD5B8; } }

  .hero-content { position: relative; z-index: 2; padding: 1rem 0 2rem; max-width: 34rem; }
  .logo-img { display: block; width: min(420px, 85vw); height: auto; margin: 0 0 .5rem -1rem; }
  .tagline { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 900; line-height: 1.15; margin-bottom: .75rem; }
  .lead { font-size: 1.15rem; color: var(--text-soft); margin-bottom: 1.25rem; }
  .more { font-weight: 700; }

  #surface { position: relative; z-index: 1; width: 100%; }
  #plane { position: absolute; left: 0; width: 100%; z-index: 0; pointer-events: none; }   /* Flugzeug mit Banner */
  #leaves { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }   /* fallende Blätter */

  /* ---------- Untergrund ---------- */
  .underground { position: relative; background: #5c5c60; }
  #earth { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; }
  #spawner-fx { position: absolute; z-index: 0; display: none; pointer-events: none; }
  #spawner-fx i { position: absolute; bottom: 30%; width: 4px; height: 4px; background: #ffb43a; opacity: 0; animation: ember 1.8s infinite; }
  #spawner-fx i:nth-child(1) { left: 20%; animation-delay: 0s; }
  #spawner-fx i:nth-child(2) { left: 45%; animation-delay: .35s; background: #ff7a1a; }
  #spawner-fx i:nth-child(3) { left: 70%; animation-delay: .7s; }
  #spawner-fx i:nth-child(4) { left: 35%; animation-delay: 1.05s; background: #6b6b6b; }
  #spawner-fx i:nth-child(5) { left: 60%; animation-delay: 1.4s; background: #ff7a1a; }
  @keyframes ember { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .95; } 100% { transform: translateY(-140%); opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { #spawner-fx i { animation: none; opacity: .8; } }
  .layer { position: relative; z-index: 1; padding: 4rem 0; }

  .depth {
    position: absolute; right: 1.25rem; top: 1.25rem;
    font-family: ui-monospace, Consolas, monospace; font-size: .85rem;
    background: var(--panel); color: var(--text-soft); padding: .2rem .5rem;
  }

  .panel { background: var(--panel); border: 3px solid #000; box-shadow: inset 0 0 0 3px rgba(255,255,255,.07); padding: 1.75rem; }
  .grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
  @media (min-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
  .narrow { max-width: 40rem; }

  .events { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
  .events li { border-left: 6px solid var(--amber); padding: .2rem 0 .2rem 1rem; }
  .events p { margin: 0; color: var(--text-soft); }

  /* Seasons – echte Reihenfolge, daher nummeriert */
  /* ---------- Statistiken ---------- */
  .st-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; }
  .st-head h2 { margin: 0; }
  .st-head p { margin: 0; color: var(--text-soft); font-size: .95rem; }
  .st-grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
  .st-board { background: var(--panel); border: 3px solid #000; box-shadow: inset 0 0 0 3px rgba(255,255,255,.07); padding: 1.1rem 1.1rem 1.25rem; }
  .st-board h3 { margin: 0 0 .85rem; font-size: 1.15rem; min-height: 2.6rem; }
  .st-board h3 small { display: block; margin-top: .15rem; font-size: .78rem; font-weight: 600; color: var(--text-soft); }
  .st-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
  .st-row {
    display: grid; grid-template-columns: 2rem 28px 1fr auto; align-items: center; gap: .65rem;
    padding: .35rem .55rem .35rem .4rem; background: rgba(255,255,255,.035); border: 2px solid transparent;
  }
  .st-rank { font-weight: 900; text-align: center; color: var(--text-soft); font-variant-numeric: tabular-nums; }
  .st-row img { width: 28px; height: 28px; image-rendering: pixelated; display: block; background: #2a2826; }
  .st-row canvas { width: 28px; height: 28px; image-rendering: pixelated; display: block; background: #2a2826; }
  .st-row.r1 canvas, .st-row.r2 canvas, .st-row.r3 canvas { width: 32px; height: 32px; }
  .st-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .st-val { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .st-row.r1, .st-row.r2, .st-row.r3 { padding-top: .5rem; padding-bottom: .5rem; }
  .st-row.r1 { background: linear-gradient(90deg, rgba(242,194,48,.28), rgba(242,194,48,.06)); border-color: #f2c230; }
  .st-row.r2 { background: linear-gradient(90deg, rgba(200,206,214,.26), rgba(200,206,214,.05)); border-color: #c8ced6; }
  .st-row.r3 { background: linear-gradient(90deg, rgba(205,127,50,.3), rgba(205,127,50,.06)); border-color: #cd7f32; }
  .st-row.r1 .st-rank, .st-row.r2 .st-rank, .st-row.r3 .st-rank {
    width: 1.8rem; height: 1.8rem; display: grid; place-items: center; color: #1a1408; margin: 0 auto;
  }
  .st-row.r1 .st-rank { background: #f2c230; }
  .st-row.r2 .st-rank { background: #c8ced6; }
  .st-row.r3 .st-rank { background: #cd7f32; }
  .st-row.r1 img, .st-row.r2 img, .st-row.r3 img { width: 32px; height: 32px; }
  .st-row.r1 .st-val { color: #ffd968; }
  .st-empty { color: var(--text-soft); margin: 0 0 .6rem; font-size: .9rem; }
  .st-face { width: 28px; height: 28px; background: rgba(255,255,255,.06); }
  .st-row.r1 .st-face, .st-row.r2 .st-face, .st-row.r3 .st-face { width: 32px; height: 32px; }
  .st-ph { opacity: .45; }
  /* ---------- Teilnehmer ---------- */
  .tn-head { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: end; }
  .tn-head p { margin: 0; color: var(--text-soft); }
  .tn-tools { display: grid; gap: .4rem; min-width: min(100%, 17rem); }
  .tn-tools label { font-weight: 700; font-size: .95rem; }
  .tn-tools input {
    font: inherit; color: var(--text); background: #0d0c0b; border: 3px solid #4a4744;
    padding: .55rem .75rem; width: 100%;
  }
  .tn-tools input:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-color: #000; }
  .tn-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .9rem; }
  .tn-legend > span { display: inline-flex; align-items: center; gap: .45rem; }
  .tn-dot { width: .75rem; height: .75rem; border-radius: 50%; background: var(--live); display: inline-block; }
  .tn-red { width: 1.1rem; height: 1.1rem; border: 3px solid var(--live); display: inline-block; margin-left: -.15rem; }
  .tn-gold { width: 1.1rem; height: 1.1rem; border: 3px solid var(--gold); display: inline-block; }

  .tn-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 1.5rem 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));   /* breit genug für 2 Kanal-Knöpfe nebeneinander */
  }
  @media (max-width: 520px) { .tn-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem .75rem; } }
  .tn-card {
    background: var(--panel); border: 3px solid #000; box-shadow: inset 0 0 0 3px rgba(255,255,255,.07);
    padding: 1rem .6rem 1.1rem; display: flex; flex-direction: column; align-items: center; text-align: center;
  }
  .tn-stage {
    width: 100%; height: 11rem; position: relative; overflow: hidden;
    background: radial-gradient(ellipse 40% 9% at 50% 95%, rgba(0,0,0,.55), transparent 70%);
  }
  .tn-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
  .tn-fallback { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); font-size: 2.5rem; font-weight: 900; color: var(--ink); background: var(--amber); width: 4.5rem; height: 4.5rem; display: grid; place-items: center; }
  .tn-name { font-weight: 800; font-size: 1.05rem; margin: .75rem 0 .65rem; word-break: break-word; line-height: 1.2; }
  .tn-name:has(+ .tn-mc) { margin-bottom: .15rem; }
  .tn-mc { margin: 0 0 .65rem; font-size: .78rem; color: var(--text-soft); word-break: break-word; line-height: 1.2; }
  .tn-mc[hidden] { display: none; }
  .tn-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; }
  .tn-btn {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--text);
    background: #2a2826; border: 2px solid #4a4744; padding: .3rem .45rem;
  }
  .tn-btn:hover { background: #3a3734; color: #fff; }
  .tn-btn svg { width: 14px; height: 14px; flex: none; fill: currentColor; }
  .tn-btn.is-main { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(255, 200, 60, .35), 0 0 10px rgba(255, 190, 40, .25); color: #ffe9a8; }
  .tn-empty { margin-top: 1.5rem; }
  .tn-group { margin-top: 2.25rem; }
  .tn-group[hidden] { display: none; }
  .tn-group-title {
    display: inline-flex; align-items: center; gap: .75rem; margin: 0;
    background: var(--panel); border: 3px solid #000; padding: .5rem 1rem; font-size: 1.2rem;
  }
  .tn-group-count { font-size: .85rem; font-weight: 700; color: var(--ink); background: var(--amber); padding: .05rem .5rem; }
  .tn-group--lead .tn-card, .tn-group--lead .tn-group-title { background: rgba(58, 16, 14, .9); }
  .tn-group--lead .tn-card { box-shadow: inset 0 0 0 3px rgba(255, 110, 90, .12); }
  .tn-group--lead .tn-role { color: #ff9c8a; }
  .tn-group--lead .tn-btn { background: #3f1a17; border-color: #6b3330; }
  .tn-group--mod .tn-card, .tn-group--mod .tn-group-title { background: rgba(14, 26, 58, .9); }
  .tn-group--mod .tn-card { box-shadow: inset 0 0 0 3px rgba(110, 160, 255, .12); }
  .tn-group--mod .tn-role { color: #9cc0ff; }
  .tn-group--mod .tn-btn { background: #18264a; border-color: #34497a; }
  .tn-group--lead .tn-btn.is-main, .tn-group--mod .tn-btn.is-main { border-color: var(--gold); }
  .tn-group .tn-grid { margin-top: 1rem; }
  .tn-group--lead + .tn-group--mod { margin-top: 2rem; }
  .tn-group--all { margin-top: 3.5rem; }
  .tn-role { margin: -.4rem 0 .65rem; font-size: .8rem; font-weight: 700; color: var(--amber); }
  .tn-card { position: relative; }
  .tn-stage { cursor: pointer; }
  .tn-live {
    position: absolute; top: -3px; left: 50%; transform: translate(-50%, -50%); z-index: 2;
    display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
    background: #fff; color: #111; border: 3px solid #000;
    font-size: .8rem; font-weight: 900; letter-spacing: .02em; padding: .2rem .6rem .2rem .5rem;
    box-shadow: 0 3px 0 rgba(0,0,0,.45);
  }
  .tn-live::before {
    content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--live);
    box-shadow: 0 0 0 0 rgba(232,53,43,.6); animation: livepulse 1.6s infinite;
  }
  .tn-live b { color: var(--live); }
  .tn-live[hidden] { display: none; }
  @keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(232,53,43,.65); } 70% { box-shadow: 0 0 0 7px rgba(232,53,43,0); } 100% { box-shadow: 0 0 0 0 rgba(232,53,43,0); } }
  @media (prefers-reduced-motion: reduce) { .tn-live::before { animation: none; } }
  .tn-grid { padding-top: .75rem; }
  .tn-group .tn-card.is-live { border-color: var(--live); box-shadow: inset 0 0 0 3px rgba(232,53,43,.35), 0 0 18px rgba(232,53,43,.55); }

  @media (max-width: 520px) {
    .tn-card { padding: .75rem .5rem .9rem; }
    .tn-stage { height: 8.5rem; }
    .tn-name { font-size: .95rem; }
    .tn-btn span { display: none; }
    .tn-btn { padding: .45rem; }
    .tn-btn svg { width: 18px; height: 18px; }
  }
  .tn-card[hidden] { display: none; }

  .team { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); margin-top: 1.5rem; }
  .member { display: flex; gap: .9rem; align-items: center; }
  .avatar { width: 48px; height: 48px; flex: none; display: grid; place-items: center; font-weight: 900; color: var(--ink); background: var(--amber); }
  .member span { display: block; color: var(--text-soft); font-size: .95rem; }

  footer { background: #121214; padding: 2.5rem 0; font-size: .95rem; color: var(--text-soft); }
  footer .row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
  footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }
  footer small { display: block; margin-top: .75rem; opacity: .75; }
  footer .row + small { margin-top: 1.25rem; }

/* ===================== Unterseiten mit eigenem Hintergrund ===================== */
body[data-scene] { position: relative; min-height: 100vh; }
body[data-scene="nether"] { background: #2b0d0b; }
body[data-scene="end"] { background: radial-gradient(ellipse at 50% 0%, #1d1530 0%, #0c0914 55%); background-color: #0c0914; }
body[data-scene="village"] { background: linear-gradient(#1E2147, #2a2f5c 30rem, #3a3a44 30rem); }
#scene { position: absolute; left: 0; top: 0; width: 100%; z-index: 0; pointer-events: none; }
.page-hero, .page-main, .scene-spacer, body[data-scene] footer { position: relative; z-index: 1; }
.page-hero { min-height: 34rem; }
.page-title { margin-top: 3rem; max-width: 34rem; }
.page-title h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; margin: 0 0 .6rem; text-shadow: 0 3px 0 rgba(0,0,0,.55), 0 0 24px rgba(0,0,0,.6); }
.page-title p { font-size: 1.15rem; color: var(--text); text-shadow: 0 2px 6px rgba(0,0,0,.85); margin: 0; }
.page-main { padding: 1rem 0 3rem; }
.scene-spacer { height: 12rem; }
[data-scene-cave] { height: 44rem; }
body[data-scene] footer { margin-top: 0; }
.nav ul a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.fx-spawner { position: absolute; z-index: 0; pointer-events: none; }
.fx-spawner i { position: absolute; bottom: 30%; width: 4px; height: 4px; background: #ffb43a; opacity: 0; animation: ember 1.8s infinite; }
.fx-spawner i:nth-child(1) { left: 20%; animation-delay: 0s; }
.fx-spawner i:nth-child(2) { left: 45%; animation-delay: .35s; background: #ff7a1a; }
.fx-spawner i:nth-child(3) { left: 70%; animation-delay: .7s; }
.fx-spawner i:nth-child(4) { left: 35%; animation-delay: 1.05s; background: #ffd23a; }
.fx-spawner i:nth-child(5) { left: 60%; animation-delay: 1.4s; background: #ff7a1a; }
@media (prefers-reduced-motion: reduce) { .fx-spawner i { animation: none; opacity: .8; } }

/* Startseite: Kacheln zu den Unterseiten */
.explore { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.explore-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); border-top-width: 6px; transition: transform .15s; }
.explore-card:hover { transform: translateY(-3px); }
.explore-card p { color: var(--text-soft); flex: 1; }
.explore-go { font-weight: 800; color: var(--amber); }
.explore--nether { border-top-color: #b8321c; }
.explore--end { border-top-color: #b98ed6; }
.explore--village { border-top-color: #5f9e35; }
.explore--map { border-top-color: #c9a25e; }
@media (prefers-reduced-motion: reduce) { .explore-card { transition: none; } .explore-card:hover { transform: none; } }

/* Animiertes Feuer (Minecraft-Feuertextur, 16 Bilder) */
.fx-fire { position: absolute; z-index: 1; pointer-events: none; background-image: url(fire.png); background-size: 300% 1600%; background-repeat: no-repeat;
  animation: fireanim 1.3s steps(16, jump-none) infinite; image-rendering: auto; }
.fx-fire--fire { background-position-x: 0%; }
.fx-fire--soul_fire { background-position-x: 50%; }
.fx-fire--campfire { background-position-x: 100%; }
@keyframes fireanim { from { background-position-y: 0%; } to { background-position-y: 100%; } }
@media (prefers-reduced-motion: reduce) { .fx-fire { animation: none; } }
body[data-scene] .fx-fire { z-index: 0; }

/* End-Kristalle (selbst gezeichnet) mit Schweben, Käfige aus Eisengittern davor */
.fx-crystal { position: absolute; z-index: 0; pointer-events: none; background: url(end_fx.png) center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 6px rgba(255, 120, 220, .7)); animation: crystalbob 2.4s ease-in-out infinite; }
.fx-cage { position: absolute; z-index: 1; pointer-events: none; background-image: url(bars.png); background-repeat: repeat; }
@keyframes crystalbob { 0%, 100% { transform: translateY(-6%) rotate(0deg); } 50% { transform: translateY(-22%) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .fx-crystal { animation: none; } }
body[data-scene="nether"] { background: #160605; }

/* ---------- Videos aus Discord (Startseite) ---------- */
.videos { margin-bottom: 1.5rem; }
.videos[hidden] { display: none; }
.videos-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.videos-head h2 { margin: 0; }
.videos-nav { display: flex; gap: .5rem; flex: none; }
.videos-nav button {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; cursor: pointer;
  font: inherit; font-size: 1.3rem; font-weight: 900; line-height: 1; color: var(--ink);
  background: var(--amber); border: 3px solid #000; box-shadow: inset -3px -3px 0 rgba(0,0,0,.25);
}
.videos-nav button:disabled { opacity: .35; cursor: default; }
.videos-nav button:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.video-track {
  list-style: none; margin: 0; padding: 0 0 .75rem; display: grid; grid-auto-flow: column;
  grid-auto-columns: min(78%, 17rem); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--amber) transparent;
}
.video-track li { scroll-snap-align: start; }
.video-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); background: rgba(0,0,0,.35); border: 3px solid #000; }
.video-card:hover .video-title, .video-card:focus-visible .video-title { text-decoration: underline; text-decoration-color: var(--amber); }
.video-card:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; background: #0d0c0c; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card--tiktok .video-thumb img { object-fit: contain; }
.video-badge {
  position: absolute; left: .5rem; top: .5rem; font-size: .75rem; font-weight: 800; padding: .1rem .45rem;
  color: #fff; border: 2px solid #000;
}
.video-card--youtube .video-badge { background: #c4302b; }
.video-card--tiktok .video-badge { background: #111; box-shadow: inset 0 0 0 2px #25f4ee; }
.video-card--twitch .video-badge { background: #9146ff; }
.video-body { padding: .65rem .75rem .8rem; display: flex; flex-direction: column; gap: .2rem; }
.video-title { font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-author { font-size: .85rem; color: var(--text-soft); }

/* ---------- Kontaktseite: Formular, Impressum, Datenschutz ---------- */
.kontakt-stack { display: grid; gap: 1.5rem; justify-items: center; }
.kontakt-stack > .panel { width: 100%; }
.kform { display: grid; gap: .9rem; margin-top: 1.25rem; }
.kform-row { display: grid; gap: .3rem; }
.kform label { font-weight: 700; color: var(--text); }
.kform-opt { font-weight: 400; color: var(--text-soft); font-size: .9rem; }
.kform input, .kform textarea {
  font: inherit; color: var(--text); background: rgba(0,0,0,.45); border: 3px solid #000;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); padding: .6rem .75rem; width: 100%;
}
.kform textarea { resize: vertical; min-height: 8rem; }
.kform input:focus-visible, .kform textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.kform-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.kform-note { margin: 0; font-size: .9rem; color: var(--text-soft); }
.kform-send {
  justify-self: start; font: inherit; font-weight: 800; color: var(--ink); background: var(--amber);
  border: 3px solid #000; box-shadow: inset -3px -3px 0 rgba(0,0,0,.25); padding: .65rem 1.25rem; cursor: pointer;
}
.kform-send:disabled { opacity: .6; cursor: default; }
.kform-send:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.kform-status { margin: 0; min-height: 1.6em; font-weight: 700; }
.kform-status.is-ok { color: #8fd16a; }
.kform-status.is-err { color: #ff8a7a; }
.legal h3 { font-size: 1rem; margin: 1.1rem 0 .3rem; color: var(--text); }
.legal p, .legal li { color: var(--text-soft); }
.legal ul { padding-left: 1.2rem; margin: .5rem 0 1rem; display: grid; gap: .55rem; }
.legal-small { font-size: .9rem; opacity: .85; }
#impressum, #datenschutz, #kontakt { scroll-margin-top: 1.5rem; }

/* ---------- Karte: Live-Karte auf dem Kartografentisch ---------- */
body[data-scene="map"] { background: #2b2b2b; }
/* Größe (Vielfaches von 64 px, quadratisch) setzt scenes.js passend zum Bildschirm */
.map-table { position: relative; width: 640px; height: 640px; margin: 0 0 0 50%; transform: translateX(-50%); }
.page-hero--compact { min-height: 0; }
body[data-scene="map"] .page-main { padding-top: .5rem; }
/* Textblock endet 4 px über dem Kompass der Tischtextur (Kompass beginnt bei 2/16 = 12,5 % der Tischhöhe) */
.map-title { position: absolute; left: 15%; right: 15%; top: auto; bottom: calc(87.5% + 4px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; z-index: 1; }
.map-title h1 { margin: 0; font-size: clamp(1.6rem, 4.5vw, 3.4rem); font-weight: 900; line-height: 1.05; text-shadow: 0 3px 0 rgba(0,0,0,.6), 0 0 18px rgba(0,0,0,.7); }
.map-title p { position: relative; top: -4px; background: rgba(20,12,6,.55); padding: .15rem .6rem; margin: .35rem 0 0; font-size: clamp(.85rem, 1.6vw, 1.15rem); color: var(--text); text-shadow: 0 2px 6px rgba(0,0,0,.9); }
.map-title p.map-note { margin-top: .3rem; font-size: clamp(.72rem, 1.2vw, .9rem); color: #f2c27a; }
.map-paper {
  position: absolute; inset: 17% 15% 13%; display: flex; background: #d8c296;
  border: 18px solid transparent; border-image: url(map_paper.png) 22 fill round;
  filter: drop-shadow(0 6px 0 rgba(0,0,0,.25));
}
#live-map { display: block; width: 100%; height: 100%; border: 3px solid #5b4630; background: #1b1a17; }
.map-offline { display: grid; place-content: center; gap: .5rem; text-align: center; width: 100%; color: #3b2c1c; padding: 1rem; }
.map-offline[hidden], #live-map[hidden] { display: none; }
.map-offline strong { font-size: 1.2rem; }
.map-open { position: absolute; left: 15%; right: 15%; bottom: 0; height: 13%; margin: 0; padding-top: clamp(.6rem, 1.6vw, 1.25rem); display: flex; justify-content: center; align-items: flex-start; z-index: 1; }
.map-open a { display: inline-block; background: var(--panel); border: 3px solid #000; padding: .5rem 1rem; font-weight: 800; }
@media (max-width: 480px) {
  .nav ul { width: 100%; justify-content: space-between; gap: .4rem .35rem; }
  .nav ul { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; row-gap: .55rem; }   /* 7 Menüpunkte: zwei ordentliche Zeilen */
  .nav ul a { font-size: .9rem; }
  .map-paper { border-width: 12px; inset: 25% 8% 17%; }
  .map-open { left: 6%; right: 6%; height: 17%; padding-top: .5rem; }
  .map-open a { font-size: .85rem; padding: .35rem .75rem; }
  .map-title { left: 6%; right: 6%; }
  .map-title p { font-size: .8rem; }
  .map-title p.map-note { font-size: .7rem; line-height: 1.35; }
}
@media (max-width: 880px) { .nav ul { width: 100%; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; row-gap: .55rem; } }   /* 8 Menüpunkte in zwei Zeilen (4 + 4) */
@media (max-width: 380px) { .nav ul a { font-size: .8rem; } .nav ul { column-gap: .2rem; } }

/* ---------- Regeln: Regelbuch (Buch-GUI des Spiels) über dem Lesepult in der Bibliothek ---------- */
body[data-scene="library"] { background: #140e09; }
body[data-scene="library"] #scene { display: none; }
body[data-scene="library"] .page-main { padding-top: .5rem; padding-bottom: 0; }
body[data-scene="library"] .scene-spacer { display: none; }
.lectern { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-top: 1.5rem; }
.lectern-title { text-align: center; margin-bottom: 1.25rem; }
.lectern-title h1 { margin: 0; font-size: clamp(1.6rem, 4.5vw, 3.4rem); font-weight: 900; line-height: 1.05; text-shadow: 0 3px 0 rgba(0,0,0,.6), 0 0 18px rgba(0,0,0,.7); }
.lectern-title p { display: inline-block; background: rgba(20,12,6,.55); padding: .15rem .6rem; margin: .45rem 0 0; font-size: clamp(.85rem, 1.6vw, 1.15rem); text-shadow: 0 2px 6px rgba(0,0,0,.9); }
/* Lesepult: gerendertes Bild, oben weich in den dunklen Hintergrund übergehend; das Buch ragt hinein */
.lib-scene { position: relative; z-index: 1; height: clamp(300px, 52vw, 760px); margin-top: calc(clamp(300px, 52vw, 760px) * -0.28);
  background: url(lectern_scene.webp) center 62% / cover no-repeat; }
.lib-scene::before { content: ""; position: absolute; inset: 0; background: linear-gradient(#140e09, rgba(20,14,9,0) 45%, rgba(20,14,9,0) 85%, #120d09); }
@media (max-width: 700px) { .lib-scene { height: 340px; margin-top: -60px; background-size: auto 115%; background-position: center 70%; } }

/* Buchseiten: 146 × 180 Spielpixel wie im Spiel, 1 Spielpixel = --px (setzt regelbuch.js) */
.book-stage { --px: 4px; position: relative; display: flex; justify-content: center; min-height: calc(var(--px) * 180); }
.book-view { display: flex; filter: drop-shadow(0 calc(var(--px) * 2) 0 rgba(0,0,0,.4)) drop-shadow(0 10px 24px rgba(0,0,0,.5)); }
.bpage, .book-measure .bpage { position: relative; width: calc(var(--px) * 146); height: calc(var(--px) * 180); box-sizing: border-box; flex: none;
  display: flex; flex-direction: column; border-style: solid; border-color: transparent; image-rendering: pixelated;
  border-width: calc(var(--px) * 10) calc(var(--px) * 24) calc(var(--px) * 22) calc(var(--px) * 13);
  border-image: url(book.png) 40 96 88 52 fill stretch;
  padding: calc(var(--px) * 2) calc(var(--px) * 3) 0 calc(var(--px) * 4);
  color: #2a1f14; font-size: max(12.5px, calc(var(--px) * 3.6)); line-height: 1.42; }
/* linke Seite einer Doppelseite: gespiegelt (Bindung zur Mitte) */
.bpage--left { border-image: url(book_l.png) 40 52 88 96 fill stretch;
  border-width: calc(var(--px) * 10) calc(var(--px) * 13) calc(var(--px) * 22) calc(var(--px) * 24);
  padding: calc(var(--px) * 2) calc(var(--px) * 4) 0 calc(var(--px) * 3); }
.book-measure { position: absolute; left: 0; top: 0; visibility: hidden; pointer-events: none; }
.bpage-count { text-align: right; font-size: .82em; font-weight: 600; color: #7a6a52; margin-bottom: .35em; flex: none; }
.bpage-body { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.bpage-nav { flex: none; display: flex; justify-content: space-between; align-items: flex-end; height: calc(var(--px) * 13 + 4px); padding-bottom: 2px; }
.bpage-cont { margin: 0 0 .5em !important; font-size: .85em; font-weight: 700; color: #7a6a52; }
.bpage h2 { margin: 0 0 .6em; font-size: 1.3em; font-weight: 800; color: #1d140c; line-height: 1.2; }
.bpage h3 { margin: .9em 0 .3em; font-size: 1em; font-weight: 800; color: #1d140c; }
.bpage p { margin: 0 0 .6em; }
.bpage a { color: #7a3d12; }
.book-no { display: inline-block; min-width: 1.6em; padding: 0 .3em; margin-right: .35em; text-align: center; background: #5b3a1e; color: #f6e8c8; }
.book-meta { color: #6b5a44; font-size: .92em; font-weight: 600; }
.book-toc { list-style: none; margin: 0; padding: 0; }
.book-toc li { border-bottom: 2px dotted rgba(91,58,30,.25); }
.book-toc a { display: block; padding: .22em 0; font-weight: 600; text-decoration: none; }
.book-toc a:hover { text-decoration: underline; }
.book-toc span { display: inline-block; width: 1.8em; color: #6b5a44; }
.rules { margin: 0 0 .55em; }
.rules dt { font-weight: 800; color: #1d140c; }
.rules dd { margin: .05em 0 0; }
.book-list { margin: .2em 0 .1em; padding-left: 1.15em; }
.book-list li { margin: .05em 0; }
.book-list--cols { columns: 2; column-gap: 1.2em; }
.book-list--cols li { break-inside: avoid; }
.book-sub { margin: .35em 0 0 !important; font-weight: 700; }
.book-sign { font-weight: 800; margin-top: 1em !important; }
.book-arrow { width: calc(var(--px) * 23); height: calc(var(--px) * 13); padding: 0; border: 0; cursor: pointer; flex: none;
  background: url(book_arrows.png) no-repeat; background-size: calc(var(--px) * 46) calc(var(--px) * 26); image-rendering: pixelated; }
.book-arrow--back { background-position: 0 0; }
.book-arrow--fwd { background-position: calc(var(--px) * -23) 0; margin-left: auto; }
.book-arrow--back:hover, .book-arrow--back:focus-visible { background-position: 0 calc(var(--px) * -13); }
.book-arrow--fwd:hover, .book-arrow--fwd:focus-visible { background-position: calc(var(--px) * -23) calc(var(--px) * -13); }
.book-arrow:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
@media (max-width: 480px) { .book-list--cols { columns: 1; } .lectern { padding-top: 1rem; } }
/* ohne JavaScript: alle Kapitel untereinander auf Pergament */
.book-src { width: min(100%, 640px); background: #f3e6c4; color: #2a1f14; padding: 1.25rem 1.5rem; box-sizing: border-box; }
.book-src .book-chapter + .book-chapter { margin-top: 1.5rem; }
.book-js .book-src { display: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Termine: Schwarzes Brett (Texturen aus dem Spiel, 1 Texturpixel = 4 px) ---------- */
body[data-scene="board"] { --tx: 64px; background: linear-gradient(rgba(10,6,3,.55), rgba(10,6,3,.7)), url(tx_spruce.png) 0 0 / var(--tx) var(--tx); image-rendering: pixelated; }
body[data-scene="board"] #scene { display: none; }
body[data-scene="board"] .scene-spacer { height: 3rem; }
body[data-scene="board"] .page-main, body[data-scene="board"] footer { image-rendering: auto; }
.board-head { text-align: center; margin: .5rem 0 1.25rem; }
.board-head h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 3.4rem); font-weight: 900; text-shadow: 0 3px 0 rgba(0,0,0,.6); }
.board-head p { margin: .4rem auto 0; max-width: 40rem; color: var(--text-soft); }
.board { --fig-h: 250px; position: relative; width: min(1400px, calc(100vw - 2rem)); margin-left: 50%; transform: translateX(-50%); box-sizing: border-box; padding: calc(var(--tx) / 2); background: url(tx_darkoak.png) 0 0 / var(--tx) var(--tx); image-rendering: pixelated;
  box-shadow: 0 12px 30px rgba(0,0,0,.6), inset 0 0 0 4px rgba(0,0,0,.35); }
.board-inner { min-height: max(30rem, calc(100vh - 17rem)); padding-bottom: calc(var(--fig-h) * .62) !important; padding: clamp(.75rem, 2.5vw, 1.75rem); background: url(tx_coal.png) 0 0 / var(--tx) var(--tx);
  box-shadow: inset 0 6px 14px rgba(0,0,0,.65); image-rendering: auto; }
.board-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1rem;
  padding: .6rem .8rem; background: rgba(0,0,0,.45); border: 2px solid rgba(255,255,255,.08); }
.board-who { margin: 0; flex: 1 1 18rem; color: var(--text); }
.board-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.board-msg { margin: 0 0 1rem; padding: .55rem .8rem; background: #2d4a1e; border: 2px solid #5f8f3a; color: #eaf6dc; font-weight: 600; }
.board-msg.is-bad { background: #4a1e1e; border-color: #a04040; color: #fde4e4; }
.board-empty { color: var(--text-soft); text-align: center; margin: 2rem 0; font-style: italic; }
/* Knöpfe wie im Spiel (Knopf-Grafik aus dem Spiel, 9-teilig skaliert) */
.mc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 1.1rem; box-sizing: border-box;
  border: 6px solid transparent; border-image: url(mc_button.png) 6 fill stretch; image-rendering: pixelated;
  color: #fff; font: 700 1rem/1 inherit; text-shadow: 2px 2px 0 #3f3f3f; text-decoration: none; cursor: pointer; background: none; white-space: nowrap; }
.mc-btn:hover, .mc-btn:focus-visible { border-image-source: url(mc_button_highlighted.png); color: #ffffa0; outline: none; }
.mc-btn:disabled { border-image-source: url(mc_button_disabled.png); color: #a0a0a0; cursor: default; }
.mc-btn--small { min-height: 30px; padding: 0 .6rem; font-size: .8rem; border-width: 4px; }
/* Aushänge: Kartenpapier aus dem Spiel, mit einer roten Pinnnadel */
.notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.6rem 1.25rem; align-items: start; }
.note { position: relative; display: flex; gap: .8rem; color: #2e2416; border: 18px solid transparent; border-image: url(map_paper.png) 22 fill round;
  image-rendering: pixelated; filter: drop-shadow(3px 5px 0 rgba(0,0,0,.45)); }
.note:nth-child(3n+1) { margin-top: .3rem; } .note:nth-child(3n+2) { margin-top: -.2rem; }
.note::before { content: ""; position: absolute; top: -14px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  background: #c62828; box-shadow: inset 3px 3px 0 #ff6b5e, inset -3px -3px 0 #7a1010, 0 2px 0 rgba(0,0,0,.5); }
.note > * { image-rendering: auto; }
.note-date { flex: none; width: 3.6rem; text-align: center; background: #6b4a2b; color: #f6e8c8; padding: .3rem 0 .35rem; align-self: flex-start;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.3); }
.note-date span { display: block; line-height: 1.1; }
.note-wd { font-size: .75rem; font-weight: 700; text-transform: uppercase; opacity: .85; }
.note-day { font-size: 1.6rem; font-weight: 900; }
.note-mon { font-size: .75rem; font-weight: 700; }
.note-body { min-width: 0; flex: 1; }
.note-when { margin: 0 0 .15rem; font-size: .82rem; font-weight: 700; color: #7a4a1e; }
.note-title { margin: 0 0 .3rem; font-size: 1.05rem; font-weight: 800; color: #20180e; overflow-wrap: anywhere; }
.note-info { margin: 0 0 .5rem; font-size: .9rem; white-space: pre-line; overflow-wrap: anywhere; }
.note-by { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; margin: .4rem 0 0; font-size: .78rem; color: #6b5a44; font-style: italic; }
.note-by .mc-btn { font-style: normal; }
.notes--past .note { opacity: .6; }
.board-past { margin-top: 2rem; }
.board-past summary { cursor: pointer; color: var(--text-soft); font-weight: 700; margin-bottom: 1.2rem; }
/* Formular als großer Zettel */
.note--form { display: block; margin: 0 auto 2rem; max-width: 36rem; }
.note--form[hidden], .board-msg[hidden], .board-past[hidden] { display: none; }
.note--form h2 { margin: 0 0 .75rem; font-size: 1.3rem; color: #20180e; }
.note--form label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: .65rem; }
.note--form input, .note--form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: .2rem; padding: .45rem .5rem;
  font: inherit; font-weight: 400; color: #20180e; background: #fbf4df; border: 2px solid #3b2a17; border-radius: 0; }
.note--form input:focus, .note--form textarea:focus { outline: 3px solid var(--amber); outline-offset: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
.form-hint { font-size: .8rem; color: #6b5a44; margin: 0 0 .8rem; }
.form-buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
/* Projektleitung posiert vor dem Brett (brett-figuren.js) */
.board-figs { position: absolute; left: 0; right: 0; bottom: -18px; height: var(--fig-h); display: flex; justify-content: space-between; pointer-events: none; z-index: 2; padding: 0 1%; }
.board-figs-side { display: flex; align-items: flex-end; }
.board-fig { width: calc(var(--fig-h) * .8); height: var(--fig-h); image-rendering: pixelated; filter: drop-shadow(0 6px 8px rgba(0,0,0,.5)); }
.board-fig + .board-fig { margin-left: calc(var(--fig-h) * -.28); }
@media (max-width: 900px) { .board { --fig-h: 180px; } }
@media (max-width: 520px) { .board { --fig-h: 120px; } }
@media (max-width: 640px) { body[data-scene="board"] { --tx: 48px; } .form-row { grid-template-columns: 1fr; } .board { padding: 16px; } }

/* ---------- Download: Redstone-Lampen im Hintergrund (download.js) ---------- */
body[data-scene="lamps"] { background: #2a1a12; display: flex; flex-direction: column; min-height: 100vh; }
body[data-scene="lamps"] #scene, body[data-scene="lamps"] .scene-spacer { display: none; }
#lamps { position: fixed; left: 0; top: 0; z-index: 0; pointer-events: none; image-rendering: pixelated; }
body[data-scene="lamps"]::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,.15), rgba(0,0,0,.55)); }
body[data-scene="lamps"] .page-hero, body[data-scene="lamps"] .page-main, body[data-scene="lamps"] footer { position: relative; z-index: 1; }
body[data-scene="lamps"] .page-main { flex: 1 0 auto; display: flex; align-items: center; }
body[data-scene="lamps"] .page-main .wrap { width: 100%; }
.dl-head { text-align: center; margin: 3rem auto; max-width: 34rem; padding: 2rem 1.5rem; background: rgba(12,8,6,.78); border: 4px solid #000;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.6); }
.dl-head h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 900; text-shadow: 0 3px 0 rgba(0,0,0,.6); }
.dl-soon { margin: .6rem 0 0; font-size: clamp(1.3rem, 3.5vw, 2rem); font-weight: 800; color: #ffb347; text-shadow: 0 0 18px rgba(255,140,40,.55); }
.dl-text { margin: 1rem 0 0; color: var(--text-soft); }

/* Startseite: Sprechblasen der Projektleitung */
.talk { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 860px) { .talk { grid-template-columns: 1fr 1fr; } }
.talk-item { margin: 0; display: flex; align-items: flex-start; gap: 1.25rem; }
.talk-head { flex: none; width: 72px; height: 72px; image-rendering: pixelated; border: 3px solid #000;
  box-shadow: 0 6px 0 rgba(0,0,0,.45); background: #2a2826; }
.talk-bubble { position: relative; flex: 1; margin: 0; padding: 1rem 1.2rem .8rem; background: #F3F1EA; color: #1a1408;
  border: 3px solid #000; box-shadow: inset -4px -4px 0 rgba(0,0,0,.12), 0 6px 0 rgba(0,0,0,.45); }
/* Zipfel der Sprechblase: gestufte Pixel-Spitze zum Kopf */
.talk-bubble::before, .talk-bubble::after { content: ""; position: absolute; top: 18px; width: 15px; height: 21px;
  clip-path: polygon(100% 0, 100% 100%, 66% 100%, 66% 71%, 33% 71%, 33% 43%, 0 43%, 0 14%, 66% 14%, 66% 0); }
.talk-bubble::before { left: -18px; background: #000; }
.talk-bubble::after { left: -12px; top: 21px; width: 12px; height: 15px; background: #F3F1EA;
  clip-path: polygon(100% 0, 100% 100%, 50% 100%, 50% 60%, 0 60%, 0 20%, 50% 20%, 50% 0); }
.talk-bubble p { margin: 0; font-weight: 800; font-size: 1.08rem; line-height: 1.45; }
.talk-bubble cite { display: block; margin-top: .45rem; font-style: normal; font-weight: 800; font-size: .85rem; color: #8a5a12; }
.talk-bubble cite::before { content: "– "; }
@media (max-width: 420px) { .talk-head { width: 56px; height: 56px; } .talk-item { gap: 1rem; } }

.hero-links { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.hero-links [hidden] { display: none; }
#videos { scroll-margin-top: 1.5rem; }

/* Statistiken: Titel etwas höher, damit er nicht in die End-Kristalle ragt */
body[data-scene="end"] .page-title { margin-top: 1rem; }

/* ---------- Kopfzeile: einfarbiger Balken über die ganze Breite ---------- */
.topbar { position: relative; z-index: 5; background: #1a1612; border-bottom: 3px solid #000; box-shadow: 0 3px 0 rgba(0,0,0,.25), inset 0 -3px 0 rgba(255,255,255,.04); }
.topbar .nav { padding: .85rem 0; }
.page-title { margin-top: 2.25rem; }
