:root{
  --banner-height: 20px;
  --header-offset: 0px;

  /* Background Gradient */
  background: linear-gradient(
  180deg,
  #1f1f1f 0%,
  #151515 35%,
  #0a0a0a 100%
);
}


body{
  font-family: var(--font-body);
  font-size: var(--font-size-base, 16px);
}

h1,h2,h3,h4,h5,h6{
  font-family: var(--font-headings);
}

.main-nav a{
  font-family: var(--font-nav);
}

.hero-btn{
  font-family: var(--font-buttons);
}


html, body{
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after{
  box-sizing: border-box;
}

/* Wenn Banner aktiv ist, schieben wir den Header nach unten */
.has-top-banner{
  --header-offset: var(--banner-height);
}


.site-header {
    padding: 18px;
}

/* ================================
   TOP BANNER
================================ */
/* Header Banner */
.top-banner{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;

  /* H�he stabil + Text immer sichtbar */
  min-height: var(--banner-height, 44px);
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px 16px;       /* statt fixe height + padding-chaos */
  text-align: center;
  text-decoration: none;
  font-weight: 600;

  background: var(--banner-bg, #8f4bff);
  color: var(--banner-text, #ffffff);
}

/* ================================
   HEADER (STICKY + BLUR)
================================ */
.site-header{
  position: fixed;
  top: var(--header-offset);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  isolation: isolate;

  background: transparent;
  overflow: hidden;

  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  /* gleichm��iger Blur */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  /* sauberer Schatten nach unten */
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Header st�rker wenn gescrollt */
.site-header.scrolled::before{
  background: rgba(10, 10, 14, 0.62);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}


/* Alles im Header (Logo, Men� etc.) liegt vorne */
.site-header .header-inner{
  position: relative;
  z-index: 1;
}

/* optional: extra Sicherheit nur f�rs Logo */
.site-header .logo{
  position: relative;
  z-index: 2;
}


.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* LOGO */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

/* Logo kleiner */
.site-logo img,
.custom-logo {
  height: 36px;
  width: auto;
  max-height: 36px;
}

/* MENU */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 20px 0 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.85;
}

.main-nav a:hover {
    opacity: 1;
}
/* ================================
   MENU HOVER EFFECT
================================ */
.main-nav a {
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7f5cff, #4fd1ff);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(127, 92, 255, 0.8);
}

.main-nav a:hover::after {
    width: 100%;
}


/* ================================
   MOBILE MENU
================================ */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

  .site-logo img,
  .custom-logo {
    height: 32px;
  }
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.mobile-menu.is-open{
  display: flex;
}

html.no-scroll,
html.no-scroll body{
  overflow: hidden;
}

/* Close Button */
.mobile-menu-close{
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 34px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  opacity: 0.85;
}
.mobile-menu-close:hover{ opacity: 1; }

/* �Burger�-Icon */
.menu-icon{
  display: inline-block;
  width: 26px;
  height: 18px;
  position: relative;
}
.menu-icon::before,
.menu-icon::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.menu-icon::before{ top: 2px; }
.menu-icon::after{ bottom: 2px; }

.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-menu a {
    display: block;
    font-size: 24px;
    color: #fff;
    padding: 15px;
    text-decoration: none;
}

/* ================================
   HERO SECTION
================================ */
.hero {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    height: 55vh;
    min-height: 420px;
    max-height: 720px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--header-offset) + 60px);
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.25) 45%,
    rgba(0,0,0,0.65) 100%
  );
  pointer-events:none;
}

/* sicherstellen, dass Content �ber Overlay bleibt */
.hero-content{ z-index: 2; }
.hero-media{ z-index: 0; }


.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-fit-contain .hero-media { object-fit: contain; }
.hero-fit-fill .hero-media { object-fit: cover; }  /* "fill" = cover in CSS sinnvoll */
.hero-fit-cover .hero-media { object-fit: cover; }
.hero-content{
  padding-top: calc(var(--header-offset) + 80px);
}


/* OBJECT FIT OPTIONS */
.hero-fit-cover .hero-media {
    object-fit: cover;
}

.hero-fit-contain .hero-media {
    object-fit: contain;
}

.hero-fit-fill .hero-media {
    object-fit: fill;
}

.hero-fit-none .hero-media {
    object-fit: none;
}

/* CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 40px;
}

.hero-content h1{
  font-size: var(--hero-h1-size, 42px);
  margin-bottom: 4px;   /* ? weniger Abstand nach unten */
}

.hero-text-1{
  font-size: var(--hero-text1-size, 20px);
  font-weight: 600;
  opacity: 0.92;
  margin-top: 4px;      /* ? n�her an H1 */
  margin-bottom: 18px; /* ? mehr Abstand zu Text 2 */
}

.hero-text-2{
  font-size: var(--hero-text2-size, 16px);
  opacity: 0.85;
  margin: 0;
}

/* Alignment: Position + Text + Buttons */
.hero{
  padding-left: 6vw;
  padding-right: 6vw;
}

.hero-align-left{
  justify-content: flex-start;
}
.hero-align-left .hero-content{
  text-align: left;
}
.hero-align-left .hero-actions{
  justify-content: flex-start;
}

.hero-align-center{
  justify-content: center;
}
.hero-align-center .hero-content{
  text-align: center;
}
.hero-align-center .hero-actions{
  justify-content: center;
}

.hero-align-right{
  justify-content: flex-end;
}
.hero-align-right .hero-content{
  text-align: right;
}
.hero-align-right .hero-actions{
  justify-content: flex-end;
}

/* Optional: Content-Breite f�r linken/rechten Look �wie im Screenshot� */
.hero-content{
  max-width: 640px;
}


.hero-actions{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:22px;
}

.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
}

/* Button 1: Gradient (wie dein Menu Hover/Underline) */
.hero-btn-primary{
  color:#fff;
  background: linear-gradient(90deg, #7f5cff, #4fd1ff);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.hero-btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
}

/* Button 2: Transparent + Randfarbe aus Customizer */
.hero-btn-outline{
  color:#fff;
  background: transparent;
  border: 2px solid var(--btn-border, #ffffff);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.hero-btn-outline:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}


main.content{
  min-height: 60vh;
  padding-top: calc(var(--header-offset) + 120px);
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1200px;
  margin: 0 auto;
  color: #eaeaea;
}

/* === STREAM SECTION (polished) === */
.stream-section{
  display:grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items:center;

  padding: 44px;
  margin: 48px auto;

  border-radius: 28px;
  overflow: hidden;

  /* Dark banner + subtle glow */
  background:
    radial-gradient(1000px 400px at 15% 35%, rgba(0, 255, 240, .14), transparent 55%),
    radial-gradient(900px 420px at 75% 55%, rgba(110, 80, 255, .10), transparent 55%),
    linear-gradient(180deg, rgba(10, 14, 18, .92), rgba(6, 8, 12, .92));

  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}

.stream-profile{
  display:flex;
  flex-direction:column;
  gap: 12px;
  padding-left: 6px;
}

.stream-avatar{
  width: 104px;
  height: 104px;
  border-radius: 999px;
  object-fit: cover;

  /* ring + glow */
  border: 2px solid rgba(255,255,255,.10);
  box-shadow:
    0 0 0 6px rgba(0,255,240,.06),
    0 18px 40px rgba(0,0,0,.55);
}

/* Heading */
.stream-heading{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 8px;
  margin-top: 8px;
}


.stream-kicker{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,255,240,.10);
  border: 1px solid rgba(0,255,240,.16);
}

.stream-title{
  margin: 0;
  font-size: 22px;
  letter-spacing: .02em;
  text-transform: none;
}

.stream-text{
  margin: 6px 0 0;
  opacity: .86;
  line-height: 1.55;
  max-width: 28ch;
}

/* Video card */
.stream-embed{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow:hidden;

  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 70px rgba(0,0,0,.60);
}

/* Twitch iframe/container fill */
.stream-embed .twitch-embed,
.stream-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

/* Mobile */
@media (max-width: 980px){
  .stream-section{
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 22px;
  }

  .stream-text{
    max-width: 60ch;
  }
}

.stream-game{
  display:block;
  margin-top: 6px;
  font-size: .9em;
  opacity: .7;
}

.stream-kicker.is-live{
  background: rgba(255, 60, 60, 0.18);
  border: 1px solid rgba(255, 60, 60, 0.45);
  color: #fff;

  animation: livePulse 1.6s infinite;
}


.stream-kicker.is-offline{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  opacity: .85;
}

.stream-game{
  display:block;
  margin-top: 6px;
  font-size: .92em;
  opacity: .75;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 60, 60, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 60, 60, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 60, 60, 0);
  }
}

.site-footer{
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  opacity: .95;
  color: #fff;
}

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
}

.footer-copy{
  margin:0;
  opacity:.7;
}

.footer-menu{
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-auto-flow: column;              /* erst nach unten füllen, dann neue Spalte rechts */
  grid-template-rows: repeat(4, auto);  /* max 4 Einträge pro Spalte */
  row-gap: 10px;
  column-gap: 28px;

  justify-content: center;             /* Menü unter Titel zentrieren */
}


/* Footer Links wie Main Menu */
.footer-menu a{
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.85;
  position: relative;
}

.footer-menu a:hover{
  opacity: 1;
}

/* gleicher Hover-Underline wie im Header */
.footer-menu a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7f5cff, #4fd1ff);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(127, 92, 255, 0.8);
}

.footer-menu a:hover::after{
  width: 100%;
}

.footer-menu li{
  text-align: left;
}


/* Copyright unter dem Menü */
.footer-copy{
  margin:0;
  opacity:.7;
}

@media (max-width: 520px){
  .footer-menu{
    grid-auto-flow: row;
    grid-template-rows: none;
  }
}

.footer-menus{
  display: grid;
  grid-template-columns: repeat(3, auto);
  column-gap: 100px;   /* horizontaler Abstand zwischen Menüs */
  row-gap: 26px;
  align-items: start;
  justify-content: center;
}


@media (max-width: 900px){
  .footer-menus{
    grid-template-columns: 1fr;
  }
}

.footer-col-title{
  position: relative;
  text-align: center;
  font-weight: 700;
  letter-spacing: .10em;
  font-size: 13px;
  margin-bottom: 18px;
}


@media (max-width: 700px){
  .footer-menu{
    grid-auto-flow: row;
    grid-template-rows: none;
    justify-content: start;
  }

  .footer-col-title{
    text-align: left;
  }
}

.footer-col-title::after{
  content: "";
  display: block;
  margin: 6px auto 0;

  width: 42px;
  height: 2px;

  background: linear-gradient(
    90deg,
    #7f5cff,
    #4fd1ff
  );

  box-shadow: 0 0 8px rgba(127, 92, 255, 0.8);
  border-radius: 2px;
}

