/* ============================================================
   Casino Ratgeber Österreich — Landing Styles
   Palette: Spieltisch-Grün + gealtertes Gold + Österreich-Rot
   Type: Cormorant Garamond (Display) / Mulish (Text)
   ============================================================ */

:root {
  --bg: #0a2a1c;
  --bg-deep: #062015;
  --panel: #0e3423;
  --panel-soft: #113b28;
  --line: rgba(233, 222, 182, 0.16);
  --gold: #d9b45b;
  --gold-strong: #f0d08a;
  --gold-dim: #8a7439;
  --ivory: #f3eddd;
  --muted: #b7c2ae;
  --red: #d0203b;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Mulish", "Segoe UI", -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -5%, rgba(217, 180, 91, 0.09), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(208, 32, 59, 0.05), transparent 55%);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Typografie ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; }

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: 0.01em; }
h1 em { font-style: italic; color: var(--gold-strong); }

h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 14px; }

h3 { font-size: 1.3rem; line-height: 1.3; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-intro { color: var(--muted); max-width: 62ch; margin-bottom: 30px; }

.kicker {
  margin-top: 26px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  color: var(--ivory);
  font-weight: 600;
}

/* ---------- Trust-Ribbon & Header ---------- */

.trust-ribbon {
  background: linear-gradient(90deg, var(--red) 0 33%, #ffffff 33% 66%, var(--red) 66% 100%);
  border-bottom: 1px solid var(--line);
}

.ribbon-inner {
  display: flex; align-items: center; gap: 12px;
  padding-top: 8px; padding-bottom: 8px;
  font-size: 0.82rem;
  color: var(--ivory);
}

.ribbon-inner span:last-child { background: rgba(6, 32, 21, 0.85); padding: 3px 14px; border-radius: 999px; }

.ribbon-flag {
  width: 22px; height: 14px; border-radius: 3px;
  background: linear-gradient(180deg, var(--red) 0 33%, #fff 33% 66%, var(--red) 66% 100%);
  flex: none;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 32, 21, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; gap: 28px;
  padding-top: 14px; padding-bottom: 14px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 700;
  color: var(--ivory); text-decoration: none;
  letter-spacing: 0.02em; white-space: nowrap;
}

.wordmark span, .wordmark-footer span { color: var(--gold-strong); }

.main-nav { display: flex; gap: 22px; margin-left: auto; }

.main-nav a {
  color: var(--muted); text-decoration: none;
  font-size: 0.92rem; font-weight: 600;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--gold-strong); }

section { scroll-margin-top: 84px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 800; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px;
  text-decoration: none; text-align: center;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn-gold {
  background: linear-gradient(160deg, var(--gold-strong), var(--gold) 55%, var(--gold-dim));
  color: #231a08;
  box-shadow: 0 10px 24px rgba(217, 180, 91, 0.25);
}

.btn-ghost {
  color: var(--gold-strong);
  border-color: var(--gold-dim);
  background: transparent;
}

.btn:hover { transform: translateY(-2px); }
.btn-gold:hover { box-shadow: 0 14px 30px rgba(217, 180, 91, 0.38); }
.btn-ghost:hover { background: rgba(217, 180, 91, 0.08); }

.btn-small { padding: 8px 20px; font-size: 0.85rem; }
.btn-big { padding: 16px 36px; font-size: 1.05rem; }

/* ---------- Hero ---------- */

.hero { padding: 64px 0 56px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}

.lead { color: var(--muted); font-size: 1.06rem; margin: 18px 0 28px; max-width: 56ch; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.trust-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }

.trust-chips li {
  font-size: 0.8rem; font-weight: 700;
  color: var(--gold-strong);
  border: 1px solid var(--gold-dim);
  border-radius: 999px; padding: 5px 14px;
}

.hero-media { position: relative; }

.hero-media img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--gold-dim);
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(240, 208, 138, 0.18);
  pointer-events: none;
}

/* ---------- Sections ---------- */

.section { padding: 64px 0; }

.section-deep {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Kategorie-Sieger ---------- */

.cat-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
}

.cat-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); }

.cat-label {
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}

.cat-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; }

.cat-desc { font-size: 0.88rem; color: var(--muted); }

/* ---------- Ranking-Tabelle & Chips ---------- */

.placeholder-note {
  font-size: 0.85rem; color: var(--gold-strong);
  border: 1px dashed var(--gold-dim);
  border-radius: 10px; padding: 10px 16px;
  margin: -8px 0 22px;
  display: inline-block;
}

.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }

.ranking-table, .pay-table {
  width: 100%; border-collapse: collapse;
  background: var(--panel);
  min-width: 720px;
  font-variant-numeric: tabular-nums;
}

.ranking-table th, .pay-table th {
  font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 16px 18px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--gold-dim);
}

.ranking-table td, .pay-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--ivory);
}

.ranking-table tbody tr:nth-child(even), .pay-table tbody tr:nth-child(even) { background: var(--panel-soft); }
.ranking-table tbody tr:last-child td, .pay-table tbody tr:last-child td { border-bottom: none; }

.cell-name { font-weight: 800; font-size: 1.02rem; }

.note { color: var(--gold-strong); font-size: 1.1rem; }

/* Der Chip — Signatur-Element: Rang als Casinojeton */

.chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 50%, var(--panel) 0 58%, transparent 58%),
    linear-gradient(150deg, var(--gold-strong), var(--gold-dim));
  box-shadow: inset 0 0 0 3px var(--panel), inset 0 0 0 5px var(--gold-dim), 0 6px 14px rgba(0,0,0,0.4);
}

.chip-1 { color: #231a08; background:
  radial-gradient(circle at 50% 50%, var(--gold-strong) 0 58%, transparent 58%),
  linear-gradient(150deg, #ffe9b0, var(--gold) 60%, var(--gold-dim));
}
.chip-2, .chip-3 { color: #231a08; }

.cta-strip {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin: 30px 0 8px;
}

.callout {
  margin-top: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 22px 26px;
  color: var(--muted);
}

.callout h3 { color: var(--ivory); margin-bottom: 8px; }

.callout-gold { border-left-color: var(--red); }

/* ---------- Checkliste / Listen ---------- */

.check-list, .bonus-list, .law-list, .rules-list { list-style: none; display: grid; gap: 14px; }

.check-list li, .bonus-list li, .rules-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
}

.check-list li::before, .bonus-list li::before, .rules-list li::before {
  content: "\2713";
  color: var(--gold-strong);
  font-weight: 800;
  margin-right: 12px;
}

.law-list li {
  padding: 14px 20px;
  border-left: 3px solid var(--red);
  background: var(--panel);
  border-radius: 0 12px 12px 0;
}

/* ---------- Zahlungen + Schritte ---------- */

.split {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 40px; align-items: center; margin-top: 44px;
}

.media-round img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--gold-dim);
  box-shadow: var(--shadow);
}

.steps { list-style: none; counter-reset: step; display: grid; gap: 16px; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 68px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.steps li::before {
  content: counter(step);
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  color: #231a08;
  background: linear-gradient(150deg, var(--gold-strong), var(--gold-dim));
  box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 4px var(--gold-dim);
}

/* ---------- FAQ ---------- */

details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

summary {
  cursor: pointer;
  font-weight: 800;
  padding: 18px 22px;
  list-style: none;
  position: relative;
  padding-right: 56px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400;
  color: var(--gold-strong);
  transition: transform 0.2s;
}

details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Final CTA & Footer ---------- */

.final-cta {
  padding: 80px 0;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(217, 180, 91, 0.14), transparent 70%),
    var(--bg-deep);
  border-top: 1px solid var(--gold-dim);
}

.final-cta p { color: var(--muted); max-width: 60ch; margin: 16px auto 30px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  font-size: 0.85rem; color: var(--muted);
}

.wordmark-footer { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--ivory); margin-bottom: 12px; }
.site-footer p + p { margin-top: 8px; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .header-inner .btn { margin-left: auto; }
  .hero { padding: 40px 0; }
  .section { padding: 48px 0; }
}
