/* wildesfeuerwerk.com — ein Stylesheet, keine Abhängigkeiten.
 *
 * Farben, Maße und Schriften sind aus dem Theme wildes-feuerwerk übernommen,
 * damit .com und .net wie eine Familie aussehen.
 *
 * Instrument Serif gibt es nur als Kursive. Das ist keine Notlösung, sondern
 * die Handschrift der Marke: alle Überschriften stehen kursiv, der Fließtext
 * steht aufrecht in Bricolage. Beide Schriften liegen hier selbst — nichts
 * wird von Google geladen, was auf einer deutschen Seite mit Impressum ein
 * Datenschutzrisiko wäre.
 */

@font-face {
  font-family: "Bricolage";
  src: url("schrift/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("schrift/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --nacht: #150a0e;
  --nacht-2: #1f0f15;
  --nacht-3: #2c151d;
  --nacht-4: #3a1c26;
  --glut: #e0283f;
  --glut-tief: #a3142b;
  --funke: #ffb547;
  --funke-hell: #ffe3ad;
  --haut: #f6e7dd;
  --rauch: #b39ea5;
  --linie: rgba(246, 231, 221, 0.14);
  --linie-hell: rgba(246, 231, 221, 0.26);

  --r-s: 10px;
  --r: 16px;
  --r-l: 24px;

  --sans: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --breit: 1180px;
  --rand: clamp(20px, 5vw, 44px);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--nacht);
  color: var(--haut);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 350;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 18px; } }

/* Feines Korn über allem. Flaches Dunkel wirkt sonst wie eine leere Fläche;
   das Korn gibt ihr Oberfläche, ohne etwas zu verdecken. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--funke); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--funke-hell); }

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

::selection { background: var(--glut-tief); color: var(--haut); }

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

.huelle { max-width: var(--breit); margin: 0 auto; padding: 0 var(--rand); }

/* ---------- Kopf ---------- */

.kopf {
  border-bottom: 1px solid var(--linie);
  background: rgba(21, 10, 14, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.kopf-innen {
  display: flex;
  align-items: center;
  gap: 14px clamp(20px, 3vw, 34px);
  flex-wrap: wrap;
  padding: 14px var(--rand);
}
.marke {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 25px;
  color: var(--haut);
  text-decoration: none;
  letter-spacing: 0.005em;
}
.marke img { width: 30px; flex: 0 0 auto; }
.marke:hover { color: var(--funke-hell); }

.kopf nav { display: flex; gap: clamp(16px, 2.4vw, 26px); flex-wrap: wrap; flex-grow: 1; }
.kopf nav a {
  color: var(--haut);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 3px 0;
  border-bottom: 1px solid transparent;
}
.kopf nav a:hover { color: var(--funke); border-bottom-color: var(--linie-hell); }
.kopf nav a[aria-current] { color: var(--funke); border-bottom-color: var(--funke); }

.fsk {
  border: 1px solid var(--linie);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--rauch);
  letter-spacing: 0.12em;
}

/* ---------- Fuß ---------- */

.fuss { margin-top: clamp(64px, 10vw, 110px); border-top: 1px solid var(--linie); }
.fuss-innen {
  display: flex;
  gap: 10px 24px;
  flex-wrap: wrap;
  align-items: center;
  padding: 30px var(--rand) 42px;
  color: var(--rauch);
  font-size: 14px;
}
.fuss-innen a { color: var(--rauch); text-decoration: none; }
.fuss-innen a:hover { color: var(--funke); }
.fuss-innen .weit { flex-grow: 1; font-family: var(--serif); font-size: 17px; }

/* ---------- Typografie ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.06;
  margin: 0 0 20px;
  max-width: 20ch;
}
h2 {
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.18;
  margin: clamp(44px, 6vw, 68px) 0 20px;
}
h3 { font-size: 20px; margin: 0; }

main { padding-top: clamp(28px, 4vw, 44px); }

.vorlauf {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
  color: var(--funke-hell);
  max-width: 50ch;
  margin: 0 0 8px;
}
.meta { color: var(--rauch); font-size: 15px; margin: 0 0 28px; }
.fliess { max-width: 64ch; }
.fliess p { margin: 0 0 20px; }
.fliess p:first-child { font-size: 1.1em; color: var(--funke-hell); }

.krumen { font-size: 14px; color: var(--rauch); margin: 0 0 22px; }
.krumen a { color: var(--rauch); text-decoration: none; }
.krumen a:hover { color: var(--funke); }
.krumen span { padding: 0 8px; opacity: 0.5; }

/* ---------- Knöpfe, Marken, Chips ---------- */

.knopf, .knopf-leer, .wunsch-knopf {
  display: inline-block;
  border-radius: var(--r);
  padding: 15px 28px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.knopf {
  background: var(--glut-tief);
  color: var(--haut);
  box-shadow: 0 0 0 0 rgba(224, 40, 63, 0);
}
.knopf:hover {
  background: var(--glut);
  color: var(--haut);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -12px rgba(224, 40, 63, 0.9);
}
.knopf-leer { border-color: var(--funke); color: var(--funke); background: transparent; }
.knopf-leer:hover { background: rgba(255, 181, 71, 0.1); color: var(--funke-hell); transform: translateY(-1px); }

.marke-an, .marke-bald, .marke-kasten {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.marke-an { background: var(--glut-tief); color: var(--haut); }
.marke-bald { border: 1px solid var(--funke); color: var(--funke); background: rgba(21, 10, 14, 0.72); }
.marke-kasten { border: 1px solid var(--linie-hell); color: var(--rauch); background: rgba(21, 10, 14, 0.72); }

.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--linie);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--funke-hell);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.chip:hover { border-color: var(--funke); background: rgba(255, 181, 71, 0.08); }
.chip[aria-current] { background: var(--glut-tief); color: var(--haut); border-color: var(--glut-tief); }

/* ---------- Kästen ---------- */

.kasten {
  margin-top: 22px;
  border: 1px solid var(--linie);
  border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--nacht-2), rgba(31, 15, 21, 0.45));
  padding: clamp(22px, 3.4vw, 34px);
  display: flex;
  gap: 18px 30px;
  flex-wrap: wrap;
  align-items: center;
}
.kasten-text { flex: 999 1 300px; min-width: 0; }
.kasten h2 { margin: 0 0 8px; font-size: clamp(23px, 2.6vw, 29px); }
.kasten p { margin: 0; color: var(--rauch); font-size: 16px; }
.kasten p strong { color: var(--haut); font-weight: 600; }
.kasten .knopf, .kasten .knopf-leer, .kasten .wunsch-knopf { flex: 0 0 auto; }
.kasten .klein { margin-top: 12px; font-size: 15px; color: var(--rauch); }

.kasten-bald { border-color: rgba(255, 181, 71, 0.45); }
.kasten-tg { background: none; border-style: dashed; }

ul.teile { margin: 12px 0 0; padding-left: 20px; color: var(--haut); }
ul.teile li { margin-bottom: 6px; font-size: 16px; }

/* ---------- Einzelseite ---------- */

/* Videos sind 16:9, Fotoserien 4:5. Beide behalten ihr Format; das Bild
   bekommt einen warmen Schein, damit es nicht im Dunkeln verschwindet. */
.einzel-bild { margin: 0 0 34px; position: relative; }
.einzel-bild::before {
  content: "";
  position: absolute;
  inset: -8% -4% -14%;
  background: radial-gradient(60% 60% at 50% 45%, rgba(163, 20, 43, 0.45), transparent 72%);
  filter: blur(26px);
  z-index: -1;
}
.einzel-bild img {
  border-radius: var(--r-l);
  border: 1px solid var(--linie);
  width: 100%;
  object-fit: cover;
}
.bild-quer { max-width: 840px; }
.bild-hoch { max-width: 430px; }
.bild-hoch img { aspect-ratio: 4 / 5; }
.bild-quer img { aspect-ratio: 16 / 9; }

.einzel-text { max-width: 64ch; }

dl.fakten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  margin: 32px 0;
  border-top: 1px solid var(--linie);
}
dl.fakten > div {
  padding: 15px 0;
  border-bottom: 1px solid var(--linie);
  padding-right: 20px;
}
dl.fakten dt {
  color: var(--rauch);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
dl.fakten dd { margin: 0; font-size: 17px; }

/* ---------- Gitter und Karten ---------- */

.gitter {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: clamp(26px, 3vw, 38px) clamp(18px, 2vw, 26px);
  align-items: start;
}

.karte { text-decoration: none; color: var(--haut); display: block; }
.karte-bild { display: block; position: relative; }
.karte-bild img, .karte-bild .platz {
  display: block;
  width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--linie);
  background: var(--nacht-3);
  object-fit: cover;
  transition: border-color 0.2s ease, filter 0.3s ease, transform 0.25s ease;
}
.karte-quer img, .karte-quer .platz { aspect-ratio: 16 / 9; }
.karte-hoch img, .karte-hoch .platz { aspect-ratio: 4 / 5; }

.karte-bild .marke-an,
.karte-bild .marke-bald,
.karte-bild .marke-kasten {
  position: absolute;
  left: 11px;
  bottom: 11px;
  backdrop-filter: blur(8px);
}

.karte:hover .karte-bild img {
  border-color: rgba(255, 181, 71, 0.6);
  filter: brightness(1.08) saturate(1.05);
  transform: translateY(-3px);
}
.karte:hover .karte-titel { color: var(--funke-hell); }

.karte-titel {
  display: block;
  margin-top: 13px;
  font-weight: 600;
  font-size: 17.5px;
  line-height: 1.32;
  text-wrap: balance;
  transition: color 0.18s ease;
}
.karte-meta { display: block; color: var(--rauch); font-size: 14px; margin-top: 4px; }

/* ---------- Countdown und Wunschliste ---------- */

.countdown {
  display: inline-block;
  color: var(--funke);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.countdown:empty { display: none; }

.wunsch { border-color: rgba(255, 181, 71, 0.45); }
.wunsch-stand { flex: 0 0 auto; text-align: center; min-width: 78px; }
.wunsch-stand strong {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  font-weight: 400;
  color: var(--funke);
  font-variant-numeric: tabular-nums;
}
.wunsch-stand span {
  display: block;
  color: var(--rauch);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 7px;
}
.wunsch-knopf { background: var(--funke); color: var(--nacht); }
.wunsch-knopf:hover {
  background: var(--funke-hell);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -14px rgba(255, 181, 71, 0.95);
}
.wunsch-knopf:disabled {
  background: transparent;
  color: var(--rauch);
  border-color: var(--linie);
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* ---------- Startseite ---------- */

/* Der Kopfbereich ist euer Bestfans-Banner, randlos ueber die volle Breite.
   Unten blendet es in den Seitenhintergrund aus, damit es nicht abgeschnitten
   wirkt. Schmal wird die 1:1-Fassung geladen, breit die 21:9. */
.held { position: relative; line-height: 0; }
.held img {
  width: 100%;
  height: auto;
  max-height: 66svh;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}
.held::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--nacht));
  pointer-events: none;
}

.held-wahl { display: flex; gap: 14px 20px; flex-wrap: wrap; margin: 28px 0 0; }
.held-hinweis { margin: 22px 0 0; color: var(--rauch); font-size: 15px; max-width: 62ch; }

.zahlen {
  display: flex;
  gap: 24px clamp(34px, 5vw, 64px);
  flex-wrap: wrap;
  margin-top: clamp(34px, 5vw, 50px);
  padding-top: 28px;
  border-top: 1px solid var(--linie);
}
.zahl { font-family: var(--serif); font-size: clamp(32px, 4vw, 44px); line-height: 1; }
.zahl-funke { color: var(--funke); }
.zahl-wort {
  color: var(--rauch);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ---------- Rechtstexte ---------- */

.recht { max-width: 70ch; }
.recht h2 { font-size: clamp(21px, 2.2vw, 26px); margin: 38px 0 12px; }
.recht p, .recht li { color: var(--haut); }
.recht .luecke {
  background: var(--nacht-3);
  border: 1px dashed var(--funke);
  border-radius: 6px;
  padding: 2px 9px;
  color: var(--funke);
  font-size: 0.94em;
}

/* Hochformatige Serienbilder lassen auf breiten Schirmen viel Platz frei.
   Dort stehen Bild und Text nebeneinander; schmal bleibt es gestapelt. */
@media (min-width: 900px) {
  .einzel:has(.bild-hoch) {
    display: grid;
    grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }
  .einzel:has(.bild-hoch) .einzel-bild { margin-bottom: 0; }
}

/* ---------- Telegram ---------- */

/* Markenblau von Telegram. Das offizielle #229ED9 bleibt der Akzent auf
   dunklem Grund (Kontrast 6,1 : 1). Der gefüllte Knopf nimmt einen Ton
   dunkler, weil weiße Schrift auf dem hellen Blau nur 3,0 : 1 erreicht und
   damit durchfällt — so sind es 4,8 : 1. */
:root {
  --tg: #229ED9;
  --tg-tief: #0f7aae;
}

.knopf-tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  background: var(--tg-tief);
  color: #fff;
  border: 0;
  border-radius: var(--r);
  padding: 15px 26px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.knopf-tg:hover {
  background: var(--tg);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -12px rgba(34, 158, 217, 0.9);
}
.knopf-tg svg { width: 21px; height: 21px; flex: 0 0 auto; }

/* Der Kasten hebt sich jetzt farblich ab, statt neben dem roten
   Bestfans-Knopf unterzugehen. */
.kasten-tg {
  border-style: solid;
  border-color: rgba(34, 158, 217, 0.42);
  background: linear-gradient(180deg, rgba(34, 158, 217, 0.12), rgba(34, 158, 217, 0.02));
}

.fuss-tg { display: inline-flex; align-items: center; gap: 6px; }
.fuss-tg svg { width: 15px; height: 15px; color: var(--tg); }
.fuss-innen a.fuss-tg:hover { color: var(--tg); }
