:root {
  --primary-color: #2d9b9e;
  --header-height: 96px;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./fonts/space-grotesk-v22-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./fonts/space-grotesk-v22-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/poppins-v24-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/poppins-v24-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 6vw;
}

header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  background: #ffffff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -10%;
  height: 65%;
  background:
    radial-gradient(50% 60% at 20% 100%, rgba(242, 140, 40, 0.7), transparent 70%),
    radial-gradient(50% 60% at 50% 100%, rgba(30, 95, 143, 0.6), transparent 70%),
    radial-gradient(50% 60% at 80% 100%, rgba(45, 155, 158, 0.7), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15%;
  width: 150%;
  height: 70%;
  transform: translateX(-50%);
  background: url("./img/earth.png") center bottom / contain no-repeat;
  pointer-events: none;
  z-index: 2;
  animation: earthRise 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes earthRise {
  0% {
    transform: translateX(-50%) translateY(120%);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.hero > * {
  position: relative;
  z-index: 3;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  height: 100%;
  padding-top: 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 2.2s forwards;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.5rem);
  max-width: 700px;
  margin-bottom: 1.5rem;
  color: #555;
  opacity: 0;
  animation: fadeInUp 1s ease-out 2.5s forwards;
}

.hero .btn {
  opacity: 0;
  animation: fadeInUp 1s ease-out 2.8s forwards;
}

.hero .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(45, 155, 158, 0.4) !important;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.vanta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

.hero-person {
  position: absolute;
  bottom: 0;
  height: 60%;
  width: auto;
  object-fit: contain;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.hero-person-left-front {
  left: 8%;
  z-index: 1;
  height: 70%;
  animation: personSlideInLeft 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
}

.hero-person-left-back {
  left: 1%;
  height: 60%;
  z-index: 0;
  animation: personSlideInLeft 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
}

.hero-person-right-front {
  right: 10%;
  z-index: 1;
  animation: personSlideInRight 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}

.hero-person-right-back {
  right: 1%;
  height: 50%;
  z-index: 0;
  animation: personSlideInRight 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
}

@keyframes personSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px) translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes personSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px) translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes personFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.header_menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0;
}

.logo {
  width: 160px;
  height: auto;
}

.header_nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 24px;
}

.header_nav a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.header_nav a:hover {
  color: var(--primary-color);
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.23);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.339),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 26px 13px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.585),
    transparent
  );
}

.glass-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.59),
    transparent,
    rgba(255, 255, 255, 0.59)
  );
}

.rounded-20 {
  border-radius: 20px;
}

.btn {
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.btn.accent {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1d7b7d 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(45, 155, 158, 0.3);
}

.btn.accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 155, 158, 0.4);
}

.btn.ghost {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid rgba(45, 155, 158, 0.45);
  box-shadow: none;
}

.btn.ghost:hover {
  transform: translateY(-2px);
  background: rgba(45, 155, 158, 0.08);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(24px);
  width: min(1100px, calc(100% - 40px));
  padding: 22px 26px;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #0b1a1a;
}

.cookie-banner__text a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.cookie-banner__text a:hover {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-banner__actions .btn {
  flex: 1 1 180px;
}

section {
  padding: 80px 0;
  position: relative;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.section-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #666;
  margin-top: -1rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.dienstleistungen {
  background:
    radial-gradient(circle at 15% 50%, rgba(45, 155, 158, 0.1), transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(242, 140, 40, 0.1), transparent 50%);
}

.dienstleistungen h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.339),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 26px 13px rgba(255, 255, 255, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 16px;
  flex-shrink: 0;
  padding: 8px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 0;
  color: #333;
}

.service-card > p {
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list li {
  padding-left: 28px;
  position: relative;
  color: #666;
  line-height: 1.6;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2em;
}

.Projekte {
  background:
    radial-gradient(circle at 20% 50%, rgba(45, 155, 158, 0.1), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(30, 95, 143, 0.1), transparent 50%);
}

.project-showcase {
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.project-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-logo {
  width: 200px;
  height: auto;
  margin-bottom: 10px;
}

.project-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.3;
  color: #333;
  margin: 0;
}

.project-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.5;
}

.project-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

.project-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.project-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image:hover {
  transform: translateY(-5px);
}

.unser-team {
  background:
    radial-gradient(circle at 30% 20%, rgba(242, 140, 40, 0.1), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(30, 95, 143, 0.1), transparent 60%);
}

.unser-team h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.unser-team .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.unser-team .team_members {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.unser-team .team_members-card {
  padding: 30px;
  transition: transform 0.3s ease;
  display: flex;
  gap: 30px;
  align-items: center;
}

.unser-team .team_members-card:hover {
  transform: translateY(-8px);
}

.unser-team .team-foto {
  width: 150px;
  height: 150px;
  min-width: 150px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #2d9b9e, #1e5f8f);
  border: 3px solid var(--primary-color);
}

.unser-team .team_descr {
  flex: 1;
}

.unser-team .team_descr h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.unser-team .team_descr p {
  line-height: 1.6;
  color: #666;
}

.unser-team .team_descr p + p {
  margin-top: 1rem;
}

.partner {
  background: #ffffff;
  padding: 60px 0;
  overflow: hidden;
}

.partner h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  display: flex;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-content {
  display: flex;
  gap: 80px;
  align-items: center;
  animation: marquee 50s linear infinite;
  flex-shrink: 0;
}

.partner-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.3s ease;
  flex-shrink: 0;
}

.partner-logo:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.kontakt {
  background:
    radial-gradient(circle at 10% 30%, rgba(30, 95, 143, 0.1), transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(242, 140, 40, 0.1), transparent 50%),
    linear-gradient(to bottom, transparent 0%, rgba(45, 155, 158, 0.1) 100%);
}

.kontakt_content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.kontakt_wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 60px;
  align-items: start;
}

.kontakt_eyebrow {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.kontakt_intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.kontakt_intro > p {
  margin-bottom: 2rem;
  line-height: 1.7;
  color: #555;
}

.kontakt_details {
  margin-bottom: 2rem;
}

.kontakt_detail {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  gap: 0.25rem;
}

.kontakt_detail span:first-child {
  font-weight: 600;
  color: #333;
}

.kontakt_detail a {
  color: var(--primary-color);
  text-decoration: none;
}

.kontakt_detail a:hover {
  text-decoration: underline;
}

.kontakt_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kontakt_badges span {
  padding: 8px 16px;
  background: rgba(45, 155, 158, 0.1);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
}

.kontakt_form {
  padding: 40px;
}

.field {
  margin-bottom: 1.5rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(45, 155, 158, 0.2);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: rgba(255, 255, 255, 0.7);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.field--consent {
  display: flex;
  align-items: start;
  gap: 10px;
}

.field--consent input {
  width: auto;
  margin-top: 4px;
}

.field--consent label {
  margin: 0;
  font-weight: 400;
  font-size: 0.875rem;
}

.kontakt_note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #666;
  text-align: center;
}

.kontakt_form .btn {
  width: 100%;
}

.kontakt_newsletter {
  width: 100%;
}

.newsletter-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  padding: 48px;
  align-items: center;
}

.newsletter-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  max-width: 14ch;
}

.newsletter-copy > p {
  color: #555;
  line-height: 1.75;
  max-width: 56ch;
}

.newsletter-benefits {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.newsletter-benefits li {
  position: relative;
  padding-left: 24px;
  color: #284047;
  line-height: 1.6;
}

.newsletter-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  box-shadow: 0 0 0 6px rgba(45, 155, 158, 0.1);
}

.newsletter-form {
  position: relative;
  padding: 32px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(45, 155, 158, 0.14);
  box-shadow: 0 20px 40px rgba(16, 35, 39, 0.08);
}

.newsletter-form .field {
  margin-bottom: 1.25rem;
}

.newsletter-form .btn {
  width: 100%;
}

.newsletter-form .btn:disabled {
  cursor: wait;
  opacity: 0.8;
}

.newsletter-status {
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.newsletter-status[data-state="pending"] {
  color: #1e5f8f;
  background: rgba(30, 95, 143, 0.1);
}

.newsletter-status[data-state="success"] {
  color: #0f5a45;
  background: rgba(34, 139, 96, 0.12);
}

.newsletter-status[data-state="error"] {
  color: #8d3f16;
  background: rgba(242, 140, 40, 0.16);
}

.newsletter-note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #666;
  text-align: left;
  line-height: 1.6;
}

.newsletter-honeypot,
.newsletter-submit-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

footer {
  background:
    radial-gradient(circle at 15% 40%, rgba(45, 155, 158, 0.2), transparent 60%),
    radial-gradient(circle at 85% 60%, rgba(30, 95, 143, 0.2), transparent 60%),
    linear-gradient(to bottom, rgba(242, 140, 40, 0.05), transparent);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-section small {
  color: #666;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-logo {
  width: 140px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #666;
  font-size: 0.875rem;
}

.legal-page {
  min-height: calc(100vh - var(--header-height));
  padding: 60px 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(45, 155, 158, 0.1), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(30, 95, 143, 0.1), transparent 50%);
}

.legal-content {
  padding: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  color: #333;
}

.legal-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.legal-content h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #444;
}

.legal-content h4 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #555;
}

.legal-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #555;
}

.legal-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-update {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-style: italic;
  color: #888;
}

body {
  background: #f7fafb;
  color: #102327;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  height: auto;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f3fbfb 100%);
}

.hero::after {
  left: -15%;
  right: -15%;
  bottom: -5%;
  height: 70%;
  background:
    radial-gradient(40% 50% at 20% 90%, rgba(242, 140, 40, 0.32), transparent 70%),
    radial-gradient(45% 55% at 52% 92%, rgba(30, 95, 143, 0.28), transparent 72%),
    radial-gradient(40% 50% at 84% 85%, rgba(45, 155, 158, 0.3), transparent 72%);
  filter: blur(26px);
}

.hero::before {
  left: 50%;
  bottom: -2%;
  width: min(1460px, 82%);
  height: clamp(220px, 24vw, 420px);
  transform: translateX(-50%);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.94;
  animation: earthRise 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding-top: 48px;
  padding-bottom: 88px;
  text-align: left;
}

.hero-copy {
  max-width: 720px;
}

.hero-eyebrow {
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.5s forwards;
}

.hero-title {
  max-width: 12ch;
  line-height: 0.98;
  color: #102327;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 4.8vw, 4.9rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.8s forwards;
}

.hero-lead {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.65;
  max-width: 46rem;
  margin-bottom: 1rem;
  color: #1f353a;
  opacity: 0;
  animation: fadeInUp 1s ease-out 2.05s forwards;
}

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.8;
  max-width: 42rem;
  margin-bottom: 2rem;
  color: #4c5d61;
  opacity: 0;
  animation: fadeInUp 1s ease-out 2.25s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease-out 2.45s forwards;
}

.hero-actions .btn {
  opacity: 1;
  animation: none;
}

.hero .btn.ghost {
  background: rgba(255, 255, 255, 0.34);
  color: #1c5f63;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 12px 30px rgba(10, 30, 34, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero .btn.ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(255, 255, 255, 0.84);
  box-shadow:
    0 16px 34px rgba(10, 30, 34, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.hero-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  max-width: 720px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 2.65s forwards;
}

.hero-highlights li {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 155, 158, 0.18);
  box-shadow: 0 10px 30px rgba(16, 35, 39, 0.06);
  color: #264147;
  font-size: 0.95rem;
}

.hero-panel {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-self: end;
  max-width: 430px;
  background: rgba(255, 255, 255, 0.38);
}

.hero-panel-logo {
  width: 190px;
  height: auto;
}

.hero-panel-eyebrow,
.company-highlight__eyebrow,
.platform-label,
.partner-card__label,
.team-role,
.section-kicker {
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-panel h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1.3;
  color: #102327;
}

.hero-panel-list,
.feature-list {
  list-style: none;
}

.hero-panel-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-panel-list li,
.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #4b5c60;
  line-height: 1.7;
}

.hero-panel-list li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #1e5f8f);
  box-shadow: 0 0 0 6px rgba(45, 155, 158, 0.12);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading--left {
  margin-bottom: 24px;
}

.section-heading--center {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.section-heading h3 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  color: #102327;
}

.section-subtitle {
  margin: 0;
  max-width: 720px;
  font-size: 1.06rem;
  line-height: 1.8;
  color: #546468;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-heading--center .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.video-section {
  padding-top: 40px;
  margin-top: 0;
}

.video-shell {
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 0.54fr);
  gap: 32px;
  align-items: center;
}

.video-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.video-copy p {
  color: #516064;
  line-height: 1.8;
}

.showcase-video {
  width: 100%;
  max-width: 540px;
  display: block;
  justify-self: center;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  background: #081112;
  box-shadow: 0 30px 60px rgba(4, 14, 16, 0.2);
}

.company-intro {
  background:
    radial-gradient(circle at 12% 18%, rgba(45, 155, 158, 0.12), transparent 35%),
    radial-gradient(circle at 88% 78%, rgba(242, 140, 40, 0.12), transparent 35%);
}

.company-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: start;
}

.company-intro-main {
  display: flex;
  flex-direction: column;
}

.company-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.company-copy p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #435457;
}

.company-highlight {
  padding: 32px;
}

.company-highlight h3 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  line-height: 1.25;
  color: #102327;
}

.company-highlight p {
  color: #4b5b5f;
  line-height: 1.75;
}

.mission-block {
  margin-top: 64px;
}

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

.mission-card {
  padding: 28px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mission-number {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.mission-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #293c40;
}

.platform-section {
  background:
    radial-gradient(circle at 14% 22%, rgba(30, 95, 143, 0.1), transparent 38%),
    radial-gradient(circle at 86% 76%, rgba(45, 155, 158, 0.12), transparent 38%);
}

.platform-showcase {
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.platform-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.platform-content h3 {
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  line-height: 1.3;
  color: #102327;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.platform-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.platform-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image {
  width: 100%;
  max-width: 580px;
  filter: drop-shadow(0 20px 48px rgba(11, 27, 30, 0.18));
}

.ecosystem {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(238, 248, 248, 0.7) 100%);
}

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

.partner-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.partner-card h3 {
  font-size: 1.3rem;
  line-height: 1.35;
  color: #102327;
}

.partner-card p:last-child {
  color: #4d5c60;
  line-height: 1.75;
}

.ecosystem-cta {
  margin-top: 24px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ecosystem-cta h3 {
  max-width: 760px;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.35;
  color: #102327;
}

.compliance {
  background:
    radial-gradient(circle at 20% 50%, rgba(242, 140, 40, 0.08), transparent 35%),
    radial-gradient(circle at 80% 24%, rgba(30, 95, 143, 0.08), transparent 35%);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.compliance-card {
  padding: 28px;
}

.compliance-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.35;
  color: #102327;
}

.compliance-card p {
  color: #526266;
  line-height: 1.75;
}

.team-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(45, 155, 158, 0.1), transparent 32%),
    radial-gradient(circle at 82% 80%, rgba(242, 140, 40, 0.1), transparent 32%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-foto {
  width: 100%;
  height: auto;
  min-width: 0;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid rgba(45, 155, 158, 0.14);
}

.team-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-card h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  color: #102327;
}

.team-card p:last-child {
  color: #506064;
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .hero-content,
  .video-shell,
  .company-intro-grid,
  .platform-showcase,
  .newsletter-shell {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-self: start;
    max-width: 540px;
  }

  .mission-grid,
  .ecosystem-grid,
  .compliance-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .header_menu {
    padding-left: 20px;
    padding-right: 20px;
  }

  .burger-menu {
    display: flex;
  }

  .header_nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: left 0.3s ease;
    z-index: 999;
  }

  .header_nav.active {
    left: 0;
  }

  .header_nav ul {
    flex-direction: column;
    padding: 40px;
    gap: 30px;
  }

  .header_nav a {
    font-size: 1.25rem;
  }

  .legal-content {
    padding: 40px 30px;
  }

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

  .kontakt_content {
    gap: 32px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .project-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px;
  }

  .project-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .project-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .project-content .btn {
    width: 100%;
    max-width: 300px;
  }

  .kontakt_form {
    padding: 30px;
  }

  .newsletter-shell {
    gap: 32px;
    padding: 32px 24px;
  }

  .newsletter-form {
    padding: 24px;
  }

  .newsletter-copy h2 {
    max-width: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 72px;
    gap: 32px;
  }

  .hero-title {
    max-width: 12ch;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero::before {
    width: min(860px, 94%);
    height: clamp(170px, 28vw, 260px);
    bottom: 0;
  }

  .hero-actions,
  .platform-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .platform-actions .btn,
  .ecosystem-cta .btn {
    width: 100%;
  }

  .hero-highlights {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-section {
    margin-top: 0;
    padding-top: 32px;
  }

  .video-shell,
  .platform-showcase,
  .ecosystem-cta {
    padding: 28px;
  }

  .cookie-banner {
    width: calc(100% - 32px);
    bottom: 16px;
    padding: 18px 20px;
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }

  .hero-person {
    display: none;
  }

  .mission-grid,
  .feature-list,
  .ecosystem-grid,
  .compliance-grid,
  .team-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .unser-team .team_members-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .unser-team .team-foto {
    margin-bottom: 20px;
  }

  .service-card,
  .company-highlight,
  .mission-card,
  .partner-card,
  .compliance-card {
    padding: 30px;
  }

  .marquee::before,
  .marquee::after {
    width: 50px;
  }

  .marquee-content {
    gap: 50px;
  }

  .partner-logo {
    height: 40px;
  }
}
