/* =========================
   THEME (Grau/Gelb – heller)
   ========================= */
:root{
  --bg: #1a1d22;
  --panel: #1c2026;
  --panel2: #242a33;

  --border: rgba(255,255,255,.12);
  --text: #f5f7fb;
  --muted: #c7cfdb;

  --accent: #f2c14e;
  --accent2: #ffd56a;

  --shadow: 0 14px 50px rgba(0,0,0,.35);
}

/* =========================
   BASE / LAYOUT
   ========================= */
html{
  font-size: calc(16px + 1.5px);
}

html, body{
  height: 100%;
}

body{
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;

  color: var(--text);
  background: var(--bg); /* Base-Farbe, Gradients kommen via ::before */
}

/* Sticky Footer */
main{ flex: 1 0 auto; }
.site-footer{ flex-shrink: 0; }

/* Fixer Hintergrund-Layer (keine Wiederholung) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(1100px 650px at 18% -12%, rgba(242,193,78,.22), transparent 55%),
    radial-gradient(900px 520px at 92% 0%, rgba(255,213,106,.16), transparent 60%),
    radial-gradient(700px 420px at 55% 115%, rgba(255,255,255,.06), transparent 55%),
    var(--bg);

  background-repeat: no-repeat;
  background-size: cover;
}

/* Weicher “Fog” für glatten Übergang nach unten */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(26,29,34,0) 0%,
    rgba(26,29,34,.25) 55%,
    rgba(26,29,34,.65) 80%,
    rgba(26,29,34,1) 100%
  );
}

/* =========================
   BASICS / HELPERS
   ========================= */
.text-muted{ color: var(--muted); }

.glass{
  backdrop-filter: blur(10px);
  background: rgba(28, 32, 38, .70);
}

/* =========================
   HEADER
   ========================= */
.site-header{
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(20, 22, 26, .75);
  backdrop-filter: blur(10px);
}

.header-inner{ min-height: 70px; }

.brand-logo{
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.brand-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
}

/* Social Buttons */
.icon-btn{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  display: grid;
  place-items: center;
  transition: background .12s ease;
}
.icon-btn:hover{ background: rgba(255,255,255,.11); }
.icon-btn i{ color: var(--accent); }

/* Navigation */
.nav-main{
  font-size: 1rem;
  letter-spacing: 0;
}

.nav-link{
  font-family: "Bebas Neue", sans-serif;
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
  font-size: 1.5rem;

  position: relative;
  padding: .45rem .75rem;
  border-radius: 999px;

  transition: color .12s ease, background .12s ease, opacity .12s ease;
}
.nav-link:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
}
.nav-link.is-active{ color: var(--accent); }
.nav-link::after{ content: none !important; }

@media (max-width: 768px){
  .header-inner{ min-height: 64px; }
  .brand-logo{ width: 50px; height: 50px; }
}

/* =========================
   HERO / SLIDER
   ========================= */
.slider-shell{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow);
  border-radius: 28px;
  overflow: hidden;
}

.slider-overlay{
  background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.30), rgba(0,0,0,.12));
}

.hero-title{
  font-family: "Bebas Neue", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.hero-accent{ color: var(--accent); }
.hero-sub{ color: rgba(245,247,251,.90); }
:root{ --header-h: 70px; }
@media (max-width: 768px){
  :root{ --header-h: 64px; }
}

/* Hero: volle Höhe minus Header */
.heroSwiper{
  height: calc(100svh - var(--header-h));
}

/* Fullscreen-Wrapper: keine Card-Optik */
.slider-shell--hero{
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}

/* Falls du sicherstellen willst, dass Bilder wirklich die Höhe füllen */
.heroSwiper .swiper-slide,
.heroSwiper img{
  height: 100%;
}
/* =========================
   BUTTONS
   ========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;

  padding: 1rem 2rem;
  font-weight: 800;
  letter-spacing: .04em;

  border: 1px solid rgba(255,255,255,.12);
  user-select: none;

  transition: transform .12s ease, opacity .12s ease, background .12s ease, border-color .12s ease;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--accent);
  color: #14161a;
  border-color: rgba(0,0,0,.18);
}
.btn-primary:hover{
  background: var(--accent2);
  opacity: .98;
}

.btn-ghost{
  background: rgba(255,255,255,.07);
  color: var(--text);
}
.btn-ghost:hover{ background: rgba(255,255,255,.10); }

/* =========================
   CARDS / TAGS / BADGES
   ========================= */
.card{
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 32px rgba(0,0,0,.22);
  transition: background .12s ease;
}
.card:hover{ background: rgba(255,255,255,.085); }

.badge{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;

  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);

  color: var(--text);
  font-size: .75rem;
  font-weight: 700;
}

.tag{
  font-size: .75rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: var(--text);
}

/* Klickbare Tags + Active-State */
.tag-btn{
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease, transform .05s ease;
}
.tag-btn:active{ transform: translateY(1px); }

.tag-active{
  background: rgba(242,193,78,.16) !important;
  border-color: rgba(242,193,78,.55) !important;
  color: var(--text) !important;
}

.tag-clear{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
}
.tag-clear:hover{ background: rgba(255,255,255,.08); }

/* =========================
   FORMS
   ========================= */
.field{
  width: 100%;
  padding: .9rem 1.05rem;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);

  color: var(--text);
  outline: none;
}

.field:focus{
  border-color: rgba(242,193,78,.65);
  box-shadow: 0 0 0 3px rgba(242,193,78,.18);
}

/* Select Arrow + Reset */
select.field{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  padding-right: 2.6rem;
  cursor: pointer;

  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%),
    linear-gradient(to right, rgba(255,255,255,.12), rgba(255,255,255,.12));
  background-position:
    calc(100% - 18px) 52%,
    calc(100% - 12px) 52%,
    calc(100% - 2.35rem) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 1.2rem;
  background-repeat: no-repeat;
}

select.field option{
  background: var(--panel);
  color: var(--text);
}

select.field::-ms-expand{ display: none; }

/* =========================
   SWIPER
   ========================= */
.swiper-pagination-bullet{
  background: rgba(255,255,255,.45) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active{
  background: var(--accent) !important;
}

.guideSwiper{ width: 100%; }
.guideSwiper .swiper-slide{ height: auto; }

.guideSwiper .swiper-scrollbar{
  height: 8px;
  border-radius: 999px;
  opacity: 1;
}
.guideSwiper .swiper-scrollbar-drag{ border-radius: 999px; }

/* Horizontal Scrollbar (Grid) */
#grid::-webkit-scrollbar{ height: 10px; }
#grid::-webkit-scrollbar-track{ background: rgba(255,255,255,.06); border-radius: 999px; }
#grid::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.18); border-radius: 999px; }

/* =========================
   Twitch LIVE Badge
   ========================= */
.twitch-btn{ position: relative; }

.live-pill{
  position: absolute;
  top: -8px;
  right: -10px;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;

  padding: 3px 7px;
  border-radius: 999px;

  color: #111;
  background: var(--accent);
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* =========================
   OPTIONAL: gold border mode
   ========================= */
/*
:root{ --border: rgba(242,193,78,.55); }
*/
/* Twitch LIVE Pill (overlay, ohne Layout shift) */
.icon-btn.twitch-btn{
  position: relative;
}

.live-pill{
  position: absolute;
  top: -6px;
  right: -8px;

  padding: 2px 7px;
  border-radius: 999px;

  background: #ef4444; /* rot */
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .6px;
  line-height: 1;

  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
}

/* optional: kleines Pulsieren */
.live-pill.is-live{
  animation: livePillPulse 1.4s ease-in-out infinite;
}

@keyframes livePillPulse{
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.06); opacity: .9; }
}
/* Bell button */
.bell-btn{
  position: relative;
}

.bell-btn .bell-dot{
  position:absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}

/* aktiviert */
.bell-btn.is-on .bell-dot{
  background:#22c55e;
  border-color: rgba(255,255,255,.25);
  box-shadow: 0 0 10px rgba(34,197,94,.6), 0 6px 14px rgba(0,0,0,.35);
}

/* deaktiviert (optional: leicht gedimmt) */
.bell-btn.is-off{
  opacity: .9;
}
/* Bell ring animation */
.bell-btn.is-ringing{
  animation: bellShake .55s ease-in-out;
}

.bell-btn.is-ringing i{
  transform-origin: 50% 10%;
  animation: bellSwing .55s ease-in-out;
}

/* optional: kleiner Ring-Pulse am Dot */
.bell-btn.is-ringing .bell-dot{
  animation: bellDotPulse .55s ease-in-out;
}

@keyframes bellShake{
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(-10deg); }
  30%  { transform: rotate(10deg); }
  45%  { transform: rotate(-8deg); }
  60%  { transform: rotate(8deg); }
  75%  { transform: rotate(-4deg); }
  100% { transform: rotate(0deg); }
}

@keyframes bellSwing{
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(-18deg); }
  40%  { transform: rotate(18deg); }
  60%  { transform: rotate(-12deg); }
  80%  { transform: rotate(12deg); }
  100% { transform: rotate(0deg); }
}

@keyframes bellDotPulse{
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.35); opacity: .85; }
  100% { transform: scale(1); opacity: 1; }
}
/* =========================
   SPONSOR BAND (FULLWIDTH)
   ========================= */
.sponsor-band{
  /* minimal heller als bg */
  background: rgba(255,255,255,.05);
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* Marquee Gefühl: linear */
.sponsorSwiper .swiper-wrapper{
  transition-timing-function: linear !important;
}

/* Slides dürfen nicht "zusammenquetschen" */
.sponsorSwiper .swiper-slide{
  width: auto !important;              /* wichtig für marquee */
  display: flex;
  align-items: center;
}

/* Link/Container ohne Background */
.sponsor-logoLink{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-right: 26px;                  /* Abstand zwischen Logos */
  border: 0;
  background: transparent;
  opacity: .92;
  transition: opacity .12s ease, transform .12s ease;
}
.sponsor-logoLink:hover{
  opacity: 1;
  transform: translateY(-1px);
}

/* Bild direkt */
.sponsor-logoImg{
  height: 54px;                        /* anpassen falls du willst */
  width: auto;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.25));
}

@media (min-width: 768px){
  .sponsor-logoImg{ height: 128px; }
}
/* Swiper Marquee: wrapper muss linear sein */
.sponsorSwiper .swiper-wrapper{
  transition-timing-function: linear !important;
}

/* Wichtig: Swiper braucht "will-change" für smoothness */
.sponsorSwiper .swiper-wrapper{
  will-change: transform;
}

/* Optional: damit nix abgeschnitten wird */
.sponsorSwiper{
  overflow: hidden;
}

/* Slides: auto width ist richtig */
.sponsorSwiper .swiper-slide{
  width: auto !important;
}
/* Right image in hero: REALLY full height */
.hero-right-img{
  position: absolute;
  inset: 0 0 0 auto;   /* top:0; right:0; bottom:0; left:auto */
  height: 100%;
  z-index: 15;         /* hinter Text, aber über Overlay */
  display: flex;
  align-items: stretch; /* wichtig */
  justify-content: flex-end;
  pointer-events: none;
}

/* image fills the hero height */
.hero-right-img__img{
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.45));
}

/* Text area should not go under the image on desktop */
@media (min-width: 768px){
  .hero-text-wrap{
    /* lässt rechts Platz für das Bild, aber “auto”/fluid */
    padding-right: clamp(220px, 34vw, 520px);
  }
}