/* CSS Reset */
/* Source: https://dev.to/hankchizljaw/a-modern-css-reset-6p3 */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* CSS Reset End */

/* nunito-600 - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/nunito-v12-latin-600.eot'); /* IE9 Compat Modes */
  src: local('Nunito SemiBold'), local('Nunito-SemiBold'),
       url('../fonts/nunito-v12-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/nunito-v12-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/nunito-v12-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/nunito-v12-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/nunito-v12-latin-600.svg#Nunito') format('svg'); /* Legacy iOS */
   
}

/* pt-sans-regular - latin */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pt-sans-v11-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('PT Sans'), local('PTSans-Regular'),
       url('../fonts/pt-sans-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/pt-sans-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/pt-sans-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/pt-sans-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/pt-sans-v11-latin-regular.svg#PTSans') format('svg'); /* Legacy iOS */
}
/* pt-sans-700 - latin */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pt-sans-v11-latin-700.eot'); /* IE9 Compat Modes */
  src: local('PT Sans Bold'), local('PTSans-Bold'),
       url('../fonts/pt-sans-v11-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/pt-sans-v11-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/pt-sans-v11-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/pt-sans-v11-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/pt-sans-v11-latin-700.svg#PTSans') format('svg'); /* Legacy iOS */
}
/*//////////////////////////////////////////////////////////////////
///// Globale Einstellungen ////////////////////////////////////////
//////////////////////////////////////////////////////////////////*/

html {
  scroll-behavior: smooth;
}

::selection {
    background-color: #FFBB00;
    color: #fff;
}

body {
  font-family: "PT Sans";
  font-size: 18px;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
    font-weight: 700;
}

h1, h2, h3, h4 {
    font-family: "Nunito";
    font-weight: 600;
}

h1, h2, h3 {        margin: .5em 0;    }

h3 {        font-size: 1.25em;      }

p {         margin-bottom: 1.5em;     }

ul, ol {    margin: 1em 0;          }

li {        margin-bottom: .5em;    }

td {        padding-right: 15px;
            padding-bottom: .5em;   }

.icon {
  width: 60px;
  height: 60px;
  background-color: inherit;
  border-radius: 999px;
  transition: all 1s ease;
  padding: 8px;
}

.icon:hover {
  box-shadow:  5px 5px 5px rgba(0,0,0,0.1), 
                 -5px -5px 5px rgba(255,255,255,0.3);
}

/* SVG Füllungen */

.st0 {
    fill:#fff;
}

.st1 {
    fill:#FFBB00;
}

.st2 {
    fill:#000;
}


/*//////////////////////////////////////////////////////////////////
///// mobiler Header + Nav /////////////////////////////////////////
//////////////////////////////////////////////////////////////////*/

.header-mobile {
    display: block;
    position: absolute;
    height: 120px;
    width: 100%;
}

.has-bg {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,ffffff+100&0.25+25,0+100 */
    background: -moz-linear-gradient(top,  rgba(52,65,84,0.5) 0%, rgba(52,65,84,0.5) 25%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(52,65,84,0.5) 0%,rgba(52,65,84,0.5) 25%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(52,65,84,0.5) 0%,rgba(52,65,84,0.5) 25%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40000000', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
}

.logo-mobile {
    max-width: 400px;
    margin: auto;
}

/* mobile Navigation */

.nav-mobile {
    display: block;
    background-color: #FFBB00;
    position: fixed;
    width: 100%;
    height: 80px;
    overflow: hidden;
    bottom: 0;
    z-index: 999;
    text-align: center;
}

.nav-icons {
    display: flex;
    justify-content: space-evenly;
    margin: 10px auto;
}

.mobile-only {
    display: block;
}

@media only screen and (min-width: 1000px) {
.header-mobile,
.nav-mobile,
.mobile-only {
    display: none;
    }
}

/*//////////////////////////////////////////////////////////////////
///// Desktop Seitenleiste /////////////////////////////////////////
//////////////////////////////////////////////////////////////////*/

/* Zweispaltiges Layout unter 1100px Displaybreite ausblenden */
.static {
    display: none;
}

.content-right {
    width: 100%;
    padding-left: 0;
}

.logo {
  color: #fff;
  position: absolute;
  right: 25px;
}

@media only screen and (min-width: 1000px) {

    .static {
      display: block;
      position: fixed;
      width: 40%;
      left: 0;
      top: 0;
      bottom: 0;
      color: #fff;
    }

    .static-container {
      background-color: #FFBB00;
      position: absolute;
      box-sizing: border-box;
      right: 0;
      width: 100%;
      height: 100%;
      padding: 5%;
    }

    .logo {
        width: 300px;
    }


    .row-side {
        display: flex;
        margin-top: 25px;
    }

    .contact-info {
      position: absolute;
      bottom: 5%;
      right: 25px;
    }

    .contact-text {
      margin-left: 15px;
    }

    .content-right {
        padding-left: 40%;
    }

    .icon {
            margin-top: -12px;
    }
}

@media only screen and (min-width: 1100px) {
    .static {
        width: 33%;
    }
    
    .content-right {
        padding-left: 33%;
    }
}

@media only screen and (min-width: 1380px) {
    .logo {
        width: 400px;
    }
}


/*//////////////////////////////////////////////////////////////////
///// Content-Bereich //////////////////////////////////////////////
//////////////////////////////////////////////////////////////////*/

section.row {
    padding-top: 30px;
    padding-bottom: 30px;
}

.full-height {
    min-height: 100vh;
}

.spacer {
    height: 2em;
}

.hero-img {
    height: 100vh;
    display: flex;
    justify-content: center;
    background-image: url("/img/Thole_Jagenburg_351.jpg");
    background-size: cover;
    background-position: center center;
    
}

@media only screen and (max-width: 999px) {

    .hero-img {
        background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_1_mobile.jpg");
        -webkit-animation: 10s hero-mobile infinite;
        animation: 10s hero-mobile infinite;
    }

}

@media only screen and (min-width: 1000px) {

    section.row {
    padding-top: 100px;
    padding-bottom: 100px;
    }
    .hero-img {
        background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_1.jpg");
        -webkit-animation: 10s hero-desktop infinite;
        animation: 10s hero-desktop infinite;
    }
    
}

@-webkit-keyframes hero-mobile {
        0%      {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_1_mobile.jpg");    }
        25%     {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_2_mobile.jpg");    }
        50%     {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_3_mobile.jpg");    }
        75%     {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_4_mobile.jpg");    }
        100%    {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_1_mobile.jpg");    }
    }

@keyframes hero-mobile {
        0%      {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_1_mobile.jpg");    }
        25%     {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_2_mobile.jpg");    }
        50%     {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_3_mobile.jpg");    }
        75%     {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_4_mobile.jpg");    }
        100%    {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_1_mobile.jpg");    }
    }

@-webkit-keyframes hero-desktop {
        0%      {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_1.jpg");    }
        25%     {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_2.jpg");    }
        50%     {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_3.jpg");    }
        75%     {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_4.jpg");    }
        100%    {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_1.jpg");    }
    }

@keyframes hero-desktop {
        0%      {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_1.jpg");    }
        25%     {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_2.jpg");    }
        50%     {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_3.jpg");    }
        75%     {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_4.jpg");    }
        100%    {   background-image: url("/img/kfo-leichlingen_dr-thole-jagenburg_hero_1.jpg");    }
    }

/*//////////////////////////////////////////////////////////////////
///// Reveal-Animations ////////////////////////////////////////////
//////////////////////////////////////////////////////////////////*/

@-webkit-keyframes fade-in-bottom {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-bottom {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@-webkit-keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translateX(-25px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translateX(-25px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-icons .phone,
.nav-icons .openinghours,
.nav-icons .location,
.nav-icons .mail {
    opacity: 0;
    -webkit-animation: fade-in-bottom ease 0.4s forwards;
    animation: fade-in-bottom ease 0.4s forwards;
}

.nav-icons .phone {         -webkit-animation-delay: .2s; animation-delay: .2s;   }
.nav-icons .openinghours {  -webkit-animation-delay: .4s; animation-delay: .4s;   }
.nav-icons .location {      -webkit-animation-delay: .6s; animation-delay: .6s;   }
.nav-icons .mail {          -webkit-animation-delay: .8s; animation-delay: .8s;   }

.side-row-1,
.side-row-2 {
    opacity: 0;
    -webkit-animation: fade-in-left ease 0.6s forwards;
    animation: fade-in-left ease 0.6s forwards;
}

.side-row-1 {               -webkit-animation-delay: .3s; animation-delay: .3s;   }
.side-row-2 {               -webkit-animation-delay: .6s; animation-delay: .6s;   }


/*//////////////////////////////////////////////////////////////////
///// Animierte Icons für Mobile ///////////////////////////////////
//////////////////////////////////////////////////////////////////*/

.animated-icon {
  max-width: 50%;
  margin-bottom: 30px;
}

.dark-stroke,
.solid-fill {
  fill: none;
  stroke: none;
}

.visible .dark-stroke {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3px;
  stroke: #344154;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  -webkit-animation: stroke 3s cubic-bezier(0.52, 0.01, 0.99, 0.6) forwards;
          animation: stroke 3s cubic-bezier(0.52, 0.01, 0.99, 0.6) forwards;
}

.visible .solid-fill {
  fill: #35b4cf;
  opacity: 0;
  -webkit-animation: fade-in cubic-bezier(0.52, 0.01, 0.99, 0.6) 1.5s forwards;
          animation: fade-in cubic-bezier(0.52, 0.01, 0.99, 0.6) 1.5s forwards;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}

@-webkit-keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes stroke {
  from {
    stroke-dashoffset: 320;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes stroke {
  from {
    stroke-dashoffset: 320;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/*//////////////////////////////////////////////////////////////////
///// Footer ///////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////*/

.footer {
    text-align: right;
    margin: 25px 10px 100px;
}

@media only screen and (min-width: 1000px) {

    .footer {    margin-bottom: 25px;       }

}

/*//////////////////////////////////////////////////////////////////
///// Corona-Info //////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////*/

/* button */

.bottom-center {
    position: absolute;
    bottom: 100px;
    left: 50%;
    width: 600px;
    margin-left: -300px;
}

@media only screen and (min-width: 1000px) {

    .bottom-center {
        bottom: 5%;
        left: 50%;
        max-width: auto;
        margin-left: 0;
        }
}

.btn-info {
    color: #fff;
    background: rgba(52,65,84,0.5);
    border: 2px solid #fff;
    font-size: 18px;
}

.btn-info:hover,
.btn-info:active,
.btn-info:focus {
    color: #fff;
    background-color: rgba(52,65,84,0.75);
    border: 2px solid #fff;
}