/* ===== ksj-hausverwaltung.de — Casino ohne OASIS 2026 ===== */
/* Built from scratch — Rose #E11D48 + Urbanist + Atkinson Hyperlegible */

@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;600;700&family=Atkinson+Hyperlegible:wght@400;700&display=swap');

:root {
  --accent: #E11D48;
  --accent-dk: #BE123C;
  --accent-rgb: 225,29,72;
  --ink: #1a1a2e;
  --mute: #64748b;
  --bg: #fafaf9;
  --card: #ffffff;
  --border: #e7e5e4;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,.07);
  --font-head: 'Urbanist', sans-serif;
  --font-body: 'Atkinson Hyperlegible', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-weight: 400; color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }

.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--accent), #fb7185); z-index: 99999; width: 0; transition: width .1s; }

.topbar { background: var(--ink); color: #cbd5e1; font-size: 12px; padding: 6px 20px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 4px; }

.site-header { background: var(--card); border-bottom: 1px solid var(--border); padding: 14px 20px; position: sticky; top: 0; z-index: 9998; }
.header-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-emoji { font-size: 24px; }

.main-nav ul { list-style: none; display: flex; gap: 6px; }
.main-nav a { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 8px; transition: .2s; }
.main-nav a:hover { background: rgba(var(--accent-rgb),.08); color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); }
@media(max-width:768px) { .nav-toggle { display: block; } .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--border); padding: 12px 20px; box-shadow: var(--shadow); } .main-nav.open { display: block; } .main-nav ul { flex-direction: column; gap: 0; } .main-nav a { display: block; padding: 10px 12px; } }

.hero { background: linear-gradient(135deg, var(--ink) 0%, #0f172a 100%); color: #fff; padding: 56px 20px 48px; text-align: center; }
.hero-badge { display: inline-block; background: rgba(var(--accent-rgb),.15); color: #fb7185; font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; border: 1px solid rgba(var(--accent-rgb),.3); }
.hero h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 4vw, 42px); line-height: 1.2; max-width: 820px; margin: 0 auto 14px; }
.hero-sub { font-size: 17px; color: #94a3b8; max-width: 640px; margin: 0 auto 20px; }
.hero-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.hero-chips span { background: rgba(255,255,255,.07); padding: 5px 14px; border-radius: 20px; font-size: 13px; color: #cbd5e1; }

.breadcrumb { max-width: 1100px; margin: 0 auto; padding: 14px 20px; font-size: 13px; color: var(--mute); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.author-box { max-width: 780px; margin: 0 auto 24px; padding: 0 20px; }
.author-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.author-name { font-weight: 600; font-size: 15px; }
.author-role { font-size: 13px; color: var(--mute); }

.ct-wrap { max-width: 780px; margin: 0 auto 32px; padding: 0 20px; }
.content-main .ct-wrap { max-width: 780px; margin-left: auto; margin-right: auto; }
.ct-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ct-header h2 { font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.ct-live { font-size: 13px; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.ct-live::before { content: ''; width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: livePulse 1.5s infinite; }
@keyframes livePulse { 0%,100%{opacity:1}50%{opacity:.4} }

.cr { display: block; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; text-decoration: none; color: var(--ink); transition: .2s; position: relative; }
.cr:hover { box-shadow: 0 4px 20px rgba(var(--accent-rgb),.12); border-color: rgba(var(--accent-rgb),.3); }
.cr-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cr-rank { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); color: var(--ink); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cr:first-child .cr-rank { background: var(--accent); color: #fff; }
.cr-logo { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; background: var(--bg); flex-shrink: 0; }
.cr-info { flex: 1; min-width: 140px; }
.cr-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.cr-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; margin-left: 6px; }
.cr-badge-ts { background: rgba(var(--accent-rgb),.12); color: var(--accent); }
.cr-badge-nd { background: #fef3c7; color: #92400e; }
.cr-badge-code { background: #ede9fe; color: #6d28d9; }
.cr-stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }
.cr-bonus { text-align: right; min-width: 130px; }
.cr-bonus-main { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--accent); }
.cr-bonus-sub { display: block; font-size: 12px; color: var(--mute); }
.cr-cta-wrap { flex-shrink: 0; }
.cr-cta { display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-dk)); color: #fff; font-weight: 700; font-size: 13px; padding: 10px 22px; border-radius: 8px; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; transition: .2s; }
.cr-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(var(--accent-rgb),.35); }
.cr-bottom { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; font-size: 12px; color: var(--mute); }
.cr-pills { display: flex; gap: 4px; flex-wrap: wrap; }
.cr-pill { background: var(--bg); padding: 3px 8px; border-radius: 4px; font-size: 11px; }
.cr-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--mute); }
.cr-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.cr-tag { background: rgba(var(--accent-rgb),.06); color: var(--accent); padding: 3px 8px; border-radius: 4px; font-size: 11px; }
.cr-flags { margin-left: auto; font-size: 14px; letter-spacing: 2px; }
.cr-top-pick { border: 2px solid var(--accent); box-shadow: 0 0 24px rgba(var(--accent-rgb),.1); }
.cr-top-pick::before { content: ''; position: absolute; inset: -2px; border-radius: var(--radius); border: 2px solid transparent; background: linear-gradient(135deg, rgba(var(--accent-rgb),.3), transparent) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: glowPulse 2s infinite; }
@keyframes glowPulse { 0%,100%{opacity:1}50%{opacity:.5} }
.cr-urgency { position: absolute; top: -8px; right: 16px; font-size: 11px; font-weight: 600; color: #92400e; background: #fef3c7; padding: 2px 10px; border-radius: 4px; z-index: 2; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.content-main .cr-urgency { display: none; }
@media(max-width:640px) { .cr-urgency { display: none; } }
.cr-hidden { display: none; }
.cr-more-wrap { text-align: center; margin: 16px 0 32px; }
.crMoreBtn { background: var(--card); border: 2px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 14px; padding: 12px 32px; border-radius: 8px; cursor: pointer; transition: .2s; }
.crMoreBtn:hover { background: var(--accent); color: #fff; }

.toc-container { max-width: 780px; margin: 0 auto 32px; padding: 0 20px; }
.toc-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.toc-toggle { width: 100%; padding: 14px 18px; background: none; border: none; font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.toc-toggle::after { content: '▾'; transition: .2s; }
.toc-toggle.open::after { transform: rotate(180deg); }
.toc-list { display: none; list-style: none; padding: 0 18px 14px; }
.toc-list.open { display: block; }
.toc-list li { padding: 5px 0; border-bottom: 1px solid var(--border); }
.toc-list li:last-child { border: none; }
.toc-list a { text-decoration: none; color: var(--ink); font-size: 14px; transition: .15s; }
.toc-list a:hover { color: var(--accent); }

.prose { max-width: 780px; margin: 0 auto; padding: 0 20px; font-weight: 400; }
.prose p { font-weight: 400; margin-bottom: 16px; line-height: 1.75; }
.prose h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 3vw, 28px); margin: 48px 0 16px; color: var(--ink); }
.prose h3 { font-family: var(--font-head); font-weight: 600; font-size: 19px; margin: 32px 0 12px; }
.prose ul, .prose ol { margin: 0 0 16px 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose a:hover { color: var(--accent-dk); }
.prose strong { font-weight: 700; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 12px 18px; margin: 20px 0; background: rgba(var(--accent-rgb),.04); border-radius: 0 8px 8px 0; font-style: italic; }

.sub-table-intro { max-width: 780px; margin: 0 auto 20px; padding: 0 20px; }
.sub-table-intro p { line-height: 1.75; }

.info-box { background: rgba(var(--accent-rgb),.05); border: 1px solid rgba(var(--accent-rgb),.15); border-radius: var(--radius); padding: 20px; margin: 24px 0; }
.info-box h3 { margin-top: 0; }

.compare-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.compare-table th { background: var(--ink); color: #fff; padding: 10px 14px; text-align: left; font-weight: 600; }
.compare-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.compare-table tr:nth-child(even) td { background: var(--bg); }

.faq-section { max-width: 780px; margin: 48px auto; padding: 0 20px; }
.faq-section h2 { font-family: var(--font-head); font-weight: 700; font-size: 24px; margin-bottom: 20px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.faq-q { width: 100%; padding: 16px 18px; background: var(--card); border: none; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center; transition: .2s; }
.faq-q:hover { background: var(--bg); }
.faq-q::after { content: '+'; font-size: 20px; font-weight: 400; transition: .2s; }
.faq-q.open::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 18px 16px; font-size: 14px; line-height: 1.7; color: #475569; }
.faq-a.open { display: block; }

.internal-links { max-width: 780px; margin: 32px auto; padding: 20px; background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.internal-links p { font-weight: 600; margin-bottom: 8px; }
.internal-links ul { list-style: none; margin: 0; padding: 0; }
.internal-links li { padding: 5px 0; }
.internal-links a { color: var(--accent); text-decoration: none; font-weight: 500; }
.internal-links a:hover { text-decoration: underline; }

.related-section { max-width: 1100px; margin: 48px auto 0; padding: 0 20px; }
.related-section h2 { font-family: var(--font-head); font-weight: 700; font-size: 22px; margin-bottom: 16px; }
.related-track { display: flex; gap: 16px; overflow-x: auto; cursor: grab; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 8px; }
.related-track::-webkit-scrollbar { display: none; }
.related-track.grabbing { cursor: grabbing; }
.related-card { flex: 0 0 280px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); scroll-snap-align: start; transition: .2s; }
.related-card:hover { box-shadow: var(--shadow); border-color: rgba(var(--accent-rgb),.3); }
.related-card-emoji { font-size: 28px; margin-bottom: 8px; }
.related-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.related-card p { font-size: 13px; color: var(--mute); line-height: 1.5; }

.rg-bar { background: #fefce8; border-top: 2px solid #fbbf24; padding: 24px 20px; text-align: center; font-size: 14px; color: #92400e; }
.rg-bar a { color: #b45309; font-weight: 600; }

.footer-bar { background: var(--ink); color: #94a3b8; padding: 48px 20px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media(max-width:768px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-desc { font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 3px 0; }
.footer-col a { color: #94a3b8; font-size: 13px; text-decoration: none; transition: .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { max-width: 1100px; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid #334155; text-align: center; font-size: 12px; color: #64748b; }
.footer-bottom a { color: #94a3b8; text-decoration: none; }

.sticky-cta { position: fixed; bottom: -200px; left: 0; right: 0; z-index: 9990; transition: bottom .4s ease; }
.sticky-cta.show { bottom: 0; }
.sticky-cta-inner { max-width: 760px; margin: 0 auto; background: var(--card); border-radius: 12px 12px 0 0; box-shadow: 0 -4px 30px rgba(0,0,0,.15); padding: 16px 20px; position: relative; }
@media(max-width:768px) { .sticky-cta-inner { border-radius: 0; } }
.sticky-cta-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sticky-cta-logo { width: 44px; height: 44px; border-radius: 8px; }
.sticky-cta-info { flex: 1; }
.sticky-cta-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.sticky-cta-bonus { font-size: 13px; color: var(--mute); }
.sticky-cta-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 20px; color: var(--mute); cursor: pointer; }
.st-btn { display: block; width: 100%; background: linear-gradient(135deg, var(--accent), var(--accent-dk)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; padding: 14px; border: none; border-radius: 8px; cursor: pointer; text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: .5px; transition: .2s; }
.st-btn:hover { box-shadow: 0 4px 20px rgba(var(--accent-rgb),.4); }
.st-sub { text-align: center; font-size: 12px; color: var(--mute); margin-top: 8px; }

.cookie-modal { position: fixed; inset: 0; z-index: 99998; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.5); backdrop-filter: blur(3px); }
.cookie-modal.hidden { display: none; }
.cookie-box { background: var(--card); border-radius: 16px; max-width: 440px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,.2); overflow: hidden; }
.cookie-tabs { display: flex; border-bottom: 1px solid var(--border); }
.cookie-tab { flex: 1; padding: 12px; text-align: center; font-size: 14px; font-weight: 600; cursor: pointer; border: none; background: none; color: var(--mute); transition: .2s; }
.cookie-tab.active { color: var(--accent); border-bottom: 2px solid var(--accent); }
.cookie-body { padding: 20px; font-size: 14px; line-height: 1.6; color: #475569; }
.cookie-body a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; padding: 0 20px 20px; }
.cookie-btn { flex: 1; padding: 11px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; border: none; transition: .2s; }
.cookie-btn-decline { background: var(--bg); color: var(--ink); }
.cookie-btn-accept { background: var(--accent); color: #fff; }
.cookie-btn-accept:hover { background: var(--accent-dk); }

.social-proof { text-align: center; font-size: 13px; color: var(--mute); padding: 8px 0 0; }

.legal-content { max-width: 780px; margin: 0 auto; padding: 32px 20px; }
.legal-content h1 { font-family: var(--font-head); font-weight: 700; font-size: 28px; margin-bottom: 24px; }
.legal-content h2 { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin: 28px 0 12px; }
.legal-content p { margin-bottom: 14px; line-height: 1.7; font-weight: 400; }
.legal-content ul { margin: 0 0 14px 20px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--accent); }

.back-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--accent); color: #fff; border: none; border-radius: 50%; font-size: 20px; cursor: pointer; z-index: 9980; opacity: 0; visibility: hidden; transition: .3s; box-shadow: 0 2px 12px rgba(var(--accent-rgb),.3); }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-2px); }

.text-accent { color: var(--accent); }
.mt-0 { margin-top: 0; }
main { min-height: 60vh; }
