/* ============================================================
   unsere-setter-stade-haddorf.de — Sportwetten 2026
   Design: simple single-column, red accent, no sidebar
   ============================================================ */

:root {
  --bg:          #f9f7f4;
  --bg-white:    #ffffff;
  --text:        #1a1a1a;
  --text-muted:  #555555;
  --accent:      #9b1a1a;
  --accent-h:    #7c1414;
  --accent-light:#fdf0ef;
  --hdr-bg:      #1c1c1e;
  --hdr-text:    #f5f5f5;
  --border:      #e2dcd6;
  --tbl-hd:      #f0ebe5;
  --radius:      6px;
  --max-w:       820px;
  --transition:  0.22s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.7;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-h); text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ---- HEADER ---- */
.pg-header {
  background: var(--hdr-bg);
  color: var(--hdr-text);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.pg-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.pg-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hdr-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pg-logo span { color: var(--accent); }
.pg-logo:hover { text-decoration: none; color: var(--hdr-text); }

.pg-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.pg-nav a {
  color: #ccc;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.pg-nav a:hover, .pg-nav a.active {
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
}

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #ccc;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  transition: var(--transition);
}

/* ---- HERO ---- */
.pg-hero {
  background: linear-gradient(135deg, #1c1c1e 0%, #3a1212 100%);
  color: #fff;
  padding: 56px 20px 48px;
  text-align: center;
}
.pg-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.pg-hero .badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.pg-hero h1 {
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #fff;
}
.pg-hero .lead {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  max-width: 640px;
  margin: 0 auto 24px;
}
.pg-hero .hero-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,.5);
}

/* ---- MAIN CONTENT ---- */
.pg-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.pg-main p { margin-bottom: 1rem; }

.pg-main h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.2rem 0 0.8rem;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.pg-main h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.6rem 0 0.6rem;
}

/* anchor list (in-page nav) */
.anchor-nav {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 2rem;
}
.anchor-nav p { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 10px; }
.anchor-nav ul { list-style: none; column-count: 2; column-gap: 20px; }
.anchor-nav ul li { margin-bottom: 4px; }
.anchor-nav ul li a { font-size: 0.88rem; color: var(--accent); }
.anchor-nav ul li a:hover { text-decoration: underline; }

/* info box */
.art-info {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 1.2rem 0;
  font-size: 0.95rem;
}

/* lists */
.art-list {
  margin: 0.6rem 0 1rem 0;
  padding-left: 0;
  list-style: none;
}
.art-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.art-list li:last-child { border-bottom: none; }
.art-list li::before {
  content: '→';
  position: absolute;
  left: 6px;
  color: var(--accent);
  font-weight: 700;
}

/* ---- PROVIDER TABLE ---- */
.tbl-wrap { overflow-x: auto; margin: 1.2rem 0; border-radius: var(--radius); border: 1px solid var(--border); }
.data-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--bg-white);
}
.data-tbl th {
  background: var(--tbl-hd);
  color: var(--text);
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.data-tbl td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-tbl tr:last-child td { border-bottom: none; }
.data-tbl tr:hover td { background: #fdf8f6; }
.data-tbl .td-good { color: #16a34a; font-weight: 700; }
.data-tbl .td-mid  { color: #b45309; }
.tbl-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}

/* ---- PROVIDER CARDS ---- */
.prov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 1.2rem 0;
}
.prov-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.prov-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.prov-card .prov-name { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.prov-card .prov-key  { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 4px; }
.prov-card .prov-badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
  margin-top: 8px;
}
.prov-card .prov-badge.mid {
  background: #fef9c3;
  color: #854d0e;
}

/* ---- FAQ ACCORDION ---- */
.faq-list { margin: 0.8rem 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--bg-white);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px 18px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--accent-light); }
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: transform var(--transition);
}
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.faq-a.open { display: block; }

/* ---- STEPS / CHECKLIST ---- */
.step-list { list-style: none; margin: 0.8rem 0; padding-left: 0; }
.step-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.step-list li:last-child { border-bottom: none; }
.step-list .step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ---- HIGHLIGHT BOXES ---- */
.hl-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 1.4rem 0;
}
.hl-box.red { border-left: 4px solid var(--accent); }
.hl-box .hl-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--accent);
}

/* ---- PAGE HERO (sub-pages) ---- */
.sub-hero {
  background: linear-gradient(135deg, #1c1c1e 0%, #3a1212 100%);
  color: #fff;
  padding: 40px 20px 36px;
  text-align: center;
}
.sub-hero h1 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  max-width: var(--max-w);
  margin: 0 auto;
}
.sub-hero p {
  font-size: 0.95rem;
  color: rgba(255,255,255,.72);
  max-width: 580px;
  margin: 12px auto 0;
}

/* ---- FOOTER ---- */
.pg-footer {
  background: var(--hdr-bg);
  color: rgba(255,255,255,.65);
  padding: 36px 20px;
  margin-top: 40px;
}
.pg-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.pg-footer h4 {
  color: rgba(255,255,255,.9);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.pg-footer ul { list-style: none; }
.pg-footer ul li { margin-bottom: 6px; }
.pg-footer ul li a { color: rgba(255,255,255,.55); font-size: 0.85rem; }
.pg-footer ul li a:hover { color: #fff; text-decoration: none; }
.pg-footer p { font-size: 0.8rem; line-height: 1.6; }
.pg-footer-bottom {
  max-width: var(--max-w);
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.76rem;
  color: rgba(255,255,255,.4);
}
.pg-footer-bottom a { color: rgba(255,255,255,.4); }
.pg-footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ---- BACK TO TOP ---- */
.btt-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), background var(--transition), transform var(--transition);
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
  z-index: 200;
}
.btt-btn.visible { opacity: 1; pointer-events: auto; }
.btt-btn:hover { background: var(--accent-h); transform: translateY(-2px); }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 12px 0 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 20px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  :root { --max-w: 100%; }
  .pg-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .pg-header-inner { height: 52px; }
  .pg-nav { display: none; }
  .pg-nav.open { display: block; position: absolute; top: 52px; left: 0; right: 0; background: var(--hdr-bg); padding: 12px 20px 16px; border-top: 1px solid rgba(255,255,255,.1); }
  .pg-nav.open ul { flex-direction: column; gap: 2px; }
  .pg-nav.open a { display: block; padding: 10px 14px; font-size: 0.9rem; }
  .nav-toggle { display: block; }
  .anchor-nav ul { column-count: 1; }
  .pg-hero h1 { font-size: 1.3rem; }
  .pg-hero { padding: 36px 16px 32px; }
  .pg-footer-inner { grid-template-columns: 1fr; }
  .pg-main h2 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .pg-main { padding: 28px 16px 48px; }
  .data-tbl th, .data-tbl td { padding: 8px 10px; font-size: 0.82rem; }
  .prov-grid { grid-template-columns: 1fr; }
  .btt-btn { bottom: 16px; right: 16px; width: 38px; height: 38px; }
}
