/* =============================================================
   YEP CASINO DEUTSCHLAND — Hauptstylesheet
   Domain: yepcasino-boni.de | Sprache: DE | Geo: Deutschland
   =============================================================
   Inhaltsverzeichnis:
   01. CSS-Variablen & Grundeinstellungen
   02. Reset & Basis-Styles
   03. Typografie
   04. Header & Navigation (sticky)
   05. Mobile Navigation / Hamburger
   06. Hero-Banner
   07. Breadcrumbs
   08. Allgemeine Sektionen & Layout
   09. Bonus-Karten
   10. Informationstabelle (responsive)
   11. Schrittweise Anleitungen (Steps/Lists)
   12. Spielgitter (Games Grid)
   13. Zahlungsmethoden-Grid
   14. VIP-Bereich
   15. CTA-Bereich
   16. Footer
   17. Animationen & Keyframes
   18. Media Queries (Responsive Design)
   ============================================================= */

/* ============================================================
   01. CSS-VARIABLEN & GRUNDEINSTELLUNGEN
   ============================================================ */
:root {
  /* Farbpalette – dunkles Casino-Theme mit Lila/Gold-Akzenten */
  --bg-primary:        #07071a;   /* Haupthintergrund: tiefes Nachtblau */
  --bg-secondary:      #0d0d28;   /* Sekundärer Hintergrund */
  --bg-card:           #111133;   /* Kartenhintergrund */
  --bg-card-hover:     #181844;   /* Karte beim Hover */
  --color-primary:     #9333ea;   /* Primärfarbe: leuchtendes Lila */
  --color-primary-dark:#7c3aed;   /* Dunkleres Lila */
  --color-primary-glow:rgba(147, 51, 234, 0.4); /* Glow-Effekt */
  --color-gold:        #f59e0b;   /* Goldton für Akzente */
  --color-gold-light:  #fcd34d;   /* Helles Gold */
  --color-gold-glow:   rgba(245, 158, 11, 0.35);
  --color-success:     #10b981;   /* Grün für positive Elemente */
  --text-primary:      #f0eeff;   /* Haupttextfarbe */
  --text-secondary:    #9b9bc0;   /* Sekundäre Textfarbe */
  --text-muted:        #6b6b90;   /* Gedämpfter Text */
  --border-color:      rgba(147, 51, 234, 0.25); /* Rahmenfarbe */
  --border-gold:       rgba(245, 158, 11, 0.35); /* Goldrahmen */

  /* Schriftarten */
  --font-heading: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body:    'Open Sans', 'Segoe UI', Arial, sans-serif;

  /* Abstände */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;

  /* Radien */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-full:9999px;

  /* Schatten */
  --shadow-card:   0 4px 24px rgba(0,0,0,0.4);
  --shadow-purple: 0 0 24px var(--color-primary-glow);
  --shadow-gold:   0 0 24px var(--color-gold-glow);

  /* Übergänge */
  --transition-fast:   0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow:   0.4s ease;

  /* Container-Breite */
  --container-max: 1200px;
  --container-pad: 1.25rem;

  /* Header-Höhe (für sticky-Offset) */
  --header-height: 72px;
  --header-height-mobile: 60px;
}

/* ============================================================
   02. RESET & BASIS-STYLES
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;       /* Sanftes Scrollen für Anker-Links */
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;            /* Horizontales Überscrollen verhindern */
  /* Dezentes animiertes Sternenhintergrund-Muster */
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(147,51,234,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(245,158,11,0.04) 0%, transparent 50%);
}

/* Scrollbar Styling (WebKit) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: var(--color-primary-dark);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

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

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-gold-light); }
a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

ul, ol { padding-left: 0; list-style: none; }

/* Hilfsklasse: Nur für Screenreader sichtbar */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Allgemeiner Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ============================================================
   03. TYPOGRAFIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

/* H1 – Seitentitel */
h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  background: linear-gradient(135deg, #fff 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-lg);
}

/* H2 – Abschnittsüberschriften */
h2 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--color-gold-light);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-gold);
  position: relative;
}
/* Dekorativer Unterstrich-Akzent bei H2 */
h2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  border-radius: var(--radius-full);
}

/* H3 – Unterüberschriften */
h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-size: 0.975rem;
}

strong { color: var(--text-primary); font-weight: 600; }

/* ============================================================
   04. HEADER & NAVIGATION (STICKY)
   ============================================================ */
/* Header bleibt auf Desktop und Mobile oben fixiert */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(7, 7, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition-normal);
}

/* Schattenstatus wird per JS gesetzt wenn gescrollt */
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.5), var(--shadow-purple);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo-Bereich */
.header-logo a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-primary);
}
.header-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 8px var(--color-primary-glow));
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--color-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop-Navigation */
.header-nav { display: flex; align-items: center; gap: var(--space-xl); }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color var(--transition-fast);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-gold-light);
}

/* Header-CTA Buttons */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ============================================================
   05. BUTTONS (Alle Varianten)
   ============================================================ */
/* Primärer Button – Gold mit Glow */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-normal),
    background var(--transition-fast);
  /* white-space: nowrap auf Desktop – auf Mobile wird es in der Media Query
     auf normal gesetzt, damit Buttons nicht über den Rand hinausgehen */
  white-space: nowrap;
  /* Sicherheitsnetz: Button darf niemals den Container überbreiten */
  max-width: 100%;
  box-sizing: border-box;
}

/* Größen-Varianten */
.btn-sm  { padding: 0.45rem 1.1rem; font-size: 0.8rem; }
.btn-md  { padding: 0.75rem 1.75rem; }
.btn-lg  { padding: 0.9rem 2.25rem; font-size: 1rem; }
.btn-xl  { padding: 1.1rem 2.8rem; font-size: 1.05rem; }

/* Gold Button – Hauptaktion */
.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), #e08b08);
  color: #1a0a00;
  box-shadow: 0 4px 18px var(--color-gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px var(--color-gold-glow), 0 0 0 3px rgba(245,158,11,0.2);
  color: #1a0a00;
}
.btn-gold:active { transform: translateY(0) scale(0.99); }

/* Lila Button – Sekundäre Aktion */
.btn-purple {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: 0 4px 18px var(--color-primary-glow);
}
.btn-purple:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px var(--color-primary-glow), 0 0 0 3px rgba(147,51,234,0.2);
  color: #fff;
}

/* Outline Button – Tertiäre Aktion */
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
}
.btn-outline:hover {
  background: var(--color-gold);
  color: #1a0a00;
  transform: translateY(-2px);
}

/* ============================================================
   06. HERO-BANNER
   ============================================================ */
/* Hauptbanner-Bereich mit Hintergrundbild */
.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Mindesthöhe damit CTA immer sichtbar ist */
  min-height: 420px;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Das Banner-Bild selbst – füllt den gesamten Container */
.hero-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

/* Dunkler Gradient-Overlay für bessere Lesbarkeit */
.hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7,7,26,0.55) 0%,
    rgba(7,7,26,0.2) 50%,
    rgba(7,7,26,0.55) 100%
  );
  z-index: 1;
}

/* CTA-Block – halbtransparent, zentriert auf Banner */
.hero-banner__cta {
  position: relative;
  z-index: 2;
  text-align: center;
  /* Glassmorphism-Effekt für semi-transparenten Hintergrund */
  background: rgba(7, 7, 26, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  max-width: 540px;
  width: calc(100% - 2rem);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(147,51,234,0.15);
}

.hero-banner__cta-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.hero-banner__cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-sm);
  line-height: 1.15;
  -webkit-text-fill-color: #fff; /* Override gradient */
  background: none;
}

.hero-banner__cta-desc {
  font-size: 0.9rem;
  color: rgba(240,238,255,0.85);
  margin-bottom: var(--space-lg);
}

.hero-banner__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* Pulsierende Animation auf dem Haupt-CTA Button */
.btn-pulse {
  animation: pulse-gold 2.5s ease-in-out infinite;
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 4px 18px var(--color-gold-glow); }
  50%       { box-shadow: 0 4px 32px rgba(245,158,11,0.6), 0 0 0 6px rgba(245,158,11,0.15); }
}

/* ============================================================
   07. BREADCRUMBS
   ============================================================ */
.breadcrumbs-wrapper {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  list-style: none;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
}

/* Trennzeichen zwischen Breadcrumb-Einträgen */
.breadcrumbs__item:not(:last-child)::after {
  content: '›';
  color: var(--text-muted);
  font-size: 0.9rem;
}

.breadcrumbs__item a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.breadcrumbs__item a:hover { color: var(--color-gold); }

/* Aktueller Eintrag (keine Verlinkung) */
.breadcrumbs__item[aria-current="page"] span {
  color: var(--color-gold-light);
  font-weight: 600;
}

/* ============================================================
   08. HAUPTINHALT – LAYOUT UND SEKTIONEN
   ============================================================ */
.main-content {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

/* Artikel-Layout: Zweispaltig auf Desktop */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-2xl);
  align-items: start;
}

/* Hauptartikel */
.content-article {
  min-width: 0; /* Verhindert Overflow in Grid */
}

/* Seitenleiste (Sticky) */
.content-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

/* Sektion-Wrapper – einheitlicher Abstand */
.section-block {
  margin-bottom: var(--space-2xl);
}

/* Allgemeine Sektion (Hintergrundbereich) */
.site-section {
  padding: var(--space-2xl) 0;
}
.site-section--alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Sektionsüberschrift mit dekorativem Badge */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  box-shadow: 0 0 12px var(--color-primary-glow);
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-gold-light);
  margin-bottom: var(--space-sm);
  margin-top: 0;
}
.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ============================================================
   09. BONUS-KARTEN
   ============================================================ */
/* Grid für Bonus-Karten */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

/* Einzelne Bonus-Karte */
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
}

/* Leuchtender Rand beim Hover */
.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-purple);
  border-color: var(--color-primary);
}

/* Dekorativer Hintergrundgradient */
.bonus-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* Bonus-Nummer-Badge */
.bonus-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: var(--space-md);
  box-shadow: 0 0 16px var(--color-primary-glow);
}

.bonus-card__amount {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.bonus-card__game {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.bonus-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.bonus-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

/* "Empfohlen"-Abzeichen auf der zweiten Karte */
.bonus-card--featured {
  border-color: var(--color-gold);
}
.bonus-card--featured::after {
  content: '★ Beliebt';
  position: absolute;
  top: var(--space-md); right: var(--space-md);
  background: linear-gradient(135deg, var(--color-gold), #d97706);
  color: #1a0a00;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

/* ============================================================
   10. INFORMATIONSTABELLE (RESPONSIVE)
   ============================================================ */
/* Wrapper für horizontales Scrollen auf kleinen Screens */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  margin: var(--space-xl) 0;
  border: 1px solid var(--border-color);
  /* Visueller Hinweis für Mobile-Scrollen */
  box-shadow: var(--shadow-card);
}

.casino-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 400px; /* Verhindert zu starke Komprimierung */
}

/* Tabellenkopf */
.casino-table thead tr {
  background: linear-gradient(135deg, var(--color-primary-dark), #5b21b6);
}
.casino-table th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Tabellenzeilen mit abwechselndem Hintergrund */
.casino-table tbody tr {
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-fast);
}
.casino-table tbody tr:last-child { border-bottom: none; }
.casino-table tbody tr:nth-child(odd)  { background: var(--bg-card); }
.casino-table tbody tr:nth-child(even) { background: rgba(17,17,51,0.5); }
.casino-table tbody tr:hover { background: var(--bg-card-hover); }

.casino-table td {
  padding: var(--space-md) var(--space-lg);
  vertical-align: middle;
  color: var(--text-secondary);
}

/* Erste Spalte (Kategorie) mit Akzentfarbe */
.casino-table td:first-child {
  color: var(--text-primary);
  font-weight: 600;
}

/* MOBILE TABLE: Karten-Layout statt Tabelle (unter 600px) */
@media (max-width: 599px) {
  /* Wrapper: kein horizontales Scrollen, keine extra Border */
  .table-wrapper {
    border: none;
    box-shadow: none;
    /* overflow MUSS clip sein — verhindert, dass die Karten über den Rand ragen */
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Alle Tabellen-Elemente werden zu Blöcken */
  .casino-table,
  .casino-table thead,
  .casino-table tbody,
  .casino-table th,
  .casino-table td,
  .casino-table tr { display: block; }

  /* KRITISCH: min-width:400px der Tabelle aufheben —
     das ist die Hauptursache des Overflows auf Mobile */
  .casino-table {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Kopfzeile unsichtbar machen */
  .casino-table thead tr {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
  }

  /* Jede Zeile = eine Karte */
  .casino-table tbody tr {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    padding: var(--space-sm) 0;
    /* Karte NIEMALS breiter als Container */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .casino-table tbody tr:hover { background: var(--bg-card-hover); }

  /* Zelle: zweispaltig (Label links · Wert rechts),
     bei langem Text automatisch auf Spalte wechseln */
  .casino-table td {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.55rem var(--space-md);
    border-bottom: 1px solid rgba(147,51,234,0.1);
    font-size: 0.875rem;
    /* Zelle passt sich immer in 100% des Elternelements ein */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .casino-table td:last-child { border-bottom: none; }

  /* data-label als Purple-Badge — links, Breite fix */
  .casino-table td::before {
    content: attr(data-label) ":";
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;            /* Label schrumpft nicht */
    min-width: 4.5rem;         /* Einheitliche Label-Breite */
  }

  /* Wert-Text: Rest des Platzes, mit Umbruch */
  .casino-table td > * ,
  .casino-table td {
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* ============================================================
   11. SCHRITT-ANLEITUNGEN & LISTEN
   ============================================================ */
/* Nummerierte Schritt-Liste mit eigenem Stil */
.steps-list {
  counter-reset: step-counter;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.steps-list__item {
  counter-increment: step-counter;
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.steps-list__item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 12px var(--color-primary-glow);
}

/* Schritt-Nummer-Kreis */
.steps-list__item::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px var(--color-primary-glow);
  flex-shrink: 0;
}

.steps-list__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Feature-Liste mit Häkchen-Icons */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(147,51,234,0.08);
}
.feature-list__item:last-child { border-bottom: none; }

/* Gold-Häkchen vor jedem Punkt */
.feature-list__item::before {
  content: '✦';
  color: var(--color-gold);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.feature-list__item strong { color: var(--text-primary); }

/* ============================================================
   12. SPIELGITTER (GAMES GRID)
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

/* Einzelnes Spiel-Karte */
.game-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-card), var(--shadow-purple);
  border-color: var(--color-primary);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.game-card:hover img { transform: scale(1.08); }

/* Spielkarte Hover-Overlay mit Name */
.game-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,26,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-sm);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.game-card:hover .game-card__overlay { opacity: 1; }

.game-card__name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

/* Spielkategorien-Tabs */
.games-tabs {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-lg);
  scrollbar-width: none;
}
.games-tabs::-webkit-scrollbar { display: none; }

.games-tab {
  flex-shrink: 0;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.games-tab:hover, .games-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 12px var(--color-primary-glow);
}

/* ============================================================
   13. ZAHLUNGSMETHODEN-GRID
   ============================================================ */
.payments-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}

/* Einzelne Zahlungsmethode */
.payment-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  transition: all var(--transition-fast);
}
.payment-item:hover {
  border-color: var(--color-gold);
  box-shadow: 0 0 12px var(--color-gold-glow);
  transform: translateY(-2px);
}
.payment-item img {
  height: 28px;
  width: auto;
  filter: brightness(0.9) saturate(0.8);
  transition: filter var(--transition-fast);
}
.payment-item:hover img {
  filter: brightness(1.1) saturate(1.2);
}

/* ============================================================
   14. VIP-PROGRAMM-SEKTION
   ============================================================ */
.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.vip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.vip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

/* Goldener Glow-Hintergrund */
.vip-card::before {
  content: '';
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: 150px; height: 80px;
  background: radial-gradient(ellipse, var(--color-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.vip-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.vip-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.vip-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================================
   15. SIDEBAR-KARTE (Schnell-Info)
   ============================================================ */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}
.sidebar-card__title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-gold);
}
.sidebar-rating {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.rating-label { color: var(--text-secondary); }
.rating-stars { color: var(--color-gold); font-size: 0.85rem; }
.sidebar-cta { text-align: center; margin-top: var(--space-md); }
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* ============================================================
   16. FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 6px var(--color-primary-glow));
}
.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

/* Verantwortungsvoll Spielen Badges */
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-badge {
  background: rgba(147,51,234,0.15);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--color-gold); }

/* Verantwortungsvoller Spielen Hinweis */
.footer-disclaimer {
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-lg);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-disclaimer strong { color: var(--text-secondary); }

/* Footer Bottom-Bar */
.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}
.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.75rem;
}
.footer-bottom-links a:hover { color: var(--color-gold); }

/* ============================================================
   17. MOBILE NAVIGATION (Hamburger-Menü)
   ============================================================ */
/* Hamburger-Button – nur auf Mobile sichtbar */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  z-index: 1001;
}
.nav-toggle__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  transform-origin: center;
}

/* Animation: Hamburger wird zum X */
.nav-toggle.active .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active .nav-toggle__line:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer-Menü */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 7, 26, 0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}
.mobile-nav__links a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition-fast);
}
.mobile-nav__links a:hover { color: var(--color-gold); }
.mobile-nav__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

/* ============================================================
   18. ANIMATIONEN & KEYFRAMES
   ============================================================ */
/* Einblend-Animation für Sektionen beim Scrollen */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dezente Glitzer-Partikel-Animation (CSS-only) */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
.float-animation { animation: float 4s ease-in-out infinite; }

/* Schimmern-Effekt für Gold-Elemente */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--color-gold) 0%,
    var(--color-gold-light) 40%,
    #fff 50%,
    var(--color-gold-light) 60%,
    var(--color-gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ============================================================
   19. MEDIA QUERIES (RESPONSIVE DESIGN)
   ============================================================ */

/* ─── TABLET: bis 1024px ─── */
@media (max-width: 1024px) {
  :root { --container-pad: 1rem; }

  /* Zweispaltiges Layout auf eine Spalte reduzieren */
  .content-layout {
    grid-template-columns: 1fr;
  }
  /* Sidebar: sticky aufheben */
  .content-sidebar {
    position: static;
  }

  /* Footer-Grid: 2 Spalten */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ─── MOBILE: bis 768px ─── */
@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
  }

  /* Desktop-Navigation verstecken, Hamburger zeigen */
  .header-nav   { display: none; }
  .header-cta   { display: none; }
  .nav-toggle   { display: flex; }

  /* Header-Logo auf Mobile verkleinern */
  .header-logo img { height: 36px; }
  .logo-text { font-size: 1rem; }

  /* Hero-Banner: Mindesthöhe auf Mobile reduzieren */
  .hero-banner {
    min-height: 320px;
    max-height: 480px;
  }
  /* Mobile: Banner-Bild wechselt auf portrait-format */
  .hero-banner__img { object-position: center center; }

  /* CTA-Block auf Mobile kompakter */
  .hero-banner__cta {
    padding: 1.5rem;
    max-width: calc(100% - 2rem);
  }
  .hero-banner__cta-title { font-size: 1.3rem; }
  .hero-banner__cta-buttons { flex-direction: column; }
  .hero-banner__cta-buttons .btn { width: 100%; }

  /* ── BUTTONS: Overflow-Fix auf Mobile ──
     Alle Buttons dürfen niemals den Container überschreiten */
  .btn {
    max-width: 100%;
    box-sizing: border-box;
    /* Text darf umbrechen, damit keine horizontale Überschreitung entsteht */
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
  }

  /* btn-lg und btn-xl im Artikelinhalt: volle Breite */
  .content-article .btn-lg,
  .content-article .btn-xl,
  .section-block .btn-lg,
  .section-block .btn-xl {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Button-Gruppen (inline-gestylte flex-div) im Artikel
     vertikal stapeln, damit kein Overflow entsteht */
  .content-article section > div > .btn,
  .section-block > div > .btn {
    width: 100%;
  }

  /* Finaler CTA-Banner: Buttons vollbreit */
  .site-section .btn-lg,
  .site-section .btn-xl {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Bonus-Karten: einzelne Spalte */
  .bonus-grid { grid-template-columns: 1fr; }

  /* Spiele-Grid: 2 Spalten auf Mobile */
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }

  /* VIP-Grid: einzelne Spalte */
  .vip-grid { grid-template-columns: 1fr; }

  /* Footer: einzelne Spalte */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Footer-Bottom: untereinander */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }

  /* Zahlungen: kompakteres Grid */
  .payments-grid { gap: var(--space-sm); }
  .payment-item { padding: var(--space-sm) var(--space-md); }
  .payment-item img { height: 22px; }

  /* Hauptinhalt: weniger vertikaler Abstand */
  .main-content { padding: var(--space-xl) 0 var(--space-2xl); }
  .site-section  { padding: var(--space-xl) 0; }
}

/* ─── KLEINES MOBILE: bis 480px ─── */
@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-banner { min-height: 280px; }

  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }

  /* Buttons auf sehr kleinen Screens: reduzierte Schrift */
  .btn-lg  { font-size: 0.875rem; padding: 0.75rem 1rem; }
  .btn-xl  { font-size: 0.9rem;   padding: 0.85rem 1rem; }

  /* Inline-flex-Container für Buttongruppen:
     auf Spalte umschalten damit kein Overflow */
  .content-article section div[style*="flex"],
  .site-section div[style*="flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .content-article section div[style*="flex"] .btn,
  .site-section div[style*="flex"] .btn {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ─── DRUCK-STYLES ─── */
@media print {
  .site-header, .hero-banner, .mobile-nav,
  .nav-toggle, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
  .container { max-width: 100%; }
}
