/* --- Grundlegende Stile & Variablen --- */
:root {
  --color-primary: #3b82f6; /* blue-600 */
  --color-primary-dark: #2563eb; /* blue-700 */
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  --color-white: #ffffff;
  --primary-blue: #00529b;
  --gradient-start: #2a79d3;
  --gradient-start2: #144680;
  --gradient-end: #0d2642;
  --dark-bg: #0b0f19;
  --light-text: #f8f9fa;
  --secondary-text: #adb5bd;
  --dark-text: #12161f;
  --background-color: #ffffff;
  --section-bg-light: #f8f9fa;
  --border-color: #e2e8f0;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--color-slate-50);
  color: var(--color-slate-800);
  line-height: 1.6;
}

.Number_Roadmap {
  background: -webkit-linear-gradient(
    45deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
  font-size: clamp(1em, 1.25vw, 2em);
}

.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  overflow-x: hidden;
}

/* --- ALLGEMEINE STILE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
  color: var(--dark-text);
  line-height: 1.7;
  font-weight: 300;
  position: relative;
  overflow-x: hidden; /* Verhindert horizontales Scrollen durch Animationen */
}
body[data-no-scroll] {
  overflow: hidden;
}
.container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 40px;
}

.navbar-container {
  margin: 0;
  max-width: none;
}

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

/* --- BARRIEREFREIHEIT: FOKUS-STIL --- */
:focus-visible {
  outline: 3px solid var(--gradient-start);
  outline-offset: 4px;
  border-radius: 4px;
}
.btn:focus-visible,
.funnel-btn:focus-visible {
  outline-offset: 2px;
}

/* --- HEADER & NAVIGATION --- */
header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  width: 100vw;
  top: 0;
  left: 0;
  padding-left: 20px;
  padding-right: 50px;
  box-sizing: border-box;
}
.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
nav a {
  text-decoration: none;
  color: var(--light-text);
  margin-left: 40px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
    white-space: nowrap; 

}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-white);
  transition: width 0.3s ease;
}
nav a:hover::after,
nav a:focus::after {
  width: 100%;
}
nav a:hover,
nav a:focus {
}
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
#mobile-nav {
  display: none;
}

/* --- BUTTON --- */
.btn {
  padding: 14px 32px;
  background: linear-gradient(
    90deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 82, 155, 0.25);
}
.btn:disabled {
  background: #5a6d80;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* --- Allgemeine Sektionsstile --- */
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.section-white {
  background-color: var(--color-white);
}
.section-light {
  background-color: var(--color-slate-50);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  text-align: center;
  margin-bottom: 1rem;
}

.section-title h2 {
  color: white;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-slate-600);
  max-width: 42rem;
  margin: 0 auto 3rem auto;
  text-align: center;
}

/* --- Landing Section --- */
.landing-section {
  position: relative;
  height: 90vh;
  min-height: 400px;
  background-color: var(--color-slate-800);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.landing-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.landing-content {
  position: relative;
  z-index: 10;
}

.landing-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.landing-subtitle {
  font-size: 1.125rem;
  max-width: 48rem;
  margin: 0 auto;
  color: var(--color-slate-200);
}

/* --- Info Section (Wer wir sind & Mission) --- */
.info-grid {
  display: grid;
  gap: 3rem;
}

.info-box {
  background-color: var(--color-slate-50);
  padding: 2rem;
  border-radius: 0.5rem;
}

.info-box h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-slate-900);
}

.info-box p {
  color: var(--color-slate-600);
  line-height: 1.75;
}

/* --- Roadmap/Timeline Section --- */
.timeline-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-container::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 75%;
  background-color: var(--color-slate-200);

  background: -webkit-linear-gradient(
    0deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
  align-self: flex-start;
  padding-left: 0;
}
.timeline-item:nth-child(even) {
  align-self: flex-end;
  padding-right: 0;
}

.timeline-content {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-slate-200);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
}
.timeline-item:nth-child(even) .timeline-content {
  text-align: left;
}

.timeline-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  background-color: var(--color-white);
  border: 3px solid var(--color-slate-200);
}

.timeline-item:nth-child(odd) .timeline-icon {
  right: -25px;
}
.timeline-item:nth-child(even) .timeline-icon {
  left: -25px;
}

.timeline-content::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  right: -10px;
  border-left: 10px solid var(--color-white);
}
.timeline-item:nth-child(even) .timeline-content::after {
  left: -10px;
  border-right: 10px solid var(--color-white);
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-slate-900);
}
.timeline-content p {
  color: var(--color-slate-600);
}

/* --- Hauptcontainer der Sektion --- */
.testimonial-section {
  width: 100vw;
  background: linear-gradient(
    90deg,
    var(--gradient-start2),
    var(--gradient-end)
  ); /* Auf Desktops wird die Breite begrenzt und die Sektion zentriert */
  margin: 2rem auto;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
  overflow: hidden; /* Wichtig für die abgerundeten Ecken des Bildes */
  position: relative; /* Stellt den Kontext für das absolut positionierte Bild her */
  margin-bottom: 5vh;
  margin-top: 5vh;
  padding-top: 10vh;
  padding-bottom: 10vh;
}

/* --- Flexbox-Container für das Layout --- */
.testimonial-layout {
  display: flex;
  flex-direction: row; /* Standard für Desktop */
}

/* --- Bild-Container --- */
.image-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%; /* entspricht w-2/5 */
  z-index: 10;
  /* Der Clip-Pfad erzeugt die konvexe Kurve */
  clip-path: path("M 0 0 H 85% C 100% 25%, 100% 75%, 85% 100% H 0 Z");
  border-radius: 0 15vw 15vw 0vw;
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Stellt sicher, dass das Bild den Container füllt, ohne sich zu verzerren */
}

/* --- Text-Container --- */
.text-container {
  width: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Der linke Innenabstand schafft Platz für das überlappende Bild */
  padding: 4rem 4rem 4rem 45%;
}

.testimonial-quote {
  font-size: 1.875rem; /* text-3xl */
  line-height: 2.25rem;
  font-weight: 300; /* font-light */
}

.author-info {
  margin-top: 2rem;
}

.author-name {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700; /* font-bold */
}

.author-title {
  color: var(--subtext-color);
}

.logo-container {
  margin-top: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  padding: 1rem;
  max-width: 320px; /* max-w-xs */
}

.logo-image {
  height: 3rem; /* h-12 */
  display: block;
  margin: 0 auto;
}

.Image_Shadow {
  position: absolute;
  width: 30vw;
  height: 30vw;
  right: -5vw;
  bottom: -12.5vw;
}

.Image_Shadow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.03;
}

@media (max-width: 1200px) {
  .profile-image {
    object-position: right;
  }
}

/* --- Responsive Anpassungen für Mobilgeräte und Tablets --- */
@media (max-width: 767px) {
  body {
    /* Auf Mobilgeräten ist kein zentrierender Flex-Container nötig */
    display: block;
  }

  .testimonial-section {
    /* Nimmt die volle Breite ein, ohne seitlichen Abstand oder Rundung */
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
    padding-top: 5px;
    padding-bottom: 2.5vh;
    min-height: 0;
  }

  .testimonial-layout {
    /* Stapelt die Elemente untereinander */
    flex-direction: column;
  }

  .image-container {
    /* Wird wieder Teil des normalen Dokumentenflusses */
    position: static;
    width: 100%;
    height: 16rem; /* h-64 */
    /* Anderer Clip-Pfad für die Kurve am unteren Rand */
    clip-path: path("M 0 0 H 100% V 85% C 75% 100%, 25% 100%, 0 85% V 0 Z");
    border-radius: 0;
  }

  .text-container {
    /* Setzt den linken Innenabstand zurück und passt die Abstände an */
    padding: 4rem 2rem 2rem 2rem;
  }

  .testimonial-quote {
    font-size: 1.5rem; /* text-2xl */
    line-height: 2rem;
  }
}

/* --- Responsive Design --- */
@media (min-width: 768px) {
  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .mobile-menu-button {
    display: none;
  }
  .landing-title {
    font-size: 3.75rem;
  }
  .landing-subtitle {
    font-size: 1.25rem;
  }
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .navbar {
    position: absolute;
  }

  .container {
    padding-inline: 16px;
  }

  .logo-img {
    height: 70px !important;
  }

  #desktop-nav {
    display: none;
  }

  .timeline-container::before {
    left: 25px;
    transform: translateX(0);
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
    padding: 0;
    margin-bottom: 2vh;
  }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    align-self: auto;
  }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    text-align: left;
  }
  .timeline-icon {
    left: 0 !important;
    display: none;
  }
  .timeline-content::after {
    left: -10px !important;
    right: auto !important;
    border-left: none !important;
    border-right: 10px solid var(--color-white);
    display: none;
  }

  #Kontakt {
    margin-top: 0 !important;
  }
  .timeline-container::before {
    background-color: var(--color-slate-200) !important;
    display: none !important;
  }

  .section-title {
    line-height: 98%;
  }
  .info-box h2 {
    line-height: 98%;
  }
}

.Farbverlauf {
  background: -webkit-linear-gradient(
    45deg,
    var(--gradient-start),
    var(--gradient-end)
  );
}



@media (max-width: 1200px) {
    nav a {
      margin-left: 20px; 
      font-size: 0.9rem; 
      white-space: nowrap;
  }
}