/*
 * v2.css — die Bausteine der Kundenvision (27.08.2026, 8 Blätter).
 * Ergänzt js-seite.css, überschreibt nichts Bestehendes.
 * 🔴 Projektregel: NIE overflow-x am html (killt jedes sticky).
 *    Jede neue Sektion dichtet sich selbst mit overflow:clip ab.
 */

/* ── Kopfzeile (Blatt 1: sticky, Logo links, Symbole rechts) ─────────── */
.v2-kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--rand);
  background: color-mix(in oklab, var(--tief) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,253,248,.08);
}
.v2-kopf .marke {
  font-family: var(--display); font-weight: 800; letter-spacing: .34em;
  font-size: 15px; color: var(--kalkweiss); text-decoration: none;
}
.v2-kopf .werkzeuge { display: flex; gap: 6px; align-items: center; }
.v2-kopf .werkzeuge button, .v2-kopf .werkzeuge a {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: none; border: 0; border-radius: 10px; cursor: pointer;
  color: var(--kalkweiss); text-decoration: none;
}
.v2-kopf .werkzeuge button:hover, .v2-kopf .werkzeuge a:hover { background: rgba(255,253,248,.1); }
.v2-kopf svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.v2-kopf .zaehlerpunkt {
  position: absolute; translate: 11px -10px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  background: #E4B84C; color: #16211C; font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
}

/* ── Hero mit Hintergrund-Video (Blatt 1) ────────────────────────────── */
.v2-hero { position: relative; height: 100svh; overflow: clip; display: grid; align-items: center; }
.v2-hero video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.v2-hero .schleier {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,14,12,.72) 0%, rgba(10,14,12,.38) 55%, rgba(10,14,12,.12) 100%);
}
.v2-hero .inhalt { position: relative; z-index: 2; padding: 0 var(--rand); max-width: 760px; }
.v2-hero h1 {
  font-family: var(--display); font-weight: 800; line-height: .98;
  font-size: clamp(38px, 6.4vw, 84px); margin: 0 0 18px; text-wrap: balance;
}
.v2-hero .slogan { font-size: clamp(16px, 2vw, 21px); color: #E7E4DC; margin: 0 0 10px; }
.v2-hero .herkunft { display: flex; align-items: center; gap: 10px; color: #CFCBC2; font-size: 15px; margin: 0 0 34px; }
.v2-hero .flagge { width: 26px; height: 16px; border-radius: 2px; overflow: hidden; display: inline-block; flex: none;
  background: linear-gradient(180deg, #000 33%, #DD0000 33% 66%, #FFCE00 66%); }
.v2-knopf {
  display: inline-block; padding: 16px 34px; border-radius: 999px;
  background: var(--kalkweiss); color: #16211C; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 16px;
  transition: transform .2s ease, background .2s ease;
}
.v2-knopf:hover { transform: translateY(-2px); background: #fff; }

/* ── Sortenwelt (Blatt 2: aufklappen, Hover-Explosion, Warenkorb) ───── */
.v2-sorten { position: relative; height: 320svh; overflow: clip; }
.v2-sorten .klebt { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: clip; }
.v2-sorten h2 { position: absolute; top: max(84px, 11svh); left: 0; right: 0; text-align: center; margin: 0;
  font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3.4vw, 44px); }
.v2-sorten .buehne { position: relative; width: min(92vw, 1240px); height: 72svh; }
.v2-sorte {
  position: absolute; left: 50%; top: 50%; width: min(30vw, 330px);
  translate: -50% -50%;
  /* --k = Aufklapp-Fortschritt 0..1, --ziel = Zielversatz in svh */
  transform: translateY(calc(var(--k, 0) * var(--ziel, 0) * 1svh)) scale(calc(.92 + var(--k, 0) * .08));
  transition: filter .25s ease;
  text-align: center;
}
@media (min-width: 900px) {
  /* Am Rechner klappen sie in die Breite statt in die Höhe — mehr Platz */
  .v2-sorte { transform: translateX(calc(var(--k, 0) * var(--ziel, 0) * .33vw)) scale(calc(.92 + var(--k, 0) * .08)); }
}
.v2-sorte .fenster { position: relative; cursor: pointer; display: block; }
.v2-sorte img.still { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.v2-sorte canvas.hover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 16px; opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.v2-sorte.explodiert canvas.hover { opacity: 1; }
.v2-sorte.explodiert img.still { opacity: 0; }
.v2-sorte .name { font-family: var(--display); font-weight: 800; font-size: 18px; margin: 14px 0 8px; }
.v2-sorte .kaufen {
  display: inline-block; padding: 10px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,253,248,.4); background: none; color: var(--kalkweiss);
  font-family: var(--display); font-weight: 700; font-size: 14px;
}
.v2-sorte .kaufen:hover { background: var(--kalkweiss); color: #16211C; }

/* ── Impact-Zahlen (Blatt 4: drei Spalten) ──────────────────────────── */
.v2-impact { background: var(--hell); color: var(--tinte); padding: var(--luft) var(--rand); overflow: clip; }
.v2-impact .spalten { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); max-width: 1240px; margin: 0 auto; }
.v2-impact h3 { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 22px; }
.v2-impact .riesig { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 96px); line-height: 1; }
.v2-impact .einheit { font-size: 15px; color: #6E6A61; display: block; margin-top: 6px; }
.v2-impact .fussnote { font-size: 13px; color: #8A857B; margin-top: 14px; }
.v2-impact .flaschen { display: flex; gap: 8px; align-items: flex-end; height: 110px; margin: 8px 0 4px; }
.v2-impact .flasche { width: 34px; height: 92px; opacity: 0; transform: translateX(46px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.v2-impact .flasche svg { width: 100%; height: 100%; stroke: var(--tinte); fill: none; stroke-width: 2; }
.v2-impact.da .flasche { opacity: 1; transform: none; }
.v2-impact .seifenkasten { width: 64px; height: 64px; border: 2.5px solid var(--tinte); border-radius: 10px;
  transform: scale(var(--gr, .66)); transform-origin: left bottom; transition: transform .8s cubic-bezier(.2,.7,.2,1); margin: 24px 0 10px; }
.v2-impact.da .seifenkasten { --gr: 1; }

/* ── Bewertungen + Icons (Blatt 5) ──────────────────────────────────── */
.v2-stimmen { padding: var(--luft) var(--rand); overflow: clip; }
.v2-stimmen .reihe { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1240px; margin: 0 auto; }
.v2-stimme { background: rgba(255,253,248,.05); border: 1px solid rgba(255,253,248,.1); border-radius: 16px; padding: 24px; }
.v2-stimme .sterne { color: #E4B84C; letter-spacing: 3px; font-size: 15px; }
.v2-stimme p { color: #DAD6CC; font-size: 15.5px; line-height: 1.65; }
.v2-stimme .wer { color: #9A968C; font-size: 13.5px; }
.v2-stimme .quelle { color: #7B776E; font-size: 12.5px; }

/* ── Story (Blatt 6) ────────────────────────────────────────────────── */
.v2-story { padding: var(--luft) var(--rand); max-width: 860px; margin: 0 auto; overflow: clip; }
.v2-story .usps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: 40px; }
.v2-story .usp { border-top: 2px solid rgba(255,253,248,.25); padding-top: 12px; }
.v2-story .usp b { font-family: var(--display); display: block; margin-bottom: 4px; }
.v2-story .usp span { color: #B9B5AB; font-size: 14.5px; }

/* ── FAQ (Blatt 7) ──────────────────────────────────────────────────── */
.v2-faq { background: var(--hell); color: var(--tinte); padding: var(--luft) var(--rand); overflow: clip; }
.v2-faq .innen { max-width: 860px; margin: 0 auto; }
.v2-faq details { border-bottom: 1px solid var(--hellrand); padding: 4px 0; }
.v2-faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 17.5px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.v2-faq summary::after { content: '+'; font-weight: 400; font-size: 24px; line-height: 1; color: #8A857B; }
.v2-faq details[open] summary::after { content: '–'; }
.v2-faq details p { margin: 0 0 18px; color: #4A473F; line-height: 1.7; }
.v2-faq .redemit { text-align: center; margin-top: 44px; }

/* ── Warenkorb-Panel ────────────────────────────────────────────────── */
.v2-korb {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
  width: min(420px, 100vw); background: var(--kalkweiss); color: var(--tinte);
  transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column; box-shadow: -18px 0 60px rgba(0,0,0,.3);
}
.v2-korb.offen { transform: none; }
.v2-korb .kopf { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--hellrand); }
.v2-korb .kopf b { font-family: var(--display); font-size: 18px; }
.v2-korb .zu { background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--tinte); }
.v2-korb .posten { flex: 1; overflow-y: auto; padding: 12px 24px; }
.v2-posten { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hellrand); }
.v2-posten img { width: 62px; height: 62px; object-fit: contain; }
.v2-posten .menge { display: flex; align-items: center; gap: 10px; }
.v2-posten .menge button { width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--hellrand); background: none; cursor: pointer; font-size: 16px; }
.v2-korb .fussbereich { padding: 20px 24px; border-top: 1px solid var(--hellrand); }
.v2-korb .summe { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.v2-korb .hinweis { font-size: 12.5px; color: #8A857B; margin: 0 0 14px; }
.v2-korb .zurkasse { width: 100%; text-align: center; }
.v2-schleier { position: fixed; inset: 0; z-index: 70; background: rgba(10,14,12,.45); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.v2-schleier.offen { opacity: 1; pointer-events: auto; }

/* ── Menü + Suche Overlays ──────────────────────────────────────────── */
.v2-menue { position: fixed; inset: 0; z-index: 80; background: var(--tief); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.v2-menue.offen { opacity: 1; pointer-events: auto; }
.v2-menue nav { display: grid; gap: 22px; text-align: center; }
.v2-menue a { color: var(--kalkweiss); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4.4vw, 44px); }
.v2-menue a:hover { color: #E4B84C; }
.v2-menue .zu, .v2-suche .zu { position: absolute; top: 18px; right: max(18px, var(--rand)); background: none; border: 0; color: var(--kalkweiss); font-size: 32px; cursor: pointer; }
.v2-suche { position: fixed; inset: 0; z-index: 80; background: color-mix(in oklab, var(--tief) 96%, transparent); padding: 120px var(--rand) 0;
  opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.v2-suche.offen { opacity: 1; pointer-events: auto; }
.v2-suche input { width: min(680px, 100%); display: block; margin: 0 auto; background: none; border: 0; border-bottom: 2px solid rgba(255,253,248,.4);
  color: var(--kalkweiss); font-family: var(--display); font-size: clamp(24px, 3.4vw, 40px); padding: 10px 4px; outline: none; }
.v2-suche .treffer { max-width: 680px; margin: 26px auto; display: grid; gap: 12px; }
.v2-suche .treffer a { color: #DAD6CC; text-decoration: none; font-size: 18px; padding: 10px 4px; border-radius: 10px; }
.v2-suche .treffer a:hover { background: rgba(255,253,248,.08); }

/* ── Produktseite (Blatt 3) ─────────────────────────────────────────── */
.v2-produkt { position: relative; overflow: clip; }
.v2-produkt .oben { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start;
  max-width: 1280px; margin: 0 auto; padding: 110px var(--rand) 40px; }
@media (max-width: 900px) { .v2-produkt .oben { grid-template-columns: 1fr; } }
.v2-produkt .kino { position: relative; aspect-ratio: 16/10; border-radius: 18px; overflow: clip; background: #0E1A21; }
.v2-produkt .kino canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.v2-kaufbox { position: sticky; top: 96px; background: rgba(255,253,248,.05); border: 1px solid rgba(255,253,248,.12); border-radius: 18px; padding: 28px; }
.v2-kaufbox h1 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 6px; }
.v2-kaufbox .duft { color: #B9B5AB; margin: 0 0 18px; }
.v2-kaufbox .preis { font-family: var(--display); font-weight: 800; font-size: 30px; }
.v2-kaufbox .grundpreis { color: #9A968C; font-size: 13.5px; margin: 2px 0 20px; }
.v2-kaufbox .mengenwahl { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.v2-kaufbox .mengenwahl button { width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(255,253,248,.35); background: none; color: var(--kalkweiss); font-size: 18px; cursor: pointer; }
.v2-kaufbox .versand { font-size: 13px; color: #9A968C; margin-top: 12px; }
.v2-kaufbox .andere { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,253,248,.12); display: flex; gap: 10px; }
.v2-kaufbox .andere a { flex: 1; text-align: center; font-size: 13.5px; color: #DAD6CC; text-decoration: none; border: 1px solid rgba(255,253,248,.2); border-radius: 12px; padding: 10px 6px; }
.v2-kaufbox .andere a:hover { background: rgba(255,253,248,.08); }
.v2-nummeriert { max-width: 860px; margin: 0 auto; padding: 30px var(--rand) var(--luft); }
.v2-nummeriert .block { border-top: 1px solid rgba(255,253,248,.14); padding: 34px 0; }
.v2-nummeriert .nr { font-family: var(--display); color: #E4B84C; font-weight: 800; letter-spacing: .12em; font-size: 13px; }
.v2-nummeriert h2 { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 32px); margin: 8px 0 12px; }
.v2-nummeriert .inci { font-size: 13.5px; color: #9A968C; line-height: 1.8; word-break: break-word; }
.v2-icons { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.v2-icons figure { margin: 0; text-align: center; width: 108px; }
.v2-icons img { width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.v2-icons figcaption { font-size: 12.5px; color: #B9B5AB; margin-top: 6px; }

/* ── Community + Login Unterseiten ──────────────────────────────────── */
.v2-blatt { min-height: 100svh; display: grid; place-items: center; padding: 120px var(--rand) 80px; overflow: clip; }
.v2-blatt .innen { width: min(680px, 100%); }
.v2-blatt h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); margin: 0 0 8px; }
.v2-blatt .frage { color: #B9B5AB; margin: 0 0 26px; }
.v2-blatt textarea { width: 100%; min-height: 190px; border-radius: 16px; border: 1px solid rgba(255,253,248,.25);
  background: rgba(255,253,248,.05); color: var(--kalkweiss); padding: 18px; font-family: var(--text); font-size: 16px; resize: vertical; outline: none; }
.v2-blatt textarea:focus { border-color: rgba(255,253,248,.6); }
.v2-blatt .senden { margin-top: 18px; }
.v2-blatt .danke { display: none; background: rgba(228,184,76,.14); border: 1px solid rgba(228,184,76,.4); border-radius: 14px; padding: 18px; margin-top: 18px; }
.v2-blatt .danke.da { display: block; }

/* Fußzeile mit Rechtlichem */
.v2-fuss-recht { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 18px; }
.v2-fuss-recht a { color: #9A968C; font-size: 13px; text-decoration: none; }
.v2-fuss-recht a:hover { color: var(--kalkweiss); }

@media (prefers-reduced-motion: reduce) {
  .v2-sorte, .v2-impact .flasche, .v2-impact .seifenkasten { transition: none; }
}

/* 🔴 GEMESSEN 27.08.2026: In WebKit bricht auch overflow-x:CLIP am html
   die Sticky-Pins (Sortenwelt-Pin stand bei -610/-1420 statt 0).
   Deshalb bleibt html unangetastet. Die Wisch-Sicherheit kommt daher, dass
   JEDE Sektion sich selbst mit overflow:clip abdichtet — Endprüfung misst
   scrollWidth == Schirmbreite an 12 Positionen. */
