header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 2.5em;
    padding-bottom: 2.5em;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: #fff;
    z-index: 1000;
}

.header-inner-wrapper {
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
nav, .language-select {
    display: flex;
    align-items: center;
}
nav ul, .language-select ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
}
nav ul li {
    padding: 1em;
    font-size: 1.05em;
}
nav ul li a {
    text-decoration: none;
    color: #888;
}
nav ul li a:hover {
    color: #444;
}
.language-select ul li {
    padding: 1em 0.5em;
    font-size: 0.95em;
    color: #6f6f6f;
}
.language-select ul li a {
    text-decoration: none;
    color: #aaa !important;
}
.logo {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    margin-right: 10em;
}
.logo h1 {
    font-size: 1em;
    width: 1em;
    padding-left: 1em;
}
.logo img {
    height: 4.5em;
}


#front-slideshow {
    position: relative;
    width: 100%;
    height: 100%;

}
#slider {
    margin: 0;
    padding: 0;
}
#front-slideshow ul li {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#front-slideshow li.active {
    z-index: 3;
}
#front-slideshow li img, picture {


}
.welcome {
    width: 100%;
    min-width: 800px;
    height: 750px;
    display: block;
    overflow: hidden;
}
.slideshow-hover {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-size: 1.5em;
    color: #fff;
    font-family: Times;
    letter-spacing: 0.1em;
    background: rgba(0,0,0,0.33);
    opacity: 1;
}
.slideshow-hover a {
    text-decoration: none;
}
.slideshow-hover a i {
    margin-top: -0.3em;
    display: block;
    font-size: 3em;
    color: white;
}
.slideshow-hover a:hover i {

    color: #ccc;
}
.slideshow-hover h1 {
    display: block;
    margin-top: 4em;
}

main {
    margin-top: 8.5em;

}
section {
    min-height: 30%;
    margin: 0 0 0 0;
}
.top-whitespace {
    width: 100%;
    height: 6em;
}
.fullwidth {
    width: 100%;

}
.inner-section {
    position: relative;
}
.team h1 {
    font-size: 1.5em;
    margin:  1.4em 0 0.7em 0;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #565656;
    text-transform: uppercase;
}
.team-transparent {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;

    background: rgba(0,0,0,0.5);

    justify-content: center;
    align-items: center;
    font-size: 4em;
    color: rgba(255,255,255,0.9);
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 99;
}

.teambild {
    width: 100%;
    height: 55.95%;
}
.team {
    background: #f8f4f0;
}

.aerzte {
    display: flex;
    flex-direction: column;
    justify-content: center;
padding: 3em 0 0 0;

}
.aerzte h1 {
    margin:  1.4em 0 0.7em 0;
    font-size: 3em;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #565656;
    text-transform: uppercase;
}
.aerzte-inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 5em 0;
}
.aerzte-inner ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
}
.aerzte-inner ul li {
    padding: 0em;
    list-style-type: none;

}

footer {
    display: flex;
    background: #6f6f6f;
    padding: 4em 5em;
    font-family: 'Roboto';
    font-size: 0.8em;
    color: #ddd;
    align-items: center;
    justify-content: space-around;
}
footer a {
    text-decoration: none;
    color: #ccc;

}
.impressum h2 {
    text-align: center;
    margin: 0;
}
.contact {
    background: #e7e1dc;

}
.contact h1 {
    margin: 0.4em 0 1em 0 ;
    font-size: 3em;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #565656;
    text-transform: uppercase;
}
.contact-inner {
    display: flex;
    flex-direction: row;
    width: 90%;
    justify-content: space-around;
margin: 0 auto 5em;
}
.contact-inner p {
  padding: 0.5em 1.5em;
  line-height: 1.4em;
  margin-top: 0.4em;
}
.sprechzeiten {
    background: rgba(255,255,255,0.7);
    padding: 1.4em 4em 3em;
    font-size: 0.8em;
    font-family: 'Roboto', sans-serif;
    color: #535353;
    width: 400px;
    min-width: 400px;
}
.sprechzeiten table tr td {
    padding: 0.5em 1.5em;
    font-size: 1.1em;
}
.adresse h2, .sprechzeiten h2 {
    text-align: center;
}
.adresse {
    background: rgba(255,255,255,0.7);
    padding: 1.4em 4em 3em;
    font-size: 0.8em;
    font-family: 'Roboto', sans-serif;
    color: #535353;
    width: 400px;
}
.adresse ul {
    list-style-type: none;
    padding: 0.1em 1.5em 0;

}
.adresse ul li {
    padding: 0.4em 0;
    font-size: 1.1em;
}
.leistungen {
    font-family: 'Roboto', sans-serif;
    background: #f8f4f0;
}
.leistungen h1 {
    padding: 1em 0 0 0 ;
    font-size: 3em;
    text-align: center;

    color: #565656;
    text-transform: uppercase;
}

.leistungen-inner {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    margin: 5em auto 5em;

}
.box {

    padding: 1em 4em;
    width: 33%;
    min-width: 200px;

    position: relative;
}
@media only screen and (max-width: 850px) {
    .leistungen-inner {

        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .box {

        padding: 1em 4em;
        width: 33%;
        min-width: 200px;

        position: relative;
    }
}

@media only screen and (max-width: 1000px) {

    .team h1 {

        display: block;

    }
}

#untersuchung {
    background-image: url("../images/leistungen/ohr.webp");
    background-position: 100% 60%;
}
#untersuchung .box-content {
    background: rgba(165, 105, 108, 0.55);
}
#ambulant {
    background-image: url("../images/leistungen/spritzen.webp");
}
#ambulant .box-content {
    background: rgba(131, 155, 177, 0.6);
}
#stationaer {
    background-image: url("../images/leistungen/instrumente.webp");
}
#stationaer .box-content {
    background: rgba(132, 190, 152, 0.52);
}
.box:before{
    content: "";
    display: block;
    padding-top: 100%; 	/* initial ratio of 1:1*/
}
.box-content{
    background: rgba(112, 153, 187, 0.40) !important;
    position:  absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.box-content:hover {
    background: rgba(91, 132, 166, 0.69) !important;
}
.box-content h2 {
    display: block;
    height: 1em;
    font-size: 1.5em;
    cursor: pointer;
    vertical-align: center;
    color: white;
}
.nolink {
    text-decoration: none;
    color: black;
}

.l-inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 5em 0;
}
.l-inner ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
}
.l-inner ul li {
    padding: 0em;
    list-style-type: none;

}
.l-inner ul li figure {
    margin: 10em 2em;
    padding: 0em  2.5em 3em 2.5em;
    background: #fff;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;

    width: 280px;
    height: 400px;
}
.l-inner ul li figure img {

    width: 270px;

    margin-top: 2em;

}
.l-inner ul li figure h3 {

    text-align: center;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    color: #747474;
}
.l-inner ul li figure p {

    text-align: center;
    font-size: 0.9em;
    letter-spacing: 0.05em;

    color: #747474;
}

.wide-text {
    width: 50%;
    margin: auto;
    padding: 8em 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2em;
    text-align: center;
    line-height: 1.6em;
    letter-spacing: 0.07em;
}
.wide-text h1 {
    margin-bottom: 2em;
    font-size: 3rem;
    text-align: center;

    color: #565656;
    text-transform: uppercase;
}
.impressum .popup-text {
    line-height: 1.4em;
}
.impressum ul {
    padding: 0;
    list-style-type: none;
}
.impressum h2 {
    margin-bottom: 2em;
}
#small-team {
    margin: 0;
    padding: 0 0 5em 0;
}
.suche {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3em 0 0 0;
    height: 50vh
}
.suche a {
    font-size: 2em;
    color: black;
    text-decoration: none;

    font-family: 'Roboto', sans-serif;
}
.suche h1 {
    margin-top: 0;
    margin-bottom: 2em;
    font-size: 3rem;
    text-align: center;

    color: #565656;
    text-transform: uppercase;
}