: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);
}

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

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

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

.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);
}

.team_descr {
  flex: 1;
}

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

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

.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_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%;
  }

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;
}

@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;
  }

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

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

  .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;
  }

  .hero-content {
    padding-top: 30px;
  }

  .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;
  }

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

  .service-card {
    padding: 30px;
  }

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

  .marquee-content {
    gap: 50px;
  }

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