@import url("reset.css");

.clear {
  clear: both;
}

:root {
  /* Color-Variablen */
  --primary: #8ec13b;
  --secondary: #dd0781;
  --hover: #006690;
  --text-color: #333333;
  --white: #ffffff;
}

/* open-sans-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/open-sans-v43-latin-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/open-sans-v43-latin-700.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--blau);
}

h1 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 50px;
  margin-bottom: 3rem;
}

/* h1 small{
    font-size: 80%;
} */

h2 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 3rem;
}

p {
  margin-bottom: 1.5rem;
}

p span {
  font-weight: 700;
  padding-bottom: 3rem;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 0.75rem 2rem; /* Innenabstand */
  font-size: 18px; /* Schriftgröße */
  font-weight: 600; /* Fettere Schrift */
  text-decoration: none; /* Kein Unterstrich */
  color: var(--white); /* Weißer Text */
  background-color: var(--secondary); /* kräftige Hintergrundfarbe */
  text-transform: uppercase;
  border-radius: 36px; /* Leicht abgerundete Ecken */
  transition: background-color 0.3s, color 0.3s;
}
.btn2 {
  display: inline-block;
  margin-top: 20px;
  padding: 0.75rem 2rem; /* Innenabstand */
  font-size: 14px; /* Schriftgröße */
  font-weight: 600; /* Fettere Schrift */
  text-decoration: none; /* Kein Unterstrich */
  color: var(--text-color); /* Weißer Text */
  background-color: var(--primary); /* kräftige Hintergrundfarbe */
  text-transform: uppercase;
  border-radius: 36px; /* Leicht abgerundete Ecken */
  transition: background-color 0.3s, color 0.3s;
}
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 0.75rem 2rem; /* Innenabstand */
  font-size: 18px; /* Schriftgröße */
  font-weight: 600; /* Fettere Schrift */
  text-decoration: none; /* Kein Unterstrich */
  color: var(--white); /* Weißer Text */
  background-color: var(--secondary); /* kräftige Hintergrundfarbe */
  text-transform: uppercase;
  border-radius: 36px; /* Leicht abgerundete Ecken */
  transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
  background-color: var(--hover); /* Hintergrund weiß */
  color: var(--white); /* Text wieder farbig */
  cursor: pointer; /* Zeiger bei Hover */
}
.btn2:hover {
  background-color: var(--hover); /* Hintergrund weiß */
  color: var(--white); /* Text wieder farbig */
  cursor: pointer; /* Zeiger bei Hover */
}

.container {
  padding: 100px 10%;
}

.flexbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
}

.col-2 {
  width: 50%;
}

.col-3 {
  width: calc(30%);
  background-color: #ffffff;
  padding: 30px;
  border-radius: 30px 0px;
}

.col-3 img {
height: auto;
width: 100%;
border-radius: 20px 0px;
}

.logo{
  width: 200px;
  padding-bottom: 20px;
}

/*Section 1*/

.section-1 {
  /* height: 50vh; */
  min-height: 50vh;
}

.section-1 .col-2:nth-of-type(2) {
  background: url("../images/header-kopie.webp") no-repeat center/cover;
  height: 80vh;
}

/*Section 2*/

.section-2 {
background-image: url(../images/background-gruen.webp);
background-size: cover;
background-position: center;
padding: 50px 0px;
}

.section-2 img {
  margin-bottom: 1.5rem;
}

.section-2 .col-2 {
  width: 48%;
}

.section-2 .col-3 {
  text-align: center;
}

.section-2 .flexbox {
  gap: 20px;
}
.section-2 h2 {
  text-align: center;
  font-size: 30px;
  padding-bottom: 20px;
}

.section-2 h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

/*Section 3*/
.section-3{
    padding: 60px 0px;

}

.section-3 img {
  max-height: 28rem;
  border-radius: 30px 0px;
}

.section-3 .flexbox {
  display: flex;
  align-items: center; /* ← DAS ist entscheidend */
}

/*Section 4*/

.section-4 .col-2 {
  width: 48%;
}

.section-4 {
  background-color: var(--primary);
}
.section-4 a{
  text-decoration: none;
  color: #000;
}

/*---------------------------------------
MEDIA Queries | Tablet | Phone
--------------------------------------*/

@media screen and (max-width: 1200px) {
  .section-3 img {
    max-height: 15rem;
  }
}

@media screen and (max-width: 1000px) {
  .container {
    padding: 50px 10%;
  }

  .col-2,
  .section-2 .col-2,
  .section-4 .col-2 {
    width: 100%;
  }

  .section-1 .col-2:nth-of-type(2) {
    min-height: 400px;
  }

  h1 {
    font-size: 36px;
  }

  .section-2 .col-3 {
    width: 100%;
  }

  .section-3 .col-2 {
    text-align: center;
  }

  .section-3 .col-2 img {
    max-height: 105rem;
    margin-bottom: 3rem;
  }

  .section-4 .col-2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #006690;
  }

}

@media screen and (max-width: 1000px) {
  .section-1 .col-2:nth-of-type(2) {
  display: none;
}
}

