:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-strong: #111827;
  --text: #1f2937;
  --muted: #64748b;
  --line: #dbe3ee;
  --brand: #1f8a70;
  --brand-dark: #156653;
  --accent: #f2b705;
  --accent-dark: #b88100;
  --content: 1140px;
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

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

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--content), calc(100% - 32px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 86px;
  width: 86px;
  height: 76px;
  overflow: hidden;
  color: var(--surface-strong);
  font-weight: 800;
  text-decoration: none;
}

.logo-link img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.menu-toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--surface-strong);
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.burger span {
  position: relative;
}

.burger span::before,
.burger span::after {
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -7px;
}

.burger span::after {
  top: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.site-nav a {
  color: var(--surface-strong);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  color: #111827;
  background: linear-gradient(180deg, #ffd95a, var(--accent));
  border-color: #e0a800;
  box-shadow: 0 8px 18px rgba(242, 183, 5, 0.28);
}

.btn-secondary {
  color: var(--brand-dark);
  background: #eefbf7;
  border-color: #a9ddd0;
}

.breadcrumbs {
  width: min(var(--content), calc(100% - 32px));
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #94a3b8;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  width: min(var(--content), calc(100% - 32px));
  margin: 18px auto 34px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #10151f;
  box-shadow: var(--shadow);
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
}

.hero-media img {
  object-fit: contain;
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: clamp(20px, 4vw, 54px);
  width: min(460px, 42%);
  transform: translateY(-50%);
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-copy h1 {
  margin: 0 0 14px;
  color: inherit;
  font-size: clamp(30px, 3.2vw, 52px);
  line-height: 1.05;
}

.hero-copy p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.45;
}

.page-wrap {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto 44px;
}

article,
.author-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

article {
  padding: clamp(22px, 4vw, 46px);
}

article > h1 {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--surface-strong);
  line-height: 1.2;
}

h1 {
  font-size: clamp(30px, 4vw, 46px);
}

h2 {
  margin-top: 36px;
  font-size: clamp(24px, 3vw, 34px);
}

h3 {
  margin-top: 26px;
  font-size: clamp(20px, 2.2vw, 25px);
}

table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  table-layout: auto;
}

th,
td {
  min-width: 160px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--surface-strong);
  background: #edf4f8;
}

tr:last-child td {
  border-bottom: 0;
}

.toc {
  margin: 28px 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.toc summary {
  padding: 16px 18px;
  color: var(--surface-strong);
  font-weight: 800;
  cursor: pointer;
}

.toc ul,
.toc ol {
  margin: 0;
  padding: 0 22px 20px 42px;
}

.faq-item,
details:not(.toc) {
  margin: 14px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.author-box {
  margin-top: 22px;
  padding: 18px 24px;
  color: var(--muted);
}

.author-box p {
  margin: 4px 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #111827;
  color: #dbe3ee;
}

.footer-inner {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

.footer-brand {
  font-weight: 800;
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    position: relative;
    min-height: 70px;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 8px;
  }

  .logo-link {
    grid-column: 1;
    grid-row: 1;
    flex-basis: auto;
    width: 60px;
    height: 58px;
    margin-right: 0;
  }

  .logo-link img {
    width: 58px;
    height: 58px;
  }

  .burger {
    grid-column: 3;
    grid-row: 1;
    position: static;
    display: inline-flex;
    transform: none;
    margin-left: 0;
    flex: 0 0 42px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    display: block;
    padding: 8px 0;
  }

  .menu-toggle:checked ~ .site-nav {
    display: block;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    position: static;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: none;
    transform: none;
    margin-left: 0;
    gap: 6px;
  }

  .header-actions .btn {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 4px;
    white-space: normal;
  }

  .btn {
    min-height: 38px;
    padding: 9px 8px;
    font-size: 12px;
  }

  .breadcrumbs,
  .hero,
  .page-wrap,
  .header-inner,
  .footer-inner {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-left: 12px;
    margin-right: 0;
  }

  article,
  .author-box,
  .hero-media {
    max-width: 100%;
  }

  article,
  article * {
    max-width: 100%;
  }

  .hero-copy {
    position: static;
    width: 100%;
    padding: 18px;
    transform: none;
    color: var(--surface-strong);
    background: var(--surface);
    text-shadow: none;
  }

  .hero-copy h1 {
    color: var(--surface-strong);
    font-size: clamp(28px, 9vw, 38px);
  }

  .hero-copy p {
    color: var(--muted);
    font-size: 16px;
  }

  article {
    padding: 20px 16px;
  }

  th,
  td {
    min-width: 0;
    padding: 10px 8px;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  table {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  table thead {
    display: none;
  }

  table tbody {
    display: grid;
    gap: 12px;
  }

  table tr {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
  }

  table th,
  table td {
    display: grid;
    grid-template-columns: minmax(104px, 38%) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  table tr > :last-child {
    border-bottom: 0;
  }

  table td::before {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .info-table tr {
    display: block;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 12px 14px;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  .info-table th {
    background: #edf4f8;
    border-bottom: 1px solid var(--line);
    border-radius: 8px 8px 0 0;
  }

  .info-table td {
    border-bottom: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .bonus-table td:nth-child(1)::before {
    content: "Einzahlung";
  }

  .bonus-table td:nth-child(2)::before {
    content: "Bonus";
  }

  .bonus-table td:nth-child(3)::before {
    content: "Free Spins";
  }

  .bonus-table td:nth-child(4)::before {
    content: "Slot";
  }

  .bonus-table td:nth-child(5)::before {
    content: "Min. Einzahlung";
  }

  .vip-table td:nth-child(1)::before {
    content: "VIP-Stufe";
  }

  .vip-table td:nth-child(2)::before {
    content: "Cashback";
  }

  .vip-table td:nth-child(3)::before {
    content: "Sonderangebote";
  }

  .vip-table td:nth-child(4)::before {
    content: "Personal Manager";
  }

  .conditions-table td:nth-child(1)::before {
    content: "Bedingung";
  }

  .conditions-table td:nth-child(2)::before {
    content: "Standard";
  }

  .conditions-table td:nth-child(3)::before {
    content: "High Roller";
  }

  .conditions-table td:nth-child(4)::before {
    content: "PREMIUM220";
  }

  .login-table td:nth-child(1)::before {
    content: "Problem";
  }

  .login-table td:nth-child(2)::before {
    content: "Ursache";
  }

  .login-table td:nth-child(3)::before {
    content: "Lösung";
  }

  .faq-table td:nth-child(1)::before {
    content: "Frage";
  }

  .faq-table td:nth-child(2)::before {
    content: "Antwort";
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .header-inner {
    grid-template-columns: 54px minmax(0, 1fr) 40px;
    margin-left: 8px;
    margin-right: 8px;
  }

  .logo-link {
    width: 54px;
    height: 54px;
  }

  .logo-link img {
    width: 54px;
    height: 54px;
  }

  .header-actions .btn {
    padding-inline: 3px;
    font-size: 11px;
  }

  .breadcrumbs,
  .hero,
  .page-wrap,
  .header-inner,
  .footer-inner {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    margin-left: 8px;
    margin-right: 0;
  }
}
