:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-2: #f0f2ef;
  --text: #17201d;
  --muted: #5f6b66;
  --line: #e1e5e1;
  --accent: #0f766e; /* Türkis (preisdip); Logo-Dip #0fd1c0 ist für Text auf Weiß zu hell */
  --accent-ink: #ffffff;
  --accent-soft: #ddf5f1;
  --good: #15803d;
  --good-soft: #e3f5e8;
  --warn: #a16207;
  --warn-soft: #fbf1d9;
  --bad: #b42318;
  --shadow: 0 1px 2px rgb(16 24 20 / 0.06), 0 4px 16px rgb(16 24 20 / 0.05);
  --radius: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1412;
    --surface: #151d1a;
    --surface-2: #1c2622;
    --text: #e7eeeb;
    --muted: #93a29c;
    --line: #26322d;
    --accent: #2dd4bf;
    --accent-ink: #062b27;
    --accent-soft: #123a35;
    --good: #4ade80;
    --good-soft: #143222;
    --warn: #facc15;
    --warn-soft: #3a3110;
    --bad: #f87171;
    --shadow: none;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

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

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand h1 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand p {
  margin: 0;
  font-size: 13px;
}
.brand--link {
  color: inherit;
  text-decoration: none;
}
.brand__logo,
.brand__img {
  display: block;
  flex-shrink: 0;
}
.brand__logo img,
.brand__img {
  width: 40px;
  height: 40px;
}
.wordmark {
  font-weight: 800;
  letter-spacing: -0.03em;
}
.wordmark span {
  color: var(--accent);
}
.crumb {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.crumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.crumb a.wordmark {
  color: var(--text);
}
.crumb a:hover {
  text-decoration: underline;
}

/* Startseite */
.landing {
  text-align: center;
  padding: 48px 0 24px;
}
.landing__logo {
  width: 120px;
  height: 120px;
}
.landing__motto {
  margin: 12px 0 8px;
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.landing__sub {
  display: block;
  margin-top: 6px;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--muted);
}
.brand .brand__name {
  margin: 0;
  font-size: 19px;
}
.landing__lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--muted);
}
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 28px 0 8px;
}
.cat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}
.cat__name {
  font-size: 18px;
  font-weight: 750;
}
.cat__stats {
  font-size: 13px;
  color: var(--muted);
}
.cat__cta {
  margin-top: 6px;
  font-weight: 700;
  color: var(--accent);
}
.cat--live {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
}
.cat--live:hover {
  transform: translateY(-1px);
}
.cat--soon {
  opacity: 0.6;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

/* Buttons & inputs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.06s ease, background 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, black);
}
.btn--ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--surface-2);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.input {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 0;
}
.input:focus-visible,
.btn:focus-visible,
.seg button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Hero */
.hero {
  margin: 20px 0 8px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.hero__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.hero__price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero__price small {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}
.hero__name {
  font-weight: 600;
}

/* Toolbar: Suche, Sortierung, Filter */
.toolbar {
  margin: 18px 0 10px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}
.toolbar__top {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
  transition: border-color 0.15s, background 0.15s;
}
.search:focus-within {
  border-color: var(--accent);
  background: var(--surface);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: var(--text);
}
.sort {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 4px 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 13px;
  color: var(--muted);
}
.sort select {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  padding: 6px 4px;
  cursor: pointer;
}
.toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.toolbar__sep {
  width: 1px;
  height: 22px;
  background: var(--line);
  margin: 0 2px;
}
.seg {
  display: inline-flex;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 7px;
  cursor: pointer;
}
.seg button[aria-checked='true'] {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
/* Auswahl als Chip: „Menge  beliebig ▾“ */
.chip-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 28px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  cursor: pointer;
}
.chip-select::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.chip-select__label {
  color: var(--muted);
}
.chip-select__value {
  font-weight: 600;
  color: var(--text);
}
/* Das echte Auswahlfeld liegt unsichtbar über dem ganzen Chip: Klick auf Label, Wert oder Pfeil öffnet die Liste */
.chip-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font: inherit;
  appearance: none;
  border: 0;
}
.chip-select select:focus-visible {
  outline: none;
}
.chip-select:focus-within {
  border-color: var(--accent);
}
.chip-select.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.chip-select.is-active .chip-select__value {
  color: var(--accent);
}
/* Mehrfachauswahl als Chip mit aufklappbarer Checkbox-Liste */
.chip-multi {
  position: relative;
}
.chip-multi__toggle {
  font: inherit;
  font-size: 13px;
  color: var(--text);
}
.chip-multi__toggle[aria-expanded='true'] {
  border-color: var(--accent);
}
.chip-multi__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  min-width: 190px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.14);
}
.chip-multi__title {
  padding: 4px 8px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.chip-multi__option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
.chip-multi__option:hover {
  background: var(--surface-2);
}
.chip-multi__option input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

/* Kippschalter */
.switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.switch__track {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--line);
  transition: background 0.15s;
  flex-shrink: 0;
}
.switch__track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.25);
  transition: transform 0.15s;
}
.switch input:checked + .switch__track {
  background: var(--accent);
}
.switch input:checked + .switch__track::after {
  transform: translateX(14px);
}
.switch input:focus-visible + .switch__track {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.reset {
  margin-left: auto;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 2px;
}
.reset:hover {
  text-decoration: underline;
}

/* Table */
.table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.row {
  display: grid;
  grid-template-columns: 30px minmax(190px, 1.5fr) 112px 112px 112px 104px minmax(140px, 1fr) 146px;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.row--head {
  border-top: 0;
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding-top: 10px;
  padding-bottom: 10px;
}
.row.is-top {
  background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface));
}
.rank {
  font-weight: 800;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.is-top .rank {
  color: var(--accent);
}
.prod__brand {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.prod__name {
  font-weight: 650;
}
.prod__maker {
  display: inline-block;
  margin-right: 2px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  vertical-align: 1px;
}
.prod__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.badge--Konzentrat {
  background: #eef2ff;
  color: #3730a3;
  border-color: #e0e7ff;
}
.badge--Isolat {
  background: #fdf2f8;
  color: #9d174d;
  border-color: #fce7f3;
}
.badge--Clear {
  background: #ecfeff;
  color: #155e75;
  border-color: #cffafe;
}
@media (prefers-color-scheme: dark) {
  .badge--Konzentrat {
    background: #1e1b4b;
    color: #c7d2fe;
    border-color: #312e81;
  }
  .badge--Isolat {
    background: #3b0a24;
    color: #fbcfe8;
    border-color: #831843;
  }
  .badge--Clear {
    background: #083344;
    color: #a5f3fc;
    border-color: #155e75;
  }
}
.badge--Creapure {
  background: #fff7ed;
  color: #9a3412;
  border-color: #ffedd5;
}
.badge--Normal {
  background: #f1f5f9;
  color: #334155;
  border-color: #e2e8f0;
}
@media (prefers-color-scheme: dark) {
  .badge--Creapure {
    background: #3b1d0b;
    color: #fed7aa;
    border-color: #7c2d12;
  }
  .badge--Normal {
    background: #1e293b;
    color: #cbd5e1;
    border-color: #334155;
  }
}
/* Kreatin: eine Spalte weniger (kein Protein/Verdicker, dafür Portionspreis) */
body[data-category='kreatin'] .row {
  grid-template-columns: 30px minmax(220px, 1.8fr) 112px 112px 112px minmax(140px, 1fr) 146px;
}
@media (max-width: 900px) {
  body[data-category='kreatin'] .row {
    grid-template-columns: 28px 1fr auto;
    grid-template-areas:
      'rank prod prod'
      '.    pack kg'
      '.    prot prot'
      '.    code code'
      '.    cta  cta';
  }
  body[data-category='kreatin'] .row > :nth-child(6) {
    grid-area: code;
  }
  body[data-category='kreatin'] .row > :nth-child(7) {
    grid-area: cta;
  }
}
/* Kreatin: Portionspreis */
.portion strong {
  font-size: 16px;
}
.portion .protein__price {
  display: block;
}
.badge--new {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}
.badge--tier {
  background: transparent;
  color: var(--muted);
  border-style: dashed;
}
.badge--pack {
  background: var(--surface-2);
  color: var(--text);
}
.badge--pack-unknown {
  background: transparent;
  color: var(--muted);
  border-style: dashed;
}
.prod__flavors {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.badge--warn {
  background: var(--warn-soft);
  color: var(--warn);
  border-color: transparent;
}

.price {
  font-weight: 600;
}
.strike {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}
.perkg {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.perkg small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.code__chip {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 9px;
  border-radius: 8px;
  border: 1.5px dashed var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  cursor: copy;
}
.code__info {
  font-size: 12px;
  font-weight: 600;
}
.code__info--verified {
  color: var(--good);
}
.code__info--accepted,
.code__info--unverified {
  color: var(--warn);
}
.code__none {
  color: var(--muted);
  font-size: 13px;
}
.auto {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--good);
  font-weight: 600;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.cta__hint {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.cta .more {
  text-align: center;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}
.cta .more:hover {
  color: var(--text);
}

.sizes {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}
.sizes a {
  color: inherit;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.sizes a:hover {
  border-color: var(--accent);
}

.row.is-error {
  opacity: 0.55;
}

.empty {
  text-align: center;
  padding: 40px 0;
  color: var(--muted);
}

.foot {
  font-size: 13px;
  margin: 24px 0 48px;
  max-width: 820px;
}

.ship {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}
.ship--free {
  color: var(--good);
  font-weight: 600;
}
.protein {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.protein__pct {
  font-weight: 700;
}
/* Proteinbalken als <progress> (ohne Inline-Styles, passt zur Content-Security-Policy) */
.protein__bar {
  display: block;
  width: 64px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
}
.protein__bar::-webkit-progress-bar {
  background: var(--surface-2);
  border-radius: 99px;
}
.protein__bar::-webkit-progress-value {
  background: var(--accent);
  border-radius: 99px;
}
.protein__bar::-moz-progress-bar {
  background: var(--accent);
  border-radius: 99px;
}
.protein__price {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.qty {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.qty-note {
  margin: -4px 0 10px;
  font-size: 13px;
  min-height: 1em;
}
.cta__cart {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--accent);
  text-decoration: none;
}
.cta__cart:hover {
  text-decoration: underline;
}

.mlabel {
  display: none;
}
.thick {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}
.thick--no {
  color: var(--good);
}
.thick--unknown {
  color: var(--muted);
  font-weight: 500;
}
.thick__via {
  color: var(--muted);
  font-weight: 600;
  margin-left: 1px;
}
.thick__tag {
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--text);
  color: var(--bg);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: calc(100vw - 32px);
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Mobil: Karten statt Tabelle */
@media (max-width: 900px) {
  .row--head {
    display: none;
  }
  .row {
    grid-template-columns: 28px 1fr auto;
    grid-template-areas:
      'rank prod prod'
      '.    pack kg'
      '.    prot prot'
      '.    thick thick'
      '.    code code'
      '.    cta  cta';
    gap: 8px 12px;
    padding: 16px;
  }
  .row > :nth-child(1) {
    grid-area: rank;
  }
  .row > :nth-child(2) {
    grid-area: prod;
  }
  .row > :nth-child(3) {
    grid-area: pack;
    text-align: left;
  }
  .row > :nth-child(4) {
    grid-area: kg;
  }
  .row > :nth-child(5) {
    grid-area: prot;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
  }
  .row > :nth-child(5) .protein {
    flex-direction: row;
    align-items: center;
  }
  .row > :nth-child(5) .protein__price {
    margin-top: 0;
  }
  .row > :nth-child(6) {
    grid-area: thick;
  }
  .row > :nth-child(7) {
    grid-area: code;
  }
  .row > :nth-child(8) {
    grid-area: cta;
  }
  .toolbar__sep {
    display: none;
  }
  .mlabel {
    display: inline;
    font-size: 12px;
    color: var(--muted);
  }
  .reset {
    margin-left: 0;
  }
  .sizes {
    grid-column: 2 / -1;
  }
  .top .btn {
    padding: 8px 10px;
  }
  .brand p {
    font-size: 12px;
  }
}

/* Kontaktformular (/kontakt) */
.fb {
  max-width: 720px;
  margin: 24px 0 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.fb[hidden] {
  display: none;
}
.fb__group {
  border: 0;
  margin: 0 0 20px;
  padding: 0;
}
.fb__group[hidden] {
  display: none;
}
.fb__legend,
.fb__label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0;
}
.fb__kinds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.fb__kind {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 14px 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: var(--surface);
}
.fb__kind input {
  position: absolute;
  left: 14px;
  top: 16px;
  accent-color: var(--accent);
}
.fb__kind:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.fb__kind:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.fb__kind-title {
  font-weight: 700;
}
.fb__kind-text {
  font-size: 13px;
  color: var(--muted);
}
.fb__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fb__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.fb__chip[hidden] {
  display: none;
}
.fb__chip input {
  accent-color: var(--accent);
}
.fb__chip:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.fb__input {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.fb__input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: transparent;
}
textarea.fb__input {
  resize: vertical;
  min-height: 120px;
}
.fb__hint {
  font-size: 13px;
  margin: 6px 0 0;
}
.fb__hint:empty {
  display: none;
}
.fb__error {
  color: var(--bad);
  font-weight: 600;
  margin: 0 0 12px;
}
.fb__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.fb__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.foot__links a {
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 640px) {
  .fb {
    padding: 16px;
  }
}

/* Impressum & Datenschutz */
.legal {
  max-width: 760px;
  margin: 24px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 24px 20px;
  line-height: 1.6;
}
.legal h2 {
  font-size: 17px;
  margin: 22px 0 6px;
}
.legal a,
.fb__hint a {
  color: var(--accent);
}
/* Platzhalter, die vor dem Livegang ersetzt werden müssen */
.todo {
  background: var(--warn-soft);
  color: var(--warn);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

/* Ratgeber / häufige Fragen unter den Vergleichen (auch für Suchmaschinen) */
.guide {
  max-width: 820px;
  margin: 32px 0 8px;
}
.guide h2 {
  font-size: 20px;
  margin: 0 0 8px;
}
.guide h3 {
  font-size: 15px;
  margin: 18px 0 4px;
}
.guide p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}
.guide .seo-summary {
  margin-bottom: 8px;
}
