/* Bannerwrath – Seite. Farben und Schriften aus Docs/Branding/Bannerwrath-Pirata-One-v1/brand-tokens.json.
   Wichtig: keine Inline-Stile und keine Fremdquellen (Sicherheitsrichtlinie CSP, siehe Caddyfile.vorlage). */
@font-face { font-family: "Pirata One"; src: url("fonts/PirataOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; src: url("fonts/BarlowSemiCondensed-SemiBold.ttf") format("truetype"); font-display: swap; }

:root {
  --ink: #10191B;
  --pine: #24352F;
  --moos: #1b2a23;
  --tief: #0b1214;
  --ivory: #F3E8D0;
  --gold: #D9B779;
  --gold-hell: #f1d9a2;
  --red: #842D34;
  --red-hell: #a63a43;
  --muted: #b9ae98;
  --line: rgba(217, 183, 121, .26);
  --radius: 12px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font: 600 1.125rem/1.6 "Barlow Semi Condensed", "Segoe UI", system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: var(--gold); text-underline-offset: .18em; }
a:hover { color: var(--ivory); }
a:focus-visible, .knopf:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

h1, h2, h3 { font-family: "Pirata One", Georgia, serif; font-weight: 400; color: var(--gold); line-height: 1.1; }
h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 .4em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .3em; }
h3 { font-size: 1.6rem; margin: 0 0 .3em; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eyebrow { margin: 0 0 6px; color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-size: .88rem; opacity: .9; }

.huelle { width: min(100% - 32px, 1120px); margin-inline: auto; }
.text { max-width: 44em; }
.text li { margin: .3em 0; }
.hinweis { color: var(--muted); font-size: 1rem; }
.stufe { margin: 0 0 8px; color: var(--muted); font-size: .95rem; }
code { font: 1rem/1.4 ui-monospace, Consolas, monospace; background: rgba(243,232,208,.08); padding: .1em .4em; border-radius: 4px; }
pre { overflow-x: auto; padding: 12px 16px; background: rgba(243,232,208,.06); border-radius: 8px; }
pre code { background: none; padding: 0; }
main.huelle { padding: 8px 0 48px; }

.knopf {
  display: inline-block; padding: 13px 28px; border-radius: 6px;
  background: linear-gradient(180deg, #9a343c, var(--red)); color: var(--ivory); text-decoration: none;
  border: 1px solid var(--gold); font-size: 1.1rem; letter-spacing: .03em; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 18px rgba(0,0,0,.35);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.knopf:hover { background: linear-gradient(180deg, #b6414a, #9c3640); color: var(--ivory); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 12px 28px rgba(0,0,0,.5); }
.knopf.leise { background: rgba(16,25,27,.45); box-shadow: none; }
.knopf.leise:hover { background: rgba(217,183,121,.16); }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 1rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--gold); font-weight: 600; }
.tabelle { overflow-x: auto; }

.formular { display: grid; gap: 6px; margin: 16px 0 8px; }
.formular label { margin-top: 12px; color: var(--gold); }
.formular input[type="text"], .formular select, .formular textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--pine); color: var(--ivory); font: inherit;
}
.formular input[type="file"] { color: var(--ivory); font: inherit; }
.formular textarea { resize: vertical; }
.formular .knopf { justify-self: start; margin-top: 12px; font: inherit; }
.formular input:focus-visible, .formular select:focus-visible, .formular textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Kopfleiste ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px max(16px, calc((100% - 1120px) / 2));
  background: linear-gradient(180deg, rgba(11,18,20,.9), rgba(11,18,20,0));
  transition: background .3s, box-shadow .3s;
}
.nav.dicht { background: rgba(11,18,20,.95); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0,0,0,.4); }
.nav img { height: 44px; width: auto; display: block; }
.nav ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 1rem; letter-spacing: .04em; }
.nav a { color: var(--ivory); text-decoration: none; opacity: .88; }
.nav a:hover { color: var(--gold); opacity: 1; }
.nav .nav-cta a { padding: 7px 16px; border: 1px solid var(--gold); border-radius: 4px; color: var(--gold); opacity: 1; }
.nav .nav-cta a:hover { background: var(--gold); color: var(--ink); }

/* ---------- Titelbild ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; padding: clamp(84px, 11vh, 120px) 16px clamp(64px, 11vh, 96px); }
.hero-kopf, .hero-fuss { display: flex; flex-direction: column; align-items: center; }
.hero-bild { position: absolute; inset: -3% -2%; width: 104%; height: 106%; z-index: -3; object-fit: cover; object-position: 50% 78%; filter: saturate(1.05) brightness(.82); transform: translate3d(0, calc(var(--scroll, 0) * 0.16px), 0) scale(1.04); animation: kamerafahrt 40s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 50% 38%, rgba(11,18,20,.55) 0%, rgba(11,18,20,.12) 46%, rgba(11,18,20,.62) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; z-index: -1; background: linear-gradient(180deg, rgba(16,25,27,0), var(--ink) 94%); }
.hero-logo { width: min(90vw, 680px, 74vh); height: auto; filter: drop-shadow(0 12px 40px rgba(0,0,0,.75)); animation: aufstieg 1.3s cubic-bezier(.2,.7,.2,1) both; }
.hero .lead { max-width: 32em; margin: 10px auto 0; font-size: clamp(1.1rem, 2.4vw, 1.4rem); text-shadow: 0 2px 18px rgba(0,0,0,.9); animation: aufstieg 1.3s .25s cubic-bezier(.2,.7,.2,1) both; }
.fakten { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 0; padding: 0; color: var(--gold-hell); letter-spacing: .14em; text-transform: uppercase; font-size: .88rem; text-shadow: 0 2px 12px rgba(0,0,0,.9); animation: aufstieg 1.3s .4s cubic-bezier(.2,.7,.2,1) both; }
.fakten li { position: relative; }
.fakten li + li::before { content: ""; position: absolute; left: -15px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--gold); transform: rotate(45deg); }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; animation: aufstieg 1.3s .55s cubic-bezier(.2,.7,.2,1) both; }
.bildhinweis { position: absolute; right: 14px; bottom: 12px; z-index: 2; padding: 1px 10px; border-radius: 999px; background: rgba(16,25,27,.6); color: var(--muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.runter { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--gold); border-radius: 14px; opacity: .8; }
.runter::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrollpunkt 1.8s ease-in-out infinite; }
.funken { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.funken i { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: #ffcf7a; box-shadow: 0 0 10px 2px rgba(255,170,60,.7); opacity: 0; animation: funke 9s linear infinite; }
.funken i:nth-child(1) { left: 12%; animation-delay: 0s; }
.funken i:nth-child(2) { left: 24%; animation-delay: 2.2s; animation-duration: 11s; }
.funken i:nth-child(3) { left: 37%; animation-delay: 4.1s; }
.funken i:nth-child(4) { left: 49%; animation-delay: 1.1s; animation-duration: 10s; }
.funken i:nth-child(5) { left: 61%; animation-delay: 5.6s; }
.funken i:nth-child(6) { left: 72%; animation-delay: 3.2s; animation-duration: 12s; }
.funken i:nth-child(7) { left: 83%; animation-delay: 6.8s; }
.funken i:nth-child(8) { left: 91%; animation-delay: 0.7s; animation-duration: 10s; }
@keyframes kamerafahrt { from { scale: 1; } to { scale: 1.08; } }
@keyframes aufstieg { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes scrollpunkt { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes funke { 0% { transform: translate(0, 0); opacity: 0; } 8% { opacity: .9; } 100% { transform: translate(34px, -78vh); opacity: 0; } }

/* ---------- Abschnitte ---------- */
.abschnitt { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.abschnitt .einleitung { max-width: 38em; margin: 0 0 34px; opacity: .92; }
.abschnitt.dunkel { background: linear-gradient(180deg, var(--ink), var(--moos) 14%, var(--moos) 86%, var(--ink)); }
.kopfblock { margin-bottom: 8px; }
.trenner { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto; width: min(100% - 32px, 1120px); height: 30px; color: var(--gold); opacity: .8; }
.trenner::before, .trenner::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.trenner::after { background: linear-gradient(270deg, transparent, var(--line)); }
.trenner i { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.sichtbar { opacity: 1; transform: none; }
.js .reveal.v2 { transition-delay: .12s; }
.js .reveal.v3 { transition-delay: .24s; }
.js .reveal.v4 { transition-delay: .36s; }
.ruhig .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Helden (Auswahl wie in Klassen-Menüs) ---------- */
.helden-wahl { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.held-tab { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(36,53,47,.55); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.held-tab:hover { border-color: var(--gold); transform: translateY(-2px); }
.held-tab[aria-selected="true"] { background: linear-gradient(180deg, rgba(132,45,52,.65), rgba(36,53,47,.8)); border-color: var(--gold); }
.held-tab .symbol { width: 30px; height: 30px; margin: 0; }
.held-panel { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(20px, 4vw, 52px); align-items: center; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(ellipse at 18% 40%, rgba(217,183,121,.14), transparent 60%), linear-gradient(160deg, #1f2f29, #18231f); }
.js .held-panel:not(.aktiv) { display: none; }
.held-panel.aktiv { animation: einblenden .5s ease both; }
@keyframes einblenden { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.held-bild { display: grid; place-items: center; min-height: 220px; }
.held-bild .symbol { width: min(100%, 190px); height: auto; filter: drop-shadow(0 0 22px rgba(217,183,121,.45)); }
.held-bild .symbol * { stroke-width: 1.4; }
.held-render { max-height: 380px; width: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.held-text h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 4px 0 8px; }
.held-text p { margin: 0 0 10px; max-width: 34em; }
.faehigkeiten { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 10px; padding: 0; list-style: none; }
.faehigkeiten li { display: flex; align-items: center; gap: 8px; padding: 4px 14px 4px 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(11,18,20,.4); font-size: 1rem; }
.faehigkeiten b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .92rem; }
.faehigkeiten .passiv b { background: var(--red); color: var(--ivory); }
.schwaeche { color: var(--muted); font-size: .98rem; font-style: italic; }

.symbol { width: 54px; height: 54px; margin-bottom: 8px; }
.symbol path, .symbol circle, .symbol line, .symbol polygon { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rolle { display: inline-block; margin-bottom: 8px; padding: 1px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold); font-size: .9rem; letter-spacing: .04em; }

/* ---------- Karten, Modi ---------- */
.karten, .modi { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.modi { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.karte { position: relative; background: linear-gradient(160deg, var(--pine), #1d2b27); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.karte:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.karte p { margin: 0 0 10px; }
.modi .karte { padding-top: 56px; }
.stand { position: absolute; top: 18px; left: 24px; padding: 1px 12px; border-radius: 999px; font-size: .82rem; letter-spacing: .05em; }
.stand.jetzt { background: rgba(110, 170, 100, .22); color: #bfe6b0; border: 1px solid rgba(110,170,100,.5); }
.stand.bald { background: rgba(217,183,121,.16); color: var(--gold); border: 1px solid var(--line); }

/* ---------- Einblicke: große Bühne mit Vorschau-Leiste ---------- */
.einblick { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--tief); box-shadow: 0 26px 70px rgba(0,0,0,.55); }
.slides { position: relative; }
.slide { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr); }
.js .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s; }
.js .slide.aktiv { position: relative; opacity: 1; visibility: visible; }
.slide-bild { position: relative; margin: 0; background: #000; }
.slide-bild img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.slide-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(20px, 3vw, 44px); background: linear-gradient(160deg, #14201d, #0e1618); border-left: 1px solid var(--line); }
.slide-text .eyebrow { margin-bottom: 4px; }
.slide-text h3 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 0 0 10px; }
.slide-text p { margin: 0 0 16px; }
.etikett { align-self: flex-start; padding: 1px 12px; border-radius: 999px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.etikett.spiel { background: rgba(110,170,100,.2); color: #cfeec3; border: 1px solid rgba(110,170,100,.5); }
.etikett.konzept { background: rgba(154,116,232,.18); color: #d9c8ff; border: 1px solid rgba(154,116,232,.5); }
.vorschau-leiste { display: flex; align-items: center; gap: 10px; padding: 0 12px; background: #0a1011; border-top: 1px solid var(--line); }
.vorschauen { flex: 1; min-width: 0; display: flex; gap: 8px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.vorschau { flex: 0 0 auto; width: clamp(96px, 12vw, 148px); padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s, transform .2s; }
.vorschau img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.vorschau:hover { opacity: 1; transform: translateY(-2px); }
.vorschau[aria-selected="true"] { opacity: 1; border-color: var(--gold); }
.pfeile { display: flex; gap: 8px; }
.pfeil { flex: none; width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; background: rgba(16,25,27,.6); color: var(--gold); font-size: 1.3rem; cursor: pointer; transition: background .2s, color .2s; }
.pfeil:hover { background: var(--gold); color: var(--ink); }

/* ---------- Fahrplan ---------- */
.zeit { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(4, 1fr); position: relative; }
.zeit::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(217,183,121,.12)); }
.zeit li { position: relative; padding-top: 34px; }
.zeit li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); }
.zeit li.jetzt::before { background: var(--gold); box-shadow: 0 0 0 7px rgba(217,183,121,.2); }
.zeit h3 { font-size: 1.5rem; margin: 0 0 6px; }
.zeit p { margin: 0; font-size: 1.02rem; }

/* ---------- Einladung ---------- */
.einladung { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--gold); border-radius: 16px; background: radial-gradient(ellipse at 15% 0%, rgba(132,45,52,.4), transparent 60%), linear-gradient(135deg, var(--pine), var(--ink)); box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.einladung h2 { margin-top: 0; }
.einladung p { margin: 0 0 16px; max-width: 36em; }
.einladung .knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }
.einladung .hinweis { margin: 18px 0 0; }

/* ---------- Fußleiste ---------- */
.fuss { border-top: 1px solid var(--line); background: var(--tief); padding: 36px 0 44px; color: var(--muted); font-size: 1rem; }
.fuss a { margin-right: 16px; }
.fuss .klein { display: block; margin-top: 10px; font-size: .92rem; max-width: 48em; }
.fuss-raster { display: grid; grid-template-columns: auto 1fr; gap: 20px 48px; align-items: center; }
.fuss-raster img { display: block; height: 52px; width: auto; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 960px) {
  .slide { grid-template-columns: 1fr; }
  .slide-text { border-left: 0; border-top: 1px solid var(--line); }
  .zeit { grid-template-columns: 1fr; padding-left: 30px; }
  .zeit::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold), rgba(217,183,121,.12)); }
  .zeit li { padding-top: 0; }
  .zeit li::before { left: -30px; top: 5px; }
  .held-panel { grid-template-columns: 1fr; }
  .held-bild { min-height: 150px; }
  .held-bild .symbol { width: 120px; }
  .turm-render, .wanderer { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 1.05rem; }
    .nav img { height: 38px; }
  .hero { padding: 92px 16px 110px; }
  .buehne { grid-template-columns: 1fr; padding-top: 80px; }
  .js .buehne { grid-template-rows: auto 1fr; gap: 10px; padding-top: 58px; }
  .js .buehne .karte-feld { order: -1; }
  .karte-feld svg { max-height: 44svh; width: auto; margin-inline: auto; }
  .js .stationen { min-height: 0; }
  .station h2 { font-size: 1.8rem; }
  .modi .karte { padding-top: 52px; }
  .fuss-raster { grid-template-columns: 1fr; }
  .held-tab span { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo, .hero .lead, .fakten, .hero-knoepfe, .hero-bild { animation: none; }
  .funken { display: none; }
}

/* ================= Mehrseiten-Rahmen (Seitenkopf, Menü-Marke, Teaser, Modi, Türme, Tester) ================= */
.nav-marke { display: flex; align-items: center; gap: 12px; text-decoration: none; opacity: 1 !important; }
.nav-banner { height: 40px; width: auto; display: block; filter: drop-shadow(0 3px 8px rgba(0,0,0,.6)); }
.nav-text { display: flex; align-items: center; gap: 14px; }
.nav-wort { height: 28px; width: auto; display: block; }
.nav .nav-banner { height: 40px; }
.nav .nav-wort { height: 28px; }
.nav a[aria-current="page"] { color: var(--gold); opacity: 1; box-shadow: 0 2px 0 var(--gold); }
.nav .nav-cta a[aria-current="page"] { background: var(--gold); color: var(--ink); box-shadow: none; }

.seitenkopf { position: relative; isolation: isolate; overflow: hidden; padding: clamp(118px, 18vh, 170px) 0 clamp(40px, 7vh, 72px); border-bottom: 1px solid var(--line); background: var(--tief); }
.seitenkopf::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--kopfbild, none) center 35% / cover no-repeat; filter: saturate(1.05) brightness(.62); }
.seitenkopf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 20% 100%, rgba(11,18,20,.2), rgba(11,18,20,.75)), linear-gradient(180deg, rgba(11,18,20,.4), rgba(16,25,27,.92)); }
.seitenkopf h1 { font-size: clamp(2.3rem, 6.4vw, 4.2rem); margin: 0 0 .15em; text-shadow: 0 4px 24px rgba(0,0,0,.7); }
.seitenkopf-text { max-width: 36em; margin: 0; font-size: clamp(1.1rem, 2.3vw, 1.3rem); text-shadow: 0 2px 14px rgba(0,0,0,.8); }
.kopfbild-hero { --kopfbild: url("/img/hero.webp"); }
.kopfbild-szene-lane { --kopfbild: url("/img/szene-lane.webp"); }
.kopfbild-szene-titel { --kopfbild: url("/img/szene-titel.webp"); }
.kopfbild-konzept-kammer { --kopfbild: url("/img/konzept-kammer.webp"); }
.kopfbild-konzept-ruine { --kopfbild: url("/img/konzept-ruine.webp"); }
.kopfbild-konzept-karte { --kopfbild: url("/img/konzept-karte.webp"); }
.kopfbild-konzept-bosse { --kopfbild: url("/img/konzept-bosse.webp"); }
.kopfbild-szene-burg { --kopfbild: url("/img/szene-burg.webp"); }

.teaser { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.teaser-karte { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--pine), #1a2723); color: var(--ivory); text-decoration: none; transition: transform .3s, border-color .3s, box-shadow .3s; }
.teaser-karte:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 16px 44px rgba(0,0,0,.5); color: var(--ivory); }
.teaser-karte img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.teaser-karte:hover img { transform: scale(1.06); }
.teaser-karte { overflow: hidden; }
.teaser-text { display: block; padding: 18px 20px 22px; }
.teaser-text h3 { margin: 0 0 6px; }
.teaser-text p { margin: 0; font-size: 1.02rem; opacity: .92; }

.gefuehl { position: relative; padding: clamp(70px, 11vw, 150px) 0; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(132,45,52,.28), transparent 60%), var(--tief); }
.gefuehl blockquote { margin: 0 auto; max-width: 28em; font-family: "Pirata One", Georgia, serif; font-size: clamp(1.8rem, 5vw, 3.1rem); line-height: 1.2; color: var(--gold-hell); text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.gefuehl p { max-width: 34em; margin: 22px auto 0; opacity: .92; }

/* Spielmodi: jeder Modus einzeln erklärt */
.modus { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 64px) 0; }
.modus + .modus { border-top: 1px solid var(--line); }
.modus:nth-child(even) .modus-bild { order: 2; }
.modus-bild { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 22px 60px rgba(0,0,0,.5); }
.modus-bild img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.modus-bild .etikett { position: absolute; left: 12px; top: 12px; }
.modus-text .stand { position: static; display: inline-block; margin-bottom: 10px; }
.modus-text h2 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 0 0 6px; }
.modus-text .kurz { margin: 0 0 14px; font-size: 1.15rem; color: var(--gold-hell); }
.modus-text ul { margin: 0 0 14px; padding: 0; list-style: none; }
.modus-text li { position: relative; margin: 0 0 8px; padding-left: 26px; }
.modus-text li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.modus-text .fuer { margin: 0; color: var(--muted); font-size: 1rem; }
.stand.spaeter { background: rgba(243,232,208,.08); color: var(--muted); border: 1px solid rgba(243,232,208,.2); }

/* Türme: Familien und ihre Entwicklung */
.turm-familien { display: grid; gap: 22px; }
.turm-familie { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(18px, 3vw, 40px); align-items: center; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, #1f2f29, #18231f); }
.turm-familie h3 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 0 0 4px; }
.turm-familie .rolle { margin-bottom: 10px; }
.turm-familie p { margin: 0 0 8px; }
.turm-familie .zweige { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.turm-familie .zweige li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(11,18,20,.4); font-size: 1rem; }
.turm-familie .zweige b { color: var(--gold); font-weight: 600; }
.rang-leiter { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.rang-leiter .stufe-turm { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); }
.rang-leiter svg { width: 100%; max-width: 54px; height: auto; display: block; }
.rang-leiter .sockel { fill: #44564c; stroke: var(--gold); stroke-width: 1.4; }
.rang-leiter .dach { stroke: #10191b; stroke-width: 1.5; }
.rang-leiter .ring { opacity: 1; stroke: #ffe3a1; stroke-width: 2; fill: none; }
.rang-leiter .ring.fein { stroke-dasharray: 3 3; }
.rang-leiter .stufe-turm:last-child { color: var(--gold-hell); }
.turm-prinzip { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin: 0 0 34px; }
.turm-prinzip .karte { padding: 20px 22px; }
.turm-prinzip .karte b { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 8px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: "Pirata One", Georgia, serif; font-size: 1.25rem; }

/* Tester werden */
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.tester-info h2 { margin-bottom: 18px; }
.schritte { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 16px; }
.schritte li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.schritte b { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: "Pirata One", Georgia, serif; font-size: 1.5rem; background: rgba(217,183,121,.08); }
.schritte h3 { margin: 0 0 2px; font-size: 1.5rem; }
.schritte p { margin: 0; }
.formkarte { position: sticky; top: 90px; }
.haken { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; cursor: pointer; color: var(--ivory); }
.haken input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--gold); }
.nda-box { margin-top: 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(11,18,20,.4); }
.nda-box summary { padding: 12px 16px; cursor: pointer; color: var(--gold); }
.nda-text { max-height: 260px; overflow-y: auto; padding: 0 16px 8px; font-size: 1rem; }
.nda-text h3 { font-size: 1.25rem; margin: 14px 0 4px; }
.nda-text p, .nda-text li { margin: 0 0 8px; }
.nda-box .hinweis { padding: 0 16px 12px; margin: 0; }
.meldung { margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; background: rgba(110,170,100,.18); border: 1px solid rgba(110,170,100,.5); }
.meldung.fehler { background: rgba(166,58,67,.2); border-color: rgba(166,58,67,.6); }
button:disabled, .knopf:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.knopf.klein { padding: 6px 16px; font-size: 1rem; }
.grossercode { display: inline-block; padding: 8px 14px; border: 1px dashed var(--gold); border-radius: 8px; font-size: 1.35rem; letter-spacing: .06em; color: var(--gold-hell); word-break: break-all; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 6px 4px; margin-bottom: 10px; }
.fuss-links a { margin-right: 14px; }

/* Wischen statt Verstecken: Vorschauleiste und Heldenwahl auf schmalen Geräten */
.vorschauen, .helden-wahl { scroll-snap-type: x proximity; }
.vorschau, .held-tab { scroll-snap-align: center; }

/* ---------- Tablet (bis 1100 px) ---------- */
@media (max-width: 1100px) {
  .teaser { grid-template-columns: repeat(2, 1fr); }
  .turm-prinzip { grid-template-columns: 1fr; }
  .zweispaltig { grid-template-columns: 1fr; }
  .formkarte { position: static; }
}
/* ---------- Handy und kleines Tablet (bis 860 px) ---------- */
@media (max-width: 860px) {
  .modus { grid-template-columns: 1fr; }
  .modus:nth-child(even) .modus-bild { order: 0; }
  .turm-familie { grid-template-columns: 1fr; }
  .nav-text { flex-direction: column; align-items: flex-start; gap: 1px; }
  .nav-wort { height: 24px; }
  .nav .nav-wort { height: 24px; }
  .nav .nav-banner { height: 36px; }
  .nav-marke { gap: 10px; }
}
@media (max-width: 560px) {
  .teaser { grid-template-columns: 1fr; }
  .seitenkopf { padding-top: 104px; }
  .knopf { padding: 14px 22px; width: 100%; text-align: center; }
  .hero-knoepfe, .einladung .knoepfe { flex-direction: column; align-items: stretch; width: min(100%, 360px); }
  .nav .nav-cta a { padding: 8px 12px; font-size: .95rem; }
  .karte { padding: 20px; }
  .schritte li { grid-template-columns: 38px 1fr; gap: 12px; }
  .schritte b { width: 38px; height: 38px; font-size: 1.3rem; }
  .rang-leiter { gap: 2px; }
}

/* Türme mit echten Renders */
.rang-leiter { align-items: flex-end; justify-content: center; gap: clamp(10px, 2vw, 22px); min-height: 220px; }
.rang-leiter .stufe-turm { flex: 0 1 auto; }
.turm-bild { display: block; height: 190px; width: auto; max-width: 100%; filter: drop-shadow(0 14px 18px rgba(0,0,0,.55)); }
.stufe-turm.r3 .turm-bild { height: 205px; }
.stufe-turm.r5 .turm-bild { height: 245px; }
.stufe-turm span { font-family: "Pirata One", Georgia, serif; font-size: 1.3rem; color: var(--gold); }
.turm-familie { grid-template-columns: minmax(240px, 380px) 1fr; }
.turm-familie.f-bogen { border-left: 4px solid #6a9c58; }
.turm-familie.f-armbrust { border-left: 4px solid #b3834a; }
.turm-familie.f-schleuder { border-left: 4px solid #bb5f52; }
.turm-familie.f-magie { border-left: 4px solid #8a6fd1; }
.turm-familie.f-rune { border-left: 4px solid #4f97ba; }
.held-render { max-height: 440px; }

/* ---------- Menü: Burger auf Tablet und Handy ---------- */
.nav-knopf { display: none; width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 8px; background: rgba(16,25,27,.7); cursor: pointer; position: relative; }
.nav-knopf span, .nav-knopf::before, .nav-knopf::after { content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--gold); border-radius: 1px; transition: transform .25s, opacity .25s, top .25s; }
.nav-knopf::before { top: 15px; }
.nav-knopf span { top: 22px; }
.nav-knopf::after { top: 29px; }
.nav.offen .nav-knopf::before { top: 22px; transform: rotate(45deg); }
.nav.offen .nav-knopf::after { top: 22px; transform: rotate(-45deg); }
.nav.offen .nav-knopf span { opacity: 0; }
.nav .nav-cta a { white-space: nowrap; }
@media (max-width: 960px) {
  .js .nav-knopf { display: block; }
  .js .nav > ul { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 22px; background: rgba(11,18,20,.98); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0,0,0,.55); }
  .js .nav.offen > ul { display: flex; }
  .js .nav ul li a { display: block; padding: 15px 4px; font-size: 1.25rem; border-bottom: 1px solid rgba(217,183,121,.14); box-shadow: none !important; }
  .js .nav ul li.nav-cta { margin-top: 14px; }
  .js .nav ul li.nav-cta a { text-align: center; border-bottom: 1px solid var(--gold); padding: 14px; }
  html:not(.js) .nav { flex-wrap: wrap; }
  html:not(.js) .nav ul { flex-wrap: wrap; gap: 6px 16px; }
  .nav { background: rgba(11,18,20,.92); }
}

/* ---------- Reise: echte Spielbilder, der Bogenschütze wandert daneben ---------- */
.reise { padding: clamp(64px, 9vw, 120px) 0; }
.reise-bahn { position: relative; --held-h: 112px; --rand: 64px; padding: 0 0 0 var(--rand); }
.reise-weg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.reise-linie { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 13; opacity: .55; }
.reise-held { position: absolute; left: 0; top: 0; height: var(--held-h); width: auto; visibility: hidden; pointer-events: none; filter: drop-shadow(0 10px 12px rgba(0,0,0,.55)); will-change: transform; }
.reise-held.bereit { visibility: visible; }
.reise-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(46px, 8vw, 100px); }
@media (min-width: 1000px) {
  .reise-bahn { --held-h: clamp(120px, 13vw, 168px); --rand: clamp(64px, 8.5vw, 110px); padding: 0 var(--rand); }
  .reise-schritte { gap: calc(var(--held-h) + 52px); }
}
.schritt { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(18px, 4vw, 52px); align-items: center; }
.schritt-bild { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 22px 60px rgba(0,0,0,.5); background: #000; }
.schritt-bild img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.schritt-bild .etikett { position: absolute; left: 12px; top: 12px; }
.schritt-text .nr { color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-size: .88rem; }
.schritt-text h3 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 4px 0 10px; }
.schritt-text p { margin: 0 0 12px; max-width: 30em; }
.schritt-text .merk { color: var(--muted); font-size: 1rem; }
.schritt-turm { display: flex; align-items: flex-end; gap: 12px; margin: 14px 0 0; }
.schritt-turm .turm-bild { height: 120px; }
.schritt-turm figcaption { padding-bottom: 6px; font-family: "Pirata One", Georgia, serif; font-size: 1.3rem; color: var(--gold); }

/* Kopf-Renders: ein Turm rechts im Seitenkopf, nur wo Platz ist */
.kopf-render { position: absolute; right: max(16px, calc((100% - 1120px) / 2)); bottom: -6px; z-index: 0; height: min(86%, 300px); width: auto; filter: drop-shadow(0 16px 22px rgba(0,0,0,.6)); pointer-events: none; }
.seitenkopf > .huelle { position: relative; z-index: 1; }
@media (max-width: 1000px) { .kopf-render { display: none; } }

@media (max-width: 860px) {
  .schritt { grid-template-columns: 1fr; }
  .schritt-turm .turm-bild { height: 96px; }
}
@media (prefers-reduced-motion: reduce) { .reise-held { display: none; } }

/* Das Spiel in vier Teilen (Startseite) */
.vier-teile { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.vier-teile .karte { padding-top: 58px; }
.vier-teile .karte p { font-size: 1.02rem; }
@media (max-width: 1100px) { .vier-teile { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vier-teile { grid-template-columns: 1fr; } }

/* Labyrinth: Türme wachsen nacheinander auf der Lane, die Monster laufen den Weg ab */
.schritt-bild .labyrinth { position: relative; aspect-ratio: 1500 / 844; background: #1b2a16; }
.schritt-bild .labyrinth img.lab-grund { position: absolute; left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: fill; }
.lab-weg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease .2s; pointer-events: none; }
.labyrinth.aktiv .lab-weg { opacity: 1; }
.lab-pfad { fill: none; stroke: #ffe3a1; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30 26; opacity: .85; filter: drop-shadow(0 0 4px rgba(0,0,0,.55)); }
.lab-monster { fill: #e0553d; stroke: #3a120c; stroke-width: 4; }
.schritt-bild .labyrinth img.lab-turm { position: absolute; width: 10%; height: auto; aspect-ratio: auto; object-fit: contain; opacity: 0; transform: translate(-50%, -100%) translateY(-22px) scale(.82); transform-origin: 50% 100%;
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, 1.4, .4, 1); filter: drop-shadow(0 6px 6px rgba(0,0,0,.4)); }
.schritt-bild .labyrinth img.lab-turm.da { opacity: 1; transform: translate(-50%, -100%); }
.etikett.illu { background: rgba(217,183,121,.18); color: var(--gold-hell); border: 1px solid rgba(217,183,121,.5); }
.ruhig .lab-weg { transition: none; }

/* „PvP“ und die römische V lesen sich in der Zierschrift wie „PoP“ und „U“: diese Buchstaben setzen wir in der Textschrift */
.grot, .stufe-turm .grot, .schritt-turm .grot { font-family: "Barlow Semi Condensed", "Arial Narrow", sans-serif; font-weight: 600; letter-spacing: .03em; font-size: .86em; }

/* Türme: ein Bild je Familie, das auch auf dem Handy trägt */
.rang-leiter { min-height: 0; justify-content: center; }
.rang-leiter .stufe-turm .turm-bild { height: auto; width: auto; max-width: min(100%, 340px); max-height: clamp(180px, 34vw, 270px); }
.stufe-turm.r5 .turm-bild { height: auto; }
.rang-leiter .stufe-turm { align-items: center; }
.stufe-turm .grot, .schritt-turm .grot { font-size: 1em; }
/* Türme auf Tablet und Handy: Bild über dem Text (die zweispaltige Regel oben stand nach der Medienabfrage und hat sie überstimmt) */
@media (max-width: 860px) {
  .turm-familie { grid-template-columns: 1fr; }
  .rang-leiter { min-height: 0; }
}
/* Lange Codes und Prüfsummen brechen um, statt die Seite breiter zu machen */
code { overflow-wrap: anywhere; }
pre { max-width: 100%; overflow-x: auto; }

/* Gleiche Breite auf allen Seiten und Fuß am Seitenende, größer und in Spalten (Jan, 30.10.2026) */
html { overflow-y: scroll; }   /* Bildlaufleiste immer da: kurze und lange Seiten haben dieselbe Breite, das Menü springt nicht */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.fuss { margin-top: auto; padding: clamp(48px, 7vw, 84px) 0 28px; background: linear-gradient(180deg, #0c1416, #080e11); }
.fuss-raster { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px clamp(24px, 4vw, 56px); align-items: start; }
.fuss-marke img, .fuss-raster .fuss-marke img { display: block; width: min(260px, 100%); height: auto; }
.fuss-marke p { margin: 14px 0 0; max-width: 20em; color: var(--muted); }
.fuss-spalte { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.fuss-spalte h4, .fuss-spalte .fuss-titel { margin: 0 0 6px; font: 400 1.5rem/1.1 "Pirata One", Georgia, serif; color: var(--gold); }
.fuss .fuss-spalte a { margin: 0; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(32px, 5vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); font-size: .95rem; }
.fuss-unten .klein { display: block; margin: 0; max-width: 48em; }
@media (max-width: 860px) {
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
}

/* Welt (Lore) */
.welt-block { padding: clamp(32px, 5vw, 64px) 0; }
.welt-block + .welt-block, .welt-block + .modus, .modus + .welt-block { border-top: 1px solid var(--line); }
.welt-block h2 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 0 0 12px; }
.welt-lead { max-width: 42em; margin: 0 0 18px; font-size: 1.15rem; }
.welt-note { max-width: 46em; margin: 8px 0 0; color: var(--muted); }
.welt-note .stand { position: static; display: inline-block; margin-right: 8px; }
.zitat { margin: 26px 0 0; padding: 14px 0 14px 22px; border-left: 3px solid var(--gold); font-family: "Pirata One", Georgia, serif; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.2; color: var(--gold-hell); }
.gott-karten { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); margin: 26px 0 20px; }
.gott-karten .karte h3 { margin: 0 0 8px; font-size: 1.7rem; }
.gott-karten .karte p { margin: 0; }
.farben { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.farben li { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(11, 18, 20, .55); }
.farben i { width: 18px; height: 18px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12); }
.farben .blau i { background: #4f97ba; }
.farben .violett i { background: #8a6fd1; }
.farben .blaugruen i { background: #2aa79b; }
.welt-block.zweispaltig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); }
.welt-block.zweispaltig h2 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); }
.welt-block .merk { color: var(--muted); }
.modus-text .horchen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; margin-bottom: 0; }
.modus-text .horchen b { color: var(--gold); font-weight: 600; margin-right: 6px; }
@media (max-width: 1000px) {
  .gott-karten { grid-template-columns: repeat(2, 1fr); }
  .teaser { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) { .welt-block.zweispaltig { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .gott-karten { grid-template-columns: 1fr; }
  .teaser { grid-template-columns: 1fr; }
  .modus-text .horchen { grid-template-columns: 1fr; }
}
/* Helden: Stärken, Schwächen und ein Satz am Lagerfeuer */
.held-gegen { display: grid; gap: 4px; margin: 14px 0 8px; }
.held-gegen b { color: var(--gold); font-weight: 600; margin-right: 6px; }
.held-tipp b { color: var(--gold); font-weight: 600; margin-right: 6px; }
.held-zitat { margin: 14px 0 0; padding-left: 14px; border-left: 3px solid var(--gold); font-family: "Pirata One", Georgia, serif; font-size: 1.5rem; line-height: 1.25; color: var(--gold-hell); }

/* Warteliste, Steam-Hinweis und Datenschutz-Hinweis */
.zwei-karten { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.zwei-karten h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 0 0 10px; }
.steam-karte { position: relative; padding: 28px 26px; }
.steam-karte .stand { position: static; display: inline-block; margin-bottom: 10px; }
.honig { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.formular input[type="email"] { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(11, 18, 20, .6); color: var(--ivory); font: inherit; }
.formular input[type="email"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 860px) { .zwei-karten { grid-template-columns: 1fr; } }
.hinweisleiste { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 780px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 18px; border: 1px solid var(--gold); border-radius: 12px; background: rgba(16, 25, 27, .97); box-shadow: 0 14px 40px rgba(0, 0, 0, .55); }
.hinweisleiste p { flex: 1 1 320px; margin: 0; font-size: 1rem; line-height: 1.45; }
.hinweis-knoepfe { display: flex; align-items: center; gap: 16px; }
.linkknopf { padding: 0; border: 0; background: none; color: var(--gold); font: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.linkknopf:hover { color: var(--ivory); }

/* Sprachwahl im Menü */
.nav .sprachwahl { position: relative; }
.nav .sprachwahl summary { list-style: none; cursor: pointer; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ivory); font-size: .9rem; letter-spacing: .08em; opacity: .9; }
.nav .sprachwahl summary::-webkit-details-marker { display: none; }
.nav .sprachwahl summary:hover, .nav .sprachwahl[open] summary { border-color: var(--gold); color: var(--gold); opacity: 1; }
.nav .sprachwahl ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; margin: 0; padding: 6px; display: grid; gap: 2px; flex-direction: column; background: rgba(16, 25, 27, .98); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.nav .sprachwahl ul a { display: block; padding: 7px 12px; border-radius: 4px; white-space: nowrap; }
.nav .sprachwahl ul a[aria-current="true"] { color: var(--gold); }
@media (max-width: 960px) {
  .nav .sprachwahl ul { position: static; min-width: 0; margin-top: 8px; box-shadow: none; background: none; border: 0; padding: 0; }
}

/* Häufige Fragen */
.faq { max-width: 52em; }
.faq details { margin: 0 0 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(11, 18, 20, .45); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 600; color: var(--gold-hell); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.faq details p { margin: 0; padding: 0 18px 16px; }

/* Sprunglink für Tastatur und Vorlesegeräte */
.sprung { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--gold, #e4be78); color: #10191b; font-weight: 700; border-radius: 4px; text-decoration: none; }
.sprung:focus { top: 12px; }

/* Kopfmenü: kein Zeilenumbruch, Untermenü „Spiel“ (Tastatur: Enter/Leertaste öffnet, Pfeil nach unten springt hinein, Esc schließt) */
.nav ul li a, .nav .nav-gruppe-knopf, .nav .sprachwahl summary { white-space: nowrap; }
.nav .nav-gruppe { position: relative; }
.nav .nav-gruppe-knopf { font: inherit; letter-spacing: inherit; color: var(--ivory); background: none; border: 0; padding: 4px 0; cursor: pointer; opacity: .88; display: inline-flex; align-items: center; gap: 7px; }
.nav .nav-gruppe-knopf::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav .nav-gruppe.offen .nav-gruppe-knopf::after { transform: translateY(1px) rotate(225deg); }
.nav .nav-gruppe-knopf:hover, .nav .nav-gruppe.offen .nav-gruppe-knopf { color: var(--gold); opacity: 1; }
.nav .nav-gruppe-knopf.aktiv { color: var(--gold); opacity: 1; box-shadow: 0 2px 0 var(--gold); }
.nav .nav-gruppe-knopf:focus-visible, .nav .nav-gruppe-liste a:focus-visible, .nav .sprachwahl summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.nav .nav-gruppe-liste { display: none; position: absolute; left: -14px; top: calc(100% + 12px); min-width: 210px; margin: 0; padding: 6px; flex-direction: column; align-items: stretch; gap: 2px; background: rgba(16, 25, 27, .98); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.nav .nav-gruppe-liste::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav .nav-gruppe.offen .nav-gruppe-liste { display: flex; }
@media (hover: hover) and (pointer: fine) { .nav .nav-gruppe:hover .nav-gruppe-liste { display: flex; } }
.nav .nav-gruppe-liste a { display: block; padding: 9px 14px; border-radius: 4px; }
.nav .nav-gruppe-liste a:hover { background: rgba(217, 183, 121, .12); }
.nav .nav-gruppe-liste a[aria-current="page"] { box-shadow: none; background: rgba(217, 183, 121, .16); }
@media (max-width: 960px) {
  .js .nav .nav-gruppe-knopf { display: flex; width: 100%; justify-content: space-between; padding: 15px 4px; font-size: 1.25rem; border-bottom: 1px solid rgba(217, 183, 121, .14); box-shadow: none; }
  .js .nav .nav-gruppe-liste { position: static; min-width: 0; padding: 0 0 0 14px; background: none; border: 0; box-shadow: none; }
  .js .nav .nav-gruppe-liste::before { display: none; }
  .js .nav .nav-gruppe:hover:not(.offen) .nav-gruppe-liste { display: none; }
  .js .nav .nav-gruppe-liste a { font-size: 1.1rem; padding: 13px 4px; }
}
/* Ohne Skript: Untermenü als flache Zeile mit allen Punkten */
html:not(.js) .nav .nav-gruppe, html:not(.js) .nav .nav-gruppe-liste { display: contents; }
html:not(.js) .nav .nav-gruppe-knopf { display: none; }

/* „Tester werden“ im Kopfmenü: gefüllter Goldknopf mit ruhigem Puls, damit er als Erstes ins Auge fällt */
.nav .nav-cta a {
  background: linear-gradient(180deg, var(--gold-hell, #f0d596), var(--gold));
  color: #10191b; border-color: var(--gold-hell, #f0d596); font-weight: 600; letter-spacing: .05em; padding: 8px 18px;
  box-shadow: 0 4px 14px rgba(217, 183, 121, .35); animation: cta-puls 2.8s ease-in-out infinite;
  transition: transform .15s, background .2s;
}
.nav .nav-cta a:hover { background: #fff1cc; color: #10191b; transform: translateY(-1px); }
.nav .nav-cta a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.nav .nav-cta a[aria-current="page"] { animation: none; box-shadow: 0 4px 14px rgba(217, 183, 121, .35); }
@keyframes cta-puls {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 213, 150, .55), 0 4px 14px rgba(217, 183, 121, .35); }
  60% { box-shadow: 0 0 0 10px rgba(240, 213, 150, 0), 0 4px 14px rgba(217, 183, 121, .35); }
}
@media (prefers-reduced-motion: reduce) { .nav .nav-cta a { animation: none; } }

/* Mobiles Menü: höchstens so hoch wie der Bildschirm, darin scrollbar (Tester-Knopf und Sprachwahl bleiben erreichbar, auch bei 320 x 568 px) */
@media (max-width: 960px) {
  .js .nav > ul { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
}
/* Stand der Alpha im Einstieg */
.hero-stand { margin: 0 0 14px; text-align: center; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hell, #f0d596); text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
/* Datenschutz-Hinweis: kompakt unten links, verdeckt die Einstiegsknöpfe nicht */
.hinweisleiste { left: 16px; right: auto; bottom: 14px; max-width: 430px; margin-inline: 0; padding: 10px 14px; gap: 8px 14px; border-radius: 10px; }
.hinweisleiste p { flex: 1 1 220px; font-size: .88rem; line-height: 1.35; }
.hinweisleiste .knopf.klein { padding: 7px 14px; font-size: .9rem; }
@media (max-width: 560px) { .hinweisleiste { left: 10px; right: 10px; max-width: none; bottom: 10px; } }
/* Bei offenem Handy-Menü verdeckt der Datenschutz-Hinweis nichts */
.menue-offen .hinweisleiste { display: none; }

/* Startseite gestrafft: echtes Gefecht gleich unter dem Einstieg, kürzerer Weg des wandernden Helden */
.gefecht { padding: clamp(44px, 6vw, 84px) 0 clamp(20px, 3vw, 40px); }
.gefecht-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 52px); align-items: center; }
.gefecht-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 4px 0 12px; }
.gefecht-text p { max-width: 32em; }
.gefecht-text .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (max-width: 860px) { .gefecht-raster { grid-template-columns: 1fr; } }
.reise { padding: clamp(40px, 5.5vw, 76px) 0; }
.reise-schritte { gap: clamp(34px, 5.5vw, 64px); }
@media (min-width: 1000px) {
  .reise-bahn { --held-h: clamp(100px, 10.5vw, 136px); --rand: clamp(56px, 7vw, 92px); }
  .reise-schritte { gap: calc(var(--held-h) + 30px); }
}

/* Devlog */
.postliste { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; max-width: 52em; }
.postliste li { padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11, 18, 20, .45); }
.postliste time { color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; }
.postliste h2 { margin: 4px 0 6px; font-size: 1.7rem; }
.postliste h2 a { color: var(--ivory); text-decoration: none; }
.postliste h2 a:hover { color: var(--gold); }
.postliste p { margin: 0; }
.beitrag h2 { margin-top: 1.6em; }
.beitrag h2:first-child { margin-top: 0; }
.gefecht-bild img { aspect-ratio: 16 / 9; }
