/* =====================================================
   crazy-stitchers-helfen.de — main.css
   Casino Ohne Lugas | CLEAN CONVERT Design
   ===================================================== */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F8F9FA;
  --border: #E5E7EB;
  --text: #111827;
  --text-muted: #6B7280;
  --accent: #16A34A;
  --accent2: #DC2626;
  --gold: #D97706;
  --shadow: 0 1px 3px rgba(0,0,0,.10);
  --radius: 8px;
  --font: 'Inter', system-ui, sans-serif;
  --nav-h: 60px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ─── CONTAINER ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ─── NAV ─── */
.nav-bar { background: #0f172a; height: var(--nav-h); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo-icon { font-size: 24px; }
.nav-logo-text { color: #f1f5f9; font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
.nav-logo-accent { color: #4ade80; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: #94a3b8; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #f1f5f9; text-decoration: none; }
.nav-cta-btn { background: var(--accent) !important; color: #fff !important; padding: 8px 18px; border-radius: 6px; font-weight: 600; transition: background .2s !important; }
.nav-cta-btn:hover { background: #15803d !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #94a3b8; border-radius: 2px; transition: .3s; }

/* Mobile nav — BASE rule (must be outside media query) */
.mobile-nav { display: none; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #0f172a;
    padding: 16px 20px;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,.1);
    z-index: 99;
  }
  .mobile-nav.open a { color: #94a3b8; font-size: 15px; padding: 6px 0; }
  .mobile-nav.open .nav-cta-btn { background: var(--accent) !important; color: #fff !important; padding: 10px 16px; border-radius: 6px; text-align: center; }
}

/* ─── HERO ─── */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; padding: 64px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1fr; max-width: 800px; }
.hero-badge { display: inline-block; background: rgba(22,163,74,.2); color: #4ade80; border: 1px solid rgba(22,163,74,.3); border-radius: 20px; padding: 4px 14px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; color: #f1f5f9; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero-desc { color: #cbd5e1; font-size: 1.05rem; line-height: 1.7; margin-bottom: 28px; max-width: 680px; }
.hero-stats { display: flex; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.stat-num { display: block; font-size: 1.8rem; font-weight: 800; color: #4ade80; line-height: 1; }
.stat-label { font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; display: block; }
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-trust { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.trust-stars { color: #fbbf24; font-size: 18px; }
.trust-text { color: #94a3b8; font-size: 13px; }
.hero-author-block { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-author-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.3); flex-shrink: 0; }
.hero-author-name a { color: #f1f5f9; text-decoration: none; font-weight: 600; font-size: 14px; }
.hero-author-role { font-size: 12px; color: #94a3b8; }
.hero-pub-date { font-size: 12px; color: #64748b; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(22,163,74,.4); text-decoration: none; color: #fff; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255,255,255,.2);
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary:hover { background: rgba(255,255,255,.05); text-decoration: none; color: #f1f5f9; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(22,163,74,.4)} 50%{box-shadow:0 0 0 8px rgba(22,163,74,0)} }
.pulse { animation: pulse 2s infinite; }

/* ─── SECTIONS ─── */
.section { padding: 64px 0; }
.section-light { background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: #0f172a; }
.section-eeat { background: #f0fdf4; border-top: 1px solid #bbf7d0; border-bottom: 1px solid #bbf7d0; }
.section-faq { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; color: var(--text); margin-bottom: 32px; line-height: 1.3; }
.section-dark h2 { color: #f1f5f9; }
.section-dark .section-subtitle { color: #94a3b8; }
.section-title { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; color: var(--text); margin-bottom: 8px; }
.section-dark .section-title { color: #f1f5f9; }
.section-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.section p { color: var(--text); line-height: 1.8; margin-bottom: 16px; }
.section-alt p { color: var(--text); }

/* ─── INTRO ─── */
.intro-text p { font-size: 1.05rem; }

/* ─── H2 BANNERS ─── */
.h2-banner-wrap { display: block; width: calc(100% + 40px); margin-left: -20px; overflow: hidden; line-height: 0; margin-bottom: 32px; }
.h2-banner-img { display: block; width: 100%; aspect-ratio: 3/1; object-fit: cover; }
@media (max-width: 767px) {
  .h2-banner-img { aspect-ratio: 1/1; object-position: center top; }
  .h2-banner-wrap { width: calc(100% + 32px); margin-left: -16px; }
}
.h2-banner-wrap figcaption { font-size: 11px; color: #6b7280; text-align: right; padding: 4px 8px 0; font-style: italic; line-height: 1.4; }

/* ─── CASINO SHOWCASE ─── */
.casino-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.casino-card { background: #1e293b; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.casino-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.casino-card--top { border-color: #d97706; box-shadow: 0 0 0 1px #d97706, 0 4px 16px rgba(217,119,6,.2); }
.casino-card-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 8px; }
.casino-rank { width: 32px; height: 32px; background: rgba(255,255,255,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #94a3b8; font-size: 13px; }
.casino-card--top .casino-rank { background: #d97706; color: #fff; }
.casino-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.badge--gold { background: rgba(217,119,6,.2); color: #fbbf24; border: 1px solid rgba(217,119,6,.3); }
.badge--blue { background: rgba(59,130,246,.2); color: #60a5fa; border: 1px solid rgba(59,130,246,.3); }
.badge--purple { background: rgba(139,92,246,.2); color: #a78bfa; border: 1px solid rgba(139,92,246,.3); }
.badge--orange { background: rgba(234,88,12,.2); color: #fb923c; border: 1px solid rgba(234,88,12,.3); }
.badge--green { background: rgba(22,163,74,.2); color: #4ade80; border: 1px solid rgba(22,163,74,.3); }
.badge--teal { background: rgba(20,184,166,.2); color: #2dd4bf; border: 1px solid rgba(20,184,166,.3); }
.badge--red { background: rgba(220,38,38,.2); color: #f87171; border: 1px solid rgba(220,38,38,.3); }
.badge--grey { background: rgba(107,114,128,.2); color: #9ca3af; border: 1px solid rgba(107,114,128,.3); }
.casino-card-body { padding: 0 16px 12px; flex: 1; }
.casino-name-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.casino-logo-placeholder { width: 48px; height: 48px; background: rgba(255,255,255,.06); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.casino-name { font-size: 1rem; font-weight: 700; color: #f1f5f9; }
.casino-license { font-size: 11px; color: #64748b; margin-top: 2px; }
.casino-rating { margin-left: auto; text-align: right; }
.rating-stars { color: #fbbf24; font-size: 12px; display: block; }
.rating-num { font-size: 1.2rem; font-weight: 800; color: #4ade80; }
.casino-bonus { background: rgba(22,163,74,.12); border: 1px solid rgba(22,163,74,.2); border-radius: 6px; padding: 8px 12px; font-size: 13px; color: #86efac; margin-bottom: 10px; }
.casino-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.casino-meta-item { display: flex; align-items: flex-start; gap: 4px; font-size: 12px; }
.meta-icon { flex-shrink: 0; }
.meta-label { color: #64748b; }
.meta-val { color: #e2e8f0; font-weight: 500; margin-left: 2px; }
.casino-highlights { display: flex; flex-direction: column; gap: 4px; }
.casino-highlights li { font-size: 12px; color: #94a3b8; }
.casino-card-footer { padding: 12px 16px 16px; border-top: 1px solid rgba(255,255,255,.06); }
.btn-casino { display: block; text-align: center; background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 700; font-size: 14px; transition: opacity .15s; margin-bottom: 8px; text-decoration: none; }
.btn-casino:hover { opacity: .9; text-decoration: none; color: #fff; }
.casino-trust-line { text-align: center; font-size: 10px; color: #64748b; }

/* ─── TABLES ─── */
.table-wrap { overflow-x: auto; margin: 24px 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table caption { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; text-align: left; font-weight: 600; }
.data-table th { background: #0f172a; color: #f1f5f9; padding: 12px 14px; text-align: left; font-weight: 600; font-size: 13px; }
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table-row-highlight { background: #f0fdf4; }
.table-row-highlight td { font-weight: 500; }
@media (max-width: 600px) { .data-table th, .data-table td { padding: 8px 10px; font-size: 12px; } }

/* ─── CTA BLOCK ─── */
.cta-block { text-align: center; margin-top: 32px; padding: 32px; background: linear-gradient(135deg, #0f172a, #1e293b); border-radius: 12px; }
.cta-trust { margin-top: 12px; font-size: 12px; color: #64748b; }

/* ─── PROS CONS ─── */
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
@media (max-width: 600px) { .pros-cons-grid { grid-template-columns: 1fr; } }
.pros-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 20px; }
.cons-box { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 20px; }
.pros-title { color: #15803d; font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.cons-title { color: #c2410c; font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.pros-list li, .cons-list li { padding: 6px 0; font-size: 14px; border-bottom: 1px solid rgba(0,0,0,.05); color: var(--text); }
.pros-list li:last-child, .cons-list li:last-child { border-bottom: none; }

/* ─── AUTHOR BOX ─── */
.author-box { display: flex; gap: 24px; align-items: flex-start; background: #fff; border: 1px solid #bbf7d0; border-radius: 12px; padding: 28px; }
@media (max-width: 600px) { .author-box { flex-direction: column; align-items: center; text-align: center; } }
.author-box-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid #16a34a; flex-shrink: 0; }
.author-box-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.author-box-name a { font-size: 1.2rem; font-weight: 700; color: var(--text); text-decoration: none; }
.author-box-title { color: #16a34a; font-size: 13px; font-weight: 600; margin-top: 2px; }
.author-box-socials a { color: var(--text-muted); font-size: 13px; text-decoration: none; }
.author-box-bio { color: var(--text); font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.author-expertise { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.expertise-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.expertise-tag { background: #dcfce7; color: #15803d; border-radius: 20px; padding: 3px 10px; font-size: 12px; font-weight: 500; }

/* ─── REVIEWED BY ─── */
.reviewed-by-section { background: #f0fdf4; padding: 64px 0; }
.reviewed-by-section .section-title { color: var(--text); }
.reviewed-by-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .reviewed-by-cards { grid-template-columns: 1fr; } }
.reviewer-card { border: 1px solid #16a34a; border-radius: 8px; padding: 20px; background: #fff; text-align: center; }
.reviewer-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid #16a34a; margin: 0 auto 12px; display: block; }
.reviewer-name { font-weight: 700; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.reviewer-title { color: #16a34a; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.reviewer-bio { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
.reviewer-date { font-size: 11px; color: #9ca3af; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--bg); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 16px 20px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; line-height: 1.4; }
.faq-question::after { content: '+'; font-size: 20px; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-left: 12px; transition: transform .2s; }
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 20px 16px; }
.faq-answer.open { display: block; }
.faq-answer p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ─── FOOTER ─── */
.site-footer { background: #0f172a; color: #94a3b8; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { font-size: 18px; font-weight: 700; color: #f1f5f9; margin-bottom: 12px; }
.footer-desc { font-size: 13px; line-height: 1.6; }
.footer-heading { color: #e2e8f0; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #64748b; font-size: 13px; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #94a3b8; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); padding: 20px 0; margin-bottom: 20px; }
.footer-disclaimer p { font-size: 12px; color: #64748b; line-height: 1.6; margin-bottom: 8px; }
.footer-disclaimer a { color: #4ade80; }
.footer-affil { font-style: italic; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; color: #475569; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: #64748b; }

/* ─── STICKY CTA ─── */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: #0f172a; border-top: 2px solid #16a34a; padding: 10px 16px; display: none; justify-content: center; align-items: center; gap: 12px; z-index: 200; }
.sticky-cta-btn { background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; padding: 10px 24px; border-radius: 6px; font-weight: 700; font-size: 14px; text-decoration: none; flex: 1; text-align: center; max-width: 400px; }
.sticky-cta-close { background: none; border: none; color: #64748b; font-size: 18px; cursor: pointer; padding: 4px; flex-shrink: 0; }
@media (max-width: 768px) { .sticky-cta { display: flex; } }

/* ─── POPUP ─── */
.popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.popup-box { background: #1e293b; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 32px; max-width: 420px; width: 100%; position: relative; text-align: center; }
.popup-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: #64748b; font-size: 20px; cursor: pointer; }
.popup-badge { display: inline-block; background: rgba(220,38,38,.2); color: #f87171; border-radius: 20px; padding: 4px 14px; font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.popup-title { font-size: 1.4rem; font-weight: 800; color: #f1f5f9; margin-bottom: 12px; }
.popup-desc { color: #94a3b8; font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
.popup-trust { color: #fbbf24; font-size: 13px; margin-bottom: 20px; }
.popup-cta { width: 100%; display: block; }
.popup-disclaimer { margin-top: 12px; font-size: 11px; color: #475569; }
