/* ============================================================
   powerply — Design Tokens & Styles
   Quelle: Brand-Playbook „powerply / EP 01" (2026) → DESIGN.md
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Magnetik";
  src: url("fonts/Magnetik-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Primärfarben (Brandguide) */
  --green: #cbf93d;        /* Electric Green — nur aktivierende Akzente/CTAs */
  --bluegrey: #d6e2e2;     /* Blue Grey — ruhige, technische Flächen */
  --dark: #22242a;         /* Dark Blue — Text, dunkle Flächen */
  --white: #ffffff;

  /* Sekundär: definierte Tints */
  --bluegrey-20: color-mix(in srgb, var(--bluegrey) 20%, white);
  --bluegrey-40: color-mix(in srgb, var(--bluegrey) 40%, white);
  --bluegrey-60: color-mix(in srgb, var(--bluegrey) 60%, white);
  --dark-10: color-mix(in srgb, var(--dark) 10%, white);
  --dark-20: color-mix(in srgb, var(--dark) 20%, white);
  --dark-30: color-mix(in srgb, var(--dark) 30%, white);
  --text-muted: color-mix(in srgb, var(--dark) 62%, white);

  /* Typo */
  --font-display: "Magnetik", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", "Helvetica Neue", Arial, sans-serif;

  /* Geometrie */
  --radius-card: 22px;
  --radius-pill: 999px;
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;              /* Body: 140 % LH (Playbook) */
  letter-spacing: 0;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* Headlines: Magnetik, 120 % LH, −2 % LS — max. 2 Instanzen je Sicht */
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
}
p { margin: 0; }
.muted { color: var(--text-muted); }

/* ---------- Bausteine ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--dark); }
.btn-primary:hover { box-shadow: 0 6px 18px rgb(203 249 61 / 45%); }
.btn-ghost { background: var(--white); color: var(--dark); border-color: var(--dark-10); }
.btn-ghost:hover { border-color: var(--dark-30); }

.chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--dark-10);
}

.bolt-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bolt-badge img { width: 20px; height: 26px; }

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* Foto-Visuals: echtes Foto als Kartenfläche, UI-Mockups schweben darüber */
.photo-visual { position: relative; }
.photo-visual > img.photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-visual > :not(img.photo) { position: relative; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dark-10);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-header .brand img { height: 30px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease;
}
.site-nav a:hover { background: var(--bluegrey-40); }
.site-nav .btn { margin-left: 10px; }

/* ---------- Hero ---------- */
.hero { background: var(--bluegrey-40); padding: 26px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}
.hero-copy {
  background: var(--bluegrey-60);
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.hero-copy .sub { max-width: 46ch; font-size: 1.05rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { min-height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-visual.photo-visual { min-height: 480px; }

/* ---------- Webshop-Hero ---------- */
.shop-hero { background: var(--bluegrey-40); padding: clamp(28px, 4vw, 52px) 0 clamp(40px, 5vw, 64px); }
.shop-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.shop-hero-copy .eyebrow { margin-bottom: 18px; }
.shop-hero-copy h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.shop-hero-copy .sub { max-width: 48ch; font-size: 1.05rem; margin-top: 18px; }
.shop-hero-copy .sub strong { color: var(--dark); font-weight: 500; }

.searchbar {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--dark-10);
  border-radius: var(--radius-pill);
  padding: 7px 7px 7px 18px;
  margin-top: 26px;
  box-shadow: 0 12px 30px rgb(34 36 42 / 6%);
  max-width: 480px;
}
.searchbar .search-icon { width: 20px; height: 20px; color: var(--text-muted); flex: none; }
.searchbar input {
  flex: 1; border: 0; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 1rem; color: var(--dark); min-width: 0;
}
.searchbar input::placeholder { color: var(--text-muted); }
.searchbar .btn { flex: none; }
.shop-hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.cat-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cat-eyebrow { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.cat-hint {
  font-size: 0.72rem; font-weight: 500; color: var(--dark);
  background: var(--green); padding: 4px 10px; border-radius: var(--radius-pill);
}
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: var(--white); border: 1px solid var(--dark-10);
  border-radius: 16px; padding: 16px 16px 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cat-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgb(34 36 42 / 9%); border-color: var(--dark-20); }
.cat-tile:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }
.cat-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--bluegrey-40); color: var(--dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.cat-icon svg { width: 22px; height: 22px; }
.cat-name { font-weight: 500; font-size: 0.98rem; line-height: 1.2; }
.cat-sub { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- Hero: ganzflächiges Foto, Text zentriert ---------- */
.hero-shot {
  position: relative;
  padding: clamp(52px, 7vw, 104px) 0 clamp(96px, 10vw, 150px);
  background: var(--bluegrey-40);
  overflow: hidden;
  text-align: center;
}
.hero-shot-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
}
/* Dunkler Schleier: das Motiv ist kontrastreich und dunkel, deshalb helle
   Schrift. Oben dichter fuer die Headline, unten offen fuer die Monteure. */
.hero-shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgb(20 22 26 / 78%) 0%,
    rgb(20 22 26 / 66%) 42%,
    rgb(20 22 26 / 42%) 70%,
    rgb(20 22 26 / 28%) 100%);
}
.hero-shot-inner { position: relative; z-index: 1; }
/* Helle Schrift, weil der Schleier dunkel ist */
.hero-shot-eyebrow {
  font-size: 0.95rem; font-weight: 500; margin: 0 0 14px;
  color: rgb(255 255 255 / 88%);
}
.hero-shot h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  max-width: 16ch; margin: 0 auto; text-wrap: balance;
  color: var(--white);
  text-shadow: 0 1px 24px rgb(15 17 20 / 45%);
}
.hero-shot .sub {
  max-width: 54ch; margin: 20px auto 0; font-size: 1.05rem;
  color: rgb(255 255 255 / 82%);
  text-shadow: 0 1px 16px rgb(15 17 20 / 55%);
}
/* Positionierung im Neongrün hervorgehoben */
.hero-shot .sub strong { color: var(--green); font-weight: 500; }
.hero-shot .hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.hero-shot-steps {
  position: absolute; left: 50%; bottom: clamp(22px, 3vw, 34px); transform: translateX(-50%);
  z-index: 2; margin: 0; list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px;
  background: var(--white); border-radius: var(--radius-pill);
  padding: 11px 24px; box-shadow: 0 14px 34px rgb(34 36 42 / 14%);
  max-width: calc(100% - 2 * var(--gutter));
  font-size: 0.85rem; font-weight: 500;
}
.hero-shot-steps li { display: inline-flex; align-items: center; gap: 8px; }
.hero-shot-steps li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex: none;
}

/* ---------- Gegenüberstellung: ohne / mit powerply ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); margin-top: 44px; }
.compare-card {
  background: var(--white); border: 1px solid var(--dark-10);
  border-radius: var(--radius-card);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column;
}
.compare-card.is-after { border-color: var(--dark-20); box-shadow: 0 18px 44px rgb(34 36 42 / 7%); }
.compare-card h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.1rem; }
.compare-curve { width: 100%; height: auto; margin: 26px 0 30px; color: var(--dark); }

.compare-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.compare-list li { position: relative; padding-left: 30px; font-size: 0.95rem; }
/* Ohne: neutraler Strich. Mit: grüner Haken. */
.is-before .compare-list li { color: var(--text-muted); }
.is-before .compare-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 14px; height: 2px; border-radius: 2px; background: var(--dark-20);
}
.is-after .compare-list li::before {
  content: ""; position: absolute; left: 0; top: 0.15em;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322242a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.compare-sum {
  margin-top: auto; padding-top: 22px;
  border-top: 1px solid var(--dark-10);
  font-weight: 500; font-size: 0.95rem;
}
.is-before .compare-sum { color: var(--text-muted); }

/* Hero-Foto: Installateur statt Produktkacheln. Badge trägt das Eigenständigkeits-Versprechen. */
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-badge {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgb(34 36 42 / 82%);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 0.82rem; font-weight: 500; color: var(--white);
}
.hero-photo-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex: none;
}

/* Rechnet sich: heller Abschnitt, Grafik rechts */
.economics { background: var(--bluegrey-20); }
.economics h2 { margin-top: 4px; }
.economics .lead { margin-top: 18px; }

/* Sortiments-Zeile im Hero: zeigt die Warenwelt, ohne ins Leere zu verlinken */
.assortment { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--dark-10); }
.assortment-label {
  display: block; margin-bottom: 10px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted);
}
.assortment-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 7px;
}
.assortment-list li {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--dark-10);
}

/* ---------- Hero-Visual: Wirtschaftlichkeit je Projekt ---------- */
.econ {
  border: 1px solid var(--dark-10);
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: 0 18px 44px rgb(34 36 42 / 8%);
}
.econ-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.econ-eyebrow { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.econ-hint {
  font-size: 0.72rem; font-weight: 500; color: var(--dark);
  background: var(--green); padding: 4px 10px; border-radius: var(--radius-pill);
  white-space: nowrap;
}

.econ-journey {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  position: relative;
}
/* durchgehende Linie hinter den Stationen */
.econ-journey::before {
  content: ""; position: absolute; left: 12%; right: 12%; top: 19px;
  border-top: 1px dashed var(--dark-20);
}
.econ-journey li {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.econ-step-icon {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: var(--bluegrey-40); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
}
.econ-journey li:last-child .econ-step-icon { background: var(--green); }
.econ-step-icon svg { width: 20px; height: 20px; }
.econ-step-label { font-size: 0.78rem; font-weight: 500; line-height: 1.2; }

.econ-bars { margin-top: 24px; display: grid; gap: 14px; }
.econ-bar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.econ-bar-name { font-size: 0.85rem; font-weight: 500; }
.econ-bar-value { font-size: 0.74rem; color: var(--text-muted); }
.econ-bar-value.up { color: var(--dark); font-weight: 500; }
.econ-track { height: 12px; border-radius: var(--radius-pill); background: var(--bluegrey-40); overflow: hidden; }
.econ-fill { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--dark-20); }
.econ-fill.is-up { background: var(--green); }

.econ-legend {
  list-style: none; margin: 20px 0 0; padding: 16px 0 0;
  border-top: 1px solid var(--dark-10);
  display: grid; gap: 8px;
  font-size: 0.82rem; color: var(--text-muted);
}
.econ-legend li { position: relative; padding-left: 18px; }
.econ-legend li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.econ-note { margin-top: 14px; font-size: 0.7rem; color: var(--text-muted); }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head h2 { text-wrap: balance; }
.section-head .lead { max-width: 44ch; }
.section-head .cta-row { margin-top: 22px; }
.eyebrow { margin-bottom: 18px; }

/* Feature-Cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature .visual {
  border-radius: var(--radius-card);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feature h3 { margin: 20px 0 8px; }
.feature p { color: var(--text-muted); max-width: 40ch; }

/* ---------- Modul-Explorer ---------- */
.modules { background: var(--bluegrey-20); }
.module-explorer {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 22px;
  align-items: stretch;
}
.bolt-badge.sm { width: 40px; height: 40px; border-radius: 10px; }
.bolt-badge.sm img { width: 15px; height: 20px; }

.module-nav {
  background: var(--bluegrey-40);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.module-nav-head { display: flex; align-items: center; gap: 12px; padding: 8px 10px 14px; }
.module-nav-title { font-size: 1.3rem; }

.module-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 13px 14px;
  border-radius: 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--dark);
  transition: background 0.15s ease;
}
.module-item:hover { background: rgb(255 255 255 / 50%); }
.module-item.is-active { background: var(--white); box-shadow: 0 6px 22px rgb(34 36 42 / 8%); }
.module-item:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }
.module-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgb(255 255 255 / 60%);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.module-item.is-active .module-icon { background: var(--bluegrey-40); }
.module-icon svg { width: 21px; height: 21px; }
.module-label { flex: 1; font-weight: 500; }
.module-chevron { opacity: 0; transition: opacity 0.15s ease; }
.module-chevron svg { width: 20px; height: 20px; display: block; }
.module-item.is-active .module-chevron { opacity: 0.45; }

.module-panels { position: relative; }
.module-panel {
  border: 1px solid var(--dark-10);
  padding: clamp(28px, 4vw, 48px);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.module-panel[hidden] { display: none; }
.module-panel.is-active { animation: panel-in 0.28s ease; }
.module-panel-kicker {
  font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500;
}
.module-panel h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; letter-spacing: -0.02em;
  margin: 12px 0 16px;
}
.module-panel p { color: var(--text-muted); font-size: 1.08rem; max-width: 46ch; }
.module-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.module-tags span {
  font-size: 0.85rem; font-weight: 500; padding: 7px 14px;
  border-radius: var(--radius-pill); background: var(--bluegrey-40); color: var(--dark);
}

/* ---------- Pain → Value ---------- */
.value-card {
  border: 1px solid var(--dark-10);
  padding: clamp(24px, 4vw, 44px);
}
.value-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  border-bottom: 1px solid var(--dark-10);
  padding-bottom: 20px; margin-bottom: 30px;
}
.value-tab {
  border: 0; background: var(--bluegrey-20); color: var(--dark);
  font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
  padding: 10px 20px; border-radius: var(--radius-pill); cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.value-tab:hover { background: var(--bluegrey-40); }
.value-tab.is-active { background: var(--dark); color: var(--white); }
.value-tab:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }
.value-panel {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 28px);
}
.value-panel[hidden] { display: none; }
.value-panel.is-active { animation: panel-in 0.28s ease; }
.value-pain, .value-gain {
  display: flex; flex-direction: column; gap: 12px;
  border-radius: 16px; padding: clamp(22px, 3vw, 30px);
}
.value-pain { background: var(--bluegrey-20); }
.value-gain { background: color-mix(in srgb, var(--green) 16%, white); }
.value-kicker {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 600; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.value-kicker.green { color: var(--dark); }
.value-kicker.green::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 30%, white);
}
.value-pain p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }
.value-gain p { color: var(--dark); font-size: 1.05rem; margin: 0; }

/* ---------- Marken-Laufband ---------- */
.brands { background: var(--bluegrey-20); padding: clamp(44px, 6vw, 68px) 0; }
.brands-head { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.brands-head p { font-size: 0.98rem; margin: 0; max-width: 60ch; }
.marquee {
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex; align-items: center; width: max-content;
  gap: clamp(34px, 5vw, 74px);
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: clamp(26px, 3vw, 36px);
  width: auto;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.marquee-track img:hover { opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Manifest ---------- */
.manifest { background: var(--dark); color: var(--white); }
.manifest .quote {
  color: var(--dark-30);
  max-width: 22ch;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}
.manifest .quote strong { color: var(--white); font-weight: 400; }
.manifest .attrib {
  display: flex; justify-content: center; margin-top: 34px;
}
.manifest .attrib .chip { background: transparent; border-color: rgb(255 255 255 / 22%); color: var(--white); }

/* ---------- Warteliste ---------- */
.waitlist { background: var(--bluegrey-40); }
.waitlist-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: clamp(36px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.waitlist-card .lead { margin-top: 16px; max-width: 42ch; }
.waitlist-form { display: flex; flex-direction: column; gap: 14px; }
.waitlist-form[hidden] { display: none; }
.waitlist-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.waitlist-form .form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.waitlist-form label { font-size: 0.85rem; font-weight: 500; }
.waitlist-form label .optional,
.waitlist-form label .hint { font-weight: 400; color: var(--text-muted); }
.waitlist-form input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--dark-20);
  background: var(--bluegrey-20);
  color: var(--dark);
  outline: none;
  width: 100%;
}
.waitlist-form input:focus { border-color: var(--dark); }
.waitlist-form .btn { justify-content: center; }
.waitlist-form .btn:disabled { opacity: 0.6; cursor: default; }
.waitlist-form .privacy { font-size: 0.78rem; color: var(--text-muted); }
.waitlist-form .form-error {
  font-size: 0.85rem;
  color: #b3261e;
  background: rgb(179 38 30 / 8%);
  border: 1px solid rgb(179 38 30 / 25%);
  border-radius: 12px;
  padding: 10px 14px;
}
.waitlist-form .form-error a { text-decoration: underline; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bluegrey-20);
  border-radius: var(--radius-card);
  padding: 40px 28px;
  outline: none;
  animation: success-in 0.35s ease-out both;
}
.form-success[hidden] { display: none; }
.form-success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--dark);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 0 0 10px rgb(203 249 61 / 30%);
}
.form-success h3 { font-size: 1.5rem; }
.form-success p { margin-top: 10px; max-width: 40ch; margin-inline: auto; }
@keyframes success-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Rechtstexte (Impressum etc.) ---------- */
.legal { padding-top: clamp(40px, 6vw, 72px); }
.legal .eyebrow { margin-bottom: 18px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.15rem; margin-top: 38px; }
.legal p { max-width: 68ch; margin-top: 14px; color: var(--text-muted); }
.legal .legal-back { margin-top: 44px; }
.legal .legal-back a { border-bottom: 1px solid var(--dark-20); }
.legal .legal-back a:hover { border-bottom-color: var(--dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--white); padding: 56px 0 40px; }
.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
  flex-wrap: wrap;
}
.footer-brand { max-width: 38ch; }
.site-footer .brand img { height: 24px; }
.site-footer .claim { color: var(--dark-30); margin-top: 14px; font-size: 0.95rem; }
.footer-operator { color: rgb(255 255 255 / 45%); margin-top: 14px; font-size: 0.82rem; }
.footer-mail {
  display: inline-block; margin-top: 14px; font-size: 0.85rem;
  color: var(--dark-30); border-bottom: 1px solid rgb(255 255 255 / 20%);
}
.footer-mail:hover { color: var(--white); border-bottom-color: var(--white); }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem; margin: 0 0 14px;
}
.footer-links {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 9px;
  font-size: 0.85rem; color: var(--dark-30);
}
.footer-links a:hover { color: var(--white); }
.footer-meta {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.78rem; color: rgb(255 255 255 / 45%);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .section-head, .waitlist-card { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .shop-hero-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .module-explorer { grid-template-columns: 1fr; }
  .value-panel { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; }
  .site-nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .searchbar { max-width: none; }
  .econ-journey { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .econ-journey::before { display: none; }
  /* Schritt-Pille im Hero: auf schmalen Screens in den Fluss statt überlagernd */
  .hero-shot { padding-bottom: clamp(28px, 6vw, 40px); }
  /* Schmales Fenster schneidet seitlich zu: Ausschnitt nach rechts ziehen,
     damit die Monteure im Bild bleiben */
  .hero-shot-bg { object-position: 74% 45%; }
  /* relative statt static, sonst greift z-index nicht und der Verlauf deckt die Pille ab */
  .hero-shot-steps {
    position: relative; left: auto; bottom: auto; transform: none;
    margin: 32px auto 0; width: fit-content;
    box-shadow: none; border: 1px solid var(--dark-10);
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
  .marquee-track img[aria-hidden] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .module-panel.is-active, .value-panel.is-active, .form-success { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Einwilligung Reichweitenmessung ---------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 0 var(--gutter) clamp(14px, 2vw, 22px);
  display: flex; justify-content: center;
}
.consent[hidden] { display: none; }
.consent-card {
  width: 100%; max-width: 760px;
  background: var(--white);
  border: 1px solid var(--dark-10);
  border-radius: var(--radius-card);
  box-shadow: 0 22px 54px rgb(34 36 42 / 18%);
  padding: clamp(18px, 2.2vw, 24px);
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px);
}
.consent-title { font-weight: 500; font-size: 1rem; margin: 0 0 6px; }
.consent-text { margin: 0; font-size: 0.88rem; line-height: 1.45; color: var(--text-muted); }
.consent-text a { border-bottom: 1px solid var(--dark-20); }
.consent-text a:hover { border-bottom-color: var(--dark); }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent-actions .btn { white-space: nowrap; }
.footer-meta a { border-bottom: 1px solid rgb(255 255 255 / 25%); }
.footer-meta a:hover { color: var(--white); border-bottom-color: var(--white); }

@media (max-width: 700px) {
  .consent-card { flex-direction: column; align-items: stretch; }
  .consent-actions .btn { flex: 1; text-align: center; }
}

/* Rechtstexte: Hinweiskasten und Zwischenüberschriften */
.legal-meta { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; }
.legal-hinweis {
  margin-top: 22px; padding: 16px 20px;
  background: var(--bluegrey-20); border-radius: 12px;
  font-size: 0.9rem;
}
.legal h3 { font-size: 1rem; margin-top: 26px; }
.legal ul { max-width: 68ch; margin-top: 12px; padding-left: 22px; display: grid; gap: 8px; }
.legal li { color: var(--text-muted); font-size: 0.95rem; }
.legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em; background: var(--bluegrey-20); padding: 1px 6px; border-radius: 5px;
}
