@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/space-grotesk-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/space-grotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/space-grotesk-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-grotesk-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700.woff2') format('woff2');
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: #08131d;
  color: #eef5f8;
  overflow: hidden;
}

@keyframes sw-kb {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.22) translate3d(0, -3%, 0);
  }
}

@keyframes sw-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes sw-up {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sw-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes sw-shine {
  0% {
    transform: translateX(-130%) skewX(-18deg);
  }
  60%, 100% {
    transform: translateX(260%) skewX(-18deg);
  }
}

@keyframes sw-drift {
  0% {
    transform: translateX(-6%);
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  88% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(112%);
    opacity: 0;
  }
}

.container {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 22px;
  background: #08131d;
}

.bg-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bg-image img {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  object-position: 50% 42%;
  opacity: 1;
  animation: sw-kb 32s ease-in-out infinite alternate;
  will-change: transform;
}

.overlay-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 8%, rgba(6,17,27,0.10) 0%, rgba(6,17,27,0.42) 46%, rgba(6,17,27,0.86) 100%);
}

.overlay-linear {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,19,29,0.55) 0%, rgba(8,19,29,0) 28%, rgba(8,19,29,0) 62%, rgba(8,19,29,0.78) 100%);
}

.dust {
  position: absolute;
  top: 18%;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  opacity: 0.5;
}

.dust-particle {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(244,168,28,0), rgba(244,168,28,0.9));
  animation: sw-drift 11s linear infinite;
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 432px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: sw-up 1s ease-out;
}

.avatar-wrapper {
  position: relative;
  animation: sw-float 7s ease-in-out infinite;
  margin-bottom: 22px;
}

.avatar-ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #1FA6AE, #2bc0c8, #F4A81C, #F0631F, #1FA6AE);
  animation: sw-ring 9s linear infinite;
  filter: blur(0.3px);
}

.avatar-glow {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 64%, transparent 100%);
  box-shadow: 0 18px 48px rgba(31,166,174,0.32);
}

.avatar-img {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
  border: 4px solid #0b1c28;
  display: block;
}

h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 8.5vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #f4f8fa;
  text-shadow: 0 2px 22px rgba(0,0,0,0.45);
  word-break: break-word;
}

.label {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.label-line {
  height: 1px;
  width: 26px;
  background: linear-gradient(90deg, transparent, rgba(244,168,28,0.9));
}

.label-line:last-child {
  background: linear-gradient(90deg, rgba(244,168,28,0.9), transparent);
}

.label-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #f4a81c;
}

p {
  margin: 16px 0 0;
  font-size: clamp(15px, 4vw, 16px);
  line-height: 1.55;
  font-weight: 500;
  color: rgba(238,245,248,0.86);
  max-width: 340px;
  text-wrap: pretty;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

.links {
  margin-top: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 20px;
  text-decoration: none;
  background: linear-gradient(118deg, #1FA6AE 0%, #2bb6a8 30%, #F4A81C 64%, #F0631F 100%);
  box-shadow: 0 14px 34px rgba(240,99,31,0.30), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms ease;
  border: none;
  cursor: pointer;
}

.link-btn:hover,
.link-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(240,99,31,0.42), inset 0 1px 0 rgba(255,255,255,0.3);
}

.link-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  animation: sw-shine 4.6s ease-in-out 1.4s infinite;
  pointer-events: none;
}

.link-icon {
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.link-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
  stroke: currentColor;
}

.link-text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.link-text strong {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  color: #ffffff;
}

.link-text span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.link-arrow {
  position: relative;
  margin-left: auto;
  flex: none;
  color: rgba(255,255,255,0.9);
}

.link-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* ---- Footer / Legal links pinned to viewport bottom ---- */
.legal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}

.legal a {
  color: rgba(238,245,248,0.62);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 200ms ease;
}

.legal a:hover,
.legal a:focus {
  color: #f4a81c;
}

.legal-dot {
  color: rgba(238,245,248,0.35);
}

/* ---- Legal pages (Impressum / Datenschutz) ---- */
.legal-page {
  min-height: 100vh;
  background: #08131d;
  color: #eef5f8;
  overflow-y: auto;
}

.legal-page .wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}

.legal-page .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(238,245,248,0.7);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 200ms ease;
}

.legal-page .back:hover {
  color: #f4a81c;
}

.legal-page .back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-page h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 6vw, 40px);
  letter-spacing: -0.02em;
  color: #f4f8fa;
  margin: 0 0 8px;
}

.legal-page .lead {
  font-size: 15px;
  color: rgba(238,245,248,0.6);
  margin: 0 0 44px;
}

.legal-page h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: #f4a81c;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.legal-page h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  color: #f4f8fa;
  margin: 26px 0 8px;
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  line-height: 1.68;
  color: rgba(238,245,248,0.84);
  margin: 0 0 14px;
  max-width: 64ch;
  text-wrap: pretty;
}

.legal-page a {
  color: #2bc0c8;
  text-decoration: none;
  border-bottom: 1px solid rgba(43,192,200,0.35);
}

.legal-page a:hover {
  color: #f4a81c;
  border-color: rgba(244,168,28,0.5);
}

.legal-page ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal-page strong {
  color: #f4f8fa;
  font-weight: 600;
}

.legal-page .divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(31,166,174,0.4), transparent);
  border: 0;
  margin: 48px 0;
}

.legal-page .muted {
  font-size: 13px;
  color: rgba(238,245,248,0.5);
}