@import url('bootstrap-icons.min.css');
@import url('fonts.css');

:root {
  --bs-primary: #7ac450;
  --bs-secondary: #000;
  --bs-tertiary: #000f2b;
}

html {
  height: 100%;
}
body {
  font-family: 'Sarala', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--bs-secondary);
  padding-top: 116.583px;
}

/* TYPOGRAPHY */
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  font-weight: 600;
  margin: 0 0 45px 0;
}
h1, .h1 {
  font-size: 45px;
}
h2, .h2 {
  font-size: 40px;
}
h3, .h3 {
  font-size: 30px;
}

h1 small, .h1 small, 
h2 small, .h2 small, 
h3 small, .h3 small, 
h4 small, .h4 small, 
h5 small, .h5 small, 
h6 small, .h6 small {
  display: block;
  font-size: 75%;
  font-weight: 300;
}

p {
  margin: 15px 0;
  text-align: justify;
  -moz-hyphens: auto; 
  -o-hyphens: auto; 
  -webkit-hyphens: auto; 
  -ms-hyphens: auto; 
  hyphens: auto;
}
a {
  color: var(--bs-secondary);
  text-decoration: none;
  transition: all .25s;
}
a:hover {
  color: #333;
}

strong, b {
  font-weight: 600;
}

hr {
  margin: 30px 0;
}

/* BUTTONS */
.btn {
  border: none;
  box-shadow: none !important;
  padding: 10px 15px;
}

.btn-primary {
  background-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #8de05c !important;
  color: var(--bs-white) !important;
}

.btn-secondary {
  background-color: var(--bs-secondary) !important;
  color: var(--bs-white) !important;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #222 !important;
  color: var(--bs-white) !important;
}

/* IMAGES */
.img-content {
  border-radius: 5px;
  display: block;
  margin: 15px auto;
  width: 100%;
  max-width: 500px;
  box-shadow: 0px 5px 15px 0 rgba(163,163,163,.5);
}

.zertifikat {
  max-width: 180px;
  display: block;
  margin: 0 auto;
  box-shadow: none;
}

/* BACKGROUND*/
.bg-tertiary {
  background-color: var(--bs-tertiary) !important;
}

/* NAV */
.navbar {
  background-color: var(--bs-white) !important;
  padding-top: 15px;
  padding-bottom: 15px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1500;
}
.nav-item {
  margin-right: 5px;
}
.nav-item:last-child {
  margin-right: 0;
}
.nav-link {
  font-size: 15px;
  font-weight: 300;
  padding: 10px 15px !important;
  color: var(--bs-secondary);
  border-radius: 5px;
}
.nav-link:hover,
.nav-link.active {
  background-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
}

.navbar-brand img {
  max-width: 120px;
}

.navbar-toggler {
  border-radius: 0;
  border: none;
  font-size: 32px;
  padding: 0;
  box-shadow: none !important;
}

/* SECTION */
.section {
  display: block;
  position: relative;
  padding: 100px 0;
}
.section .container {
  position: relative;
  z-index: 2;
}

#section-home {
  background-image: url('../img/section/home/bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#section-home::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bs-tertiary);
  opacity: .9;
}
#section-home .logo {
  display: block;
  margin: 0 auto;
  max-width: 400px;
}
#section-home h1 {
  margin-top: 30px;
  font-size: 45px;
}

#section-ernaehrungstherapie {
  background-image: url('../img/section/ernaehrungstherapie/bg.png');
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: contain;
}
#section-ernaehrungstherapie::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bs-white);
  opacity: .55;
}
#section-ernaehrungstherapie .container {
  position: relative;
  z-index: 2;
}

#section-ernaehrungsberatung {
  background-image: url('../img/section/ernaehrungstherapie/bg.png');
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: contain;
}
#section-ernaehrungsberatung::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bs-white);
  opacity: .55;
}

#section-themengebiete .card {
  background-color: #e8f3d1;
}
#section-themengebiete .accordion {
  background-color: transparent;
}
#section-themengebiete .accordion-item {
  background-color: transparent;
  border: 1px solid var(--bs-secondary);
  margin-bottom: 5px;
}
#section-themengebiete .accordion-button:not(.collapsed) {
  color: var(--bs-secondary);
}
#section-themengebiete .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
#section-themengebiete .accordion-button {
  background-color: transparent;
}

#section-beratungsschwerpunkt {
  background-color: #f3f9e7;
}

#section-notwendigkeitsbescheinigung {
  background-image: url('../img/section/notwendigkeitsbescheinigung/bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* FOOTER */
.footer {
  display: block;
  position: relative;
  padding: 60px 0;
  background-image: url('../img/footer.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--bs-white);
}
.footer::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bs-tertiary);
  opacity: .9;
}
.footer::before {
  content: '';
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fff" viewBox="0 0 1000 100" preserveAspectRatio="none"><path class="shape-fill" d="M500.2,94.7L0,0v100h1000V0L500.2,94.7z"></path></svg>');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 20px;
  min-height: 20px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  transform: rotate(180deg);
  margin-top: -1px;
}
.footer .container {
  position: relative;
  z-index: 3;
}
.footer-infos {
  line-height: 1.8;
}
.footer-infos strong {
  color: #98a7ad;
  margin-bottom: 15px;
  display: inline-block;
}
.footer-infos i {
  display: inline-block;
  width: 25px;
}
.footer-logo {
  display: block;
  margin: 0 auto;
  max-width: 300px;
}
.footer-nav a {
  margin-right: 15px;
}
.footer-nav a:last-child {
  margin-right: 0;
}
.footer a {
  color: #fff;
}
.footer a:hover {
  color: #98a7ad;
}


/* CTA */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 350px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.cta::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bs-tertiary);
  opacity: .4;
  transition: all .25s;
}
.cta:hover::after {
  opacity: .5;
}
.cta-inner {
  display: block;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  text-align: center;
  color: var(--bs-white);
}
.cta-inner p {
  text-align: center;
}

/* CARD */
.card {
  border: none;
  box-shadow: 0px 5px 10px 0 rgba(163,163,163,.75);
  margin-bottom: 30px;
  height: calc(100% - 30px);
}
.card-body {
  padding: 30px;
}
.card-title {
  font-size: 22px;
}
.card-buttons .btn {
  font-size: 16px;
  padding: 7.5px 12.5px;
  text-align: start;
}
.card-text {
  font-size: 16px;
}

/* ACCORDION */
.accordion {
  border: none;
}
.accordion-item {
  margin-bottom: 5px;
  border: 1px solid var(--bs-secondary) !important;
}
.accordion-button {
  padding: 10px 20px;
  box-shadow: none !important;
  border: none;
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-button:not(.collapsed) {
  background-color: var(--bs-secondary);
  color: var(--bs-white);
}
.accordion-body {
  font-size: 16px;
  text-align: justify;
  -moz-hyphens: auto; 
  -o-hyphens: auto; 
  -webkit-hyphens: auto; 
  -ms-hyphens: auto; 
  hyphens: auto;
}

/* FORM */
.form-group {
  margin-bottom: 15px;
}
.form-control {
  padding: 10px 15px;
  box-shadow: none !important;
}
.form-control:focus {
  border-color: var(--bs-tertiary);
}

.has-error .form-control {
  color: var(--bs-danger);
  border-color: var(--bs-danger);
}
.has-error .form-label,
.has-error .form-check-label,
.has-error .help-block {
  color: var(--bs-danger);
}

#danke {
  display: none;
}

.captcha-control,
.captcha-result {
  color: var(--bs-secondary);
}


/* MOBILE */
@media (max-width: 1399.98px) { }
@media (max-width: 1199.98px) { }
@media (max-width: 991.98px) {
  h1, .h1 {
    font-size: 40px;
  }
  h2, .h2 {
    font-size: 35px;
  }
  h3, .h3 {
    font-size: 30px;
  }
  .section {
    padding: 60px 0;
  }
  #section-home .logo {
    max-width: 200px;
  }
  .cta {
    padding: 0 30px
  }
  .cta h2 {
    font-size: 28px;
  }
}
@media (max-width: 767.98px) {
  .section {
    padding: 30px 0;
  }
}
@media (max-width: 575.98px) { }