:root {
  --magenta: #e6007e;
  --ink: #0d0f14;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ink);
  color: #fff;
  overflow-x: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 22%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(13,15,20,0.92) 0%, rgba(13,15,20,0.55) 32%, rgba(13,15,20,0.15) 55%, rgba(13,15,20,0.35) 100%),
    linear-gradient(100deg, rgba(13,15,20,0.55) 0%, rgba(13,15,20,0.1) 45%, rgba(13,15,20,0) 65%);
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6vh 6vw;
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.name {
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.socials {
  display: flex;
  gap: 28px;
  margin-top: 34px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0.88;
  transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.social-link:hover,
.social-link:focus-visible {
  opacity: 1;
  color: var(--magenta);
  transform: translateY(-2px);
}

.social-link:hover svg,
.social-link:focus-visible svg {
  transform: scale(1.08);
}

@media (max-width: 640px) {
  .hero-photo {
    object-position: 62% 18%;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(13,15,20,0.96) 0%, rgba(13,15,20,0.7) 40%, rgba(13,15,20,0.2) 62%, rgba(13,15,20,0.15) 100%);
  }

  .hero-content {
    padding: 5vh 6vw;
  }

  .socials {
    gap: 22px;
  }

  .social-link span {
    display: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }
}

.impressum-link {
  position: absolute;
  z-index: 1;
  right: 6vw;
  bottom: 2.4vh;
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.impressum-link:hover,
.impressum-link:focus-visible {
  opacity: 1;
}
