/* ==========================================================================
   Pink Chilli Funnel Theme – Design-Tokens & Komponenten
   Tokens nach DESIGN.md (Google-Stitch-Export). Handgeschrieben, kein
   Build-Schritt, keine Fremd-Runtime (siehe README: "kein JS-Framework").
   ========================================================================== */

/* -- Selbst gehostete Schriften (statt Google-Fonts-Request, DSGVO) -- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/outfit-latin-variable.woff2") format("woff2");
}

:root {
  /* Farben */
  --pc-primary: #df107f;
  --pc-primary-hover: #c20d6e;
  --pc-primary-tint: #fdf2f8;
  --pc-ink: #1a1a1a;
  --pc-ink-soft: #5f5e5e;
  --pc-ink-faint: #71717a;
  --pc-trust-green: #1e7a16; /* >= 4,5:1 (WCAG AA) auf Weiß und den Tint-Flächen */
  --pc-trust-surface: #f0fdf4;
  --pc-error: #ba1a1a;
  --pc-error-surface: #fff1f2;
  --pc-star: #f5b400;
  --pc-surface: #ffffff;
  --pc-surface-backdrop: #f8fafc;
  --pc-surface-alt: #f4f2fd;
  --pc-border: #e4e4e7;
  --pc-inverse-surface: #2f3038;
  --pc-inverse-on-surface: #f1effa;
  /* Akzente für Spotlight-Sektionen (z. B. Schritt 1/2 eines Sets) und das
     Ersparnis-Badge – pro Site über company.yaml `colors:` überschreibbar
     (siehe docs/assets-css.md). Ohne Override: Primärfarbe bzw. Gelb. */
  --pc-accent-1: var(--pc-primary);
  --pc-accent-2: var(--pc-primary);
  --pc-on-accent: #ffffff;
  --pc-savings: #f0c417;
  --pc-on-savings: #1a1a1a;

  /* Typografie */
  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radien */
  --radius-control: 0.5rem;
  --radius-card: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 9999px;

  /* Abstände */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --gutter: 1.5rem;
  --margin: 2rem;

  /* Schatten (Elevation) */
  --shadow-1: 0 2px 8px rgba(26, 26, 26, 0.06);
  --shadow-2: 0 10px 24px rgba(26, 26, 26, 0.1);
  --shadow-3: 0 24px 48px rgba(0, 0, 0, 0.16);

  --max-width: 1200px;
  --header-height: 6.5rem;
}

@media (max-width: 640px) {
  :root {
    --gutter: 1rem;
    --margin: 1rem;
    --header-height: 5rem;
  }
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--pc-ink);
  background: var(--pc-surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--margin);
}

/* -- Sticky Ankündigungs- & Header-Leiste -- */

.top-bar {
  background: var(--pc-inverse-surface);
  color: var(--pc-inverse-on-surface);
}

.top-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xs) var(--margin);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  white-space: nowrap;
}

/* Handy: nur die erste Ankündigung zeigen – alle untereinander kosten
   sonst ~90px vom ersten Bildschirm. Die Reihenfolge in company.yaml
   (announcements) bestimmt also, was mobil zu sehen ist. */
@media (max-width: 767px) {
  .top-bar__item:nth-child(n + 2) {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pc-surface);
  box-shadow: var(--shadow-1);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md) var(--margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--pc-ink);
}

.site-header__logo img {
  height: 2.75rem;
  width: auto;
}

.site-header__service {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  font-size: 0.8rem;
  color: var(--pc-ink-soft);
  text-decoration: none;
}

.site-header__service strong {
  color: var(--pc-ink);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .site-header__service {
    display: none;
  }
}

/* -- Breadcrumb / Rating-Leiste -- */

.rating-strip {
  background: var(--pc-surface-backdrop);
  padding: var(--space-sm) 0;
}

.rating-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  color: var(--pc-ink-soft);
}

.stars {
  display: inline-flex;
  color: var(--pc-star);
  gap: 1px;
}

.stars .icon {
  width: 1.05em;
  height: 1.05em;
  fill: currentColor;
  stroke: none;
}

/* -- Sektionen -- */

.section {
  padding-block: var(--space-2xl);
}

.section--tight {
  /* padding-block statt "x 0": darf mit .wrap kombiniert werden
     (index.html: <article class="wrap section--tight">) */
  padding-block: var(--space-xl);
}

.section--alt {
  background: var(--pc-surface-backdrop);
}

.section--dark {
  background: var(--pc-inverse-surface);
  color: var(--pc-inverse-on-surface);
}

.section__head {
  max-width: 40rem;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.section__head--wide {
  max-width: 48rem;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pc-primary);
  margin-bottom: var(--space-xs);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

.section__subtitle {
  margin: var(--space-xs) 0 0;
  color: var(--pc-ink-soft);
}

@media (min-width: 640px) {
  .section__title {
    font-size: 2.5rem;
  }
}

/* -- Hero + Buy-Box -- */

.hero {
  padding: var(--space-xl) 0;
}

.hero__grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Einspaltig (Handy/Tablet): Kaufbox direkt unter das Produktbild ziehen,
   die Trust-Kacheln (.pillars) erst danach – sonst kommen Titel, Preis und
   Warenkorb-Button erst nach ~1,5 Bildschirmhöhen. Die linke Spalte wird
   per display: contents aufgelöst, damit Bild, Bildunterschrift, Kaufbox
   und Kacheln direkt Grid-Items sind und per order sortiert werden können.
   Reine Optik: DOM-Reihenfolge (und Desktop-Layout) bleiben unverändert. */
@media (max-width: 1023px) {
  .hero__grid {
    row-gap: 0;
  }

  .hero__grid > div:first-child {
    display: contents;
  }

  .hero__media { order: 1; }
  .hero__caption { order: 2; }
  .buybox { order: 3; margin-top: var(--space-lg); }
  .pillars { order: 4; }
}

.hero__media {
  position: relative;
  background: var(--pc-surface-backdrop);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  box-shadow: var(--shadow-1);
}

.hero__media-badges {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-control);
  background: var(--pc-primary);
  color: #fff;
  box-shadow: var(--shadow-1);
}

.badge--dark {
  background: var(--pc-inverse-surface);
  color: var(--pc-inverse-on-surface);
}

.hero__media-frame,
.hero__carousel {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--pc-surface);
}

.hero__media-frame {
  aspect-ratio: 1 / 1;
}

.hero__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__carousel {
  position: relative;
}

.hero__carousel-track {
  display: flex;
  aspect-ratio: 1 / 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero__carousel-track::-webkit-scrollbar {
  display: none;
}

.hero__carousel-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.hero__carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__carousel-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

.hero__carousel-nav:focus-visible {
  outline: 2px solid var(--pc-primary);
  outline-offset: -4px;
}

.hero__carousel-nav--prev {
  left: 0;
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='white' stroke='%23e4e4e7'/%3E%3Cpath d='M18 10l-6 6 6 6' fill='none' stroke='%23df107f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    16 16,
    w-resize;
}

.hero__carousel-nav--next {
  right: 0;
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='white' stroke='%23e4e4e7'/%3E%3Cpath d='M14 10l6 6-6 6' fill='none' stroke='%23df107f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    16 16,
    e-resize;
}

.hero__carousel-dots {
  position: absolute;
  left: 50%;
  bottom: var(--space-sm);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-1);
}

.hero__carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--pc-border);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero__carousel-dot.is-active {
  background: var(--pc-primary);
  transform: scale(1.25);
}

.hero__caption {
  margin-top: var(--space-sm);
  text-align: center;
  font-size: 0.85rem;
  color: var(--pc-ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
}

.hero__caption .icon {
  color: var(--pc-trust-green);
}

.pillars {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.pillar {
  display: flex;
  gap: var(--space-sm);
  background: var(--pc-surface-backdrop);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  box-shadow: var(--shadow-1);
}

.pillar__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-control);
  background: var(--pc-trust-surface);
  color: var(--pc-trust-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar__icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.pillar__title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.pillar p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--pc-ink-soft);
}

/* Lange deutsche Wörter ("Funktionsstörungen") dürfen die Kachel nicht
   sprengen – sonst lässt sich die ganze Seite auf dem Handy seitlich
   verschieben. */
.pillar > div {
  min-width: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Schmale Handys: Icon über den Text statt daneben, damit in der
   2-spaltigen Anordnung genug Breite für den Text bleibt. */
@media (max-width: 479px) {
  .pillar {
    flex-direction: column;
  }
}

.buybox {
  background: var(--pc-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.buybox__chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: var(--pc-primary-tint);
  color: var(--pc-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.buybox__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

@media (min-width: 640px) {
  .buybox__title {
    font-size: 2.25rem;
  }

  .buybox__hazards {
    gap: var(--space-xs);
  }

  .buybox__hazard-icon svg {
    width: 3.4rem;
    height: 3.4rem;
  }

  .buybox__hazard-label {
    font-size: 0.85rem;
  }

  .buybox__hazards-link {
    font-size: 0.78rem;
  }
}

.buybox__lead {
  margin: var(--space-xs) 0 0;
  color: var(--pc-ink-soft);
  font-size: 1.05rem;
}

.buybox__availability {
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: var(--pc-trust-surface);
  color: var(--pc-trust-green);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-control);
}

.buybox__hazards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs) var(--space-sm);
}

.buybox__hazard {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.buybox__hazard-icon svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.buybox__hazard-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--pc-ink-soft);
}

.buybox__hazards-link {
  display: block;
  margin-top: 0.3em;
  text-align: center;
  font-size: 0.72rem;
  color: var(--pc-ink-soft);
  text-decoration: underline;
}

.bundle-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pc-ink-soft);
}

.bundle-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.bundle {
  position: relative;
  display: block;
  border-radius: var(--radius-card);
  padding: var(--space-md);
  background: var(--pc-surface-backdrop);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bundle:hover {
  background: var(--pc-surface-alt);
}

.bundle.is-active {
  background: var(--pc-primary-tint);
  border-color: var(--pc-primary);
}

.bundle__badge {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  background: var(--pc-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-1);
}

.bundle__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
}

.bundle__main {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.bundle__radio {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--pc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bundle.is-active .bundle__radio {
  background: var(--pc-primary);
}

.bundle__radio-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: transparent;
}

.bundle.is-active .bundle__radio-dot {
  background: #fff;
}

.bundle__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.bundle__meta {
  display: block;
  font-size: 0.82rem;
  color: var(--pc-ink-soft);
}

.bundle__prices {
  text-align: right;
}

.bundle__price-old {
  font-size: 0.82rem;
  color: var(--pc-ink-soft);
  text-decoration: line-through;
  margin-right: 0.4em;
}

.bundle__price {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--pc-ink);
}

.bundle__unit-price {
  display: block;
  font-size: 0.75rem;
  color: var(--pc-ink-soft);
}

.bundle.is-active .bundle__price {
  color: var(--pc-primary);
}

.bundle__savings {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pc-trust-green);
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  border: none;
  background: var(--pc-primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-2);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.cta-button:hover {
  background: var(--pc-primary-hover);
}

.cta-button:active {
  transform: scale(0.98);
}

.cta-button .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.cta-note {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--pc-ink-soft);
}

.trust-row {
  background: var(--pc-surface-backdrop);
  border-radius: var(--radius-control);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.trust-row__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font-size: 0.78rem;
  color: var(--pc-ink-soft);
}

.trust-row__badges .icon {
  color: var(--pc-trust-green);
}

.trust-row__badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.payment-badges span {
  background: var(--pc-surface);
  font-size: 0.75rem;
  color: var(--pc-ink-soft);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-1);
}

/* -- Gesetzliche Gewährleistung (Link + Label-Popup, warranty-label.html) -- */

.warranty-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  align-self: center;
  font-size: 0.8rem;
  color: var(--pc-ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.warranty-link:hover {
  color: var(--pc-primary);
}

.warranty-link .icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.warranty-dialog {
  width: min(640px, 92vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-3);
  background: var(--pc-surface);
  overflow: auto;
  overscroll-behavior: contain;
}

.warranty-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.warranty-dialog img {
  display: block;
  width: 100%;
  height: auto;
}

.warranty-dialog__close {
  position: sticky;
  top: var(--space-sm);
  float: right;
  margin: var(--space-sm) var(--space-sm) calc(-2.5rem - var(--space-sm)) 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--pc-surface);
  color: var(--pc-ink);
  box-shadow: var(--shadow-2);
  cursor: pointer;
}

.warranty-dialog__more {
  margin: 0;
  padding: var(--space-md);
  font-size: 0.85rem;
  color: var(--pc-ink-soft);
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -- Vergleich -- */

.compare-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.compare-card {
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-lg);
}

.compare-card--negative {
  background: var(--pc-error-surface);
  box-shadow: var(--shadow-1);
}

.compare-card--positive {
  background: var(--pc-surface);
  box-shadow: var(--shadow-3);
}

.compare-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.compare-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.compare-card--negative .compare-card__icon {
  background: var(--pc-error);
}

.compare-card--positive .compare-card__icon {
  background: var(--pc-trust-green);
}

.compare-card__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.compare-card--negative .compare-card__head h3 {
  color: var(--pc-error);
}

.compare-card--positive .compare-card__head h3 {
  color: var(--pc-primary);
}

.compare-card__head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--pc-ink-soft);
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.compare-card--negative .compare-list .icon {
  color: var(--pc-error);
}

.compare-card--positive .compare-list .icon {
  color: var(--pc-trust-green);
}

.compare-list .icon {
  margin-top: 0.2em;
  flex-shrink: 0;
}

.compare-result {
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.compare-card--negative .compare-result {
  color: var(--pc-ink-soft);
}

.compare-card--positive .compare-result {
  background: var(--pc-trust-surface);
  color: var(--pc-trust-green);
  border-radius: var(--radius-control);
  padding: var(--space-sm);
}

/* -- Vorher/Nachher-Vergleichsslider -- */

.before-after-grid {
  display: grid;
  gap: var(--space-xl);
  justify-items: center;
}

.before-after-item {
  width: 100%;
  max-width: 34rem;
}

.before-after-item__head {
  margin-bottom: var(--space-sm);
  text-align: center;
}

.before-after-item__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.before-after-item__head p {
  margin: var(--space-xs) 0 0;
  font-size: 0.85rem;
  color: var(--pc-ink-soft);
}

.before-after__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--pc-surface);
  box-shadow: var(--shadow-2);
  cursor: ew-resize;
  touch-action: pan-y;
}

.before-after__image {
  position: absolute;
  inset: 0;
}

.before-after__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

.before-after__image--before {
  clip-path: inset(0 calc(100% - var(--ba-position, 50%)) 0 0);
}

.before-after__badge {
  position: absolute;
  top: var(--space-sm);
  z-index: 2;
}

.before-after__badge--before {
  left: var(--space-sm);
}

.before-after__badge--after {
  right: var(--space-sm);
}

.before-after__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-position, 50%);
  width: 2px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: var(--shadow-1);
  pointer-events: none;
}

.before-after__handle {
  position: absolute;
  top: 50%;
  left: var(--ba-position, 50%);
  transform: translate(-50%, -50%);
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: var(--pc-surface);
  color: var(--pc-primary);
  box-shadow: var(--shadow-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.before-after__handle:focus-visible {
  outline: 2px solid var(--pc-primary);
  outline-offset: 2px;
}

/* -- 3-Schritte-Anleitung -- */

.steps-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--pc-surface-backdrop);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.step-card__number {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--pc-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.step-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.step-card p {
  margin: 0;
  color: var(--pc-ink-soft);
}

.step-card__meta {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.78rem;
  color: var(--pc-ink-soft);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--pc-border);
}

.step-card__meta .icon {
  color: var(--pc-primary);
}

.tip-banner {
  margin-top: var(--space-xl);
  background: var(--pc-primary-tint);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.tip-banner__body {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.tip-banner__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-xl);
  background: var(--pc-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tip-banner h4 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.tip-banner p {
  margin: 0;
  color: var(--pc-ink-soft);
}

.tip-banner__cta {
  flex-shrink: 0;
  background: var(--pc-inverse-surface);
  color: var(--pc-inverse-on-surface);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-control);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Vier Schritte: auf dem Desktop 2x2 bzw. 4 nebeneinander statt 3+1. */
@media (min-width: 768px) {
  .steps-grid:has(> .step-card:nth-child(4)) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .steps-grid:has(> .step-card:nth-child(4)) {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -- Spotlight (Einzelprodukt, spotlights.yaml) -- */

.spotlight {
  background: var(--pc-accent-1);
  color: var(--pc-on-accent);
}

.spotlight--accent-2 {
  background: var(--pc-accent-2);
}

.spotlight__grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .spotlight__grid {
    grid-template-columns: 5fr 6fr;
    gap: var(--space-2xl);
  }

  /* Abwechselnd Bild links/rechts, damit zwei Spotlights hintereinander
     nicht gleich aussehen. */
  .spotlight--accent-2 .spotlight__media {
    order: 2;
  }
}

.spotlight__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  background: var(--pc-surface);
}

.spotlight__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.spotlight__step {
  align-self: flex-start;
  background: var(--pc-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
}

.spotlight__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .spotlight__title {
    font-size: 2.25rem;
  }
}

.spotlight__lead {
  margin: 0;
  font-size: 1.05rem;
  opacity: 0.9;
}

.spotlight__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.spotlight__points li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.spotlight__points .icon {
  flex-shrink: 0;
  margin-top: 0.15em;
  width: 1.2rem;
  height: 1.2rem;
}

.spotlight__points p {
  margin: 0;
}

.spotlight__hazards {
  justify-content: flex-start;
}

.spotlight .buybox__hazard-label {
  color: inherit;
  opacity: 0.85;
}

.spotlight__facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
  gap: var(--space-sm);
}

.spotlight__facts div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-control);
  padding: 0.6rem 0.8rem;
}

/* Kein text-transform: Labels wie "BAuA-Nr." müssen ihre Schreibweise
   behalten. */
.spotlight__facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
}

.spotlight__facts dd {
  margin: 0.1rem 0 0;
  font-weight: 600;
}

.spotlight__buy {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.spotlight__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.6rem;
}

.spotlight__price strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.spotlight__price span {
  font-size: 0.85rem;
  opacity: 0.85;
}

.cta-button--light {
  background: var(--pc-surface);
  color: var(--pc-ink);
}

.cta-button--light:hover {
  background: var(--pc-primary-tint);
}

.spotlight__upsell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs) var(--space-sm);
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: var(--space-xs) 0;
}

.spotlight__upsell-badge {
  background: var(--pc-savings);
  color: var(--pc-on-savings);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.spotlight__upsell-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.spotlight .biocide-notice {
  color: inherit;
  opacity: 0.8;
}

/* Ersparnis-Badge an einer Bundle-Kachel (bundles.yaml badge_style: savings) */
.bundle__badge--savings {
  background: var(--pc-savings);
  color: var(--pc-on-savings);
}

/* Biozid-Pflichthinweis (cta.yaml biocide_notice) */
.biocide-notice {
  margin: var(--space-xs) 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pc-ink-soft);
}

/* Auf dunklen Flächen (Schluss-CTA) muss der Pflichthinweis deutlich lesbar
   bleiben. */
.closing .biocide-notice {
  color: var(--pc-inverse-on-surface);
}

/* -- Spezifikationen -- */

.specs-grid {
  margin-top: var(--space-sm);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.spec-card {
  background: var(--pc-surface);
  border-radius: var(--radius-card);
  padding: var(--space-md);
  box-shadow: var(--shadow-1);
}

.spec-card span {
  display: block;
}

.spec-card .spec-card__label {
  font-size: 0.82rem;
  color: var(--pc-ink-soft);
}

.spec-card .spec-card__value {
  margin-top: 0.15rem;
  font-weight: 700;
}

/* -- Dokumente & Zertifikate -- */

.docs-card {
  max-width: 40rem;
  margin: 0 auto;
  background: var(--pc-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm);
  border-radius: var(--radius-control);
  background: var(--pc-surface-backdrop);
  text-decoration: none;
  color: inherit;
}

.doc-link:hover {
  background: var(--pc-surface-alt);
}

.doc-link__main {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.doc-link__main .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--pc-primary);
}

.doc-link strong {
  display: block;
  font-size: 0.9rem;
}

.doc-link small {
  color: var(--pc-ink-soft);
  font-size: 0.78rem;
}

.cert-banner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--pc-trust-surface);
  color: var(--pc-trust-green);
  padding: var(--space-sm);
  border-radius: var(--radius-control);
  font-size: 0.85rem;
}

/* -- Sicherheitshinweise -- */

.safety-notes {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  color: var(--pc-ink-soft);
  font-size: 0.9rem;
}

.safety-notes p {
  margin: 0;
}

.safety-pictograms {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.safety-pictogram svg {
  display: block;
  width: 4rem;
  height: 4rem;
}

/* -- Bewertungen -- */

.reviews-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--pc-surface-backdrop);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card__head time {
  font-size: 0.8rem;
  color: var(--pc-ink-soft);
}

.review-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.review-card p {
  margin: 0;
  color: var(--pc-ink-soft);
}

.review-card__footer {
  margin-top: auto;
  padding-top: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card__author strong {
  display: block;
  font-size: 0.9rem;
}

.review-card__author span {
  font-size: 0.78rem;
  color: var(--pc-ink-soft);
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  background: var(--pc-trust-surface);
  color: var(--pc-trust-green);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
}

/* -- FAQ -- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--pc-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-1);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  color: var(--pc-primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary .icon {
  transform: rotate(180deg);
}

.faq-item p {
  margin: var(--space-sm) 0 0;
  color: var(--pc-ink-soft);
}

/* -- Schluss-CTA -- */

.closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.closing__eyebrow {
  color: #ffb0ca;
}

.closing h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.closing p {
  margin: var(--space-xs) 0 0;
  opacity: 0.85;
}

.closing .cta-button {
  width: auto;
  padding: 1rem 2rem;
}

.closing__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.closing .warranty-link {
  color: var(--pc-inverse-on-surface);
  opacity: 0.85;
}

.closing .warranty-link:hover {
  color: #ffb0ca;
  opacity: 1;
}

/* -- Sticky Mobile Bar -- */

.sticky-bar {
  display: none;
}

@media (max-width: 767px) {
  .sticky-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: var(--space-sm) var(--gutter);
    padding-bottom: max(var(--space-sm), env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  }

  body {
    padding-bottom: 5rem;
  }
}

.sticky-bar__price {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sticky-bar__price strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.sticky-bar__price span {
  font-size: 0.72rem;
  color: var(--pc-ink-soft);
}

.sticky-bar .cta-button {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

/* -- Footer -- */

.site-footer {
  background: var(--pc-surface-backdrop);
  border-top: 1px solid var(--pc-border);
  margin-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
  /* nur oben/unten – die seitlichen Abstände kommen von .wrap */
  padding-block: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 var(--space-sm);
}

.footer-col p,
.footer-col li {
  color: var(--pc-ink-soft);
  font-size: 0.88rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-col ul a {
  text-decoration: none;
}

.footer-col ul a:hover {
  color: var(--pc-primary);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-brand img {
  height: 2rem;
  width: auto;
  /* Logo als Raster mit weißem Hintergrund (logo.webp/png): auf dem
     leicht grauen Footer weiß "ausblenden" statt Kasten zu zeigen. */
  mix-blend-mode: multiply;
}

.footer-trust {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-trust .icon {
  color: var(--pc-trust-green);
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--pc-border);
  padding-block: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--pc-ink-soft);
}

.footer-bottom nav {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom nav a {
  text-decoration: none;
}

.footer-bottom nav a:hover {
  color: var(--pc-ink);
}

/* -- Einfache Textseiten (Fallback-Single, Legal-Seiten) -- */

.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--space-xl) var(--margin);
}

.page--legal h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-top: 2rem;
}

/* -- Ratgeber (layouts/ratgeber/, partials/guide-list.html) -- */

.guide h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-top: 2.25rem;
}

.guide__crumbs,
.guide__meta {
  font-size: 0.85rem;
  color: var(--pc-ink-faint);
}

.guide__crumbs a {
  color: inherit;
}

.guide__summary {
  background: var(--pc-primary-tint);
  border-left: 4px solid var(--pc-primary);
  border-radius: var(--radius-control);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
}

.guide__summary p {
  display: inline;
  margin: 0;
}

.guide table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}

.guide th,
.guide td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--pc-border);
}

.guide th {
  background: var(--pc-surface-backdrop);
}

.guide__cta {
  margin: var(--space-xl) 0 var(--space-md);
  text-align: center;
}

.guide-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
  display: grid;
  gap: var(--space-sm);
}

.guide-list li {
  border: 1px solid var(--pc-border);
  border-radius: var(--radius-card);
  padding: var(--space-sm) var(--space-md);
  background: var(--pc-surface);
}

.guide-list a {
  font-weight: 700;
  color: var(--pc-ink);
}

.guide-list p {
  margin: 0.25rem 0 0;
  color: var(--pc-ink-soft);
}

.guide--embedded {
  max-width: 42rem;
  margin: 0 auto;
}

/* -- Optionaler Markdown-Freitext unterhalb der Sektionen (index.html) -- */

.landing h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.landing ul {
  padding-left: 1.25rem;
}
