header {
  /* Standardmäßig KEINE feste Höhe */
  height: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Ab md feste Höhe aktivieren */
@media (min-width: 768px) {
  header {
    height: 100vh;
    background-image: url(../img/hero-dieter-henle.jpg);
  }
}

/* Standard Mobile (alles < md) */
.logo-header-mobile {
  position: absolute;
  top: 35%;
  left: 0%;
  width: 300px;
  height: auto;
}

/* Extra kleine Screens (<576px) */
@media (max-width: 575.98px) {
  .logo-header-mobile {
    top: 40%;        /* z.B. höher */
    width: 180px;    /* kleiner */
  }
}

/* Normales Logo (Position und Größe) */
.logo-header {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 200px;
  height: auto;
}

/* Standard: Mobile (XS) */
header .logo-header {
  position: absolute;
  top: 70%;                      /* etwas unterhalb der Mitte */
  left: 0;
  transform: translateY(-50%);
  width: 70%;                    /* schön groß auf Mobil */
  height: auto;
}

/* Small Screens (ab 576px) */
@media (min-width: 576px) {
  header .logo-header {
    top: 65%;                    /* leicht höher */
    width: 60%;
  }
}

/* Medium Screens (ab 768px) */
@media (min-width: 768px) {
  header .logo-header {
    top: 50%;                    /* exakt mittig */
    width: 50%;
  }
}

/* Large Screens (ab 992px) */
@media (min-width: 992px) {
  header .logo-header {
    width: 40%;
  }
}

/* Extra Large Screens (ab 1200px) */
@media (min-width: 1200px) {
  header .logo-header {
    width: 30%;
  }
}




/* Fonts */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.65;
}

p, ul, span, .card-body {
  font-size: 1.3rem;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.15;
}

h1,
.text-size-h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  margin-top: 0;
  font-size: 3.05em;
}

h2,
.text-size-h2 { font-size: 2.44em; }

h3,
.text-size-h3, .card-title { font-size: 1.95em; }

h4,
.text-size-h4 { font-size: 1.56em; }

h5,
.text-size-h5 { font-size: 1.25em; }

.text-caption { font-size: 0.8em; }

small,
.text-small {
  font-size: 0.64em;
}
              




/* Menu */

#menu {
    height: 0%;
    top: 0;
    left: 0;
    z-index: 49;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

#menu>div {
    gap: 0.6em;
}

.menu-button {
    top: 1.2em;
    right: 1.2em;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 8px 14px 8px 14px;
    border-radius: 12px;
}

.menu-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 992px) {
    .menu-button {
        top: 2.2em;
        right: 2.2em;
    }
}

#menu-icon {
    cursor: pointer;
    position: relative;
}

#menu-icon span {
    background-color: black;
    display: block;
    position: absolute;
    width: 100%;
    height: 0.25rem;
    border-radius: 0.3rem;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

@media (min-width: 979px) {
    #menu-icon {
        width: 3rem;
    }
}

#menu-icon span:nth-child(1) {
    top: 0;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#menu-icon span:nth-child(2) {
    top: 2rem;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#menu-icon span:nth-child(3) {
    top: 1rem;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#menu-icon.menu-button-open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#menu-icon.menu-button-open span:nth-child(2) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 1.75rem;
}

@media (min-width: 979px) {
    #menu-icon.menu-button-open span:nth-child(2) {
        top: 2.1rem;
    }
}

#menu-icon.menu-button-open span:nth-child(3) {
    width: 0%;
    opacity: 0;
}

.mt-60 {
    margin-top: 60px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mt-90 {
    margin-top: 90px;
}

.mb-90 {
    margin-bottom: 90px;
}

.mt-120 {
    margin-top: 120px;
}

.mb-120 {
    margin-bottom: 120px;
}


p, li, .collapsed-text {
    font-weight: 300;
}

a {
    color: #96C11F;
    text-decoration: none;
    font-weight: 400;
}

/***** container *****/
/* match outer container with hamburger menu + contact plane */
@media (max-width: 576px) {
  .container {
    padding-left: calc(var(--bs-gutter-x) * .5 + 7px);
    padding-right: calc(var(--bs-gutter-x) * .5 + 7px);
  }
}

/* small container for variation */
.container-small {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

@media (min-width: 576px) {
  .container-small {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .container-small {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 992px) {
  .container-small {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1200px) {
  .container-small {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1400px) {
  .container-small {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* collapse */
.collapse-rounded {
    border-radius: 25px;
    /* max-width: 990px; */
    background-color: #fff;
    color: #0F0F0F;
    border: none;
}

.collapse-rounded:hover, .collapse-rounded:active, .collapse-rounded:focus, .collapse-rounded:focus-visible {
    border-radius: 25px;
    /* max-width: 990px; */
    background-color: #fff!important;
    color: #0F0F0F!important;
    border: none!important;
}

.collapsed-text {
    /* max-width: 990px; */
    background: transparent;
}

.collapse-icon {
  transition: transform 0.3s ease;
}

.rotate {
  transform: rotate(180deg); /* Statt 180° nur 90° */
}

/* Sternfarben */
.stern-türkis {
    color: #7CCCCA;
}

.stern-orange {
    color: #EA887A;
}

.stern-gelb {
    color: #FFC365;
}

.stern-lila {
    color: #A56490;
}

.stern-blau {
    color: #7B8AB9;
}

.bild-rounded {
    border-radius: 45px;
}

ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.fa-circle-check {
    color: #96C11F;
}

.card-green {
    background-color: #96C11F;
    color: #fff;
    border-radius: 0px 0px 45px 45px !important;
}

.card-text {
    line-height: 1.4;
    font-weight: 300;
}

.card-img-top {
    border-radius: 45px 45px 0px 0px !important;
}

.bg-footer {
    background-color: #F7F4F3;
}

.social-icons {
    font-size: 2rem;
}

.sterne-header {
  font-size: 2.2rem;
  position: relative;
  top: -2px;
}

@media (max-width: 992px) {
  .sterne-header {
    font-size: 1.8rem!important;
  }
}

.img-trenner {
    border-radius: 45px;
}


.navlink:hover {
    text-underline-offset: 5px;
    text-decoration: underline 2px #212529!important;
}



/***** buttons *****/
.btn-primary {
  background: #96c11f !important;
  color: #fff !important;
  border: 2px solid #96c11f !important;
  transition: 0.2s ease-in-out !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #fff !important;
  color: #96c11f !important;
  border: 2px solid #96c11f !important;
}

.btn-secondary {
  background: #0f0f0f !important;
  color: #fff !important;
  border: 2px solid #0f0f0f !important;
  transition: 0.2s ease-in-out !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #fff !important;
  color: #0f0f0f !important;
  border: 2px solid #0f0f0f !important;
}