/* Self-hosted fonts (SIL OFL 1.1, see fonts/OFL-*.txt) — no requests to Google */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0E0D0C;
  --surface: #1C1A18;
  --white: #FFFFFF;
  --muted: #A39D94;
  --placeholder: #7F796F;
  --red: #8C0801;
  --red-bright: #E0503F;
  --bone: #ECE8E1;
  --strip-bg: #E6E4E0;
  --rule: rgba(255, 255, 255, .12);
  --gutter: clamp(20px, 4vw, 56px);
  --sans: 'Archivo', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html, body { margin: 0; background: var(--ink); }
[hidden] { display: none !important; }

a { color: var(--white); }
a:hover { color: var(--red-bright); }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  overflow-x: hidden;
}

.mono {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Header */
.header {
  flex: none;
  min-height: clamp(72px, 12vh, 112px);
  padding: 16px var(--gutter);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.header__logo { height: clamp(24px, 2.8vw, 40px); width: auto; display: block; }
.header__home { display: block; }
.header__link { line-height: 1; text-decoration: none; }

/* Product strip (marquee) */
.strip {
  --strip-h: clamp(240px, 46vh, 420px);
  flex: none;
  height: var(--strip-h);
  overflow: hidden;
}
@supports (height: 1svh) {
  .strip { --strip-h: clamp(240px, 46svh, 420px); }
}
@supports (width: round(1px, 20px)) {
  .strip { --strip-h: clamp(240px, round(46svh, 20px), 420px); }
}
.strip__track {
  display: flex;
  width: max-content;
  animation: inj-marquee var(--marquee-duration, 86s) linear infinite;
}
.strip__seq { display: flex; gap: 8px; padding-right: 8px; flex-shrink: 0; }
.strip__item {
  width: calc(var(--strip-h) * .8);
  height: var(--strip-h);
  flex: none;
  overflow: hidden;
  background: var(--strip-bg);
}
.strip__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

@keyframes inj-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Main */
.main {
  flex: 1;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 56px);
  align-items: flex-start;
}

.hero {
  position: relative;
  z-index: 2;
  flex: 0 1 auto;
  margin-top: calc(-1 * clamp(56px, 10vh, 96px));
  padding: clamp(20px, 2vw, 28px) clamp(22px, 2.6vw, 36px) clamp(22px, 2vw, 30px);
  background: var(--red);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero__title {
  margin: 0;
  font-weight: 800;
  font-stretch: 112%;
  /* 12.5vw cap keeps the nowrap "Haltung." inside the box on phones (< 430px) */
  font-size: min(clamp(56px, 6.7vw, 96px), 12.5vw);
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__title .hero__nowrap { white-space: nowrap; }

.signup {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 1040px) {
  .signup { max-width: 640px; margin-left: auto; padding-top: 36px; }
}
.signup__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.signup__form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.signup__row { display: flex; flex-wrap: wrap; gap: 8px; }

.signup__email {
  flex: 1 1 220px;
  min-width: 0;
  height: 56px;
  box-sizing: border-box;
  padding: 0 18px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--white);
  font: 400 17px var(--sans);
  outline: none;
}
.signup__email::placeholder { color: var(--placeholder); }
.signup__email:focus { border-color: var(--white); }

.signup__submit {
  flex: 1 0 auto;
  height: 56px;
  padding: 0 24px;
  border: none;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: 700 15px/1 var(--sans);
  font-stretch: 112%;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.signup__submit:hover { background: var(--bone); }
.signup__submit:focus-visible,
.success__reset:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.signup__consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.signup__consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--red);
  cursor: pointer;
}
.signup__consent span { font-size: 13px; line-height: 1.5; color: var(--muted); }
.signup__consent a { text-underline-offset: 3px; }

.signup__error { font-size: 14px; font-weight: 600; color: var(--red-bright); }
.signup__error:empty { display: none; }

/* Brevo spam honeypot: off-screen for humans, still filled in by bots */
.signup__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Success state */
.success {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  border: 1px solid var(--red);
  background: rgba(140, 8, 1, .14);
}
.success__title {
  margin: 0;
  font-weight: 800;
  font-stretch: 108%;
  font-size: 26px;
  line-height: 1.1;
  text-transform: uppercase;
  outline: none;
}
.success__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.success__reset {
  align-self: flex-start;
  padding: 0;
  background: none;
  border: none;
  color: var(--white);
  font: 500 12px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* Subpages: legal texts and opt-in confirmation */
.sub {
  flex: 1;
  padding: clamp(24px, 6vh, 64px) var(--gutter) 0;
}
.sub__title {
  display: inline-block;
  margin: 0;
  padding: clamp(16px, 2vw, 24px) clamp(20px, 2.6vw, 32px);
  background: var(--red);
  font-weight: 800;
  font-stretch: 112%;
  /* 8.5vw cap keeps "Datenschutz-" inside the box on phones */
  font-size: min(clamp(40px, 5vw, 72px), 8.5vw);
  line-height: .9;
  max-width: 100%;
  box-sizing: border-box;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.sub__title span { display: block; }
.sub__meta { margin: 20px 0 0; color: var(--muted); }

.legal { max-width: 720px; margin-top: clamp(32px, 5vh, 56px); }
.legal h2 {
  margin: 48px 0 12px;
  font-weight: 800;
  font-stretch: 108%;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 28px 0 8px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.legal p, .legal li, .legal address {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.legal p, .legal address { margin: 0 0 14px; }
.legal address { font-style: normal; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 4px; }
.legal strong { color: var(--white); font-weight: 600; }
.legal a, .confirm a { text-underline-offset: 3px; }

.confirm { max-width: 640px; margin-top: clamp(28px, 4vh, 40px); display: flex; flex-direction: column; gap: 18px; }
.confirm p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.confirm__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.confirm__links a { text-decoration: none; }

/* Footer */
.footer {
  flex: none;
  margin: 36px var(--gutter) 0;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
  font: 400 12px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer__nav a { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-play-state: paused !important; }
}
