/* =========================================================
   Pfandsammler334 — Kassenbon-Website
   Fester visueller Look (Stream-Setup bei Nacht):
   tiefes Violett + Kassenbon-Creme + Signalgelb + Magenta.
   Bewusst KEIN prefers-color-scheme-Theme-Switch.
   ========================================================= */

:root {
  /* Automat / Hintergrund */
  --bg: #2b1640;
  --bg-soft: #381d54;

  /* Kassenbon-Papier */
  --paper: #efe8d3;
  --paper-dim: #e4dcc2;
  --ink: #2a2518;
  --ink-soft: #5a5440;

  /* Akzente vom Stream-Setup-Foto */
  --yellow: #f5e400;
  --yellow-ink: #352d00;
  --magenta: #d946c5;
  --magenta-deep: #9c2f8d;

  --cream: #f3efe1;
  --line: rgba(42, 37, 24, 0.18);

  --focus-ring: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

a {
  color: inherit;
}

img, svg {
  max-width: 100%;
}

/* ---------- Skip-Link ---------- */

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--yellow);
  color: var(--yellow-ink);
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  z-index: 100;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Focus-visible überall ---------- */
/* Standard: helle Umgebung (Automat/Violett) -> weißer Ring.
   Auf dem hellen Kassenbon-Papier wird der Ring unten auf dunkle
   Tinte umgeschaltet, damit er dort ausreichend Kontrast behält. */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.receipt a:focus-visible,
.receipt button:focus-visible,
.receipt input:focus-visible,
.receipt textarea:focus-visible,
.receipt-foot a:focus-visible,
.legal-page a:focus-visible,
.legal-page button:focus-visible,
.legal-page summary:focus-visible {
  outline-color: var(--ink);
}

/* ---------- Top-Navigation ---------- */

.topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.2rem;
  padding: 0 0.2rem 1.1rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.78rem;
}

.topnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 900;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--cream);
  letter-spacing: 0;
}

.topnav-brand .nr {
  color: var(--yellow);
}

.brand-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid var(--yellow);
  box-shadow: 0 0 0 1px rgba(43, 22, 64, 0.6), 0 1px 4px rgba(0, 0, 0, 0.35);
}

.topnav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.topnav-links a {
  text-decoration: none;
  color: rgba(243, 239, 225, 0.62);
  padding: 0.3rem 0.1rem;
}

.topnav-links a:hover {
  color: var(--yellow);
}

.topnav-links a[aria-current="page"] {
  color: var(--yellow);
}

/* ---------- Mobiles Hamburger-Menü ---------- */
/* .nav-toggle bleibt per Default unsichtbar: ohne main.js bekommt <html> keine
   .js-Klasse, also wird der Button nie eingeblendet und .topnav-links bleibt
   die normale, umbrechende Linkliste (kein versteckter Inhalt ohne JS). */

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5em;
  background: transparent;
  border: 1px solid rgba(243, 239, 225, 0.32);
  color: var(--cream);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3px;
  width: 1.05rem;
  height: 0.75rem;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

@media (max-width: 760px) {
  html.js .nav-toggle {
    display: inline-flex;
  }

  html.js .topnav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.05rem;
    background: var(--bg-soft);
    border: 1px solid rgba(243, 239, 225, 0.14);
    border-radius: 10px;
    padding: 0.5rem 0.9rem;
    margin-top: 0.7rem;
  }

  html.js .topnav-links.is-open {
    display: flex;
  }

  html.js .topnav-links a {
    display: block;
    padding: 0.6rem 0.1rem;
  }
}

.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

/* ---------- MACHINE HEADER ---------- */

.machine {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border: 1px solid rgba(243, 239, 225, 0.08);
  border-radius: 22px;
  padding: 2.2rem 2rem 2.5rem;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.machine::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border: 1px dashed rgba(243, 239, 225, 0.14);
  border-radius: 14px;
  pointer-events: none;
}

.rivets {
  display: flex;
  justify-content: space-between;
  padding: 0 2px 1.4rem;
}

.rivet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(243, 239, 225, 0.2);
}

.screen {
  background: #150a22;
  border-radius: 10px;
  padding: 1.3rem 1.4rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color: var(--yellow);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: space-between;
  align-items: center;
  box-shadow: inset 0 0 18px rgba(245, 228, 0, 0.1);
}

.screen .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  margin-right: 0.5em;
  box-shadow: 0 0 8px var(--magenta);
}

.brand {
  margin: 1.6rem 0 0.4rem;
  font-weight: 900;
  font-stretch: condensed;
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
}

.brand .nr {
  color: var(--yellow);
}

.tagline {
  font-size: 1.05rem;
  color: rgba(243, 239, 225, 0.84);
  max-width: 34ch;
  margin: 0 0 1.8rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-cap {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-cap:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-cap.yellow {
  background: var(--yellow);
  color: var(--yellow-ink);
}

.btn-cap.magenta {
  /* magenta-deep statt magenta: sichert ausreichenden Textkontrast (AA) für Cream-Text */
  background: var(--magenta-deep);
  color: var(--cream);
}

.btn-cap svg {
  width: 1.1em;
  height: 1.1em;
}

/* ---------- RECEIPT BODY ---------- */

.receipt-wrap {
  margin-top: -1px;
}

.perforation {
  height: 16px;
  background: radial-gradient(circle at 10px 0, transparent 8px, var(--paper) 8.5px) repeat-x;
  background-size: 20px 16px;
  background-color: transparent;
}

.receipt {
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 2rem 1.4rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* Footer-Fortsetzung des Kassenbons: optisch nahtlos an .receipt angeschlossen,
   aber als eigenes <footer>-Landmark im Dokument. */
.receipt-foot {
  background: var(--paper);
  color: var(--ink);
  border-radius: 0 0 6px 6px;
  padding: 0 2rem 1.6rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.line-item {
  padding: 1.6rem 0;
  border-bottom: 1px dashed var(--line);
}

.line-item:last-of-type {
  border-bottom: none;
}

.item-label {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.7rem;
}

.item-label .code {
  color: var(--magenta-deep);
  font-weight: 700;
}

.item-label::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-3px);
}

.ueber-mich-body {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
}

.ueber-mich-text {
  min-width: 0;
  flex: 1;
}

.profile-photo {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 16px;
  object-fit: cover;
  /* Wo unterstützt: Ausschnitt aufs Gesicht, ohne die Textzeile oben im Original */
  object-view-box: inset(20% 12% 4% 12%);
  border: 3px solid var(--yellow);
  box-shadow: 0 0 0 1px rgba(42, 37, 24, 0.18), 0 6px 16px rgba(42, 37, 24, 0.22);
}

@media (max-width: 560px) {
  .ueber-mich-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .profile-photo {
    width: 120px;
    height: 120px;
  }

  .ueber-mich-text .prose {
    max-width: 100%;
  }
}

.prose {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  line-height: 1.6;
  max-width: 58ch;
}

.prose em {
  color: var(--magenta-deep);
  font-style: normal;
  font-weight: 700;
}

.placeholder-note {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* Dunkler als --magenta-deep: sichert komfortablen Abstand über der WCAG-AA-Grenze
     (4.5:1) statt der zuvor nur knapp ausreichenden ~4.57:1. */
  color: #7a2470;
  background: rgba(217, 70, 197, 0.14);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.ad-badge {
  display: inline-block;
  margin-left: 0.4rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-ink);
  background: var(--yellow);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  vertical-align: middle;
  font-weight: 700;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-top: 0.4rem;
}

.video-card {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: block;
}

.video-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -16px rgba(42, 37, 24, 0.6);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(135deg, rgba(42, 37, 24, 0.08) 0 10px, rgba(42, 37, 24, 0.03) 10px 20px),
    linear-gradient(160deg, var(--magenta) 0%, var(--magenta-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Play-Knopf mittig im Vorschaubild */
.thumb-play {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: rgba(21, 10, 34, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
  position: relative;
  z-index: 1;
}

.thumb-play svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: var(--cream);
  margin-left: 2px;
}

.video-card:hover .thumb-play {
  background: var(--yellow);
  transform: scale(1.08);
}

.video-card:hover .thumb-play svg {
  fill: var(--yellow-ink);
}

/* Spiel-Etikett oben links */
.thumb-game {
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  z-index: 1;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(21, 10, 34, 0.8);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

/* Laufzeit unten rechts, wie bei YouTube */
.thumb-len {
  position: absolute;
  right: 0.5rem;
  bottom: 0.45rem;
  z-index: 1;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--cream);
  background: rgba(21, 10, 34, 0.85);
  padding: 0.12rem 0.42rem;
  border-radius: 4px;
}

/* Großes Schlagwort im Thumbnail-Stil (gelbe Schrift wie im Avatar-Bild) */
.thumb-word {
  position: absolute;
  left: 0.6rem;
  bottom: 0.4rem;
  right: 3.6rem;
  z-index: 1;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow: 0 2px 0 rgba(21, 10, 34, 0.75), 0 0 12px rgba(21, 10, 34, 0.55);
}

.video-meta {
  padding: 0.7rem 0.85rem 0.8rem;
  font-family: Georgia, serif;
}

.video-meta .vtitle {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.video-meta .vsub {
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.02em;
}

/* ---------- Spiel-Motive (Thumbnails + Spiele-Kacheln) ---------- */
/* Nur Markenfarben: jedes Spiel bekommt ein eigenes Muster statt eigener Farbe. */

[data-game="among-us"] {
  background:
    radial-gradient(circle at 18px 18px, rgba(243, 239, 225, 0.16) 0 5px, transparent 6px) 0 0 / 36px 36px,
    linear-gradient(160deg, var(--magenta) 0%, var(--magenta-deep) 100%);
}

[data-game="rocket-league"] {
  background:
    repeating-linear-gradient(115deg, rgba(245, 228, 0, 0.16) 0 3px, transparent 3px 22px),
    linear-gradient(135deg, #3d2160 0%, var(--magenta-deep) 100%);
}

[data-game="minecraft"] {
  background:
    repeating-conic-gradient(#3d2160 0 25%, var(--bg) 0 50%) 0 0 / 22px 22px;
}

[data-game="ometv"] {
  background:
    radial-gradient(circle at 70% 35%, var(--magenta) 0, rgba(217, 70, 197, 0) 55%),
    linear-gradient(160deg, var(--bg-soft) 0%, #150a22 100%);
}

[data-game="fortnite"] {
  background:
    repeating-linear-gradient(90deg, rgba(42, 37, 24, 0.12) 0 2px, transparent 2px 16px),
    linear-gradient(160deg, var(--yellow) 0%, #c9a800 100%);
}

[data-game="roblox"] {
  background:
    linear-gradient(rgba(245, 228, 0, 0.12) 1px, transparent 1px) 0 0 / 100% 20px,
    linear-gradient(90deg, rgba(245, 228, 0, 0.12) 1px, transparent 1px) 0 0 / 20px 100%,
    linear-gradient(160deg, #150a22 0%, var(--bg-soft) 100%);
}

[data-game="repo"] {
  background:
    repeating-linear-gradient(45deg, rgba(21, 10, 34, 0.25) 0 8px, transparent 8px 16px),
    linear-gradient(160deg, var(--bg-soft) 0%, var(--magenta-deep) 100%);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.social-cap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: Georgia, serif;
  transition: transform 0.15s ease, background 0.15s ease;
}

.social-cap:hover {
  transform: translateY(-2px);
  background: var(--paper);
}

.social-cap .ico {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cream);
}

.social-cap svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.ico.yt { background: #c43a2f; }
.ico.twitch { background: #6441a5; }
.ico.tiktok { background: #1f1f1f; }
.ico.insta { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.ico.discord { background: #5865f2; }
.ico.ig { background: linear-gradient(135deg, var(--magenta), var(--magenta-deep)); }

.support-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.support-btn {
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  border: 1px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-family: Georgia, serif;
  font-size: 0.86rem;
  background: var(--paper);
}

.support-btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.4rem;
}

.partner-card {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  font-family: Georgia, serif;
}

.partner-card.confirmed {
  border-color: var(--magenta-deep);
}

.partner-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.partner-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.partner-card.empty {
  border-style: dashed;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
}

.contact-block {
  font-family: Georgia, serif;
  font-size: 0.95rem;
}

.contact-block a {
  font-weight: 700;
  color: var(--magenta-deep);
  text-decoration: underline;
}

/* ---------- Kontaktformular ---------- */

.contact-form {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.9rem;
  max-width: 44ch;
  font-family: Georgia, serif;
}

.form-field {
  display: grid;
  gap: 0.3rem;
}

.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
}

.form-field input,
.form-field textarea {
  font: inherit;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
}

.form-field textarea {
  resize: vertical;
  min-height: 7rem;
}

/* Honeypot-Feld: für Menschen unsichtbar, für Bots vorhanden */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  justify-self: start;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* Rückmeldung nach dem Absenden */
.form-status {
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-family: Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-status.is-ok {
  background: rgba(245, 228, 0, 0.35);
  border-left: 4px solid var(--ink);
  color: var(--ink);
}

.form-status.is-error {
  background: rgba(217, 70, 197, 0.14);
  border-left: 4px solid var(--magenta-deep);
  color: #7a2470;
}

.alt-contact {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* ---------- FOOTER / TOTAL ---------- */

.total-block {
  margin-top: 0.6rem;
  padding-top: 1.1rem;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  align-items: baseline;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.total-block strong {
  font-size: 1rem;
}

.barcode {
  margin-top: 1.4rem;
  height: 46px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0px, var(--ink) 2px,
    transparent 2px, transparent 3px,
    var(--ink) 3px, var(--ink) 4px,
    transparent 4px, transparent 7px,
    var(--ink) 7px, var(--ink) 10px,
    transparent 10px, transparent 11px
  );
  opacity: 0.85;
}

.legal-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.legal-row a {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0.2rem 0;
}

.footer-social a {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.outer-foot {
  text-align: center;
  font-size: 0.74rem;
  color: rgba(243, 239, 225, 0.64);
  margin: 1.1rem 0.2rem 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.06em;
}

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */

.legal-page {
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  padding: 2rem 2rem 2.5rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

.legal-page h1 {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  margin-top: 0;
  color: var(--magenta-deep);
}

.legal-page h2 {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}

.legal-page h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-page p,
.legal-page li {
  font-size: 0.98rem;
}

.legal-page ul {
  padding-left: 1.3rem;
}

.legal-page a {
  color: var(--magenta-deep);
  font-weight: 700;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.legal-page em {
  color: var(--ink-soft);
}

@media (max-width: 560px) {
  .machine {
    padding: 1.6rem 1.2rem 2rem;
  }

  .receipt {
    padding: 0.5rem 1.2rem 1.4rem;
  }

  .receipt-foot {
    padding: 0 1.2rem 1.4rem;
  }

  .legal-page {
    padding: 1.4rem 1.2rem 2rem;
  }
}

/* ---------- Screenreader-only ---------- */

.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;
}

/* ---------- Scroll-Fortschrittsbalken ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--yellow);
  z-index: 200;
  pointer-events: none;
}

/* ---------- Scroll-Reveal (Startseite) ---------- */
/* .reveal wird nur von main.js per IntersectionObserver gesetzt — ohne JS
   bleiben Abschnitte ganz normal sichtbar, da sie dann keine dieser Klassen tragen. */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Toast (Easter-Egg + Kopier-Feedback) ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translate(-50%, 0.6rem);
  max-width: calc(100vw - 2rem);
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: Georgia, serif;
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.55);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Kopier-Buttons ---------- */

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-left: 0.5em;
  padding: 0.2rem 0.6rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.copy-btn:hover {
  background: var(--magenta-deep);
  color: var(--cream);
  border-color: var(--magenta-deep);
}

.swatch .copy-btn:hover,
.legal-page .copy-btn:hover {
  color: var(--cream);
}

/* Wrapper für Social-Links mit zusätzlichem Kopieren-Button daneben
   (Discord-Link im Social-Bereich der Startseite). */
.social-cap-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.social-cap-wrap .social-cap {
  flex: 1;
  min-width: 0;
}

/* Kopieren-Button neben der Business-Mail im Kontaktbereich */
.contact-block .copy-btn {
  vertical-align: middle;
}

/* ---------- Video-Filter (videos.html) ---------- */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.8rem 0 1.3rem;
}

.filter-btn {
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-dim);
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.filter-btn:hover {
  background: var(--paper);
}

.filter-btn[aria-pressed="true"] {
  background: var(--magenta-deep);
  color: var(--cream);
  border-color: var(--magenta-deep);
}

.video-card[hidden] {
  display: none;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(245, 228, 0, 0.3); }
  50% { box-shadow: 0 0 0 9px rgba(245, 228, 0, 0.5); }
}

.video-card.is-highlighted {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  animation: glow-pulse 1.1s ease-in-out 2;
}

.random-pick-row {
  margin: 1rem 0 1.4rem;
}

.btn-cap.ghost {
  background: var(--paper-dim);
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-cap.ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Section-CTA (z. B. "Alle Videos ansehen") ---------- */

.section-cta {
  margin-top: 1.1rem;
}

/* ---------- <details>/<summary> Akkordeon (FAQ) ---------- */

.faq-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.faq-item {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.1rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.95rem 0;
  font-weight: 700;
  font-family: Georgia, serif;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: "SFMono-Regular", Consolas, monospace;
  color: var(--magenta-deep);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1.05rem;
  font-family: Georgia, serif;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Tabellen (Setup / Presskit) ---------- */

.table-scroll {
  overflow-x: auto;
  margin-top: 0.4rem;
}

.data-table {
  width: 100%;
  min-width: 360px;
  border-collapse: collapse;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px dashed var(--line);
  white-space: nowrap;
}

.data-table td:last-child,
.data-table th:last-child {
  white-space: normal;
}

.data-table th {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  color: var(--ink-soft);
}

/* ---------- Markenfarben-Swatches (Presskit) ---------- */

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.swatch {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-dim);
}

.swatch-color {
  height: 60px;
}

.swatch-color-violett { background: var(--bg); }
.swatch-color-creme { background: var(--paper); }
.swatch-color-gelb { background: var(--yellow); }
.swatch-color-magenta { background: var(--magenta); }

/* Hinweistext als eigener Block (statt inline Flex-Pille) */
.placeholder-note-block {
  display: block;
  white-space: normal;
  max-width: 60ch;
}

/* Vorschau-Kachel fürs Logo: dunkler Hintergrund, da die Wortmarke
   für helle Schrift auf Violett ausgelegt ist. */
.logo-preview {
  background: var(--bg);
  padding: 1.4rem;
  border-radius: 10px;
  display: inline-block;
}

.logo-preview img {
  display: block;
  max-width: 100%;
  height: auto;
}

.swatch-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
}

/* ---------- Zip-Download-Button (Presskit) ---------- */

.zip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.9rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.zip-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.zip-btn svg {
  width: 1.1em;
  height: 1.1em;
}

/* ---------- 404-Seite ---------- */

.error-page .code-404 {
  font-family: "SFMono-Regular", Consolas, monospace;
  color: var(--magenta-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Gemeinsame Fußzeile: Ausdruck-Datum (wiederverwendet outer-foot-Optik) */
.receipt-timestamp {
  text-align: center;
  font-size: 0.74rem;
  color: rgba(243, 239, 225, 0.64);
  margin: 0.3rem 0.2rem 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.06em;
}

/* =========================================================
   Erweiterung: Mehrseiten-Aufbau & anschauliche Bausteine
   ========================================================= */

/* Fortnite-Motiv ist gelb: Schrift darauf dunkel statt gelb */
[data-game="fortnite"] .thumb-word,
[data-game="fortnite"] .game-cover-title {
  color: var(--yellow-ink);
  text-shadow: none;
}

/* ---------- Startseiten-Hero mit Avatar ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.6rem;
  align-items: center;
}

.hero-grid .brand {
  margin-top: 1.4rem;
  /* Spalte neben dem Avatar ist schmaler als die volle Breite:
     Schrift kleiner, Umbruch nur am <wbr> vor der 334. */
  font-size: clamp(1.9rem, 5.6vw, 3.3rem);
  overflow-wrap: normal;
}

.hero-grid .tagline {
  margin-bottom: 0.7rem;
}

/* Dritter Hero-Button: Umriss auf dunklem Automaten */
.btn-cap.outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(243, 239, 225, 0.45);
}

.btn-cap.outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.video-meta .vtitle {
  margin: 0;
}

.hero-sub {
  margin: 0 0 0.8rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 700;
}

.hero-intro {
  margin: 0 0 1.6rem;
  max-width: 48ch;
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(243, 239, 225, 0.84);
}

/* Rahmen ums Profilbild; das Bild selbst wird leicht auf das Gesicht
   gezoomt, damit die Textzeile oben im Original nicht angeschnitten wirkt. */
.hero-avatar {
  display: block;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--yellow);
  box-shadow: 0 0 0 8px rgba(217, 70, 197, 0.22), 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  margin-top: 1.4rem;
}

.hero-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.32);
  transform-origin: 50% 78%;
}

@media (max-width: 640px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-avatar {
    order: -1;
    width: 112px;
    height: 112px;
    margin-top: 1.2rem;
  }
}

/* ---------- Unterseiten-Kopf (kompakter Automat) ---------- */

.page-hero {
  padding: 1.6rem 2rem 2rem;
}

.page-hero h1 {
  margin: 0.9rem 0 0.5rem;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.page-hero h1 .nr {
  color: var(--yellow);
}

.page-hero .lead {
  margin: 0;
  max-width: 54ch;
  font-family: Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(243, 239, 225, 0.86);
}

.page-hero .cta-row {
  margin-top: 1.3rem;
}

@media (max-width: 560px) {
  .page-hero {
    padding: 1.3rem 1.2rem 1.6rem;
  }
}

/* ---------- Breadcrumb ---------- */

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  margin: 0;
  padding: 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 239, 225, 0.66);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--yellow);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--yellow);
}

/* ---------- Abschnitts-Intro unter dem Label ---------- */

.section-intro {
  margin: 0 0 1.1rem;
  max-width: 62ch;
  font-family: Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.section-title {
  margin: 0 0 0.6rem;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  line-height: 1.05;
  color: var(--ink);
}

/* ---------- Kennzahlen-Kacheln ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.stat-tile {
  position: relative;
  overflow: hidden;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.95rem 1rem 0.9rem 1.15rem;
}

.stat-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--magenta-deep);
}

.stat-num {
  display: block;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--ink);
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.45rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.stat-tile.is-total {
  background: var(--ink);
  border-color: var(--ink);
}

.stat-tile.is-total::before {
  background: var(--yellow);
}

.stat-tile.is-total .stat-num {
  color: var(--yellow);
}

.stat-tile.is-total .stat-label {
  color: rgba(239, 232, 211, 0.78);
}

.stat-note {
  margin: 0.7rem 0 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Kleiner Plattform-Punkt (nutzt die .ico-Farben) */
.pdot {
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Teaser-Kacheln (Wegweiser zu Unterseiten) ---------- */

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.4rem;
}

.teaser-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 1.2rem 1.15rem;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.teaser-card:hover {
  transform: translateY(-3px);
  border-color: var(--magenta-deep);
  box-shadow: 0 12px 24px -16px rgba(42, 37, 24, 0.55);
}

.teaser-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--bg);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.teaser-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

.teaser-card h3 {
  margin: 0.2rem 0 0;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1.1;
}

.teaser-card p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.teaser-more {
  margin-top: auto;
  padding-top: 0.3rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--magenta-deep);
}

/* ---------- Highlight-Box (dunkel, auf dem Bon) ---------- */

.callout {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--cream);
  border-radius: 14px;
  padding: 1.4rem 1.5rem 1.5rem;
  font-family: Georgia, serif;
}

.callout::after {
  content: "334";
  position: absolute;
  right: -0.3rem;
  bottom: -1.6rem;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: 7rem;
  line-height: 1;
  color: rgba(245, 228, 0, 0.07);
  pointer-events: none;
}

.callout-kicker {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 700;
}

.callout h3 {
  margin: 0 0 0.5rem;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  line-height: 1.05;
  color: var(--yellow);
}

.callout p {
  margin: 0 0 0.9rem;
  line-height: 1.6;
  color: rgba(243, 239, 225, 0.88);
  max-width: 60ch;
  position: relative;
  z-index: 1;
}

.callout a:not(.btn-cap) {
  color: var(--yellow);
}

.receipt .callout a:focus-visible,
.receipt .callout button:focus-visible {
  outline-color: var(--focus-ring);
}

/* Nummerierte Folgenliste (z. B. Among-Us-Turnier) */
.episode-list {
  list-style: none;
  counter-reset: ep;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
}

.episode-list li {
  counter-increment: ep;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.episode-list li::before {
  content: counter(ep, decimal-leading-zero);
  flex-shrink: 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--yellow-ink);
  background: var(--yellow);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
}

.episode-list a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px dashed rgba(243, 239, 225, 0.4);
}

.episode-list a:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.episode-list .ep-meta {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  color: rgba(243, 239, 225, 0.62);
  white-space: nowrap;
}

/* ---------- Chips / Tags ---------- */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.chip .count {
  color: var(--magenta-deep);
}

a.chip:hover {
  background: var(--ink);
  color: var(--paper);
}

a.chip:hover .count {
  color: var(--yellow);
}

/* ---------- Spiele-Kacheln ---------- */

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 0.4rem;
}

.game-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  scroll-margin-top: 1.5rem;
}

.game-cover {
  position: relative;
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: flex-end;
  padding: 0.8rem 1rem;
}

.game-cover-title {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--yellow);
  text-shadow: 0 2px 0 rgba(21, 10, 34, 0.75), 0 0 12px rgba(21, 10, 34, 0.55);
}

.game-cover .thumb-game {
  top: 0.6rem;
  left: auto;
  right: 0.6rem;
}

.game-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  padding: 1rem 1.15rem 1.2rem;
  font-family: Georgia, serif;
}

.game-body h3 {
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1.1;
}

.game-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.game-meta strong {
  color: var(--magenta-deep);
}

.game-body .text-link {
  margin-top: auto;
}

/* Schlichter Textlink mit Pfeil (auf Papier) */
.text-link {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--magenta-deep);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------- Zeitstrahl ---------- */

.timeline {
  list-style: none;
  margin: 0.6rem 0 0 0.4rem;
  padding: 0 0 0 1.5rem;
  border-left: 2px dashed var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 1.35rem 0.3rem;
}

.timeline li:last-child {
  padding-bottom: 0.2rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.5rem - 8px);
  top: 0.2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--magenta-deep);
}

.timeline li.is-highlight::before {
  background: var(--yellow);
  border-color: var(--ink);
}

.timeline time,
.timeline .tl-date {
  display: block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--magenta-deep);
}

.timeline h3 {
  margin: 0.2rem 0 0.25rem;
  font-family: Georgia, serif;
  font-size: 1.02rem;
}

.timeline p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Steckbrief (Bon-Zeilen mit Punktlinie) ---------- */

.receipt-lines {
  margin: 0.4rem 0 0;
  display: grid;
  gap: 0.55rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
}

.receipt-lines > div {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.receipt-lines > div::before {
  content: "";
  order: 2;
  flex: 1;
  min-width: 1.2rem;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-3px);
}

.receipt-lines dt {
  order: 1;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.receipt-lines dd {
  order: 3;
  margin: 0;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.receipt-lines dd a {
  color: var(--magenta-deep);
}

/* ---------- Zweispaltig ---------- */

.split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.8rem;
  align-items: start;
}

@media (max-width: 680px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* ---------- Allgemeine Info-Karten ---------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.4rem;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem 1.2rem;
  font-family: Georgia, serif;
}

.info-card.is-accent {
  border-color: var(--magenta-deep);
  box-shadow: inset 4px 0 0 var(--magenta-deep);
}

.info-card.is-empty {
  border-style: dashed;
  background: transparent;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.info-card h3 {
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.info-card .kicker {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--magenta-deep);
}

.info-card .btn-cap,
.info-card .text-link {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- Chat-Befehle (Twitch) ---------- */

.cmd-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.7rem;
}

.cmd-list li {
  background: var(--bg);
  color: rgba(243, 239, 225, 0.86);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: Georgia, serif;
  font-size: 0.86rem;
  line-height: 1.45;
}

.cmd-list code {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yellow);
}

/* ---------- Plattform-Karten (Community) ---------- */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 0.4rem;
}

.platform-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem 1.2rem;
  font-family: Georgia, serif;
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.platform-head .ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cream);
}

.platform-head .ico svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.platform-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.platform-handle {
  display: block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.platform-count {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1;
}

.platform-count small {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: 0.3rem;
}

.platform-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.platform-card .btn-cap {
  align-self: flex-start;
  margin-top: auto;
}

.ico.spotify { background: #1f1f1f; }
.ico.linkme { background: var(--magenta-deep); }

/* ---------- Kleine Buttons auf Papier ---------- */

.btn-cap.small {
  padding: 0.6rem 1.05rem;
  font-size: 0.82rem;
}

.btn-cap.ink {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Filter-Status (videos.html) ---------- */

.filter-status {
  margin: -0.4rem 0 1rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Footer-Navigation (Sitemap auf dem Bon) ---------- */

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.1rem 1.6rem;
  padding: 1.3rem 0 0.2rem;
  border-top: 2px solid var(--ink);
}

.footer-nav-title {
  margin: 0 0 0.5rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta-deep);
  font-weight: 700;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-nav a {
  font-family: Georgia, serif;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--magenta-deep);
  text-decoration: underline;
}

/* Bon-Abschluss auf Unterseiten mit .legal-page: Abstand statt Naht */
.legal-page + .receipt-foot,
main:has(.legal-page) + .site-footer .receipt-foot {
  margin-top: 1.2rem;
  border-radius: 14px;
  padding-top: 0.4rem;
}

/* Abschnitte mit Anker (z. B. spiele.html#among-us) nicht unter den Rand scrollen */
.line-item[id] {
  scroll-margin-top: 1rem;
}

/* =========================================================
   Interaktive Bausteine (werden von main.js erzeugt)
   ========================================================= */

/* ---------- Nach-oben-Button ---------- */

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: none;
  background: var(--yellow);
  color: var(--yellow-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

/* ---------- Teilen-Button im Footer ---------- */

.share-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 239, 225, 0.4);
  background: transparent;
  color: var(--cream);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.share-btn:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.share-btn svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

/* ---------- 2-Klick-Player (Dialog) ---------- */

body.has-dialog {
  overflow: hidden;
}

.embed-dialog {
  width: min(920px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  padding: 0;
  border: 1px solid rgba(243, 239, 225, 0.14);
  border-radius: 18px;
  background: var(--bg);
  color: var(--cream);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85);
  overflow: auto;
}

.embed-dialog::backdrop {
  background: rgba(21, 10, 34, 0.82);
}

.embed-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem 0.9rem;
}

.embed-kicker {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--yellow);
}

.embed-title {
  margin: 0.3rem 0 0;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  line-height: 1.15;
}

.embed-close {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 225, 0.4);
  background: transparent;
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.embed-close:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.embed-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #150a22;
}

/* Shorts sind Hochkant */
.embed-frame.is-vertical {
  aspect-ratio: 9 / 16;
  height: min(72vh, 640px);
  margin: 0 auto;
}

.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.4rem 1.6rem;
  overflow: auto;
  background:
    radial-gradient(circle at 80% 20%, rgba(217, 70, 197, 0.35), rgba(217, 70, 197, 0) 55%),
    repeating-linear-gradient(135deg, rgba(243, 239, 225, 0.03) 0 10px, transparent 10px 20px),
    #150a22;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.55;
}

.embed-consent p {
  margin: 0;
  max-width: 54ch;
  color: rgba(243, 239, 225, 0.88);
}

.embed-consent .embed-consent-title {
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--yellow);
}

.embed-consent a:not(.btn-cap) {
  color: var(--yellow);
}

.embed-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: rgba(243, 239, 225, 0.8);
  cursor: pointer;
}

.embed-check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--yellow);
}

.embed-foot {
  padding: 0.8rem 1.2rem 1rem;
  text-align: right;
}

.text-link-light {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(243, 239, 225, 0.75);
  text-decoration: none;
}

.text-link-light:hover {
  color: var(--yellow);
  text-decoration: underline;
}

@media (max-width: 560px) {
  .embed-consent {
    padding: 1rem 1.1rem;
    font-size: 0.86rem;
    gap: 0.6rem;
  }

  .embed-consent .embed-consent-title {
    font-size: 1.1rem;
  }
}

/* ---------- Suche & Sortierung (Videos, FAQ) ---------- */

.video-tools,
.faq-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  margin: 0.3rem 0 1rem;
}

.faq-tools .filter-status {
  flex-basis: 100%;
  margin: 0;
}

.search-field {
  position: relative;
  flex: 1 1 260px;
}

.search-field svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  fill: var(--ink-soft);
  pointer-events: none;
}

.search-input {
  width: 100%;
  font: inherit;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  padding: 0.7rem 1rem 0.7rem 2.45rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
}

.search-input::placeholder {
  color: #7a735c;
}

.sort-field {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.sort-select {
  font: inherit;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--paper-dim);
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Download-Galerie (Presskit) ---------- */

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 0.4rem;
}

.asset-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-family: Georgia, serif;
}

.asset-card.is-wide {
  grid-column: 1 / -1;
}

.asset-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 1rem;
  background: var(--bg);
}

/* Karomuster zeigt, dass der Hintergrund transparent ist */
.asset-preview.is-transparent {
  background:
    repeating-conic-gradient(#381d54 0 25%, var(--bg) 0 50%) 0 0 / 18px 18px;
}

.asset-preview img {
  display: block;
  max-width: 100%;
  max-height: 180px;
  height: auto;
  width: auto;
}

.asset-card.is-wide .asset-preview img {
  max-height: 120px;
}

.asset-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  padding: 0.9rem 1.05rem 1.05rem;
}

.asset-body h3 {
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1.1;
}

.asset-body p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.asset-meta {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--magenta-deep);
  font-weight: 700;
}

.asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.3rem;
}

.receipt select:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.faq-item[hidden],
.line-item[hidden] {
  display: none;
}
