@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  /* Colors */
  --bg-main: #f7f2ea;
  --text-main: #193d43;
  --selection-bg: #cde2dc;

  --accent: #b24d3b;
  --accent-light: #f7e9df;
  --accent-dark: #a14334;

  --primary: #1b5961;
  --primary-hover: #124045;
  --primary-light: #e4eee8;
  --primary-border: #d3ddd5;

  --border-light: #d8ded6;
  
  --text-muted: #426167;
  --text-subtle: #597378;

  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'Fraunces', serif;

  --space-0: 0px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 120px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-8);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::selection,
body *::selection {
  background-color: var(--selection-bg);
}

/* Animations */
@keyframes hs-rise { 
  from { opacity: 0; transform: translateY(16px); } 
  to { opacity: 1; transform: translateY(0); } 
}
.hs-rise { animation: hs-rise .65s cubic-bezier(.2,.8,.2,1) both; }
.hs-rise-2 { animation-delay: .12s; } 
.hs-rise-3 { animation-delay: .22s; }

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-3);
  z-index: 1000;
  background: var(--primary);
  color: var(--bg-main);
  padding: var(--space-2) var(--space-3);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: var(--space-3);
}

a {
  color: inherit;
  text-decoration: none;
}
a.text-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  color: var(--primary);
}
a.text-link:hover {
  color: var(--accent);
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Layout */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) {
  .container { padding: 0 32px; }
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-main);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--bg-main);
}
.brand-mark svg {
  width: 24px;
  height: 24px;
  fill: none;
}
.brand-copy {
  display: flex;
  flex-direction: column;
}
.brand-copy strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}
.brand-copy strong span {
  color: var(--accent);
}
.brand-copy small {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-subtle);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: #38565a;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--primary-border);
  background-color: var(--primary-light);
}
.hero::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 0;
  height: 100%;
  width: 30%;
  border-left: 1px solid #c9d9d1;
  opacity: 0.6;
}
.hero::after {
  content: "";
  position: absolute;
  right: 16%;
  top: 0;
  height: 100%;
  width: 1px;
  background-color: #c9d9d1;
  opacity: 0.7;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 348px;
    align-items: flex-end;
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
.hero-content {
  max-width: 770px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  margin-bottom: 20px;
}
.hero-kicker::before {
  content: "";
  height: 1px;
  width: 32px;
  background-color: var(--accent-dark);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #163b41;
  margin: 0;
}
@media (min-width: 640px) {
  .hero h1 { font-size: 57px; }
}
.hero-deck {
  margin-top: 20px;
  margin-bottom: 24px;
  max-width: 620px;
  font-size: 17px;
  line-height: 28px;
  color: var(--text-muted);
}
.hero-author {
  font-size: 12px;
  font-weight: 500;
  color: #5d7777;
}
.hero-author span {
  margin: 0 8px;
  color: #a1b2ac;
}

/* Sofort Hilfe */
.sofort-hilfe-box {
  background-color: var(--bg-main);
  border: 1px solid #bdd0c7;
  padding: 20px;
  box-shadow: 8px 8px 0 #cadbd2;
}
@media (min-width: 640px) {
  .sofort-hilfe-box { padding: 24px; }
}
.help-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.help-heading .kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  display: block;
}
.help-heading h2 {
  font-family: var(--font-serif);
  font-size: 23px;
  letter-spacing: -0.025em;
  margin: 4px 0 0;
  font-weight: 600;
}
.help-heading svg {
  width: 32px;
  height: 36px;
  color: var(--primary);
}
.sofort-hilfe-box .number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid #d9ded6;
  border-bottom: 1px solid #d9ded6;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #174f57;
  transition: color 0.2s;
}
.sofort-hilfe-box .number:hover {
  color: var(--accent-dark);
}
.sofort-hilfe-box .number svg {
  width: 16px;
  height: 16px;
}
.sofort-hilfe-box p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: #506b6d;
}

/* Page Body */
.page-body {
  padding-bottom: 80px;
}

/* Kurzantwort (Ueberblick) */
.ueberblick-section {
  padding: 40px 0;
}
@media (min-width: 1024px) {
  .ueberblick-section { padding: 56px 0; }
}
.ueberblick-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 1024px) {
  .ueberblick-grid { grid-template-columns: 1fr 310px; }
}

.kurzantwort {
  background-color: #fffaf2;
  border-left: 4px solid var(--primary);
  padding: 28px 24px;
}
@media (min-width: 640px) {
  .kurzantwort { padding: 32px 36px; }
}
.kurzantwort .kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
}
.kurzantwort h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin: 0 0 16px;
}
@media (min-width: 640px) {
  .kurzantwort h2 { font-size: 33px; }
}
.kurzantwort p {
  font-size: 16px;
  line-height: 28px;
  color: #456166;
  max-width: 800px;
  margin: 0 0 12px;
}
.kurzantwort p:last-child {
  margin-bottom: 0;
}
.kurzantwort p strong {
  font-weight: 600;
  color: var(--text-main);
}

.achtung-box {
  background-color: var(--accent-light);
  border-top: 4px solid var(--accent);
  padding: 24px;
}
.achtung-box .kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
}
.achtung-box h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #71372d;
  margin: 12px 0 0;
}
.achtung-box .achtung-statement {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #71372d;
  margin: 12px 0 0;
  font-weight: 600;
}
.achtung-box p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: #7d4a3e;
}

/* TOC */
.content-area {
  max-width: 840px;
  margin: 0 auto;
}
.toc-block {
  border: 1px solid var(--border-light);
  background-color: #fdfaf4;
  margin: 40px 0;
}
.toc-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  list-style: none;
}
.toc-title::-webkit-details-marker { display: none; }
.toc-title .indicator::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
}
details[open] .toc-title .indicator::after { content: "−"; }
details[open] .toc-title { border-bottom: 1px solid var(--border-light); }
.toc-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 20px 24px;
  margin: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .toc-nav { grid-template-columns: 1fr 1fr; }
}
.toc-nav a {
  font-size: 15px;
  color: #426167;
  display: block;
}
.toc-nav a:hover {
  color: var(--accent-dark);
  font-weight: 600;
}
.toc-nav a.text-accent {
  color: var(--accent-dark);
  font-weight: 600;
}
.toc-nav li {
  margin: 0;
  padding: 0;
}

/* Main Content */
.content-section {
  margin-bottom: 56px;
}
.content-section h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--text-main);
  margin: 0 0 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.section-num {
  font-family: var(--font-sans);
  font-size: 20px;
  color: var(--primary);
  font-weight: 700;
  flex: 0 0 auto;
  white-space: nowrap;
}
.content-section h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 32px 0 16px;
}
.content-section p {
  font-size: 17px;
  line-height: 28px;
  color: #385257;
  margin: 0 0 20px;
}
.content-section ul,
.content-section ol {
  font-size: 17px;
  line-height: 28px;
  color: #385257;
  margin: 0 0 24px;
  padding-left: 24px;
}
.content-section li {
  margin-bottom: 8px;
}
.content-section strong {
  font-weight: 600;
  color: var(--text-main);
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--border-light);
  background-color: #fdfaf4;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th, td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background-color: #eaf0eb;
}
td {
  font-size: 15px;
  color: #426167;
}

/* FAQ Details */
.faq-item {
  border: 1px solid var(--border-light);
  background-color: #fdfaf4;
  margin-bottom: -1px;
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .indicator::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--primary);
}
.faq-item[open] summary .indicator::after { content: "−"; }
.faq-body {
  padding: 0 24px 24px;
  font-size: 16px;
  color: #426167;
}
.faq-body p {
  margin: 0;
}

/* Casino Ranking (Anbieter prüfen) */
.casino-cards-section {
  background-color: #eaf0eb;
  border-top: 1px solid #d4ddd6;
  border-bottom: 1px solid #d4ddd6;
  padding: 48px 0;
  margin: 64px 0;
}
@media (min-width: 1024px) {
  .casino-cards-section { padding: 64px 0; }
}
.casino-section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid #c6d5ce;
  padding-bottom: 28px;
  margin-bottom: 28px;
}
@media (min-width: 640px) {
  .casino-section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.casino-section-header > div {
  max-width: 650px;
}
.casino-section-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
}
.casino-section-header h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 12px 0 0;
}
@media (min-width: 640px) {
  .casino-section-header h2 { font-size: 43px; }
}
.casino-section-header p {
  max-width: 330px;
  font-size: 14px;
  line-height: 20px;
  color: #506b6d;
  margin: 0;
}

.transparenz-hinweis {
  display: flex;
  gap: 12px;
  border: 1px solid #d0d8d0;
  background-color: var(--bg-main);
  padding: 16px;
  font-size: 13px;
  line-height: 20px;
  color: #536b6b;
  margin-bottom: 24px;
}
.transparenz-hinweis::before {
  content: "";
  display: block;
  margin-top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}
.transparenz-hinweis p { margin: 0; }
.transparenz-hinweis strong {
  font-weight: 600;
  color: #24464a;
}
.notices-grid {
  display: flex;
  flex-direction: column;
}
.notices-grid .achtung-box {
  margin-bottom: 24px;
}

.cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.casino-card {
  display: grid;
  gap: 16px;
  border: 1px solid #cad7d0;
  background-color: #fdfaf4;
  padding: 16px;
  transition: all 0.2s;
}
.casino-card:hover {
  transform: translateY(-2px);
  border-color: #8eb2aa;
  box-shadow: 4px 5px 0 #cfddd5;
}
@media (min-width: 640px) {
  .casino-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 16px;
    padding: 20px;
  }
}
@media (min-width: 1024px) {
  .casino-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(120px, 150px);
    gap: 20px;
  }
}
.brand-visual {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.06em;
  flex-shrink: 0;
  text-transform: uppercase;
}
.brand-initial.verified {
  background-color: var(--primary);
  color: var(--bg-main);
}
.brand-initial.unverified {
  border: 1px solid #b8c9c2;
  background-color: #e7eee9;
  color: #315c5d;
}
.brand-name-wrap {
  display: flex;
  flex-direction: column;
}
.brand-name-wrap p {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #79908d;
  margin: 0;
}
.brand-name-wrap h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #203f44;
  margin: 2px 0 0;
  font-family: var(--font-sans);
}
.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #203f44;
  margin: 2px 0 0;
  font-family: var(--font-sans);
}
.card-facts {
  display: contents; /* flattened for grid layout in sm+ */
}
.fact-item {
  border-top: 1px solid #e0e4dd;
  padding-top: 12px;
}
@media (min-width: 640px) {
  .fact-item {
    border-top: none;
    border-left: 1px solid #e0e4dd;
    padding-top: 0;
    padding-left: 20px;
  }
  .fact-item:nth-of-type(2) {
    border-left: none;
    padding-left: 0;
  }
}
.fact-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #718784;
  display: block;
}
.fact-value {
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
  display: block;
}
.fact-value.verified { color: #1c625b; }
.fact-value.unverified { color: #9a4938; }
.fact-value.condition { color: #385a5c; }
.fact-value.warning { color: #9a4938; }

.card-cta .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--primary);
  background-color: transparent;
  color: #174f57;
  font-size: 13px;
  font-weight: 700;
  padding: 0 16px;
  transition: all 0.2s;
  width: 100%;
}
.card-cta .btn svg {
  width: 16px;
  height: 16px;
}
.card-cta .btn:hover {
  background-color: var(--primary);
  color: var(--bg-main);
}

/* Footer */
.site-footer {
  background-color: #e4eee8;
  color: var(--text-main);
  padding: 64px 0;
  border-top: 1px solid var(--border-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text-main);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 12px;
  font-size: 14px;
  color: #426167;
}
.footer-col a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid #c9d9d1;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
  color: #5d7777;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.age-gate {
  border: 1px solid #c9d9d1;
  padding: 4px 8px;
  font-weight: 700;
  color: #426167;
  display: inline-block;
}

/* Mobile Sticky Hotline */
.mobile-sticky-hotline {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: auto;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: calc(100dvw - 40px);
  max-width: 400px;
  margin-inline: 0;
  background-color: var(--primary);
  border: 1px solid #124045;
  color: var(--bg-main);
  padding: 12px 20px;
  box-shadow: 0 8px 24px rgba(27, 89, 97, 0.25);
  border-radius: 4px;
  font-weight: 700;
}
.sticky-hotline-visible .mobile-sticky-hotline {
  display: flex;
}
@media (min-width: 768px) {
  .mobile-sticky-hotline,
  .sticky-hotline-visible .mobile-sticky-hotline,
  .methodik-page.sticky-hotline-visible .mobile-sticky-hotline {
    display: none !important;
  }
}
.mobile-sticky-hotline span {
  font-size: 13px;
  color: #cde2dc;
}
.mobile-sticky-hotline strong {
  font-size: 15px;
}
.methodik-page .mobile-sticky-hotline {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.methodik-page.sticky-hotline-visible .mobile-sticky-hotline {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Methodik page overrides */
.methodik-hero {
  background-color: var(--primary-light);
  border-bottom: 1px solid #c9d9d1;
  padding: 64px 0;
  text-align: center;
}
.methodik-hero h1 {
  font-family: var(--font-serif);
  font-size: 44px;
  letter-spacing: -0.04em;
  margin: 16px 0 24px;
  color: #163b41;
}
.methodik-page h2,
.page-body .content-area h2 {
  overflow-wrap: anywhere;
}
.methodik-hero p {
  font-size: 18px;
  line-height: 28px;
  color: #426167;
  max-width: 680px;
  margin: 0 auto 24px;
}
.methodik-meta {
  font-size: 12px;
  font-weight: 500;
  color: #5d7777;
}