/* Vergleichsfuchs – self-hosted Plus Jakarta Sans, no third-party assets */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-variable.woff2") format("woff2") tech("variations"),
       url("/assets/fonts/plus-jakarta-sans-variable.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-italic-variable.woff2") format("woff2") tech("variations"),
       url("/assets/fonts/plus-jakarta-sans-italic-variable.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #faf9f6;
  --bg-elev: #ffffff;
  --ink: #101218;
  --ink-soft: #3d4452;
  --muted: #5c6473;
  --line: #ebe8e3;
  --accent: #c2410c;
  --accent-strong: #9a3412;
  --accent-soft: #ffedd5;
  --accent-text: #ffffff;
  --navy: #121826;
  --teal: #0f766e;
  --teal-soft: #ccfbf1;
  --brass: #a16207;
  --brass-soft: #fef3c7;
  --danger-soft: #fee2e2;
  --ok-soft: #dcfce7;
  --ok: #166534;
  --bf-bg: #1a2030;
  --bf-fg: #f8f4ef;
  --bf-fg-muted: #d4cfc6;
  --bf-accent: #9a3412;
  --bf-accent-fg: #ffffff;
  --shadow: 0 1px 1px rgba(16, 18, 24, .03);
  --shadow-hover: 0 1px 2px rgba(16, 18, 24, .05);
  --radius: 1rem;
  --radius-sm: .75rem;
  --max: 74rem;
  --prose: 44rem;
  --header: 4rem;
  --font: "Plus Jakarta Sans", "Segoe UI", "Liberation Sans", "Noto Sans", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --bg-elev: #151821;
    --ink: #f4f5f8;
    --ink-soft: #c5cad3;
    --muted: #9aa3b2;
    --line: #2a3040;
    --accent: #fb923c;
    --accent-strong: #fdba74;
    --accent-soft: #3f1e10;
    --accent-text: #1b0d08;
    --navy: #e7eaf0;
    --teal: #5eead4;
    --teal-soft: #134e4a;
    --brass: #fbbf24;
    --brass-soft: #422006;
    --danger-soft: #3f1d1d;
    --ok-soft: #14532d;
    --ok: #86efac;
    --shadow: 0 1px 1px rgba(0, 0, 0, .28);
    --shadow-hover: 0 1px 2px rgba(0, 0, 0, .35);
  }
}

html:has(#theme-light:checked) {
  color-scheme: light;
  --bg: #faf9f6;
  --bg-elev: #ffffff;
  --ink: #101218;
  --ink-soft: #3d4452;
  --muted: #5c6473;
  --line: #ebe8e3;
  --accent: #c2410c;
  --accent-strong: #9a3412;
  --accent-soft: #ffedd5;
  --accent-text: #ffffff;
  --navy: #121826;
  --teal: #0f766e;
  --teal-soft: #ccfbf1;
  --brass: #a16207;
  --brass-soft: #fef3c7;
  --danger-soft: #fee2e2;
  --ok-soft: #dcfce7;
  --ok: #166534;
  --shadow: 0 1px 1px rgba(16, 18, 24, .03);
  --shadow-hover: 0 1px 2px rgba(16, 18, 24, .05);
}
html:has(#theme-dark:checked) {
  color-scheme: dark;
  --bg: #0b0d12;
  --bg-elev: #151821;
  --ink: #f4f5f8;
  --ink-soft: #c5cad3;
  --muted: #9aa3b2;
  --line: #2a3040;
  --accent: #fb923c;
  --accent-strong: #fdba74;
  --accent-soft: #3f1e10;
  --accent-text: #1b0d08;
  --navy: #e7eaf0;
  --teal: #5eead4;
  --teal-soft: #134e4a;
  --brass: #fbbf24;
  --brass-soft: #422006;
  --danger-soft: #3f1d1d;
  --ok-soft: #14532d;
  --ok: #86efac;
  --shadow: 0 1px 1px rgba(0, 0, 0, .28);
  --shadow-hover: 0 1px 2px rgba(0, 0, 0, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--font);
  font-weight: 450;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  min-height: 100%;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
input, select, textarea {
  font-size: 16px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-strong); }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, .nav-burger:focus-visible, .theme-switch label:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: var(--navy);
  color: var(--bg-elev);
  padding: .7rem 1rem;
  border-radius: 999px;
  z-index: 80;
}
.skip:focus { top: 1rem; }
.wrap { width: calc(100% - 2.5rem); max-width: var(--max); margin-inline: auto; min-width: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: calc(100% - 2.5rem);
  max-width: var(--max);
  margin-inline: auto;
  min-width: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}
.brand-mark { width: 2.4rem; height: 2.4rem; flex: 0 0 auto; overflow: hidden; background: transparent; border-radius: .85rem; }
.brand-mark svg { width: 100%; height: 100%; display: block; border-radius: .85rem; background: transparent; }
.wordmark {
  font-weight: 750;
  letter-spacing: -.045em;
  font-size: 1.12rem;
  line-height: 1;
  color: var(--ink);
}
.wordmark span { color: var(--accent); font-weight: 700; font-style: italic; }
@media (max-width: 430px) {
  .wordmark { font-size: 1rem; }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .85rem;
}
.footer-brand .brand-mark { width: 2.2rem; height: 2.2rem; }
.footer-brand .wordmark { font-size: 1.2rem; margin: 0; }
.category-note { margin: 1.1rem 0 0; color: var(--muted); font-size: .95rem; }

.header-tools { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; }
.nav-burger {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  border-radius: 999px;
  padding: .45rem .9rem;
  cursor: pointer;
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
}
.site-nav { display: flex; gap: .15rem; align-items: center; }
.site-nav .theme-switch { margin-left: .35rem; }
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 550;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.theme-switch {
  display: flex;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 999px;
  padding: 3px;
  gap: 0;
}
.theme-switch legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.theme-switch { position: relative; margin: 0; border-width: 1px; min-inline-size: 0; }
.theme-switch label {
  font-size: .75rem;
  font-weight: 650;
  padding: .3rem .55rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
}
.theme-switch input { position: absolute; opacity: 0; pointer-events: none; }
html:has(#theme-auto:checked) .theme-switch label[for="theme-auto"],
html:has(#theme-light:checked) .theme-switch label[for="theme-light"],
html:has(#theme-dark:checked) .theme-switch label[for="theme-dark"] {
  background: var(--navy);
  color: var(--bg);
}

@media (max-width: 860px) {
  .nav-burger { display: inline-flex; }
  .header-inner { position: relative; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: calc(var(--header) - .4rem);
    flex-direction: column;
    align-items: stretch;
    padding: .8rem;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .site-nav,
  .header-tools:has(.nav-toggle:checked) .site-nav { display: flex; }
  .site-nav .theme-switch { margin: .75rem 0 0; align-self: flex-start; }
  .header-tools { margin-left: auto; }
}

/* Hero */
.hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 34rem;
  background:
    radial-gradient(40% 50% at 12% 30%, color-mix(in srgb, #fdba74 70%, transparent), transparent 70%),
    radial-gradient(35% 45% at 88% 10%, color-mix(in srgb, #99f6e4 55%, transparent), transparent 70%),
    radial-gradient(30% 40% at 70% 80%, color-mix(in srgb, #c7d2fe 50%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-mesh-dark {
  /* applied via media / theme below */
}
@media (prefers-color-scheme: dark) {
  html:not(:has(#theme-light:checked)) .hero::before {
    background:
      radial-gradient(40% 50% at 12% 30%, rgba(194, 65, 12, .28), transparent 70%),
      radial-gradient(35% 45% at 88% 10%, rgba(15, 118, 110, .25), transparent 70%),
      radial-gradient(30% 40% at 70% 80%, rgba(67, 56, 202, .18), transparent 70%);
  }
}
html:has(#theme-dark:checked) .hero::before {
  background:
    radial-gradient(40% 50% at 12% 30%, rgba(194, 65, 12, .28), transparent 70%),
    radial-gradient(35% 45% at 88% 10%, rgba(15, 118, 110, .25), transparent 70%),
    radial-gradient(30% 40% at 70% 80%, rgba(67, 56, 202, .18), transparent 70%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 3rem;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin: 0 0 1rem;
}
.hero h1, h1.page-title {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  margin: 0 0 1rem;
  font-weight: 650;
  color: var(--ink);
}
.lede {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.hero-visual svg { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .hero-visual svg { animation: float 9s var(--ease) infinite; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-decoration: none;
  border-radius: 999px;
  padding: .7rem 1.1rem;
  font-weight: 600;
  border: 1px solid transparent;
  letter-spacing: -.01em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: none;
}
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-text); }
.btn-ghost {
  background: var(--bg-elev);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 20%, var(--line)); }
.btn-amazon {
  background: var(--navy);
  color: var(--bg);
  width: 100%;
  margin-top: auto;
}
.btn-amazon:hover { filter: brightness(1.08); color: var(--bg); }

.section { padding: 2.25rem 0 3.25rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.4rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 24rem; text-align: right; }
@media (max-width: 860px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .section-head p { text-align: left; max-width: none; }
}
.section h2, .prose h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -.025em;
  margin: 0 0 1.15rem;
  font-weight: 650;
}

.grid-2, .grid-3, .grid-products {
  display: grid;
  gap: 1.25rem;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .hero-grid, .grid-2, .grid-3, .grid-products, .article-layout { grid-template-columns: 1fr !important; }
  .hero { padding-top: 2rem; }
}

.card, .product-box, .article-card, .silo-card, .feature-card, .toc, .faq details {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}
.silo-card, .article-card, .feature-card { padding: 1.25rem 1.25rem 1.2rem; color: inherit; display: block; }
.silo-card, .article-card { text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .silo-card, .article-card, .product-box, .feature-card {
    transition: border-color .2s ease;
  }
  .silo-card:hover, .article-card:hover, .product-box:hover {
    border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  }
}
.silo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .7rem;
  display: grid;
  place-items: center;
  margin-bottom: .75rem;
}
.silo-icon svg { width: 1.35rem; height: 1.35rem; }
.silo-icon.kitchen { background: var(--accent-soft); color: var(--accent-strong); }
.silo-icon.workshop { background: var(--teal-soft); color: var(--teal); }
.silo-icon.cinema { background: var(--accent-soft); color: var(--accent-strong); }
.silo-card h2, .article-card h2, .silo-card h3, .article-card h3, .feature-card h3, .product-box h3 {
  margin: .2rem 0 .4rem;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  font-weight: 650;
}
.meta, .muted, .caption { color: var(--muted); font-size: .92rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.badge-pine { background: var(--teal-soft); color: var(--teal); }
.badge-brass { background: var(--brass-soft); color: var(--brass); }
.badge-navy { background: var(--navy); color: var(--bg); }

.disclosure, .template-banner, .note, .reco-note {
  border-radius: 1.1rem;
  padding: 1.05rem 1.2rem;
  margin: 0 0 1.4rem;
}
.disclosure { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); }
.template-banner { background: var(--brass-soft); border: 2px dashed var(--brass); }
.note, .reco-note { background: var(--teal-soft); border: 1px solid color-mix(in srgb, var(--teal) 25%, var(--line)); }
.placeholder {
  background: var(--brass-soft);
  border-bottom: 2px dashed var(--brass);
  padding: 0 .15rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .95em;
}

/* Product boxes */
.product-box { padding: 1.35rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; min-height: 100%; }
.product-box h3 { font-size: 1.28rem; line-height: 1.25; margin: 0; }
.app-card .badge { font-size: .62rem; padding: .1rem .38rem; letter-spacing: .03em; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem; }
.price { font-size: 1.85rem; font-weight: 800; letter-spacing: -.04em; }
.old-price { color: var(--muted); text-decoration: line-through; }
.discount { color: var(--accent-strong); font-weight: 750; }
.specs { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.specs li { margin: .18rem 0; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .2rem; }
@media (max-width: 560px) { .proscons { grid-template-columns: 1fr; } }
.pros, .cons { margin: 0; padding: .75rem .8rem .7rem 1.3rem; border-radius: .9rem; font-size: .88rem; }
.pros { background: var(--ok-soft); }
.cons { background: var(--danger-soft); }
.pros-title, .cons-title { font-size: .68rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .35rem -.3rem; list-style: none; }
.pros-title { color: var(--ok); }
.cons-title { color: var(--accent-strong); }

/* Tables */
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 1rem 0 1.4rem;
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 64rem; }
th, td { text-align: left; vertical-align: top; padding: .85rem .8rem; border-bottom: 1px solid var(--line); }
th {
  background: color-mix(in srgb, var(--bg) 70%, var(--bg-elev));
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 750;
  color: var(--muted);
}
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--accent-soft) 45%, var(--bg-elev)); }
.table-wrap { position: relative; }
thead th:first-child, tbody td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--bg-elev);
  min-width: 12rem;
  box-shadow: 8px 0 12px -8px rgba(16, 18, 24, .12);
}
thead th:first-child { background: color-mix(in srgb, var(--bg) 70%, var(--bg-elev)); }
tbody tr:hover td:first-child { background: color-mix(in srgb, var(--accent-soft) 45%, var(--bg-elev)); }
.table-wrap[tabindex] { outline: none; }
@media (min-width: 801px) {
  table td:nth-child(3),
  table td:nth-child(4),
  table td:nth-child(5),
  table td:last-child { white-space: nowrap; }
  .table-wrap {
    background:
      linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
      linear-gradient(90deg, var(--bg-elev) 80%, color-mix(in srgb, var(--ink) 8%, var(--bg-elev))) border-box;
  }
}

@media (max-width: 800px) {
  .table-wrap { box-shadow: none; border: 0; background: transparent; overflow: visible; }
  table, thead, tbody { display: block; min-width: 0; width: 100%; }
  thead { display: none; }
  table tr {
    display: block;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem 1.1rem;
    margin: 0 0 1rem;
  }
  table td {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
    gap: .6rem;
    border: 0;
    padding: .35rem 0;
  }
  table td::before {
    content: attr(data-label);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: .15rem;
  }
}

/* Article */
.article-header {
  position: relative;
  padding: 2.6rem 0 1rem;
  overflow: hidden;
}
.article-header::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 22rem;
  background:
    radial-gradient(40% 60% at 8% 20%, color-mix(in srgb, #fdba74 42%, transparent), transparent 72%),
    radial-gradient(32% 50% at 92% 0%, color-mix(in srgb, #99f6e4 32%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.article-header .wrap { position: relative; z-index: 1; }
.article-header h1 { max-width: 22ch; }
.article-layout {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.table-section { grid-column: 1 / -1; }
.article-cont { grid-column: 2; min-width: 0; }
.table-section .caption { max-width: 52rem; }
.toc {
  padding: 1.1rem 1.15rem;
  position: sticky;
  top: calc(var(--header) + 1rem);
}
.toc h2 { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .7rem; color: var(--muted); }
.toc ol { margin: 0; padding: 0 0 0 1.1rem; }
.toc li { margin: .35rem 0; }
.toc a { text-decoration: none; color: var(--ink-soft); font-size: .92rem; font-weight: 550; }
.toc a:hover { color: var(--accent-strong); }
.toc-mobile { display: none; margin-bottom: 1.2rem; }
.toc-mobile summary { cursor: pointer; font-weight: 700; padding: .2rem; }
@media (max-width: 860px) {
  .toc-desktop { display: none; }
  .toc-mobile { display: block; }
  .table-section, .article-cont { grid-column: 1; }
}
.prose { max-width: var(--prose); }
.prose p, .prose li { color: var(--ink); }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 .5rem; letter-spacing: -.02em; font-weight: 750; }
.faq details { padding: .85rem 1.05rem; margin: .6rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.crumbs { font-size: .9rem; color: var(--muted); margin: 1.1rem 0 0; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--accent-strong); }

.planned { list-style: none; margin: 0; padding: 0; }
.planned li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.planned strong { display: block; font-weight: 700; }

.site-footer {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 70%, var(--navy) 6%);
  padding: 3rem 0 2.6rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent-strong); }
.site-footer h2 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .7rem; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.legal-note { margin-top: 2rem; font-size: .86rem; color: var(--muted); }

.legal h2 { margin-top: 1.8rem; }
code, .mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ——— PWA / App shell ——— */
body { padding-bottom: 0; }
.bottom-nav { display: none; }
.btn-sm { padding: .3rem .55rem; font-size: .78rem; }
.app-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  padding: 0 .55rem .45rem 0;
  grid-column: 2;
  align-items: center;
  min-width: 0;
  position: relative;
  z-index: 3;
  pointer-events: auto;
  touch-action: manipulation;
}
.app-card-actions .btn,
[data-compare],
[data-save] {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  z-index: 1;
}
.app-card-actions .btn-amazon { width: auto; margin-top: 0; flex: 0 0 auto; }
.app-card-actions .btn { white-space: nowrap; padding: .26rem .4rem; font-size: .7rem; line-height: 1.15; flex: 0 0 auto; }
.app-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: .85rem;
  box-shadow: none;
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  overflow: hidden;
  column-gap: .35rem;
}
.app-card-link { display: block; padding: .45rem .55rem .1rem 0; text-decoration: none; color: inherit; grid-column: 2; min-width: 0; }
.app-card-link h3 {
  font-size: .9rem;
  margin: .08rem 0 .15rem;
  letter-spacing: -.02em;
  font-weight: 650;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.app-card-meta,
.app-card-link > .caption,
.app-card .price-spark { display: none; }
.app-card .price-row {
  gap: .3rem;
  flex-wrap: nowrap;
  overflow: hidden;
  margin: 0;
  min-width: 0;
}
.app-card .price { font-size: .98rem; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; }
.app-card .old-price,
.app-card .discount { font-size: .75rem; white-space: nowrap; }
.btn.is-on { background: var(--accent-soft); color: var(--accent-strong); border-color: transparent; }

.filter-bar, .app-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: end;
  margin: 0 0 1.2rem;
}
.filter-bar label, .search-box label { display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; font-weight: 650; color: var(--muted); }
.filter-bar select, .search-box input[type="search"] {
  font: inherit;
  color: var(--ink);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .65rem 1rem;
  min-width: 12rem;
}
.search-box { width: 100%; }
.search-box input[type="search"] { width: 100%; min-width: 0; font-size: 1.05rem; }
.filter-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .4rem 1rem;
  box-shadow: none;
}
.filter-panel summary { cursor: pointer; font-weight: 700; padding: .35rem 0; }
.filter-grid { display: flex; flex-wrap: wrap; gap: .55rem 1rem; padding: .4rem 0 .7rem; }
.filter-grid label { flex-direction: row; align-items: center; gap: .4rem; font-size: .92rem; font-weight: 550; color: var(--ink); cursor: pointer; }
.product-grid, .app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem .75rem;
}
@media (max-width: 700px) {
  .product-grid, .app-grid { grid-template-columns: 1fr; }
}

.quick-actions { display: flex; gap: .7rem; overflow-x: auto; padding: .2rem 0 1rem; -webkit-overflow-scrolling: touch; }
.quick-action {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: none;
  text-decoration: none;
  color: var(--ink);
  font-weight: 550;
  font-size: .88rem;
}
.quick-action:hover { color: var(--accent-strong); }

.chip {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  border-radius: 999px;
  padding: .45rem .85rem;
  font: inherit;
  font-weight: 650;
  font-size: .9rem;
  cursor: pointer;
}
.chip.is-on { background: var(--navy); color: var(--bg); border-color: transparent; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; }

.compare-wrap { max-width: 100%; min-width: 0; margin-top: .8rem; }
.compare-table { min-width: 36rem; }
.compare-table th:first-child, .compare-table td:first-child { min-width: 9rem; position: sticky; left: 0; background: var(--bg-elev); z-index: 1; }
.compare-table thead th { position: sticky; top: 0; }
.sticky-cta {
  display: none;
}

.install-banner {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  margin: 0 0 1.3rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.install-banner p { margin: 0; flex: 1 1 14rem; }

.vf-toast {
  position: fixed;
  left: 50%;
  bottom: calc(5.2rem + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 16px);
  background: var(--navy);
  color: var(--bg);
  padding: .7rem 1.1rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  max-width: min(28rem, calc(100% - 2rem));
  text-align: center;
}
.vf-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.nav-badge {
  position: absolute;
  top: .15rem;
  right: calc(50% - 1.35rem);
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 .25rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: .62rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}
.nav-badge[hidden] { display: none !important; }

.skeleton {
  background: linear-gradient(90deg, var(--line), color-mix(in srgb, var(--bg-elev) 60%, var(--line)), var(--line));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
  border-radius: .7rem;
  min-height: 6.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
}
@keyframes shimmer { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: no-preference) {
  .app-enter { animation: app-enter .4s var(--ease); }
}
@keyframes app-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Bottom navigation – mobile app feel */
@media (max-width: 860px) {
  body {
    padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px));
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    justify-content: space-around;
    align-items: stretch;
    gap: 0;
    padding: .3rem 0.2rem calc(0.3rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-top: 1px solid var(--line);
  }
  .bottom-nav a {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    text-decoration: none;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .01em;
    padding: .35rem 0;
    border-radius: .8rem;
  }
  .bottom-nav a svg { width: 1.45rem; height: 1.45rem; }
  .bottom-nav a[aria-current="page"], .bottom-nav a.is-active {
    color: var(--accent-strong);
  }
  .sticky-cta {
    display: flex;
    gap: .5rem;
    position: sticky;
    bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px));
    padding: .7rem 0;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: blur(10px);
    z-index: 20;
  }
  .sticky-cta .btn-amazon { margin-top: 0; width: auto; flex: 1; }
  .site-footer { margin-bottom: 0; }
}
@media (display-mode: standalone) and (max-width: 860px) {
  .site-header { padding-top: env(safe-area-inset-top, 0px); height: auto; min-height: var(--header); }
}


/* vf-pwa-fixes */
@media (max-width: 800px) {
  .compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .compare-wrap table.compare-table {
    display: table;
    width: 100%;
    min-width: 40rem;
    border-collapse: collapse;
  }
  .compare-wrap thead { display: table-header-group; }
  .compare-wrap tbody { display: table-row-group; }
  .compare-wrap tr {
    display: table-row;
    box-shadow: none;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }
  .compare-wrap th, .compare-wrap td {
    display: table-cell;
    padding: .75rem .7rem;
    border-bottom: 1px solid var(--line);
    grid-template-columns: none;
    text-align: left;
    vertical-align: top;
  }
  .compare-wrap td::before { content: none !important; display: none; }
}

.wrap { width: calc(100% - 2.5rem); max-width: var(--max); min-width: 0; }

.filter-bar .filter-grid label,
.filter-grid label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: .55rem;
  font-size: .95rem;
  font-weight: 550;
  color: var(--ink);
}
.filter-grid {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: .55rem;
}
.filter-grid input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

@media (min-width: 861px) {
  .install-banner { display: none !important; }
}

@media (max-width: 860px) {
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar select { width: 100%; min-width: 0; }
  .filter-panel { width: 100%; }
  body[data-page="detail"] { padding-bottom: calc(8.8rem + env(safe-area-inset-bottom, 0px)); }
  body[data-page="detail"] .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(4.55rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    padding: .65rem 1rem;
    background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px rgba(16, 18, 24, .06);
    z-index: 55;
  }
  body[data-page="detail"] .sticky-cta .btn { white-space: nowrap; flex: 0 0 auto; }
  body[data-page="detail"] .sticky-cta .btn-amazon { flex: 1 1 auto; width: auto; min-width: 0; }
}

@media (max-width: 860px) {
  .disclosure-compact { font-size: .86rem; padding: .75rem .95rem; }
  .disclosure-compact p { margin: 0; }

.affiliate-line {
  margin: .35rem auto .85rem;
  padding: 0;
  font-size: .75rem;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 450;
  background: none;
  border: 0;
}
.affiliate-line a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .12em;
  text-decoration-thickness: 1px;
}
}


/* Black Friday Woche: eigene Farben, unabhängig vom invertierten --navy im Dunkelmodus */
.bf-promo {
  background: var(--bf-bg);
  color: var(--bf-fg);
  text-align: center;
  font-size: .9rem;
  font-weight: 650;
  letter-spacing: .01em;
}
.bf-promo a {
  display: block;
  padding: .55rem 1rem;
  color: inherit;
  text-decoration: none;
}
.bf-promo a:hover,
.bf-promo a:focus-visible {
  text-decoration: underline;
}

.bf-card {
  display: block;
  text-decoration: none;
  color: var(--bf-fg);
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--bf-accent) 45%, transparent), transparent 55%),
    var(--bf-bg);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.45rem;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--bf-accent) 45%, transparent);
}
.bf-card h2,
.bf-card p { color: inherit; }
.bf-card h2 { margin: .45rem 0 .55rem; letter-spacing: -.03em; }
.bf-card p { margin: 0; color: var(--bf-fg-muted); }
.bf-card .badge {
  background: var(--bf-accent);
  color: var(--bf-accent-fg);
  border: 0;
}
.bf-card .meta {
  margin-top: .85rem;
  color: var(--bf-fg-muted);
  font-weight: 650;
}
@media (prefers-reduced-motion: no-preference) {
  .bf-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
  .bf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
}

.deal-block { display: flex; flex-direction: column; gap: .35rem; }
.deal-block .app-card { height: 100%; }
.deal-meta { margin: 0 .15rem .2rem; }

@media (max-width: 1100px) and (min-width: 861px) {
  .site-nav a { padding: .4rem .55rem; font-size: .88rem; }
}

@media (max-width: 860px) {
  .bf-promo { font-size: .82rem; }
  .bf-promo a { padding: .5rem .75rem; }
}

.price-alert {
  margin: 1.8rem 0 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--bg-elev);
  box-shadow: var(--shadow);
}
.price-alert h2 { margin: 0 0 .6rem; font-size: 1.35rem; }
.price-alert p { margin: 0 0 .75rem; }
.price-alert-form label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-weight: 650;
  margin: 0 0 .9rem;
}
.price-alert-form input[type="number"] {
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  padding: .7rem .85rem;
  border-radius: .8rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  max-width: 12rem;
}
.price-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.price-alert-item {
  padding: .85rem 0;
  border-top: 1px solid var(--line);
}
.price-alert-item:first-child { border-top: 0; }
.price-alert-item h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.price-alert-item p { margin: 0 0 .55rem; }
@media (max-width: 700px) {
  body[data-page="detail"] .sticky-cta a[href="#preisalarm"] { flex: 0 0 auto; }
}

[hidden] { display: none !important; }


/* ——— v8: compact photos, airy minimal layout ——— */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  top: 0;
  left: 0;
}

.glass {
  background: var(--bg-elev);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--line);
}

.bento-home {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
  align-items: start;
}
.bento-hero {
  grid-column: 1 / span 7;
  padding: 1.5rem 0 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bento-visual {
  grid-column: 8 / span 5;
  min-height: 0;
  max-height: 18rem;
  align-self: center;
}
.bento-visual svg { max-height: 18rem; width: 100%; height: auto; }
.bento-bf { grid-column: 1 / span 12; }
.bento-silo-kitchen { grid-column: 1 / span 6; }
.bento-silo-workshop { grid-column: 7 / span 6; }
.bento-quick {
  grid-column: 1 / span 12;
  padding: .1rem 0;
  margin: 0;
}
.bento-article { grid-column: span 4; }
@media (max-width: 860px) {
  .bento-home { grid-template-columns: 1fr; gap: 1.15rem; }
  .bento-hero,
  .bento-visual,
  .bento-bf,
  .bento-silo-kitchen,
  .bento-silo-workshop,
  .bento-quick,
  .bento-article {
    grid-column: 1;
    grid-row: auto;
  }
  .bento-hero { padding: .4rem 0 0; }
  .bento-visual { max-height: 12rem; }
}

/* Product photos: Amazon-CDN hotlink, not altered, contain in a fixed ratio */
.product-photo-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-photo-frame {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}
.product-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .4rem;
  background: #fff;
}
.product-photo-frame img.is-fallback {
  object-fit: contain;
  padding: .55rem;
  background: #faf9f6;
}
.app-card > .product-photo-card {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  padding: .45rem 0 .45rem .45rem;
}
.app-card .product-photo-card .product-photo-frame {
  width: 4.75rem; /* 76px */
  height: 4.75rem;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: .55rem;
}
.app-card .product-photo-card .product-photo-frame img { padding: .25rem; }
@media (min-width: 701px) {
  .app-card {
    grid-template-columns: 6rem minmax(0, 1fr);
  }
  .app-card .product-photo-card .product-photo-frame {
    width: 5.5rem; /* 88px */
    height: 5.5rem;
  }
}
.product-photo-detail {
  display: block;
  max-width: 20rem; /* 320px cap */
}
.product-photo-detail .product-photo-frame {
  width: min(100%, 20rem);
  max-width: 20rem;
  min-height: 0;
  border-radius: .85rem;
  border: 1px solid var(--line);
  box-shadow: none;
}
.product-photo-compare .product-photo-frame {
  width: 5.5rem; /* 88px */
  height: 5.5rem;
  margin: 0 auto;
  border-radius: .6rem;
  border: 1px solid var(--line);
}

.product-layout { max-width: 58rem; }
.product-hero {
  display: grid;
  grid-template-columns: 20rem minmax(0, 1fr);
  gap: 2rem 2.25rem;
  align-items: start;
  margin: 0 0 2rem;
}
.product-hero-copy .price { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 650; letter-spacing: -.02em; }
.product-hero .sticky-cta,
.product-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  position: static;
  padding: 0;
  margin: 1rem 0 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border: 0;
}
.product-hero .sticky-cta .btn-amazon,
.product-cta .btn-amazon { width: auto; margin-top: 0; }
@media (max-width: 860px) {
  .product-hero { grid-template-columns: 1fr; gap: 1.1rem; }
  .product-photo-detail,
  .product-photo-detail .product-photo-frame {
    max-width: 16.5rem; /* ~264px on small screens */
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .app-card {
    transition: border-color .2s ease;
  }
  .app-card:hover {
    border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
  }
  .quick-action {
    transition: border-color .2s ease, color .2s ease;
  }
  .chip { transition: background .2s ease, color .2s ease; }
}



/* v9 compact homepage + price charts */
.home-top { padding: .7rem 0 1rem; }
.home-hero-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1.1rem;
  margin-bottom: .85rem;
}
.home-hero-compact h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.2;
  flex: 1 1 12rem;
}
.home-search {
  display: flex;
  gap: .4rem;
  flex: 1 1 16rem;
  min-width: min(100%, 16rem);
}
.home-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .9rem;
  background: var(--bg-elev);
  font: inherit;
  font-size: 16px;
}
.section-head.tight { margin-bottom: .65rem; }
.section-head.tight h2 { font-size: 1.05rem; margin: 0; }
.section.tight { padding: 1rem 0 1.4rem; }
.category-note.tight { margin: .55rem 0 .35rem; }
.deal-row { margin-top: 0; max-width: 100%; min-width: 0; }
.home-top, .home-top .wrap { max-width: 100%; min-width: 0; }
@media (max-width: 700px) {
  .deal-row,
  .home-top .product-grid.deal-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: .75rem;
    padding-bottom: .35rem;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    min-width: 0;
    overscroll-behavior-x: contain;
  }
  .deal-row .app-card,
  .deal-row .deal-block {
    flex: 0 0 min(92%, 21rem);
    max-width: 100%;
    scroll-snap-align: start;
  }
  .deal-row .app-card .old-price { display: none; }
}
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .15rem 0 .95rem;
}
.category-chips a {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .32rem .7rem;
  font-size: .86rem;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elev);
}
.category-chips a:hover { border-color: var(--ink); }
.article-header .category-chips,
.section-chips { margin-top: 1rem; }

.cat-menu { padding: .7rem 0 1.4rem; }
.cat-menu .compact-lede {
  margin: 0;
  flex: 1 1 16rem;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--muted);
}
.cat-group { margin: 1.15rem 0 0; }
.cat-group .section-head.tight { margin-bottom: .5rem; }
.cat-group .section-head.tight h2 { margin: 0; font-size: 1.05rem; }
.cat-group .section-head.tight h2 a { color: inherit; text-decoration: none; }
.cat-rows {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.cat-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .45rem .7rem .45rem .5rem;
  min-height: 3.35rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  box-shadow: none;
}
.cat-row:hover { border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); }
.cat-row-thumb {
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  border-radius: .7rem;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cat-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cat-row-icon {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: transparent;
}
.cat-row-icon.workshop { color: var(--teal); background: var(--teal-soft); }
.cat-row-icon.cinema { color: var(--accent-strong); background: var(--accent-soft); }
.cat-row-icon.brand { color: var(--ink-soft); background: var(--bg); border-color: var(--line); }
.cat-row-icon svg { width: 1.25rem; height: 1.25rem; }
.cat-row-copy {
  display: flex;
  flex-direction: column;
  gap: .08rem;
  min-width: 0;
  flex: 1;
}
.cat-row-copy strong {
  font-weight: 650;
  letter-spacing: -.02em;
  font-size: .98rem;
  line-height: 1.25;
}
.cat-row-copy .muted { font-size: .8rem; }
.cat-row .badge { margin-left: 0; flex: 0 0 auto; font-size: .62rem; }
.cat-row-bf {
  background: var(--bf-bg);
  color: var(--bf-fg);
  border-color: color-mix(in srgb, var(--bf-accent) 45%, var(--line));
  margin-bottom: .35rem;
}
.cat-row-bf .muted { color: var(--bf-fg-muted); }
.cat-row-bf .cat-row-icon {
  background: color-mix(in srgb, var(--bf-accent) 22%, var(--bf-bg));
  color: var(--bf-fg);
  border-color: transparent;
}
.cat-row-brand .cat-row-copy strong { font-weight: 600; }


.home-more {
  list-style: none;
  padding: 0;
  margin: 1rem 0 .6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .9rem;
}
.home-more a { font-size: .92rem; }
.price-chart { margin: 1rem 0 0; }
.price-chart figcaption { margin: 0 0 .4rem; font-size: .92rem; }
.price-chart-svg {
  width: 100%;
  max-width: 40rem;
  height: auto;
  display: block;
  color: var(--ink);
}
.price-chart-svg .axis { stroke: var(--line); stroke-width: 1; }
.price-chart-svg .axis-label { fill: var(--muted, #6b675f); font-size: 11px; }
.price-chart-svg .line { stroke: currentColor; stroke-width: 2; }
.price-chart-svg circle { fill: currentColor; }
.price-spark {
  width: 5.5rem;
  height: 1.15rem;
  display: block;
  margin: .15rem 0 .1rem;
  color: var(--ink);
  opacity: .75;
}

/* v13 filter bar + comparison */
.filter-shell { margin: 0 0 1rem; }
.filter-chip-row {
  position: sticky;
  top: var(--header);
  z-index: 25;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .5rem;
  padding: .55rem 0 .65rem;
  margin: 0 0 .4rem;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.filter-chip-row .chip,
.filter-active .chip {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  border-radius: 999px;
  padding: .35rem .75rem;
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
}
.filter-chip-row .chip.is-on,
.filter-chip-row .chip[aria-pressed="true"],
.filter-active .chip-active {
  background: color-mix(in srgb, var(--accent) 16%, var(--bg-elev));
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  color: var(--ink);
}
.filter-sort-inline {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .72rem;
  font-weight: 650;
  color: var(--muted);
}
.filter-sort-inline select {
  min-width: 11rem;
  font-size: .9rem;
  font-weight: 650;
  color: var(--ink);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .8rem;
}
.filter-count { margin: 0 0 0 auto; font-size: .85rem; }
.filter-active { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 0; margin: 0 0 .8rem; }
.filter-sheet {
  border: 0;
  padding: 0;
  width: min(28rem, 100%);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0 0 0 auto;
  background: var(--bg-elev);
  color: var(--ink);
  box-shadow: -12px 0 32px color-mix(in srgb, var(--ink) 12%, transparent);
}
.filter-sheet::backdrop {
  background: color-mix(in srgb, var(--ink) 28%, transparent);
}
.filter-sheet-inner { display: flex; flex-direction: column; height: 100%; max-height: 100%; }
.filter-sheet-head, .filter-sheet-foot {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.filter-sheet-foot { border-bottom: 0; border-top: 1px solid var(--line); margin-top: auto; flex-wrap: wrap; }
.filter-sheet-head h2 { margin: 0; font-size: 1.1rem; flex: 1; }
.filter-sheet-close {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  cursor: pointer;
}
.filter-sheet-close:focus-visible,
.filter-open:focus-visible,
.filter-chip-row .chip:focus-visible,
.filter-active .chip:focus-visible,
.filter-check input:focus-visible,
.filter-sheet input:focus-visible,
.filter-sort-inline select:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}
.filter-sheet-body { overflow: auto; padding: 1rem 1.1rem 1.4rem; }
.filter-fieldset { border: 0; margin: 0 0 1.1rem; padding: 0; }
.filter-fieldset legend { font-weight: 750; margin: 0 0 .5rem; }
.filter-check {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .92rem;
  font-weight: 550;
  cursor: pointer;
}
.filter-price-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-bottom: .55rem;
}
.filter-price-values input[type="number"],
.filter-price-sliders input[type="range"] { width: 100%; }
.filter-price-values input[type="number"] {
  font-size: 1rem;
  padding: .45rem .6rem;
  border-radius: .6rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.filter-price-sliders { display: grid; gap: .25rem; }
@media (max-width: 700px) {
  .filter-sheet {
    width: 100%;
    height: auto;
    max-height: 92vh;
    margin: auto 0 0;
    border-radius: 1.15rem 1.15rem 0 0;
    box-shadow: 0 -12px 32px color-mix(in srgb, var(--ink) 12%, transparent);
  }
  .filter-sheet-inner { max-height: 92vh; }
  .filter-chip-row { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .filter-count { margin-left: .3rem; flex: 0 0 auto; }
}

.compare-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin: .4rem 0 1rem; }
.compare-picker-group { margin: 0 0 .8rem; }
.compare-picker-group .meta { margin-bottom: .35rem; }
.compare-scroll {
  overflow: auto;
  max-width: 100%;
  max-height: min(80vh, 52rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
}
.compare-grid {
  --label-w: 9.6rem;
  min-width: calc(var(--label-w) + var(--compare-n, 2) * 11.2rem);
}
.compare-head, .compare-row {
  display: grid;
  grid-template-columns: var(--label-w) repeat(var(--compare-n, 2), minmax(11.2rem, 1fr));
  align-items: stretch;
}
.compare-head {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}
.compare-cell {
  padding: .7rem .75rem;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.compare-cell.is-label {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--bg-elev);
  font-weight: 700;
  font-size: .82rem;
}
.compare-head .is-label { z-index: 5; }
.compare-cell.is-product { text-align: left; }
.compare-name { display: block; font-weight: 750; margin: .35rem 0 .2rem; color: var(--ink); text-decoration: none; }
.compare-cell.is-best {
  box-shadow: inset 0 0 0 2px var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 14%, var(--bg-elev));
}
.compare-group-title {
  margin: 0;
  padding: .65rem .75rem;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  background: color-mix(in srgb, var(--bg) 70%, var(--bg-elev));
  position: sticky;
  left: 0;
}
.compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px color-mix(in srgb, var(--ink) 8%, transparent);
}
.compare-bar[hidden] { display: none; }
.compare-bar-text { margin: 0; }
.compare-bar-names { color: var(--muted); }
.compare-bar-actions { display: flex; gap: .45rem; }
body.has-compare-bar { padding-bottom: 5.2rem; }
@media (max-width: 860px) {
  .compare-bar { bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); padding-bottom: .7rem; }
  body.has-compare-bar { padding-bottom: calc(9.4rem + env(safe-area-inset-bottom, 0px)); }
  body.has-compare-bar .sticky-cta {
    bottom: calc(9.4rem + env(safe-area-inset-bottom, 0px));
  }
}
@media (prefers-color-scheme: dark) {
  .filter-chip-row { background: color-mix(in srgb, var(--bg) 88%, transparent); }
  .compare-cell.is-best { background: color-mix(in srgb, var(--accent) 22%, var(--bg-elev)); }
}
html:has(#theme-dark:checked) .filter-chip-row,
html:has(#theme-dark:checked) .compare-bar {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}
html:has(#theme-dark:checked) .compare-cell.is-best {
  background: color-mix(in srgb, var(--accent) 22%, var(--bg-elev));
}
