html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  width: 100%;
  background-color: #e1e1e1;

  font-family: "Noto Sans", sans-serif;
  font-weight: 400;   /* Standard auf Regular */
  font-style: normal;
  color: rgb(10, 32, 45);
  overscroll-behavior: none;
}

* {
  box-sizing: border-box;
}

.titel{
  font-size: 2rem;       /* größerer Text */
  color: rgb(2, 12, 21);
}

.text {
  color: rgb(2, 12, 21);
  flex: 1;
  animation: fade-down 2s;
}

.top-bar {
  position: absolute;   /* fixiert den Balken oben */
  top: 0;
  left: 0;
  width: 100%;
  height: 25rem;         /* Höhe angepasst */
  background-color: #00577D;  /* Farbe */
  z-index: 0;           /* damit er hinter dem Bild bleibt */
}

.headline {
  position: relative;
  z-index: 1;           /* Bild liegt über dem Balken */
  margin-top: 2rem;     /* optionaler Abstand vom oberen Rand */
  display: block;
  margin-left: auto;    /* rechtsbündig */
  margin-right: 0;
  animation: fade-down 1.5s;
}

.content-section {
  margin: 10rem 10rem 20rem;
  display: flex;
  flex-direction: column;
  gap: 20rem; /* Abstand zwischen den Zeilen */
}

.content-section > .row:nth-child(even) {
  flex-direction: row-reverse;
}

.row {
  display: flex;
  align-items: center;
  gap: 7rem;
}

.col {
  flex: 1;
}

.col.image img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 1rem;
  animation: fade-down 2s;
}

.text, 
.content-section .col.text p {

  color: rgb(10, 32, 45);

  line-height: 2;   /* mehr Zeilenabstand (Standard ist ca. 1.4) */
  font-size: 1.8rem;  /* falls du die Größe etwas anpassen willst */
}


/* Smartphones (bis 600px Breite) */
@media (max-width: 600px) {
  .headline {
    width: 90%;
    margin: 1rem auto;
    display: block;
  }

  .content-section {
    margin: 2rem; /* schmalere Ränder */
    gap: 12rem; /* weniger Abstand zwischen den Zeilen */
  }

  .content-section .row:last-child {
    margin-bottom: 8rem;
  }

  .text {
    font-size: 1.6rem;       /* evtl. etwas kleiner */
    margin-left: 2rem;       /* enger an den Bildschirm anpassen */
    margin-right: 2rem;
  }

  .top-bar {
    height: 14rem;   /* weniger hoch als am Desktop */
  }

  .row {
    flex-direction: column !important; /* Bild + Text untereinander */
    text-align: center;
    gap: 2rem; /* kleinerer Abstand zwischen Bild & Text */
  }

  .text, 
  .content-section .col.text p {
    font-size: 1.4rem;
  }

}

@media (min-width: 601px) and (max-width: 1024px) {
  .row {
    flex-direction: column !important; /* Bild + Text untereinander */
    text-align: center;
    gap: 3rem;
  }

  .text {
    font-size: 1.6rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .content-section {
    margin: 4rem 7rem 12rem;
    gap: 14rem; /* weniger Abstand zwischen den Zeilen */
  }


  .col.image img {
    max-width: 600px;
  }

}
