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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-image: url('./Assets/body-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

a {
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.logo-img {
  height: 55px;
  cursor: pointer;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  font-size: clamp(1rem, 1.4vw, 2rem);
  font-weight: 700;
  color: #ffffff;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: -80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  width: 100%;
  padding: 0 30px;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  display: flex;
  font-size: clamp(1rem, 1.2vw, 2rem);
  color: #ffffff;
  font-weight: 600;
  transition: 0.3s;
  align-items: center;
}

.nav-links a:hover {
  color: #0ea5e9;
}

.call-to-action-header {
  background: linear-gradient(56deg, rgba(42, 123, 155, 1) 0%, rgb(56 155 131) 61%, rgb(113 234 156) 100%);
  padding: 8px 16px;
  color: white;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s;
}

.call-to-action-header:hover {
      background: linear-gradient(56deg,rgba(47, 134, 168, 1) 1%, rgba(92, 196, 136, 1) 61%, rgba(227, 212, 82, 1) 100%);
  }

.call-to-action-header a:hover {
  color: #ffffff !important;
}

.menu-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
}

/* Hero */
.hero {
  display: flex;
  min-height: 70vh;
  align-items: center;
  margin-top: 7vh;
}

.hero-wrapper {
  display: flex;
  min-height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  width: 100%;
  padding: 0 30px;
  gap: 30px;
  align-items: stretch;
  justify-content: center;
}

.hero-text,
.hero-image-container {
  width: 50%;
}

.hero-text {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
}

.hero-image-container {
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
}

.hero-picture {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

.small-title {
  color: #0284c7;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-text h3 {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: #ffffff;
  max-width: 650px;
}

.hero-text p {
  font-size: clamp(1rem, 1.4vw, 2rem);
  color: #ffffff;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.3s;
}


.btn-primary {
  background: linear-gradient(56deg, rgba(42, 123, 155, 1) 0%, rgb(56 155 131) 61%, rgb(113 234 156) 100%);
  backdrop-filter: blur(10px);
  border: none;
  color: #ffffff;
}

.btn-primary:hover {
  /* background-color: #0ea4e9b6; */
  background: linear-gradient(56deg,rgba(47, 134, 168, 1) 1%, rgba(92, 196, 136, 1) 61%, rgba(227, 212, 82, 1) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid #9999996b;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.305);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-subtitle,
.section-subtitle-dark {
  color: #6be099;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

h2 {
  color: white;
}

.section-title-light,
.title-section-dark {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-bottom: 14px;
}

.dark-section .section-subtitle-dark {
  color: #6be099;
}

.dark-section p {
  text-align: end;
  color: #e6eef8;
}

.dark-section h2 {
  text-align: end;
  color: #e6eef8;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    background 0.4s ease;
  will-change: transform, box-shadow;
}

.cards .card {
  opacity: 0;
  animation: fadeUp 0.6s forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 100%;
}

.cards .card:nth-child(1) { animation-delay: 0ms; }
.cards .card:nth-child(2) { animation-delay: 150ms; }
.cards .card:nth-child(3) { animation-delay: 300ms; }
.cards .card:nth-child(4) { animation-delay: 450ms; }
.cards .card:nth-child(5) { animation-delay: 600ms; }
.cards .card:nth-child(6) { animation-delay: 750ms; }

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.12),
    0 8px 16px rgba(15, 23, 42, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.card h3 {
  margin-bottom: 5px;
  color: #6be099;
}

.card p {
  color: #ffffff;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 35px;
  align-items: start;
}

.about-boxes {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.about-boxes .info-box {
  opacity: 0;
  animation: fadeUp 0.6s forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 100%;
}

.about-boxes .info-box:nth-child(1) { animation-delay: 0ms; }
.about-boxes .info-box:nth-child(2) { animation-delay: 150ms; }
.about-boxes .info-box:nth-child(3) { animation-delay: 300ms; }

.info-box span {
  font-size: 1.2rem;
  color: white;
}

.info-box h3 {
  margin-bottom: 5px;
  color: #6be099;
}

.info-box p {
  color: #ffffff;
}
.hidden-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.3;
    color: #e5e7eb;
}
.checkbox-input {
  width: 20% !important;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

.contact-info,
.contact-form {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 28px;
}

.contact-info h3 {
  margin-bottom: 16px;
  color: #ffffff;
}

.contact-info p {
  margin-bottom: 12px;
  color: #ffffff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  border: 1px solid transparent;
  color: white;
  font-size: 1rem;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #dbdbdb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0ea5e9;
}

.form-message {
  font-size: 0.95rem;
  margin-top: 4px;
  color: #6be099;
}

/* Footer */
.footer {
  color: #ffffff;
  padding: 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer h3 {
  margin-bottom: 8px;
}

.footer p {
  color: #cbd5e1;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #ffffff;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    margin-top: 10vh;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text,
  .hero-image-container {
    width: 100%;
  }

  .hero-picture {
    min-height: 320px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .section {
    padding: 70px 0;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .container {
    width: min(100%, 94%);
  }

  .nav {
    padding: 0 16px;
  }

  .logo-container {
    margin-left: 0;
    gap: 8px;
  }

  .logo-img {
    height: 42px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    padding: 20px;
    flex-direction: column;
    gap: 18px;
    background: rgba(10, 20, 30, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .call-to-action-header {
    width: 100%;
    text-align: center;
  }

  .hero {
    margin-top: 100px;
  }

  .hero-content {
    padding: 0 10px;
    gap: 20px;
  }

  .hero-text {
    padding: 22px;
  }

  .hero-picture {
    min-height: 240px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
    width: 100%;
  }

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

  .card,
  .contact-info,
  .contact-form,
  .info-box {
    padding: 20px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section {
    padding: 56px 0;
  }

  .footer-content,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Kleine Mobile-Geräte */
@media (max-width: 480px) {
  .hero-text h1 {
    line-height: 1.1;
    font-size: clamp(1.5rem, 3vw, 3.4rem);
  }
  .hero-text h3 {
    font-size: clamp(0.8rem, 2vw, 1.4rem);
    color: #ffffff;
    max-width: 650px;
}

  .hero-text,
  .card,
  .info-box,
  .contact-info,
  .contact-form {
    border-radius: 14px;
  }

  .hero-text {
    padding: 18px;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes rotate {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}