@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }

:root {
  --hintergrund: #f6f4ff;
  --flaeche: #ffffff;
  --text: #1d1a33;
  --text-leise: #5d5878;
  --akzent: #6c4cf5;
  --akzent-2: #ff6b5a;
  --akzent-3: #ffc94d;
  --rand: #e4e0f5;
  --schatten: 0 8px 24px rgba(48, 30, 120, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --hintergrund: #13111f;
    --flaeche: #1e1b30;
    --text: #f1eeff;
    --text-leise: #a9a3c7;
    --akzent: #9a82ff;
    --akzent-2: #ff8576;
    --rand: #2f2a48;
    --schatten: 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--hintergrund);
  color: var(--text);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
a { color: var(--akzent); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }

.breite { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.abschnitt { padding-top: 56px; padding-bottom: 56px; }
.abschnitt-titel { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.untertitel { color: var(--text-leise); margin: -0.25em 0 2em; }

/* Kopf + Navigation */
#kopf {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--hintergrund) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rand);
}
.kopf-innen { max-width: 1080px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; margin-right: auto; }
.logo-punkt {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--akzent), var(--akzent-2)); color: #fff;
}
.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--text-leise); font-weight: 600; }
.nav a:hover { color: var(--text); background: var(--flaeche); }
.nav a[aria-current="page"] { color: #fff; background: var(--akzent); }
.menue-knopf { display: none; font-size: 1.5rem; background: none; border: 0; color: var(--text); cursor: pointer; }

@media (max-width: 640px) {
  .menue-knopf { display: block; }
  .kopf-innen { flex-wrap: wrap; }
  .nav { display: none; width: 100%; flex-direction: column; }
  .nav.offen { display: flex; }
}

/* Startseite */
.held { padding-top: 72px; padding-bottom: 48px; text-align: center; position: relative; overflow: hidden; }
.held h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
.held h1 span {
  background: linear-gradient(90deg, var(--akzent), var(--akzent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.held p { font-size: 1.15rem; color: var(--text-leise); max-width: 560px; margin: 0 auto 2em; }
.held .held-label {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--akzent); background: var(--flaeche); border: 1px solid var(--rand);
  padding: 4px 14px; border-radius: 999px; margin: 0 0 1em;
}
.held-emojis { font-size: 2.4rem; letter-spacing: .3em; margin-bottom: .6em; }
.knopf-reihe { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.zahlen { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.zahl { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 18px; padding: 14px 24px; min-width: 140px; }
.zahl strong { display: block; font-size: 1.8rem; color: var(--akzent); }
.zahl span { color: var(--text-leise); font-size: .9rem; }

/* Knöpfe */
.knopf {
  display: inline-block; padding: 10px 20px; border-radius: 999px; font-weight: 600;
  background: var(--akzent); color: #fff; text-decoration: none; border: 2px solid var(--akzent);
  transition: transform .15s;
}
.knopf:hover { transform: translateY(-2px); }
.knopf-zweit { background: transparent; color: var(--akzent); }
.knopf-aus { background: var(--rand); border-color: var(--rand); color: var(--text-leise); cursor: default; }
.knopf-aus:hover { transform: none; }

/* Spielekarten */
.filter-leiste { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-knopf {
  font: inherit; font-weight: 600; padding: 6px 16px; border-radius: 999px; cursor: pointer;
  background: var(--flaeche); color: var(--text-leise); border: 1px solid var(--rand);
}
.filter-knopf.aktiv { background: var(--text); color: var(--hintergrund); border-color: var(--text); }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.karte {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: 22px; overflow: hidden;
  box-shadow: var(--schatten); display: flex; flex-direction: column; transition: transform .2s;
}
.karte:hover { transform: translateY(-4px); }
.karte-bild {
  aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; font-size: 3rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--akzent) 18%, var(--flaeche)), color-mix(in srgb, var(--akzent-3) 25%, var(--flaeche)));
}
.karte-bild img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.karte-emoji { font-size: 5rem; line-height: 1; }
.abzeichen { position: absolute; top: 12px; right: 12px; background: var(--akzent-2); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.karte-inhalt { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.karte-inhalt p { color: var(--text-leise); margin: 0 0 1.2em; flex: 1; }
.karte-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }
.karte-knoepfe button.knopf { font: inherit; font-weight: 600; cursor: pointer; }

/* Trailer-Fenster (Hochformat, passt sich dem Video an) */
.trailer-fenster {
  --format: 9 / 16;
  --breite-zu-hoehe: .5625;
  padding: 14px; border: 1px solid var(--rand); border-radius: 26px;
  background: var(--flaeche); color: var(--text); box-shadow: var(--schatten);
  width: min(92vw, calc((85vh - 70px) * var(--breite-zu-hoehe) + 28px));
  max-height: 92vh; overflow: hidden;
}
.trailer-fenster::backdrop { background: rgba(10, 8, 25, .75); backdrop-filter: blur(4px); }
.trailer-titel { font-weight: 700; margin: 2px 44px 10px 6px; }
.trailer-zu {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--rand); color: var(--text); font-size: 1rem; cursor: pointer;
}
.trailer-video {
  display: block; width: 100%; aspect-ratio: var(--format); max-height: calc(85vh - 70px);
  object-fit: contain; border-radius: 16px; background: #000;
}
.trailer-fehlt { aspect-ratio: var(--format); max-height: calc(85vh - 70px); display: grid; place-items: center; text-align: center; padding: 20px; margin: 0; color: var(--text-leise); background: var(--hintergrund); border-radius: 16px; }
.kategorie { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--akzent-2); margin-bottom: 4px; }
.mehr { text-align: center; margin-top: 32px; }

/* Über mich */
.ueber { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.avatar {
  width: 220px; aspect-ratio: 1; border-radius: 36px; display: grid; place-items: center;
  font-size: 6rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--akzent), var(--akzent-2));
  box-shadow: var(--schatten);
}
#ueber-text p { font-size: 1.08rem; }
@media (max-width: 640px) {
  .ueber { grid-template-columns: 1fr; }
  .avatar { width: 150px; font-size: 4rem; margin: 0 auto; }
}
.hobby-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.hobby, .kontakt-eintrag {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: 20px; padding: 20px; box-shadow: var(--schatten);
}
.hobby p { color: var(--text-leise); margin: 0; }
.hobby-emoji { font-size: 2rem; display: block; margin-bottom: 6px; }

/* Kontakt */
.kontakt-liste { display: grid; gap: 16px; max-width: 520px; }
.kontakt-eintrag { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; text-decoration: none; color: var(--text); }
.kontakt-eintrag .hobby-emoji { grid-row: span 2; margin: 0; }
.kontakt-eintrag span:last-child { color: var(--text-leise); word-break: break-all; }

#fuss { text-align: center; padding: 28px 20px; color: var(--text-leise); font-size: .9rem; border-top: 1px solid var(--rand); }
