/* ==========================================================================
   Alpine Essence – Hydro-Botanical Care
   Farben und Schriften angelehnt an den Produktflyer
   ========================================================================== */

:root {
  --ink: #3a2823;          /* Fließtext, dunkles Erdbraun */
  --ink-soft: #6e5c54;
  --ink-mute: #9a8a82;
  --espresso: #25120c;     /* dunkles Panel aus dem Flyer */
  --espresso-2: #331b13;
  --bark: #4a2416;
  --copper: #b5764a;
  --copper-light: #d3925a;
  --glacier: #cfeafb;      /* Hellblau-Panel aus dem Flyer */
  --glacier-soft: #e9f5fd;
  --mist: #dbe8ec;
  --paper: #ffffff;
  --cream: #faf7f2;
  --line: rgba(58, 40, 35, .14);

  --f-display: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Source Sans 3", "Myriad Pro", "Segoe UI", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--espresso); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* ---------- Typografie ---------- */

.eyebrow {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 18px;
}

.h-display {
  font-family: var(--f-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1.25;
  margin: 0;
}

.h-xl { font-size: clamp(26px, 3.2vw, 46px); }
.h-lg { font-size: clamp(22px, 2.3vw, 32px); }
.h-md { font-size: clamp(17px, 1.45vw, 21px); }

.subline {
  font-family: var(--f-text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .24em;
  color: var(--ink-soft);
  margin: 6px 0 0;
}

.lead {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.55;
  font-style: italic;
  font-weight: 300;
}

/* ---------- Layout-Helfer ---------- */

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(80px, 11vw, 160px) 0; }

.photo { position: relative; overflow: hidden; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; padding: 0 var(--gutter);
}
.site-header .brand { display: block; width: 104px; opacity: 0; transform: translateY(-6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease); }
.site-header.is-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.site-header.is-scrolled .brand { opacity: 1; transform: none; }

.nav ul { display: flex; gap: clamp(20px, 2.6vw, 44px); list-style: none; margin: 0; padding: 0; }
.nav a {
  font-family: var(--f-display); font-weight: 500; font-size: 12px;
  letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--copper); transition: right .35s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .site-header { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line); }
  .site-header .brand { opacity: 1; transform: none; width: 88px; }
  .site-header .bar { height: 64px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer;
    font-family: var(--f-display); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--ink); padding: 10px 0;
  }
  .nav-toggle .lines { width: 22px; height: 10px; position: relative; }
  .nav-toggle .lines::before, .nav-toggle .lines::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
    transition: transform .3s var(--ease), top .3s var(--ease);
  }
  .nav-toggle .lines::before { top: 0; }
  .nav-toggle .lines::after { top: 8px; }
  .nav-open .nav-toggle .lines::before { top: 4px; transform: rotate(45deg); }
  .nav-open .nav-toggle .lines::after { top: 4px; transform: rotate(-45deg); }

  .nav {
    position: fixed; inset: 64px 0 auto 0; background: #fff; box-shadow: 0 12px 24px rgba(37, 18, 12, .08);
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  .nav-open .nav { max-height: 360px; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a { display: block; padding: 16px 0; font-size: 13px; }
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 11vw minmax(0, 1fr) minmax(0, 1.15fr) 9vw;
  min-height: min(100vh, 940px);
  min-height: min(100svh, 940px);
}
.hero__strip { min-height: 100%; }
.hero__intro {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 120px clamp(24px, 4vw, 64px) 72px;
}
.hero__logo { width: min(340px, 78%); margin-bottom: clamp(36px, 5vw, 64px); }
.hero__claim { color: var(--bark); }
.hero__text { max-width: 30ch; margin: 18px auto 36px; color: var(--ink-soft); font-size: clamp(17px, 1.3vw, 20px); font-weight: 400; line-height: 1.5; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-display); font-weight: 500; font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; color: var(--paper); background: var(--espresso);
  padding: 17px 28px 17px 32px; border-radius: 999px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--bark); }
.btn:hover svg { transform: translateY(3px); }

.hero__stage {
  position: relative; background: var(--glacier);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 120px clamp(16px, 3vw, 48px) clamp(64px, 9vh, 110px);
  overflow: hidden;
}
.hero__stage::before { /* weiches Licht */
  content: ""; position: absolute; width: 90%; aspect-ratio: 1; left: 5%; top: 8%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
}
.hero__stage::after { /* Wasserlinie */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(64px, 9vh, 110px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .15));
  border-top: 1px solid rgba(255, 255, 255, .8);
}
.lineup { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; width: 100%; }
.lineup .pack { flex: none; height: auto; margin: 0 -3.4%; filter: drop-shadow(0 22px 18px rgba(58, 40, 35, .16)); }
.lineup .pack--tall { width: 27%; }
.lineup .pack--slim { width: 16.5%; }
.lineup .pack--jar { width: 32%; margin-bottom: -1%; }
.lineup .pack:nth-child(odd) { position: relative; z-index: 2; }

.hero__caption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 18px; text-align: center;
  font-family: var(--f-display); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__strip { display: none; }
  .hero__intro { padding: 120px var(--gutter) 64px; }
  .hero__stage { padding: 72px var(--gutter) 96px; min-height: 0; }
  .hero__stage::after { height: 84px; }
}
@media (max-width: 860px) {
  .hero__intro { padding-top: 112px; }
  .lineup .pack--tall { width: 21%; }
  .lineup .pack--slim { width: 12.5%; }
  .lineup .pack--jar { width: 25%; }
}

/* ---------- Ingredient-Laufband ---------- */

.ticker {
  background: var(--paper); border-block: 1px solid var(--line);
  overflow: hidden; white-space: nowrap; padding: 22px 0;
}
.ticker__track { display: inline-flex; animation: ticker 60s linear infinite; }
.ticker__track span {
  font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-soft); padding: 0 28px; display: inline-flex; align-items: center; gap: 56px;
}
.ticker__track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--copper-light); margin-left: -28px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- Philosophie (dunkles Panel) ---------- */

.story { background: var(--espresso); color: #efe5de; }
.story__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); min-height: 100%;
}
.story__body { padding: clamp(80px, 10vw, 150px) var(--gutter); }
.story__inner { max-width: 760px; margin-left: auto; }
.story .eyebrow { color: var(--copper-light); }
.story .lead { color: #fff; margin-bottom: clamp(48px, 6vw, 80px); }
.story h3 { font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; line-height: 1.5; }
.story__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(32px, 4vw, 64px); }
.story__cols p { color: #d9ccc4; font-size: .96em; }
.story__photo { min-height: 520px; }
.story__photo img { position: absolute; inset: 0; }

@media (max-width: 960px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__photo { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .story__cols { grid-template-columns: 1fr; }
  .story__inner { margin: 0; }
}

/* ---------- Drei Säulen ---------- */

.pillars__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.pillars__head p { color: var(--ink-soft); margin: 0; max-width: 54ch; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.pillar .photo { aspect-ratio: 4 / 5; margin-bottom: 28px; }
.pillar .photo img { transition: transform 1.2s var(--ease); }
.pillar:hover .photo img { transform: scale(1.04); }
.pillar__num { font-family: var(--f-display); font-size: 12px; letter-spacing: .3em; color: var(--copper); margin: 0 0 10px; }
.pillar h3 { margin-bottom: 14px; }
.pillar p { color: var(--ink-soft); }

@media (max-width: 960px) {
  .pillars__head { grid-template-columns: 1fr; }
  .pillars__grid { grid-template-columns: 1fr; gap: 56px; }
  .pillar .photo { aspect-ratio: 16 / 10; }
}

/* ---------- Produkte ---------- */

.products { background: var(--cream); }
.products__intro { text-align: center; max-width: 760px; margin: 0 auto clamp(64px, 8vw, 112px); }
.products__intro p { color: var(--ink-soft); margin-top: 22px; }

.category { display: grid; grid-template-columns: clamp(80px, 13vw, 200px) minmax(0, 1fr); background: var(--paper); }
.category + .category { margin-top: clamp(28px, 3vw, 44px); }
.category__strip { min-height: 100%; }
.category__strip img { position: absolute; inset: 0; }
.category__strip figcaption {
  position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl; color: #fff; font-family: var(--f-display); font-weight: 500;
  font-size: 12px; letter-spacing: .4em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.category__body { padding: clamp(48px, 5vw, 80px) clamp(24px, 5vw, 80px); }
.category__label { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(36px, 4vw, 56px); }
.category__label .eyebrow { margin: 0; }
.category__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.product { display: grid; grid-template-columns: minmax(200px, 360px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.product + .product { margin-top: clamp(56px, 6vw, 88px); padding-top: clamp(56px, 6vw, 88px); border-top: 1px solid var(--line); }

.product__visual {
  position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle closest-side, #fff 0 46%, var(--glacier-soft) 47% 99%, transparent 100%);
}
.product__visual::after { /* Wasserring */
  content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(181, 118, 74, .28);
}
.product__visual .pack { position: relative; z-index: 1; height: 84%; width: auto; filter: drop-shadow(0 18px 16px rgba(58, 40, 35, .18)); transition: transform .8s var(--ease); }
.product__visual .pack--jar { height: auto; width: 76%; }
.product:hover .product__visual .pack { transform: translateY(-6px); }

.product__name { color: var(--bark); }
.product__hook { font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: .04em; color: var(--copper); margin: 22px 0 12px; }
.product__text { color: var(--ink); max-width: 64ch; }
.product__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.product__meta li {
  font-size: 13px; font-weight: 400; letter-spacing: .02em; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; background: #fff;
}
.product__meta li.is-use { background: var(--glacier-soft); border-color: transparent; color: var(--bark); font-weight: 600; }

@media (max-width: 760px) {
  .category { grid-template-columns: 1fr; }
  .category__strip { min-height: 0; height: 140px; }
  .category__strip figcaption { writing-mode: horizontal-tb; transform: translateX(-50%); bottom: 50%; margin-bottom: -10px; white-space: nowrap; }
  .product { grid-template-columns: 1fr; }
  .product__visual { max-width: 280px; width: 100%; margin: 0 auto; }
}

/* ---------- Bildband ---------- */

.band { position: relative; min-height: clamp(460px, 70vh, 760px); display: grid; place-items: center; color: #fff; text-align: center; overflow: hidden; }
.band .photo { position: absolute; inset: 0; }
.band .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(37, 18, 12, .15), rgba(37, 18, 12, .55)); }
.band__inner { position: relative; z-index: 1; padding: 0 var(--gutter); max-width: 980px; }
.band blockquote { margin: 0; }
.band blockquote p { font-size: clamp(22px, 2.6vw, 38px); line-height: 1.4; font-style: italic; font-weight: 300; margin: 0 0 28px; }
.band cite { font-style: normal; font-family: var(--f-display); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; }

/* ---------- Footer ---------- */

.site-footer { background: var(--paper); padding: clamp(72px, 9vw, 120px) 0 36px; text-align: center; }
.site-footer__logo { width: 200px; margin: 0 auto 28px; }
.site-footer__claim { margin-bottom: 10px; color: var(--bark); }
.site-footer__tag { color: var(--ink-soft); font-weight: 400; max-width: 34ch; margin: 0 auto 40px; }
.site-footer__maker { font-size: 15px; color: var(--ink-soft); margin: 0 auto 56px; padding: 22px 0; border-block: 1px solid var(--line); max-width: 760px; }
.site-footer__maker a { color: var(--bark); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--copper-light); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 13px; color: var(--ink-mute); }
.site-footer__legal a { text-decoration: none; letter-spacing: .14em; text-transform: uppercase; font-family: var(--f-display); font-size: 11px; color: var(--ink-soft); }
.site-footer__legal a:hover { color: var(--copper); }

/* ---------- Produkt-Grafiken ---------- */

.lbl-brand { font-family: var(--f-display); font-weight: 600; fill: #4a2416; text-anchor: middle; letter-spacing: .08em; }
.lbl-name { font-family: var(--f-display); font-weight: 600; fill: #3a2823; text-anchor: middle; letter-spacing: .06em; }
.lbl-sub { font-family: var(--f-text); font-weight: 400; fill: #8a7a72; text-anchor: middle; }

/* ---------- Scroll-Einblendungen (nur mit JS) ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Rechtstexte ---------- */

.legal { padding: 150px 0 110px; }
.legal .wrap { max-width: 860px; }
.legal h1 { margin-bottom: 48px; color: var(--bark); }
.legal h2 { font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--bark); margin: 48px 0 14px; }
.legal h3 { font-family: var(--f-text); font-weight: 600; font-size: 1em; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--bark); text-decoration-color: var(--copper-light); text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 28px; margin: 0 0 1em; }
.legal dt { color: var(--ink-soft); }
.legal dd { margin: 0; }
.legal .back { display: inline-block; margin-top: 56px; font-family: var(--f-display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; }
.legal-page .site-header .brand { opacity: 1; transform: none; }
.legal-page .site-header { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 0; } .legal dd { margin-bottom: 10px; } }
