/* ═══════════════════════════════════════════════════════════
   JeuDérm · Design System
   Brand-Tokens aus Kongress-gala-site verifiziert übernommen
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Brand Pair */
  --mint:              #9DCAC6;
  --mint-deep:         #6e9d99;   /* nur Fläche/Hover/Border — nie als Text (Kontrast ~3:1) */
  --mint-extra-deep:   #547673;   /* Text/Labels/Links auf Hell (~5:1, AA) */
  --rose:              #F7CCE8;
  --rose-deep:         #c88eaf;   /* nur Fläche */
  --rose-text:         #97386b;   /* Text auf Rosé-Fläche (AA) */

  /* Durchgehender Werbeleisten-Gradient (mint → rosa), 90deg über die volle Breite.
     Wird von Werbeleiste UND den Nav-Buttons (viewport-fixiert) geteilt, damit
     ein gehoverter Button farblich mit der Leiste darüber fluchtet. */
  --topbar-gradient:   linear-gradient(90deg, rgba(157, 202, 198, 0.92), rgba(247, 204, 232, 0.92));

  /* Dark Surfaces */
  --dark-teal:         #1c2a2d;
  --dark-teal-hover:   #243336;
  --footer-top:        #1f2729;
  --footer-bottom:     #171d1f;

  /* Neutrals */
  --bg:                #f7f7f5;
  --bg-soft:           #fcfbfa;
  --paper:             #ffffff;
  --paper-tint:        #f8fbfb;
  --text:              #1f2527;
  --text-soft:         #516064;
  --heading:           #182022;
  --topbar-text:       #223033;
  --nav-text:          #314043;
  --cream:             #f0f0ee;

  /* Lines */
  --line:              rgba(24, 32, 34, 0.10);
  --line-strong:       rgba(24, 32, 34, 0.16);

  /* Status */
  --warning:           #c9a84c;
  --error:             #ba1a1a;

  /* Shadows */
  --shadow-sm:         0 10px 30px rgba(18, 28, 31, 0.05);
  --shadow-md:         0 20px 55px rgba(18, 28, 31, 0.08);
  --shadow-lg:         0 30px 90px rgba(18, 28, 31, 0.10);

  /* Radii */
  --radius-sm:         14px;
  --radius-md:         22px;
  --radius-lg:         32px;
  --pill:              999px;

  /* Layout */
  --container:         1280px;
  --container-wide:    1440px;
  --margin-desktop:    80px;
  --margin-mobile:     20px;
  --gutter:            24px;

  /* Type */
  --font-headline:     'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:         Inter, 'Segoe UI', Arial, sans-serif;
  --font-mono:         'JetBrains Mono', 'Fira Code', monospace;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(157, 202, 198, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(247, 204, 232, 0.18), transparent 30%),
    linear-gradient(180deg, #fdfdfc 0%, #f8f8f6 55%, #f5f5f2 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

/* Touch-Primitives: kein 300 ms-Delay, dezenter Tap-Highlight */
a, button, label, summary, .btn, [role="tab"], .pdp-variant, .pdp-thumb, .quiz-option {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(157, 202, 198, 0.25);
}

/* ─── Fokus-Ring (global, konsistent) ─── */
:focus-visible {
  outline: 2px solid var(--mint-extra-deep);
  outline-offset: 2px;
}
/* Auf farbigen/Gradient-Flächen zusätzlich ein heller Innenring für Sichtbarkeit */
.btn:focus-visible,
.btn-primary:focus-visible,
.pill:focus-visible {
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.85), 0 0 0 6px var(--mint-extra-deep);
}
/* Maus/Touch: keinen Fokus-Ring erzwingen */
:focus:not(:focus-visible) { outline: none; }

/* Screenreader-only (unsichtbare, aber vorgelesene Labels) */
.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;
}

/* Sichtbare Formular-Labels (Feld-Wrapper) */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 2px; }
.field.full { grid-column: 1 / -1; }
.field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}
.field-label .req { color: var(--rose-text); margin-left: 2px; }
.field input, .field textarea, .field select { width: 100%; }

/* Tabellarische Ziffern für Preise (kein Springen) */
.product-card-price, .pdp-price, .pdp-price-meta,
.cart-summary-row, .routine-step-price, .account-stat .num,
.mono { font-variant-numeric: tabular-nums; }

/* ─── Reduzierte Bewegung: global respektieren ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 500;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; }
h4 { font-size: 1.15rem; line-height: 1.4; }
p  { margin-bottom: 1em; }

.eyebrow, .label-caps {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint-extra-deep);
}
.subtitle-italic {
  font-family: var(--font-headline);
  font-style: italic;
  font-weight: 400;
  color: var(--text-soft);
}
.mono { font-family: var(--font-mono); font-size: 0.85em; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--margin-mobile);
}
.container-wide { max-width: var(--container-wide); }
@media (min-width: 1024px) { .container { padding: 0 var(--margin-desktop); } }

/* ─── Announcement Bar (Kongress-Gradient) ─── */
.announce-bar {
  background: var(--topbar-gradient);
  background-size: 100vw 100%;
  background-position: left top;
  color: var(--topbar-text);
  min-height: 36px;
  position: relative;
  overflow: hidden;
}
.announce-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.announce-bar-lang {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.announce-bar-lang a { padding: 4px 6px; opacity: 0.7; transition: opacity .2s; }
.announce-bar-lang a:hover, .announce-bar-lang a.active { opacity: 1; }
@media (max-width: 768px) { .announce-bar-lang { display: none; } }

/* ─── Header ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
/* Bei offenem Mega-Menü: Trennlinie weg → nahtloser Übergang Navbar → Menü */
.header.mega-active { border-bottom-color: transparent; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.logo {
  position: relative;
  display: block;
  flex-shrink: 0;
}
/* ─── Logo-Lasche: Rasterbild assets/img/lasche-flap.png (transparent freigestellt)
   dient als Hintergrund; das eigentliche Logo liegt darüber. Die Lasche ist über die
   Info-Leiste umgeschlagen und ragt unter die Navigation hinaus. */
.header .logo {
  width: 174px;
  height: 72px;
  /* Logo-Inhaltskante auf der Textflucht (Container-Rand 80px). Das Logo sitzt mittig
     auf der Lasche (~26px Innenrand), daher zieht der negative Rand die ganze Einheit
     nach links – die Lasche rahmt das Logo und ragt dabei in den linken Seitenrand. */
  margin-left: -26px;
  z-index: 50;                            /* Lasche liegt ÜBER dem Mega-Menü (z45) */
}
/* Lasche hängt an der Navi-Oberkante: die eingerollten Ecken haken über die
   Kante, ihre dunklen Elemente liegen auf der Oberkante der Navleiste auf. */
.header .logo::before {
  content: "";
  position: absolute;
  top: -5.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 174px;
  height: 120px;              /* Seitenverhältnis der Lasche 980:675 ≈ 1.452 */
  background: url(../img/lasche-flap.png) center / contain no-repeat;
  /* Mehr Schatten links, rechts und unten (gestapelte drop-shadows folgen der Laschenform) */
  filter:
    drop-shadow(0 3px 5px rgba(99, 107, 106, 0.2))
    drop-shadow(-5px 2px 5px rgba(99, 107, 106, 0.2))
    drop-shadow(5px 2px 5px rgba(99, 107, 106, 0.2));
  z-index: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.header .logo img {
  position: absolute;
  top: 3px;                   /* Logo so groß wie möglich, mittig auf der Lasche */
  left: 50%;
  transform: translateX(-50%);
  height: 90px;
  width: auto;
  z-index: 1;
  transition: top .35s ease, height .35s ease;
}
/* Beim Scrollen nach unten: Lasche ausblenden, nur das Logo (mittig in der Navi) */
.header.scrolled .logo::before { opacity: 0; }
.header.scrolled .logo img { top: 8px; height: 56px; }
/* Initialen Scroll-Zustand (Refresh in gescrollter Position) ohne Animation setzen. */
.header.no-flap-anim .logo img,
.header.no-flap-anim .logo::before { transition: none; }

/* Logo im Mobil-Menü-Drawer: schlicht, ohne Lasche – zentriert (aus prototype_bp),
   Schließen-Button absolut oben rechts, darunter ein weicher Trenner. */
.mobile-nav-drawer .logo { width: auto; height: auto; }
.mobile-nav-drawer .logo img { position: static; transform: none; height: 64px; width: auto; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 4px 0 16px;
}
/* Schließen-Button an der abgerundeten oberen rechten Drawer-Ecke (Radius 32px,
   Drawer-Padding 24px): am Drawer selbst verankert, damit er unabhängig vom
   Kopf-Padding dicht in der Ecke sitzt (Button-Mitte ≈ Rundungsmittelpunkt).
   Selektor mit Drawer-Präfix, sonst überschreibt das spätere `.icon-btn`
   (position: relative) die Positionierung bei gleicher Spezifität. */
.mobile-nav-drawer .drawer-close { position: absolute; top: 12px; right: 12px; }
.drawer-divider {
  height: 2px;
  margin: 0 0 20px;
  border: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(24, 32, 34, 0.55) 50%, transparent 100%);
}

@media (max-width: 1024px) {
  /* Mobil: keine Lasche – Logo links, vertikal mittig in der Navleiste, vergrößert.
     margin-left negativ, damit die Logo-Inhaltskante auf der Textflucht (Container-Rand
     20px) liegt – gleicht den ~1,7px Eigenrand des Logos + Container-Offset aus. */
  .header .logo { width: 104px; height: 72px; margin-left: -2px; }
  .header .logo::before { display: none; }
  .header .logo img {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 66px;
    width: auto;
  }
  .header.scrolled .logo img { top: 50%; height: 62px; }
}
.nav {
  display: flex;
  gap: 0;
  flex-grow: 1;
  justify-content: center;
  align-self: stretch;
}
.nav-item { display: flex; align-items: stretch; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-text);
  padding: 0 22px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;                 /* eigener Stacking-Context: Gradient bleibt hinter dem Text, im Button */
  transition: color .2s ease;
}
/* Demaskier-Effekt: Der Button trägt den Werbeleisten-Gradient als viewport-fixierte
   Fläche, die normal von Weiß verdeckt (opacity 0) und beim Hover freigelegt wird.
   Durch background-attachment:fixed + 100vw fluchtet die Farbe exakt mit der Leiste darüber. */
.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--topbar-gradient);
  background-attachment: fixed;
  background-size: 100vw 100%;
  background-position: left top;
  opacity: 0;
  transition: opacity .28s ease;
}
.nav a:hover::before,
.nav a.active::before { opacity: 1; }
.nav a:hover,
.nav a.active { color: var(--nav-text); }

/* Home-Button links neben „Shop": nur das Symbol, natürliche Breite (Symbol +
   Standard-Nav-Padding). Keine JS-gesteuerte Breite mehr → kein Breiten-Sprung
   beim Laden/Font-Swap (früher via --shop-w, verursachte das kurze „Zappeln"). */
.nav a.nav-home {
  justify-content: center;
  transition: color .2s ease;
}
.nav a.nav-home .ico { flex-shrink: 0; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--pill);
  color: var(--nav-text);
  position: relative;
  transition: background-color .2s, color .2s;
}
.icon-btn:hover {
  background: rgba(157, 202, 198, 0.18);
  color: var(--mint-extra-deep);
}
.icon-btn .badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: var(--pill);
  background: var(--mint-deep);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.burger span {
  position: relative;
  width: 22px; height: 2px;
  background: var(--heading);
  border-radius: 2px;
}
.burger span::before, .burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--heading);
  border-radius: 2px;
}
.burger span::before { transform: translateY(-7px); }
.burger span::after  { transform: translateY(7px); }
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}

/* Mega-menu */
.nav-item--mega { position: static; }
.mega-menu {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(18, 28, 31, 0.05);
  /* Oberer Abstand größer, damit der Inhalt unter der überhängenden Logo-Lasche beginnt */
  padding: 64px var(--margin-desktop) 40px;
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  pointer-events: none;
}
.nav-item--mega.mega-open .mega-menu,
.nav-item--mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .mega-menu { transition: opacity .15s ease, visibility .15s; transform: none; }
}
/* Dimming scrim below the header while a mega-menu is open.
   Absolut an der tatsächlichen Navbar-Unterkante (berücksichtigt die Announce-Bar),
   damit kein Streifen in die Navbar hineinragt. */
.mega-scrim {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 100vh;
  background: rgba(18, 28, 31, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
  pointer-events: none;
  z-index: 30;
}
.header.mega-active .mega-scrim { opacity: 1; visibility: visible; }
.mega-menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: var(--container); margin: 0 auto; }
.mega-menu h4 { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint-extra-deep); margin-bottom: 16px; }
/* Links tragen denselben Demaskier-Effekt wie die Nav-Buttons: der Werbeleisten-
   Gradient liegt viewport-fixiert hinter dem Text und wird beim Hover freigelegt.
   Abgerundete Ecken via border-radius + overflow:hidden am freigelegten Layer. */
.mega-menu ul li a {
  position: relative;
  isolation: isolate;
  display: block;
  padding: 8px 12px;
  margin: 0 -12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 14px;
  color: var(--text);
  transition: color .2s;
}
.mega-menu ul li a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: var(--topbar-gradient);
  background-attachment: fixed;
  background-size: 100vw 100%;
  background-position: left top;
  opacity: 0;
  transition: opacity .28s ease;
}
.mega-menu ul li a:hover::before,
.mega-menu ul li a:focus-visible::before { opacity: 1; }
.mega-menu ul li a:hover { color: var(--nav-text); }
.mega-menu-feature {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.mega-menu-feature .img-placeholder {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--rose) 0%, var(--mint) 100%);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.mega-menu-feature h5 { font-family: var(--font-headline); font-size: 1.2rem; font-weight: 500; margin-bottom: 4px; }
.mega-menu-feature a { color: var(--mint-extra-deep); font-weight: 600; }
.mega-menu ul li a.mega-all { color: var(--mint-extra-deep); font-weight: 600; margin-top: 4px; }
.mega-menu ul li a.mega-all:hover { color: var(--nav-text); }

/* ─── Buttons (Pills) ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform .18s, box-shadow .25s, background-color .2s, border-color .2s, color .2s;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 8px 18px; font-size: 13px; }
.btn-lg { min-height: 56px; padding: 16px 36px; font-size: 15px; }

.btn-primary {
  background: linear-gradient(135deg, var(--rose) 0%, var(--mint) 100%);
  color: var(--heading);
  border-color: var(--line);
  box-shadow: 0 14px 34px rgba(24, 32, 34, 0.08);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(24, 32, 34, 0.14), 0 0 24px rgba(157, 202, 198, 0.25);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--heading);
  border-color: var(--line-strong);
}
.btn-secondary:hover { background: white; border-color: var(--mint-deep); color: var(--mint-extra-deep); }
.btn-dark {
  background: var(--dark-teal);
  color: var(--cream);
}
.btn-dark:hover { background: var(--dark-teal-hover); }
.btn-ghost {
  background: transparent;
  color: var(--mint-extra-deep);
  padding: 10px 16px;
  min-height: 36px;
}
.btn-ghost:hover { background: rgba(157, 202, 198, 0.12); }
.btn-block { width: 100%; }

/* ─── Pills & Badges ─── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill-mint    { background: rgba(157, 202, 198, 0.18); color: var(--mint-extra-deep); }
.pill-rose    { background: rgba(247, 204, 232, 0.42); color: var(--rose-text); }
.pill-dark    { background: var(--dark-teal); color: var(--cream); }
.pill-warning { background: rgba(201, 168, 76, 0.16); color: #8a6f1c; }
.pill-outline { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }

/* ─── Cards ─── */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card-lg { padding: 32px; border-radius: var(--radius-lg); }
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Product Card */
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--mint-deep);
  box-shadow: 0 24px 64px rgba(18, 28, 31, 0.12);
}
.product-card-image {
  aspect-ratio: 4 / 5;
  background: #ededeb;
  position: relative;
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card-image::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 18%;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
  z-index: 1;
}
.product-card-image::after {
  content: attr(data-product);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--mint-deep);
  padding: 24px;
  text-align: center;
  opacity: 0.45;
}
.product-card-badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.product-card-wish {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
}
.product-card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card-brand {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.product-card-name {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--heading);
}
.product-card-sub {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 13px;
  color: var(--text-soft);
}
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-soft);
}
.product-card-rating .stars { color: var(--mint-deep); letter-spacing: 1px; }
.product-card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 12px;
}
.product-card-price {
  font-size: 17px;
  font-weight: 600;
  color: var(--heading);
}
.product-card-volume { display: block; font-size: 11px; color: var(--text-soft); font-weight: 400; }

/* ─── Forms ─── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
}
.form-label-caps {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint-extra-deep);
}
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], input[type="search"],
textarea, select {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 4px rgba(157, 202, 198, 0.22);
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }

.checkbox-row, .radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  cursor: pointer;
}
.checkbox-row input, .radio-row input {
  width: 18px; height: 18px;
  accent-color: var(--mint-deep);
}

/* ─── Sections ─── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
.section-dark {
  background: linear-gradient(180deg, var(--footer-top) 0%, var(--footer-bottom) 100%);
  color: var(--cream);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: rgba(240, 240, 238, 0.74); }
.section-tinted { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .subtitle-italic { font-size: 1.1rem; margin-top: 8px; }

/* Grid helpers */
.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1024px) {
  .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}

/* ─── Hero ─── */
.hero {
  padding: 64px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  min-height: 560px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  gap: 24px;
}
.hero-image {
  background: linear-gradient(135deg, #fef0f5 0%, #e7f5f3 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-height: 540px;
  position: relative;
  overflow: hidden;
}
.hero-image::after {
  content: 'Hero Product Photo';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--mint-deep);
  opacity: 0.5;
  letter-spacing: 0.06em;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-trust { color: var(--text-soft); font-size: 14px; margin-top: 8px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { min-height: 360px; }
}

/* ─── Tile (Shop-by-Concern) ─── */
.tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--rose) 0%, var(--mint) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  transition: transform .35s, box-shadow .35s;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tile-title {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  font-weight: 500;
}
.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(24, 32, 34, 0.55) 100%);
}
.tile > * { position: relative; z-index: 1; }

/* ─── Press Logos Strip ─── */
.press-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press-logo {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  opacity: 0.65;
  transition: opacity .2s;
}
.press-logo:hover { opacity: 1; }

/* ─── Routine Section (Editorial Split) ─── */
.routine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.routine-image {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fef0f5 0%, #e7f5f3 100%);
  box-shadow: var(--shadow-md);
}
.routine-step {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}
.routine-step-img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--rose) 0%, var(--mint) 100%);
}
.routine-step-num {
  font-family: var(--font-headline);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--mint-extra-deep);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.routine-step-price { font-weight: 600; color: var(--heading); }
@media (max-width: 900px) { .routine-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ─── Magazine Card ─── */
.article-card { display: flex; flex-direction: column; gap: 12px; }
.article-img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--mint) 0%, var(--rose) 100%);
  margin-bottom: 4px;
}
.article-category { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint-extra-deep); }
.article-title { font-family: var(--font-headline); font-size: 1.35rem; font-weight: 500; line-height: 1.3; color: var(--heading); }
.article-excerpt { font-size: 14px; color: var(--text-soft); }
.article-more { color: var(--mint-extra-deep); font-weight: 600; font-size: 14px; }

/* ─── Newsletter / Insta ─── */
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.insta-tile { aspect-ratio: 1 / 1; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--rose) 0%, var(--mint) 100%); }
.newsletter-form { display: flex; gap: 8px; margin-top: 16px; }
.newsletter-form input { flex: 1; }
@media (max-width: 900px) { .newsletter-grid { grid-template-columns: 1fr; } }

/* ─── Footer (Dark Teal Gradient wie Kongress) ─── */
.footer {
  background: linear-gradient(180deg, var(--footer-top) 0%, var(--footer-bottom) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 32px;
  margin-top: 80px;
}
.footer h3, .footer h4 {
  color: white;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-logo { color: white; font-family: var(--font-headline); font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 12px; display: inline-block; }
.footer p { color: rgba(255, 255, 255, 0.65); font-size: 14px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255, 255, 255, 0.78); font-size: 14px; transition: color .2s; }
.footer ul li a:hover { color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: inherit; transition: color .2s; }
.footer-bottom a:hover { color: white; }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icon {
  background: rgba(255, 255, 255, 0.10);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: white;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── Breadcrumb ─── */
.breadcrumb {
  font-size: 12px;
  color: var(--text-soft);
  padding: 16px 0;
}
.breadcrumb a:hover { color: var(--mint-extra-deep); }
.breadcrumb-sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb-home { display: inline-flex; align-items: center; vertical-align: middle; }
.breadcrumb-home .ico { width: 16px; height: 16px; }
.breadcrumb-home .ico::before { font-size: 17px; }

/* ─── Category Hero ─── */
.category-hero {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  margin-top: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #fef0f5 0%, #e7f5f3 100%);
  display: flex;
  align-items: center;
  padding: 48px;
}
.category-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(110, 157, 153, 0.55) 0%, rgba(200, 142, 175, 0.45) 100%);
}
.category-hero-content { position: relative; z-index: 1; color: white; max-width: 720px; }
.category-hero h1 { color: white; }
.category-hero .eyebrow { color: rgba(255, 255, 255, 0.92); }

/* ─── Category Layout ─── */
.cat-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 32px 0 80px;
}
.cat-sidebar { position: sticky; top: 120px; align-self: flex-start; }
.filter-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 14px;
  background: var(--paper);
}
.filter-group summary {
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-extra-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: '＋'; font-weight: 400; }
.filter-group[open] summary::after { content: '−'; }
.filter-group-body { margin-top: 14px; }
.filter-group-body label { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 13px; cursor: pointer; }
.filter-group-body label .count { color: var(--text-soft); font-size: 12px; margin-left: auto; }

.cat-sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  font-size: 14px;
}
.cat-sort-bar select { width: auto; padding: 8px 14px; border-radius: var(--pill); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 48px; }
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  transition: background-color .2s, color .2s, border-color .2s;
}
.pagination a.active, .pagination a:hover {
  background: var(--mint-deep);
  color: white;
  border-color: var(--mint-deep);
}
@media (max-width: 1024px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-sidebar { display: none; position: static; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ─── Product Detail ─── */
.pdp-hero {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 56px;
  padding: 32px 0 64px;
}
.pdp-gallery { position: sticky; top: 120px; align-self: flex-start; }
.pdp-gallery-main {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fef0f5 0%, #e7f5f3 100%);
  margin-bottom: 16px;
  position: relative;
}
.pdp-thumbs { display: flex; gap: 10px; }
.pdp-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fef0f5 0%, #e7f5f3 100%);
  cursor: pointer;
  border: 1px solid var(--line);
  position: relative;
}
.pdp-thumb.active::after {
  content: '';
  position: absolute;
  left: 8px; right: 8px; bottom: -6px;
  height: 2px;
  background: var(--mint-deep);
  border-radius: 2px;
}

.pdp-info { display: flex; flex-direction: column; gap: 18px; }
.pdp-name { font-family: var(--font-headline); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.15; }
.pdp-subtitle { font-family: var(--font-headline); font-style: italic; color: var(--text-soft); font-size: 1.05rem; line-height: 1.5; }
.pdp-price { font-size: 2rem; font-weight: 600; }
.pdp-price-meta { font-size: 12px; color: var(--text-soft); margin-top: 4px; }
.pdp-stock { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-soft); }
.pdp-stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-deep); box-shadow: 0 0 0 4px rgba(110, 157, 153, 0.18); }
.pdp-variant-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-variant {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
}
.pdp-variant.active { border-color: var(--mint-deep); background: rgba(157, 202, 198, 0.12); color: var(--mint-extra-deep); font-weight: 600; }
.pdp-qty-cta { display: flex; gap: 10px; align-items: stretch; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  height: 48px;
}
.qty-stepper button { width: 38px; height: 100%; font-size: 16px; }
.qty-stepper input { border: none; width: 44px; text-align: center; padding: 0; font-weight: 600; }
.qty-stepper input:focus { box-shadow: none; }
.pdp-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 13px;
}
.pdp-trust-row > div { display: flex; align-items: center; gap: 8px; }
.pdp-trust-row .ico { color: var(--mint-extra-deep); font-size: 18px; }

.pdp-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin: 48px 0 32px;
  position: sticky;
  top: 72px;
  background: var(--bg);
  z-index: 30;
  padding-top: 8px;
}
.pdp-tab {
  padding: 16px 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pdp-tab.active { color: var(--mint-extra-deep); border-bottom-color: var(--mint-deep); }
.pdp-tab-panel { display: none; padding: 16px 0 64px; }
.pdp-tab-panel.active { display: block; }

@media (max-width: 1024px) {
  .pdp-hero { grid-template-columns: 1fr; gap: 24px; }
  .pdp-gallery { position: static; }
}

/* ─── Cart Slide-over ─── */
.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 42, 45, 0.4);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.overlay-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer,
.wishlist-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 480px;
  max-width: 100vw;
  background: var(--paper);
  z-index: 70;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
  display: flex;
  flex-direction: column;
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
  box-shadow: -30px 0 60px rgba(0, 0, 0, 0.15);
}
.cart-drawer.open,
.wishlist-drawer.open { transform: translateX(0); }
/* Wunschlisten-Item: rechte Spalte mit Entfernen-Button oben, Preis unten */
.wishlist-item-aside { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.wishlist-remove {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-soft);
  padding: 2px;
  line-height: 0;
  transition: color .2s;
}
.wishlist-remove:hover { color: var(--rose-deep); }
.wishlist-remove .ico { width: 18px; height: 18px; }
.wishlist-remove .ico::before { font-size: 18px; }
.wishlist-add {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mint-extra-deep);
  transition: color .2s;
}
.wishlist-add:hover { color: var(--mint-deep); }
.cart-head {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-foot { padding: 24px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.cart-progress {
  background: rgba(157, 202, 198, 0.20);
  height: 8px;
  border-radius: var(--pill);
  overflow: hidden;
}
.cart-progress > div { height: 100%; background: var(--mint-deep); border-radius: var(--pill); transition: width .3s; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-img { aspect-ratio: 1 / 1; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--rose) 0%, var(--mint) 100%); }
.cart-summary { display: grid; gap: 8px; margin: 16px 0; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 14px; }
.cart-summary-row.total { font-size: 20px; font-weight: 600; padding-top: 12px; border-top: 1px solid var(--line); }

/* ─── Checkout ─── */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding: 32px 0 80px;
}
.checkout-progress {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 24px 0 8px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.checkout-progress .step { color: var(--text-soft); }
.checkout-progress .step.active { color: var(--mint-extra-deep); font-weight: 700; border-bottom: 2px solid var(--mint-deep); padding-bottom: 8px; }
.checkout-section { margin-bottom: 40px; }
.checkout-section h3 { margin-bottom: 16px; font-family: var(--font-headline); font-size: 1.4rem; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid-2 .full { grid-column: 1 / -1; }
.shipping-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.shipping-card:hover { border-color: var(--mint-deep); }
.shipping-card.active { border-color: var(--mint-deep); background: rgba(157, 202, 198, 0.08); }
.checkout-summary { position: sticky; top: 120px; align-self: flex-start; }
@media (max-width: 1024px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* ─── Article (Magazine) ─── */
.article-hero {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--mint) 0%, var(--rose) 100%);
  margin: 24px 0 32px;
}
.article-body { max-width: 720px; margin: 0 auto; padding: 0 var(--margin-mobile); font-size: 17px; line-height: 1.7; color: var(--text); }
.article-body h2 { margin: 48px 0 16px; }
.article-body p { margin-bottom: 1.4em; }
.article-pullquote {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--heading);
  border-left: 3px solid var(--mint-deep);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
}

/* ─── Skin Quiz ─── */
.quiz-progress {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 6px;
  width: 100%;
  max-width: 480px;
  margin: 16px auto 32px;
  height: 12px;
  position: relative;
}
.quiz-progress::after {
  content: '';
  position: absolute;
  left: 6px; top: 6px;
  height: 0; width: 0;
}
.quiz-progress > div {
  background: linear-gradient(90deg, var(--rose), var(--mint));
  height: 100%;
  border-radius: var(--pill);
  transition: width .35s;
}
.quiz-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; }
.quiz-option {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.quiz-option:hover {
  border-color: var(--mint-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.quiz-option.active {
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 2px var(--mint-deep), var(--shadow-sm);
}
.quiz-option-img {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--rose) 0%, var(--mint) 100%);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
@media (max-width: 768px) { .quiz-options { grid-template-columns: 1fr 1fr; } }

/* ─── Account Layout ─── */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 32px 0 80px; }
/* Seitenmenü beginnt auf Höhe der "Willkommen zurück"-Überschrift (unter der Eyebrow-Zeile) */
.account-nav { position: sticky; top: 120px; align-self: flex-start; margin-top: 40px; }
.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--pill);
  font-size: 14px;
  color: var(--text);
  transition: background-color .2s, color .2s;
  margin-bottom: 4px;
}
.account-nav a:hover { background: rgba(157, 202, 198, 0.12); color: var(--mint-extra-deep); }
.account-nav a.active { background: rgba(157, 202, 198, 0.18); color: var(--mint-extra-deep); font-weight: 700; }
.account-stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.account-stat { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.account-stat .num { font-family: var(--font-headline); font-size: 2.2rem; font-weight: 500; color: var(--mint-deep); }
.account-stat .lbl { font-size: 12px; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 1024px) { .account-layout { grid-template-columns: 1fr; } .account-nav { position: static; } }

/* ─── Produktlinien Cards ─── */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.line-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  color: inherit;
}
.line-card:hover {
  transform: translateY(-4px);
  border-color: var(--mint-deep);
  box-shadow: var(--shadow-md);
}
.line-card-bg {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 22px;
  position: relative;
}
.line-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(24, 32, 34, 0.18) 100%);
  pointer-events: none;
}
.line-card-name {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--heading);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}
.line-card-name.on-dark {
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.line-card-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.line-card-tagline {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
  flex-grow: 1;
}
.line-card-more {
  color: var(--mint-extra-deep);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
@media (max-width: 1100px) { .lines-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .lines-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .lines-grid { grid-template-columns: 1fr; } }

/* Produktfoto auf der Linien-Karte */
.line-card-photo {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  max-height: 78%;
  max-width: 70%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(24, 32, 34, 0.18));
  z-index: 0;
}

/* ─── Linien-Detailseite ─── */
.line-detail-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px;
  padding: 56px clamp(28px, 5vw, 64px);
  position: relative;
}
.line-detail-hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.line-detail-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 34ch;
  color: var(--text);
}
.line-detail-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.line-detail-hero.on-dark .eyebrow,
.line-detail-hero.on-dark h1,
.line-detail-hero.on-dark .line-detail-lead { color: #fff; }
.line-detail-hero.on-dark .line-detail-lead { color: rgba(255,255,255,0.9); }
.line-detail-hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 300px;
}
.line-detail-hero.on-dark .line-detail-hero-media {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.line-detail-hero-media img {
  max-height: 340px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(24, 32, 34, 0.22));
}
.line-detail-intro { max-width: 760px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.benefit-card h3 { font-size: 1.25rem; }
.active-list { display: flex; flex-wrap: wrap; gap: 12px; }
.active-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--heading);
}
.line-detail-final { position: relative; overflow: hidden; }
.line-detail-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--line-grad);
  opacity: 0.22;
  pointer-events: none;
}
.line-detail-final > * { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .line-detail-hero { grid-template-columns: 1fr; padding: 40px 28px; }
  .line-detail-hero-media { min-height: 240px; order: -1; }
  .line-detail-hero-media img { max-height: 260px; }
}

/* Shop: Produktlinien-Filter */
.filter-group-scroll { max-height: 240px; overflow-y: auto; padding-right: 4px; }
.cat-active-filter { color: var(--mint-extra-deep); font-weight: 600; }
.cat-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-soft);
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
}
.cat-empty a { color: var(--mint-extra-deep); font-weight: 600; }

/* ─── Search Overlay (zentriertes Popup + Frosted Glass) ─── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  background: rgba(24, 32, 34, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.search-overlay.open { display: flex; }
.search-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-top: 12vh;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px 32px 32px;
  animation: search-pop .22s ease;
}
@keyframes search-pop {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}
.search-close { position: absolute; top: 12px; right: 12px; }
.search-form { display: flex; gap: 12px; align-items: stretch; }
.search-form input {
  flex: 1;
  min-width: 0;
  font-size: 1.05rem;
  padding: 14px 18px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  transition: border-color .2s, box-shadow .2s;
}
.search-form input::placeholder { color: var(--text-soft); }
.search-form input:focus {
  outline: none;
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 3px rgba(157, 202, 198, 0.25);
}
.search-form .btn { flex-shrink: 0; }
.search-popular { margin-top: 20px; }
.search-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 560px) {
  .search-form { flex-wrap: wrap; }
  .search-form .btn { width: 100%; }
}

/* ─── Icons: Google Material Symbols (Outlined) ─── */
.ico {
  display: inline-flex;
  width: 24px; height: 24px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ico::before {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.ico-search::before { content: 'search'; font-size: 28px; }
.ico-heart::before  { content: 'favorite'; }
.ico-bag::before    { content: 'shopping_bag'; }
.ico-user::before   { content: 'person'; }
.ico-check::before  { content: 'check'; color: var(--mint-extra-deep); }
.ico-x::before      { content: 'close'; }
.ico-arrow::before  { content: 'arrow_forward'; }
.ico-back::before   { content: 'arrow_back'; }
.ico-arrow-up::before { content: 'arrow_upward'; }
.ico-package::before { content: 'package_2'; }
.ico-chat::before   { content: 'chat_bubble'; }
.ico-circle::before { content: 'radio_button_unchecked'; }
.ico-home::before   { content: 'home_app_logo'; font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 200, 'opsz' 20; }
/* Kleines Icon-Format (in Pills, Fließtext, Trust-Zeilen) */
.ico-sm { width: 16px; height: 16px; }
.ico-sm::before { font-size: 16px; }
.pill .ico { width: 15px; height: 15px; }
.pill .ico::before { font-size: 15px; }

/* ─── Scroll-to-top Button (rechts unten, erscheint beim Scrollen) ─── */
.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 60;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mint);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  box-shadow: 4px 6px 16px rgba(18, 28, 31, 0.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background-color .2s ease, color .2s ease;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--mint-deep);
  color: white;
  border-color: var(--mint-deep);
}
@media (max-width: 700px) {
  .scroll-top { right: 16px; bottom: 16px; }
}
.ico-lock::before   { content: 'lock'; font-size: 18px; }
.ico-star::before   { content: 'star'; color: var(--mint-deep); }

/* ─── Utility ─── */
.text-center { text-align: center; }
.text-soft { color: var(--text-soft); }
.text-mint { color: var(--mint-extra-deep); }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.hidden { display: none; }
@media (min-width: 1025px) { .mobile-only { display: none; } }
@media (max-width: 1024px) { .desktop-only { display: none; } }

/* ─── Mobile-Nav Drawer ─── */
.mobile-nav-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 320px;
  max-width: 90vw;
  background: var(--paper);
  z-index: 70;
  padding: 24px;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  overflow-y: auto;
}
.mobile-nav-drawer.open { transform: translateX(0); }
.mobile-nav-drawer .nav { display: flex; flex-direction: column; gap: 0; }
.mobile-nav-drawer .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* Mobile accordion (Pflege / Produktlinien) */
.m-acc { border-bottom: 1px solid var(--line); }
.m-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-text);
  text-align: left;
}
.m-acc-trigger::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease;
  opacity: .6;
  margin-right: 4px;
}
.m-acc-trigger[aria-expanded="true"] { color: var(--mint-extra-deep); }
.m-acc-trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }
.m-acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.mobile-nav-drawer .m-acc-panel a {
  display: block;
  padding: 9px 0 9px 16px;
  font-size: 13px;
  color: var(--text-soft);
  border-bottom: none;
}
.mobile-nav-drawer .m-acc-panel a:last-child { color: var(--mint-extra-deep); font-weight: 600; }

/* ─── Mobile bottom bar (Product) ─── */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  z-index: 30;
  display: none;
}
@media (max-width: 768px) { .mobile-cta-bar { display: block; } }

/* ═══════════════════════════════════════════════════════════
   Interaktive Controls als <button> (B3) — Button-Reset ausgleichen
   ═══════════════════════════════════════════════════════════ */
button.pdp-variant,
button.pdp-thumb,
button.pdp-tab,
button.quiz-option {
  font: inherit;
  color: inherit;
  text-align: inherit;
}
button.quiz-option { width: 100%; color: var(--text); }
button.pdp-variant { color: var(--text); }
/* Tastatur-Aktiv-Zustand für Größen-/Thumb-Auswahl deutlich sichtbar */
button.pdp-thumb.active { box-shadow: 0 0 0 2px var(--mint-extra-deep); }

/* Overscroll: Scroll „leakt" nicht auf die Seite hinter Drawern/Overlays */
.cart-body,
.mobile-nav-drawer,
.cart-drawer,
.wishlist-drawer,
.search-overlay { overscroll-behavior: contain; }
/* Body-Scroll sperren, solange ein Overlay offen ist */
body.overlay-lock { overflow: hidden; }

/* ═══════════════════════════════════════════════════════════
   Mobile-Optimierung
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Touch-Targets ≥ 44px (C1) */
  .pagination a { width: 44px; height: 44px; }
  .qty-stepper { height: 44px; }
  .qty-stepper button { width: 44px; }
  .btn-sm { min-height: 44px; }
  .btn-ghost { min-height: 44px; }
  .icon-btn { width: 44px; height: 44px; }

  /* Sektions-Abstände auf Mobil straffen */
  .section { padding: 48px 0; }
  .section-lg { padding: 64px 0; }
  .footer { padding: 56px 0 24px; margin-top: 56px; }

  /* PDP-Tabs horizontal scrollbar statt Umbruch/Überlauf */
  .pdp-tabs {
    gap: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pdp-tabs::-webkit-scrollbar { display: none; }
  .pdp-tab { white-space: nowrap; flex: 0 0 auto; }

  /* Checkout-Fortschritt: horizontal scrollbar, nicht umbrechen */
  .checkout-progress {
    gap: 16px;
    overflow-x: auto;
    justify-content: flex-start;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .checkout-progress::-webkit-scrollbar { display: none; }

  /* Header-Actions auf kleinen Screens enger + Konto-Icon ausblenden (Konto steckt im Menü) */
  .nav-actions { gap: 2px; }
  .nav-actions a[aria-label="Konto"] { display: none; }

  /* Warenkorb-Seiten-Grid & Beratung/Consultation einspaltig */
  .newsletter-grid { gap: 24px; }
}

/* Produktkarten unter 640px einspaltig (C3) */
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  /* Warenkorb-/Checkout-Zweispalter zu einer Spalte */
  main .grid[style*="1.4fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
}

/* Auf Seiten mit fixer Mobile-CTA-Leiste unten: Platz schaffen, damit nichts verdeckt wird */
@media (max-width: 768px) {
  body:has(.mobile-cta-bar) { padding-bottom: 84px; }
}

/* ═══════════════════════════════════════════════════════════
   Marken-Intro („Splash") – nur Startseite, nur beim 1. Besuch.
   Ganzes Logo-PNG mit Effekt-Ebenen: Licht-Sheen (logo-maskiert),
   Mint-Glow-Puls, Lidschlag-Andeutung. Steuerung in main.js.
   FOUC-Schutz: html.intro-seen (Inline-Script im <head>) blendet
   das Overlay sofort aus, falls schon gesehen.
   ═══════════════════════════════════════════════════════════ */
/* animierbare Puls-Position für den Helix-Energiefluss (weich statt springend) */
@property --helix-y {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 120%;
}
.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 200;                         /* über allem (Header z50, Drawer z70) */
  display: grid;
  place-items: center;
  perspective: 1200px;                  /* 3D-Tiefe für die geneigte Karte */
  /* identisch zum Seiten-Hintergrund (body), damit der Übergang nahtlos ist */
  background:
    radial-gradient(circle at top left, rgba(157, 202, 198, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(247, 204, 232, 0.18), transparent 30%),
    linear-gradient(180deg, #fdfdfc 0%, #f8f8f6 55%, #f5f5f2 100%);
  opacity: 1;
  transition: opacity .6s ease, visibility .6s;
}
html.intro-seen .brand-intro { display: none; }        /* FOUC-Schutz vor main.js */
.brand-intro.is-hidden { display: none; }              /* JS-gesteuert versteckt */
.brand-intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
body.intro-lock { overflow: hidden; }                  /* kein Durchscrollen währenddessen */

.brand-intro__stage {
  position: relative;
  z-index: 1;                     /* Logo/Karte über dem Shader */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;                      /* Logo oben, Slogan darunter */
  padding: 40px clamp(72px, 13vw, 150px) 30px;   /* breiter, Logo etwas angehoben */
  /* Weiße Card mit 70 % Deckkraft; Glaskante, Schatten und Blur sorgen für Tiefe. */
  background: rgba(255, 255, 255, 0.30);
  border: 1px solid rgba(255, 241, 248, 0.60);
  border-radius: 28px;
  box-shadow:
    0 32px 72px rgba(18, 28, 31, 0.18),          /* Schlagschatten – schwebt */
    0 4px 12px rgba(18, 28, 31, 0.08),
    inset 0 1px 1px rgba(255, 251, 253, 0.95),    /* helle obere Glaskante */
    inset 2px 4px 10px rgba(255, 247, 251, 0.45), /* Innen-Highlight oben-links */
    inset -3px -4px 14px rgba(151, 56, 107, 0.09);/* rosé Innen-Schatten unten-rechts (Tiefe) */
  -webkit-backdrop-filter: blur(10px) saturate(1.35);
          backdrop-filter: blur(10px) saturate(1.35);
  overflow: hidden;
  /* 3D-Neigung: folgt dem Cursor (per JS gesetzt), sanft gedämpft zurück */
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg);
  transition: transform .18s ease-out, box-shadow .18s ease-out;
  will-change: transform;
}
/* Slogan unter dem Logo in der Karte */
.brand-intro__slogan {
  margin: 0;
  font-family: var(--font-headline);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 5.3vw, 20px);
  letter-spacing: .01em;
  color: var(--mint-extra-deep);
  text-align: center;
  white-space: nowrap;
  opacity: 0;                       /* JS blendet ein und wechselt die Sprache */
  transition: opacity 1s ease;
}
/* weicher Mint-Glow hinter dem Motiv (Gesicht sitzt etwas links der Mitte) */
.brand-intro__glow {
  position: absolute;
  left: 42%; top: 48%;
  width: 78%; height: 78%;
  transform: translate(-50%, -50%) scale(.9);
  background: radial-gradient(circle, rgba(247, 204, 232, 0.50) 0%, rgba(247, 204, 232, 0.16) 42%, transparent 70%);
  opacity: 0;
  filter: blur(6px);
  animation: intro-glow 3.6s ease-in-out both infinite;
  pointer-events: none;
}
/* Container = Bezugsrahmen für die bereichsgenauen Effekte (Prozent-Koordinaten) */
.brand-intro__logo {
  position: relative;
  width: clamp(250px, 62vw, 460px);
  opacity: 0;
  transform: scale(.965);
  animation: intro-logo-in .9s cubic-bezier(.22, 1, .36, 1) .1s both;
}
.brand-intro__logo img { display: block; width: 100%; height: auto; }

/* Licht-Sheen: exakt auf die Logo-Silhouette maskiert (inkl. Helix/Gesicht/Text),
   ein heller Streifen wandert diagonal von unten-links nach oben-rechts. */
.brand-intro__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 40%,
    rgba(224, 243, 240, 0.30) 46%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(224, 243, 240, 0.30) 54%,
    transparent 60%);
  background-size: 250% 250%;
  background-position: 135% 135%;
  -webkit-mask-image: url(../img/logo.png);
          mask-image: url(../img/logo.png);
  -webkit-mask-size: contain;   mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  opacity: 0;
  animation: intro-sheen 4s ease-in-out .6s infinite both;
}

/* Helix-Energiefluss: heller Puls wandert wiederholt an der Doppelhelix (links)
   nach oben. Auf die Logo-Silhouette maskiert → leuchtet nur auf DNA-Pixeln.
   Horizontal eng um den Helix-Bereich (~13% v.l.) gehalten. */
.brand-intro__helix {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(21% 14% at 10% var(--helix-y),
    rgba(255, 255, 255, 1) 0%,
    rgba(228, 248, 245, 0.95) 32%,
    rgba(157, 202, 198, 0.5) 55%,
    transparent 74%);
  /* Zwei Masken kombiniert (Schnittmenge): (1) Logo-Silhouette, (2) harter
     Abschnitt rechts von ~21% → der Puls bleibt auf der Helix, nicht auf der Wange. */
  -webkit-mask-image: url(../img/logo.png), linear-gradient(to right, #000 0%, #000 14%, transparent 21%);
          mask-image: url(../img/logo.png), linear-gradient(to right, #000 0%, #000 14%, transparent 21%);
  -webkit-mask-size: contain, 100% 100%;    mask-size: contain, 100% 100%;
  -webkit-mask-position: center, left center; mask-position: center, left center;
  -webkit-mask-repeat: no-repeat, no-repeat;  mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: source-in;          mask-composite: intersect;
  opacity: 0;
  animation: intro-helix 1.9s ease-in-out .5s infinite both;
}

/* Lidschlag-Andeutung: schmale, weiche Mint-Sichel über der Augenpartie des
   Profils (≈24% v.l., ≈32% v.o.). Klappt einmal per scaleY zu und wieder auf.
   Standardmäßig an; über [data-blink="off"] am Overlay abschaltbar. */
.brand-intro__blink {
  position: absolute;
  left: 28%; top: 37.5%;
  width: 7%; height: 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.9) 0%, rgba(214, 240, 237, 0.4) 52%, transparent 72%);
  transform: scale(.5);
  opacity: 0;
  pointer-events: none;
  animation: intro-blink 4.5s ease-in-out 1.2s infinite both;
}
.brand-intro[data-blink="off"] .brand-intro__blink { display: none; }

@keyframes intro-logo-in {
  from { opacity: 0; transform: scale(.965); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes intro-glow {
  0%, 100% { opacity: .26; transform: translate(-50%, -50%) scale(.94); }
  50%      { opacity: .5;  transform: translate(-50%, -50%) scale(1.05); }
}
@keyframes intro-sheen {
  0%   { opacity: 0; background-position: 120% 120%; }
  8%   { opacity: 1; }
  45%  { opacity: 1; }
  55%  { opacity: 0; background-position: -40% -40%; }
  100% { opacity: 0; background-position: -40% -40%; }   /* Pause bis zum nächsten Durchlauf */
}
@keyframes intro-helix {
  0%   { opacity: 0; --helix-y: 122%; }
  12%  { opacity: 1; }
  60%  { opacity: 1; }
  72%  { opacity: 0; --helix-y: -20%; }
  100% { opacity: 0; --helix-y: 122%; }                  /* kurze Pause, dann nächster Puls */
}
@keyframes intro-blink {
  0%, 28%   { opacity: 0; transform: scale(.5); }
  34%       { opacity: .85; transform: scale(1); }
  40%       { opacity: .85; transform: scale(1); }
  46%, 100% { opacity: 0; transform: scale(.6); }        /* blinzelt einmal je Durchlauf, sonst Pause */
}

/* Bewegung reduzieren: nur ruhiges Einblenden, keine Sheen/Glow/Blink-Bewegung */
@media (prefers-reduced-motion: reduce) {
  .brand-intro__glow,
  .brand-intro__sheen,
  .brand-intro__helix,
  .brand-intro__blink { animation: none; opacity: 0; }
  .brand-intro__logo { animation: intro-logo-in .5s ease both; }
  .brand-intro__slogan { opacity: 1; transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   Animierter WebGL-Hintergrund „Silk" – NUR auf der Splash-
   „Animationsseite" (hinter dem Logo). Alle Seiten behalten
   sonst ihren statischen Hintergrund. Canvas max. 20 % Deckkraft,
   über dem Overlay-Verlauf, unter dem Logo (stage z-index 1).
   ═══════════════════════════════════════════════════════════ */
.brand-intro .silk-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.brand-intro .silk-bg canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.2;                 /* „opacity maximal 20%" */
}
