/* oopbuyreviews.de — handwritten stylesheet
   Editorial, evidence-oriented reading site (de-DE).
   Design tokens: paper background, charcoal text, deep blue-green links.
   Evidence columns are separated by hairline borders and text labels,
   never by good/bad colour coding. */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f1;
  --bg-quiet: #f1efe9;
  --ink: #1b1b19;
  --ink-soft: #4c4b45;
  --ink-mute: #6f6e67;
  --line: #dcdad2;
  --line-strong: #c3c1b7;
  --teal: #0f5c56;
  --teal-strong: #0a413d;
  --amber: #7a5a12;      /* used only for the open-questions label text, not as a rating */
  --maxw: 1200px;
  --measure: 72ch;
  --radius: 6px;
  --gap-section: 56px;
  --gap-section-m: 40px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (min-width: 720px) {
  body { font-size: 16px; line-height: 1.7; }
}

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

a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--teal-strong); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Headings ---------- */
h1, h2, h3, h4 { color: var(--ink); margin: 0; text-wrap: balance; }

h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h2 { font-size: 22px; font-weight: 700; line-height: 1.3; }
h3 { font-size: 16px; font-weight: 600; line-height: 1.4; }

@media (min-width: 720px) {
  h1 { font-size: 48px; line-height: 1.15; letter-spacing: -0.02em; }
  h2 { font-size: 28px; }
  h3 { font-size: 18px; }
}

p { margin: 0 0 1em; }
small, .small { font-size: 13px; }
@media (min-width: 720px) { small, .small { font-size: 14px; } }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 720px) { .container { padding-inline: 32px; } }

.stack { display: flex; flex-direction: column; gap: var(--gap-section-m); }
@media (min-width: 720px) { .stack { gap: var(--gap-section); } }

.page-main { padding-block: 32px 8px; }
@media (min-width: 720px) { .page-main { padding-block: 40px 8px; } }

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 8px; }
.prose h3 { margin-top: 4px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose li > ul { margin-top: 6px; }

.lead { font-size: 17px; color: var(--ink-soft); }
@media (min-width: 720px) { .lead { font-size: 19px; } }

.muted { color: var(--ink-mute); }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 10px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand .brand-dot { color: var(--teal); }
.brand small { display: block; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}
.nav-toggle[aria-expanded="true"] { background: var(--bg-soft); }

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.primary-nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--radius);
}
.primary-nav a:hover { color: var(--teal-strong); background: var(--bg-soft); }
.primary-nav a[aria-current="page"] { color: var(--teal-strong); background: var(--bg-soft); }

@media (max-width: 899px) {
  .primary-nav {
    display: none;
    padding-bottom: 12px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 2px; }
  .primary-nav a { padding: 12px 10px; min-height: 44px; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; }
}

/* ---------- Identity ribbon ---------- */
.identity-note {
  background: var(--bg-quiet);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.identity-note .container { padding-block: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
@media (min-width: 720px) { .btn { font-size: 15px; } }
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-strong); color: #fff; border-color: var(--teal-strong); }
.btn-outline { background: transparent; color: var(--teal-strong); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--bg-soft); color: var(--teal-strong); }
.btn-block { width: 100%; }

/* ---------- Search ---------- */
.search-form { display: flex; gap: 8px; flex-wrap: wrap; }
.search-form label { position: absolute; left: -9999px; }
.search-input {
  flex: 1 1 220px;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  padding: 11px 14px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.search-input::placeholder { color: var(--ink-mute); }
.search-hint { font-size: 13px; color: var(--ink-mute); margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { padding-block: 8px 4px; }
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-strong);
  margin: 0 0 12px;
}
.hero h1 { max-width: 20ch; }
.hero .lead { max-width: 60ch; margin-top: 16px; }
.hero-search { margin-top: 24px; max-width: 560px; }

/* ---------- Section headers ---------- */
.section-head { max-width: var(--measure); }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin-top: 12px; color: var(--ink-soft); }
.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}

/* ---------- Evidence panel (signature component) ---------- */
.evidence {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}
@media (min-width: 720px) { .evidence { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .evidence { grid-template-columns: repeat(4, 1fr); } }

.evidence-col {
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--bg);
}
.evidence-col .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.evidence-col.is-official { border-top-color: var(--teal); }
.evidence-col.is-community { border-top-color: var(--line-strong); }
.evidence-col.is-independent { border-top-color: var(--ink-mute); }
.evidence-col.is-open { border-top-color: var(--amber); }
.evidence-col ul { margin: 0; padding-left: 18px; }
.evidence-col li { font-size: 14px; margin-bottom: 8px; }
.evidence-col p { font-size: 14px; margin-bottom: 0; }

/* ---------- Cards / grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 { font-size: 17px; }
.card p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.card .card-cta { margin-top: auto; font-size: 14px; font-weight: 600; }

/* thin link-row list, used instead of product cards on editorial pages */
.link-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-rows li { border-bottom: 1px solid var(--line); }
.link-rows a { display: block; padding: 14px 4px; text-decoration: none; color: var(--ink); }
.link-rows a:hover { background: var(--bg-soft); }
.link-rows .row-title { font-weight: 600; color: var(--teal-strong); }
.link-rows .row-desc { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 960px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card .thumb {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .cat { font-size: 12px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.04em; }
.product-card .title { font-size: 14px; font-weight: 600; line-height: 1.35; margin: 0; }
.product-card .title a { color: var(--ink); text-decoration: none; }
.product-card .title a:hover { color: var(--teal-strong); text-decoration: underline; }
.product-card .price { font-size: 13px; color: var(--ink-soft); margin-top: auto; }
.product-card .price .ref { color: var(--ink-mute); }

/* ---------- Product detail ---------- */
.product-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 860px) { .product-layout { grid-template-columns: minmax(0, 420px) 1fr; gap: 36px; align-items: start; } }
.product-media { min-width: 0; }
.product-media img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.product-info { min-width: 0; }
.price-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--bg-soft);
  margin-block: 18px;
}
.price-block .main { font-size: 22px; font-weight: 700; }
.price-block .ref { font-size: 15px; color: var(--ink-soft); }
.price-block .note { font-size: 13px; color: var(--ink-mute); margin: 8px 0 0; }

.agent-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.agent-list li {
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--ink-soft);
  background: var(--bg);
}

/* ---------- Callout / notices ---------- */
.callout {
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--bg-soft);
}
.callout.plain { border-left-color: var(--line-strong); }
.callout h3 { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout .small { color: var(--ink-soft); }

.disclosure-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--bg-quiet);
  font-size: 14px;
  color: var(--ink-soft);
}
.disclosure-strip strong { color: var(--ink); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 14px; }
table.data caption { text-align: left; padding: 12px 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
table.data th, table.data td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th[scope="col"] { background: var(--bg-soft); font-weight: 700; }
table.data tr:last-child td { border-bottom: none; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-mute); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li::after { content: "›"; margin-left: 6px; color: var(--line-strong); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--ink-mute); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 17px; margin-bottom: 8px; }
.faq-item p:last-child { margin-bottom: 0; }

/* ---------- Meta list ---------- */
.meta-list { list-style: none; margin: 0; padding: 0; }
.meta-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.meta-list li:last-child { border-bottom: none; }
.meta-list .k { flex: 0 0 42%; color: var(--ink-mute); }
.meta-list .v { flex: 1; min-width: 0; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-block: 40px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; } }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-mute); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--teal-strong); text-decoration: underline; }
.footer-note { color: var(--ink-mute); max-width: 60ch; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 18px; font-size: 13px; color: var(--ink-mute); }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  background: var(--ink);
  color: #f4f3ef;
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; }
.consent a { color: #cfe6e2; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { min-height: 40px; }
.consent .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.consent .btn-outline { color: #f4f3ef; border-color: #6b6a63; }
@media (min-width: 720px) {
  .consent { max-width: 420px; left: auto; right: 24px; bottom: 24px; }
}

/* ---------- Utility ---------- */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
}
.divider { border: none; border-top: 1px solid var(--line); margin: 0; }
.text-center { text-align: center; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
