:root {
  --primary: #14081a;
  --primary-mid: #1f1028;
  --accent: #ff5c47;
  --accent-dark: #e04532;
  --accent-light: #fff0ee;
  --mint: #3ddea8;
  --mint-dark: #2ab88a;
  --bg: #f7f2f8;
  --bg-card: #ffffff;
  --text: #14081a;
  --text-muted: #5c4a66;
  --border: rgba(20, 8, 26, 0.1);
  --border-accent: rgba(255, 92, 71, 0.35);
  --shadow: 0 8px 32px rgba(20, 8, 26, 0.1);
  --radius: 14px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

body.has-mobile-cta {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.update-bar {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

.update-bar strong {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(20, 8, 26, 0.92) 0%, rgba(31, 16, 40, 0.85) 55%, rgba(255, 92, 71, 0.3) 100%),
    url("images/hero.webp") center / cover no-repeat;
  color: #fff;
  padding: 2.75rem 0 2.25rem;
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 auto;
  max-width: 38rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(20, 8, 26, 0.06);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
  white-space: nowrap;
}

.logo em {
  font-style: normal;
  color: var(--accent);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

.nav-toggle-label span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.nav-toggle:checked ~ .nav {
  display: block;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.nav__list a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--accent-dark);
  background: var(--accent-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(255, 92, 71, 0.35);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 92, 71, 0.45);
}

.btn--header {
  display: none;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  padding: 0.875rem 1rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-bar__icon {
  font-size: 1rem;
}

.casinos {
  padding: 2rem 0 2.5rem;
}

.casinos__heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 4vw, 1.625rem);
  font-weight: 800;
  text-align: center;
}

.casino-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.casino-wide {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 0 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.casino-wide::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-mid);
}

.casino-wide--top {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
}

.casino-wide--top::before {
  background: linear-gradient(180deg, var(--accent), var(--mint));
}

.casino-wide__rank {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.25rem;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-mid);
  color: #fff;
  font-weight: 800;
  font-size: 0.9375rem;
}

.casino-wide--top .rank-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
}

.casino-wide__brand {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.casino-wide__logo {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-accent);
}

.casino-wide__logo img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.casino-wide__info h2 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 800;
}

.casino-wide__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.casino-wide__stars {
  color: var(--accent);
  letter-spacing: 0.05em;
}

.testsieger-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

.casino-wide__bonus {
  grid-column: 1 / -1;
  grid-row: 2;
  background: linear-gradient(135deg, rgba(255, 92, 71, 0.12), rgba(61, 222, 168, 0.1));
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  text-align: center;
}

.bonus-panel__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.bonus-panel__value {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--primary);
}

.casino-wide__perks {
  grid-column: 1 / -1;
  grid-row: 3;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.casino-wide__perks li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.casino-wide__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint-dark);
  font-weight: 800;
}

.casino-wide__cta {
  grid-column: 1 / -1;
  grid-row: 4;
}

.casino-wide__cta .btn {
  width: 100%;
}

.seo {
  padding: 2rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.seo h2 {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 800;
}

.seo__text p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.seo__text p:last-child {
  margin-bottom: 0;
}

.faq {
  padding: 2rem 0;
}

.faq h2 {
  margin: 0 0 0.35rem;
  font-size: 1.375rem;
  font-weight: 800;
}

.faq__lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__item h3 {
  margin: 0;
  padding: 1rem 2.5rem 1rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.faq__item h3::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq__item.is-open h3::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__item p {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: none;
}

.faq__item.is-open p {
  display: block;
}

.faq__more {
  display: inline-flex;
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.faq__more:hover {
  text-decoration: underline;
}

.responsible {
  padding: 2rem 0;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.responsible__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.responsible h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.responsible p {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

.responsible__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
}

.responsible__links a {
  color: var(--mint);
  font-weight: 700;
  text-decoration: underline;
}

.footer {
  padding: 2rem 0;
  background: var(--primary-mid);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-size: 0.8125rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
}

.footer__nav a {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__domain {
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}

.footer__copy {
  margin: 0 0 0.75rem;
}

.footer__disclaimer {
  margin: 0 0 0.75rem;
  max-width: 36rem;
  margin-inline: auto;
}

.footer__age {
  margin: 0;
}

.footer__age a {
  color: var(--mint);
  text-decoration: underline;
}

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(20, 8, 26, 0.96);
  border-top: 1px solid rgba(255, 92, 71, 0.3);
  backdrop-filter: blur(8px);
}

.mobile-cta-bar .btn {
  width: 100%;
  font-size: 0.875rem;
}

.page-hero {
  padding: 2rem 0;
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
}

.page-content {
  padding: 2rem 0 2.5rem;
}

.page-content h2 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 800;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content li {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.page-content ul {
  padding-left: 1.25rem;
}

.page-content a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
  margin-top: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: var(--bg-card);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

@media (min-width: 768px) {
  .nav-toggle-label {
    display: none;
  }

  .nav {
    display: block;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-left: auto;
  }

  .nav__list {
    display: flex;
    gap: 0.25rem;
    padding: 0;
  }

  .nav__list a {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
  }

  .btn--header {
    display: inline-flex;
  }

  .casino-wide {
    grid-template-columns: 56px 1fr auto auto;
    grid-template-rows: auto;
    align-items: center;
    padding: 1.25rem 1.5rem;
    gap: 1rem 1.25rem;
  }

  .casino-wide__rank {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0;
  }

  .casino-wide__brand {
    grid-column: 2;
    grid-row: 1;
  }

  .casino-wide__bonus {
    grid-column: 3;
    grid-row: 1;
    min-width: 200px;
    text-align: center;
    padding: 1rem 1.25rem;
  }

  .bonus-panel__value {
    font-size: 1.125rem;
  }

  .casino-wide__perks {
    grid-column: 2;
    grid-row: 2;
    padding-left: calc(110px + 0.875rem);
    grid-template-columns: 1fr 1fr;
  }

  .casino-wide__cta {
    grid-column: 4;
    grid-row: 1 / 3;
    align-self: center;
  }

  .casino-wide__cta .btn {
    width: auto;
    min-width: 140px;
    white-space: nowrap;
  }

  .casino-wide--top .casino-wide__perks {
    grid-column: 2 / 4;
    grid-row: 2;
    padding-left: calc(110px + 0.875rem);
  }

  .casino-wide--top .casino-wide__cta {
    grid-row: 1 / 3;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 340px;
    padding: 3.5rem 0 3rem;
  }

  .casino-wide__perks {
    grid-template-columns: repeat(2, 1fr);
  }

  .casino-wide {
    gap: 1rem 1.5rem;
  }

  .casino-wide__bonus {
    min-width: 220px;
  }
}
