:root {
  --grund: #0d0a0a;
  --text: #f1ebe6;
  --text-2: rgba(241, 235, 230, 0.68);
  --text-3: rgba(241, 235, 230, 0.48);
  --linie: rgba(241, 235, 230, 0.16);
  --akzent: #6fd3ff;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--grund);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }

.rand { padding-inline: 20px; max-width: 1280px; margin-inline: auto; }
.abschnitt { padding-block: 72px; }

.mono {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.leise { color: var(--text-3); }

h2 {
  font-size: 15px;
  font-weight: 500;
  font-stretch: 125%;
  color: var(--text-2);
  margin-bottom: 24px;
}
h3 {
  font-size: 32px;
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-block: 8px 16px;
}
.gross {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 24em;
}

.link {
  text-decoration: underline;
  text-decoration-color: var(--linie);
  text-underline-offset: 4px;
  transition: text-decoration-color 150ms ease-out;
}
.link:hover { text-decoration-color: var(--text); }
a.link { display: inline-block; padding-block: 8px; }

.knopf {
  display: inline-block;
  background: var(--akzent);
  color: var(--grund);
  font-weight: 500;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 999px;
  transition: transform 150ms ease-out;
}
.knopf:hover { transform: translateY(-2px); }
.knopf[data-ein].sichtbar { transition: opacity 800ms ease-out, transform 300ms ease-out; }
.knopf--gross { font-size: 20px; padding: 24px 40px; }

/* Einstieg */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--grund) url("img/hero-hoch.jpg") center / cover no-repeat;
}
.hero__video { position: absolute; inset: 0; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 10, 10, var(--dunkel, 0.38));
}
.hero__top, .hero__bottom, .hero__name { position: relative; z-index: 1; width: 100%; }
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
}
.hero__name {
  font-size: 15.5vw;
  font-weight: 500;
  font-stretch: 125%;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
  overflow: hidden;
  padding-bottom: 0.12em;
}
.hero__video { will-change: transform; }
.hero__rand {
  opacity: 0;
  transition: opacity 800ms ease-out 900ms;
}
.bereit .hero__rand { opacity: 1; }

/* Buchstaben steigen einzeln aus der Maske */
[data-buchstaben] { overflow: hidden; padding-bottom: 0.12em; }
[data-buchstaben] .b {
  display: inline-block;
  transform: translateY(115%) rotate(6deg);
  transition: transform 1100ms var(--expo);
  transition-delay: calc(var(--i) * 55ms + 150ms);
}
.bereit .hero__name .b,
[data-buchstaben].sichtbar .b { transform: none; }

/* Text kommt beim Scrollen von unten */
[data-ein], [data-reihe] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease-out, transform 900ms var(--expo);
  transition-delay: calc(var(--i, 0) * 80ms);
}
[data-ein].sichtbar, [data-reihe].sichtbar > * { opacity: 1; transform: none; }
.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 24px;
}
.hero__zeile { font-size: 18px; line-height: 1.35; }

/* Bilder */
.bild { overflow: hidden; border-radius: 4px; background: #1a1414; }
.bild--hoch { aspect-ratio: 2 / 3; }
.bild--quad { aspect-ratio: 1 / 1; }
.bild img {
  scale: 1.12;
  translate: 0 calc(var(--p, 0) * 1%);
  transition: scale 1400ms var(--expo);
}
.bild[data-auf] {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1200ms var(--expo);
}
.bild[data-auf] img { scale: 1.35; }
.bild[data-auf].sichtbar { clip-path: inset(0); }
.bild[data-auf].sichtbar img { scale: 1.12; }

/* Profil */
.profil { display: grid; gap: 40px; }
.profil__text { order: -1; }
.daten { margin-top: 40px; border-top: 1px solid var(--linie); }
.daten div {
  display: flex;
  justify-content: space-between;
  padding-block: 16px;
  border-bottom: 1px solid var(--linie);
}
.daten dt { color: var(--text-3); }
.daten dd { margin: 0; }

/* Projekte */
.projekte__raster { display: grid; gap: 64px; }
.projekte article p:not(.mono) { color: var(--text-2); max-width: 32em; margin-bottom: 16px; }
.projekte .mono { margin-top: 24px; }

/* Sets */
.zeile {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid var(--linie);
  text-decoration: none;
  font-size: 26px;
  letter-spacing: -0.015em;
  transition: padding-left 150ms ease-out;
}
.zeile .mono { color: var(--text-3); transition: color 150ms ease-out; }
.zeile:hover { padding-left: 8px; }
.zeile:hover .mono { color: var(--text); }
.sets > .leise { border-top: 1px solid var(--linie); padding-top: 24px; }

/* Booking */
.booking {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  border-top: 1px solid var(--linie);
}
.booking__titel {
  font-size: 15.5vw;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0;
}

.fuss {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-block: 24px;
  border-top: 1px solid var(--linie);
  color: var(--text-3);
}

@media (min-width: 800px) {
  .rand { padding-inline: 40px; }
  .abschnitt { padding-block: 120px; }
  .gross { font-size: 40px; line-height: 1.15; letter-spacing: -0.025em; }
  h3 { font-size: 48px; }
  .hero { background-image: url("img/hero-breit.jpg"); }
  .hero__top { padding-top: 40px; }
  .hero__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 40px;
  }
  .hero__zeile { font-size: 20px; }
  .profil { grid-template-columns: 1fr 1.6fr; gap: 104px; align-items: end; }
  .profil__text { order: 0; }
  .projekte__raster { grid-template-columns: 1fr 1fr; gap: 40px; }
  .zeile { font-size: 40px; padding-block: 40px; }
  .booking { align-items: center; text-align: center; gap: 40px; }
  .booking__titel { font-size: min(15.5vw, 200px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__rand, [data-buchstaben] .b, [data-ein], [data-reihe] > *, .bild[data-auf], .bild img, .bild[data-auf] img {
    opacity: 1;
    transform: none;
    scale: 1;
    translate: none;
    clip-path: none;
    transition: none;
  }
  .hero__video { display: none; }
}
