/* SB Cosmetics: Entwurf
   Schwarz wie das Studio am Abend, Gold aus dem Logo, Weinrot ist das Serum. */

@font-face { font-family: "Noto Serif Display"; src: url("../fonts/noto-serif-display-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif Display"; src: url("../fonts/noto-serif-display-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Noto Serif Display"; src: url("../fonts/noto-serif-display-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif Display"; src: url("../fonts/noto-serif-display-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("../fonts/noto-serif-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url("../fonts/commissioner-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("../fonts/noto-serif-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url("../fonts/commissioner-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("../fonts/noto-serif-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url("../fonts/commissioner-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0c0b0a;
  --ink-2: #12100e;
  --ink-3: #181512;
  --ivory: #ece5d8;
  --muted: #a1988a;
  --gold: #cfa954;
  --gold-hi: #e9cf8c;
  --line: rgba(207, 169, 84, .3);
  --line-soft: rgba(207, 169, 84, .16);
  --wine: #6b1322;
  --wine-hi: #8e1c2f;
  --serif: "Noto Serif Display", "Didot", "Times New Roman", serif;
  --sans: "Commissioner", system-ui, sans-serif;
  --serif-text: "Noto Serif", Georgia, serif; /* für kleine Großbuchstaben: kräftigere Striche, bleibt scharf */
  --gut: clamp(16px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font: 300 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 4px; }
em { font-style: italic; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 10px var(--gut);
  border-bottom: 1px solid transparent;
  transition: background-color .5s, border-color .5s;
}
.nav.solid { background: rgba(12, 11, 10, .94); border-bottom-color: var(--line-soft); }
.nav-left, .nav-right { display: flex; gap: clamp(18px, 2.4vw, 34px); align-items: center; }
.nav-right { justify-content: flex-end; }
.nav a, .nav button { font: 500 .7rem/1 var(--serif-text); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ivory); transition: color .3s; }
.nav a:hover, .nav button:hover { color: var(--gold-hi); }
.nav-logo img { height: 44px; width: auto; }
.nav-menu { display: none; }
.cart-count {
  display: inline-block; min-width: 1.7em; margin-left: 8px; padding: 2px 5px;
  border: 1px solid var(--line); font: 400 .66rem/1 var(--sans); letter-spacing: 0; text-align: center; font-variant-numeric: tabular-nums;
  transition: background-color .4s, border-color .4s;
}
.cart-count.has { background: var(--wine); border-color: var(--wine-hi); }

.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 0 var(--gut);
  visibility: hidden; opacity: 0; transition: opacity .4s, visibility .4s;
}
.menu.open { visibility: visible; opacity: 1; }
.menu a, .menu > button:not(.close) { font: 300 1.9rem/1.1 var(--serif); text-decoration: none; text-align: left; border-bottom: 1px solid var(--line-soft); padding-bottom: 14px; }

.close { position: absolute; top: 22px; right: var(--gut); z-index: 2; font: 500 .7rem/1 var(--serif-text); letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.close:hover { color: var(--gold-hi); }

/* ---------- Buttons: Goldrahmen, der sich mit Serum füllt ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border: 1px solid var(--gold); color: var(--gold-hi);
  font: 400 .8rem/1 var(--sans); letter-spacing: .07em; text-decoration: none;
  overflow: hidden; isolation: isolate; transition: color .55s;
}
.btn::before {
  content: ""; position: absolute; left: -20%; right: -20%; top: 100%; height: 280%; z-index: -1;
  background: var(--wine);
  border-radius: 50% 50% 0 0 / 14% 14% 0 0;
  transition: transform .8s cubic-bezier(.3, .7, .15, 1);
}
.btn:hover, .btn:focus-visible, .btn.filled { color: var(--ivory); }
.btn:hover::before, .btn:focus-visible::before, .btn.filled::before { transform: translateY(-60%); }
.btn.small { padding: 10px 14px; font-size: .74rem; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link-line { color: var(--ivory); text-decoration: none; font-size: .9rem; border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .3s, color .3s; }
.link-line:hover { color: var(--gold-hi); border-color: var(--gold); }

/* ---------- Ritual ---------- */
.ritual { position: relative; height: 900vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.loader { position: absolute; inset: 0; z-index: 6; background: var(--ink); display: grid; place-content: center; justify-items: center; gap: 26px; transition: opacity 1s, visibility 1s; }
.loader img { width: 92px; height: auto; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-line { display: block; width: 140px; height: 1px; background: var(--line-soft); }
.loader-line i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s; }

.hero-copy { position: absolute; left: 0; right: 0; top: clamp(84px, 12vh, 150px); padding: 0 var(--gut); text-align: center; pointer-events: none; }
.hero-copy h1 { font: 300 clamp(1.8rem, min(3.3vw, 6vh), 3.4rem)/1.08 var(--serif); letter-spacing: -.012em; margin: 0 auto; max-width: 15.5em; }
.hero-copy p { max-width: 32em; margin: 14px auto 0; color: var(--muted); font-size: .95rem; }
.scroll-hint { position: absolute; left: var(--gut); bottom: 26px; font-size: .76rem; letter-spacing: .08em; color: var(--muted); padding-bottom: 30px; }
.scroll-hint::after { content: ""; position: absolute; left: 0; bottom: 0; width: 1px; height: 22px; background: var(--gold); transform-origin: top; animation: drip 2.4s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.cap { position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%); max-width: min(340px, 32vw); opacity: 0; pointer-events: none; }
.cap h3 { font: 300 italic clamp(1.4rem, 2vw, 2rem)/1.15 var(--serif); margin: 0 0 12px; }
.cap p { margin: 0; color: var(--muted); font-size: .94rem; }
.cap-top { left: 0; right: 0; top: clamp(90px, 13vh, 130px); transform: none; max-width: none; text-align: center; padding: 0 var(--gut); }

.ing-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ing-lines line { stroke: var(--gold); stroke-width: 1; }
.ing-lines circle { fill: var(--gold-hi); }
.ing { position: absolute; left: 0; top: 0; width: 230px; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.ing strong { display: block; font: 400 italic 1.1rem/1.2 var(--serif); margin-bottom: 4px; }
.ing span { display: block; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.ing .pct { display: inline; font: 400 .8rem var(--sans); color: var(--gold-hi); font-style: normal; margin-left: 6px; font-variant-numeric: tabular-nums; }
.ing.right { text-align: right; }

.finale { position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%); max-width: 420px; opacity: 0; pointer-events: none; }
.finale.live { pointer-events: auto; }
.finale h2 { font: 300 clamp(2rem, 3.4vw, 3.2rem)/1 var(--serif); margin: 0 0 14px; letter-spacing: -.01em; }
.finale p { margin: 0 0 10px; color: var(--muted); }
.finale .finale-price { color: var(--ivory); font-variant-numeric: tabular-nums; margin-bottom: 28px; }
.finale-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.rail { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); height: 44vh; width: 30px; }
.rail-ticks { position: absolute; inset: 0 auto 0 0; width: 10px; background: repeating-linear-gradient(to top, var(--gold) 0 1px, transparent 1px 10%); opacity: .55; }
.rail-ticks::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--gold); }
.rail-fill { position: absolute; left: 0; bottom: 0; width: 3px; height: 0; background: var(--wine-hi); }
.rail-unit { position: absolute; left: 16px; bottom: -4px; font-size: .7rem; color: var(--muted); }

/* ---------- Die Lieblinge ---------- */
.favs { position: relative; height: 640vh; }
.favs-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.favs-kicker { position: absolute; left: 0; right: 0; top: clamp(76px, 10vh, 100px); margin: 0; text-align: center; font: 300 italic clamp(1rem, 1.3vw, 1.2rem) var(--serif); color: var(--muted); }
#favsCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fav-info { position: absolute; left: var(--gut); top: 64%; transform: translateY(-50%); max-width: min(400px, 34vw); opacity: 0; pointer-events: none; }
.fav-info.live { pointer-events: auto; }
.fav-name { font: 300 clamp(2rem, 4vw, 3.6rem)/1 var(--serif); letter-spacing: -.012em; margin: 0 0 14px; }
.fav-line { margin: 0 0 10px; color: var(--muted); }
.fav-price { margin: 0 0 24px; font-variant-numeric: tabular-nums; }
.fav-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.fav-hint { position: absolute; left: 0; top: 0; width: 230px; opacity: 0; pointer-events: none; }
.fav-hint strong { display: block; font: 400 italic 1.15rem/1.2 var(--serif); margin-bottom: 3px; }
.fav-hint span { display: block; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.favs-progress { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.favs-progress span { display: block; width: 1px; height: 46px; background: var(--line); position: relative; }
.favs-progress span::after { content: ""; position: absolute; left: -1px; top: 0; width: 3px; height: 100%; background: var(--wine-hi); transform: scaleY(var(--f, 0)); transform-origin: top; }

/* ---------- Abschnitte ---------- */
.section { position: relative; padding: clamp(84px, 10vw, 140px) var(--gut); }
.wrap { max-width: 1320px; margin: 0 auto; }
.title { font: 300 clamp(2.3rem, 5vw, 4.8rem)/1 var(--serif); letter-spacing: -.018em; margin: 0; }
.sub { font: 300 italic clamp(1.05rem, 1.4vw, 1.25rem)/1.3 var(--serif); color: var(--muted); margin: 14px 0 0; }
.lead { color: var(--muted); max-width: 34em; margin: 0; font-size: .95rem; }
.list-title { font: 400 .8rem/1 var(--sans); letter-spacing: .06em; color: var(--gold-hi); margin: 56px 0 18px; }

/* Prägung: die Überschrift wird hinter einer goldenen Linie freigelegt */
.stamp { position: relative; display: inline-block; padding-right: .06em; clip-path: inset(-12% calc((1 - var(--p, 1)) * 100%) -22% -2%); }
.stamp::after { content: ""; position: absolute; top: -4%; bottom: -8%; left: calc(var(--p, 1) * 100% - 1px); width: 1px; background: var(--gold-hi); opacity: var(--o, 0); }

/* ---------- Kollektion ---------- */
.shop-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px 56px; align-items: end; }
.filters { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.filters .q { width: 100%; font: 300 italic 1.2rem var(--serif); color: var(--muted); margin-bottom: 4px; }
.filter { position: relative; font-size: .92rem; padding: 6px 0; color: var(--muted); transition: color .3s; }
.filter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.3, .7, .15, 1); }
.filter:hover { color: var(--ivory); }
.filter.on { color: var(--ivory); }
.filter.on::after { transform: scaleX(1); }

.shelf { margin-top: 36px; overflow: hidden; }
.shelf-inner { display: grid; grid-template-columns: repeat(5, 1fr); margin-right: -1px; }
.prod { position: relative; padding: 14px clamp(12px, 1.3vw, 22px) 40px; border-right: 1px solid var(--line-soft); }
.prod[hidden] { display: none; }
.prod-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; cursor: pointer; }
.prod-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: transform 1.1s cubic-bezier(.3, .7, .15, 1); }
.prod-frame:hover img { transform: translateY(-2.5%); }
.ledge { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform-origin: left; }
.prod h3 { font: 300 clamp(1.15rem, 1.45vw, 1.4rem)/1.15 var(--serif); margin: 18px 0 4px; }
.prod h3 button { text-align: left; }
.prod h3 button:hover { color: var(--gold-hi); }
.prod .type { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.45; min-height: 2.9em; }
.prod-row { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 14px; }
.price { font: 400 .92rem var(--sans); font-variant-numeric: tabular-nums; }
.price small { color: var(--muted); font-weight: 300; font-size: .82rem; margin-right: 4px; }
.shelf-empty { padding: 40px 0; color: var(--muted); }

/* ---------- Deine Routine ---------- */
.routine { background: var(--ink); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.routine-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px 56px; align-items: end; }
.routine-switch { position: relative; display: inline-flex; gap: 40px; margin-top: 56px; padding-bottom: 10px; }
.routine-switch button { font: 300 italic clamp(1.5rem, 2.4vw, 2.2rem)/1.1 var(--serif); color: var(--muted); transition: color .4s; }
.routine-switch button:hover, .routine-switch button.on { color: var(--ivory); }
.switch-line { position: absolute; left: 0; bottom: 0; height: 1px; background: var(--gold); transition: transform .6s cubic-bezier(.3, .7, .15, 1), width .6s cubic-bezier(.3, .7, .15, 1); }
.routine-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 64px); margin-top: 48px; padding-top: 34px; }
.routine-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold); transform: scaleX(var(--lp, 1)); transform-origin: left; }
.step { position: relative; }
.step-dot { position: absolute; left: 0; top: -39px; width: 11px; height: 11px; border: 1px solid var(--gold); background: var(--ink); transform: rotate(45deg); transition: background-color .5s, border-color .5s; }
.step.reached .step-dot { background: var(--wine-hi); border-color: var(--gold-hi); }
.step-when { margin: 0 0 14px; font: 300 italic 1.1rem var(--serif); color: var(--gold-hi); }
.step-img { aspect-ratio: 4 / 5; max-height: 380px; cursor: pointer; overflow: hidden; }
.step-img img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; transition: transform 1.1s cubic-bezier(.3, .7, .15, 1); }
.step-img:hover img { transform: translateY(-2.5%); }
.step h3 { font: 300 clamp(1.3rem, 1.9vw, 1.75rem)/1.15 var(--serif); margin: 18px 0 6px; }
.step h3 button:hover { color: var(--gold-hi); }
.step-do { margin: 0 0 10px; color: var(--muted); font-size: .94rem; max-width: 26em; }
.step .price small { color: var(--muted); font-weight: 300; font-size: .8rem; margin-left: 4px; }
.routine-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.routine-sum { margin: 0; font: 300 clamp(1.15rem, 1.6vw, 1.45rem) var(--serif); font-variant-numeric: tabular-nums; }

/* ---------- B2B-Angebote ---------- */
.b2b-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px 56px; align-items: end; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: 64px; }
.pack { position: relative; padding-top: 26px; display: flex; flex-direction: column; }
.pack-rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold); transform-origin: left; }
.pack-name { font: 300 clamp(1.9rem, 2.8vw, 2.6rem)/1 var(--serif); margin: 0; }
.pack-sub { margin: 8px 0 18px; font: 300 italic 1.1rem var(--serif); color: var(--gold-hi); }
.pack ul { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.pack li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: .94rem; }
.pack-price { margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.pack-price small { color: var(--muted); font-size: .8rem; margin-left: 4px; }
.pack .link-line { align-self: flex-start; }

.order { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.order-group { font: 300 italic 1.15rem var(--serif); color: var(--gold-hi); margin: 26px 0 6px; }
.order-group:first-child { margin-top: 0; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); transition: border-color .4s; }
.order-row.picked { border-bottom-color: var(--wine-hi); }
.or-name { font: 300 1.15rem/1.2 var(--serif); }
.or-name small { display: block; font: 300 .8rem var(--sans); color: var(--muted); margin-top: 2px; }
.or-price { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .92rem; }
.order-row .qty button { width: 34px; height: 34px; }
.order-row .qty span { min-width: 28px; font-size: .92rem; }
.order-row.picked .qty span { color: var(--gold-hi); }
.order-sum { position: sticky; top: 100px; border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 34px); }
.os-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 7px 0; font-size: .94rem; color: var(--muted); }
.os-row strong { color: var(--ivory); font: 300 1.2rem var(--serif); font-variant-numeric: tabular-nums; }
.os-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; color: var(--ivory); }
.os-total strong { font-size: 1.8rem; }
.os-small { font-size: .82rem; padding-top: 0; }
.os-save strong { color: var(--gold-hi); }
.os-tier { margin: 6px 0 14px; }
.os-bar { position: relative; height: 1px; background: var(--gold); margin-top: 10px; }
.os-fill { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--wine-hi); transition: width .6s cubic-bezier(.3, .7, .15, 1); }
.os-marks { position: relative; height: 34px; }
.os-next { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
.tier { position: absolute; top: 6px; transform: translateX(-50%); font-size: .72rem; color: var(--muted); text-align: center; white-space: nowrap; transition: color .3s; }
.tier::before { content: ""; position: absolute; left: 50%; top: -12px; width: 1px; height: 7px; background: var(--gold); }
.tier.hit { color: var(--gold-hi); }
.order-sum .btn { margin-top: 18px; }
.os-note { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.order-mini { display: none; }

/* Auswahl-Kästchen (Größen im Produktdetail) */
.chip { border: 1px solid var(--line); padding: 9px 14px; font-size: .84rem; color: var(--muted); transition: border-color .3s, color .3s; }
.chip:hover { color: var(--ivory); }
.chip.on { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- Kontakt ---------- */
.contact { border-top: 1px solid var(--line-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.contact-data { margin: 36px 0 0; }
.contact-data div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.contact-data dt { font: 300 italic 1.05rem var(--serif); color: var(--gold-hi); }
.contact-data dd { margin: 0; color: var(--muted); font-size: .94rem; }
.contact-data a { text-decoration: none; color: var(--ivory); }
.contact-data a:hover { color: var(--gold-hi); }
.contact-form { border: 1px solid var(--line); padding: clamp(20px, 3.4vw, 44px); }
.cf-fields [hidden] { display: none !important; }
.cf-fields > * { overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label, .choice legend { font-size: .8rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; background: var(--ink); border: 1px solid var(--line-soft); color: var(--ivory); font: 300 1rem var(--sans); padding: 13px 14px; border-radius: 0; transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field .bad, .field input.bad, .field textarea.bad { border-color: var(--wine-hi); }
.choice { border: 0; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.choice legend { width: 100%; margin-bottom: 10px; padding: 0; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; border: 1px solid var(--line-soft); padding: 9px 14px; font-size: .86rem; color: var(--muted); transition: border-color .3s, color .3s; }
.choice input:checked + span { border-color: var(--gold); color: var(--gold-hi); }
.choice input:focus-visible + span { outline: 1px solid var(--gold-hi); outline-offset: 3px; }
.topic { margin-bottom: 24px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 20px; font-size: .84rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--wine-hi); }
.consent a { color: var(--ivory); }
.consent.bad span { color: var(--gold-hi); }
.form-msg { margin: 18px 0 0; color: var(--gold-hi); min-height: 1.4em; }

/* ---------- Footer ---------- */
.foot { padding: 80px var(--gut) 40px; border-top: 1px solid var(--line-soft); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; }
.foot-logo { width: 96px; height: auto; }
.foot h4 { font: 400 .8rem var(--sans); letter-spacing: .06em; color: var(--gold-hi); margin: 0 0 12px; }
.foot p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ivory); }
.foot-note { margin-top: 60px !important; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: .8rem !important; }

/* ---------- Produktdetail ---------- */
.detail { position: fixed; inset: 0; z-index: 80; background: #0a0908; display: grid; grid-template-columns: 1.05fr 1fr; visibility: hidden; clip-path: inset(100% 0 0 0); }
.detail.open { visibility: visible; }
.detail-media { position: relative; border-right: 1px solid var(--line-soft); overflow: hidden; background: var(--ink); }
.detail-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.detail-body { overflow-y: auto; padding: clamp(80px, 11vh, 120px) clamp(20px, 4.4vw, 72px) 60px; overscroll-behavior: contain; }
.detail-body .sub { margin: 0 0 8px; }
.detail-name { font: 300 clamp(2.2rem, 3.8vw, 3.6rem)/1 var(--serif); margin: 0; letter-spacing: -.012em; }
.detail-claim { color: var(--muted); max-width: 30em; margin: 20px 0 0; }
.detail-buy { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.buy-row { display: flex; justify-content: space-between; align-items: center; margin: 22px 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 42px; height: 42px; font-size: 1.1rem; color: var(--gold-hi); }
.qty button:hover { background: var(--ink-3); }
.qty span { min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.detail-price { font: 300 2rem var(--serif); font-variant-numeric: tabular-nums; }
.ship-note { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }
.ing-list, .use-list { margin: 0; }
.ing-list div, .use-list div { display: grid; grid-template-columns: 11em 1fr; gap: 4px 20px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.ing-list dt, .use-list dt { font: 400 italic 1.1rem/1.3 var(--serif); }
.ing-list dd, .use-list dd { margin: 0; color: var(--muted); font-size: .94rem; }
.ing-list dd b { color: var(--gold-hi); font-weight: 400; margin-right: 6px; }

/* ---------- Suche ---------- */
.search { position: fixed; inset: 0; z-index: 75; background: rgba(10, 9, 8, .97); visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; overflow-y: auto; }
.search.open { visibility: visible; opacity: 1; }
.search-inner { max-width: 900px; margin: 0 auto; padding: 18vh var(--gut) 60px; }
.search-inner .sub { display: block; margin: 0 0 12px; }
#searchInput { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--gold); color: var(--ivory); font: 300 clamp(2rem, 5vw, 3.8rem)/1.2 var(--serif); padding: 6px 0 12px; border-radius: 0; }
#searchInput:focus { outline: none; }
#searchInput::placeholder { color: rgba(161, 152, 138, .45); }
.search-results { margin-top: 26px; }
.sr { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; width: 100%; text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.sr img { width: 64px; height: 80px; object-fit: cover; }
.sr strong { display: block; font: 300 1.4rem var(--serif); }
.sr span { font-size: .86rem; color: var(--muted); }
.sr:hover strong { color: var(--gold-hi); }

/* ---------- Warenkorb ---------- */
.scrim { position: fixed; inset: 0; z-index: 85; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .45s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(450px, 100%); background: #0f0d0c; border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .65s cubic-bezier(.3, .7, .15, 1); }
.cart.open { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: baseline; padding: 26px 26px 18px; border-bottom: 1px solid var(--line-soft); }
.cart-head h3 { font: 300 1.9rem var(--serif); margin: 0; }
.close-inline { font-size: .84rem; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.ship { padding: 16px 26px 18px; border-bottom: 1px solid var(--line-soft); }
.ship p { margin: 0 0 10px; font-size: .86rem; color: var(--muted); }
.ship-bar { display: block; height: 1px; background: var(--line-soft); }
.ship-bar i { display: block; height: 3px; margin-top: -1px; background: var(--wine-hi); width: 0; transition: width .6s cubic-bezier(.3, .7, .15, 1); }
.cart-items { flex: 1; overflow-y: auto; padding: 0 26px; }
.ci { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.ci img { width: 70px; height: 88px; object-fit: cover; }
.ci h4 { font: 300 1.25rem/1.15 var(--serif); margin: 0; }
.ci p { margin: 2px 0 10px; font-size: .82rem; color: var(--muted); }
.ci .qty button { width: 32px; height: 32px; font-size: 1rem; }
.ci .qty span { min-width: 26px; font-size: .9rem; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-variant-numeric: tabular-nums; }
.ci-right button { font-size: .78rem; color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.ci-right button:hover { color: var(--ivory); }
.cart-empty { padding: 40px 0; color: var(--muted); }
.cart-empty em { display: block; font: 300 italic 1.5rem var(--serif); color: var(--ivory); margin-bottom: 8px; }
.cart-foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; }
.cart-sum strong { font: 300 1.7rem var(--serif); font-variant-numeric: tabular-nums; }
.cart-tax { margin: 2px 0 18px; font-size: .8rem; color: var(--muted); }
.cart-pay { margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
.cart-pay.note { color: var(--gold-hi); }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1180px) {
  .shelf-inner { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
  .b2b-head, .shop-head, .order, .contact-grid { grid-template-columns: 1fr; }
  .order-sum { position: static; }
  .routine-head { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .favs-progress { right: 10px; }
  .fav-info { left: var(--gut); right: var(--gut); top: auto; bottom: max(26px, 4svh); transform: none; max-width: none; }
  .fav-name { margin-bottom: 8px; }
  .fav-line { font-size: .9rem; margin-bottom: 6px; }
  .fav-price { margin-bottom: 16px; }
  .fav-hint { display: none; }
  .nav-left a, .nav-search { display: none; }
  .nav-menu { display: block; }
  .shelf-inner { grid-template-columns: repeat(2, 1fr); }
  .nav-logo img { height: 46px; }
  .cap { left: var(--gut); right: var(--gut); top: auto; bottom: max(26px, 4svh); transform: none; max-width: none; }
  .cap h3 { margin-bottom: 10px; }
  .cap p { font-size: .95rem; }
  .cap-top { display: none; } /* am Handy sprechen die Wirkstoffe für sich, oben stehen sie selbst */
  .finale { left: var(--gut); right: var(--gut); top: auto; bottom: max(26px, 4svh); transform: none; max-width: none; }
  .finale h2 { margin-bottom: 10px; }
  .finale .finale-price { margin-bottom: 18px; }
  .rail { display: none; }
  .scroll-hint { left: 50%; transform: translateX(-50%); }
  .scroll-hint::after { left: 50%; }
  .ing { width: 150px; }
  .ing strong { font-size: 1.02rem; }
  .ing span { font-size: .76rem; }
  .ing .pct { display: block; margin: 2px 0 0; }
  .routine-switch { margin-top: 40px; gap: 28px; }
  .routine-steps { grid-template-columns: 1fr; gap: 44px; padding-top: 0; padding-left: 34px; }
  .routine-line { right: auto; bottom: 0; width: 1px; height: auto; transform: scaleY(var(--lp, 1)); transform-origin: top; }
  .step-dot { left: -39px; top: 4px; }
  .step-img { aspect-ratio: 1 / 1; max-height: 260px; }
  .routine-foot .btn { width: 100%; }
  .packs { grid-template-columns: 1fr; gap: 40px; }
  .order-mini { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; justify-content: space-between; align-items: center; gap: 12px; padding: 14px var(--gut); background: rgba(12, 11, 10, .96); border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; transform: translateY(100%); transition: transform .45s cubic-bezier(.3, .7, .15, 1); }
  .order-mini.on { transform: none; }
  .order-row { grid-template-columns: 1fr auto; }
  .or-price { grid-column: 1; grid-row: 2; }
  .order-row .qty { grid-row: 1 / span 2; grid-column: 2; }
  .detail { grid-template-columns: 1fr; grid-template-rows: 42svh 1fr; }
  .detail-media { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .detail-body { padding-top: 28px; }
  .ing-list div, .use-list div { grid-template-columns: 1fr; }
  .close { top: 16px; }
}

@media (max-width: 560px) {
  .prod .btn.small { padding: 10px 8px; font-size: .7rem; letter-spacing: .03em; }
  .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .tier { font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint::after { animation: none; transform: scaleY(1); }
  .btn::before, .prod-frame img, .cart { transition-duration: .01s; }
}

/* ---------- PC: Texte wieder in der ursprünglichen Größe, das Handy bleibt kompakt ---------- */
@media (min-width: 761px) {
  body { font-size: 1.0625rem; }
  .hero-copy h1 { font-size: clamp(2.05rem, min(4.3vw, 7vh), 4.4rem); }
  .hero-copy p { font-size: clamp(.95rem, 1.15vw, 1.05rem); margin-top: 18px; }
  .cap { max-width: min(390px, 36vw); }
  .cap h3 { font-size: clamp(1.7rem, 2.7vw, 2.6rem); margin-bottom: 16px; }
  .cap p { font-size: 1rem; }
  .ing strong { font-size: 1.3rem; }
  .ing span { font-size: .86rem; }
  .finale h2 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); }
  .title { font-size: clamp(2.7rem, 6.6vw, 6.6rem); }
  .sub { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }
  .lead { font-size: 1rem; }
  .detail-name { font-size: clamp(2.6rem, 4.8vw, 4.6rem); }
  .btn { padding: 16px 30px; font-size: .86rem; }
  .btn.small { padding: 11px 16px; font-size: .78rem; }
  .prod h3 { font-size: clamp(1.25rem, 1.6vw, 1.6rem); }
  .prod .type { font-size: .86rem; }
}

/* Die mittige Überschrift über den Wirkstoffen braucht die volle Breite, auch mit den größeren PC-Schriften */
.cap.cap-top { max-width: none; }
