:root {
  --primary: #1c2333;
  --primary-mid: #2a3447;
  --accent: #00e676;
  --accent-dark: #00c853;
  --accent-soft: rgba(0, 230, 118, 0.12);
  --highlight: #7c4dff;
  --bg: #f4f2fa;
  --bg-card: #ffffff;
  --text: #1c2333;
  --text-muted: #5a6278;
  --border: #d8dce8;
  --border-strong: #1c2333;
  --shadow: 0 16px 48px rgba(28, 35, 51, 0.1);
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  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(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Update bar */
.update-bar {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

.update-bar strong {
  color: var(--accent);
}

/* Hero – full bleed */
.hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(28, 35, 51, 0.94) 0%, rgba(42, 52, 71, 0.88) 45%, rgba(0, 230, 118, 0.25) 100%),
    url("images/hero.webp") center / cover no-repeat;
  color: #fff;
  padding: 3.5rem 0 3rem;
  border-bottom: 4px solid var(--accent);
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 18ch;
}

.hero__lead {
  margin: 0;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 2px solid var(--border-strong);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.logo em {
  font-style: normal;
  color: var(--accent-dark);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-label span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  transition: transform 0.2s, opacity 0.2s;
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-bottom: 2px solid var(--border-strong);
  padding: 1rem;
}

.nav-toggle:checked ~ .nav {
  display: block;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav__list a {
  display: block;
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  border-color: var(--primary);
  background: var(--accent-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--primary);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn--header {
  display: none;
  font-size: 0.8125rem;
  padding: 0.55rem 1rem;
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--primary);
  color: #fff;
  border-bottom: 2px solid var(--accent);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-bar__item:last-child {
  border-bottom: none;
}

.trust-bar__icon {
  font-size: 1rem;
}

/* Bordered cards – layout 8 */
.casinos {
  padding: 2.5rem 0 3rem;
}

.casinos__heading {
  margin: 0 0 1.75rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  text-align: center;
}

.bordered-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bcard {
  background: var(--bg-card);
  border: 3px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.bcard:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent-dark);
}

.bcard--top {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.bcard__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 2px solid var(--border);
}

.bcard__rank {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  background: var(--primary);
  color: var(--accent);
  border: 2px solid var(--primary);
}

.bcard--top .bcard__rank {
  background: var(--accent);
  color: var(--primary);
}

.bcard__logo-link {
  flex-shrink: 0;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}

.bcard__logo-link:hover {
  border-color: var(--accent-dark);
}

.bcard__logo-link img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.bcard__meta {
  flex: 1;
  min-width: 0;
}

.testsieger-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
  margin-bottom: 0.35rem;
}

.bcard__meta h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.bcard__rating {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.bcard__stars {
  color: #f5a623;
}

.bcard__body {
  padding: 0 1.25rem 1.25rem;
}

.bcard__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.bcard__perks li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.bcard__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border: 1px solid var(--primary);
}

.bcard__footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border-top: 2px solid var(--border-strong);
}

.bcard--top .bcard__footer {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-mid) 100%);
}

.bcard__bonus-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}

.bcard__bonus-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.bcard__footer .btn {
  width: 100%;
}

/* SEO */
.seo {
  padding: 2.5rem 0;
  background: var(--bg-card);
  border-top: 2px solid var(--border-strong);
  border-bottom: 2px solid var(--border-strong);
}

.seo h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
}

.seo__text p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.seo__text p:last-child {
  margin-bottom: 0;
}

/* FAQ */
.faq {
  padding: 2.5rem 0;
}

.faq h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
}

.faq__lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.faq__item h3 {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.faq__item h3::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
}

.faq__item.is-open h3::after {
  content: "−";
}

.faq__item p {
  margin: 0;
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  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);
  border-bottom: 2px solid var(--accent-dark);
}

.faq__more:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.faq__back {
  display: inline-flex;
  margin-top: 2rem;
}

/* Responsible */
.responsible {
  padding: 2.5rem 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: 3rem;
  height: 3rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.responsible h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.responsible p {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  max-width: 40ch;
  margin-inline: auto;
}

.responsible__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.responsible__links a {
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid var(--accent);
}

/* Footer */
.footer {
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
  background: var(--primary-mid);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-size: 0.875rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.footer__nav a {
  font-weight: 600;
  color: #fff;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__domain {
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.footer__copy {
  margin: 0 0 1rem;
}

.footer__disclaimer {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  max-width: 52ch;
  margin-inline: auto;
}

.footer__age {
  margin: 0;
  font-size: 0.8125rem;
}

.footer__age a {
  color: var(--accent);
  font-weight: 600;
}

/* Mobile CTA */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--bg-card);
  border-top: 3px solid var(--primary);
  box-shadow: 0 -8px 24px rgba(28, 35, 51, 0.15);
}

.mobile-cta-bar .btn {
  width: 100%;
}

/* Page templates */
.page-hero {
  padding: 2.5rem 0;
  background: var(--primary);
  color: #fff;
  border-bottom: 4px solid var(--accent);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
}

.page-content {
  padding: 2.5rem 0 3rem;
}

.page-content h2 {
  margin: 2rem 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);
}

.page-content ul {
  padding-left: 1.25rem;
}

.page-content a {
  color: var(--accent-dark);
  font-weight: 600;
  border-bottom: 1px solid var(--accent-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin-top: 1.5rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
}

/* Tablet+ */
@media (min-width: 640px) {
  .trust-bar {
    flex-direction: row;
  }

  .trust-bar__item {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .trust-bar__item:last-child {
    border-right: none;
  }

  .bcard__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .bcard__footer .btn {
    width: auto;
    min-width: 180px;
  }
}

@media (min-width: 768px) {
  .header__inner {
    position: relative;
  }

  .nav-toggle-label {
    display: none;
  }

  .nav {
    display: block;
    position: static;
    border: none;
    padding: 0;
    background: transparent;
  }

  .nav__list {
    flex-direction: row;
    gap: 0.25rem;
  }

  .nav__list a {
    padding: 0.45rem 0.75rem;
    font-size: 0.875rem;
  }

  .btn--header {
    display: inline-flex;
  }

  .bcard__header {
    align-items: center;
  }

  .bcard__perks {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero {
    min-height: 420px;
    padding: 4.5rem 0 3.5rem;
  }

  .bcard__body {
    padding-top: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .mobile-cta-bar {
    display: none;
  }

  body.has-mobile-cta {
    padding-bottom: 0;
  }
}
