:root {
  --bg: #071427;
  --bg-elevated: #0d1f3d;
  --bg-soft: #132a4d;
  --card: #10294f;
  --text: #eaf2ff;
  --text-muted: #adc0df;
  --line: #2c4f85;
  --accent: #4a8fff;
  --accent-strong: #2f71dc;
  --accent-soft: #7cb0ff;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #17396a, var(--bg) 45%);
  line-height: 1.65;
}

h1,
h2,
h3 {
  font-family: 'Source Serif 4', serif;
  line-height: 1.15;
  margin-top: 0;
}

p {
  margin: 0;
}

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

.hero {
  position: relative;
  min-height: 90vh;
  padding: 1.4rem 1.2rem 4rem;
  border-bottom: 1px solid var(--line);
}

.hero--home {
  background:
    linear-gradient(120deg, rgba(7, 20, 39, 0.58), rgba(7, 20, 39, 0.42)),
    url("images/20250520_114610-web.jpg") center 28% / cover no-repeat;
}

.hero--about {
  background:
    linear-gradient(120deg, rgba(7, 20, 39, 0.62), rgba(7, 20, 39, 0.45)),
    url("images/20230701_154852-web.jpg") center 34% / cover no-repeat;
}

.hero--verfahren {
  background:
    linear-gradient(120deg, rgba(7, 20, 39, 0.62), rgba(7, 20, 39, 0.45)),
    url("images/20240811_123101-mobile.jpg") center center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(74, 143, 255, 0.1), transparent 42%),
    linear-gradient(340deg, rgba(124, 176, 255, 0.16), transparent 48%);
  pointer-events: none;
}

.topbar,
.hero__content,
.section,
.footer {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 0.35rem;
}

.brand__name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
}

.menu a:hover {
  color: var(--accent-soft);
}

.hero__content {
  margin-top: 15vh;
  max-width: 760px;
  display: grid;
  gap: 1.15rem;
}

.eyebrow {
  color: var(--accent-soft);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero__content p {
  color: var(--text-muted);
  max-width: 67ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.2rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--accent-soft);
}

.section {
  padding: 5rem 1.2rem;
  display: grid;
  gap: 1.4rem;
}

.section--alt {
  background: linear-gradient(180deg, rgba(16, 41, 79, 0.35), rgba(13, 31, 61, 0.45));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  display: grid;
  gap: 0.55rem;
}

.section h2 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.section h3 {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  font-size: 1.34rem;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.grid-two p,
.section p {
  color: var(--text-muted);
}

.feature-list,
.timeline {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.45rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  padding: 1.1rem;
  display: grid;
  gap: 0.6rem;
}

.card h3 {
  margin: 0;
}

.contact {
  max-width: 720px;
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.contact a {
  text-decoration: none;
  border-bottom: 0;
}

.contact-icon {
  display: inline-flex;
  width: 1.2em;
  justify-content: center;
  font-size: 1em;
  line-height: 1;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 20, 39, 0.75);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  margin-top: 0.25rem;
  border: 0;
  cursor: pointer;
}

.footer {
  padding: 1.5rem 1.2rem 2.2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
}

.footer__brandline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__brandline p,
.footer__credit {
  margin: 0;
}

.footer__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem;
}

.footer__credit {
  text-align: center;
  justify-self: center;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: end;
}

.footer a {
  text-decoration: none;
  color: var(--accent-soft);
}

.footer .footer__credit a,
.footer .footer__credit a:visited,
.footer .footer__credit a:hover,
.footer .footer__credit a:active {
  color: var(--text-muted);
}

.process-hero {
  min-height: 62vh;
}

.process-menu {
  display: flex;
}

.phase-section {
  padding-top: 3.5rem;
}

.phase-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.phase-card {
  position: relative;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0 1rem 5.2rem;
  min-height: 0;
  display: grid;
  justify-items: center;
  text-align: center;
}

.phase-card h2 {
  margin: 1.1rem 0 0.35rem;
  font-size: clamp(1.3rem, 3vw, 2.15rem);
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.phase-card p {
  margin: 0;
  color: var(--text-muted);
  max-width: 820px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.phase-number {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 0;
  background: #5f8fdd;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.phase-card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: 2px;
  height: 2.4rem;
  background: rgba(234, 242, 255, 0.25);
}

.phase-closing {
  margin: 0.5rem auto 0;
  max-width: 900px;
  text-align: center;
  color: var(--text);
  font-weight: 600;
}

.phase-cta {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.about-page {
  gap: 1.8rem;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 1.6rem;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

.about-intro-media,
.about-support-media {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
}

.about-intro-media img,
.about-support-media img {
  display: block;
  width: 100%;
  height: auto;
}

.about-intro-media {
  max-width: 100%;
  justify-self: end;
}

.about-support-media {
  max-width: 980px;
  justify-self: center;
}

.about-text-block {
  display: grid;
  gap: 0.7rem;
  max-width: 980px;
  margin: 0 auto;
}

.about-text-block--intro {
  margin: 0;
  max-width: none;
}

.about-text-block h2 {
  margin: 0;
}

.about-text-block p {
  margin: 0;
  color: var(--text-muted);
}

.service-areas {
  margin-top: 0.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-area {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
  padding: 1rem;
  display: grid;
  gap: 0.45rem;
}

.service-area__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent-soft);
  color: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.service-area h3 {
  margin: 0;
  font-size: 1.08rem;
}

.service-area p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-title-icon {
  margin-right: 0.4rem;
  font-size: 0.95em;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

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

  .service-areas {
    grid-template-columns: 1fr;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .about-intro-media {
    justify-self: center;
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.6rem);
    flex-direction: column;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #091a34;
    min-width: 220px;
    display: none;
  }

  .menu.is-open {
    display: flex;
  }

  .process-menu {
    position: static;
    display: flex;
    flex-direction: row;
    min-width: auto;
    border: 0;
    background: transparent;
    padding: 0;
    gap: 0.7rem;
  }

  .phase-card {
    padding-bottom: 4.5rem;
  }

  .phase-number {
    width: 66px;
    height: 66px;
    font-size: 1.6rem;
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 0.6rem;
  }

  .footer__brandline,
  .footer__links {
    justify-self: start;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}
