:root {
  --black: #000;
  --white: #fff;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --page: min(1120px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--black);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, p, figure { margin: 0; }
.page-width { width: var(--page); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--black);
  color: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: var(--page);
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
}
.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.site-header nav a:hover { color: var(--black); }

main { position: relative; isolation: isolate; }
.hero {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100svh - 72px);
  align-items: center;
  overflow: hidden;
  padding: 90px 0 120px;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  max-width: 900px;
  font-size: clamp(62px, 9vw, 116px);
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: .9;
}
.hero p {
  max-width: 650px;
  margin-top: 38px;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 27px);
  letter-spacing: -.025em;
  line-height: 1.38;
}
.text-action {
  display: inline-block;
  margin-top: 32px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
  text-decoration: none;
}
.text-action span { display: inline-block; margin-left: 5px; }
.hero-pour-art {
  position: absolute;
  bottom: 0;
  left: 76%; /* anchors the bottle's pour spout (51.4% of its width) to the beam */
  z-index: 1;
  width: clamp(340px, 27vw, 440px);
  transform: translateX(-51.4%);
  will-change: transform;
  pointer-events: none;
}
.hero-pour-art picture,
.hero-pour-art img { display: block; width: 100%; height: auto; }

.page-flow {
  position: absolute;
  top: calc(var(--hero-height, 900px) - 38px); /* tuck beam start behind the bottle's spout — hides the seam */
  right: 0;
  bottom: -100px;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}
.page-flow-back { z-index: 3; transform: translateZ(0); } /* own layer: beam repaint stays isolated */
.page-flow-front { z-index: 3; }
.page-flow svg { display: block; width: 100%; height: 100%; }
.flow-path {
  fill: none;
  stroke: var(--black);
  stroke-width: clamp(30px, 2.5vw, 40px);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-path-mobile { display: none; }
.flow-particle {
  fill: var(--black);
  opacity: 0;
  display: none; /* clean line only — set to inline to re-enable flowing droplets */
}
.flow-particles-mobile { display: none; }

/* Scroll reveal — content rises out of depth (3D) and sharpens into focus.
   Only active once JS confirms motion is allowed. */
.anim-ready .reveal {
  opacity: 0;
  transform: perspective(1400px) translate3d(0, 30px, -80px);
  filter: blur(8px);
  transition:
    opacity 1s ease,
    transform 1.2s cubic-bezier(.16, 1, .3, 1),
    filter 1s ease;
  will-change: opacity, transform, filter;
}
.anim-ready .reveal.is-visible {
  opacity: 1;
  transform: perspective(1400px) translate3d(0, 0, 0);
  filter: blur(0);
}

.product-story, .trust { position: relative; }
.story {
  display: grid;
  min-height: min(950px, 100svh);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(60px, 10vw, 150px);
  align-items: center;
  padding: clamp(100px, 13vw, 170px) 0;
}
.story-reverse { grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); }
.story-copy {
  position: relative;
  z-index: 5;
}
.story-copy h2,
.story-copy p {
  text-shadow:
    0 0 26px var(--white), 0 0 26px var(--white),
    0 0 14px var(--white), 0 0 14px var(--white),
    0 0 6px var(--white);
}
.story-reverse .story-copy { grid-column: 2; grid-row: 1; }
.story-reverse .story-visual { grid-column: 1; grid-row: 1; }
.story-copy h2, .trust h2 {
  max-width: 720px;
  font-size: clamp(50px, 7vw, 86px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .96;
}
.story-copy p, .trust p {
  max-width: 580px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -.02em;
  line-height: 1.45;
}
/* Beam weaves: over visual 1, under visual 2, over visual 3 */
.story-visual { position: relative; z-index: 2; width: min(360px, 100%); justify-self: end; }
.story:nth-child(2) .story-visual { z-index: 4; }
.story-reverse .story-visual { justify-self: start; }
.story-visual img {
  display: block;
  width: 100%;
  height: auto;
  will-change: transform;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: var(--white);
  box-shadow: 0 20px 60px rgb(0 0 0 / .08);
}

.trust {
  min-height: 72svh;
  padding: clamp(120px, 16vw, 210px) 0;
}
.trust h2 { max-width: 920px; }
.trust p { margin-left: auto; }
.trust h2,
.trust p {
  position: relative;
  z-index: 5;
  text-shadow:
    0 0 26px var(--white), 0 0 26px var(--white),
    0 0 14px var(--white), 0 0 14px var(--white),
    0 0 6px var(--white);
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.footer-brand p { margin: 0; }
.footer-brand p:first-child { color: var(--black); font-size: 15px; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.footer-links a:hover { color: var(--black); }

/* --- Legal pages (Impressum / Datenschutz / AGB) --------------------------- */
.legal {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(44px, 7vw, 90px) 0 clamp(80px, 12vw, 140px);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.legal-back:hover { color: var(--black); }
.legal h1 {
  margin: 0 0 6px;
  font-size: clamp(40px, 7vw, 66px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
}
.legal-updated { margin: 0 0 48px; color: var(--muted); font-size: 14px; }
.legal h2 {
  margin: 46px 0 14px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.legal-label {
  margin: 26px 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.legal p, .legal li { color: #38383b; font-size: 16px; line-height: 1.65; }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--black); text-underline-offset: 3px; word-break: break-word; }
.legal strong { color: var(--black); }
.legal .legal-note {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  :root { --page: min(100% - 32px, 1120px); }
  .site-header { min-height: 62px; }
  .site-header nav a:first-child { display: none; }
  .hero { display: block; min-height: 0; padding: 82px 0 0; }
  .hero-content { padding-top: 20px; }
  .hero h1 { max-width: 92%; font-size: clamp(58px, 17vw, 78px); }
  .hero p { max-width: 92%; font-size: 20px; }
  .hero-pour-art {
    position: relative;
    bottom: auto;
    left: 72%;
    width: 240px;
    margin-top: 76px;
    transform: translateX(-45%);
  }
  .page-flow { top: calc(var(--hero-height, 1000px) - 26px); }
  .flow-path-desktop { display: none; }
  .flow-path-mobile { display: block; stroke-width: 22px; }
  /* Mobile: line always runs behind the screenshots (no weaving over them). */
  .story-visual,
  .story:nth-child(2) .story-visual { z-index: 4; }
  .flow-particles-desktop { display: none; }
  .flow-particles-mobile { display: block; }
  .story, .story-reverse {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 96px 0 120px;
  }
  .story-reverse .story-copy,
  .story-reverse .story-visual { grid-column: 1; }
  .story-reverse .story-copy { grid-row: 1; }
  .story-reverse .story-visual { grid-row: 2; }
  .story-copy h2, .trust h2 { font-size: clamp(46px, 14vw, 64px); }
  .story-visual { width: min(330px, 88vw); }
  .story-visual,
  .story-reverse .story-visual { justify-self: center; }
  .story-visual img { border-radius: 34px; }
  .trust { min-height: 0; padding: 110px 0 140px; }
  .trust p { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
