/* Fadeasy – Produktseite. Ein Stylesheet, keine Abhängigkeiten, Systemschriften. */

:root {
  --bg: #08080a;
  --bg-soft: #131318;
  --line: #26262e;
  --text: #f2f2f5;
  --muted: #a0a0ad;
  --accent: #ff9d2e;
  --accent-2: #4aa3ff;
  --accent-3: #d64aff;
  --radius: 16px;
  --wrap: 940px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); }
a:hover { color: #ffb45e; }

/* ---------- Kopf ---------- */

header.top {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(8, 8, 10, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  z-index: 10;
}

header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover { color: var(--text); }

.faders {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.faders i {
  width: 4px;
  border-radius: 2px;
  display: block;
}

.faders i:nth-child(1) { height: 40%; background: var(--accent); }
.faders i:nth-child(2) { height: 100%; background: var(--accent-2); }
.faders i:nth-child(3) { height: 68%; background: #d64aff; }

header.top nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

header.top nav a {
  color: var(--muted);
  text-decoration: none;
}

header.top nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */

.hero {
  padding: 84px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 400px at 15% -10%, rgba(255, 157, 46, 0.14), transparent 70%),
    radial-gradient(800px 420px at 85% 0%, rgba(74, 163, 255, 0.13), transparent 70%);
}

.hero h1 {
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-weight: 700;
}

.hero p.lead {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 30px;
}

.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255, 157, 46, 0.4);
  background: rgba(255, 157, 46, 0.09);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.hero .note {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Abschnitte ---------- */

section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

section h2 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 680;
}

section > .wrap > p.sub {
  color: var(--muted);
  max-width: 660px;
  margin: 0 0 36px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 640;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.dot {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  display: block;
  margin-bottom: 14px;
  background: var(--accent);
}

.card:nth-child(3n + 2) .dot { background: var(--accent-2); }
.card:nth-child(3n + 3) .dot { background: #d64aff; }

/* ---------- Voraussetzungen ---------- */

ul.plain {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

ul.plain li {
  padding-left: 26px;
  position: relative;
  color: var(--muted);
}

ul.plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

ul.plain li strong { color: var(--text); font-weight: 600; }

/* ---------- Rechtstexte ---------- */

.legal {
  padding: 56px 0 72px;
  border-bottom: none;
}

.legal h1 {
  font-size: clamp(30px, 5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 640;
  letter-spacing: -0.01em;
  margin: 36px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.legal h2:first-of-type { border-top: none; padding-top: 0; }

.legal p {
  color: var(--muted);
  margin: 0 0 12px;
  max-width: 720px;
}

.legal p.addr { line-height: 1.5; margin-bottom: 4px; }

/* ---------- Fuß ---------- */

footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 560px) {
  .hero { padding: 56px 0 44px; }
  section { padding: 48px 0; }
  header.top nav { gap: 14px; font-size: 14px; }
}

/* ---------- Modellseite ---------- */

.hero--klein { padding: 56px 0 44px; }
.hero--klein h1 { font-size: clamp(32px, 5.4vw, 48px); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
}

p.hinweis {
  color: var(--muted);
  font-size: 15px;
  margin: 28px 0 0;
  max-width: 720px;
}

/* Drei Schritte */

ol.schritte {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

ol.schritte li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

ol.schritte .nummer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 157, 46, 0.14);
  border: 1px solid rgba(255, 157, 46, 0.4);
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}

ol.schritte h3 { margin: 0 0 8px; font-size: 18px; font-weight: 640; }
ol.schritte p { margin: 0; color: var(--muted); font-size: 15.5px; }
ol.schritte strong { color: var(--text); font-weight: 600; }

/* Werkzeugleiste */

.werkzeugleiste {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.suche { flex: 1 1 260px; }

.suche input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 15px;
  -webkit-appearance: none;
  appearance: none;
}

.suche input:focus-visible,
.formular input:focus-visible,
.formular textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.knopf {
  display: inline-block;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #12120f;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 12px 20px;
  text-decoration: none;
  cursor: pointer;
}

.knopf:hover { background: #ffb45e; color: #12120f; }
.knopf[disabled] { opacity: 0.55; cursor: default; }

.knopf--leise {
  color: var(--text);
  background: var(--bg-soft);
  border-color: var(--line);
}

.knopf--leise:hover { background: #1b1b22; color: var(--text); }

/* Modell-Liste */

.modell-liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.modell {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.modell-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin-bottom: 14px;
}

.modell h4 {
  margin: 0;
  font-size: 17.5px;
  font-weight: 640;
  letter-spacing: -0.01em;
  flex: 1 1 auto;
}


.marke {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.marke--warnung {
  color: var(--accent);
  border-color: rgba(255, 157, 46, 0.45);
  background: rgba(255, 157, 46, 0.09);
}

.modus-reihe { display: flex; flex-wrap: wrap; gap: 8px; }

.modus {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 84px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #1b1b22;
  color: var(--text);
  text-decoration: none;
}

.modus:hover { border-color: var(--accent); color: var(--text); }
.modus strong { font-size: 15px; font-weight: 640; }
.modus span { font-size: 12.5px; color: var(--muted); }
.modus--warnung { border-style: dashed; }

.modell-hinweis {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.leer-hinweis { color: var(--muted); margin-top: 24px; }

/* Hersteller-Gruppen */

.such-stand {
  margin: -8px 0 20px;
  font-size: 14.5px;
  color: var(--muted);
}

.marken-sprung {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
}

.marken-sprung a {
  font-size: 14.5px;
  color: var(--text);
  text-decoration: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  white-space: nowrap;
}

.marken-sprung a:hover { border-color: var(--accent); color: var(--text); }
.marken-sprung small { color: var(--muted); font-size: 12.5px; margin-left: 4px; }

.marken-gruppe { margin-top: 36px; scroll-margin-top: 84px; }
.marken-gruppe:first-child { margin-top: 0; }

.marken-titel {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.marken-titel span { font-size: 14px; color: var(--muted); font-weight: 500; }

/* Auf meiner Liste */

details.geplant {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 20px;
}

details.geplant summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16px;
}

details.geplant summary span { color: var(--muted); font-weight: 400; margin-left: 4px; }
details.geplant[open] summary { border-bottom: 1px solid var(--line); }

.geplant-liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px 32px;
  padding: 18px 0 22px;
}

.geplant-marke h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 650; }
.geplant-marke ul { list-style: none; margin: 0; padding: 0; }
.geplant-marke li { font-size: 14.5px; padding: 3px 0; }
.geplant-marke li span { color: var(--muted); font-size: 13px; margin-left: 6px; }

/* Formular */

.formular { display: grid; gap: 16px; max-width: 720px; }

.feld-reihe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feld { display: grid; gap: 7px; }

.feld > span {
  font-size: 15px;
  font-weight: 600;
}

.feld em { color: var(--accent); font-style: normal; }
.feld em.leise { color: var(--muted); font-weight: 400; font-size: 14px; }

.formular input,
.formular textarea {
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 15px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.formular textarea { resize: vertical; line-height: 1.5; }
.formular input::placeholder,
.formular textarea::placeholder { color: #6e6e7d; }

.formular input[aria-invalid="true"] { border-color: #ff6b6b; }

.feld-honig {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formular-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 4px;
}

.datenschutz-kurz {
  font-size: 14px;
  color: var(--muted);
  flex: 1 1 260px;
}

.formular-meldung {
  margin: 0;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 15px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
}

.formular-meldung--gut {
  border-color: rgba(88, 204, 128, 0.45);
  background: rgba(88, 204, 128, 0.1);
  color: #9ee8b9;
}

.formular-meldung--schlecht {
  border-color: rgba(255, 107, 107, 0.45);
  background: rgba(255, 107, 107, 0.1);
  color: #ffb3b3;
}

@media (max-width: 560px) {
  .hero--klein { padding: 44px 0 36px; }

  /* Rang links, Name und Status darunter gestapelt - sonst reisst ein langer
     Modellname die Zeile auseinander. */
  .top-eintrag {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 6px 10px;
    align-items: start;
    padding: 13px 16px;
  }

  .top-rang { grid-row: 1 / span 2; text-align: left; width: auto; line-height: 1.5; }
  .top-name { grid-column: 2; }
  .top-status { grid-column: 2; justify-self: start; }
}
