/* Bummsbunnys, statische Seite. Keine externen Ressourcen. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/news/static/montserrat-latin.woff2") format("woff2");
}

:root {
  --rot: #e01e24;          /* rgb(224,30,36), Logo-Rot */
  --rot-dunkel: #b3161b;
  --rot-hell: #ff6b6f;     /* für Text auf dunklem Grund (Kontrast) */
  --grund: #121214;
  --flaeche: #1d1d21;
  --flaeche-2: #26262c;
  --linie: #34343c;
  --text: #f2f2f2;
  --grau: #b4b4bb;
  --gruen: #3ba55d;
  --breite: 72rem;
  --rund: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot-hell); text-underline-offset: .2em; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--rot-hell); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }

.sprungmarke {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--rot); color: #fff; padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.sprungmarke:focus { top: 1rem; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.knopf:hover { transform: translateY(-1px); }
.knopf-rot { background: var(--rot); color: #fff; }
.knopf-rot:hover { background: var(--rot-dunkel); color: #fff; }
.knopf-rand { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(0,0,0,.25); }
.knopf-rand:hover { border-color: #fff; color: #fff; background: rgba(0,0,0,.45); }
.knopf-gross { padding: 1rem 1.7rem; font-size: 1.1rem; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; }
.knopf .sym { width: 22px; height: 22px; flex: none; }
.knopf-discord { background: #5865f2; color: #fff; }
.knopf-discord:hover { background: #4752c4; color: #fff; }
.knopf-twitch { background: #9146ff; color: #fff; }
.knopf-twitch:hover { background: #772ce8; color: #fff; }
.knopf-whatsapp { background: #25d366; color: #0b141a; }
.knopf-whatsapp:hover { background: #1fb457; color: #0b141a; }
.marken-reihe { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 66rem; }
.marken-reihe .knopf-gross { padding: .95rem 1.1rem; font-size: 1.02rem; }
.marken-reihe .knopf { width: 100%; }
@media (max-width: 40rem) { .marken-reihe { grid-template-columns: 1fr; } }

/* Abschnitte */
.abschnitt { padding: clamp(3rem, 7vw, 5.5rem) 1rem; }
.abschnitt-dunkel { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.innen { max-width: var(--breite); margin: 0 auto; }
.innen-schmal { max-width: 46rem; margin: 0 auto; }
.vorspann { font-size: 1.15rem; color: var(--grau); max-width: 46rem; }
.oberzeile { display: inline-block; color: var(--rot-hell); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-bottom: .6rem; }

/* Held */
.held { position: relative; min-height: calc(min(78vh, 46rem) + 150px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.held picture, .held-bild { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.held-bild { object-fit: cover; object-position: 75% 30%; }
.held::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,18,20,.15) 0%, rgba(18,18,20,.35) 45%, rgba(18,18,20,.96) 100%);
}
.held-text { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 6rem 1rem 3.5rem; text-align: right; }
@media (min-width: 52.01rem) { .held-text { max-width: calc(var(--breite) + 200px); } }
.held h1 { margin-bottom: .2em; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.held .claim { font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 600; margin-bottom: .6rem; }
.held .unterzeile { max-width: 38rem; margin-left: auto; color: #e4e4e8; margin-bottom: 1.6rem; }
.held-knoepfe { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; }
.held-knoepfe .knopf-gross { padding: .95rem 1.1rem; font-size: 1.02rem; }
@media (max-width: 40rem) { .held-knoepfe { flex-direction: column; align-items: stretch; } }
@media (max-width: 52rem) {
  /* Handy: Bild oben frei (Gesicht sichtbar), Text darunter */
  .held { display: block; min-height: 0; }
  .held picture { position: relative; display: block; height: auto; aspect-ratio: 5 / 4; }
  .held-bild { position: absolute; object-position: 50% 20%; }
  .held::after { inset: 0 0 auto 0; height: auto; aspect-ratio: 5 / 4; background: linear-gradient(180deg, rgba(18,18,20,0) 65%, rgba(18,18,20,1) 100%); }
  .held-text { position: relative; margin-top: -2rem; padding: 0 1rem 2.2rem; }
}

/* Karten-Raster */
.raster { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.kachel {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 1.3rem 1.3rem 1.1rem;
}
.abschnitt-dunkel .kachel { background: var(--flaeche-2); }
.kachel h3 { margin-bottom: .35em; }
.kachel p:last-child, .kachel ul:last-child { margin-bottom: 0; }
.kachel ul { margin: .3rem 0 0; padding-left: 1.1em; }
.kachel-rot { border-color: var(--rot); }
.etikett { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--grau); border: 1px solid var(--linie); border-radius: 999px; padding: .1rem .55rem; margin-left: .3rem; vertical-align: middle; }

/* Zwei Spalten */
.zweispaltig { display: grid; gap: 2rem; grid-template-columns: 1.1fr 1fr; align-items: start; }
@media (max-width: 52rem) { .zweispaltig { grid-template-columns: 1fr; } }

/* Schritte */
.schritte { list-style: none; padding: 0; margin: 1.2rem 0; counter-reset: schritt; display: grid; gap: .8rem; }
.schritte li {
  counter-increment: schritt; position: relative; padding: 1rem 1rem 1rem 3.6rem;
  background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--rund);
}
.schritte li::before {
  content: counter(schritt); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--rot); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}

/* Bunny-Karte */
.karte-band {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
  background: radial-gradient(circle at 15% 50%, rgba(224,30,36,.28), transparent 60%), var(--flaeche-2);
  border: 1px solid var(--rot); border-radius: calc(var(--rund) + 4px); padding: 1.6rem;
}
.karte-band h2 { margin-bottom: .3em; }
.karte-band p { margin: 0; color: #e4e4e8; }
.karte-symbol { width: 4.5rem; height: 4.5rem; color: var(--rot-hell); }
@media (max-width: 52rem) { .karte-band { grid-template-columns: 1fr; text-align: left; } .karte-symbol { width: 3.2rem; height: 3.2rem; } }

/* Auszeichnungen */
.auszeichnungen { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.abzeichen-liste { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
.abzeichen-liste li { display: flex; align-items: center; gap: 1.1rem; line-height: 1.4; }
.abzeichen-liste img { width: 44px; height: 44px; flex: none; }
.abzeichen-liste picture { flex: none; display: block; width: 44px; height: 44px; }

/* Live-Kasten */
.live {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: calc(var(--rund) + 4px);
  padding: clamp(1.2rem, 3vw, 2rem); min-height: 14rem;
}
.live-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.live-zaehler { display: flex; flex-wrap: wrap; gap: .6rem; }
.zaehler { background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: 12px; padding: .55rem .9rem; min-width: 7.5rem; }
.zaehler b { display: block; font-size: 1.6rem; line-height: 1.1; }
.zaehler span { color: var(--grau); font-size: .85rem; }
.punkt { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--gruen); margin-right: .35rem; vertical-align: middle; box-shadow: 0 0 0 0 rgba(59,165,93,.6); animation: puls 2s infinite; }
@media (prefers-reduced-motion: reduce) { .punkt { animation: none; } }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(59,165,93,.55); } 70% { box-shadow: 0 0 0 8px rgba(59,165,93,0); } 100% { box-shadow: 0 0 0 0 rgba(59,165,93,0); } }
.live-gruppen { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-bottom: 1.2rem; }
.live-gruppe { background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1rem; }
.live-gruppe h3 { font-size: 1rem; color: var(--grau); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .6rem; }
.kanal { padding: .6rem 0; border-top: 1px solid var(--linie); }
.kanal:first-of-type { border-top: 0; padding-top: 0; }
.kanal-zeile { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.kanal-name { font-weight: 700; overflow-wrap: anywhere; }
.kanal-zahl { color: var(--grau); font-size: .92rem; white-space: nowrap; }
.kanal-zahl.voll { color: var(--rot-hell); font-weight: 700; }
.leute { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; }
.leute li { display: flex; align-items: center; gap: .4rem; font-size: .92rem; }
.leute img { width: 28px; height: 28px; border-radius: 50%; background: var(--linie); }
.leute .weitere { color: var(--grau); }
.live-ruhig { color: var(--grau); margin: 0 0 1.2rem; }
.twitch-reihe { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-bottom: 1.2rem; }
.twitch-karte {
  display: block; text-decoration: none; color: var(--text);
  background: linear-gradient(135deg, rgba(145,70,255,.28), rgba(145,70,255,.08)); border: 1px solid #7a4fd6;
  border-radius: var(--rund); padding: .9rem 1rem;
}
.twitch-karte:hover { color: #fff; border-color: #a77bff; }
.twitch-karte .live-marke { display: inline-block; background: var(--rot); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; padding: .1rem .45rem; border-radius: 4px; margin-right: .4rem; }
.twitch-karte b { font-size: 1.05rem; }
.twitch-karte span { display: block; color: #ddd; font-size: .92rem; overflow-wrap: anywhere; }
.live-fuss { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.live-stand { color: var(--grau); font-size: .85rem; margin: 0; }

/* Regelwerk */
.regeln details { background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--rund); margin-bottom: .7rem; }
.regeln summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; font-size: 1.08rem; }
.regeln details[open] summary { border-bottom: 1px solid var(--linie); }
.regeln ol { margin: 0; padding: 1rem 1.2rem 1rem 2.6rem; }
.regeln li { margin-bottom: .45rem; }
.regel-titel { font-weight: 700; }

/* Formulare */
.formular { display: grid; gap: 1rem; margin-top: 1.5rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: clamp(1.1rem, 3vw, 1.8rem); }
.feld label { display: block; font-weight: 700; margin-bottom: .35rem; }
.feld .hinweis { font-weight: 500; color: var(--grau); font-size: .88rem; }
.feld input, .feld textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--grund);
  border: 1px solid #4a4a54; border-radius: 10px; padding: .75rem .9rem;
}
.feld textarea { min-height: 10rem; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: 2px solid var(--rot-hell); outline-offset: 1px; border-color: transparent; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-fehler { background: rgba(224,30,36,.14); border: 1px solid var(--rot); border-radius: 10px; padding: .8rem 1rem; margin: 0; }
.formular .knopf { justify-self: start; }
.klein { font-size: .9rem; color: var(--grau); }

/* Textseiten */
.textseite { padding: clamp(2.5rem, 6vw, 4.5rem) 1rem; }
.textseite h1 { font-size: clamp(2rem, 5vw, 3rem); }
.textseite h2 { font-size: 1.4rem; margin-top: 2rem; }
.textseite h3 { margin-top: 1.4rem; }
.textseite address { font-style: normal; margin-bottom: 1em; }
.entwurf { border: 2px dashed var(--rot-hell); border-radius: 10px; padding: .8rem 1rem; color: #fff; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); background: #0d0d0f; padding: 2rem 1rem; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.fuss-marke span { display: block; color: var(--grau); font-size: .9rem; }
.fuss-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; }
.fuss-links a { color: var(--text); text-decoration: none; display: inline-block; padding: .35rem 0; }
.fuss-links a:hover, .fuss-links a[aria-current="page"] { color: var(--rot-hell); }
.abstand-oben { margin-top: 2.2rem; }
.textseite p, .textseite li, .textseite address { overflow-wrap: break-word; }

/* Bilder */
.bild img { width: 100%; height: auto; border-radius: var(--rund); border: 1px solid var(--linie); }
.bild-text { align-items: center; margin-bottom: 1.5rem; }
.abbildung { margin: 1rem 0 0; }
.abbildung figcaption { color: var(--grau); font-size: .85rem; margin-top: .5rem; }
.bild-kanal img { max-width: 316px; margin: 0 auto; border: 0; }
.karte-bild { margin-top: 1.5rem; }
.karte-bild a { display: block; }
.karte-bild img { box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.stapel { display: grid; gap: 1rem; }
.fuss-marke { display: flex; align-items: center; gap: .8rem; }
.fuss-marke img { width: 44px; height: 46px; }
h1, h2 { overflow-wrap: break-word; hyphens: auto; }
button, input, textarea { font-family: inherit; }

/* Diese Woche auf dem Server */
.woche { padding-top: 0; }
.woche-zahlen { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1.2rem; }
.woche-zahlen.anzahl-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woche-zahlen.anzahl-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.woche-zahlen.anzahl-5 .woche-zahl b { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
@media (max-width: 64rem) { .woche-zahlen, .woche-zahlen.anzahl-3, .woche-zahlen.anzahl-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .woche-zahlen, .woche-zahlen.anzahl-3, .woche-zahlen.anzahl-5 { grid-template-columns: 1fr; } }
.woche-zahl { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1.1rem 1.2rem; }
.woche-zahl b { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; overflow-wrap: anywhere; }
.woche-zahl .label { display: block; color: var(--grau); font-size: .9rem; margin-top: .2rem; }
.woche-zahl .neben { display: block; color: #ddd; font-size: .9rem; margin-top: .35rem; overflow-wrap: anywhere; }
.woche-diagramme { display: grid; gap: 1rem; grid-template-columns: 1.2fr 1fr; }
@media (max-width: 52rem) { .woche-diagramme { grid-template-columns: 1fr; } }
.woche-box { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1.1rem 1.2rem; }
.woche-box h3 { font-size: 1rem; color: var(--grau); text-transform: uppercase; letter-spacing: .05em; }
.tage-svg { width: 100%; height: auto; display: block; }
.tage-svg .balken { fill: var(--rot); }
.tage-svg .balken.top { fill: var(--rot-hell); }
.tage-svg text { fill: var(--grau); font-family: inherit; font-size: 12px; }
.tage-svg .wert { fill: var(--text); font-weight: 700; }
.kat-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.kat-kopf { display: flex; justify-content: space-between; gap: .6rem; font-size: .95rem; }
.kat-kopf span:last-child { color: var(--grau); white-space: nowrap; }
.kat-svg { width: 100%; height: 10px; display: block; margin-top: .3rem; border-radius: 5px; overflow: hidden; }
.kat-svg .spur { fill: var(--flaeche-2); }
.kat-svg .fuell { fill: var(--rot); }
.woche-diagramme.einzeln { grid-template-columns: 1fr; }
.tage-svg .vorher { fill: #8a8a93; }
.woche-diagramme.einzeln .tage-svg { max-height: 260px; }
.tage-svg .leer { fill: var(--linie); }
.kat-kanal { margin: .9rem 0 0; color: var(--grau); font-size: .92rem; }
/* Neueste News */
.news-liste { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-bottom: 1.2rem; }
.news-karte { display: block; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; color: var(--text); text-decoration: none; }
.news-karte:hover { border-color: var(--rot); color: var(--text); }
.news-karte img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-text { padding: 1rem 1.1rem 1.1rem; }
.news-text h3 { margin: .2rem 0 .4rem; }
.news-text p { margin: 0; color: var(--grau); font-size: .95rem; }
.news-datum { color: var(--rot-hell); font-size: .82rem; font-weight: 700; }
