/* ==========================================================================
   OnlyWin Casino — onlywin1.de
   Reines HTML/CSS, kein JavaScript
   ========================================================================== */

:root {
  --navy: #0b0f2e;
  --navy-light: #141a45;
  --blue: #1230c9;
  --orange: #ff8a00;
  --orange-dark: #e07600;
  --text-dark: #1c1f33;
  --text-body: #33364a;
  --bg-body: #f5f6fb;
  --border: #e1e3ee;
  --white: #ffffff;
  --container-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-body);
  background: var(--bg-body);
  line-height: 1.6;
  font-size: 16px;
}

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

a {
  color: var(--blue);
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.btn-primary,
.btn-cta {
  background: var(--orange);
  color: var(--navy);
  border-color: var(--orange);
}

.btn-cta {
  font-size: 1.05rem;
  padding: 14px 34px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: var(--navy);
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.logo-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.logo-link img {
  height: 60px;
  width: auto;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.header-actions {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.nav-toggle,
.burger {
  display: none;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 12px 20px;
  max-width: var(--container-width);
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--text-body);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #9a9dbb;
}

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

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs li[aria-current="page"] {
  color: var(--text-body);
  font-weight: 600;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: var(--navy);
}

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

.hero-media {
  position: relative;
}

.hero-banner {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  width: 44%;
  color: var(--white);
}

.hero-content p {
  margin: 0 0 14px;
}

.hero-content .hero-title {
  font-size: clamp(1.1rem, 2.6vw, 1.9rem);
  line-height: 1.25;
  font-weight: 800;
}

.hero-content .hero-text {
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  opacity: 0.92;
}

/* ==========================================================================
   Main content / article
   ========================================================================== */

main {
  display: block;
  background: var(--bg-body);
  padding: 32px 0 8px;
}

article {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px 20px;
  background: var(--white);
  border-radius: 12px;
}

.container > article,
main > article {
  padding: 28px 24px 32px;
}

article h1 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  margin-top: 0;
}

article h2 {
  color: var(--navy);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  margin-top: 2.2em;
}

article ul,
article ol {
  padding-left: 1.4em;
}

article table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.92rem;
}

article table caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

article table thead {
  background: var(--navy);
  color: var(--white);
}

article th,
article td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

article dl dt {
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.1em;
}

article dl dd {
  margin-left: 0;
}

article details {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 10px;
}

article details summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

article details p {
  margin-bottom: 0;
}

.author-box {
  max-width: var(--container-width);
  margin: 20px auto 0;
  padding: 18px 24px;
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  font-size: 0.92rem;
  color: var(--text-body);
}

.author-box strong {
  color: var(--navy);
}

/* Inhaltsverzeichnis-Akkordeon */
.toc {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 18px;
  margin: 1.4em 0;
}

.toc summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 10px 0;
  list-style: revert;
}

.toc[open] summary {
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

.toc ol,
.toc ul {
  margin: 0;
  padding: 10px 0 14px 1.4em;
}

.toc a {
  text-decoration: none;
  color: var(--blue);
  line-height: 1.9;
}

.toc a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 40px;
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 20px;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-nav a:hover {
  color: var(--orange);
}

.footer-disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  opacity: 0.75;
  max-width: 760px;
}

.footer-bottom {
  margin-top: 16px;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 820px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 16px;
  }

  .logo-link img {
    height: 46px;
  }

  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .burger-icon,
  .burger-icon::before,
  .burger-icon::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    position: relative;
  }

  .burger-icon::before {
    position: absolute;
    top: -6px;
  }

  .burger-icon::after {
    position: absolute;
    top: 6px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-light);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 20px 14px;
    display: none;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .header-actions .btn {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .hero-inner {
    padding: 16px;
  }

  .hero-media {
    border-radius: 10px;
    overflow: hidden;
  }

  .hero-content {
    position: static;
    transform: none;
    width: 100%;
    background: var(--navy-light);
    padding: 20px 18px;
    border-radius: 0 0 10px 10px;
    text-align: left;
  }

  .hero-banner {
    border-radius: 10px 10px 0 0;
  }

  article,
  main > article {
    border-radius: 0;
    padding: 22px 16px 26px;
  }

  .author-box {
    border-radius: 0;
    padding: 16px;
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .logo-link img {
    height: 40px;
  }

  .hero-content .hero-title {
    font-size: 1.2rem;
  }

  .btn {
    padding: 11px 18px;
  }

  .header-inner {
    gap: 6px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .btn {
    padding: 7px 9px;
    font-size: 0.7rem;
  }

  .burger {
    width: 32px;
    height: 32px;
  }

  article table {
    font-size: 0.78rem;
  }

  article th,
  article td {
    padding: 6px 6px;
  }
}
