/* =====================================================================
   SERENITY BLOSSOM — Design System
   Vitamins you wear · Ein Innehalten in einer lauten Welt
   Palette: Pantone Soft Neutrals & Lilac Tones (Brand Bible)
   ===================================================================== */

:root {
  /* Brand colors */
  --plum:        #7B4A7D;   /* Logo / brand orchid purple */
  --plum-deep:   #5A2A48;   /* Bottle aubergine */
  --ink:         #3E2233;   /* Pickled Beet — deep text */
  --lavender:    #A98CC4;   /* Lavender Oil */
  --lilac:       #D8C7DD;   /* Lilac Snow */
  --lilac-soft:  #ECE3F0;   /* very light lilac wash */
  --mauve:       #AD8398;   /* Mauve Orchid */
  --cream:       #F7F2EC;   /* Silence — warm off-white bg */
  --cream-2:     #F1E9E0;   /* alt cream */
  --sand:        #E7DED2;   /* White Swan beige */
  --white:       #FFFFFF;

  /* Semantic */
  --bg:          var(--cream);
  --text:        var(--ink);
  --muted:       #6E5866;
  --line:        rgba(62, 34, 51, 0.12);

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Spacing / layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 28px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -30px rgba(90, 42, 72, 0.45);
  --shadow-soft: 0 12px 40px -24px rgba(90, 42, 72, 0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(16px, 1.05vw, 17.5px);
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  /* Calmer, less ornate Fraunces cut: pin a lower optical size (fewer dramatic serifs) */
  font-optical-sizing: none;
  font-variation-settings: "opsz" 28, "SOFT" 0, "WONK" 0;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.serif-italic { font-style: italic; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--plum);
}
.lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--muted); font-weight: 300; }
.text-center { text-align: center; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 160px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.grid { display: grid; gap: clamp(28px, 4vw, 64px); }
.two { grid-template-columns: 1fr 1fr; align-items: center; }
.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .two, .three { grid-template-columns: 1fr; } }

.bg-cream { background: var(--cream); }
.bg-cream-2 { background: var(--cream-2); }
.bg-sand { background: var(--sand); }
.bg-lilac { background: var(--lilac-soft); }
.bg-plum { background: var(--plum-deep); color: var(--cream); }
.bg-plum h1, .bg-plum h2, .bg-plum h3 { color: #fff; }
.bg-plum .lead, .bg-plum .muted { color: rgba(255,255,255,0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 1.05em 2.2em;
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 100px;
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--plum); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--plum-deep); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.btn--light { background: rgba(255,255,255,0.9); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-3px); }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plum); border-bottom: 1px solid transparent; padding-bottom: 3px; transition: border-color .4s, gap .4s; }
.link-arrow:hover { border-color: var(--plum); gap: 0.9em; }
.link-arrow::after { content: "\2192"; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
  padding-block: 20px;
}
.site-header.scrolled {
  background: rgba(247, 242, 236, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 12px;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nav-actions { flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
/* Flower logo turns white over the dark hero header, purple once scrolled onto light bg */
.site-header.on-dark:not(.scrolled) .brand img { filter: brightness(0) invert(1); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.brand-name { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.04em; color: var(--ink); white-space: nowrap; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 0.56rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--plum); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav-links a { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink); position: relative; padding-block: 6px; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--plum); transition: width .4s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; font-size: 0.72rem; letter-spacing: 0.1em; }
.lang-toggle button { padding: 6px 12px; color: var(--muted); transition: background .3s, color .3s; }
.lang-toggle button.active { background: var(--plum); color: #fff; }

.cart-btn { position: relative; display: inline-flex; align-items: center; }
.cart-btn svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.4; }
.cart-count { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 100px; background: var(--plum); color: #fff; font-size: 0.62rem; display: grid; place-items: center; opacity: 0; transform: scale(0.5); transition: .3s var(--ease); }
.cart-count.show { opacity: 1; transform: scale(1); }

.burger { display: none; width: 30px; height: 20px; position: relative; }
.burger span { position: absolute; left: 0; height: 1.5px; width: 100%; background: var(--ink); transition: .4s var(--ease); }
.burger span:nth-child(1) { top: 2px; } .burger span:nth-child(2) { top: 9px; } .burger span:nth-child(3) { top: 16px; }
body.menu-open .burger span:nth-child(1) { top: 9px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* Header over dark hero */
.site-header.on-dark:not(.scrolled) .brand-name,
.site-header.on-dark:not(.scrolled) .nav-links a { color: #fff; }
.site-header.on-dark:not(.scrolled) .cart-btn svg { stroke: #fff; }
.site-header.on-dark:not(.scrolled) .burger span { background: #fff; }
.site-header.on-dark:not(.scrolled) .lang-toggle { border-color: rgba(255,255,255,0.4); }
.site-header.on-dark:not(.scrolled) .lang-toggle button { color: rgba(255,255,255,0.8); }
.site-header.on-dark:not(.scrolled) .lang-toggle button.active { background: rgba(255,255,255,0.95); color: var(--ink); }

@media (max-width: 860px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px;
    background: var(--cream); transform: translateX(100%); transition: transform .5s var(--ease);
  }
  .nav-links a { font-size: 1.5rem; font-family: var(--font-display); }
  body.menu-open .nav-links { transform: translateX(0); }
  .brand-name small { display: none; }
  .brand-name { font-size: 1.05rem; }
}
@media (max-width: 600px) { .brand-name { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(58,34,51,0.52) 0%, rgba(58,34,51,0.30) 42%, rgba(90,42,72,0.64) 100%); }
.hero .wrap { position: relative; z-index: 2; }
.hero__scroll { z-index: 3; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 75% 20%, rgba(123,74,125,0.25), transparent 55%),
  linear-gradient(180deg, rgba(58,34,51,0.35) 0%, rgba(58,34,51,0.15) 40%, rgba(58,34,51,0.55) 100%); }
.hero__aurora { position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -1; filter: blur(60px); opacity: 0.6; pointer-events: none; }
.hero__inner { padding-block: 140px 80px; max-width: 760px; }
.hero h1 { color: #fff; margin-block: 0.15em 0.4em; }
.hero .lead { color: rgba(255,255,255,0.88); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.4em; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.75); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll::after { content: ""; width: 1px; height: 40px; background: linear-gradient(rgba(255,255,255,0.8), transparent); animation: scrolldrop 2.2s var(--ease) infinite; }
@keyframes scrolldrop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Gradient hero background (no photo needed) */
.aurora-bg {
  background:
    radial-gradient(60% 55% at 20% 20%, rgba(169,140,196,0.9), transparent 60%),
    radial-gradient(55% 60% at 82% 30%, rgba(173,131,152,0.85), transparent 60%),
    radial-gradient(70% 70% at 65% 85%, rgba(90,42,72,0.95), transparent 65%),
    linear-gradient(160deg, #6d4570 0%, #5a2a48 55%, #3e2233 100%);
}

/* ---------- Media figures ---------- */
.figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); position: relative; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 3/4; }
.figure--wide { aspect-ratio: 4/3; }
.figure--square { aspect-ratio: 1/1; }
.stack { position: relative; }
.stack .badge {
  position: absolute; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-radius: 100px; padding: 10px 18px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--plum);
  box-shadow: var(--shadow-soft);
}

/* ---------- Pillars / feature list ---------- */
.pillar { padding: 34px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); height: 100%; transition: transform .5s var(--ease); }
.pillar:hover { transform: translateY(-6px); }
.pillar .ic { width: 46px; height: 46px; margin-bottom: 18px; color: var(--plum); }
.pillar h3 { margin-bottom: 0.5em; }
.pillar p { color: var(--muted); font-size: 0.98rem; }

.benefit-list { display: grid; gap: 2px; }
.benefit-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.benefit-list li .n { font-family: var(--font-display); font-size: 1.4rem; color: var(--lavender); line-height: 1; min-width: 1.6em; }
.benefit-list li strong { font-weight: 400; }
.benefit-list li p { color: var(--muted); font-size: 0.95rem; margin-top: 2px; }

/* ---------- Product cards / shop ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.pcard { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pcard__media { aspect-ratio: 4/5; position: relative; display: grid; place-items: center; overflow: hidden; }
.pcard__media img { height: 76%; width: auto; transition: transform .7s var(--ease); filter: drop-shadow(0 24px 34px rgba(90,42,72,0.35)); }
.pcard:hover .pcard__media img { transform: translateY(-6px) scale(1.03); }
.pcard__tag { position: absolute; top: 16px; left: 16px; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; background: rgba(255,255,255,0.85); padding: 6px 12px; border-radius: 100px; color: var(--plum); }
.pcard__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__body h3 { font-size: 1.5rem; }
.pcard__mood { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mauve); }
.pcard__desc { color: var(--muted); font-size: 0.92rem; margin: 4px 0 14px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.pcard__price { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); }

.gradient-morning { background: linear-gradient(150deg, #f6efd9, #ecd9d0 60%, #d8c7dd); }
.gradient-sleep   { background: linear-gradient(150deg, #d8c7dd, #9d84bd 70%, #5a2a48); }
.gradient-calm    { background: linear-gradient(150deg, #ece3f0, #c9b0d4 60%, #ad8398); }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.pdp__media { border-radius: var(--radius-lg); aspect-ratio: 4/5; display: grid; place-items: center; padding: 7% 0; }
.pdp__media img { height: 92%; width: auto; filter: drop-shadow(0 34px 46px rgba(90,42,72,0.42)); }
.pdp__price { font-family: var(--font-display); font-size: 2rem; }
.pdp__row { display: flex; align-items: center; gap: 16px; margin: 24px 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; }
.qty button { width: 42px; height: 42px; font-size: 1.1rem; color: var(--ink); }
.qty span { min-width: 34px; text-align: center; }
.spec { display: grid; gap: 0; margin-top: 20px; }
.spec div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.spec div span:first-child { color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Cart ---------- */
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-item__media { width: 84px; height: 100px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.cart-item__media img { height: 82%; width: auto; }
.cart-item h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.cart-item .rm { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--muted); text-decoration: underline; margin-top: 6px; }
.cart-summary { background: var(--white); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-soft); position: sticky; top: 100px; }
.cart-summary .line { display: flex; justify-content: space-between; padding: 10px 0; color: var(--muted); }
.cart-summary .total { display: flex; justify-content: space-between; padding-top: 18px; margin-top: 10px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.empty-state { text-align: center; padding: 80px 20px; }

/* ---------- Waitlist / forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow-soft); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream);
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(123,74,125,0.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.check input { margin-top: 4px; }
.success-panel { display: none; text-align: center; padding: 20px; }
.success-panel.show { display: block; animation: fadeUp .6s var(--ease); }
.success-panel .flower-spin { width: 84px; margin: 0 auto 18px; animation: bloom 1s var(--ease); }
@keyframes bloom { from { transform: scale(0.3) rotate(-30deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; gap: 24px; align-items: center; text-align: left; padding: 26px 0; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--ink); }
.faq-q .pm { position: relative; width: 20px; height: 20px; flex: none; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--plum); transition: transform .4s var(--ease); }
.faq-q .pm::before { top: 9px; left: 0; width: 20px; height: 1.5px; }
.faq-q .pm::after { left: 9px; top: 0; width: 1.5px; height: 20px; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a__inner { padding-bottom: 26px; color: var(--muted); max-width: 68ch; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.quote { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-soft); }
.quote p { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--ink); line-height: 1.4; }
.quote .who { margin-top: 18px; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--plum); text-transform: uppercase; }
.stat-row { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); justify-content: center; }
.stat { text-align: center; max-width: 190px; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--plum); line-height: 1; }
.stat .lbl { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .avatar { aspect-ratio: 1; border-radius: 50%; overflow: hidden; width: 150px; margin: 0 auto 18px; background: var(--lilac-soft); display: grid; place-items: center; box-shadow: var(--shadow-soft); }
.team-card .avatar span { font-family: var(--font-display); font-size: 2.6rem; color: var(--plum); }
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.35rem; }
.team-card .role { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mauve); margin: 6px 0 12px; }
.team-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Journal ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 900px) { .journal-grid { grid-template-columns: 1fr; } }
.jcard { display: flex; flex-direction: column; gap: 14px; }
.jcard .figure { aspect-ratio: 4/3; margin-bottom: 6px; }
.jcard .cat { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plum); }
.jcard h3 { font-size: 1.3rem; transition: color .3s; }
.jcard:hover h3 { color: var(--plum); }
.jcard p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding-block: 20px; }
.marquee__track { display: inline-flex; gap: 48px; animation: scrollx 30s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(0.95rem, 1.6vw, 1.35rem); color: var(--plum); font-style: italic; display: inline-flex; align-items: center; }
/* Trenner: echtes Blüten-Logo statt Schriftzeichen */
.marquee span::after {
  content: ""; display: inline-block; flex: none;
  width: 1.25em; height: 1.25em; margin-left: 48px;
  background: url("../img/logo-marquee.png") center / contain no-repeat;
  opacity: 0.9;
}
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Split banner ---------- */
.banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: center; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.banner__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58,34,51,0.7), rgba(58,34,51,0.15)); z-index: -1; }
.banner__content { padding: clamp(32px, 6vw, 72px); max-width: 560px; color: #fff; }
.banner__content h2, .banner__content h3 { color: #fff; }
.banner__content p { color: rgba(255,255,255,0.85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding-block: clamp(56px, 8vw, 96px) 32px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; font-weight: 400; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer a:hover { color: #fff; }
.site-footer .f-links li { margin-bottom: 10px; font-size: 0.9rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: var(--lavender); }
.footer-slogan { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: #fff; margin: 16px 0; max-width: 24ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.78rem; }
.mini-form { display: flex; gap: 10px; margin-top: 14px; }
.mini-form input { flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: #fff; border-radius: 100px; padding: 12px 18px; font-family: inherit; }
.mini-form input::placeholder { color: rgba(255,255,255,0.5); }
.mini-form button { background: var(--plum); color: #fff; border-radius: 100px; padding: 0 20px; font-size: 0.9rem; }
.social { display: flex; gap: 14px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: grid; place-items: center; transition: .3s; }
.social a:hover { background: var(--plum); border-color: var(--plum); }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: 160px; padding-bottom: clamp(40px, 6vw, 72px); text-align: center; }
.page-hero .eyebrow { display: inline-block; margin-bottom: 18px; }
.page-hero p { max-width: 60ch; margin: 18px auto 0; }
.breadcrumb { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--plum); }

/* ---------- Reveal animation ---------- */
/* Fail-safe: content is visible by default. Only when JS adds .reveal-on to <html>
   are not-yet-revealed elements hidden — so products can never stay invisible. */
[data-reveal] { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-on [data-reveal] { opacity: 0; transform: translateY(28px); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .12s; }
[data-reveal][data-delay="2"] { transition-delay: .24s; }
[data-reveal][data-delay="3"] { transition-delay: .36s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.muted { color: var(--muted); }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 44px; }
.mb-m { margin-bottom: 24px; } .mb-l { margin-bottom: 44px; }
.maxw-prose { max-width: 62ch; }
.center-col { margin-inline: auto; }
.divider-flower { width: 46px; opacity: 0.85; margin: 0 auto 20px; display: block; }
.pill-note { display: inline-flex; align-items: center; gap: 8px; background: var(--lilac-soft); color: var(--plum); padding: 8px 16px; border-radius: 100px; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hide { display: none !important; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--ink); color: #fff; padding: 14px 26px; border-radius: 100px; font-size: 0.86rem; box-shadow: var(--shadow); z-index: 200; transition: transform .5s var(--ease); }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Legal pages ---------- */
.legal .wrap { line-height: 1.7; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-family: var(--font-body); font-size: 1.02rem; letter-spacing: 0.02em; text-transform: none; color: var(--ink); margin: 2em 0 0.4em; }
.legal p { color: var(--muted); margin-bottom: 0.9em; }
.legal a { color: var(--plum); text-decoration: underline; text-underline-offset: 2px; }
.placeholder-note { background: #fbf3d9; border: 1px solid #e9d59a; color: #7a5a12; padding: 12px 18px; border-radius: 12px; font-size: 0.85rem; margin: 18px 0 28px; }
.ph { display: inline; background: rgba(123, 74, 125, 0.08); color: var(--plum); border-radius: 6px; padding: 1px 6px; font-style: italic; }

/* ---------- Contact ---------- */
.contact-block h4.eyebrow { display: block; margin-bottom: 12px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 8px; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-list li > span:first-child { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--plum); }

/* ---------- Partner chips (Wissenschaft) ---------- */
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.partner-chip { display: inline-flex; align-items: center; padding: 12px 22px; border: 1px solid var(--line); border-radius: 100px; background: var(--cream-2); font-size: 0.9rem; letter-spacing: 0.01em; color: var(--ink); }

/* ---------- Article (Journal) ---------- */
.article-hero { position: relative; height: clamp(320px, 46vw, 560px); border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,34,51,.15), rgba(58,34,51,.55)); }
.article-hero .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px,4vw,56px); color: #fff; }
.article-hero .cap h1 { color: #fff; max-width: 20ch; }
.article-body { max-width: 720px; margin-inline: auto; }
.article-body .lead { font-size: clamp(1.2rem,1.8vw,1.5rem); color: var(--ink); margin-bottom: 1.2em; }
.article-body p { color: var(--muted); margin-bottom: 1.3em; }
.article-body h2 { font-size: clamp(1.5rem,2.6vw,2.1rem); margin: 1.6em 0 .5em; }
.article-body blockquote { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.4; color: var(--plum); border-left: 3px solid var(--lilac); padding-left: 24px; margin: 1.4em 0; font-style: italic; }
.article-meta { display: flex; gap: 14px; align-items: center; justify-content: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.article-figure { margin: 2em 0; border-radius: var(--radius); overflow: hidden; }

/* ---------- Podcast ---------- */
.podcast-band { background: var(--plum-deep); color: var(--cream); }
.podcast-card { display: flex; gap: 20px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 20px 24px; }
.podcast-card__num { font-family: var(--font-display); font-size: 1.6rem; color: var(--lilac); flex-shrink: 0; }
.podcast-card__body { flex: 1; min-width: 0; }
.podcast-card__body h3 { color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.podcast-card__body p { color: rgba(255,255,255,.7); font-size: .9rem; }
.btn--spotify { background: #1DB954; color: #fff; white-space: nowrap; flex-shrink: 0; }
.btn--spotify:hover { background: #1ed760; transform: translateY(-3px); }
@media (max-width: 620px) { .podcast-card { flex-wrap: wrap; } .btn--spotify { width: 100%; } }

/* ---------- Pull quote (Story) ---------- */
.pull { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; color: var(--plum); border-left: 3px solid var(--lilac); padding-left: 26px; font-style: italic; }
.bg-plum .pull { color: #fff; border-color: var(--lavender); }

/* ---------- Ritual switcher ---------- */
.ritual { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px,4vw,56px); align-items: stretch; }
.ritual__tabs { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.ritual__tab { text-align: left; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; transition: all .4s var(--ease); }
.ritual__tab h4 { font-size: 1.3rem; margin-bottom: 2px; }
.ritual__tab span { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ritual__tab.active { background: var(--plum); border-color: var(--plum); box-shadow: var(--shadow-soft); }
.ritual__tab.active h4, .ritual__tab.active span { color: #fff; }
.ritual__panel { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; padding: clamp(28px,4vw,48px); color: var(--ink); transition: background .6s var(--ease); }
.ritual__panel .r-img { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); height: 86%; filter: drop-shadow(0 30px 40px rgba(90,42,72,.4)); opacity: .96; transition: opacity .5s var(--ease); }
.ritual__panel .r-body { position: relative; z-index: 2; max-width: 62%; }
.ritual__panel .r-mood { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--plum); }
.ritual__panel h3 { font-size: clamp(2rem,3.4vw,2.8rem); margin: .1em 0 .3em; }
.ritual__meta { margin: 14px 0 20px; }
.ritual__meta div { padding: 8px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.ritual__meta div span:first-child { color: var(--muted); display: inline-block; width: 110px; }
@media (max-width: 820px){ .ritual { grid-template-columns: 1fr; } .ritual__tabs { flex-direction: row; overflow-x: auto; } .ritual__tab { flex: 1; min-width: 130px; } .ritual__panel .r-body { max-width: 100%; } .ritual__panel .r-img { opacity: .18; } }

/* ---------- Instagram grid ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ig-tile { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: block; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-tile:hover img { transform: scale(1.08); }
.ig-tile::after { content: ""; position: absolute; inset: 0; background: rgba(90,42,72,.0); transition: background .4s var(--ease); }
.ig-tile:hover::after { background: rgba(90,42,72,.35); }
.ig-tile svg { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; fill: #fff; opacity: 0; transform: scale(.6); transition: .4s var(--ease); z-index: 2; }
.ig-tile:hover svg { opacity: 1; transform: scale(1); }
@media (max-width: 820px){ .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Movement band ---------- */
.move-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(56px,9vw,120px) clamp(28px,5vw,80px); text-align: center; color: #fff; }
.move-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.move-band .veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(90,42,72,.55), rgba(58,34,51,.72)); }
.move-band > .inner { position: relative; z-index: 2; max-width: 640px; margin-inline: auto; }
.move-band h2 { color: #fff; }

/* subtle count-up baseline */
.stat .num[data-count] { font-variant-numeric: tabular-nums; }

/* ---------- 4-up team grid ---------- */
.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .four { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }
.four .team-card .avatar { width: 128px; }
.four .team-card p { font-size: 0.86rem; }

/* ---------- Notice box (legal) ---------- */
.notice-box { background: var(--lilac-soft); border: 1px solid var(--line); border-left: 3px solid var(--plum); border-radius: 12px; padding: 18px 22px; margin: 18px 0 28px; color: var(--ink); font-size: 0.95rem; line-height: 1.6; }
.notice-box strong { color: var(--plum-deep); }

/* ---------- Wissenschaftsseite: Abbildungen & Tabellen ---------- */
.sci-fig { margin: 0; }
.sci-fig img { width: 100%; height: auto; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.sci-fig figcaption { font-size: 0.82rem; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.sci-fig figcaption .src { display: block; font-size: 0.74rem; opacity: 0.75; margin-top: 3px; }
.sci-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 760px) { .sci-row { grid-template-columns: repeat(2, 1fr); } }
.sci-row .sci-fig img { aspect-ratio: 1; object-fit: cover; }
.sci-row .sci-fig figcaption { font-size: 0.74rem; text-align: center; }
.sci-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
@media (max-width: 700px) { .sci-sub { grid-template-columns: 1fr; } }

.data-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 0.9rem; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.data-table th { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.data-table tbody tr.is-lead { background: var(--lilac-soft); }
.data-table tbody tr.is-lead td { font-weight: 500; color: var(--plum-deep); }
.table-scroll { overflow-x: auto; }

.limits-list { display: grid; gap: 18px; margin-top: 8px; }
.limits-list > div { padding-left: 18px; border-left: 2px solid var(--lilac); }
.limits-list strong { display: block; margin-bottom: 4px; color: var(--ink); }
.limits-list p { color: var(--muted); }

/* ---------- Wissenschaftsseite v2 ---------- */
.sci-hero {
  padding: clamp(140px, 16vw, 200px) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(90% 120% at 82% 0%, rgba(216,199,221,.55), transparent 60%),
    linear-gradient(180deg, var(--lilac-soft) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
}
.stat-band { background: var(--plum-deep); color: #fff; padding-block: clamp(34px, 4.5vw, 54px); }
.stat-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); }
.stat-band__grid > div { position: relative; padding-left: 20px; }
.stat-band__grid > div::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: rgba(255,255,255,.28); }
.stat-band .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1; color: #fff; }
.stat-band .lbl { font-size: .78rem; letter-spacing: .06em; color: rgba(255,255,255,.72); margin-top: 10px; line-height: 1.45; }
@media (max-width: 860px) { .stat-band__grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }

.impl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); }
@media (max-width: 820px) { .impl-grid { grid-template-columns: 1fr; } }
.impl { border-top: 1px solid rgba(255,255,255,.22); padding-top: 20px; }
.impl__n { font-family: var(--font-display); font-size: .95rem; color: var(--lilac); letter-spacing: .1em; }
.impl h3 { color: #fff; font-size: clamp(1.15rem, 1.9vw, 1.45rem); margin: .35em 0 .45em; }
.impl p { color: rgba(255,255,255,.78); font-size: .95rem; }

.model-note { border-left: 2px solid var(--lilac); padding: 4px 0 4px 22px; max-width: 760px; }

/* ---------- 5-up team grid ---------- */
.five { grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 2.4vw, 36px); }
@media (max-width: 1180px) { .five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .five { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }
.five .team-card .avatar { width: 108px; }
.five .team-card h3 { font-size: 1.1rem; }
.five .team-card .role { font-size: .68rem; }
.five .team-card p { font-size: .82rem; }
