/* ==========================================================================
   Online Casinos Deutschland – shared stylesheet
   Casino-Thema: dunkler Filz-Hintergrund, Gold/Rot-Akzente, DE-Flaggenstreifen
   ========================================================================== */

:root {
  --bg: #0c1420;
  --bg-alt: #101c2c;
  --surface: #16233a;
  --surface-2: #1c2c48;
  --border: #2a3c5c;
  --text: #eef2f8;
  --text-muted: #9fb0c9;
  --gold: #f2b705;
  --gold-2: #ffd54a;
  --red: #d1263c;
  --green: #2fae6e;
  --de-black: #111;
  --de-red: #d00;
  --de-gold: #ffce00;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --max-width: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #16233a 0%, var(--bg) 60%);
  color: var(--text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

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

a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.flag-stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--de-black) 0 33.3%, var(--de-red) 33.3% 66.6%, var(--de-gold) 66.6% 100%);
}

/* ---------------- Header ---------------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Solid (not translucent+blurred) background on purpose: backdrop-filter
     on this ancestor would create a new containing block for the fixed-
     position mobile nav below, shrinking it to the header's own box
     instead of the full viewport. */
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
}
.logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.logo .logo-text-1 { color: var(--gold-2); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
}
nav.main-nav a:hover { color: var(--gold-2); text-decoration: none; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: .2s;
}
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }

@media (max-width: 860px) {
  .burger { display: flex; }
  nav.main-nav {
    position: fixed;
    inset: 62px 0 0 0;
    background: var(--bg-alt);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
    padding: 20px;
    border-top: 1px solid var(--border);
  }
  nav.main-nav.open { transform: translateY(0); opacity: 1; }
  nav.main-nav ul { flex-direction: column; gap: 4px; }
  nav.main-nav a {
    display: block;
    padding: 14px 6px;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }
}

/* ---------------- Hero ---------------- */
.hero {
  padding: 22px 0 14px;
}
.hero h1 {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  margin: 0 0 8px;
  color: var(--gold-2);
}
.hero p { margin: 0 0 6px; color: var(--text-muted); max-width: 880px; }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.trust-badges span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: .78rem;
  color: var(--text-muted);
}

/* ---------------- Bonus grid ---------------- */
#bonusangebote { padding: 4px 0 30px; }
.bonus-lead-heading { margin: 10px 0 4px; font-size: 1.05rem; color: var(--gold-2); }
@media (max-width: 480px) {
  .hero { padding: 14px 0 8px; }
  .hero p { font-size: .92rem; }
}
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.bonus-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bonus-card.top::before {
  content: "TOP";
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--gold);
  color: #201400;
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .05em;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.4);
}
.bonus-card .rank {
  position: absolute;
  top: -14px;
  left: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold);
  color: var(--gold-2);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}
.bonus-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.brand-logo {
  width: 92px;
  height: 46px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-logo .fallback {
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  color: var(--text-muted);
  padding: 2px;
}
.brand-name { font-weight: 800; font-size: 1.05rem; }
.bonus-headline {
  font-size: .95rem;
  color: var(--gold-2);
  font-weight: 700;
  margin: 0;
}
.wager-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wager-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: .78rem;
  color: var(--text-muted);
}
.feature-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.feature-badges span {
  font-size: .72rem;
  background: rgba(47,174,110,.12);
  color: var(--green);
  border: 1px solid rgba(47,174,110,.35);
  border-radius: 6px;
  padding: 3px 8px;
}
.cta-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #241800 !important;
  font-weight: 800;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(242,183,5,.25);
  transition: transform .15s ease;
}
.cta-btn:hover { transform: translateY(-2px); }

.bonus-code {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px dashed var(--gold);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: .85rem;
  width: fit-content;
}
.bonus-code svg { width: 16px; height: 16px; }
.bonus-code .copied { color: var(--green); font-size: .72rem; margin-left: 4px; display: none; }

/* ---------------- Content sections ---------------- */
.section { padding: 40px 0; border-top: 1px solid var(--border); }
.section h2 { color: var(--gold-2); font-size: clamp(1.3rem, 3vw, 1.7rem); }
.section h3 { color: var(--text); font-size: 1.15rem; }
.section p { color: var(--text-muted); }

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.toc h2 { margin-top: 0; }
.toc ol { margin: 0; padding-left: 22px; color: var(--text-muted); }
.toc a { color: var(--text); }

.data-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--surface);
}
table.data-table th, table.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: .92rem;
}
table.data-table th { background: var(--surface-2); color: var(--gold-2); }
table.data-table tr:last-child td { border-bottom: none; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 18px;
  margin-bottom: 10px;
}
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.faq-item p { padding-bottom: 12px; }

.author-box {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  align-items: flex-start;
}
.author-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--gold-2);
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-box h3 { margin: 0 0 4px; }
.author-role { color: var(--gold-2); font-size: .85rem; font-weight: 700; margin: 0 0 8px; }

/* ---------------- Footer ---------------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 30px 0;
  margin-top: 20px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-links a { color: var(--text-muted); font-size: .88rem; }
.disclaimer {
  font-size: .78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 14px;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--red);
  color: var(--red);
  border-radius: 50%;
  font-weight: 800;
  font-size: .78rem;
  margin-right: 6px;
  vertical-align: middle;
}

.simple-page-hero {
  padding: 36px 0 10px;
}
.simple-page-hero h1 { color: var(--gold-2); }

.help-box {
  background: var(--surface);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 18px 0;
}
.help-box a { color: var(--gold-2); font-weight: 700; }
