@font-face {
  font-family: "Outfit";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("fonts/outfit-300.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/outfit-400.woff2") format("woff2");
}

:root {
  --paper: #fdf7f3;
  --sand: #d0c0b5;
  --taupe: #70635b;
  --brown: #654f45;
  --ink: #2d2626;
  --accent: #582a53;

  --gutter: clamp(24px, 5vw, 72px);
  --step-s: 0.9375rem;
  --step-body: 1.1875rem;
  --step-lead: clamp(1.25rem, 1.5vw, 1.5rem);
  --step-h2: clamp(2rem, 3.2vw, 3rem);
  --step-h1: clamp(2.125rem, 3.7vw, 3.5rem);
  --step-display: clamp(3rem, 9.5vw, 9rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 300;
  font-size: var(--step-body);
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--sand); color: var(--ink); }

h1, h2 {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: var(--step-h1); }
h2 { font-size: var(--step-h2); }

/* Split stage: fixed dancer left, reading column right */
.split { display: grid; grid-template-columns: 45fr 55fr; }

.stage {
  position: sticky;
  top: 0;
  height: 100svh;
  background: var(--brown);
  overflow: hidden;
}
.dancer {
  position: absolute;
  inset: 8svh 0 8svh;
  margin-inline: auto;
  height: 84svh;
  width: auto;
  max-width: 88%;
  object-fit: contain;
}
.dancer-b { opacity: 0; }

.column { padding-inline: var(--gutter); min-width: 0; }
.column > section { padding-block: clamp(96px, 14vh, 160px); }
.column > section + section { padding-block-start: 0; }
.column > .hero { padding-block: 40px clamp(48px, 8vh, 96px); }

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 10vh, 120px);
}
.bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.bar img { width: clamp(120px, 11vw, 168px); height: auto; }
.lang { display: flex; gap: 20px; font-size: var(--step-s); font-weight: 400; padding-top: 8px; }
.lang a { text-decoration: none; color: var(--taupe); transition: color 0.3s var(--ease); }
.lang a[aria-current="page"], .lang a:hover { color: var(--ink); }

.hero-copy { margin-block: auto; display: grid; gap: 28px; max-width: 34rem; }
.lead { font-size: var(--step-lead); line-height: 1.45; max-width: 30rem; }
.soon { color: var(--accent); font-weight: 400; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding-inline: 32px;
  background: var(--accent);
  color: var(--paper);
  font-weight: 400;
  text-decoration: none;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease);
}
.button:hover { transform: translateY(-3px); background: var(--ink); }
.button:active { transform: translateY(0); }
.hero .button { justify-self: start; }

.story { display: grid; gap: 28px; max-width: 34rem; }
.story p { max-width: 34rem; }
mark { background: var(--sand); color: var(--ink); padding-inline: 0.15em; }

.promises { display: grid; gap: clamp(48px, 8vh, 88px); max-width: 34rem; }
.promises ul { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 7vh, 72px); }
.promises li { display: grid; gap: 10px; }
.promises strong { font-weight: 300; font-size: clamp(1.625rem, 2.4vw, 2.25rem); line-height: 1.15; }
.promises span { max-width: 28rem; }

/* Full-width break: products */
.range { background: var(--sand); padding: clamp(96px, 14vh, 160px) var(--gutter); }
.range-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.piece {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  min-height: clamp(420px, 70svh, 720px);
  position: relative;
  overflow: hidden;
}
.piece h2 { font-size: clamp(2.5rem, 6vw, 6rem); line-height: 0.95; letter-spacing: -0.02em; position: relative; z-index: 1; }
.piece p { position: relative; z-index: 1; max-width: 22rem; }
.piece img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 78%;
  width: auto;
  opacity: 0.9;
  transition: transform 1.2s var(--ease);
}
.piece:hover img { transform: translateY(-12px) rotate(-1.5deg); }

.follow { background: var(--brown); color: var(--paper); padding: clamp(96px, 14vh, 160px) var(--gutter); display: grid; gap: 40px; }
.follow h2 { font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.02em; }
.follow .button { background: var(--paper); color: var(--ink); min-height: 96px; font-size: clamp(1.25rem, 2.2vw, 2rem); justify-self: stretch; }
.follow .button:hover { background: var(--sand); }
.partner { max-width: 36rem; }
.partner a { text-underline-offset: 0.25em; }
.partner a:hover { color: var(--sand); }

.foot { padding: clamp(72px, 10vh, 120px) var(--gutter) 40px; display: grid; gap: 48px; }
.foot img { width: 100%; height: auto; max-width: 560px; margin-inline: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: var(--step-s); font-weight: 400; justify-content: space-between; }
.foot a { text-underline-offset: 0.25em; }
.foot a:hover { color: var(--accent); }

/* Impressum */
.legal { max-width: 40rem; margin: 0 auto; padding: 40px var(--gutter) 96px; display: grid; gap: 24px; }
.legal .bar { margin-bottom: 48px; }
.legal h1 { font-size: var(--step-h2); }
.legal dl { margin: 0; display: grid; gap: 20px; }
.legal h2 { font-size: 1.125rem; margin: 16px 0 0; }
.legal h3 { font-size: 1rem; margin: 8px 0 0; }
.legal p, .legal ul { margin: 0; }
.legal ul { padding-left: 1.25em; }
.legal dt { font-weight: 400; }
.legal dd { margin: 4px 0 0; }

/* Phone: dancer becomes the top image, column follows */
@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .stage { position: relative; height: 56svh; }
  .dancer { inset: 6svh 0; height: 44svh; }
  .dancer-b { display: none; }
  .column > .hero { min-height: 0; padding-block: 32px 64px; gap: 48px; }
  .range-grid { grid-template-columns: 1fr; }
  .piece { min-height: 380px; }
}

/* Motion: everything below is optional; content is fully visible without it */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes swap-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes swap-out { from { opacity: 1; } to { opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .dancer-a { animation: draw 2.2s var(--ease) 0.2s both, drift 9s ease-in-out 2.4s infinite; }
  .bar, .hero-copy > * {
    animation: rise 1s var(--ease) both;
  }
  .hero-copy h1 { animation-delay: 0.15s; }
  .hero-copy .lead { animation-delay: 0.3s; }
  .hero-copy .soon { animation-delay: 0.45s; }
  .hero-copy .button { animation-delay: 0.6s; }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    @media (min-width: 900px) {
      .dancer-a { animation: draw 2.2s var(--ease) 0.2s both, drift 9s ease-in-out 2.4s infinite, swap-out linear both; animation-timeline: auto, auto, scroll(root); animation-range: normal, normal, 18% 38%; }
      .dancer-b { animation: swap-in linear both, drift 9s ease-in-out 1.2s infinite reverse; animation-timeline: scroll(root), auto; animation-range: 18% 38%, normal; }
    }
  }
}
