/* ==========================================================================
   MysticAttack · Stylesheet (Fassung 2, redaktionell)
   Palette aus home.mysticattack.de: night #0a0612 · panel #18102b
   violet #9b6cff · teal #36e0c8. Gold nur noch als Detailfarbe.
   Grundsätze: flache Flächen, 1px-Haarlinien statt Glow, eine Akzentfarbe,
   kein Farbverlauf in Text, zwei Schriftrollen (Cinzel = Überschriften,
   Inter = alles andere, EB Garamond nur für die Erzählpassagen).
   ========================================================================== */

:root {
  --bg:          #08060e;
  --bg-soft:     #0b0814;
  --surface:     #100c1b;
  --surface-2:   #151020;

  --line:        rgba(236, 232, 246, 0.09);
  --line-2:      rgba(236, 232, 246, 0.16);
  --line-strong: rgba(155, 108, 255, 0.38);

  --text:        #ece8f6;
  --muted:       #a9a0bd;
  --dim:         #7f7794;

  --violet:      #9b6cff;
  --violet-d:    #7a4ce0;
  --teal:        #35d6bf;
  --gold:        #e8b45f;

  --wrap:        1200px;
  --pad:         clamp(20px, 4vw, 40px);
  --sec:         clamp(56px, 7vw, 100px);

  --radius:      10px;
  --radius-sm:   7px;

  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-logo:    'Cinzel Decorative', 'Cinzel', serif;
  --font-lore:    'EB Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: #6ceae0; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 3px;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h3, h4 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
  margin: 0 0 0.45em;
  text-wrap: pretty;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--violet);
  color: #0a0614;
  padding: 10px 16px;
  font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

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

/* ==========================================================================
   Kopfzeile
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 6, 14, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-logo);
  font-size: 1.02rem;
  letter-spacing: 0.09em;
  color: var(--text);
  margin-right: auto;
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand__marke { color: var(--violet); flex: 0 0 auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav__links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__links a:hover {
  color: var(--text);
  border-bottom-color: var(--line-2);
}
.nav__links a.nav__discord { color: var(--teal); }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav__toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__toggle.ist-offen span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.ist-offen span:nth-child(2) { opacity: 0; }
.nav__toggle.ist-offen span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   Knöpfe
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--haupt {
  background: var(--violet);
  color: #0b0715;
}
.btn--haupt:hover { background: #ae86ff; color: #0b0715; }

.btn--zweit {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text);
}
.btn--zweit:hover { border-color: var(--muted); color: var(--text); }

.btn--klein { min-height: 38px; padding: 8px 12px; font-size: 0.84rem; }

/* Kopierzeile: Wert links, Aktion rechts */
.kopierzeile {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.kopierzeile__text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 10px 14px;
  min-width: 0;
}
.kopierzeile__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
}
.kopierzeile__wert {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  color: var(--text);
  overflow-wrap: anywhere;
}
.kopierzeile__knopf {
  flex: 0 0 auto;
  min-width: 96px;
  border: 0;
  border-left: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.kopierzeile__knopf:hover { background: #1b1528; color: var(--text); }
.kopierzeile__knopf.ist-kopiert { background: rgba(53, 214, 191, 0.14); color: var(--teal); }
.kopierzeile__knopf.ist-fehler { background: rgba(232, 120, 120, 0.14); color: #e87878; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(44px, 6vw, 84px) clamp(36px, 5vw, 64px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}

.hero__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 18px;
}
.hero__kicker .punkt {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex: 0 0 auto;
}

.hero h1 {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
  color: var(--text);
}

.hero__lede {
  font-size: clamp(1rem, 1.25vw, 1.09rem);
  line-height: 1.66;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 26px;
}

.hero__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero__meta {
  font-size: 0.84rem;
  color: var(--dim);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.hero__meta span.trenner { color: var(--line-2); }

/* Szenenbild als gerahmte Abbildung */
.hero__bild {
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.hero__bild img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 62% 58%;
}
.hero__bild figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--dim);
}

/* ==========================================================================
   Statusleiste
   ========================================================================== */

.strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.strip__item {
  padding: 16px 0;
  padding-inline: 22px;
  border-left: 1px solid var(--line);
}
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 3px;
}
.strip__wert {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.strip__wert .punkt {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

/* ==========================================================================
   Abschnitte und redaktionelles Zweispalt-Layout
   ========================================================================== */

.section { padding-block: var(--sec); border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 336px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.kopf__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 10px;
}
.kopf h2 {
  font-size: clamp(1.32rem, 2.1vw, 1.68rem);
  margin: 0 0 12px;
}
.kopf__lede {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Erzählpassagen: Kapitel als Zeilen mit Nummer */
.kapitel {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 32px);
  align-items: start;
}
.kapitel:first-child { border-top: 0; padding-top: 0; }
.kapitel:last-child { padding-bottom: 0; }

.kapitel p.kapitel__nr {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 4px;
  white-space: nowrap;
  margin: 0;
}
.kapitel h3 {
  font-size: 1.02rem;
  margin: 0 0 7px;
}
.kapitel p {
  font-family: var(--font-lore);
  font-size: 1.04rem;
  line-height: 1.6;
  color: #d9d3e6;
  max-width: 64ch;
}
.kapitel .zitat-zeile {
  font-family: var(--font-lore);
  font-style: italic;
  color: var(--teal);
  margin-top: 10px;
}
.kapitel p.kapitel__fazit {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 2px solid var(--line-2);
  padding-left: 16px;
  margin-top: 14px;
  max-width: 62ch;
}
.kapitel__fazit strong { color: var(--text); font-weight: 600; }

/* Welten als Liste mit Nummern, keine Karten */
.welten {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.welt {
  background: var(--bg);
  padding: clamp(20px, 2.4vw, 26px);
}
.welt p.welt__nr {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--dim);
  margin: 0 0 10px;
}
.welt h3 { font-size: 1rem; margin-bottom: 7px; }
.welt p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ==========================================================================
   Team
   ========================================================================== */

.team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.mitglied {
  background: var(--bg);
  padding: clamp(18px, 2.2vw, 24px);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.mitglied__bild {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
}
.mitglied__bild img { width: 44px; height: 44px; object-fit: cover; }
.mitglied__initialen {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.mitglied__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 6px;
}
.mitglied__name { font-size: 1rem; margin: 0; }
.mitglied__rolle {
  font-size: 0.76rem;
  color: var(--dim);
  margin: 0;
  letter-spacing: 0.03em;
}
.mitglied__text {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}
.mitglied--mitarbeiten {
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.mitglied--breit {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.mitglied--breit p { flex: 1 1 320px; max-width: 60ch; }
.mitglied--breit a { white-space: nowrap; }
.mitglied--mitarbeiten h3 { margin: 0; }
.mitglied--mitarbeiten p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  max-width: 40ch;
}
.mitglied--mitarbeiten a { font-size: 0.9rem; font-weight: 600; }
.mitglied--platzhalter { background: var(--bg-soft); }
.mitglied--platzhalter .mitglied__bild { border-style: dashed; }
.mitglied__marke {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--dim);
  border: 1px dashed var(--line-2);
  border-radius: 4px;
  padding: 2px 7px;
}

/* ==========================================================================
   Ankündigungen
   ========================================================================== */

.posts { display: grid; }
.post {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 36px);
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.post:first-child { border-top: 0; padding-top: 0; }
.post:last-child { padding-bottom: 0; }

.post__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}
.post__datum {
  font-size: 0.86rem;
  color: var(--muted);
}
.post__art {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--teal);
}
.post h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.post__text { color: var(--muted); font-size: 0.95rem; max-width: 72ch; margin-bottom: 0.7em; }
.post__von {
  font-size: 0.78rem;
  color: var(--dim);
  margin: 10px 0 0;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  padding-block: 16px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 16px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-weight: 400;
}
.faq details[open] summary::before { content: "−"; color: var(--violet); }
.faq details[open] summary { color: var(--text); }
.faq .antwort {
  padding: 0 0 18px 30px;
  font-size: 0.94rem;
  color: var(--muted);
  max-width: 68ch;
}
.faq .antwort code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  white-space: nowrap;
}

/* ==========================================================================
   Beitreten
   ========================================================================== */

.join {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(24px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.join h2 {
  font-size: clamp(1.34rem, 2.2vw, 1.72rem);
  margin: 0 0 10px;
}
.join__lede { color: var(--muted); font-size: 0.96rem; margin: 0 0 22px; max-width: 44ch; }

.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.schritt {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.schritt__nr {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--dim);
  padding-top: 2px;
}
.schritt h3 { font-size: 0.96rem; margin: 0 0 3px; }
.schritt p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.schritt code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  white-space: nowrap;
}

.join__seite { display: grid; gap: 10px; }
.join__seite .btn { width: 100%; }
.join__hinweis {
  font-size: 0.82rem;
  color: var(--dim);
  margin: 4px 0 0;
}

/* ==========================================================================
   Fußzeile
   ========================================================================== */

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 44px 28px;
  background: var(--bg-soft);
  font-size: 0.88rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.8fr));
  gap: clamp(24px, 3.4vw, 44px);
  padding-bottom: 28px;
}
.foot-brand p { color: var(--muted); font-size: 0.88rem; max-width: 34ch; margin-top: 12px; }

.foot-col h3 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 10px;
}
.foot-col a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  padding-block: 3px;
}
.foot-col a:hover { color: var(--text); }
.foot-col p { color: var(--muted); margin: 0 0 4px; font-size: 0.88rem; }
.foot-col .mono { font-family: var(--font-mono); color: var(--text); }

.foot-aenderungen {
  border-top: 1px solid var(--line);
  padding-block: 14px;
}
.foot-aenderungen summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.78rem;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.foot-aenderungen summary::-webkit-details-marker { display: none; }
.foot-aenderungen summary::before { content: "+"; font-family: var(--font-mono); }
.foot-aenderungen[open] summary::before { content: "−"; }

#changelogList {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
#changelogList li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}
#changelogList time { font-family: var(--font-mono); color: var(--dim); font-variant-numeric: tabular-nums; }

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--dim);
  font-size: 0.79rem;
}
.foot-legal a { color: var(--dim); }
.foot-legal a:hover { color: var(--text); }
.foot-legal .trenner { opacity: 0.45; }

/* ==========================================================================
   Hinweis, Toast, Rechtstexte
   ========================================================================== */

.notice {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}
.notice--wide { grid-column: 1 / -1; }
.notice[hidden] { display: none; }

#datenHinweis { margin: 18px auto 0; max-width: var(--wrap); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 8px);
  z-index: 90;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 0.86rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.toast--an { opacity: 1; transform: translate(-50%, 0); }

.recht { max-width: 70ch; }
.recht h1 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 12px; }
.recht .kopf__label { margin-bottom: 12px; }
.recht h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 30px;
  margin-bottom: 8px;
}
.recht p { color: var(--muted); font-size: 0.95rem; }
.recht a:not(.btn) { color: var(--teal); }

/* ==========================================================================
   Einblenden (dezent, keine Dauer-Layer)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

[id] { scroll-margin-top: 84px; }

/* ==========================================================================
   Responsiv
   ========================================================================== */

@media (max-width: 1040px) {
  .split { grid-template-columns: 1fr; gap: 22px; }
  .join { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__bild { order: -1; }
  .hero__bild img { aspect-ratio: 16 / 9; }
}

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--pad) 14px;
    background: rgba(8, 6, 14, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav__links--offen { display: flex; }
  .nav__links a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.94rem;
  }
  .nav__links a:last-child { border-bottom: 0; }
  .strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item { padding-inline: 18px; }
  .strip__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .welten, .team { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__aktionen .btn { width: 100%; }
  .join__seite .kopierzeile { flex-direction: row; }
  .post { grid-template-columns: 1fr; gap: 8px; }
  .post__meta { flex-direction: row; align-items: baseline; gap: 12px; }
  .kapitel { grid-template-columns: 1fr; gap: 8px; }
  .kapitel__nr { padding-top: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  #changelogList li { grid-template-columns: 1fr; gap: 2px; }
  .hero__bild figcaption { flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-nav, .hero__bild, .toast { display: none; }
  .reveal { opacity: 1; transform: none; }
}
