:root {
  --turquoise: #5bf7dc;
  --purple: #460096;
  --black: #000000;
  --white: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.74);
  --line: rgba(91, 247, 220, 0.18);
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-lg: 34px;
  --radius-md: 22px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: #000000;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(70, 0, 150, 0.38), transparent 34%),
    radial-gradient(circle at 85% 15%, rgba(91, 247, 220, 0.2), transparent 24%),
    linear-gradient(180deg, #050505 0%, #000000 100%);
  color: var(--white);
  font-family: "Sora", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

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

.page-shell {
  min-height: 100vh;
  overflow: clip;
  background: #000000;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img,
.footer-logo {
  width: min(320px, 56vw);
  height: auto;
}

.hero-section,
.content-section {
  padding: 2.4rem 0 4.4rem;
}

.hero-grid,
.system-grid,
.team-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid > *,
.system-grid > *,
.team-grid > *,
.contact-grid > * {
  min-width: 0;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.88fr);
  align-items: center;
  min-height: calc(100vh - 88px - 2rem);
}

.section-kicker {
  margin: 0 0 1rem;
  color: var(--turquoise);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-title,
h2,
h3 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
}

.hero-title {
  margin-bottom: 1.4rem;
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  line-height: 0.95;
  max-width: 10ch;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.hero-lead,
.contact-card p,
.footer-grid p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.hero-lead {
  max-width: 34rem;
  margin: 0 0 2rem;
  font-size: 1rem;
}

.hero-copy {
  max-width: 38rem;
  padding: 2rem 3rem 2rem 0;
  position: relative;
  z-index: 2;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--turquoise);
  color: var(--black);
  box-shadow: 0 0 24px rgba(91, 247, 220, 0.25);
}

.button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.hero-media,
.system-media,
.contact-card,
.footer-grid {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 1.18 / 1;
  min-height: 520px;
  overflow: hidden;
  justify-self: end;
  margin-top: 2.5rem;
}

.hero-image-wrap,
.hero-image-wrap img,
.system-media img,
.team-media img {
  width: 100%;
  height: 100%;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(70, 0, 150, 0.06), rgba(0, 0, 0, 0.24)),
    linear-gradient(120deg, rgba(0, 0, 0, 0.16), rgba(91, 247, 220, 0.08));
}

.hero-image-wrap img,
.system-media img,
.team-media img {
  object-fit: cover;
}

.hero-image-wrap img {
  object-position: center center;
  transform: scale(1.08);
}

.section-head {
  margin-bottom: 1.4rem;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
}

h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
}

.system-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1.12fr);
  align-items: center;
}

.team-grid {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.system-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.team-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.system-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
  outline: none;
}

.team-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
  outline: none;
}

.system-card:hover,
.system-card:focus-visible,
.system-card:focus-within {
  border-color: rgba(91, 247, 220, 0.42);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.team-card:hover,
.team-card:focus-visible,
.team-card:focus-within {
  border-color: rgba(91, 247, 220, 0.42);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.system-card strong {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-card strong {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.system-card-summary {
  color: var(--ink-soft);
  line-height: 1.65;
}

.team-card-summary {
  color: var(--ink-soft);
  line-height: 1.65;
}

.system-card-detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 220ms ease, opacity 220ms ease, margin-top 220ms ease;
}

.team-card-detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 220ms ease, opacity 220ms ease, margin-top 220ms ease;
}

.system-card-detail p {
  overflow: hidden;
  padding: 0;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.team-card-detail p {
  overflow: hidden;
  padding: 0;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.system-card:hover .system-card-detail,
.system-card:focus-visible .system-card-detail,
.system-card:focus-within .system-card-detail {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.45rem;
}

.team-card:hover .team-card-detail,
.team-card:focus-visible .team-card-detail,
.team-card:focus-within .team-card-detail {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.45rem;
}

.system-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.team-media {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 1.18 / 1;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  justify-self: center;
}

.system-media img,
.team-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.system-media img {
  object-position: center center;
}

.team-media img {
  object-position: center 24%;
  transform: scale(1.04);
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  align-items: start;
}

.contact-grid-single {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.contact-actions {
  margin-top: 2rem;
}

.contact-card,
.footer-grid {
  padding: 1.4rem;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 2rem;
}

.footer-copy {
  display: grid;
  gap: 0.85rem;
  padding-top: 0.45rem;
}

.brand-wordmark,
.footer-name {
  margin: 0;
  color: var(--white);
  font-family: "Orbitron", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  font-style: italic;
  text-transform: lowercase;
  letter-spacing: 0.08em;
}

.brand-inline {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-style: italic;
  text-transform: lowercase;
}

.address-block {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.footer-imprint {
  display: grid;
  gap: 0.9rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .system-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
    padding-right: 0;
  }

  .hero-media,
  .system-media,
  .team-media {
    min-height: 420px;
  }

  .hero-media {
    width: 100%;
    margin-top: 0;
  }

  .team-media {
    width: 100%;
    min-height: 420px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.1rem), var(--container));
  }

  .nav-bar {
    min-height: 78px;
  }

  .hero-section,
  .content-section {
    padding: 2rem 0 3rem;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(1.72rem, 8.6vw, 2.7rem);
    line-height: 1.02;
  }

  .hero-title span:last-child {
    overflow-wrap: anywhere;
  }

  .system-card-detail {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 0.45rem;
  }

  .team-card-detail {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 0.45rem;
  }

  .button {
    width: 100%;
  }

  .hero-media,
  .system-media,
  .team-media {
    min-height: 340px;
  }

  .hero-media {
    aspect-ratio: 1 / 1;
  }

  .hero-image-wrap img {
    transform: scale(1.12);
  }

  .team-media {
    width: 100%;
    min-height: 340px;
  }

  .team-media img {
    transform: scale(1.08);
  }
}
