
/* ===== Design tokens ===== */
:root {
  /* Grundflaechen */
  --bg-page: #F8F3F4;
  --bg-card: #FFFDFD;
  --bg-soft: #F3E8EC;

  /* Hauptfarben */
  --color-primary: #842A4B;
  --color-primary-dark: #651D38;
  --color-primary-light: #C66F8A;

  /* Text */
  --text-main: #2F292C;
  --text-muted: #6E6468;
  --text-on-dark: #FFFFFF;

  /* CTA Coral */
  --cta-bg: #D93D2F;
  --cta-bg-hover: #C43327;
  --cta-bg-active: #A82A20;
  --cta-text: #FFFFFF;
  --cta-shadow: rgba(217, 61, 47, 0.26);
  --cta-accent-text: #C43327;

  /* Linien und Rahmen */
  --border-light: #E8DDE1;
  --border-medium: #D7C3CB;

  /* Bewertungsbalken */
  --rating-start: #842A4B;
  --rating-end: #E19AAF;
  --rating-track: #EAE3E5;

  /* Status und Hinweise */
  --warning-text: #842A4B;
  --warning-border: #C66F8A;

  /* Aliase fuer bestehende Komponenten */
  --color-bg: var(--bg-card);
  --color-bg-accent: var(--bg-soft);
  --color-heading: var(--color-primary-light);
  --color-heading-dark: var(--color-primary);
  --color-cta: var(--cta-bg);
  --color-cta-hover: var(--cta-bg-hover);
  --color-text: var(--text-main);
  --color-text-muted: var(--text-muted);
  --color-border: var(--border-light);
  --color-good: var(--color-primary);
  --color-warn: #B4552F;
  --color-todo-bg: #FBEFF3;
  --color-todo-border: var(--warning-border);
  --color-todo-text: var(--warning-text);

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --container-width: 1160px;
  --shadow-card: 0 8px 28px rgba(76, 42, 55, 0.08);
  --shadow-card-lg: 0 12px 36px rgba(76, 42, 55, 0.12);
}

/* ===== Reset ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-heading-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ===== TODO placeholder marker ===== */
.todo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-todo-bg);
  border: 1.5px dashed var(--color-todo-border);
  color: var(--color-todo-text);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.todo::before { content: "⚠ TODO"; }
.todo-block {
  display: block;
  background: var(--color-todo-bg);
  border: 1.5px dashed var(--color-todo-border);
  color: var(--color-todo-text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin: 8px 0;
}
img.todo-image {
  border: 1.5px dashed var(--color-todo-border);
  border-radius: var(--radius-md);
}

/* ===== Top bar ===== */
.topbar {
  background: var(--color-heading-dark);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  padding: 8px 12px;
  letter-spacing: 0.02em;
}
.topbar strong { font-weight: 700; }

/* ===== Header ===== */
.site-header {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-heading-dark);
  white-space: nowrap;
}
.wordmark span { color: var(--color-heading); }
.wordmark .tld { color: var(--color-text-muted); font-weight: 400; }
@media (max-width: 480px) {
  .wordmark { font-size: 1.1rem; }
  .site-header .btn-cta { font-size: 0.78rem; padding: 12px 14px; white-space: nowrap; }
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-cta {
  background: var(--cta-bg);
  color: var(--cta-text);
  box-shadow: 0 4px 14px var(--cta-shadow);
}
.btn-cta:hover { background: var(--cta-bg-hover); }
.btn-cta:active { background: var(--cta-bg-active); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-heading-dark);
  color: var(--color-heading-dark);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 14px 0;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb .sep { margin: 0 6px; }

/* ===== Article header ===== */
.article-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
}
.ad-label {
  background: var(--color-heading-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
}
.article-meta .dot { color: var(--color-border); }

article > .container > h1,
.article-title {
  font-size: clamp(1.7rem, 3.2vw, 2.15rem);
  max-width: 900px;
}

.hero-figure {
  margin: 20px 0 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-figure img { width: 100%; height: auto; }

/* ===== Layout: content + sidebar ===== */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}
.content { min-width: 0; }
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* muss die volle Zeilenhoehe einnehmen, sonst hat .sidebar-sticky keinen Spielraum */
  align-self: stretch;
}
.sidebar-sticky {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar-sticky { position: static; }
}

/* Wissensblock in der Sidebar */
.side-note {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 20px;
}
.side-note h3 { font-size: 1.05rem; margin-bottom: 8px; }
.side-note p { font-size: 0.88rem; color: var(--color-text-muted); margin: 0; }
.side-note p + p { margin-top: 10px; }

.byline-box {
  background: var(--color-bg-accent);
  border-radius: var(--radius-md);
  padding: 18px;
  font-size: 0.9rem;
}
.byline-box strong { color: var(--text-main); }

/* ===== Sections ===== */
section { margin: 44px 0; }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

/* ===== TL;DR box ===== */
.tldr-box {
  background: var(--color-bg-accent);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  border-left: 5px solid var(--color-cta);
}
.tldr-box h2 { margin-bottom: 10px; }

/* ===== Methodology ===== */
.method-note {
  background: var(--color-bg-accent);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ===== Winner score card ===== */
.winner-card {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-card) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card-lg);
}
.winner-card .rank-badge {
  display: inline-block;
  background: var(--color-heading-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.winner-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 700px) {
  .winner-grid { grid-template-columns: 1fr; }
}
.score-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--color-heading-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.score-circle .num { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; line-height: 1; }
.score-circle .denom { font-size: 0.75rem; opacity: 0.85; margin-top: 4px; }

.subscore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 24px 0;
}
.subscore {
  font-size: 0.95rem;
}
.subscore .label { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--color-text); }
.subscore .label span:last-child { font-weight: 700; font-size: 1.05rem; color: var(--color-heading-dark); }
.subscore .bar { height: 10px; background: var(--rating-track); border-radius: 99px; overflow: hidden; }
.subscore .bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rating-start), var(--rating-end));
  border-radius: 99px;
  transition: width 0.9s cubic-bezier(0.22, 0.7, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .subscore .bar-fill { transition: none; }
}

.fact-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.fact-tag {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.8rem;
}
.fact-tag .k { display: block; color: var(--color-text-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.03em; }
.fact-tag .v { font-weight: 700; color: var(--text-main); }

/* ===== Top 3 list ===== */
.top3-list {
  display: grid;
  gap: 14px;
}
.top3-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-bg-accent);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}
.top3-item .rank {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-cta);
  width: 30px;
}
.top3-item .score {
  margin-left: auto;
  font-weight: 700;
  color: var(--color-heading-dark);
  white-space: nowrap;
}

/* ===== Product detail cards ===== */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}
.product-card.is-winner {
  border: 2px solid var(--color-primary);
  padding: 27px;
}
.product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.product-head .rank-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text-muted);
}
.product-media-body {
  margin-top: 14px;
}
.product-for {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.product-for strong { color: var(--text-main); }

.pros-cons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 16px 0;
}
.pros-cons h4 { font-size: 0.9rem; margin-bottom: 8px; }
.pros-cons ul li {
  font-size: 0.88rem;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.pros li::before { content: "✓"; position: absolute; left: 0; color: #3F7D5E; font-weight: 700; }
.cons li::before { content: "–"; position: absolute; left: 0; color: var(--color-warn); font-weight: 700; }

.product-conclusion {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
  margin-top: 12px;
}
.source-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 10px;
}

/* ===== Comparison table ===== */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  max-width: 100%;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.9rem;
}
.compare-table th, .compare-table td {
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  text-align: left;
}
.compare-table thead th {
  background: var(--color-heading-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
}
.compare-table tbody tr:nth-child(odd) { background: var(--color-bg-accent); }
.compare-table tr.is-winner td { font-weight: 700; }
.compare-table caption {
  text-align: left;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 8px;
  caption-side: bottom;
}

/* ===== Feature grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.feature-item {
  background: var(--color-bg-accent);
  border-radius: var(--radius-md);
  padding: 18px;
}
.feature-item h4 { font-size: 0.95rem; margin-bottom: 6px; }
.feature-item p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-question .icon { font-size: 1.3rem; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.is-open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}
.faq-item.is-open .faq-answer { max-height: 400px; }
.faq-answer p { padding-bottom: 16px; }

/* ===== Author card ===== */
.author-name { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 20px; }
.author-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 560px) {
  .author-card { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
}
.author-card img {
  width: 132px; height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-soft);
}
.author-card .author-text p { font-size: 0.98rem; color: var(--color-text-muted); margin: 0 0 14px; }
.author-card .author-text p:last-child { margin-bottom: 0; }

/* ===== Einstieg ===== */
.lead-strong { font-size: 1.08rem; }
.lead-muted { color: var(--color-text-muted); }
.author-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  padding: 16px 18px;
  margin: 22px 0;
}
.author-byline img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-byline .eyebrow { margin-bottom: 2px; }
.author-byline strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.author-byline p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

/* ===== Sticky Kauf-Leiste (nur Mobil/Tablet) =====
   Auf dem Desktop steht die Testsieger-Karte dauerhaft in der Sidebar,
   dort waere die Leiste ein dritter, ueberfluessiger CTA. Unter 900px
   rutscht die Sidebar ans Seitenende – erst dann wird sie gebraucht. */
.buybar { display: none; }

@media (max-width: 900px) {
  .buybar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: var(--bg-card);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -6px 24px rgba(76, 42, 55, 0.12);
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translateY(130%);
    transition: transform 0.28s ease;
  }
  .buybar.is-visible { transform: translateY(0); }
  .buybar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
  .buybar-info strong { display: block; font-size: 0.9rem; }
  .buybar-info span { font-size: 0.8rem; color: var(--color-text-muted); }
  .buybar .btn { flex-shrink: 0; font-size: 0.85rem; padding: 12px 18px; }
}
@media (max-width: 380px) {
  .buybar-info strong { font-size: 0.82rem; }
  .buybar .btn { font-size: 0.8rem; padding: 11px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .buybar { transition: none; }
}

/* ===== Product three-block row ===== */
.product-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 16px 0 20px;
}
.pblock {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  min-height: 150px;
}
.pblock-media { padding: 12px; }
.pblock-media img { width: 100%; height: 118px; object-fit: contain; }
.pblock-label { font-size: 0.82rem; color: var(--color-text-muted); }
.pblock-grade {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}
.pblock-grade.grade-b { color: var(--color-primary-light); }
.pblock-score {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}
.pblock-score .denom { font-size: 1rem; font-weight: 400; color: var(--color-text-muted); }
.stars {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 2px;
  line-height: 1;
  color: #D9D0D3;
}
.stars::before { content: "★★★★★"; }
.stars-fill {
  position: absolute;
  left: 0; top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #F5A623;
}
.stars-fill::before { content: "★★★★★"; }
.cust-rating { font-size: 0.85rem; font-weight: 700; color: var(--color-text); }
.pblock-divider { width: 36px; height: 1px; background: var(--border-medium); margin: 6px 0 2px; }
.pblock-note { font-size: 0.7rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.todo-inline { font-size: 0.68rem; padding: 2px 8px; }

/* Mobil: nur Bild und Bewertung nebeneinander, Note entfaellt */
@media (max-width: 600px) {
  .product-blocks { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pblock { min-height: 0; padding: 14px 10px; gap: 2px; }
  .pblock-grade-box { display: none; }
  .pblock-media { padding: 8px; }
  .pblock-media img { height: 120px; }
  .pblock-score { font-size: 1.7rem; }
  .pblock-divider { margin: 4px 0 2px; }
  .cust-rating { font-size: 0.8rem; }
}

/* ===== Sidebar blocks ===== */
.side-disclosure {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  padding: 12px 16px;
  font-size: 0.85rem;
}
.side-disclosure summary { cursor: pointer; color: var(--color-text-muted); font-weight: 600; }
.side-disclosure p { margin: 10px 0 0; font-size: 0.82rem; color: var(--color-text-muted); }

.side-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.side-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.side-card img { width: 100%; height: 130px; object-fit: contain; margin-bottom: 12px; }
.side-card h4 { margin-bottom: 2px; font-size: 1.1rem; }
.side-brand { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 10px; }
.side-score { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--color-primary); line-height: 1; }
.side-score span { font-size: 0.95rem; font-weight: 400; color: var(--color-text-muted); }
.side-price { font-size: 0.95rem; font-weight: 700; margin: 8px 0 14px; }
.side-cta { display: block; width: 100%; }

.side-block {
  border-top: 2px solid var(--color-primary);
  padding-top: 14px;
}
.side-heading {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.side-block p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

/* ===== Transparency disclosure ===== */
.disclosure-box {
  border: 1.5px solid var(--color-heading-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--bg-card);
}
.disclosure-box .eyebrow { color: var(--color-heading-dark); }
.disclosure-box p { font-size: 0.88rem; color: var(--color-text-muted); }

/* ===== Footer ===== */
.site-footer {
  background: var(--color-primary);
  color: #F5E6EB;
  margin-top: 60px;
  padding: 40px 0 24px;
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
.footer-links a { color: #fff; opacity: 0.9; }
.footer-links a:hover { opacity: 1; }
.site-footer .fine-print {
  opacity: 0.75;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ===== Legal stub pages ===== */
.legal-page h1 { margin-top: 24px; }
.legal-page section { margin: 28px 0; }
.legal-page h2 { font-size: 1.2rem; }

/* ===== Startseite ===== */
.home-hero {
  padding: 56px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.home-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  max-width: 760px;
  margin: 0 auto 18px;
}
.home-hero .lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 26px;
}
.home-claim {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: 44px 0;
}
.value-item {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 22px;
}
.value-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-item p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }

.compare-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 700px) { .compare-card { grid-template-columns: 1fr; } }
.compare-card img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius-md); }
.compare-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.compare-card p { font-size: 0.95rem; color: var(--color-text-muted); }
.compare-card .meta { font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 10px; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.method-item h3 { font-size: 1rem; margin-bottom: 6px; }
.method-item p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }
.method-item { border-top: 2px solid var(--color-primary); padding-top: 14px; }

.home-author {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 24px;
}
@media (max-width: 560px) { .home-author { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.home-author img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.home-author p { font-size: 0.94rem; color: var(--color-text-muted); }
.home-author p:last-child { margin-bottom: 0; }

/* ===== Cookie-Banner =====
   "Alle akzeptieren" und "Alle ablehnen" haben bewusst dieselbe Groesse,
   Schriftstaerke und Position. Ein optisch zurueckgesetzter Ablehnen-Button
   gilt in Deutschland als unzulaessiger Nudge (DSK-Orientierungshilfe). */
.cc-open { overflow: hidden; }
.cc-open .buybar { display: none !important; }

.cc { position: fixed; inset: 0; z-index: 1000; }
.cc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 41, 44, 0.45);
  animation: cc-fade 0.2s ease;
}
.cc-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin: 0 auto;
  max-width: 660px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -12px 44px rgba(76, 42, 55, 0.22);
  padding: 26px 26px calc(22px + env(safe-area-inset-bottom, 0px));
  animation: cc-rise 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@media (min-width: 700px) {
  .cc-panel {
    bottom: 24px;
    border-radius: var(--radius-lg);
    width: calc(100% - 48px);
  }
}
@keyframes cc-fade { from { opacity: 0; } }
@keyframes cc-rise { from { transform: translateY(18px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cc-backdrop, .cc-panel { animation: none; }
}

.cc-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 10px;
}
.cc-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 18px;
}
.cc-text a { color: var(--color-heading-dark); text-decoration: underline; }

.cc-details {
  border-top: 1px solid var(--color-border);
  margin-bottom: 18px;
}
.cc-row { border-bottom: 1px solid var(--color-border); padding: 14px 0; }
.cc-row-head {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.cc-row-title { font-weight: 700; font-size: 0.95rem; }
.cc-row-locked {
  margin-left: auto;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.cc-row-text {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 8px 0 0 54px;
}

/* Schalter */
.cc-switch {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--rating-track);
  border: 1px solid var(--border-medium);
  position: relative;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.cc-switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(76, 42, 55, 0.3);
  transition: transform 0.18s ease;
}
.cc-switch:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.cc-switch:checked::after { transform: translateX(18px); }
.cc-switch:disabled { opacity: 0.55; cursor: default; }
.cc-switch:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.cc-btn {
  flex: 1 1 200px;
  border-radius: 999px;
  padding: 13px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.cc-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.cc-btn-accept {
  background: var(--cta-bg);
  color: var(--cta-text);
  box-shadow: 0 4px 14px var(--cta-shadow);
}
.cc-btn-accept:hover { background: var(--cta-bg-hover); }
.cc-btn-reject {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.cc-btn-reject:hover { background: var(--bg-soft); }
.cc-btn-save {
  flex-basis: 100%;
  background: var(--color-primary);
  color: var(--text-on-dark);
}
.cc-btn-save:hover { background: var(--color-primary-dark); }

.cc-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: underline;
  cursor: pointer;
}
.cc-link:hover { color: var(--color-primary); }

/* ===== Anklickbare Flaechen zum Testsieger =====
   Ueberschriften und Produktbild fuehren in den Shop, weil viele darauf
   tippen statt auf den Button. Optisch bleiben sie unveraendert – erst beim
   Hover zeigt sich, dass es ein Link ist. */
.title-link {
  color: inherit;
  text-decoration: none;
}
.title-link:hover,
.title-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.title-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Alle drei Bloecke der Testsieger-Karte sind komplett anklickbar, nicht nur
   das Bild. Das <a> ersetzt das <div>, deshalb muessen Textfarbe und
   Unterstreichung zurueckgesetzt werden. */
a.pblock-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.pblock-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(76, 42, 55, 0.14);
}
a.pblock-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  a.pblock-link:hover { transform: none; }
}

/* CTA sitzt unter den drei Bloecken */
.product-cta { margin: 0 0 20px; }
.product-cta .btn {
  display: block;
  width: 100%;
  padding: 15px 22px;
  font-size: 1rem;
}
