/* =========================================================================
   Selbstversorger-Werkzeugkasten — styles.css
   Richtung: „Moderner Selbstversorger-Werkzeugkasten"
   Warm · natürlich · vertrauenswürdig. Oliv & Ton als Akzent. Mobile-first.
   ========================================================================= */

:root {
  /* warmes Naturpapier */
  --paper:     #f6f2ed;
  --paper-2:   #efe7dc;
  --surface:   #fffdf8;
  --surface-2: #f8f1e8;
  --ink:       #2b2620;
  --ink-2:     #5b5447;
  --muted:     #8b8170;
  --line:      #e3dac8;
  --line-2:    #eee7d8;

  /* Oliv (Primär-Akzent, sparsam) */
  --olive-900: #353f22;
  --olive-700: #495630;
  --olive-600: #56653a;
  --olive-500: #6a7a46;
  --olive-100: #e4e8d2;
  --olive-50:  #eef1e1;

  /* Ton / Terrakotta (warmer Zweit-Akzent) */
  --clay-700:  #9a4f2a;
  --clay-600:  #b1623a;
  --clay-100:  #f3ddcd;
  --clay-50:   #f8ebe0;

  /* Sonne / Holz (sehr sparsam) */
  --sun:       #cf942b;
  --sun-50:    #f6e8c8;
  --leaf:      #13905b;
  --leaf-700:  #0c7045;
  --leaf-50:   #e7f4ed;

  /* Status */
  --info:      #4c5a34;
  --info-bg:   #eef1e1;
  --info-line: #d7ddbf;
  --warn:      #9a661c;
  --warn-bg:   #f8ecd2;
  --warn-line: #ead8ad;
  --crit:      #9c3a25;
  --crit-bg:   #f6e1d9;
  --crit-line: #e8c4b6;

  --radius:    16px;
  --radius-s:  11px;
  --radius-xs: 8px;
  --shadow:    0 1px 2px rgba(58,46,28,.05), 0 10px 26px -16px rgba(58,46,28,.30);
  --shadow-sm: 0 1px 2px rgba(58,46,28,.07);

  --maxw: 1180px;
  --serif: "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:  ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(140% 90% at 92% -8%, var(--olive-50), transparent 55%),
    radial-gradient(120% 70% at 0% 0%, var(--clay-50), transparent 45%),
    var(--paper);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.18; }
p { margin: 0; }
a { color: var(--olive-700); }
button { font-family: inherit; }
output { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 4vw, 30px); }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--olive-900);
  border: 2px solid var(--sun);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .15s ease;
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
}

.no-script-note {
  margin-top: 12px; margin-bottom: 12px; padding-block: 12px;
  font-size: 13.5px; color: var(--crit); background: var(--crit-bg);
  border: 1px solid var(--crit-line); border-radius: var(--radius-s);
}
.no-script-note strong { color: inherit; }

/* ============================ HEADER (nicht sticky) ============================ */
.site-header { background: rgba(253,250,243,.7); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand__mark {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; flex: none;
  color: var(--surface); background: linear-gradient(160deg, var(--olive-600), var(--olive-900));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), var(--shadow-sm);
}
.brand__mark svg {
  display: block;
  width: 42px;
  height: 42px;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.16; }
.brand__text strong { font-family: var(--serif); font-size: 16px; letter-spacing: .005em; font-weight: 600; }
.brand__sub { font-size: 12px; color: var(--muted); }
.header-note { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
@media (max-width: 540px) { .header-note { display: none; } }

/* Hub-Leiste */
.hub { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.hub__inner { display: flex; gap: 6px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; }
.hub__inner::-webkit-scrollbar { display: none; }
.hub__tool {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex: none;
  padding: 9px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-2); text-decoration: none; border: 1px solid transparent;
}
.hub__ico { display: inline-grid; place-items: center; color: var(--olive-600); }
.hub__tool.is-current { background: var(--surface); color: var(--olive-700); border-color: var(--line); box-shadow: var(--shadow-sm); }
.hub__tool.is-soon { color: var(--muted); cursor: default; }
.hub__tool.is-soon .hub__ico { color: var(--muted); opacity: .7; }
.hub__soon {
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--clay-700); background: var(--clay-100); padding: 2px 7px; border-radius: 999px;
}

/* ============================ MAIN / HERO ============================ */
.main { padding-block: clamp(16px, 2.8vw, 26px) 52px; }
.visual-hero {
  position: relative;
  min-height: clamp(280px, 36vw, 390px);
  margin-bottom: clamp(18px, 2.8vw, 28px);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.38);
  background: var(--olive-900);
  box-shadow: 0 18px 46px -30px rgba(38, 31, 20, .62), 0 1px 2px rgba(58,46,28,.08);
  isolation: isolate;
}
.visual-hero::before,
.visual-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.visual-hero::before {
  background:
    linear-gradient(90deg, rgba(25, 31, 16, .86) 0%, rgba(34, 38, 22, .68) 42%, rgba(34, 38, 22, .18) 76%),
    linear-gradient(0deg, rgba(20, 18, 14, .42), rgba(20, 18, 14, .04) 45%);
}
.visual-hero::after {
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(17, 15, 12, .45), transparent);
}
.visual-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  transform: scale(1.01);
}
.visual-hero__content {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 650px;
  padding: clamp(26px, 5vw, 54px);
  color: #fffaf0;
}
.lede__eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f4c879;
  text-shadow: 0 1px 16px rgba(0,0,0,.32);
}
.lede__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 50px;
  letter-spacing: 0;
  margin-top: 9px;
  text-wrap: balance;
  max-width: 12.5em;
  text-shadow: 0 2px 22px rgba(0,0,0,.42);
}
.lede__text {
  margin-top: 13px;
  color: rgba(255, 250, 240, .88);
  font-size: 17px;
  max-width: 56ch;
  text-wrap: pretty;
  text-shadow: 0 1px 14px rgba(0,0,0,.4);
}
.lede__text strong { color: #fff; font-weight: 750; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 750;
  color: #fff9e8;
  background: rgba(255, 250, 240, .14);
  border: 1px solid rgba(255, 250, 240, .22);
  backdrop-filter: blur(10px);
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 20px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--ink);
  background: #f4c879;
  border: 1px solid rgba(255,255,255,.46);
  box-shadow: 0 16px 34px -20px rgba(0,0,0,.62);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}
.hero-cta:hover {
  background: #ffd98f;
}
.hero-actions span {
  max-width: 30ch;
  color: rgba(255,250,240,.82);
  font-size: 12.5px;
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}

.tool-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 28px);
  align-items: end;
  margin-bottom: 16px;
  padding: clamp(18px, 3vw, 24px);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,253,248,.72)),
    var(--surface);
  border: 1px solid rgba(227,218,200,.82);
  box-shadow: 0 16px 44px -34px rgba(58,46,28,.42);
}
.tool-intro__eyebrow {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--leaf-700);
}
.tool-intro__title {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 650;
  letter-spacing: 0;
}
.tool-intro__text {
  margin-top: 7px;
  max-width: 68ch;
  color: var(--ink-2);
  font-size: 14.5px;
  text-wrap: pretty;
}
.tool-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tool-steps > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--leaf-50);
  border: 1px solid rgba(19,144,91,.16);
  color: var(--leaf-700);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.tool-steps strong {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--leaf);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.tool-steps > span > span[aria-hidden="true"] {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-size: 14px;
}

/* ============================ CALC GRID ============================ */
.calc {
  display: grid;
  gap: clamp(16px, 2.2vw, 22px);
  grid-template-columns: 1fr;
  padding: clamp(12px, 2vw, 16px);
  border-radius: 26px;
  background: rgba(255, 255, 255, .38);
  border: 1px solid rgba(227,218,200,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.config { display: grid; gap: clamp(16px, 2.2vw, 20px); min-width: 0; }

/* ============================ PANEL ============================ */
.panel {
  background: rgba(255,253,248,.94);
  border: 1px solid rgba(227,218,200,.9);
  border-radius: 22px;
  box-shadow: 0 12px 38px -30px rgba(58,46,28,.42);
  overflow: clip;
  min-width: 0;
}
.panel__head { display: flex; align-items: center; gap: 13px; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.step {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none;
  font-family: var(--sans); font-size: 14px; font-weight: 850; color: #fff;
  background: var(--leaf);
  font-variant-numeric: tabular-nums; box-shadow: 0 8px 18px -12px rgba(19,144,91,.8);
}
.panel__heading { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.panel__title { font-family: var(--sans); font-size: 20px; font-weight: 850; letter-spacing: 0; }
.panel__sub { font-size: 12.5px; color: var(--muted); }
.panel__body { padding: 20px; display: grid; gap: 18px; }

/* ============================ FIELDS ============================ */
.field { display: grid; gap: 8px; min-width: 0; }
.field__label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); letter-spacing: .015em; }
.note {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.5; text-wrap: pretty;
  padding: 12px 14px; background: var(--leaf-50); border: 1px solid rgba(19,144,91,.16); border-radius: 15px;
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .grid2 { grid-template-columns: 1fr; } }

.preset-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: start;
  padding: 15px;
  border-radius: 17px;
  border: 1px solid rgba(19,144,91,.18);
  background: linear-gradient(135deg, var(--leaf-50), rgba(255,253,248,.92));
}
.preset-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--leaf);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 10px 20px -16px rgba(19,144,91,.8);
}
.preset-card strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.35;
}
.preset-card p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
  text-wrap: pretty;
}

.expert-settings {
  border: 1px solid var(--line-2);
  border-radius: 17px;
  background: rgba(255,255,255,.6);
  overflow: clip;
}
.expert-settings summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
}
.expert-settings summary::-webkit-details-marker { display: none; }
.expert-settings summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--olive-600);
  border-bottom: 2px solid var(--olive-600);
  transform: rotate(45deg);
  transition: transform .15s;
  flex: none;
}
.expert-settings[open] summary::after {
  transform: rotate(225deg);
}
.expert-settings summary strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}
.expert-settings summary small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
}
.expert-settings__grid {
  padding: 0 15px 15px;
}
.expert-settings__note {
  margin: 0 15px 15px;
  padding: 11px 12px;
  border-radius: 13px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

/* select */
.select { position: relative; display: block; }
.select::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 9px; height: 9px;
  transform: translateY(-65%) rotate(45deg);
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); pointer-events: none;
}
.select select {
  appearance: none; -webkit-appearance: none; width: 100%;
  padding: 13px 40px 13px 14px; font-size: 15px; color: var(--ink); font-family: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.select select:hover { border-color: #cdc2a9; }

/* number field */
.numfield { position: relative; display: block; }
.numfield input {
  width: 100%; padding: 13px 42px 13px 14px; font-size: 15px; color: var(--ink); font-family: var(--mono);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  appearance: textfield; transition: border-color .15s, box-shadow .15s;
}
.numfield input:hover { border-color: #cdc2a9; }
.numfield__unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--muted); font-weight: 600; pointer-events: none; }

/* shared focus */
.select select:focus-visible,
.numfield input:focus-visible,
.brand:focus-visible,
.hub__tool:focus-visible,
.hero-cta:focus-visible,
.mobile-result-jump:focus-visible,
#usage-modes .mode-button:focus-visible,
#usage-modes button:focus-visible,
.appliance-card:focus-visible,
.remove-button:focus-visible,
.btn:focus-visible,
.result-products__head a:focus-visible,
.result-product__body a:focus-visible,
.shopping-link:focus-visible,
.custom-load summary:focus-visible,
.custom-load input:focus-visible,
.custom-load__check:focus-within,
.faq-item summary:focus-visible,
.product-sort button:focus-visible,
.product-card__actions a:focus-visible,
.footer__links a:focus-visible {
  outline: none; border-color: var(--olive-600); box-shadow: 0 0 0 3px rgba(86,101,58,.20);
}

/* ============================ NUTZUNGSMODI (app.js: .mode-button[data-mode-id]) ============================ */
.modes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; min-height: 46px;
}
.modes:empty { align-items: center; }
.modes:empty::before { content: attr(data-empty); font-size: 13px; color: var(--muted); }
#usage-modes .mode-button,
#usage-modes button {
  appearance: none; cursor: pointer; font-family: inherit; white-space: normal;
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 3px 10px; text-align: left; align-items: center;
  padding: 13px 15px; border-radius: 16px; font-size: 14px; font-weight: 650;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line);
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s; min-height: 42px;
}
.mode-button__icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: var(--sun-50);
  border: 1px solid rgba(207,148,43,.28);
  font-size: 18px;
}
#usage-modes .mode-button strong,
#usage-modes button strong { font-size: 15px; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
#usage-modes .mode-button span,
#usage-modes button span { font-size: 12.5px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
#usage-modes .mode-button:hover,
#usage-modes button:hover { border-color: var(--olive-500); color: var(--ink); }
#usage-modes .mode-button.is-selected,
#usage-modes button.is-selected,
#usage-modes .mode-button[aria-pressed="true"],
#usage-modes button[aria-pressed="true"] {
  background: var(--leaf); color: #fff; border-color: var(--leaf); box-shadow: 0 10px 24px -16px rgba(19,144,91,.9);
}
#usage-modes .mode-button[aria-pressed="true"] strong,
#usage-modes button[aria-pressed="true"] strong,
#usage-modes .mode-button[aria-pressed="true"] span,
#usage-modes button[aria-pressed="true"] span { color: #fff; }
#usage-modes .mode-button[aria-pressed="true"] .mode-button__icon,
#usage-modes button[aria-pressed="true"] .mode-button__icon {
  color: var(--ink);
  background: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.42);
}

/* ============================ VERBRAUCHER (app.js: .appliance-card, .category, .is-selected) ============================ */
.appliances { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; min-height: 60px; }
.appliances:empty,
.selected__list:empty,
.shopping:empty,
.sources:empty {
  display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 16px; text-align: center;
  grid-template-columns: none;
  border: 1px dashed var(--line); border-radius: var(--radius-s); background: var(--surface-2);
}
.appliances:empty::before,
.selected__list:empty::before,
.shopping:empty::before,
.sources:empty::before { content: attr(data-empty); font-size: 13px; color: var(--muted); line-height: 1.5; }

/* category subheading inside the grid */
.appliances .category {
  grid-column: 1 / -1; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--clay-600); margin-top: 4px; padding-top: 4px;
}
.appliances .category:first-child { margin-top: 0; }

.appliance-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "icon category"
    "icon title"
    "icon meta"
    "icon desc";
  align-items: start;
  gap: 7px 12px;
  text-align: left;
  cursor: pointer;
  padding: 15px;
  min-height: 154px;
  font-family: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 17px;
  transition: border-color .15s, box-shadow .15s, background .15s, transform .05s;
}
.appliance-card:hover { border-color: rgba(19,144,91,.42); box-shadow: 0 10px 26px -22px rgba(58,46,28,.48); }
.appliance-card:active { transform: translateY(1px); }
.appliance-card.is-selected {
  border-color: var(--leaf); background: var(--leaf-50);
  box-shadow: inset 0 0 0 1px rgba(19,144,91,.62);
}
.appliance-card > * { pointer-events: none; }
.appliance-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  font-size: 21px;
}
.appliance-card.is-selected .appliance-icon {
  background: #fff;
  border-color: rgba(19,144,91,.25);
}
.appliance-card .category {
  grid-area: category;
  justify-self: start;
  margin: 0;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--clay-700);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.appliance-title {
  grid-area: title;
  min-width: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.16;
  overflow-wrap: anywhere;
}
.appliance-meta {
  grid-area: meta;
  min-width: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.35;
}
.appliance-desc {
  grid-area: desc;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--sans);
  line-height: 1.42;
  text-wrap: pretty;
}

@media (max-width: 620px) {
  .appliances { grid-template-columns: 1fr; }
  .appliance-card {
    min-height: 0;
  }
}

.custom-load {
  border: 1px solid var(--line-2);
  border-radius: 17px;
  background: var(--surface-2);
  overflow: clip;
}
.custom-load summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  color: var(--ink-2);
}
.custom-load summary::-webkit-details-marker { display: none; }
.custom-load summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .15s;
  flex: none;
}
.custom-load[open] summary::after { transform: rotate(225deg); }
.custom-load summary strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}
.custom-load summary small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
}
.custom-load__grid {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) repeat(3, minmax(96px, .7fr));
  gap: 10px;
  padding: 0 15px 13px;
}
.custom-load__grid .field { min-width: 0; }
.custom-load__grid input[type="text"] {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.custom-load__check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 700;
}
.custom-load__check input {
  width: 16px;
  height: 16px;
  accent-color: var(--leaf);
}
.custom-load > .field-hint {
  padding: 0 15px 15px;
}
@media (max-width: 760px) {
  .custom-load__grid {
    grid-template-columns: 1fr 1fr;
  }
  .custom-load__grid .field:first-child,
  .custom-load__check,
  .custom-load__grid .btn {
    grid-column: 1 / -1;
  }
}
@media (max-width: 420px) {
  .custom-load__grid {
    grid-template-columns: 1fr;
  }
}

/* selected list (app.js: .selected-row, .remove-button) */
.selected { display: grid; gap: 10px; }
.selected__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.selected__list { display: grid; gap: 8px; }
.selected-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) repeat(3, minmax(72px, auto)) auto;
  align-items: end;
  gap: 10px;
  padding: 13px 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px;
  font-size: 14px; color: var(--ink);
}
.selected-row > :first-child { font-weight: 600; }
.selected-row strong, .selected-row b { font-weight: 650; }
.selected-row small, .selected-row span { color: var(--muted); }
.selected-row label {
  display: grid;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.selected-row input {
  font-family: var(--mono); font-size: 14px; padding: 7px 9px; width: 100%; min-width: 64px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--surface); color: var(--ink);
}
.selected-row__check {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}
.selected-row__check input {
  width: auto;
  min-width: 0;
  margin: 0;
}
.selected-row__check span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-2);
}
.remove-button {
  cursor: pointer; font-family: inherit; display: inline-grid; place-items: center;
  min-width: 88px; min-height: 34px; padding: 7px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 750; line-height: 1;
  color: var(--clay-700); background: var(--clay-50); border: 1px solid var(--clay-100);
  transition: background .15s, color .15s;
}
.remove-button:hover { background: var(--clay-100); color: var(--clay-700); }
.mobile-result-jump {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--leaf), var(--olive-700));
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 850;
  box-shadow: 0 12px 28px -16px rgba(19,144,91,.9), var(--shadow-sm);
}
.mobile-result-jump::after {
  content: "↓";
  margin-left: 8px;
  font-size: 15px;
  line-height: 1;
}
.mobile-result-jump.is-hidden {
  display: none !important;
}
@media (max-width: 720px) {
  .selected-row {
    grid-template-columns: 1fr 1fr;
  }
  .selected-row > :first-child,
  .remove-button {
    grid-column: 1 / -1;
  }
  .remove-button {
    justify-self: start;
  }
  .mobile-result-jump {
    display: flex;
    position: sticky;
    bottom: 12px;
    z-index: 20;
    margin-top: 12px;
  }
}

/* generic hint app.js may emit */
.field-hint { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* ============================ ERGEBNIS ============================ */
.result { min-width: 0; }
.result__sticky {
  background: rgba(255,253,248,.96); border: 1px solid rgba(227,218,200,.9); border-radius: 22px;
  box-shadow: 0 18px 46px -32px rgba(58,46,28,.5); overflow: clip;
}
.result__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 18px 20px; color: var(--ink);
  background:
    linear-gradient(135deg, rgba(231,244,237,.92), rgba(255,253,248,.88)),
    var(--surface);
  border-bottom: 1px solid var(--line-2);
}
.result__title { font-family: var(--sans); font-size: 21px; font-weight: 850; color: var(--ink); }
.result__live {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: var(--leaf); padding: 5px 10px; border-radius: 999px; white-space: nowrap;
}

.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 16px; }
.metric {
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 14px;
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.metric--hero {
  grid-column: 1 / -1; background: var(--leaf-50); border-color: rgba(19,144,91,.18);
  position: relative; padding: 16px;
}
.metric--hero::after {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px;
  border-radius: 0 4px 4px 0; background: var(--leaf);
}
.metric--hero { padding-left: 20px; }
.metric__label { font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.metric__value { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; word-break: break-word; }
.metric--hero .metric__value { font-size: 34px; color: var(--leaf-700); }
.metric__hint {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.3;
}

.result__summary {
  margin: 0 16px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty;
  padding: 13px 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px;
}
.result__caveat {
  margin: 8px 16px 0;
  padding: 10px 12px;
  border-radius: 13px;
  border: 1px solid var(--warn-line);
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 12px;
  line-height: 1.4;
}
.result-shop {
  margin: 12px 16px 0;
  padding: 13px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 16px;
}
.result-shop__title {
  margin: 0 0 9px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--olive-700);
}
.result-shop__list {
  display: grid;
  gap: 8px;
}
.result-shop__list:empty::before {
  content: attr(data-empty);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}
.result-shop__item {
  display: grid;
  gap: 2px;
  padding: 10px 11px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line-2);
}
.result-shop__item strong {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.25;
}
.result-shop__item span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.result-products {
  margin: 12px 16px 0;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
}
.result-products__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}
.result-products__title {
  margin: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--olive-700);
}
.result-products__head a {
  color: var(--clay-700);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.result-products__list {
  display: grid;
  gap: 9px;
}
.result-products__list:empty::before {
  content: attr(data-empty);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}
.result-product {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}
.result-product__media {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 72% 20%, rgba(246,232,200,.52), transparent 40%),
    #fff;
  border: 1px solid rgba(227,218,200,.84);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
}
.result-product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}
.result-product__media span {
  font-size: 26px;
}
.result-product__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.result-product__rank {
  color: var(--leaf-700);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.result-product__body strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}
.result-product__body small {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.3;
}
.result-product__why {
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.3;
}
.result-product__body a {
  justify-self: start;
  margin-top: 3px;
  color: var(--olive-700);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}
.result__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px 4px; }
@media (max-width: 380px) { .result__actions { grid-template-columns: 1fr; } }
.result__status { min-height: 18px; margin: 0; padding: 8px 16px 16px; font-size: 12.5px; font-weight: 600; color: var(--clay-700); text-align: center; }
.result__status:empty { padding-top: 0; padding-bottom: 16px; }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: var(--radius-s); font-size: 14px; font-weight: 650; min-height: 46px;
	  cursor: pointer; border: 1px solid transparent; text-decoration: none; white-space: normal; text-align: center;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn:disabled { cursor: not-allowed; opacity: .55; }
.btn--primary { background: var(--olive-700); color: #fff; }
.btn--primary:hover { background: var(--olive-600); }
.btn--outline { background: var(--surface); color: var(--olive-700); border-color: var(--line); }
.btn--outline:hover { background: var(--olive-50); border-color: var(--olive-100); }
.btn--ghost { background: transparent; color: var(--clay-700); border-color: var(--line); min-height: 38px; }
.btn--ghost:hover { background: var(--clay-50); border-color: var(--clay-100); }
.btn--sm { padding: 8px 12px; font-size: 12.5px; min-height: 38px; }
.product-card__hold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: var(--radius-s);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
}

/* ============================ BLOCKS ============================ */
.block { margin-top: clamp(30px, 4.4vw, 44px); }
.block__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.block__eyebrow {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--leaf-700);
}
.block__title { font-family: var(--sans); font-size: 23px; font-weight: 850; letter-spacing: 0; }
.block__lead { margin-top: 4px; font-size: 13.5px; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.block__hint { font-size: 12.5px; color: var(--muted); }
.block__hint #source-date { font-family: var(--mono); }

.tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 7px; white-space: nowrap; }
.tag--ad,
.tag--commerce { color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn-line); }

/* ---------------- Kaufklassen ---------------- */
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 18px); }
@media (max-width: 680px) { .buy { grid-template-columns: 1fr; } }
.buy__card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,253,248,.98), rgba(248,241,232,.82)),
    var(--surface);
  border: 1px solid rgba(227,218,200,.95);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 44px -34px rgba(58,46,28,.55);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.buy__card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--clay-600);
}
.buy__card--featured {
  background:
    radial-gradient(circle at 92% 12%, rgba(231,244,237,.95), transparent 32%),
    linear-gradient(135deg, rgba(255,253,248,.98), rgba(238,246,240,.86)),
    var(--surface);
  border-color: rgba(19,144,91,.18);
}
.buy__card--featured::before {
  background: var(--leaf);
}
.buy__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.buy__kicker { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--olive-600); }
.badge { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--olive-900); background: var(--olive-100); padding: 5px 11px; border-radius: 999px; }
.badge--clay { color: var(--clay-700); background: var(--clay-100); }
.buy__name { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.buy-score {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 10px;
  align-items: center;
  padding: 10px 11px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(19,144,91,.14);
}
.buy-score__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.buy-score strong {
  color: var(--leaf-700);
  font-family: var(--mono);
  font-size: 13px;
}
.buy-score__bar {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--olive-50);
}
.buy-score__bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--leaf), var(--olive-600));
  transition: width .2s ease;
}
.buy-score--clay {
  border-color: rgba(171,89,48,.2);
}
.buy-score--clay strong {
  color: var(--clay-700);
}
.buy-score--clay .buy-score__bar i {
  background: linear-gradient(90deg, var(--clay-600), var(--sun));
}
.buy__copy { font-size: 14px; color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
.buy__facts {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.buy__facts li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}
.buy__facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--leaf);
}
.buy__card:not(.buy__card--featured) .buy__facts li::before {
  background: var(--clay-600);
}
.buy__foot { margin-top: auto; font-size: 12.5px; color: var(--muted); padding-top: 8px; border-top: 1px solid var(--line-2); }
.fineprint { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.55; padding: 13px 15px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-s); }
.fineprint strong { color: var(--ink-2); }

/* ---------------- Warnungen (app.js: .warning-item[data-level]) ---------------- */
.warnings { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.warnings:empty { display: none; }
.warnings:not(:empty) + .warnings-empty { display: none; }
.warnings-empty {
  font-size: 13.5px; color: var(--muted); padding: 14px 16px;
  background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--radius-s);
}
.warning-item {
  display: flex; gap: 12px; align-items: flex-start; position: relative; padding: 13px 15px 13px 16px;
  border-radius: var(--radius-s); font-size: 14px; line-height: 1.5; color: var(--ink-2);
  border: 1px solid var(--info-line); background: var(--info-bg);
}
.warning-item::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0;
  background: var(--info);
}
.warning-item[data-level="warning"] { border-color: var(--warn-line); background: var(--warn-bg); }
.warning-item[data-level="warning"]::before { background: var(--warn); }
.warning-item[data-level="critical"] { border-color: var(--crit-line); background: var(--crit-bg); color: #6f2c1c; }
.warning-item[data-level="critical"]::before { background: var(--crit); }

/* ---------------- Einkaufsliste (app.js: .shopping-item, .shopping-link) ---------------- */
.shopping-note-block {
  padding: clamp(16px, 2.8vw, 22px);
  border-radius: 22px;
  border: 1px solid rgba(227,218,200,.82);
  background:
    linear-gradient(135deg, rgba(255,253,248,.92), rgba(248,241,232,.72)),
    var(--surface);
  box-shadow: var(--shadow-sm);
}
.shopping-note-block .block__head {
  margin-bottom: 13px;
}
.shopping { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; counter-reset: shopping; }
.shopping-item {
  counter-increment: shopping;
  display: grid;
  grid-template-columns: 30px minmax(150px, .8fr) minmax(220px, 1.2fr);
  align-items: center;
  gap: 10px 13px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.shopping-item::before {
  content: counter(shopping);
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #fff;
  background: var(--olive-700);
  font-size: 12px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.shopping-item strong, .shopping-item b {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  font-weight: 650;
}
.shopping-item span {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  color: var(--muted);
  line-height: 1.45;
}
.shopping-item code {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px dashed var(--line);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}
.shopping-item small, .shopping-item .field-hint { color: var(--muted); }
.shopping-link {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 650; text-decoration: none;
  color: var(--olive-900); background: var(--sun-50); border: 1px solid var(--sun); transition: background .15s;
}
.shopping-link:hover { background: var(--sun); }
@media (max-width: 760px) {
  .shopping-item {
    grid-template-columns: 30px 1fr;
    align-items: start;
  }
  .shopping-item::before {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-top: 2px;
  }
  .shopping-item strong,
  .shopping-item b {
    grid-column: 2;
    grid-row: 1;
  }
  .shopping-item span {
    grid-column: 2;
    grid-row: 2;
  }
  .shopping-item code {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

/* ---------------- Produkt-Ranking ---------------- */
.product-rankings {
  padding-top: clamp(4px, 1vw, 8px);
}
.product-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.product-sort button {
  cursor: pointer;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}
.product-sort button:hover {
  border-color: var(--olive-100);
  background: var(--olive-50);
}
.product-sort button.is-active {
  border-color: rgba(19,144,91,.26);
  background: var(--leaf-50);
  color: var(--leaf-700);
}
.product-note {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.5;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.product-grid:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 18px;
  border-radius: var(--radius-s);
  border: 1px dashed var(--line);
  background: var(--surface-2);
  color: var(--muted);
  text-align: center;
}
.product-grid:empty::before { content: attr(data-empty); }
.product-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 220px 1fr;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.product-card__rank {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 30px;
  padding-inline: 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--olive-700);
  font-size: 12px;
  font-weight: 850;
  box-shadow: var(--shadow-sm);
}
.product-card__media {
  position: relative;
  overflow: hidden;
  margin: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 72% 20%, rgba(246,232,200,.9), transparent 36%),
    var(--surface-2);
  border-bottom: 1px solid var(--line-2);
}
.product-card__media[data-kind="fixed_kit"] {
  background:
    linear-gradient(135deg, rgba(244,200,121,.34), transparent 42%),
    radial-gradient(circle at 75% 26%, rgba(207,148,43,.28), transparent 31%),
    var(--olive-50);
}
.product-card__media[data-kind="accessory"] {
  background:
    radial-gradient(circle at 28% 25%, rgba(231,244,237,.95), transparent 35%),
    linear-gradient(135deg, rgba(255,253,248,.96), rgba(238,241,225,.7)),
    var(--surface-2);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px 24px 42px;
}
.product-card__media figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  font-size: 10.5px;
  color: var(--muted);
  text-align: center;
}
.product-card__media figcaption a {
  color: var(--muted);
}
.product-card__fallback {
  display: none;
  text-align: center;
  color: var(--muted);
  padding: 20px;
}
.product-card__media.is-missing .product-card__fallback {
  display: grid;
  gap: 5px;
  justify-items: center;
}
.product-card__icon {
  display: grid !important;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 5px;
  border-radius: 24px;
  background: rgba(255,253,248,.85);
  border: 1px solid rgba(227,218,200,.84);
  box-shadow: 0 14px 28px -24px rgba(58,46,28,.5);
  color: var(--olive-700);
  font-size: 34px !important;
}
.product-card__fallback span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.product-card__fallback strong {
  color: var(--ink);
}
.product-card__fallback small {
  max-width: 18ch;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}
.product-card__body {
  display: grid;
  gap: 10px;
  padding: 16px;
}
.product-card__award {
  margin: 0;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--clay-700);
}
.product-card h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 850;
  color: var(--ink);
}
.product-card__score {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--leaf-50);
  color: var(--leaf-700);
  font-size: 12px;
  font-weight: 850;
}
.product-card__status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-card__status span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--olive-50);
  border: 1px solid var(--olive-100);
  color: var(--olive-700);
  font-size: 11px;
  font-weight: 800;
}
.product-card__status span:nth-child(n+3) {
  background: var(--clay-50);
  border-color: var(--clay-100);
  color: var(--clay-700);
}
.product-card p {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.5;
}
.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-card__meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 700;
}
.product-card__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.product-card__split div {
  padding: 10px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}
.product-card__split strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 12px;
}
.product-card__split span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}
.product-card__notice {
  font-size: 11.5px !important;
  color: var(--muted) !important;
}
@media (max-width: 420px) {
  .product-card {
    grid-template-rows: 190px 1fr;
  }
  .product-card__split,
  .product-card__actions {
    grid-template-columns: 1fr;
  }
}

/* ---------------- FAQ / Suchintention ---------------- */
.faq-block {
  background:
    linear-gradient(135deg, rgba(231,244,237,.64), rgba(255,253,248,.92)),
    var(--surface);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.faq-item {
  min-width: 0;
  border: 1px solid var(--line-2);
  border-radius: 15px;
  background: rgba(255,255,255,.78);
  overflow: clip;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--olive-600);
  border-bottom: 2px solid var(--olive-600);
  transform: rotate(45deg);
  transition: transform .15s;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item p {
  padding: 0 15px 14px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Quellen / Methodik ---------------- */
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sources > li {
  position: relative; font-size: 13.5px; color: var(--ink-2); line-height: 1.55;
  padding: 11px 14px 11px 32px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-s);
}
.sources > li::before { content: ""; position: absolute; left: 14px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--olive-500); }
.sources a { color: var(--olive-700); }

/* ---------------- Rechtliches ---------------- */
.legal {
  margin-top: clamp(28px, 4vw, 40px);
  padding: 0;
  background: transparent;
}
.legal__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.legal__title {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal__lead {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
}
.legal__accordion {
  display: grid;
  gap: 8px;
}
.legal__item {
  background: rgba(255,253,248,.72);
  border: 1px solid var(--line-2);
  border-radius: 13px;
  overflow: clip;
}
.legal__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 750;
}
.legal__item summary::-webkit-details-marker { display: none; }
.legal__item summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .15s;
  flex: none;
}
.legal__item[open] summary::after {
  transform: rotate(225deg);
}
.legal__item p,
.legal__content p {
  padding: 0 13px 13px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  text-wrap: pretty;
}
.legal__content { padding-top: 1px; }
.legal a { color: var(--olive-700); }

/* ============================ FOOTER ============================ */
.footer { border-top: 1px solid var(--line); margin-top: 44px; padding-block: 22px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.footer__links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer__links a {
  color: var(--olive-700);
  text-decoration: none;
  font-weight: 700;
}
.footer__links a:hover {
  text-decoration: underline;
}
.noscript-note {
  margin-block: 16px 28px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--warn-line);
  background: var(--warn-bg);
  color: var(--warn);
  font-weight: 700;
}

.tool-family {
  background:
    linear-gradient(135deg, rgba(19, 144, 91, 0.08), rgba(244, 200, 121, 0.1)),
    var(--surface);
}

.tool-family__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tool-family__card {
  display: grid;
  min-width: 0;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(41, 68, 54, 0.12);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.tool-family__card:hover,
.tool-family__card:focus-visible {
  border-color: rgba(19, 144, 91, 0.32);
  transform: translateY(-1px);
}

.tool-family__card.is-soon {
  color: var(--muted);
  cursor: default;
}

.tool-family__card.is-soon:hover {
  border-color: rgba(41, 68, 54, 0.12);
  transform: none;
}

.tool-family__card--primary {
  border-color: rgba(19, 144, 91, 0.3);
  background: linear-gradient(135deg, rgba(19, 144, 91, 0.12), rgba(255, 255, 255, 0.9));
}

.tool-family__eyebrow {
  color: var(--olive-700);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-family__card strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.tool-family__card span:last-child {
  color: var(--muted);
  line-height: 1.45;
}

/* ============================ DESKTOP: Eingabe + Ergebnis nebeneinander ============================ */
@media (min-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr) 390px; align-items: start; }
  .result { align-self: stretch; }
  .result__sticky {
    position: sticky;
    top: 18px;
    max-height: calc(100vh - 36px);
    overflow: auto;
    scrollbar-width: thin;
  }
}
@media (min-width: 1080px) {
  .calc { grid-template-columns: minmax(0, 1fr) 408px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

@media (max-width: 760px) {
  .tool-intro {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 16px;
    border-radius: 18px;
  }
  .tool-intro__title {
    font-size: 22px;
  }
  .tool-intro__text {
    display: none;
  }
  .tool-steps {
    justify-content: flex-start;
  }
  .tool-steps > span {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12.5px;
  }
  .tool-family__grid {
    grid-template-columns: 1fr;
  }
  .calc {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .visual-hero {
    min-height: 385px;
    border-radius: 18px;
  }
  .visual-hero::before {
    background:
      linear-gradient(0deg, rgba(22, 27, 15, .88) 0%, rgba(30, 35, 19, .74) 54%, rgba(30, 35, 19, .18) 100%),
      linear-gradient(90deg, rgba(20, 18, 14, .38), rgba(20, 18, 14, .02));
  }
  .visual-hero__image {
    object-position: 67% 50%;
  }
  .visual-hero__content {
    justify-content: flex-end;
    padding: 22px;
  }
  .hero-actions {
    margin-top: 16px;
  }
  .hero-cta {
    width: 100%;
  }
  .hero-actions span {
    max-width: none;
    font-size: 12px;
  }
  .lede__title {
    max-width: 11em;
    font-size: 38px;
  }
  .lede__text {
    font-size: 15px;
  }
}

@media (max-width: 390px) {
  .visual-hero {
    min-height: 390px;
  }
  .hero-points span {
    font-size: 12px;
    min-height: 30px;
  }
  .lede__title {
    font-size: 34px;
  }
  .metric__value {
    font-size: 22px;
  }
  .metric--hero .metric__value {
    font-size: 30px;
  }
  .block__title {
    font-size: 21px;
  }
}
