:root {
  --sand: #ede4d9;
  --ink: #211b17;
  --brown: #52362d;
  --red: #591522;
  --cream: #eee1c9;
  --header: 96px;
  color: var(--ink);
  background: var(--sand);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button, a, input { touch-action: manipulation; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
html { scroll-padding-top: calc(var(--header) + 20px); }
:focus-visible { outline: 2px solid #885232; outline-offset: 5px; }
header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 12px 4%;
  background: #fff;
}
header::after {
  content: '';
  position: absolute;
  inset: 100% 0 auto;
  height: 12px;
  background: linear-gradient(#fff, #ffffff00);
  pointer-events: none;
}
.identity { display: flex; align-items: center; gap: 18px; min-width: 0; }
.brand { width: min(20vw, 230px); text-decoration: none; display: block; }
.brand img { width: 100%; height: 56px; object-fit: contain; }
.brand span { display: block; text-align: center; font-size: 9px; text-transform: uppercase; font-weight: 800; }
.emblem img { width: 58px; height: 58px; object-fit: contain; }
.header-action { display: flex; align-items: center; gap: 18px; justify-self: center; }
.header-action > span { font-size: 18px; font-weight: 650; min-width: 4.2ch; font-variant-numeric: tabular-nums; }
.pill { border-radius: 100px; background: var(--ink); color: var(--sand); padding: 12px 24px; text-decoration: none; text-transform: uppercase; font-size: 14px; font-weight: 650; white-space: nowrap; }
.header-tools { display: flex; align-items: center; justify-self: end; gap: 18px; }
.header-tools a { display: grid; place-items: center; width: 30px; height: 36px; }
.header-tools svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2; }
.header-tools svg .filled { fill: currentColor; }
.language { display: grid; gap: 3px; justify-items: center; background: transparent; border: 0; padding: 0; font-size: 11px; }
.flag { width: 28px; height: 18px; background: linear-gradient(#111 0 33.33%, #d00 33.33% 66.66%, #ffcf00 66.66%); }
.flag.english { background: transparent; }
.flag.english::after { content: "🇬🇧"; display: block; font-size: 21px; line-height: 18px; }
.experience, .experience.animated { height: auto; }
.stage, .animated .stage {
  position: relative;
  display: grid;
  grid-template-columns: 49% 51%;
  align-items: start;
  height: auto;
  min-height: 1050px;
  padding: 64px 4% 36px;
}
.products, .animated .products {
  position: sticky;
  top: calc(var(--header) + 18px);
  align-self: start;
  /* fits below the header at the initial 64px stage padding, so the swatches stay visible */
  height: calc(100svh - var(--header) - 88px);
  min-height: 240px;
  max-height: 1050px;
  isolation: isolate;
  background: var(--sand);
}
.main-product { position: absolute; inset: 0 9% 50px; perspective: 1100px; }
.main-product img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; will-change: transform, opacity; }
.neighbor { position: absolute; bottom: 72px; width: 27%; height: 40%; z-index: -1; }
.neighbor img { width: 100%; height: 100%; object-fit: contain; }
.neighbor-left { left: -3%; }
.neighbor-right { right: -3%; }
.product-bottom { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 20px; font-size: 14px; }
.swatches { display: flex; gap: 6px; }
.swatches button { width: 32px; height: 32px; border: 1px solid transparent; padding: 4px; background: none; border-radius: 50%; }
.swatches button::before { content: ''; display: block; width: 100%; height: 100%; background: var(--brown); border-radius: 50%; border: 1px solid #211b1733; }
.swatches [data-hero-color=bordeaux]::before { background: var(--red); }
.swatches [data-hero-color=creme]::before { background: var(--cream); }
.swatches [aria-pressed=true] { border-color: var(--ink); }
.scroll-cue { position: absolute; left: 0; bottom: 0; font-size: 12px; opacity: .75; }
.story { align-self: start; padding: 28px 0 0 40px; font-size: 16px; line-height: 1.55; }
.story h1 { font-size: clamp(23px, 2vw, 34px); letter-spacing: -.025em; margin: 0 0 25px; line-height: 1.2; }
.story p { margin: 0 0 24px; }
.signature { font-weight: 700; }
.invocation { font: italic 20px/1.5 Georgia, serif; text-align: left; padding: 12px 0; }
.design-intro { font-size: 16px; font-weight: 650; }
.details { padding-left: 0; }
.details p { font-size: 16px; line-height: 1.55; margin-bottom: 22px; }
.details small { font-size: 12px; }
.waitlist-section {
  min-height: calc(100svh - var(--header));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: start;
  padding: 40px 5% 60px;
  gap: 38px;
  border-top: 1px solid #211b1718;
  scroll-margin-top: 16px;
}
.collage {
  position:relative;
  height:530px;
  margin-left:-4%
}
.collage img {
  position:absolute;
  width:28%;
  height:49%;
  bottom:12%;
  object-fit:cover;
  border-radius:20px;
  transition:width .65s,height .65s,left .65s,bottom .65s,filter .65s;
  filter:saturate(.8)
}
.collage img:nth-child(1) {
  left:0
}
.collage img:nth-child(2) {
  left:36%
}
.collage img:nth-child(3) {
  left:72%
}
.collage img.selected {
  left:19%;
  width:57%;
  height:88%;
  bottom:4%;
  z-index:2;
  filter:none
}
.collage:has([data-photo=creme].selected) [data-photo=bordeaux] {
  left:0
}
.collage:has([data-photo=braun].selected) [data-photo=bordeaux] {
  left:72%
}

.signup {
  padding-left:16px;
  max-width:530px
}
.signup h2 {
  font-size:clamp(30px,3.4vw,48px);
  line-height:1.05;
  letter-spacing:-.04em;
  margin:0 0 20px
}
.signup>p {
  line-height:1.5;
  margin:0 0 14px
}

fieldset {
  padding:0;
  margin:24px 0 18px;
  border:0
}
legend {
  font-size:14px;
  margin-bottom:12px
}
.color-options {
  display:flex;
  gap:16px
}
.color-options label {
  position:relative;
  display:grid;
  justify-items:center;
  gap:6px;
  cursor:pointer;
  font-size:13px
}
.color-options input {
  position:absolute;
  inset:0;
  opacity:0;
  width:100%;
  height:100%;
  margin:0;
  cursor:pointer
}
.color-square {
  display:block;
  width:50px;
  height:50px;
  border-radius:12px;
  background:var(--brown);
  border:1px solid #211b1720
}
.color-square.bordeaux {
  background:var(--red)
}
.color-square.creme {
  background:var(--cream)
}
.color-options input:checked+.color-square {
  outline:1px solid var(--ink);
  outline-offset:4px
}
.color-options input:focus-visible+.color-square {
  outline:2px solid #885232;
  outline-offset:5px
}

.form-card {
  background:#30211d;
  color:#f2e8db;
  border-radius:16px;
  padding:18px;
  display:grid;
  gap:10px
}
.form-card>label {
  font-size:14px
}
.form-card>input {
  width:100%;
  min-width:0;
  min-height:46px;
  background:#f6efe4;
  color:var(--ink);
  padding:10px 12px;
  border:0;
  border-radius:2px
}
.form-card button {
  background:#ddc6a9;
  color:var(--ink);
  border:0;
  min-height:46px;
  font-weight:600
}
.form-card button:hover {
  background:#e9d4b9
}
.form-card button:disabled {
  opacity:.7;
  cursor:wait
}
.form-card small {
  font-size:12px;
  line-height:1.4
}
.form-card :focus-visible {
  outline-color:#f2e8db
}
.form-card p {
  font-size:14px;
  margin:0;
  line-height:1.4
}
.honeypot {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%)
}
footer {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:28px 6%;
  font-size:14px;
  text-align:center
}
footer p { margin:0; }
footer a { text-decoration:none; }
.legal {
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  max-width:720px
}
.legal-links {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 28px
}
.legal-links button {
  padding:4px 2px;
  border:0;
  background:none;
  color:inherit;
  text-decoration:underline transparent;
  text-underline-offset:4px
}
/* underline instead of bold, so the row keeps its width when a panel opens */
.legal-links [aria-expanded=true] { text-decoration-color:currentColor; }
.legal-panel { width:100%; margin-top:14px; text-align:left; line-height:1.5; }
.legal-panel h3 { font-size:14px; margin:16px 0 4px; }
.legal-panel a, .form-card small a { text-decoration:underline; }
#legal-kontakt { text-align:center; }
.to-top { font-size:12px; }


.signup { padding-left: 0; }
.signup h2 { font-size: clamp(30px, 3vw, 42px); }
.collage { margin-left: 0; }
footer { background: var(--sand); }
@media (min-width: 1500px) {
  .stage, .animated .stage { min-height: 1050px; }
  .story { font-size: 18px; }
  .details p { font-size: 17px; }
}
@media (max-width: 1000px) and (min-width: 741px) {
  header { gap: 16px; }
  .identity { gap: 10px; }
  .brand { width: 170px; }
  .brand img { height: 44px; }
  .brand span { font-size: 7px; }
  .emblem img { width: 42px; height: 48px; }
  .header-tools { gap: 12px; }
  .pill { padding: 11px 17px; font-size: 13px; }
}
@media (max-width: 740px) {
  :root { --header: 86px; }
  header {
    grid-template-columns: minmax(0, 1fr) auto 54px;
    gap: 8px;
    padding: 8px 4%;
  }
  .identity { gap: 5px; }
  .brand { width: clamp(86px, 27vw, 125px); }
  .brand img { height: 36px; }
  .brand span { font-size: 6px; }
  .emblem img { width: 25px; height: 34px; }
  .header-action { display: grid; justify-items: center; gap: 4px; }
  .pill { padding: 9px 11px; font-size: 11px; }
  .header-action > span { font-size: 13px; text-align: center; }
  .header-tools { display: grid; grid-template-columns: 24px 24px; justify-items: center; gap: 5px 6px; width: 54px; }
  .header-tools .language { grid-column: 1 / 3; width: 100%; font-size: 10px; }
  .header-tools a { width: 24px; height: 24px; }
  .header-tools svg { width: 22px; height: 22px; }
  .flag { width: 23px; height: 15px; }
  .flag.english::after { font-size: 18px; line-height: 15px; }
  .stage, .animated .stage { display: flex; flex-direction: column; padding: 22px 6% 36px; min-height: 0; }
  .products, .animated .products {
    top: var(--header);
    order: 0;
    flex: none;
    width: 100%;
    height: 245px;
    min-height: 245px;
    z-index: 2;
    overflow: hidden;
    background: var(--sand);
  }
  .main-product { inset: 4px 14% 42px; }
  .neighbor { bottom: 48px; height: 42%; width: 26%; }
  .neighbor-left { left: 0; }
  .neighbor-right { right: 0; }
  .product-bottom { bottom: 13px; gap: 13px; }
  .scroll-cue { display: none; }
  .story { order: 1; padding: 28px 0 0; font-size: 16px; }
  .story h1 { font-size: 25px; margin-bottom: 22px; }
  .invocation { font-size: 18px; text-align: left; }
  .details { padding-left: 0; }
  .details p { font-size: 16px; margin-bottom: 22px; }
  .waitlist-section { grid-template-columns: 1fr; padding: 26px 6% 40px; gap: 24px; }
  .collage { height: 350px; margin: 0; }
  .signup { padding: 0; max-width: none; }
  .signup h2 { font-size: 32px; }
  .signup h2 br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .collage img { transition: none; }
  .scroll-cue { display: none; }
}

@media (min-width: 741px) {
  .animated .story {
    position: sticky;
    top: calc(var(--header) + 18px); /* same as .products; page.js moves the text with the rotation */
    will-change: transform;
  }
  .waitlist-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .collage {
    height: clamp(330px, calc(100svh - var(--header) - 90px), 530px);
  }
  .signup h2 {
    font-size: clamp(28px, 2.5vw, 36px);
    margin-bottom: 16px;
  }
  .signup h2 br {
    display: none;
  }
  .signup > p {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 12px;
  }
  fieldset {
    margin: 16px 0 14px;
  }
  .form-card {
    padding: 16px;
    gap: 8px;
  }
  .form-card > input,
  .form-card button {
    min-height: 42px;
  }
}
