@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* =====================================================
   selbstspieleinrichtungen.de — Editorial Design
   Neutrales Vergleichsportal, Stiftung-Warentest-Look
   Bewusst KEIN Produktmarketing-Design
   ===================================================== */

:root {
  /* Editorial-Farbpalette — warm stone / amber */
  --primary: #44403c;       /* warm stone-700, editorial */
  --primary-dark: #1c1917;  /* stone-900 */
  --primary-light: #fef3c7; /* amber-100, warm cream */
  --primary-muted: #a8a29e; /* stone-400 */
  --accent: #b45309;        /* amber-700, Akzentfarbe */
  --accent-light: #fef9ee;
  --positive: #047857;      /* grün für "Vorteil" */
  --negative: #b91c1c;      /* rot für "Nachteil" */
  --neutral: #0369a1;       /* blau für neutral/info */
  --text: #1c1917;
  --text-muted: #57534e;    /* stone-600 */
  --text-light: #78716c;    /* stone-500 */
  --bg: #ffffff;
  --bg-warm: #fafaf8;       /* leicht warmes Weiß — Papier-Feeling */
  --bg-soft: #f5f5f4;       /* stone-100 */
  --bg-tint: #fef3c7;       /* warm amber tint */
  --bg-dark: #1c1917;       /* stone-900 */
  --border: #e7e5e4;        /* stone-200 */
  --border-strong: #a8a29e;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 16px rgba(28,25,23,.08);
  --shadow-lg: 0 8px 40px rgba(28,25,23,.12);
  --container: 1200px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg-warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ========== NAV — schmal, journalistisch ========== */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--bg-dark);
  border-bottom: 3px solid var(--accent);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 60px;
}
.nav-logo {
  font-size: .95rem; font-weight: 800; color: #fafaf8;
  letter-spacing: .01em; display: flex; align-items: center; gap: 0;
  text-transform: lowercase;
}
.nav-logo .logo-dot { color: var(--accent); margin: 0 1px; }
.nav-logo .logo-de { color: #a8a29e; font-weight: 400; margin-left: 1px; }
.nav-links { display: flex; gap: 0; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  font-size: .87rem; font-weight: 600; color: #c0bdb9;
  transition: background .15s, color .15s;
  border-radius: 0;
}
.nav-links > li > a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-links > li > a.active { color: #fff; border-bottom: 2px solid var(--accent); }
.nav-links .has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--primary-dark); border: 1px solid #44403c;
  border-radius: 0 0 var(--radius) var(--radius); padding: 6px;
  min-width: 250px; box-shadow: var(--shadow-lg);
}
.dropdown a {
  display: block; padding: 9px 14px; border-radius: var(--radius);
  font-size: .85rem; font-weight: 500; color: #a8a29e;
}
.dropdown a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #c0bdb9; margin: 5px 0; border-radius: 2px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 700; cursor: pointer;
  border: none; transition: all .18s; text-decoration: none;
  letter-spacing: .01em;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #92400e; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--bg-tint); }
.btn-white { background: #fff; color: var(--primary-dark); border: 1px solid var(--border); }
.btn-white:hover { background: var(--bg-soft); }
.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-dark { background: var(--primary-dark); color: #f5f5f4; }
.btn-dark:hover { background: #000; }

/* ========== EDITORIAL TAG ========== */
.tag {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 3px; margin-bottom: 14px;
}
.tag-neutral {
  display: inline-block; background: var(--bg-soft); color: var(--text-muted);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 3px; margin-bottom: 6px;
  border: 1px solid var(--border);
}
.tag-positive { background: var(--positive); color: #fff; }
.tag-negative { background: var(--negative); color: #fff; }

/* ========== PAGE HERO — editorial hell ========== */
.page-hero {
  background: var(--bg); border-bottom: 2px solid var(--border);
  padding: 56px 0 44px;
}
.page-hero .breadcrumb {
  font-size: .8rem; color: var(--text-light); margin-bottom: 18px;
  display: flex; align-items: center; gap: 6px;
}
.page-hero .breadcrumb a { color: var(--accent); font-weight: 600; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero .breadcrumb-sep { color: var(--primary-muted); }
.page-hero h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; line-height: 1.2;
  margin-bottom: 16px; color: var(--text);
}
.page-hero h1 em { color: var(--accent); font-style: italic; }
.page-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 640px; line-height: 1.75; margin-bottom: 24px; }
.page-hero .hero-meta { font-size: .78rem; color: var(--primary-muted); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.page-hero .hero-meta span::before { content: '—'; margin-right: 6px; }
.page-hero .hero-meta span:first-child::before { display: none; }

/* ========== SECTIONS ========== */
.section { padding: 72px 0; }
.section--warm { background: var(--bg-warm); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); border-top: 1px solid #fde68a; border-bottom: 1px solid #fde68a; }
.section--dark { background: var(--bg-dark); color: #d6d3d1; }
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 600; line-height: 1.25; margin-bottom: 12px;
}
.section-header h2 em { color: var(--accent); font-style: italic; }
.section-header p { font-size: .97rem; color: var(--text-muted); max-width: 600px; line-height: 1.7; }
.section-header.centered p { margin: 0 auto; }

/* ========== ARTICLE BODY ========== */
.article-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.article-body { max-width: 100%; }
.article-body h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.4rem; font-weight: 600; margin: 48px 0 16px; color: var(--text);
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.article-body h3 { font-size: 1.05rem; font-weight: 700; margin: 28px 0 10px; color: var(--text); }
.article-body p { font-size: .96rem; line-height: 1.85; margin-bottom: 16px; color: var(--text-muted); }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 18px; }
.article-body li { font-size: .93rem; line-height: 1.7; margin-bottom: 7px; color: var(--text-muted); }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body strong { color: var(--text); font-weight: 700; }
.article-lead {
  font-size: 1.08rem; line-height: 1.85; color: var(--text); font-weight: 400;
  font-family: 'Lora', Georgia, serif;
  padding-bottom: 28px; border-bottom: 2px solid var(--border); margin-bottom: 36px;
}

/* ========== SIDEBAR ========== */
.article-sidebar { position: sticky; top: 80px; }
.sidebar-box {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.sidebar-box h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 12px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.sidebar-box ul { display: flex; flex-direction: column; gap: 6px; }
.sidebar-box a { font-size: .86rem; color: var(--text-muted); transition: color .15s; line-height: 1.4; }
.sidebar-box a:hover { color: var(--accent); }
.sidebar-box a.current { color: var(--accent); font-weight: 700; }
.sidebar-score { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sidebar-score .score-label { font-size: .82rem; color: var(--text-muted); flex: 1; }
.sidebar-score .score-val { font-size: .9rem; font-weight: 800; color: var(--text); }

/* ========== VERDICT / FAZIT BOX ========== */
.verdict-box {
  border-radius: var(--radius); padding: 24px 28px; margin: 28px 0;
  border: 1px solid;
}
.verdict-box.positive { background: #f0fdf4; border-color: #86efac; }
.verdict-box.neutral { background: var(--bg-tint); border-color: #fde68a; }
.verdict-box.critical { background: #fef2f2; border-color: #fca5a5; }
.verdict-box .verdict-label {
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  margin-bottom: 8px; display: block;
}
.verdict-box.positive .verdict-label { color: var(--positive); }
.verdict-box.neutral .verdict-label { color: var(--accent); }
.verdict-box.critical .verdict-label { color: var(--negative); }
.verdict-box h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.verdict-box p { font-size: .89rem; line-height: 1.7; color: var(--text-muted); margin: 0; }

/* ========== TIP / INFO / HINWEIS BOXES ========== */
.tip-box {
  background: var(--bg-tint); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px; margin: 20px 0;
  font-size: .88rem; color: var(--text-muted); line-height: 1.7;
}
.tip-box strong { color: var(--accent); }
.info-box {
  background: #eff6ff; border-left: 4px solid var(--neutral);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px; margin: 20px 0;
  font-size: .88rem; color: var(--text-muted); line-height: 1.7;
}
.info-box strong { color: var(--neutral); }
.patent-box {
  background: var(--bg-soft); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 18px 22px; margin: 24px 0;
  font-size: .87rem; color: var(--text-muted); line-height: 1.7;
}
.patent-box strong { color: var(--text); }
.patent-box .patent-number { font-family: monospace; background: var(--border); padding: 2px 6px; border-radius: 4px; font-size: .82rem; }

/* ========== CARDS ========== */
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  text-decoration: none; color: var(--text);
  transition: all .18s; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { font-size: .97rem; font-weight: 800; margin-bottom: 8px; }
.card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.card-link { font-size: .82rem; font-weight: 700; color: var(--accent); }

/* ========== PROVIDER PROFILE ========== */
.provider-header {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px; background: var(--bg); border-radius: var(--radius-lg);
  border: 1px solid var(--border); margin-bottom: 28px; box-shadow: var(--shadow);
}
.provider-badge {
  min-width: 64px; height: 64px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; flex-shrink: 0; background: var(--bg-soft);
  border: 1px solid var(--border);
}
.provider-meta h2 { font-size: 1.3rem; font-weight: 900; margin-bottom: 4px; }
.provider-meta .provider-type { font-size: .78rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; display: block; }
.provider-meta p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ========== PRO/CON LIST ========== */
.pro-con-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.pro-list, .con-list { border-radius: var(--radius); padding: 18px 20px; }
.pro-list { background: #f0fdf4; border: 1px solid #86efac; }
.con-list { background: #fef2f2; border: 1px solid #fca5a5; }
.pro-list h4, .con-list h4 { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.pro-list h4 { color: var(--positive); }
.con-list h4 { color: var(--negative); }
.pro-list li, .con-list li { font-size: .86rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 7px; padding-left: 18px; position: relative; }
.pro-list li::before { content: '✓'; color: var(--positive); font-weight: 700; position: absolute; left: 0; }
.con-list li::before { content: '✗'; color: var(--negative); font-weight: 700; position: absolute; left: 0; }

/* ========== COMPARISON TABLE ========== */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table thead tr { background: var(--primary-dark); }
.compare-table th {
  color: #e7e5e4; padding: 13px 14px;
  font-size: .83rem; font-weight: 700; text-align: left;
  border-right: 1px solid rgba(255,255,255,.08);
}
.compare-table th:first-child { background: #0c0a09; color: #a8a29e; }
.compare-table th.col-ec { background: #78350f; }
.compare-table td {
  padding: 11px 14px; font-size: .85rem; border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  vertical-align: middle; line-height: 1.4; background: var(--bg);
}
.compare-table td:first-child { font-weight: 600; color: var(--text); background: var(--bg-soft); font-size: .83rem; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg-tint); }
.compare-table tr:hover td:first-child { background: #fef9ee; }
.compare-table td.col-ec { background: #fffbeb; }
.compare-table tr:hover td.col-ec { background: var(--bg-tint); }
.check { color: var(--positive); font-weight: 700; }
.cross { color: var(--primary-muted); }
.partial { color: var(--accent); font-weight: 600; }
.compare-table tfoot td { background: var(--bg-soft); color: var(--text-light); font-size: .77rem; padding: 12px 14px; border-top: 2px solid var(--border); }

/* ========== SCORE BADGE ========== */
.score-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 12px; font-size: .82rem; font-weight: 700;
}
.score-badge.good { background: #f0fdf4; border-color: #86efac; color: var(--positive); }
.score-badge.ok { background: var(--bg-tint); border-color: #fde68a; color: var(--accent); }
.score-badge.bad { background: #fef2f2; border-color: #fca5a5; color: var(--negative); }

/* ========== RELATED ARTICLES ========== */
.related-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.related-link {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; text-decoration: none; color: var(--text);
  transition: all .18s; display: flex; flex-direction: column; gap: 5px;
  background: var(--bg);
}
.related-link:hover { border-color: var(--accent); background: var(--bg-tint); }
.related-link .rel-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.related-link h4 { font-size: .92rem; font-weight: 700; }
.related-link p { font-size: .81rem; color: var(--text-muted); line-height: 1.5; }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--primary-dark); border-radius: var(--radius-lg);
  padding: 48px 44px; text-align: center; color: #e7e5e4;
  border-top: 4px solid var(--accent);
}
.cta-banner h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; margin-bottom: 12px; color: #fff;
}
.cta-banner p { font-size: .95rem; opacity: .75; margin-bottom: 24px; line-height: 1.6; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== FOOTER ========== */
.site-footer { background: #0c0a09; color: #78716c; padding: 48px 0 24px; border-top: 3px solid #292524; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer-brand p { font-size: .84rem; line-height: 1.7; max-width: 280px; margin: 10px 0 14px; }
.footer-logo-text { font-size: 1rem; font-weight: 800; color: #d6d3d1; text-transform: lowercase; }
.footer-logo-text .dot { color: var(--accent); }
.footer-col h4 { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #a8a29e; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .84rem; color: #57534e; transition: color .15s; }
.footer-col a:hover { color: #d6d3d1; }
.footer-col a.ext::after { content: ' ↗'; font-size: .73rem; }
.footer-bottom {
  border-top: 1px solid #292524; padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: #44403c; flex-wrap: wrap; gap: 8px;
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: #44403c; }
.footer-legal a:hover { color: #78716c; }
.footer-hint { font-size: .75rem; color: #44403c; max-width: 600px; line-height: 1.5; margin-top: 8px; }

/* ========== FAQ ========== */
.faq-list { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); background: var(--bg); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; background: none; border: none; cursor: pointer;
  font-size: .93rem; font-weight: 700; text-align: left; color: var(--text); gap: 16px;
}
.faq-question:hover { background: var(--bg-soft); }
.faq-icon { font-size: 1.1rem; color: var(--accent); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 18px; font-size: .89rem; color: var(--text-muted); line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* ========== DECISION / FÜR WEN ========== */
.decision-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); transition: all .18s;
}
.decision-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); }
.decision-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.decision-card .situation { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 10px; display: block; }
.decision-card p { font-size: .86rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 12px; }
.decision-card .recommendation { font-size: .84rem; font-weight: 700; color: var(--text); }
.decision-card .rec-arrow { color: var(--accent); }

/* ========== STAT ROW ========== */
.stat-row { display: grid; border-bottom: 2px solid var(--border); background: var(--bg); }
.stat-row.cols-4 { grid-template-columns: repeat(4,1fr); }
.stat-row.cols-3 { grid-template-columns: repeat(3,1fr); }
.stat-item { text-align: center; padding: 24px 16px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 1.8rem; font-weight: 900; color: var(--accent); line-height: 1; }
.stat-label { font-size: .78rem; color: var(--text-muted); margin-top: 5px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .card-grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pro-con-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .page-hero { padding: 40px 0 32px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 32px 20px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .compare-table { font-size: .78rem; }
  .compare-table td, .compare-table th { padding: 9px 10px; }
  .provider-header { flex-direction: column; gap: 16px; }
  .stat-row.cols-4 { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}
