:root {
  --bg: #0f0d12;
  --surface: #1a1620;
  --surface-2: #231d2b;
  --line: #342b3e;
  --text: #f3eef6;
  --muted: #b3a8bd;
  --accent: #e0577f;
  --accent-2: #f39ab4;
  --ok: #63c79a;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 Inter, system-ui, sans-serif;
}
a { color: var(--accent-2); }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Werbehinweis + Navigation */
.notice { background: var(--surface-2); color: var(--muted); font-size: 13px; text-align: center; padding: 8px 16px; }
header.nav { position: sticky; top: 0; z-index: 10; background: rgba(15,13,18,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { font-family: "Playfair Display", serif; font-size: 22px; font-weight: 700; color: var(--text); text-decoration: none; }
.logo span { color: var(--accent); }
nav { margin-left: auto; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
nav a:hover { color: var(--text); }
@media (max-width: 720px) { nav { display: none; } }

/* Sprachumschalter */
.lang { display: flex; gap: 2px; }
.lang a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; padding: 4px 7px; border-radius: 6px; }
.lang a:hover { color: var(--text); }
.lang a.active { background: var(--surface-2); color: var(--text); }

/* Hero */
.hero {
  position: relative; padding: 96px 0 80px; min-height: 520px;
  background:
    linear-gradient(90deg, rgba(15,13,18,.96) 0%, rgba(15,13,18,.82) 38%, rgba(15,13,18,.15) 70%, rgba(15,13,18,0) 100%),
    url("img/hero.jpg") right top / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(15,13,18,.96) 0%, rgba(15,13,18,.82) 38%, rgba(15,13,18,.15) 70%, rgba(15,13,18,0) 100%),
    image-set(url("img/hero.webp") type("image/webp"), url("img/hero.jpg") type("image/jpeg")) right top / cover no-repeat;
}
.hero::after {
  content: "KI-generiertes Symbolbild · AI-generated image";
  position: absolute; right: 12px; bottom: 8px; z-index: 2;
  font-size: 11px; color: rgba(243,238,246,.55);
}

/* Bewegter Kopfbereich: drei Bilder blenden ineinander und zoomen langsam heran.
   Der Hintergrund von .hero bleibt als Standbild darunter, falls die Animation nicht läuft. */
.hero { overflow: hidden; }
.hero > .wrap { position: relative; z-index: 2; }
/* Bildfläche beginnt etwas rechts, damit die Frau weiter vom Text wegrückt */
.hero-slides { position: absolute; inset: 0 -14% 0 22%; z-index: 0; }
.hero-slides span {
  position: absolute; inset: 0; opacity: 0;
  /* oben ausrichten und vom Gesicht aus zoomen, damit der Kopf auf breiten Bildschirmen nicht abgeschnitten wird */
  background-position: right top; background-size: cover; background-repeat: no-repeat;
  transform-origin: 70% 15%;
  animation: heroSlide 18s ease-in-out infinite both;
}
.hero-slides span:nth-child(1) { background-image: url("img/hero.jpg"); background-image: image-set(url("img/hero.webp") type("image/webp"), url("img/hero.jpg") type("image/jpeg")); }
.hero-slides span:nth-child(2) { background-image: url("img/hero-buch.jpg"); background-image: image-set(url("img/hero-buch.webp") type("image/webp"), url("img/hero-buch.jpg") type("image/jpeg")); animation-delay: 6s; }
.hero-slides span:nth-child(3) { background-image: url("img/hero-brille.jpg"); background-image: image-set(url("img/hero-brille.webp") type("image/webp"), url("img/hero-brille.jpg") type("image/jpeg")); animation-delay: 12s; }
/* Bewegtes Hero-Video (Hailuo) liegt über der Bilder-Schleife; ohne Video bleibt die Schleife sichtbar */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right top;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(15,13,18,.96) 0%, rgba(15,13,18,.82) 38%, rgba(15,13,18,.15) 70%, rgba(15,13,18,0) 100%);
}
@keyframes heroSlide {
  0%   { opacity: 0; transform: scale(1); }
  6%   { opacity: 1; }
  33%  { opacity: 1; }
  40%  { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides span { animation: none; }
  .hero-slides span:nth-child(1) { opacity: 1; }
  .hero-video { display: none; }
}
@media (max-width: 720px) {
  .hero {
    min-height: 0; padding: 64px 0 56px;
    background:
      linear-gradient(180deg, rgba(15,13,18,.25) 0%, rgba(15,13,18,.75) 45%, rgba(15,13,18,.95) 75%),
      url("img/hero-mobil.jpg") 70% top / cover no-repeat;
    background:
      linear-gradient(180deg, rgba(15,13,18,.25) 0%, rgba(15,13,18,.75) 45%, rgba(15,13,18,.95) 75%),
      image-set(url("img/hero-mobil.webp") type("image/webp"), url("img/hero-mobil.jpg") type("image/jpeg")) 70% top / cover no-repeat;
  }
  .hero-slides { left: 0; right: 0; }
  .hero-slides span { background-position: 70% top; }
  .hero-video { object-position: 70% top; }
  .hero-slides span:nth-child(1) { background-image: url("img/hero-mobil.jpg"); background-image: image-set(url("img/hero-mobil.webp") type("image/webp"), url("img/hero-mobil.jpg") type("image/jpeg")); }
  .hero-slides span:nth-child(2) { background-image: url("img/hero-buch-mobil.jpg"); background-image: image-set(url("img/hero-buch-mobil.webp") type("image/webp"), url("img/hero-buch-mobil.jpg") type("image/jpeg")); }
  .hero-slides span:nth-child(3) { background-image: url("img/hero-brille-mobil.jpg"); background-image: image-set(url("img/hero-brille-mobil.webp") type("image/webp"), url("img/hero-brille-mobil.jpg") type("image/jpeg")); }
  .hero::before { background: linear-gradient(180deg, rgba(15,13,18,.25) 0%, rgba(15,13,18,.75) 45%, rgba(15,13,18,.95) 75%); }
}
.hero h1 { font-size: clamp(32px, 5vw, 54px); max-width: 780px; }
.hero p { color: var(--muted); font-size: 18px; max-width: 640px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--muted); }

.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 10px; transition: transform .15s, background .15s; }
.btn:hover { background: #c94469; transform: translateY(-1px); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }

section { padding: 56px 0; }
.lead { color: var(--muted); max-width: 720px; }

/* Vergleichstabelle */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td .btn { padding: 8px 14px; font-size: 14px; white-space: nowrap; }
.tag { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: rgba(99,199,154,.15); color: var(--ok); margin: 2px 4px 2px 0; }

/* Karten */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card h3 { font-size: 22px; }
.card .meta { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.card ul { padding-left: 18px; margin: 0 0 20px; color: var(--muted); }
.card .btn { margin-top: auto; text-align: center; }
.rank { color: var(--accent); font-weight: 600; font-size: 14px; }

/* Ratgeber */
.guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.guide article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.guide article p { color: var(--muted); margin: 0; }
.article-link { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.article-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.article-link p { color: var(--muted); margin: 0 0 12px; }
.article-link span { color: var(--accent-2); font-weight: 600; font-size: 14px; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 12px 0 0; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 16px; }

/* Altersabfrage */
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(8,6,10,.96); display: flex; align-items: center; justify-content: center; padding: 16px; }
.age-gate[hidden] { display: none; }
.age-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; max-width: 440px; text-align: center; }
.age-box p { color: var(--muted); }
.age-box .btn { margin: 8px 4px 0; }

/* ===== Farbiges Design: Pink, Violett und Roségold statt nur Schwarz ===== */
:root {
  --bg: #130c1a;
  --surface: #1f1428;
  --surface-2: #2a1a36;
  --line: #3d2850;
  --violet: #8b5cf6;
  --rose-gold: #f0b7a4;
}
body {
  background:
    radial-gradient(1100px 650px at 8% -8%, rgba(224,87,127,.22), transparent 60%),
    radial-gradient(900px 700px at 105% 35%, rgba(139,92,246,.20), transparent 60%),
    radial-gradient(900px 600px at 30% 105%, rgba(236,72,153,.16), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
.notice { background: linear-gradient(90deg, #4a1d3a, #2e1a4a); color: #f6dbe6; }
header.nav { background: rgba(19,12,26,.85); border-bottom: 1px solid rgba(224,87,127,.25); }
.logo span { background: linear-gradient(90deg, var(--accent), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Abschnitte abwechselnd leicht eingefärbt */
main > section:nth-of-type(even) { background: linear-gradient(180deg, rgba(139,92,246,.07), rgba(224,87,127,.05)); }
main > section:nth-of-type(odd):not(.hero) { background: linear-gradient(180deg, rgba(224,87,127,.04), rgba(19,12,26,0)); }

/* Überschriften mit farbigem Akzentstrich */
section h2 { position: relative; padding-bottom: 14px; }
section h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
}

/* Karten mit farbigem Rand und Leuchten */
.card, .guide article, .article-link, details {
  border-color: rgba(224,87,127,.22);
  background: linear-gradient(160deg, rgba(42,26,54,.95), rgba(31,20,40,.95));
}
.card, .article-link { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover, .article-link:hover {
  transform: translateY(-3px);
  border-color: rgba(224,87,127,.6);
  box-shadow: 0 12px 40px rgba(224,87,127,.18), 0 0 0 1px rgba(139,92,246,.25);
}
.rank { color: var(--rose-gold); }
.badge { background: rgba(224,87,127,.12); border-color: rgba(224,87,127,.35); color: #f6dbe6; }
.tag { background: rgba(139,92,246,.16); color: #cdb8ff; }

/* Tabelle */
.table-scroll { border-color: rgba(224,87,127,.25); background: rgba(31,20,40,.6); }
th { background: linear-gradient(90deg, rgba(224,87,127,.18), rgba(139,92,246,.18)); color: #f6dbe6; }
tbody tr:hover td { background: rgba(224,87,127,.06); }

/* Buttons mit Farbverlauf */
.btn { background: linear-gradient(135deg, var(--accent), #c2417a 55%, var(--violet)); box-shadow: 0 6px 20px rgba(224,87,127,.30); }
.btn:hover { background: linear-gradient(135deg, #ea6b90, #cf4b85 55%, #9a72f8); }
.btn.ghost { background: transparent; box-shadow: none; }

footer { border-top: 1px solid rgba(224,87,127,.25); background: linear-gradient(180deg, rgba(42,26,54,.5), rgba(19,12,26,.9)); }

/* ===== Neue Elemente nach Konkurrenz-Analyse ===== */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Vertrauensleiste unter dem Kopfbereich */
.trustbar { background: linear-gradient(90deg, rgba(224,87,127,.18), rgba(139,92,246,.18)); border-top: 1px solid rgba(224,87,127,.3); border-bottom: 1px solid rgba(139,92,246,.3); }
.trustbar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding: 14px 16px; font-size: 14px; font-weight: 600; color: #f6dbe6; }

/* Top 3 */
.top-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; align-items: stretch; }
.top-card {
  position: relative; display: flex; flex-direction: column; padding: 34px 24px 24px; border-radius: 18px;
  background: linear-gradient(165deg, rgba(60,30,70,.95), rgba(31,20,40,.95));
  border: 1px solid rgba(224,87,127,.35); box-shadow: 0 12px 40px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s;
}
.top-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(224,87,127,.25); }
.top-card--main { border: 1px solid transparent; background:
  linear-gradient(165deg, rgba(70,32,78,.98), rgba(31,20,40,.98)) padding-box,
  linear-gradient(135deg, var(--accent), var(--violet), var(--rose-gold)) border-box; }
.top-badge { position: absolute; top: -14px; left: 20px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--violet)); box-shadow: 0 6px 18px rgba(224,87,127,.35); }
.top-card h3 { font-size: 26px; margin-bottom: 4px; }
.top-card .meta { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.top-card p { color: #e6dcea; margin: 0 0 12px; }
.top-card ul { margin: 0 0 20px; padding-left: 0; list-style: none; color: var(--muted); }
.top-card li::before { content: "✔ "; color: #7ee0b0; }
.top-card .btn { margin-top: auto; text-align: center; }

/* Puppen-Finder */
.finder-box { padding: 36px; border-radius: 22px; text-align: center;
  background: radial-gradient(ellipse at top left, rgba(224,87,127,.30), transparent 60%), radial-gradient(ellipse at bottom right, rgba(139,92,246,.30), transparent 60%), var(--surface);
  border: 1px solid rgba(224,87,127,.35); }
.finder-box h2::after { left: 50%; transform: translateX(-50%); }
.finder-box .lead { margin: 0 auto 20px; }
.finder-q { margin: 18px 0; }
.finder-q p { font-weight: 600; margin: 0 0 10px; }
.finder-q button { margin: 4px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(224,87,127,.45); background: rgba(19,12,26,.6); color: var(--text); font: inherit; font-size: 15px; cursor: pointer; transition: all .15s; }
.finder-q button:hover { border-color: var(--accent); }
.finder-q button.active { background: linear-gradient(90deg, var(--accent), var(--violet)); border-color: transparent; color: #fff; }
.finder-result { margin-top: 26px; text-align: left; max-width: 720px; margin-left: auto; margin-right: auto; }
.finder-result h3 { text-align: center; }
.finder-hit { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; margin: 10px 0; border-radius: 12px; background: rgba(19,12,26,.55); border: 1px solid rgba(224,87,127,.3); }
.finder-hit span { display: block; color: var(--muted); font-size: 14px; }
.finder-hit .btn { white-space: nowrap; padding: 9px 16px; }

/* Vor- und Nachteile in den Anbieter-Karten */
.procon { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 14px; font-size: 14px; }
.procon strong { display: block; margin-bottom: 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.procon ul { list-style: none; padding: 0; margin: 0; }
.procon li { margin: 4px 0; color: #e6dcea; }
.procon .pro li::before { content: "✔ "; color: #7ee0b0; }
.procon .contra li::before { content: "! "; color: var(--rose-gold); font-weight: 700; }
@media (max-width: 520px) { .procon { grid-template-columns: 1fr; } }
.best { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(90deg, var(--accent), var(--violet)); }

/* Redaktionsbox und Fake-Shop-Warnung */
.editor-box { margin-top: 24px; padding: 16px 20px; border-radius: 12px; border: 1px dashed rgba(224,87,127,.4); display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; }
.editor-box strong { color: var(--text); }
.warn-box { padding: 32px; border-radius: 20px; border: 1px solid rgba(240,183,164,.45);
  background: linear-gradient(135deg, rgba(120,40,40,.35), rgba(60,20,50,.45)); }
.warn-list { columns: 2; column-gap: 32px; padding-left: 0; list-style: none; margin: 0 0 22px; }
.warn-list li { break-inside: avoid; margin: 0 0 10px; padding-left: 26px; position: relative; color: #f1e6ee; }
.warn-list li::before { content: "⛔"; position: absolute; left: 0; }
@media (max-width: 720px) { .warn-list { columns: 1; } .finder-box, .warn-box { padding: 24px 18px; } }

/* Klickbares Shop-Bild oben in den Karten */
.card-img { display: block; margin: -24px -24px 18px; border-radius: 14px 14px 0 0; overflow: hidden; position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .5s ease; }
.card-img::after { content: "Shop →"; position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--violet)); opacity: 0; transform: translateY(6px); transition: all .25s; }
.card:hover .card-img img, .top-card:hover .card-img img { transform: scale(1.06); }
.card:hover .card-img::after, .top-card:hover .card-img::after { opacity: 1; transform: none; }
.top-card .card-img { margin: -34px -24px 18px; border-radius: 18px 18px 0 0; }
.top-card .top-badge { z-index: 2; }
