/* =====================================================
   FOTOIDEE-MINDEN.DE — Sportwetten 2026
   Light minimal design (Jimdo-spirit), sans-serif
   Blue accent — NO TOC sidebar
   ===================================================== */

:root {
  --bg: #fce7c8;
  --bg2: #f5ddb4;
  --text: #1c1209;
  --muted: #7a6550;
  --border: #e0c49a;
  --accent: #5c5c5c;
  --accent-dk: #3d3d3d;
  --accent-lt: #e8d4b8;
  --accent-xlt: #faf0e0;
  --header-bg: #fce7c8;
  --nav-bg: #5c5c5c;
  --footer-bg: #3a3028;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --r: 5px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 12px rgba(0,0,0,.1);
  --max: 1140px;
  --ease: 0.18s ease;
}

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

/* ===================== SKIP ===================== */
.skip-nav {
  position: absolute; top: -100px; left: 1rem;
  background: var(--accent); color: #fff;
  padding: .5rem 1rem; border-radius: var(--r);
  font-size: .875rem; z-index: 9999;
}
.skip-nav:focus { top: 1rem; }

/* ===================== TOP BAR ===================== */
.top-bar {
  background: var(--nav-bg);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,.18);
}
.top-bar-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}
.brand-name {
  font-size: .9375rem; font-weight: 700;
  color: #fff; display: flex; align-items: center; gap: .5rem;
  text-decoration: none;
}
.brand-name:hover { color: var(--accent-lt); text-decoration: none; }
.brand-icon {
  width: 26px; height: 26px; background: var(--accent);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .75rem; color: #fff; flex-shrink: 0;
}

.mob-toggle {
  display: none;
  background: none; border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: .8125rem;
  padding: .35rem .7rem; border-radius: var(--r); cursor: pointer;
  transition: border-color var(--ease);
}
.mob-toggle:hover { border-color: #fff; }

#main-nav ul {
  display: flex; list-style: none; gap: .125rem;
}
#main-nav a {
  font-size: .8125rem; font-weight: 500;
  color: rgba(255,255,255,.75);
  padding: .4rem .7rem; border-radius: var(--r);
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
#main-nav a:hover, #main-nav a.cur {
  background: rgba(255,255,255,.1); color: #fff; text-decoration: none;
}
#main-nav a.cur { background: var(--accent); color: #fff; }

/* ===================== SITE HEADER (logo area) ===================== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.5rem 1.25rem;
}
.site-name { color: #3a2810; }
.site-tagline { color: #7a6550; }
.site-header-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; gap: .25rem;
}
.site-name {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--text);
}
.site-tagline {
  font-size: .875rem; color: var(--muted);
}

/* ===================== HERO ===================== */
.post-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem 2.5rem;
}
.post-hero-inner { max-width: var(--max); margin: 0 auto; }
.post-hero .chip {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--accent-xlt); border: 1px solid var(--border);
  color: var(--accent-dk); font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  padding: .25rem .75rem; border-radius: 100px; margin-bottom: 1rem;
}
.post-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.2;
  color: var(--text); margin-bottom: 1rem; max-width: 760px;
}
.post-hero .lead {
  font-size: 1.0625rem; color: #4a3520; line-height: 1.65;
  max-width: 680px;
}

/* ===================== STATS ROW ===================== */
.kpi-row {
  background: var(--accent-xlt); border-bottom: 1px solid var(--border);
}
.kpi-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.kpi-cell {
  text-align: center; padding: .875rem 1rem;
  border: 1px solid var(--border); border-radius: var(--r);
  transition: border-color var(--ease);
}
.kpi-cell:hover { border-color: var(--accent); }
.kpi-num {
  font-size: 1.5rem; font-weight: 800; color: var(--accent-dk); line-height: 1;
  margin-bottom: .2rem;
}
.kpi-lbl { font-size: .78rem; color: var(--muted); font-weight: 500; }

/* ===================== MAIN WRAP ===================== */
.post-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ===================== ANCHOR TOC (inline, not sidebar) ===================== */
.inline-toc {
  background: var(--accent-xlt);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.inline-toc-title {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--accent-dk);
  margin-bottom: .875rem; display: flex; align-items: center; gap: .35rem;
}
.inline-toc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem .75rem;
}
.inline-toc-grid a {
  font-size: .8125rem; color: #4a3520;
  padding: .2rem 0; display: block;
  border-bottom: 1px dashed var(--border);
  transition: color var(--ease);
}
.inline-toc-grid a:hover { color: var(--accent-dk); text-decoration: none; }

/* ===================== ARTICLE TYPOGRAPHY ===================== */
.post-body h2 {
  font-size: 1.4375rem; font-weight: 700; letter-spacing: -.02em;
  color: #2a1a08; margin: 2.75rem 0 .75rem;
  padding-top: .25rem; scroll-margin-top: 60px;
  border-bottom: 1px solid var(--border); padding-bottom: .4rem;
}
.post-body h2:first-child { margin-top: 0; }
.post-body h3 {
  font-size: 1.1rem; font-weight: 700; color: #1f2937;
  margin: 1.75rem 0 .5rem; scroll-margin-top: 60px;
}
.post-body p {
  color: #3d2b18; margin-bottom: 1rem; font-size: 1rem; line-height: 1.75;
}
.post-body p:last-child { margin-bottom: 0; }

/* ===================== COMPONENTS ===================== */

/* checklist */
.check-list {
  list-style: none; margin: .875rem 0 1.5rem;
  display: flex; flex-direction: column; gap: .4rem;
}
.check-list li {
  display: flex; gap: .75rem; align-items: flex-start;
  background: var(--accent-xlt); border: 1px solid var(--border);
  border-radius: var(--r); padding: .7rem 1rem;
  font-size: .9375rem; color: #3d2b18;
  transition: border-color var(--ease);
}
.check-list li:hover { border-color: var(--accent); }
.check-list li::before {
  content: '✓'; color: var(--accent); font-weight: 700; font-size: .9rem;
  flex-shrink: 0; margin-top: .1em; width: 1.1rem;
}

/* steps */
.step-list {
  list-style: none; margin: .875rem 0 1.5rem;
  counter-reset: sc; display: flex; flex-direction: column; gap: .5rem;
}
.step-list li {
  display: flex; gap: .875rem; align-items: flex-start;
  padding: .8rem 1rem; background: var(--accent-xlt);
  border: 1px solid var(--border); border-radius: var(--r);
  font-size: .9375rem; color: #3d2b18; counter-increment: sc;
}
.step-list li::before {
  content: counter(sc); display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; min-width: 26px;
  background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 700; border-radius: 50%;
}

/* bullet list */
.dot-list {
  list-style: none; margin: .875rem 0 1.5rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.dot-list li {
  padding-left: 1.375rem; position: relative;
  font-size: .9375rem; color: #3d2b18;
}
.dot-list li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700; font-size: 1.1rem; line-height: 1.4;
}

/* info box */
.msg-box {
  border-radius: var(--r); padding: .875rem 1.125rem;
  margin: 1.25rem 0; font-size: .9375rem; line-height: 1.65;
  border-left: 3px solid;
}
.msg-box.info { background: var(--accent-xlt); border-color: var(--accent); color: #3a2810; }
.msg-box.warn { background: #fff0e0; border-color: #c07830; color: #7a3010; }
.msg-box.ok   { background: #f0ede6; border-color: var(--accent); color: #2a1a08; }

/* tables */
.tbl-scroll {
  overflow-x: auto; margin: 1.25rem 0 1.75rem;
  border-radius: var(--r); border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}
.data-tbl {
  width: 100%; border-collapse: collapse;
  font-size: .875rem;
}
.data-tbl th {
  background: var(--nav-bg); color: #fff;
  padding: .7rem 1rem; text-align: left;
  font-weight: 600; white-space: nowrap;
}
.data-tbl td {
  padding: .7rem 1rem; border-bottom: 1px solid var(--border);
  color: #3d2b18; vertical-align: top;
}
.data-tbl tr:last-child td { border-bottom: none; }
.data-tbl tr:nth-child(even) td { background: var(--accent-xlt); }
.data-tbl tr:hover td { background: var(--bg2); }
.tbl-note { font-size: .78rem; color: var(--muted); margin-top: -.75rem; margin-bottom: 1.25rem; }

/* provider grid */
.prov-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .875rem; margin: 1.25rem 0 1.75rem;
}
.prov-card {
  background: var(--accent-xlt); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.125rem;
  transition: box-shadow var(--ease), border-color var(--ease);
  position: relative;
}
.prov-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.prov-card.featured { border-color: var(--accent); }
.prov-card.featured::before {
  content: '★ Empfehlung'; position: absolute; top: -1px; left: 1rem;
  background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: .15rem .55rem; border-radius: 0 0 var(--r) var(--r);
}
.pcard-title { font-size: 1rem; font-weight: 700; color: #2a1a08; margin-bottom: .4rem; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .5rem; }
.ptag {
  background: var(--accent-lt); color: var(--accent-dk);
  font-size: .7rem; font-weight: 600; padding: .15rem .45rem; border-radius: 100px;
}
.pcard-desc { font-size: .8125rem; color: #4a3520; line-height: 1.55; }

/* FAQ */
.faq-block {
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; margin: .875rem 0 1.5rem;
}
.faq-row { border-bottom: 1px solid var(--border); }
.faq-row:last-child { border-bottom: none; }
.faq-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem 1.125rem;
  font-family: var(--font); font-size: .9375rem; font-weight: 600;
  color: #2a1a08; text-align: left;
  transition: background var(--ease);
}
.faq-btn:hover { background: var(--bg2); }
.faq-btn[aria-expanded="true"] { background: var(--bg2); color: #1c1209; }
.faq-ico {
  flex-shrink: 0; width: 20px; height: 20px;
  background: var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: var(--accent-dk);
  transition: transform var(--ease), background var(--ease);
}
.faq-btn[aria-expanded="true"] .faq-ico {
  transform: rotate(45deg); background: var(--accent); color: #fff;
}
.faq-panel {
  display: none; padding: 0 1.125rem 1rem;
  font-size: .9375rem; color: #3d2b18; line-height: 1.7;
}
.faq-panel.open { display: block; }

/* glossary */
.gloss-list {
  list-style: none; margin: .875rem 0 1.5rem;
  display: flex; flex-direction: column; gap: .35rem;
}
.gloss-list li {
  padding: .6rem 1rem; background: var(--bg2);
  border-radius: var(--r); font-size: .9rem; color: #3d2b18;
}
.gloss-list strong { color: #1c1209; }

/* disclaimer */
.disc-box {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: .875rem 1.125rem;
  font-size: .8rem; color: #5a3a1a; margin-top: 2rem; line-height: 1.55;
}

/* ===================== PAGE HEADER (sub-pages) ===================== */
.pg-header {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem 2rem;
}
.pg-header-inner { max-width: var(--max); margin: 0 auto; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: .6rem; }
.breadcrumb a { color: var(--muted); }
.pg-header h1 {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800;
  letter-spacing: -.025em; margin-bottom: .6rem; color: #2a1a08;
}
.pg-header .lead { font-size: .9375rem; color: #4a3520; max-width: 620px; }

/* ===================== FOOTER ===================== */
#pg-footer {
  background: var(--footer-bg); color: rgba(255,255,255,.6);
  margin-top: 4rem;
}
.footer-cols {
  max-width: var(--max); margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand .fb-name {
  font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .625rem;
}
.footer-brand p { font-size: .8375rem; line-height: 1.65; }
.footer-col h4 {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: rgba(255,255,255,.4);
  margin-bottom: .875rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a {
  font-size: .8375rem; color: rgba(255,255,255,.6);
  transition: color var(--ease);
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bar {
  max-width: var(--max); margin: 0 auto;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-disc { font-size: .72rem; color: rgba(255,255,255,.35); max-width: 640px; line-height: 1.5; }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.35); white-space: nowrap; }
.footer-copy a { color: rgba(255,255,255,.4); }
.footer-copy a:hover { color: #fff; }

/* ===================== BTT ===================== */
.btt {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  width: 42px; height: 42px; background: var(--nav-bg);
  color: #fff; border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; box-shadow: 0 4px 12px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--ease); z-index: 50;
}
.btt.show { opacity: 1; visibility: visible; transform: translateY(0); }
.btt:hover { background: var(--accent-dk); transform: translateY(-2px); }

/* ===================== BREAKPOINTS ===================== */
@media (max-width: 1024px) {
  .kpi-inner { grid-template-columns: repeat(2, 1fr); }
  .prov-grid { grid-template-columns: repeat(2, 1fr); }
  .inline-toc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .mob-toggle { display: block; }
  #main-nav {
    display: none; position: absolute; top: 52px; left: 0; right: 0;
    background: var(--nav-bg); border-top: 1px solid rgba(255,255,255,.08);
    padding: .4rem 0; box-shadow: 0 8px 16px rgba(0,0,0,.25);
  }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; gap: 0; }
  #main-nav a { padding: .7rem 1.5rem; border-radius: 0; }

  .site-header { padding: 1rem; }
  .post-hero { padding: 2rem 1rem 1.75rem; }
  .kpi-inner { grid-template-columns: repeat(2, 1fr); padding: .875rem 1rem; }
  .post-wrap { padding: 1.75rem 1rem 3rem; }
  .inline-toc-grid { grid-template-columns: 1fr 1fr; }
  .prov-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem 1rem; }
  .footer-bar { padding: .875rem 1rem; flex-direction: column; }
  .post-body h2 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .kpi-inner { grid-template-columns: 1fr 1fr; }
  .inline-toc-grid { grid-template-columns: 1fr; }
  .post-hero h1 { font-size: 1.375rem; }
  .btt { bottom: 1rem; right: 1rem; }
}
