@font-face {
  font-family: 'DM Sans';
  /* Passe den Dateinamen exakt an deine heruntergeladene Datei an */
  src: url('fonts/DMSans.ttf') format('truetype');
  font-weight: 100 1000; /* Definiert den Bereich der variablen Strichstärke */
  font-style: normal;
  font-display: swap; /* Sorgt dafür, dass der Text beim Laden sichtbar bleibt */
}


/* --- Variables & Reset --- */
:root {
  --bg-dark: #0B192F;
  --mint-accent: #03D9C0;
  --primary-blue: #115DCD;
  --text-dark: #1A202C;
  --text-light: #FFFFFF;
  --bg-light-mint: #F0FBF9;
  --border-color: #E2E8F0;
  --font-main: 'DM Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: 400;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 0;
}



img {
  max-width: 100%;
  height: auto;
}

/* --- Header --- */
.top-nav {
  background-color: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
  padding: 15px 0;
  letter-spacing: 2px;
  font-size: 1.563rem;
}

/* --- Hero Section --- */
.hero {
  background: radial-gradient(circle at 90% 0%, #03D9C0 0%, #0B192F 100%);
  background-color: var(--mint-accent);
  color: var(--text-light);
  text-align: center;
  height: 45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 584px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.btn-primary, .btn-blue {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 400;
  transition: transform 0.2s, opacity 0.2s;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--mint-accent);
  color: white;
}

.btn-blue {
  background-color: var(--primary-blue);
  color: var(--text-light);
  width: 100%;
  text-align: center;
}

.btn-primary:hover, .btn-blue:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* --- Intro Section --- */
.intro {
  max-width: 1000px;
}

.eyebrow {
  font-size: 1.125rem;;
  color: #4A5568;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.intro h2 {
  color: var(--mint-accent);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 15px 0 30px 0;
}

.intro-text p {
  margin-bottom: 15px;
  color: #4A5568;
  font-size: 1.125rem;
}

/* --- How It Works --- */
.hiw-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hiw-banner {
  background: linear-gradient(to bottom right, var(--bg-dark), #028d7d);
  border-radius: 20px;
  color: white;
  padding: 40px 20px;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.25);
}

.hiw-banner h3 {
  font-size: 2.188rem;
  font-weight: 400;
}

/* Mobile Carousel Styling */
.steps-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 15px;
  padding-bottom: 15px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.steps-carousel::-webkit-scrollbar {
  display: none;
}

.step-card {
  flex: 0 0 85%;
  scroll-snap-align: center;
  background: white;
  border: 2px solid rgba(3, 217, 192, 0.2);
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.25);
}

/* Container für Icon und Titel */
.step-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.125rem;
}

/* Anpassungen für das Icon */
.step-icon {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 40px;
}

.step-icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* Anpassungen für die Überschrift */
.step-card h4 {
  margin-bottom: 0;
  min-height: auto;
  text-align: left;
  line-height: 1.3;
  font-weight: 400;
}

.step-card hr {
  border: none;
  border-top: 2px solid var(--mint-accent);
  width: 100%;
  margin-bottom: 15px;
}

.step-card p {
  font-size: 1.125rem;
  color: #4A5568;
}

.zitat-abbruch {
  border: none;
  border-top: 2px solid #0000001c;
  width:66%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}
/* --- Quote Section --- */
.quote-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}

.pfile-img {
  position: absolute;
  right: 6rem;
  top: 57%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: -1;
}

.quote-mark {
  font-size: 11rem;
  color: var(--mint-accent);
  line-height: 0.8;
}

.quote-body h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 20px;
  max-width: 80%;
}

.author-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F0FBF9;
  border: 1px solid rgba(3, 217, 192, 0.3);
  padding: 5px 15px 5px 5px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 400;
}

.avatar-placeholder {
  width: 30px;
  height: 30px;
  background-color: #CBD5E0;
  border-radius: 50%;
  overflow: hidden;
}

.avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Open Course Section --- */
.open-course {
  background-color: var(--bg-light-mint);
}

.course-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.course-text h2 {
  color: var(--mint-accent);
  font-size: 2.188rem;
  font-weight: 400;
  margin: 15px 0 20px 0;
  line-height: 1.3;
  width: 420px;
}

.course-text p {
  font-size: 1.125rem;
  width: 21.125rem;
  color: #0B192F;
}

.course-card {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #D9D9D9;
}

.course-image {
  background: var(--bg-dark);
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-image: url("img_css_inline/api-image.png");
}

.course-image h3 {
  font-weight: 400;
  font-size: 1.5rem;
}

.course-card-bg{
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.20);
  background-color: white;
  padding: 1.563rem;
  border-radius: 30px;
}
.course-card-content {
  padding: 30px;
}

.course-card-content p {
  margin-bottom: 20px;
  color: #4A5568;
  font-size: 0.95rem;
}
/* =========================================
   Responsive Breakpoints (Tablet & Desktop)
   ========================================= */

@media (max-width:765px) {
  .zitat-abbruch {
    display: none;
  }

  .pfile-img {
    display: none; /* Auf kleinen Bildschirmen ausblenden, da rechts kein Platz ist */
  }
  .quote-body h2 {
    max-width: 100%;
    font-size: 1.875rem;
  }

  .quote-section{
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 0;
  }

  .course-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .desktop-br {
    display: none;
  }
}

@media (min-width: 990px) and (max-width: 1999px){
  .pfile-img {
    position: absolute;
    right: 13rem;
    top: 57%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: -1;
  }
}
@media (min-width: 768px) {
  .hero h1 { font-size: 3.5rem; }
  .hero p { font-size: 1.125rem;
    max-width: 584px;}

  .intro h2 { font-size: 2.188rem; }

  /* "How it Works" wird zum Grid */
  .hiw-layout {
    flex-direction: row;
    align-items: stretch;
  }


  /* Carousel abschalten, Grid einschalten */
  .steps-carousel {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible; /* Scrollen ausstellen */
    gap: 20px;
    padding-bottom: 0;
  }

  .step-card {
    flex: auto; /* Aufheben der mobilen 85% Breite */
    scroll-snap-align: none;
  }

  .quote-body h2 {
    width: 37.25rem;
    font-size: 2.188rem;
  }

  .pfile-mobile{
    display: none;
  }

  /* Open Course nebeneinander */
  .course-layout {
    flex-direction: row;
    align-items: center;
  }

  .course-text, .course-card {
    flex: 1;
  }

  .course-card {
    max-width: 400px;
    margin-left: auto;
  }
}