/* roboto-300 - 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: "Roboto";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/roboto-v30-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-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: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/roboto-v30-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-500 - 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: "Roboto";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/roboto-v30-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

b {
  font-weight: 400;
}

h4,
h6 {
  font-weight: 300;
}

a {
  color: #212529;
}

.container {
  max-width: 960px !important;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  padding-top: 58px;
  padding-bottom: 180px;
}

.btn-cta {
  background: #4d4d4d;
  color: #fff;
}

.btn-cta:hover {
  background: #c1272d;
  color: #fff;
}

.navbar {
  border-bottom: 2px solid #c1272d;
}

.navbar-light .navbar-toggler,
.navbar-light .navbar-toggler:focus {
  border: none;
  box-shadow: none;
}

.navbar-toggler .animated-icon {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.navbar-toggler .animated-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.navbar-toggler .animated-icon span {
  background: #4d4d4d;
}

.navbar-toggler .animated-icon span:nth-child(1) {
  top: 0px;
}

.navbar-toggler .animated-icon span:nth-child(2),
.navbar-toggler .animated-icon span:nth-child(3) {
  top: 10px;
}

.navbar-toggler .animated-icon span:nth-child(4) {
  top: 20px;
}

.navbar-toggler:not(.collapsed) .animated-icon span:nth-child(1) {
  top: 11px;
  width: 0%;
  left: 50%;
}

.navbar-toggler:not(.collapsed) .animated-icon span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) .animated-icon span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.navbar-toggler:not(.collapsed) .animated-icon span:nth-child(4) {
  top: 11px;
  width: 0%;
  left: 50%;
}

.dropdown-menu {
  border: none;
}

.navbar .dropdown-menu .dropdown-item {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.image-section {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 60vh;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image-1 {
  background-image: url(../img/ergotherapie_doerthe_hoppe.jpg);
}

.image-1 h1 span {
  color: #575756;
}

.image-2 {
  background-image: url(../img/ergotherapie_hoppe.jpg);
}

.image-3 {
  background-image: url(../img/ergotherapie_hoppe_narbentherapie.jpg);
}

.image-4 {
  background-image: url(../img/ergotherapie_hoppe_neurologie.jpg);
}

.image-5 {
  background-image: url(../img/ergotherapie_hoppe_kindertherapie.jpg);
}

.image-6 {
  height: 40vh;
  background-image: url(../img/ergotherapie_hoppe_schreiben.jpg);
}

.image-7 {
  background-image: url(../img/ergotherapie_hoppe_team.jpg);
}

.image-8 {
  height: 40vh;
  background-image: url(../img/ergotherapie_hoppe_bunt.jpg);
}

.image-9 {
  background-image: url(../img/ergotherapie_hoppe_team_2.jpg);
}

.bg-hand {
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 50% auto;
  background-image: url(../img/ergotherapie_hoppe_handtherapie_2.jpg);
}

.toggle-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 20vw;
  min-height: 200px;
  position: relative;
}

.toggle-section-1 {
  background-image: url(../img/ergotherapie_hoppe_bunt.jpg);
}

.toggle-section-2 {
  background-image: url(../img/ergotherapie_hoppe_psychiatrie.jpg);
}

.toggle-section h2 {
  position: absolute;
  left: 10%;
  top: 8%;
  z-index: 1;
}

.toggle-section .toggler {
  margin-bottom: 10px;
  width: 64px;
  height: 64px;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../img/chevron.png);
  transition: all 0.2s;
  cursor: pointer;
  opacity: 0.65;
}

.toggle-section-2 .toggler {
  background-image: url(../img/chevron_white.png);
  opacity: 0.9;
}

.toggle-section .toggler.active {
  transform: rotate(180deg);
  transform-origin: center;
}

.text-section {
  padding: 7rem 0;
}

.headline-section {
  padding: 4rem 0;
}

.logo-section {
  height: 30vh;
  max-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.logo-section .logo {
  position: absolute;
  left: 20px;
  max-width: 50%;
  top: -9vw;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #4d4d4d;
  z-index: 1;
  border-top: 2px solid #c1272d;
  flex-wrap: wrap;
  text-align: center;
  padding-bottom: 100px;
}

.footer {
  font-size: 0.875rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.2s ease-in-out;
  flex: 0 0 100%;
  margin-bottom: 20px;
}

footer a:hover {
  opacity: 1;
}

.footer .left {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex: 0 0 100%;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer .right {
  flex: 0 0 100%;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  left: 50%;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  z-index: 2;
  background: url(../img/chevron_white.png) no-repeat center;
  background-size: cover;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
  opacity: 0.8;
  transition: all 0.2s ease-in-out;
}

.scroll-to-top:hover {
  opacity: 1;
}

@media screen and (min-width: 768px) {
  body {
    padding-bottom: 60px;
  }

  .logo-section .logo {
    top: -62px;
    left: 20px;
    width: 344px;
  }

  .dropdown-menu {
    margin-top: 10px !important;
    border: none;
    border-radius: 0px;
    background: rgba(77, 77, 77, 0.9);
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    cursor: pointer;
  }

  .navbar .dropdown-menu .dropdown-item {
    color: #fff;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #c1272d;
  }

  .navbar .dropdown-menu .dropdown-item:hover {
    color: #fff;
    background: rgba(66, 66, 66, 0.8);
  }

  .bg-hand {
    background-size: 30% auto;
  }

  .footer {
    padding-bottom: 1rem;
  }

  .footer .left {
    text-align: left;
  }

  .footer .left a {
    margin-right: 20px;
  }

  .footer a,
  .footer .left,
  .footer .right {
    flex: 0 1 auto;
    margin: 0;
  }

  .footer .right {
    text-align: right;
  }

  .scroll-to-top {
    bottom: 6px;
  }

  .scroll-to-top:hover {
    bottom: 10px;
  }
}
