:root {
  --asphalt: #222427;
  --asphalt-2: #2c2f33;
  --text: #eceee9;
  --t1: rgba(236, 238, 233, .92);
  --t2: rgba(236, 238, 233, .68);
  --t3: rgba(236, 238, 233, .48);
  --line: rgba(236, 238, 233, .14);
  --blue: #1f6bff;
  --blue-d: #1557d6;

  --display: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px;
  --gutter: 20px;
  --sec: 72px;
  --r: 6px;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
}
@media (min-width: 900px) {
  :root { --gutter: 40px; --sec: 120px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--asphalt);
  color: var(--t1);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0; }
.muted { color: var(--t2); max-width: 52ch; }
.lead { font: 400 22px/1.35 var(--display); color: var(--text); letter-spacing: -0.01em; max-width: 30ch; }

/* Das L-Schild */
.lplate {
  display: inline-grid; place-items: center;
  background: var(--blue); color: #f4f7ff;
  width: 1.08em; height: 1.08em; border-radius: .12em;
  font-weight: 600; line-height: 1;
}
.rise.lplate { display: inline-grid; }

/* Mittellinie */
.road { position: fixed; top: 0; bottom: 0; right: 10px; width: 2px; z-index: 5; pointer-events: none; }
.road__line {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(236,238,233,.55) 0 18px, transparent 18px 34px);
  transform-origin: top; transform: scaleY(var(--p, 0));
}
.road__car {
  position: absolute; left: 50%; top: 0;
  width: 18px; height: 18px; margin-left: -9px;
  display: grid; place-items: center;
  background: var(--blue); color: #f4f7ff; border-radius: 3px;
  font: 600 12px/1 var(--display);
  transform: translateY(calc(var(--p, 0) * (100vh - 18px)));
}
@media (min-width: 900px) { .road { right: auto; left: 16px; } }

/* Kopf */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: var(--s3); }
.mark { min-height: 44px; font: 600 22px/1 var(--display); letter-spacing: -0.04em; text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: 2px; }
.top__link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--t2); text-decoration: none; transition: color 150ms ease-out; }
.top__link:hover { color: var(--text); }

/* Einstieg */
.hero { padding-top: var(--s2); position: relative; overflow-x: clip; }
.hero__kicker { color: var(--t2); font-size: 15px; }
.hero__name {
  font: 500 25vw/0.86 var(--display);
  letter-spacing: -0.045em;
  color: var(--text);
  margin: var(--s1) 0 var(--s3) -0.04em;
  display: flex; align-items: baseline; gap: 0.06em;
}
.hero__name .lplate--big { font-size: .72em; width: 1.14em; height: 1.14em; letter-spacing: 0; }
.hero__lead { font: 400 22px/1.3 var(--display); letter-spacing: -0.015em; color: var(--text); max-width: 24ch; margin-bottom: var(--s3); }
.hero__lead .mask, .hero__lead .rise { display: block; }
.hero__img { position: relative; margin-inline: calc(var(--gutter) * -1); overflow: hidden; }
.hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 60%; transform: translateY(var(--par, 0)) scale(1.06); }
.band {
  position: relative; z-index: 2;
  height: 44px; margin: -26px calc(var(--gutter) * -1 - 20px) 0;
  background: var(--blue);
  transform: rotate(-3.5deg);
}
.band::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px;
  background: repeating-linear-gradient(to right, #f4f7ff 0 28px, transparent 28px 52px);
  animation: drive 1.6s linear infinite;
}
@keyframes drive { to { background-position: 52px 0; } }
.hero__act { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; padding-top: var(--s4); }
.hero__trust { font-size: 14px; line-height: 1.4; color: var(--t3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 var(--s3);
  background: var(--blue); color: #f4f7ff;
  border-radius: var(--r);
  font: 500 17px/1 var(--sans); text-decoration: none;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.btn:hover { background: var(--blue-d); }
.btn:active { transform: translateY(1px); }

/* Abschnitte */
.sec { padding-block: var(--sec); }
.h2 { font: 500 44px/1 var(--display); letter-spacing: -0.03em; color: var(--text); }
.head { display: grid; gap: var(--s2); margin-bottom: var(--s4); }

.list { border-top: 1px solid var(--line); }
.row { display: grid; gap: var(--s1); padding-block: var(--s3); border-bottom: 1px solid var(--line); }
.row__t { font: 500 28px/1.1 var(--display); letter-spacing: -0.02em; color: var(--text); }
.row__d { color: var(--t2); max-width: 46ch; }
.row__m { color: var(--t3); }

.teacher { display: grid; gap: var(--s4); }
.teacher__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); }
.teacher__txt { display: grid; gap: var(--s3); align-content: start; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s1); margin-top: var(--s4); }
.strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r); }

/* Anfrage */
.ask { background: var(--blue); color: #f4f7ff; }
.ask .h2 { color: #f4f7ff; }
.ask .muted { color: rgba(244, 247, 255, .8); }
.ask__grid { display: grid; gap: var(--s4); }
.ask__fields { display: grid; gap: var(--s3); }
legend, .field { font-size: 15px; color: rgba(244, 247, 255, .8); }
legend { margin-bottom: var(--s1); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
.chip {
  font: 500 16px/1 var(--sans); color: #f4f7ff;
  background: transparent; border: 1px solid rgba(244, 247, 255, .45);
  border-radius: var(--r); padding: 0 var(--s2); min-height: 44px; cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.chip:hover { border-color: #f4f7ff; }
.chip.is-on { background: #f4f7ff; color: var(--blue-d); border-color: #f4f7ff; }
.field { display: grid; gap: var(--s1); }
.field input {
  font: 400 17px/1.2 var(--sans); color: #f4f7ff;
  background: transparent; border: 0; border-bottom: 1px solid rgba(244, 247, 255, .45);
  padding: var(--s1) 0; border-radius: 0;
}
.field input::placeholder { color: rgba(244, 247, 255, .5); }
.field input:focus { outline: none; border-bottom-color: #f4f7ff; }

.note { display: grid; gap: var(--s2); align-content: start; }
.note__card {
  position: relative; background: var(--asphalt); color: var(--t1);
  border-radius: var(--r); padding: var(--s3); padding-right: var(--s5);
}
.note__l {
  position: absolute; top: var(--s2); right: var(--s2);
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--blue); color: #f4f7ff; border-radius: 4px;
  font: 600 20px/1 var(--display);
}
.note__to { color: var(--t3); margin-bottom: var(--s1); }
.note__msg { white-space: pre-line; font-size: 17px; }
.btn--light { background: #f4f7ff; color: var(--blue-d); }
.btn--light:hover { background: #ffffff; }
.note__alt { font-size: 15px; color: rgba(244, 247, 255, .8); }

/* Fuss */
.foot { padding-block: var(--s5) var(--s4); }
.foot__name { font: 500 25vw/0.86 var(--display); letter-spacing: -0.045em; color: var(--text); display: flex; align-items: baseline; gap: 0.06em; margin-left: -0.04em; }
.foot__name .lplate { font-size: .72em; width: 1.14em; height: 1.14em; }
.foot__cols { display: grid; gap: var(--s3); margin-top: var(--s4); color: var(--t2); font-size: 15px; }
.foot__cols a, .note__alt a, .foot__draft a { display: inline-block; padding-block: 10px; color: inherit; }
.foot__cols a { color: var(--t1); }
.foot__draft { margin-top: var(--s5); font-size: 14px; color: var(--t3); }

/* Bewegung */
.mask { display: inline-block; overflow: hidden; vertical-align: bottom; }
.rise { display: inline-block; }
.js .rise { transform: translateY(105%); transition: transform 900ms var(--expo); }
.js.ready .rise { transform: none; }
.js .reveal { clip-path: inset(100% 0 0 0); transition: clip-path 900ms var(--expo); }
.js .reveal img, .js img.reveal { transform: scale(1.15); transition: transform 1000ms var(--expo); }
.js .reveal.in { clip-path: inset(0 0 0 0); }
.js .reveal.in img, .js img.reveal.in { transform: none; }

@media (min-width: 900px) {
  .top { padding-block: var(--s4) var(--s3); }
  .hero { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s4); align-items: end; }
  .hero__kicker, .hero__name { grid-column: 1 / -1; }
  .hero__name { font-size: min(19vw, 230px); }
  .hero__lead { grid-column: 1; font-size: 32px; margin: 0; }
  .hero__act { grid-column: 2; padding-top: 0; justify-content: flex-end; }
  .hero__img { grid-column: 1 / -1; margin: var(--s5) 0 0; border-radius: var(--r); }
  .hero__img img { aspect-ratio: 16 / 8; }
  .band { grid-column: 1 / -1; margin: -30px -80px 0; height: 56px; }
  .h2 { font-size: 72px; }
  .head { grid-template-columns: 1fr 1fr; align-items: end; gap: var(--s4); margin-bottom: var(--s5); }
  .row { grid-template-columns: 1fr 1.2fr 0.8fr; align-items: baseline; gap: var(--s4); padding-block: var(--s4); }
  .row__t { font-size: 40px; }
  .row__m { text-align: right; }
  .teacher { grid-template-columns: 1fr 1fr; align-items: end; }
  .teacher__img { max-width: 520px; }
  .lead { font-size: 30px; }
  .strip { max-width: 760px; margin-left: auto; }
  .ask__grid { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .foot__name { font-size: min(19vw, 230px); }
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .reveal, .js .reveal img, .js img.reveal { transform: none !important; clip-path: none !important; transition: none !important; }
  .band::after { animation: none; }
  .hero__img img { transform: none !important; }
  .road { display: none; }
}
