:root {
  --bg-start: #030916;
  --bg-mid: #07142b;
  --bg-end: #0a1f3f;
  --card-bg: linear-gradient(145deg, rgba(14, 26, 51, 0.78), rgba(10, 20, 42, 0.66));
  --text-primary: #eaf2ff;
  --text-secondary: #a7badb;
  --accent: #245dff;
  --accent-hover: #1f4fd8;
  --accent-alt: #08b9c8;
  --accent-alt-hover: #0796a3;
  --link-text: #ffffff;
  --shadow: 0 28px 60px rgba(2, 8, 24, 0.56);
  --border: rgba(165, 198, 255, 0.24);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-primary);
  background: radial-gradient(circle at top, #0f2f5e 0%, transparent 35%),
    linear-gradient(140deg, var(--bg-start) 0%, var(--bg-mid) 42%, var(--bg-end) 100%);
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 15%, rgba(36, 93, 255, 0.36), transparent 36%),
    radial-gradient(circle at 84% 72%, rgba(8, 185, 200, 0.28), transparent 30%),
    radial-gradient(circle at 50% 96%, rgba(81, 126, 255, 0.16), transparent 42%);
  filter: saturate(120%);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 84px);
  padding: 2.2rem 1rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 92vw);
  backdrop-filter: blur(18px);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1rem 1.2rem 1.8rem;
  text-align: left;
  overflow: hidden;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 35%);
  pointer-events: none;
}

.card-banner-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  border: 1px solid rgba(180, 213, 255, 0.35);
  margin-bottom: 2.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.card-banner {
  width: 100%;
  height: clamp(130px, 24vw, 190px);
  object-fit: cover;
  display: block;
  border-radius: 14px;
  filter: saturate(105%) contrast(104%);
}

.profile-image {
  position: absolute;
  right: 1rem;
  bottom: -58px;
  width: 124px;
  height: 124px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(180, 208, 255, 0.52);
  box-shadow: 0 14px 28px rgba(3, 12, 30, 0.5), 0 0 0 1px rgba(122, 164, 228, 0.35);
}

.identity {
  margin-left: 0.25rem;
  margin-top: -0.55rem;
  padding-right: 8.4rem;
}

h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.35rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.intro {
  max-width: 58ch;
  margin: 0.45rem 0 1.25rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 1rem;
}

nav[aria-label="Schnelllinks"] {
  padding-top: 0.45rem;
}

.link-grid {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(80px, 1fr));
  gap: 1rem;
}

.link-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.round-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(120deg, rgba(36, 93, 255, 0.24), rgba(12, 24, 50, 0.54));
  color: var(--link-text);
  border: 1px solid rgba(180, 208, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 20px rgba(3, 12, 30, 0.34);
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, background 160ms ease;
}

.link-grid li:nth-child(even) .round-link {
  background: linear-gradient(120deg, rgba(8, 185, 200, 0.26), rgba(10, 26, 50, 0.54));
}

.round-link:hover,
.round-link:focus-visible {
  transform: translateY(-2px) scale(1.01);
  background: linear-gradient(120deg, rgba(36, 93, 255, 0.34), rgba(17, 40, 78, 0.7));
}

.link-grid li:nth-child(even) .round-link:hover,
.link-grid li:nth-child(even) .round-link:focus-visible {
  background: linear-gradient(120deg, rgba(8, 185, 200, 0.34), rgba(17, 40, 78, 0.7));
}

.round-link i {
  font-size: 2.15rem;
}

.link-label {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: #c8d8f6;
}

.footer {
  padding: 1.1rem 1rem 1.2rem;
  text-align: center;
  color: #b4c6e3;
  font-weight: 600;
}

.footer p {
  margin: 0.25rem 0;
}

.legal-links {
  font-size: 0.82rem;
  opacity: 0.75;
}

.legal-links a {
  color: #a9bddf;
  text-decoration: none;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  text-decoration: underline;
}

.fade-in {
  opacity: 0;
  transform: translateY(6px);
  will-change: opacity, transform;
  animation: reveal 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.footer.fade-in {
  animation-delay: 160ms;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .footer.fade-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 0.8rem 0.9rem 1.2rem;
    border-radius: 18px;
    text-align: left;
  }

  .profile-image {
    width: 96px;
    height: 96px;
    right: 0.8rem;
    bottom: -48px;
  }

  .card-banner {
    height: 122px;
  }

  .card-banner-wrap {
    margin-bottom: 3rem;
  }

  .link-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .identity {
    padding-right: 6.8rem;
  }

  .round-link {
    width: 92px;
    height: 92px;
  }
}
