@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-style: italic;
}

/* Schriftarten-Einsatz */

h1, h2 {
  font-weight: 800;
  font-stretch: 75%;
}

h3, h4 {
  font-weight: 700;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  margin: 0;
  background-color: #fff;
  color: #111;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
  
  opacity: 0.5;
  transition: opacity 0.5s ease-in-out;
}

body.loaded {
  opacity: 1;
}

a {
  text-decoration: none;
  color: #000;
}

.blue {
  background: linear-gradient(to right, #0CAFFF 0%, #006FFF 60%, #6DCFFF 95%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

/* --- Navigation --- */
.nav-wrapper {
  padding: 40px 50px;
  background: transparent;
  position: relative;
  top: 0;
  z-index: 999;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8); /* leicht transparent */
  backdrop-filter: blur(10px); /* Glassmorphism */
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* seriöser, weicher Schatten */
  transition: background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.nav-wrapper.scrolled .nav-bar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.reg-mark {
  font-size: 60%;
  vertical-align: super;
  line-height: 0;
  position: relative;
  margin-left: 1px;
  margin-right: 1px;
}
.logo {
 font-size: 0; /* entfernt eventuellen Textplatz */
  line-height: 0;
}

.logo img {
  height: 40px; 
  display: block;
}

/* Links im Menü (Standard Desktop) */
#mobile-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

#mobile-menu a {
  font-weight: 300;
  text-decoration: none;
  color: #000;
  line-height: 1;
}

/* Burger Button (nur mobil sichtbar) */
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  height: 40px;
  width: 40px;
}

@media (max-width: 1024px) {
  .burger {
    display: block;
  }

  #mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  #mobile-menu.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  #mobile-menu a {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
  }

  #mobile-menu a:hover {
    background: #f0f0f0;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* --- Hero --- */
.hero-box {
  background-image: url('../img/header2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
  font-size: 25px;
  margin: -120px 20px 40px;
  border-radius: 20px;
  text-align: center;
  padding: 200px 60px;
  position: relative;
  z-index: 1;
}
.hero-box p.subline {
  margin-bottom: 5px; /* Abstand zur Headline */
}

.hero-box h1 {
  margin-top: 5px;
  margin-bottom: 20px; /* Abstand zum Button */
}

.subline {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.btn-black-small {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 15px;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  margin-top: 10px;
}

.btn-black-big {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 18px;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  margin-bottom: 60px;
}

.btn-white {
  background: #fff;
  color: #000;
  padding: 12px 25px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 25px;
  display: inline-block;
  text-decoration: none;
}

/* --- Willkommen --- */
.willkommen {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 100px;
  gap: 40px;
}

/* Nur um sicherzugehen, dass Typography sauber bleibt */
.willkommen-left h2 {
  font-size: 45px;
  font-weight: bold;
  margin: 0;
}

.willkommen-right {
  max-width: 700px;
  line-height: 1.6;
}

.willkommen-right p {
  margin-top: 0;
  font-size: 18px;
}
/* --- Services --- */
.services-box {
  background-color: #f5f5f5;
  border-radius: 20px;
  margin: 40px 20px 40px;
  padding: 50px 0;
}

.services-container {
  max-width: 1200px;
  padding: 0 60px;
  margin: 0 auto;
}

.services-heading {
  text-align: left;
  margin-bottom: 40px;
}

.services-heading h3 {
  margin: 0;
  font-size: 35px;
  font-weight: bold;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.services-toggle {
  display: none;
}

.card {
  position: relative;
  border-radius: 10px;
  padding: 20px;
  font-weight: bold;
  background-color: #f5f5f5;
  z-index: 0;
  border: 1px solid transparent;
  background-clip: padding-box;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(to right, #0CAFFF 0%, #006FFF 60%, #6DCFFF 95%);
  
  /* Masking (standard + vendor) */
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;

  z-index: -1;
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  display: block;
}

.card small {
  font-weight: normal;
  display: block;
  margin-top: 5px;
}

.services-button {
  margin-top: 40px;
  text-align: center;
}

.btn-black {
  background: #000;
  color: #fff;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 25px;
  display: inline-block;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .services-container {
    padding: 0 40px;
  }

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

@media (max-width: 768px) {
  .services-container {
    padding: 0 20px;
  }

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

  .services-button {
    text-align: center;
  }
}

/* --- MISSION --- */
.mission-section {
  background-color: #fff;
  padding: 60px 30px;
}

.mission-container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.mission-left {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mission-top-row {
  display: flex;
  gap: 20px;
}

.mission-top-row img,
.mission-bottom-row img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.mission-top-row img {
  width: 50%;
  aspect-ratio: 3 / 3;
}

.mission-bottom-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.mission-right {
  flex: 1;
  font-size: 15px;
  min-width: 300px;
}

.mission-right h2 {
  font-size: 35px;
  font-weight: 800;
  margin-bottom: 20px;
}

.mission-intro {
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Stile für die Accordion-Elemente – statisch, ohne Toggle-Funktionalität */
.accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #ccc;
  margin-top: 40px;
}

.accordion-item {
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

.accordion-header {
  cursor: default;
  pointer-events: none;
}

.icon-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-text img {
  width: 24px; /* Passe die Größe des Icons ggf. an */
  height: auto;
}

.accordion-body {
  padding: 12px 0;
  opacity: 1;
  max-height: none;
  overflow: visible;
  transition: none;
}
.accordion-body p {
  /* Diese zwei Eigenschaften lösen in den meisten Fällen das „Auf-der-Linie-Kleben“ in Safari. */
  line-height: 1.6;
  margin-bottom: 1em;
}
/* Stile für die Partner-Liste */
.partner-section {
  background-color: #fff;
  padding: 50px 0;
  text-align: center;
}

.partner-section .section-headline {
  font-size: 35px;
  font-weight: 800;
  margin-bottom: 40px;
}

/* Partner-Container in einem Grid mit drei Spalten */
.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center; /* Logos und Namen mittig */
}

/* Einzelner Partner */

/* Partner-Container in einem Grid mit drei Spalten */
.partner-box {
  background-color: #fff;
}
.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: nowrap; /* Damit bleiben alle Elemente in einer Zeile */
}

.partner-heading{
  text-align: center;
}
/* Einzelner Partner */
.partner img {
  height: 50px;
  width: auto;
  margin-bottom: 10px;
}
.partner p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

/* Responsive: Ab 768px Breite nur noch eine Spalte */
@media (max-width: 768px) {
  .partners {
    grid-template-columns: 1fr;
  }
}



/* --- CTA --- */
.cta {
  text-align: center;
  padding: 50px 30px;
  font-size: 40px;
  font-weight: bold;
}

/* --- Footer --- */
footer {
  background-color: #f9f9f9;
  padding: 40px 10px;
  font-size: 14px;
  color: #111;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-center img {
  height: 50px;
  display: inline-block;
}

/* Spalten unter dem Logo */
.footer-columns {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}

.footer-col {
  flex: 1;
  min-width: 180px;
}

.footer-col p {
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
}


@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-col {
    text-align: left !important;
  }
}


/* --- Responsive --- */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .burger {
    display: block;
    margin-left: auto;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  nav.show {
    display: flex;
  }

  nav a {
    padding: 10px 0;
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-wrapper {
    padding: 30px 20px;
  }
  
  .hero-box {
    margin: -110px 0 30px;
  }
  
  .willkommen {
    flex-direction: column;
    padding: 30px 50px;
  }

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

  .services {
    padding: 0 10px;
  }
  
 #services-wrapper {
    max-height: 600px; /* ca. 50% sichtbar, je nach Inhalt */
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  #services-wrapper.expanded {
    max-height: 9999px; /* vollständig sichtbar */
  }

  .services-toggle {
    text-align: center;
    margin-top: 20px;
  }
  
  .services-toggle {
    display: block;
  }
  
  .services-toggle button {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
  }
  
}

.page-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
}


.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

@media (max-width: 480px) {
  .btn-black-big {
  margin-bottom: 40px;
  }
  
 .logo img {
  height: 30px; 
 }
  .nav-bar {
    padding: 5px 30px;
  }
  .nav-bar a {
  font-weight: 320;
}
  .page-container {
    padding: 0 16px;
  }

  .hero-box {
    padding: 100px 16px;
    margin: -95px 0 30px;
    font-size: 22px;
  }
  
  .hero-box p.subline {
    margin: 25px;
  }

  .willkommen {
    padding: 20px 16px;
    gap: 20px;
  }

  .willkommen-left h2 {
    font-size: 40px;
  }

  .willkommen-right p {
    font-size: 15px;
  }
  
 .services {
    gap: 8px;
  }
  
  .services-box {
    margin: 40px 0 40px;
  }
  
  .services-container {
    padding: 0 16px;
  }
  
  .card {
    padding: 10px;
  }
  
  .cta {
    font-size: 28px;
    padding: 40px 16px;
  }
  
  .mission-container {
  gap: 10px;
  }
  
  .mission-section {
    padding: 40px 16px;
  }
  
  .mission-top-row {
  gap: 10px;
  }
  
  .mission-left {
  gap: 10px;
  }

  footer {
    padding: 30px 16px;
  }
}
.footer-bottom {
  margin-top: 20px; /* Abstand zum oberen Inhalt */
  text-align: center; /* Zentriert den Text */
  font-size: 14px;   /* Optional: Schriftgröße anpassen */
}
