@font-face {
  font-display: swap;
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/nunito-v26-latin-600.woff2') format('woff2');
}

:root {
  --ground-color: #eff0eb;
  --second-color: #b083f5;
  --third-color: #CDAEFB;
  /*LOGO-Farbe*/
  --fourth-color: #dbc6fc;
  --text-color: #1b194b;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ground-color);
  font-family: 'Nunito', sans-serif;
  max-width: 100%;
  overflow-x: hidden;
  text-rendering: auto;
  scroll-behavior: smooth;
  color: var(--text-color);
}

a {
  color: var(--second-color);
}

@media(max-width: 490px) {
  .news-heading {
    font-size: 26px;
  }
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 80px;
  background-color: white;
  box-shadow: 0px 3px 5px -5px black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(5px);
  z-index: 2;
}

header img {
  height: auto;
  width: 200px;
  margin-left: 20px;
  margin-top: 5px;
}

header nav {
  width: 400px;
  margin-right: 50px;
}

header nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav ul li {
  list-style: none;
  padding: 4px;
  margin: 10px;
  position: relative;
}

header .about-li {
  min-width: fit-content;
}

header nav ul .header-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--second-color);
  transition: width 0.3s ease;
}

header nav ul .header-link:hover::before {
  width: 100%;
}

header nav ul .header-contact-btn {
  background-color: var(--third-color);
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.253);
}

header nav ul .header-contact-btn:hover {
  opacity: .8;
}

header nav ul li a {
  text-decoration: none;
  color: black;
  white-space: nowrap;
}

.toggle-btn {
  position: absolute;
  top: 30px;
  right: 20px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.toggle-btn .bar {
  height: 3px;
  width: 100%;
  background-color: black;
  border-radius: 10px;
  transition: .2s;
}

.header-img-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
}

@media (max-width: 800px) {
  header img {
    margin-left: 5px;
    margin-top: 0px;
    width: 170px;
  }

  .header-img-container a:nth-of-type(2) {
    display: none;
  }

  .toggle-btn {
    display: flex;
  }

  .toggle-btn.active {
    margin-top: 0px;
  }

  .toggle-btn .bar1.active {
    width: 10px;
  }

  .toggle-btn .bar2.active {
    width: 10px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .toggle-btn .bar3.active {
    width: 10px;
    margin-left: 10px;
  }

  .navbar-links {
    width: 150px;
    border-bottom-left-radius: 10px;
    position: absolute;
    right: 0;
    background-color: rgba(255, 255, 255, 0.822);
    box-shadow: 0px 3px 5px -5px black;
    backdrop-filter: blur(5px) !important;
    transform-origin: middle;
    transform: scaleX(0);
    transition: transform 0.1s ease-out, width 0.1s ease-out;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header ul {
    flex-direction: column;
    width: 150px;
    padding: 0;
  }

  .navbar-links li {
    width: 150px;
    text-align: center;
  }

  .navbar-links.active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: scaleX(1);
    transition: transform 0.1s ease-in, width 0.1s ease-in;

  }

  header nav ul .header-contact-btn {
    background-color: transparent;
    padding: 0px;
    border-radius: 0px;
    box-shadow: 0px 0px 0px black;
  }

  header nav ul .header-link:hover {
    border-bottom: none;
    padding: 4px;
    border-radius: 5px;
    opacity: .6;
  }

  header nav ul .header-link:hover::before {
    width: 0%;
  }
}

/*================FIRST SECTION==============*/
/* ================== NEUE SEKTIONEN ================== */

/* Buttons allgemein */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  color: black;
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background-color: var(--third-color);
}

.btn-secondary {
  background-color: var(--fourth-color);
}

.btn-primary:hover,
.btn-secondary:hover {
  opacity: .85;
  transform: translateY(-1px);
}

/* Sektion 1: Text + Bild */
.section-angebote {
  background-color: whitesmoke;
  padding-top: 140px;
  padding-bottom: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.section-angebote-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: nowrap;
}

.section-angebote-text h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 32px;
}

.section-angebote-text ul {
  padding-left: 20px;
  margin-top: 0;
  margin-bottom: 25px;
}

.section-angebote-text ul li {
  margin-bottom: 8px;
}

.section-angebote-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.section-angebote-image img {
  width: 400px;
  height: 350px;
  border-radius: 10px;
  box-shadow: 0px 3px 5px -5px rgba(0, 0, 0, 0.6);
  object-fit: cover;
}

/* Sektion 2: Leistungskarten */
.section-leistungen {
  background-color: whitesmoke;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.section-leistungen h2 {
  margin-top: 0;
  margin-bottom: 40px;
  font-size: 32px;
}

.leistungen-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.leistung-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 3px 5px 5px rgba(0, 0, 0, 0.048);
  text-align: left;
  max-width: 300px;
}

.leistung-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.leistung-card p {
  margin: 0;
  font-size: 15px;
}

/* Sektion 3: Bild + Kontaktinfos */
.section-kontakt {
  background-color: whitesmoke;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.section-kontakt-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: nowrap;
}

.section-kontakt-image img {
  max-width: 300px;
  height: 400px;
  border-radius: 10px;
  box-shadow: 0px 3px 5px -5px rgba(0, 0, 0, 0.6);
  object-fit: cover;
}

.section-kontakt-info {
  max-width: 500px;
  height: 400px;
}

.section-kontakt-info h2 {
  margin-top: 0;
  margin-bottom: 60px;
  font-size: 32px;
}

.section-kontakt-info ul {

  padding-left: 20px;
  margin-top: 0;
  margin-bottom: 40px;
}

.section-kontakt-info ul li {
  margin-bottom: 8px;
}

/* ================== RESPONSIVE ================== */

@media (max-width: 900px) {

  .section-angebote{
  padding-top: 160px;
}

.section-angebote-inner,
.section-kontakt-inner {
  flex-direction: column;
  justify-content: left;
}

.section-angebote-text,
.section-kontakt-info {
  text-align: center;
}

.section-angebote-text ul,
.section-kontakt-info ul {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  max-width: 400px;
}

.section-angebote-cta {
  justify-content: left;
}

.leistungen-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 600px) {

  .section-angebote{
  padding-top: 160px;
}

.section-angebote-inner {
  max-width: 600px;
  padding: 0 10px;
}

.section-angebote img {
  max-width: 250px;
  height: auto;
  max-height: 300px;
}
  
  .leistungen-grid {
    grid-template-columns: 1fr;
  }

  

  .section-angebote-text h2,
  .section-leistungen h2,
  .section-kontakt-info h2 {
    font-size: 26px;
    text-align: left;
  }

  .section-kontakt-inner {
    flex-wrap: wrap-reverse;
    flex-direction: column-reverse;
  }
}



/*=========FOOTER========*/

.custom-shape-divider-bottom-1698520873 {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1698520873 svg {
  position: relative;
  display: block;
  width: calc(115% + 1.3px);
  height: 62px;
}

.custom-shape-divider-bottom-1698520873 .shape-fill {
  fill: var(--third-color);
}

footer {
  background-color: var(--third-color);
  max-width: 100vw;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-left: 20px;
  padding-right: 20px;
}

footer h2 {
  margin: 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer-nav li {
  margin-left: 10px;
  margin-right: 10px;
  list-style: none;
  color: black;
}

.footer-nav li a {
  color: black;
}

.footer-nav li:hover a {
  opacity: .6;
}

.my-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
  color: black;
  text-decoration: none;
}

.my-logo span {
  margin-left: 5px;
  word-break: keep-all;
}

.my-logo span:hover {
  opacity: .6;
  text-decoration: underline;
}

@media (max-width: 600px) {
  footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 90px;
  }

  footer .my-logo {
    width: 100%;
    margin-top: 40px;
  }
}