@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('/assets/fonts/dm-sans-latin-opsz-normal.woff2') format('woff2-variations'),
       url('/assets/fonts/dm-sans-latin-opsz-normal.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 {
  --grund: #0a0a0b;
  --text: #fafafa;
  --text-2: #a1a1aa;
  --text-3: #909099;
  --text-lese: #d4d4d8;
  --akzent: #ff4d9d;
  --akzent-hell: #ff6aad;
  --akzent-hauch: rgba(255, 77, 157, 0.1);
  --luecke: #fbbf24;
  --luecke-hauch: rgba(245, 158, 11, 0.14);
  --schrift: 'DM Sans Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--grund);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1rem;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 3px;
  border-radius: 4px;
}

.licht {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.licht span {
  position: absolute;
  border-radius: 9999px;
}

.licht-unten {
  left: -96px;
  bottom: -96px;
  width: 384px;
  height: 384px;
  background: rgba(255, 77, 157, 0.1);
  filter: blur(64px);
}

.licht-oben {
  right: -80px;
  top: -80px;
  width: 384px;
  height: 384px;
  background: rgba(255, 77, 157, 0.05);
  filter: blur(64px);
}

.licht-mitte {
  left: 50%;
  top: 44%;
  width: min(420px, 90vw);
  height: 300px;
  transform: translate(-50%, -50%);
  background: rgba(255, 77, 157, 0.12);
  filter: blur(72px);
}

.buehne {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  padding: 3rem 1rem 2rem;
  text-align: center;
}

.logo-rahmen {
  position: relative;
  display: inline-block;
  margin: 0;
  line-height: 0;
  animation: logoDriveIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.logo-rahmen::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 157, 0.08) 0%, transparent 60%);
  opacity: 0.6;
  pointer-events: none;
  animation:
    glowAppear 0.8s ease-out 1s both,
    glowBreath 6s ease-in-out 1.8s infinite;
}

.logo {
  position: relative;
  width: clamp(13rem, 46vw, 22.5rem);
  filter: drop-shadow(0 0 12px rgba(255, 77, 157, 0.25));
  animation: logoFloat 6s ease-in-out 1.2s infinite;
}

.hinweis {
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: var(--akzent-hauch);
  color: var(--akzent);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  animation: aufsteigen 0.3s ease-out 1s both;
}

.fuss {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 1.5rem;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-3);
}

.fuss p {
  margin: 0;
}

.fuss nav {
  display: flex;
  gap: 1.5rem;
}

.fuss a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.15s;
}

.fuss a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.fuss a[aria-current='page'] {
  color: var(--text);
}

.leiste {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 0;
}

.leiste-marke {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  text-decoration: none;
}

.leiste-marke .schriftzug-klein {
  width: 8.75rem;
}

.text {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  padding: 1rem 1rem 4rem;
}

.text h1 {
  margin: 1.5rem 0 1.25rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.text h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  text-wrap: balance;
}

.text p,
.text li,
.text address {
  color: var(--text-lese);
  font-style: normal;
}

.text p,
.text address {
  margin: 0 0 1rem;
}

.text ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.text li {
  margin: 0.25rem 0;
}

.text a {
  color: var(--akzent);
  text-underline-offset: 0.2em;
}

.text a:hover {
  color: var(--akzent-hell);
}

.text .stand {
  margin-top: 2.5rem;
  color: var(--text-3);
  font-size: 0.875rem;
}

.luecke {
  padding: 0 0.25em;
  border-radius: 4px;
  background: var(--luecke-hauch);
  color: var(--luecke);
}

.fehler {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 1rem 2rem;
  text-align: center;
}

.fehler .logo {
  width: clamp(10rem, 30vw, 14rem);
  animation: none;
}

.fehler h1 {
  margin: 0;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.fehler a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--akzent);
  font-weight: 500;
  text-underline-offset: 0.2em;
}

.fehler a:hover {
  color: var(--akzent-hell);
}

@keyframes logoDriveIn {
  0% {
    opacity: 0;
    transform: translateX(120px) rotate(5deg);
  }
  30% {
    opacity: 1;
  }
  70% {
    transform: translateX(-10px) rotate(-2deg);
  }
  85% {
    transform: translateX(5px) rotate(1deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes glowAppear {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

@keyframes glowBreath {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes aufsteigen {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
