@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/space-grotesk-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/space-grotesk-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/space-grotesk-2.ttf) format('truetype');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/space-grotesk-3.ttf) format('truetype');
}



@layer base {
  :root {
    font-family: 'Space Grotesk', sans-serif;
    color: #171717;
    background: #e9e5dc;
  }

  body {
    min-width: 320px;
    min-height: 100vh;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}

.site {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #e9e5dc;
  color: #fff;
  isolation: isolate;
  transition: background 1s ease;
}

.phase-nacht {
  color: #f6f1e8;
  background: #121212;
}

.canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  perspective: 900px;
}

.shape {
  --x: 0%;
  --y: 0%;
  --size: 100px;
  --rotation: 0deg;
  --color: #ff4d19;
  --radius: 50%;
  --duration: 14s;
  --delay: 0s;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--color);
  transform: translate(-50%, -50%) rotate(var(--rotation));
  animation: float var(--duration) var(--delay) ease-in-out infinite alternate;
  will-change: transform;
}

.shape-depth-0 {
  z-index: 0;
  opacity: 0.58;
  filter: blur(2px);
  animation-duration: calc(var(--duration) * 1.45);
}

.shape-depth-1 {
  z-index: 1;
  opacity: 0.84;
}

.shape-depth-2 {
  z-index: 2;
  filter: saturate(1.08);
  animation-duration: calc(var(--duration) * 0.82);
}

.shape-ring {
  background: transparent;
  border: clamp(14px, 2.4vw, 34px) solid var(--color);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.design-word {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(88vw, 980px);
  gap: 20px;
  transform: translate(-50%, -50%);
  text-align: center;
  animation: word-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.design-word span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.design-word strong {
  font-size: clamp(34px, 6.3vw, 92px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: #fff;
  -webkit-text-stroke: 2px currentColor;
  paint-order: stroke fill;
}

.phase-nacht .design-word strong {
  color: #fff;
}

header,
footer {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 34px;
}

header {
  top: 0;
}

footer {
  bottom: 0;
  align-items: flex-end;
}

.brand,
.status,
.meta,
.explore,
.eyebrow,
.time-block span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 17px;
  height: 17px;
  border: 5px solid currentColor;
  border-radius: 50% 50% 15% 50%;
  transform: rotate(20deg);
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.8s ease-in-out infinite;
}

.hero {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 48%;
  width: min(92vw, 1160px);
  transform: translate(-50%, -50%);
  text-align: center;
}

.eyebrow {
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  font-size: clamp(66px, 12.3vw, 188px);
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: -0.085em;
}

h1 span {
  color: #f4efe6;
  -webkit-text-stroke: 2px #171717;
}

.phase-nacht h1 span {
  color: #171717;
  -webkit-text-stroke-color: #f4efe6;
}

.intro {
  max-width: 430px;
  margin: 38px auto 0;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 600;
  line-height: 1.35;
}

.time-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.time-block strong {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.meta {
  display: flex;
  gap: 28px;
}

.explore {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}

.explore span {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.explore:hover span {
  transform: translate(3px, 3px);
}

@keyframes float {
  0% {
    transform: translate3d(-50%, -50%, -90px) rotate(var(--rotation)) scale(0.94);
  }

  50% {
    transform: translate3d(calc(-50% + 8px), calc(-50% - 12px), 10px)
      rotate(calc(var(--rotation) + 7deg)) scale(1);
  }

  100% {
    transform: translate3d(calc(-50% + 18px), calc(-50% - 24px), 90px)
      rotate(calc(var(--rotation) + 15deg)) scale(1.06);
  }
}

.shape-depth-0 {
  animation-name: float-back;
}

.shape-depth-2 {
  animation-name: float-front;
}

@keyframes float-back {
  to {
    transform: translate3d(calc(-50% + 8px), calc(-50% - 10px), -40px)
      rotate(calc(var(--rotation) + 7deg)) scale(0.98);
  }
}

@keyframes float-front {
  from {
    transform: translate3d(-50%, -50%, 60px) rotate(var(--rotation)) scale(1.04);
  }

  to {
    transform: translate3d(calc(-50% + 24px), calc(-50% - 30px), 150px)
      rotate(calc(var(--rotation) + 19deg)) scale(1.13);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}

@keyframes word-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 24px)) scale(0.96);
    filter: blur(8px);
  }
}

@media (max-width: 720px) {
  header,
  footer {
    padding: 20px;
  }

  .status,
  .meta {
    display: none;
  }

  .hero {
    top: 46%;
  }

  h1 {
    font-size: clamp(58px, 20vw, 100px);
    line-height: 0.82;
  }

  h1 span {
    -webkit-text-stroke-width: 1px;
  }

  .intro {
    width: 84%;
    margin-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shape,
  .pulse,
  .design-word {
    animation: none;
  }
}

*{box-sizing:border-box}body{margin:0}strong{font-weight:700}#root{min-height:100svh}html{margin-top:0!important}body.admin-bar .site{min-height:calc(100svh - 32px)}
