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

:root {
  --bg: #ffffff;
  --bg-off: #f8f8f6;
  --bg-card: #ffffff;
  --bg-section: #f4f3f0;
  --red: #d42b2b;
  --red-dark: #b01f1f;
  --red-light: #fdf2f2;
  --red-mid: #f9e0e0;
  --red-border: rgba(212, 43, 43, 0.18);
  --border: #e8e6e1;
  --border2: #d4d0c8;
  --text: #111010;
  --text-muted: #666460;
  --text-dim: #aaa49c;
  --green: #1a9e5c;
  --green-bg: #f0faf5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 28px; height: 62px;
  display: flex; align-items: center; gap: 40px;
}
.nav-logo {
  font-size: 1rem; font-weight: 800;
  letter-spacing: -0.02em; white-space: nowrap;
  color: var(--text);
}
.nav-logo span { color: var(--red); }
.nav-links { display: flex; gap: 26px; list-style: none; flex: 1; }
.nav-links a {
  font-size: 0.875rem; color: var(--text-muted); font-weight: 500;
  transition: color 0.2s; letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--red); font-weight: 600; }
.nav-update {
  font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
  background: var(--bg-section); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 20px; white-space: nowrap;
}
.mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.3rem; cursor: pointer; margin-left: auto; }

/* ── HERO ── */
.hero {
  padding: 88px 28px 72px;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at 50% 20%, rgba(212,43,43,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.78rem; font-weight: 600; color: var(--red);
  margin-bottom: 28px; letter-spacing: 0.02em;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(26,158,92,0.2);
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(26,158,92,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(26,158,92,0.08); }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--text);
}
.accent { color: var(--red); }
.hero p {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 500px; margin: 0 auto 36px;
  line-height: 1.72; font-weight: 400;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 700;
  cursor: pointer; transition: all 0.18s;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--red); color: #fff; border: none;
  box-shadow: 0 4px 14px rgba(212,43,43,0.3);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,43,43,0.35); }
.btn-outline {
  background: transparent; color: var(--text-muted);
  border: 1.5px solid var(--border2);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); background: var(--red-light); }
.btn-sm { padding: 9px 20px; font-size: 0.84rem; }

/* ── STATS ── */
.stats-wrap { padding: 0 28px; max-width: 1200px; margin: 0 auto; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat {
  padding: 28px 24px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-value {
  font-size: 2rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--red); line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* ── SECTION ── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-section); }

.section-header { margin-bottom: 36px; }
.section-label {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800;
  letter-spacing: -0.025em; margin-bottom: 8px; line-height: 1.2;
}
.section-header p { color: var(--text-muted); font-size: 0.93rem; font-weight: 400; }

/* ── CASINO GRID ── */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.casino-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm);
}
.casino-card:hover {
  border-color: rgba(212,43,43,0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.casino-card-header { display: flex; justify-content: space-between; align-items: center; }
.casino-name { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.casino-score {
  font-size: 0.85rem; font-weight: 700; color: var(--red);
  background: var(--red-light);
  border: 1px solid var(--red-border);
  padding: 3px 10px; border-radius: 20px;
}
.star { color: #f59e0b; }
.stars-row { display: flex; align-items: center; gap: 3px; font-size: 0.78rem; color: var(--text-dim); }
.stars-filled { color: #f59e0b; letter-spacing: 1px; }
.stars-empty { color: #d4d0c8; letter-spacing: 1px; }

.casino-bonus {
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-sm); padding: 10px 14px;
}
.casino-bonus-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red); margin-bottom: 3px; font-weight: 600; }
.casino-bonus-value { font-size: 0.9rem; font-weight: 700; color: var(--text); }

.casino-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.casino-fact { background: var(--bg-off); border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; }
.casino-fact-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-dim); margin-bottom: 2px; font-weight: 600; }
.casino-fact-value { font-size: 0.83rem; font-weight: 600; color: var(--text); }

.casino-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.casino-tag {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 4px; padding: 3px 9px;
  font-size: 0.72rem; font-weight: 500; color: var(--text-muted);
}

.casino-cta {
  display: block; text-align: center;
  background: var(--red); color: #fff;
  padding: 11px 20px; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 700;
  transition: background 0.18s, transform 0.15s, box-shadow 0.15s;
  margin-top: auto;
  box-shadow: 0 2px 8px rgba(212,43,43,0.2);
  letter-spacing: 0.01em;
}
.casino-cta:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(212,43,43,0.3); }

/* ── ARTICLES ── */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.article-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.article-card:hover { border-color: rgba(212,43,43,0.3); box-shadow: var(--shadow); transform: translateY(-2px); }
.article-thumb { font-size: 2rem; padding: 22px 22px 0; }
.article-body { padding: 14px 22px 22px; }
.article-meta { font-size: 0.73rem; color: var(--text-dim); margin-bottom: 7px; font-weight: 500; }
.article-body h3 { font-size: 0.97rem; font-weight: 700; line-height: 1.4; margin-bottom: 7px; letter-spacing: -0.01em; }
.article-body p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--text);
  padding: 72px 28px;
  text-align: center;
}
.cta-section h2 { color: #fff; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.6); font-size: 1rem; margin-bottom: 28px; max-width: 440px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.btn-white { background: #fff; color: var(--red); border: none; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.btn-white:hover { background: #f8f8f8; transform: translateY(-1px); }

/* ── AGE/DISCLAIMER ── */
.age-badge {
  background: rgba(212,43,43,0.1); border: 1px solid rgba(212,43,43,0.2);
  color: var(--red); padding: 4px 12px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700;
}

/* ── FOOTER ── */
.footer { background: #f4f3f0; border-top: 1px solid var(--border); padding: 56px 28px 32px; }
.footer-grid { max-width: 1200px; margin: 0 auto 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-brand .nav-logo { font-size: 1.15rem; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.855rem; color: var(--text-muted); line-height: 1.7; max-width: 260px; }
.footer-disclaimer { font-size: 0.78rem; color: var(--text-dim); line-height: 1.65; max-width: 270px; margin-top: 12px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.86rem; color: var(--text-dim); margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.77rem; color: var(--text-dim); text-align: center; line-height: 1.9; }
.footer-legal-links a { color: var(--red); margin: 0 5px; }
.footer-legal-links a:hover { text-decoration: underline; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.fade-in { opacity: 0; animation: fadeUp 0.55s ease forwards; }
.fade-in:nth-child(1) { animation-delay: 0.0s; }
.fade-in:nth-child(2) { animation-delay: 0.07s; }
.fade-in:nth-child(3) { animation-delay: 0.14s; }
.fade-in:nth-child(4) { animation-delay: 0.21s; }
.fade-in:nth-child(5) { animation-delay: 0.28s; }
.fade-in:nth-child(6) { animation-delay: 0.35s; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg);
    border-bottom: 1.5px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 24px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .mobile-toggle { display: block; }
  .nav-update { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--border); }
  .stat:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 60px 0 48px; }
}

/* ── MOBILE NAV OPEN CLASS (casino-reviews + gluecksspielbericht index) ── */
@media (max-width: 860px) {
  .nav-links.open {
    display: flex !important;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg);
    border-bottom: 1.5px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }

  /* ── TABLE OVERFLOW FIX ── */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .compare-table-wrap,
  .comp-table-wrap,
  .wager-table-wrap,
  .casino-table-wrap,
  .feature-matrix,
  .konditionen-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
}

/* ── VERGLEICHE TABELLEN MOBILE FIX ── */
@media (max-width: 860px) {
  .compare-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* Content card darf nicht abschneiden */
  .content-card {
    overflow: visible !important;
    padding: 24px 16px !important;
  }
}
