/* 🌍 Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

/* 🎨 Design Tokens */
:root {
  --font-primary: 'Montserrat', sans-serif;
  --font-heading: 'Poppins', sans-serif;

  --color-dark: #2b2c28;
  --color-text: #333;
  --color-accent: #fbb13c;
  --color-accent-light: #fcc877;
}

/* 🔤 Typography */
body {
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 1rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

a:hover {
  color: var(--color-accent-light);
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat-v29-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat-v29-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

/* 📦 Layout */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.container1 {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

section {
  scroll-margin-top: 80px; /* oder z. B. gleich hoch wie dein Header */
  padding: 100px 20px;
  min-height: 100vh;
}

#services { background: #e6f7ff; }
#mission { background: #ffffff; }
#investoren { background: #e6f0ff; }
#gruender { background: #d9f2d9; }
#team { background: #fff0e6; }
#kontakt { background: #f9f9f9; }




/* 🧭 Navigation */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background-color: var(--color-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 20px;
  padding: 0 30px;
}


.logo {
  color: white;
  font-size: 30px;
  font-weight: normal;
  font-family: var(--font-heading);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex: 1;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-family: var(--font-primary);
}

.nav-wrapper {
  display: flex;
  flex:1;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  flex-direction: column;
}

nav {
  display: flex;
  align-items: center; /* 🧡 wichtig für vertikale Zentrierung der Links */
  gap: 20px;
}

.language-switch {
  background-color: var(--color-accent);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-left: auto;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  padding: 10px 0; /* etwas feiner als 10px, je nach Button-Höhe */
  line-height: 1.6; /* leicht erhöhen kann helfen */
}

nav a:hover {
  color: var(--color-accent);
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.burger div {
  width: 24px;
  height: 3px;
  background: white;
}

/* Mobile Menü */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #2b2c28;
  position: absolute;
  top: 60px;
  right: 0;
  width: 100%;
  padding: 1rem;
  z-index: 1000;
}

.mobile-menu a {
  color: white;
  padding: 10px 0;
}

.mobile-menu.show {
  display: flex;
}




/* 🎟️ CTA & Buttons */
.cta-button,
.gc-scheduling-button {
  display: inline-block;
  background-color: var(--color-accent);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  border: none;
  margin-top: 0px;
}

.cta-button:hover,
.gc-scheduling-button:hover {
  background-color: var(--color-accent-light);
}

.cta-button.dark {
  background-color: var(--color-dark);
}

.cta-button.dark:hover {
  background-color: #80807e;
}

/* ⬆️ Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--color-dark);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  text-align: center;
  line-height: 48px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #80807e;
}

.back-to-top.show {
  opacity: 1;
}

/* 📜 Logo Slider */
.logo-slider {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  padding: 1rem 0;
}

.logo-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
}

.logo-track img {
  height: 30px;
  margin: 0 2rem;
  vertical-align: middle;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.3s, opacity 0.3s;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* 📄 Impressum & Datenschutz */
.impressum-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.6;
  font-family: var(--font-primary);
}

.impressum-content p {
  margin-bottom: 1.5rem;
}

/* 🦶 Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  background: var(--color-dark);
  color: white;
}

.value-highlights {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2b2c28;
  color: white;
  padding: 2rem;
  border-radius: 12px;
  flex-wrap: wrap;
  gap: 0.5rem;
  text-align: center;
}

/* ✅ Responsive Layout */
@media (max-width: 768px) {
   header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }

  .value-highlights {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
  }

  .value-highlights > div {
    width: 100%;
    flex: none;
    border: none;
  }

  .value-highlights .divider {
    width: 50%;
    height: 1px;
    background-color: white;
    margin: 0.5rem 0;
  }


  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }

  .logo {
    order: 0;
    margin-right: auto;
  }

  .language-switch {
    order: 1;
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .main-nav,
  nav {
    display: none;
  }

  .nav-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 10px;
  }

  .burger {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: 10px;
  }

  .burger div {
    width: 24px;
    height: 3px;
    background-color: white;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #2b2c28;
    position: absolute;
    top: 60px;
    right: 0;
    padding: 1rem;
    z-index: 1000;
    width: 100%;
    border-radius: 0;
  }

  .mobile-menu.show {
    display: flex;
  }

  .mobile-menu a {
    padding: 10px 15px;
    font-size: 1.1rem;
  }

   .responsive-flex,
  .responsive-flex.reverse {
    flex-direction: column !important;
    align-items: center;
    gap: 2rem;
  }

  .responsive-flex.reverse .flex-half {
    order: 2; /* Bild kommt zuerst, Text danach */
  }

  .responsive-flex.reverse img {
    order: 1;
  }
 .team-images {
    flex-direction: column;
    align-items: center;
  }



  .cta-button,
  .gc-scheduling-button {
    width: 100%;
    text-align: center;
  }

  section {
    padding: 60px 20px;
  }

  .logo-track img {
    height: 24px;
    margin: 0 1rem;
  }
}

.responsive-flex {
  display: flex;
  gap: 3rem;
  align-items: center; /* <-- statt flex-start */
  margin-bottom: 2rem;
}


.responsive-flex.reverse {
  flex-direction: row-reverse;
}

.flex-half {
  flex: 1 1 50%;
}

.img-responsive {
  max-width: 450px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.team-images {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.team-images img {
  width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 🖥️ Desktop: vertikale Divider */
@media (min-width: 769px) {
.value-highlights {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2b2c28;
  color: white;
  padding: 2rem;
  border-radius: 12px;
  flex-wrap: nowrap;
  gap: 1.5rem;
  text-align: center;
}

.value-highlights .highlight {
  font-size: 0.8rem; /* oder 0.9rem bei Bedarf */
  font-weight: bold;
  white-space: nowrap; /* verhindert Zeilenumbruch */
  flex: 0 1 auto;
}

.value-highlights .divider {
  width: 1px;
  height: 2rem;
  background-color: white;
  flex-shrink: 0;
}
}




/* 📦 Global styles (außerhalb Media Query!) */


.cta-button {
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 8px;
  font-weight: bold;
  transform: translateY(2px);
}
