/* ---------- Tokens ---------- */
:root {
  --black: #161514;
  --white: #FFFFFF;
  --cream: #F2E8C4;
  --offwhite: #F6F3EC;
  --grey: #8C857D;
  --grey-light: #CFC7BA;
  --grey-dark: #6B645B;
  --line-dark: #34322F;
  --line-light: rgba(22, 21, 20, 0.25);

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --pointe: "Fraunces", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 112px;
  --section-y: 128px;
}

@media (max-width: 1100px) { :root { --gutter: 56px; --section-y: 104px; } }
@media (max-width: 768px)  { :root { --gutter: 20px; --section-y: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--black);
  color: var(--black);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, p, blockquote, figure, dl, dd, ol, ul { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[id] { scroll-margin-top: 16px; }

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

/* ---------- Type ---------- */
.h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 9.4vw, 128px); line-height: 0.95; letter-spacing: -0.015em;
}
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 68px); line-height: 1; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 4.4vw, 64px); line-height: 1; }
.intro { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.2; }
.body-text { font-size: 22px; line-height: 1.4; }
.pointe {
  font-family: var(--pointe); font-style: italic; font-weight: 400;
  font-variation-settings: 'SOFT' 100, 'WONK' 1, 'opsz' 144;
}
em.pointe { font-size: 0.92em; }
.label {
  font-family: var(--sans); font-weight: 500; font-size: 11px; line-height: 1.4;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--black { background: var(--black); color: var(--offwhite); }
.section--white { background: var(--white); color: var(--black); }
.section--cream { background: var(--cream); color: var(--black); }
/* Labels: Grau auf Schwarz, Grau-dunkel auf Hell (AA-Kontrast für 11px) */
.section--black .label, .hero .label, .footer .label { color: var(--grey); }
.section--white .label, .section--cream .label, .form-box .label, .modal .label { color: var(--grey-dark); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--cream { background: var(--cream); color: var(--black); }
.btn--black { background: var(--black); color: var(--offwhite); }

.text-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--cream); text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 1px; min-height: 44px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- Nav ---------- */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; padding-bottom: 28px;
}
.nav__left { display: flex; gap: 32px; }
.nav__right { display: flex; justify-content: flex-end; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--sans); font-size: 14px; color: var(--offwhite); text-decoration: none;
}
.nav__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__logo img { width: 150px; }

/* ---------- Hero: Bühne mit Logo-Auftritt, danach getippte Headline ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero { position: relative; background: var(--black); color: var(--offwhite); }
.hero__stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }

.hero__logo { position: relative; width: min(560px, 72vw); aspect-ratio: 996 / 428; margin: 12vh auto 0; }
.hero__logo img { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__type { text-align: center; padding-top: 12vh; padding-bottom: 16vh; }
.hero__type .h1 { max-width: 1040px; margin: 0 auto; }
.hero__pointe { color: var(--cream); font-size: clamp(24px, 2.4vw, 32px); margin-top: 24px; }

/* Mit JS: die Bühne bleibt stehen, während man durch die zwei Szenen scrollt */
.js .hero { height: 250vh; }
.js .hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.js .hero__logo {
  position: absolute; left: 50%; top: 50%; margin: 0;
  transform: translate(-50%, calc(-50% + var(--logo-y, 0px))) scale(var(--logo-s, 1));
  opacity: var(--logo-o, 1); filter: blur(var(--logo-b, 0px));
  will-change: opacity, transform, filter;
}
.js .hero__type {
  position: absolute; inset: 0; padding: 0 var(--gutter);
  display: grid; place-content: center;
  opacity: var(--type-o, 0); visibility: hidden;
}
.js .hero__type.is-visible { visibility: visible; }

/* Auftritt: „good“ schreibt sich von links nach rechts, dann kommen „the“ + „company“ */
.js .hero__logo-good {
  -webkit-mask-image: linear-gradient(105deg, #000 44%, transparent 56%);
          mask-image: linear-gradient(105deg, #000 44%, transparent 56%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.js .hero__logo-rest { opacity: 0; }
.js .hero.is-ready .hero__logo-good { animation: write-good 1.9s cubic-bezier(.55, .05, .3, 1) .35s forwards; }
.js .hero.is-ready .hero__logo-rest { animation: settle-in 1.4s cubic-bezier(.2, .7, 0, 1) 1.75s forwards; }
@keyframes write-good {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to   { -webkit-mask-position: 0% 0;   mask-position: 0% 0; }
}
@keyframes settle-in {
  from { opacity: 0; filter: blur(6px); transform: translateY(6px); }
  to   { opacity: 1; filter: blur(0);   transform: none; }
}

/* Getippter Text: Platz ist von Anfang an reserviert, Zeichen werden nur sichtbar */
.w { white-space: nowrap; }
.ch { opacity: 0; }
.ch.on { opacity: 1; }
.caret { position: relative; display: inline-block; width: 0; }
.caret::after {
  content: ""; position: absolute; left: .04em; bottom: -.05em; width: 2px; height: .9em;
  background: var(--cream); animation: blink 1s steps(1) infinite;
}
.caret.is-typing::after { animation: none; }
.caret.is-done::after { animation: blink 1s steps(1) 3, fade-out .6s ease 3s forwards; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

/* Scroll-Hinweis: feine Linie, in der ein Lichtpunkt nach unten läuft */
.hero__hint { display: none; }
.js .hero__hint {
  display: block; position: absolute; left: 50%; bottom: 36px; width: 1px; height: 56px;
  background: var(--line-dark); overflow: hidden; opacity: 0;
}
.js .hero.is-ready .hero__hint { animation: hint-in 1s ease 3.4s forwards; }
.js .hero__hint::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--cream); animation: hint-run 2.2s cubic-bezier(.6, 0, .2, 1) infinite;
}
@keyframes hint-in { to { opacity: 1; } }
.js .hero.is-scrolled .hero__hint { animation: none; opacity: 0; transition: opacity .4s ease; }
@keyframes hint-run { to { top: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .js .hero__logo-good { -webkit-mask-image: none; mask-image: none; }
  .js .hero__logo-rest { opacity: 1; }
  .js .hero.is-ready .hero__logo-good, .js .hero.is-ready .hero__logo-rest { animation: none; }
  .js .hero__logo { filter: none; }
  .caret { display: none; }
}

/* ---------- Why ---------- */
.why__inner { text-align: center; max-width: 1000px; }
.why__inner .label { margin-bottom: 28px; }

/* ---------- Statements: Talk deeper. Live louder. Go further. ---------- */
/* Ohne Animation: drei ruhige Zeilen untereinander */
.statements { background: var(--white); color: var(--black); }
.statements__stage { display: flex; flex-direction: column; align-items: center; gap: .15em; padding: var(--section-y) var(--gutter); font-size: clamp(56px, 12vw, 176px); }
.statement { font-family: var(--serif); font-size: 1em; line-height: 1; letter-spacing: -0.02em; text-align: center; white-space: nowrap; }
.statement__adj { font-style: italic; display: inline-block; }
.statement__adj .l { display: inline-block; will-change: transform, opacity; }

/* Mit Animation: eine stehende Bühne, durch die man hindurchscrollt */
.statements.is-motion { height: 440vh; background: var(--black); }
.statements.is-motion .statements__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0;
  display: grid; place-items: center; overflow: hidden; background: var(--white);
}
.statements.is-motion .statement { grid-area: 1 / 1; opacity: 0; will-change: transform, opacity; }
.statements.is-motion .statement--2, .statements.is-motion .statement--3 { color: var(--offwhite); }
.statements.is-motion .statement--2 .statement__adj, .statements.is-motion .statement--3 .statement__adj { color: var(--cream); }
.statements.is-motion [data-zoom] { will-change: transform; }

/* ---------- Events ---------- */
.events .label:first-child { margin-bottom: 24px; }
.events__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.events__spots { color: var(--grey); font-size: clamp(18px, 1.8vw, 24px); }
.events__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 72px; }
.event { border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.event__meta { display: flex; justify-content: space-between; width: 100%; margin-bottom: 40px; }
.event__pointe { color: var(--cream); font-size: 20px; line-height: 1.35; margin-top: 16px; }
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; margin-top: 40px; }
.info { border-top: 1px solid var(--line-dark); padding-top: 14px; }
.info dt { margin-bottom: 8px; }
.info dd { font-family: var(--sans); font-size: 16px; line-height: 1.4; color: var(--offwhite); }
.event__more { font-family: var(--sans); font-size: 15px; color: var(--grey-light); margin: 28px 0 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- Values ---------- */
.values__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.values__intro .label { margin-bottom: 24px; }
.values__pointe { color: var(--grey-dark); font-size: clamp(20px, 2vw, 26px); margin-top: 18px; }
.value { border-top: 1px solid var(--line-light); padding: 22px 0 28px; }
.value:last-child { padding-bottom: 0; }
.value__title { font-size: 32px; line-height: 1.15; margin-top: 10px; }
.value__sub { color: var(--grey-dark); font-size: 19px; line-height: 1.35; margin-top: 6px; }

/* ---------- Founder ---------- */
.founder__grid { display: grid; grid-template-columns: 340px 1fr; gap: 96px; align-items: center; }
.founder__photo { display: block; width: 340px; aspect-ratio: 340 / 380; overflow: hidden; background: var(--line-dark); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founder__text { max-width: 640px; }
.quote { margin: 24px 0 28px; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3vw, 40px); line-height: 1.25; }

/* ---------- Sign up ---------- */
.signup__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.signup__intro .label { margin-bottom: 24px; }
.signup__intro .body-text { color: var(--grey-light); margin-top: 24px; max-width: 420px; }
.form-box { background: var(--white); color: var(--black); padding: 48px; }

.field { margin-bottom: 28px; }
.field > .label { display: block; margin-bottom: 4px; }
.input {
  display: block; width: 100%; height: 40px; padding: 0;
  border: 0; border-bottom: 1px solid var(--black); border-radius: 0; background: transparent;
  font-family: var(--sans); font-size: 17px; color: var(--black);
}
.input:focus { outline: none; border-bottom-width: 2px; }
.input[aria-invalid="true"] { border-bottom-width: 2px; }

.picks { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.picks legend { padding: 0; margin-bottom: 12px; }
.pick {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border: 1px solid var(--line-light); cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.pick + .pick { margin-top: 10px; }
.pick:hover { border-color: var(--black); }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick__box { flex: none; width: 20px; height: 20px; border: 1px solid var(--black); display: grid; place-items: center; }
.pick__box::after { content: ""; width: 10px; height: 6px; border: solid var(--black); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.pick input:checked ~ .pick__box { background: var(--black); }
.pick input:checked ~ .pick__box::after { border-color: var(--offwhite); opacity: 1; }
.pick:has(input:checked) { background: var(--cream); border-color: var(--black); }
.pick input:focus-visible ~ .pick__box { outline: 2px solid var(--black); outline-offset: 3px; }
.pick__text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pick__title { font-family: var(--serif); font-size: 24px; line-height: 1.1; }
.pick__price { font-family: var(--sans); font-size: 15px; white-space: nowrap; }

.consent__label { display: flex; gap: 12px; align-items: flex-start; font-family: var(--sans); font-size: 15px; line-height: 1.45; cursor: pointer; min-height: 44px; padding-top: 2px; }
.consent__label input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--black); }
.consent__label a { text-underline-offset: 3px; }

.error { font-family: var(--sans); font-size: 13px; line-height: 1.4; color: var(--black); margin-top: 6px; }
.error:empty { display: none; }
.error::before { content: "→ "; }
.form__error { margin: 0 0 20px; font-size: 14px; }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__note { color: var(--grey-dark); font-size: 17px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-success .h3 { outline: none; }
.form-success .body-text { margin-top: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--offwhite); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--line-dark); }
.footer__logo img { width: 130px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: center; }
.footer__links li { display: flex; align-items: center; min-height: 44px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--offwhite); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Modal ---------- */
.modal {
  padding: 0; border: 0; background: transparent; color: var(--black);
  width: min(700px, calc(100% - 48px)); max-width: 700px; max-height: calc(100% - 48px);
  overflow: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(22, 21, 20, 0.72); }
.modal[open] { animation: modal-in .2s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }
.modal__box { position: relative; background: var(--white); padding: 48px; }
.modal__close {
  position: absolute; top: 24px; right: 24px; width: 44px; height: 44px;
  display: grid; place-items: center; background: none; cursor: pointer;
  border: 1px solid var(--black); border-radius: 50%;
  font-family: var(--sans); font-size: 22px; line-height: 1;
  transition: background-color .15s ease, color .15s ease;
}
.modal__close:hover { background: var(--black); color: var(--offwhite); }
.modal .h3 { margin-top: 16px; }
.modal__intro, .modal__text { font-size: 20px; line-height: 1.45; }
.modal__intro { margin-top: 24px; }
.modal__sub { margin: 28px 0 8px; }
.rows .row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-light); font-family: var(--sans); font-size: 15px; line-height: 1.45; }
.rows dt { color: var(--grey-dark); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 3px; }
.modal__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.modal__foot .pointe { font-size: 20px; }

/* ---------- Legal pages ---------- */
.legal-header { background: var(--black); }
.legal-header__inner { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.legal { min-height: 60vh; }
.legal__body { max-width: 720px; margin-top: 40px; font-size: 20px; }
.legal__body p + p { margin-top: 1em; }
.legal__body h2 { font-weight: 400; font-size: 32px; margin: 1.4em 0 .4em; }

/* ---------- Tablet / Mobile ---------- */
@media (max-width: 1100px) {
  .founder__grid { gap: 56px; }
  .values__grid, .signup__grid { gap: 48px; }
}

@media (max-width: 900px) {
  .events__grid { grid-template-columns: 1fr; gap: 64px; }
  .signup__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding-top: 16px; padding-bottom: 16px; }
  .nav__left { display: none; }
  .nav__logo img { width: 120px; }
  .hero__logo { width: 80vw; }
  .js .hero { height: 220vh; }

  .statements.is-motion { height: 380vh; }

  .events__grid { margin-top: 48px; }
  .event__meta { margin-bottom: 28px; }
  .infos { grid-template-columns: 1fr; gap: 0; }
  .info { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; padding: 12px 0; }
  .info dt { margin: 0; }

  .values__grid { grid-template-columns: 1fr; }
  .value__title { font-size: 28px; }

  .founder__grid { grid-template-columns: 1fr; gap: 40px; }
  .founder__photo { width: 100%; max-width: 420px; }

  .body-text { font-size: 20px; }
  .form-box { padding: 32px 20px; }
  .form__foot { flex-direction: column-reverse; align-items: stretch; }
  .form__foot .btn { width: 100%; }
  .pick { padding: 14px 14px; gap: 12px; }
  .pick__title { font-size: 22px; }

  .modal { width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; }
  .modal__box { min-height: 100%; padding: 72px 20px 32px; }
  .modal__close { top: 16px; right: 16px; }
  .rows .row { grid-template-columns: 84px 1fr; }
  .modal__foot .btn { width: 100%; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__links { flex-direction: column; align-items: flex-start; gap: 0; }
}
.legal__body a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__body strong { font-weight: 400; font-style: italic; }
