/* --- FONTS --- */
/* roboto-slab-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 Slab';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-slab-v25-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* roboto-slab-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 Slab';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-slab-v25-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* roboto-slab-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 Slab';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-slab-v25-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* roboto-slab-600 - 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 Slab';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/roboto-slab-v25-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* roboto-slab-700 - 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 Slab';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-slab-v25-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* roboto-slab-800 - 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 Slab';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/roboto-slab-v25-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

/* ICONS */
/* material-icons-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: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/material-icons-v140-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

  .material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
  
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
  
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
  
    /* Support for IE. */
    font-feature-settings: 'liga';
  }

/* --- DEFAULTS --- */
:root {
    --content-width: 1402px;
    --inner-width: 918px;
    --font-family: 'Roboto Slab', serif;
    --font-size: 16px;
    --content-padding: 30px;
}

:root {
    font-size: var(--font-size);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1.125rem;
    color: #666666;
    line-height: 1.75;
}

img {
    max-width: 100%;
    display: block;
}

/* --- HELPER CLASSES --- */
.content-width {
    max-width: var(--content-width);
    margin: 0 auto;
}

.inner-width {
    max-width: var(--inner-width);
    margin: 0 auto;
}

/* --- TEXT BLOCKS --- */
h1,
h2,
h3 {
    font-weight: 400;
    line-height: 1.25;
    transition: font-size .3s ease-in-out;
}

h1 {
    font-size: 2.2rem;
    color: #333333;
}

h2 {
    font-size: 2.2rem;
    color: #333333;
    margin-bottom: 1.25em;
}

h3 {
    font-size: 1.625rem;
    color: #739398;
    margin-bottom: 1.5em;
}

* + h3 {
    margin-top: 1.5em;
}

p {
    line-height: 1.75;
}

a {
    color: inherit;
    text-decoration: none;
}

.section-title {
    color: #739398;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 1rem;
    background: #739398;
    margin-right: 1ch;
}

.material-icons {
    vertical-align: middle;
}

.subline{
    font-size: 22px;
}


/* --- LAYOUT BLOCKS --- */
main > section {
    padding: 100px var(--content-padding);
}

main > section :first-child {
    margin-top: 0;
}

main > section :last-child {
    margin-bottom: 0;
}

/* --- HEADER --- */
header {
    color: #333333;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 25%);
    padding: 0 var(--content-padding);
    position: relative;
    z-index: 99;
    background: #ffffff;
}

header .content-width {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 15px;
    position: relative;
}

header figure {
    max-width: 360px;
    margin: 0;
    width: 100%;
}

header .phone {
    color: #739398;
    position: absolute;
    top: 10px;
    right: 0;
    display: none;
    font-size: 15px;
    font-weight: 400;
}

@media (min-width: 921px) {
    header .phone {
        display: block;
    }
}

@media (min-width: 1025px) {
    header .phone {
        top: 22px;
    }
}

header .phone span{
    font-size: 20px;
    margin-bottom: 2px;
}

header .phone a{
    color: #739398 !important;
}

header nav {
    margin-bottom: 22px;
}

header nav.open {
    display: block;
}

header nav a {
    text-decoration: none;
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li:not(:last-of-type) {
    padding-right: 25px;
    margin-right: 25px;
    position: relative;
}

header nav ul li:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    height: 100%;
    border: 1px solid #e2e3dc;
}

header .burger {
    width: 35px;
    height: 30px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    background: 0;
    border: 0;
    margin: auto 0;
}

header .burger span {
    width: 100%;
    height: 6px;
    background-color: #739398;
}

/* --- FOOTER --- */
footer {
    background: #222222;
    font-size: 1rem;
    color: #666666;
    padding: 0 var(--content-padding);
}

footer .content-width {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
}

footer nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

footer nav ul li:not(:last-of-type) {
    padding-right: 25px;
    margin-right: 25px;
    position: relative;
}

footer nav ul li:not(:last-of-type)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    height: 100%;
    border: 1px solid #666666;
}

/* --- WILLKOMMEN --- */
#willkommen button{
    margin-top: 22px;
}


/* --- IHRE ÄRTZIN --- */
#ihre-aerztin {
    /* color: #ffffff; */
    /* background: url('../img/background_ihre-aerztin.jpg') no-repeat center 75%; */
    /* background: #7faad9; */
    background: #eef5fc;
    background-size: cover;
    padding-bottom: 30px;
}

@media (min-width: 1025px) {
    #ihre-aerztin {
        padding-bottom: 60px;
    }
}


#ihre-aerztin h2{
    margin-bottom: 18px;
}

#ihre-aerztin .inner-width p:nth-last-child(3) {
    margin-bottom: 10px;
}

#ihre-aerztin .inner-width {

}

#ihre-aerztin p {
    max-width: 701px;
}

#ihre-aerztin .kompetenzen li{
    line-height: 1.75;
    margin-bottom: 18px;
}

.kompetenzen li span {
    display: block;
    font-weight: 700;
}

.profil img {
    margin-bottom: 20px;
    max-width: 232px;
}

@media (min-width: 596px){
    .profil img {
        height: 100%;
    }
}

.profil .subline {
    margin: 0px !important;
}

.profil .subline:last-child {
    font-size: 18px;
}

@media (min-width: 596px){
 .profil {
    display: flex;
    gap: 40px;
 }
}

/* --- PRAXIS --- */
.services-title {
    margin-top: 2.5rem;
}

.services {
    color: #ffffff;
    line-height: 1.4;
    text-align: center;
    list-style: none;
    margin-top: 2rem;
    margin-bottom: 90px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.services .service {
    min-height: 105px;
    width: 225px;
    padding: 15px;
    background: #7faad9;
    margin: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-list {
    color: #739398;
    margin: 30px 0;
    position: relative;
}

.service-list::before {
    content: "";
    background: #739398;
    width: 10px;
    height: 100%;
    left: 0;
    position: absolute;
}

.service-list li {
    list-style: none;
    margin-bottom: 16px;
    line-height: 1.4;
}

#praxis .krebs-vorsorge-plus li{
    line-height: 1.75;
}

#praxis .praxis-gap{
    margin-bottom: 40px;
}

#praxis .subline{
    margin-top: 60px;
}

/* --- KONTAKT --- */
#kontakt .flex {
    display: flex;
}

#kontakt .flex > * {
    max-width: 50%;
    width: 100%;
}

#kontakt .address {
    padding-right: 75px;
    max-width: 575px;
    margin-right: auto;
    font-style: normal;
}

.contact p:nth-last-child(1){
    white-space: nowrap;
}

#kontakt .address .material-icons {
    color: #739398;
    margin-right: 0.5rem;
    display: inline;
}

#kontakt .address a {
    text-decoration: none;
}

#kontakt .address p:nth-child(3)  {
   margin-bottom: 40px;
}

#kontakt address {
    display: flex;
    line-height: 1.4;
}

#kontakt address ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#kontakt address ul li:not(:last-child) {
    margin-bottom: 0.5rem;
}

#kontakt .address h3{
    margin-top: 40px;
}

#kontakt .office-hours {
    margin-bottom: 2.5rem;
}

.office-hours span {
    display: block;
}

#kontakt .office-hours tr td:first-child {
    padding-right: 2rem;
    display: flex;
}

#kontakt .office-hours tr td:last-child {
    text-align: right;
}

#kontakt .office-hours tr:not(:last-child) td {
    padding-bottom: 1rem;
    line-height: 1.4;
}

#kontakt .contact-form {
    padding-left: 75px;
    border-left: 3px solid #739398;
}

#kontakt .contact p:first-child{
    white-space: nowrap;
}

#kontakt form label {
    display: block;
    margin-bottom: 32px;
}

#kontakt form .input {
    position: relative;
}

#kontakt form .error {
    color: #e6127e;
}

#kontakt form .error-message {
    color: #e6127e;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

#kontakt form .error + .error-message {
    display: block;
}

#kontakt form input,
#kontakt form textarea {
    width: 100%;
    border: 0;
    background: #ffffff;
    padding: 20px;
}

#kontakt form textarea {
    resize: vertical;
    overflow: auto;
    min-height: 3rem;
}

#kontakt form input[type='checkbox'] {
    position: absolute;
    opacity: 0;
    width: 0;
}

#kontakt form input[type='checkbox'] + .custom-checkbox {
    width: 30px;
    height: 30px;
    background: #ffffff;
    display: inline-block;
    vertical-align: middle;
    margin-right: 1.5rem;
    position: relative;
}

#kontakt form input[type='checkbox'] + .custom-checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -75%) rotate(45deg);
    opacity: 0;
    width: 8px;
    height: 16px;
    border: solid #739398;
    border-width: 0 3px 3px 0;
    transition: all 0.2s ease-in-out;
}

#kontakt form input[type='checkbox']:checked + .custom-checkbox::after {
    opacity: 1;
    transform: translate(-50%, -60%) rotate(45deg);
}

#kontakt form .input-label {
    position: absolute;
    top: 20px;
    left: 20px;
    transition: opacity 0.1s linear;
    pointer-events: none;
}

#kontakt form :required ~ .input-label::after,
#kontakt form :required ~ .checkbox-label::after {
    content: '*';
    color: #e6127e;
}

#kontakt form .not-empty ~ .input-label,
#kontakt form .dynamic-label:focus ~ .input-label {
    opacity: 0;
}

#kontakt .success {
    display: none;
}

#kontakt .success-message {
    display: none;
}

#kontakt .success-message span {
    cursor: pointer;
    text-decoration: underline;
}

#kontakt .success + .success-message {
    display: block;
}

#kontakt .address .adress-name{
    margin-bottom: 60px;
}

.no-wrap{
    white-space: nowrap;
}

.expresssprechstunde {
    margin-top: 40px;
}


/* --- BTN --- */
.btn-termin{
    padding: 15px 40px;
    background: transparent;
    border: 2px solid #e6127e;
    color: #e6127e;
    position: relative;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 500;
    transition: all .3s ease-in-out;
    line-height: normal;
}

.btn-termin .material-icons{
    margin-right: 0.5em;
    font-size: 1.5em;
}

.btn-termin a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-termin:hover {
    padding: 15px 40px;
    background: #e6127e;
    color: white;
    position: relative;
    text-transform: uppercase;
    font-weight: 500;
}



/* --- IMPRESSUM --- */
#impressum ul{
    list-style: none;
    padding: 0;

}
#impressum li{
    line-height: 1.75;
}

.impressum-gap,
.datenschutz-gap{
    margin-bottom: 40px;
}

/* --- DATENSCHUTZ --- */

#datenschutz ul{
    list-style: none;
    padding: 0;

}
#datenschutz li{
    line-height: 1.75;
}



@media (max-width: 1280px) {
    /* --- TEXT BLOCKS --- */
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 1024px) {
    /* --- DEFAULTS --- */
    body {
        font-size: 1rem;
    }

    /* --- LAYOUT BLOCKS --- */
    main > section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    /* --- TEXT BLOCKS --- */
    h1 {
        font-size: 2.1rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.375rem;
    }

    /* --- HEADER--- */
    @media (max-width: 1024px) {
        header figure {
            max-width: 300px;
        }
    }

    /* --- KONTAKT --- */
    #kontakt .address {
        padding-right: 5vw;
    }

    #kontakt .contact-form {
        padding-left: 5vw;
    }
}

@media (max-width: 920px) {
    /* --- DEFAULTS --- */
    :root {
        --content-padding: 4vw;
    }

    /* --- HEADER --- */
    header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1.5rem var(--content-padding);
        background: #ffffff;
        border-bottom: 2px solid #e2e3dc;
    }

    header nav ul {
        justify-content: center;
    }

    header .burger {
        display: flex;
    }

    /* --- KONTAKT --- */
    #kontakt .flex:first-of-type {
        flex-direction: column;
    }

    #kontakt .flex > * {
        max-width: none;
    }

    #kontakt .address {
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }

    /* #kontakt .address > div {
        width: calc(50% - 10px);
    }

    #kontakt .address > div {
        width: calc(50% - 10px);
    } */

    #kontakt address {
        margin-bottom: 1rem;
    }

    #kontakt .contact-form {
        border-left: 0;
        border-top: 3px solid #739398;
        padding-left: 0;
        padding-top: 40px;
    }

    #kontakt .address .adress-name{
        margin-bottom: 40px;
    }

    /* --- PRAXIS --- */
    .services .service {
        width: calc(50% - 4px);
    }


    /* --- FAQ --- */
    .accordion {
        margin-top: 45px;

    }
}

@media (max-width: 724px) {
    header nav ul {
        flex-direction: column;
    }
}

@media (max-width: 596px) {
    /* --- TEXT BLOCKS --- */
    h1 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .subline{
        font-size: 18px;
    }

    /* --- HEADER --- */

    header nav ul li:not(:last-of-type) {
        padding-right: 0;
        padding-bottom: 1rem;
        margin-right: 0;

    }

    header nav ul li:not(:last-of-type)::after {
        display: none;
    }

    /* --- KONTAKT --- */
    #kontakt .address {
        flex-direction: column;
    }

    #kontakt .address > div {
        width: 100%;
    }

    #kontakt .address > div:not(:last-child) {
        margin-bottom: 30px;
    }

    #kontakt .address .flex {
        flex-direction: row;
    }

    #kontakt .address .flex > * {
        max-width: 50%;
    }

    /* --- FOOTER --- */
    footer .content-width {
        flex-direction: column-reverse;
        align-items: center;
        padding-top: 25px;
        padding-bottom: 25px;
    }

    footer nav {
        margin-bottom: 1rem;
    }

    /* --- PRAXIS --- */
    .services {
        margin-bottom: 45px;
    }

}

@media (max-width: 510px) {
    /* --- TEXT BLOCKS --- */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    /* --- PRAXIS --- */
    .services .service {
        width: 100%;
    }

    /* --- KONTAKT --- */
    #kontakt .address .flex {
        flex-direction: column;
    }

    #kontakt .address .flex > * {
        max-width: none;
    }
}



/* ACCORDION v.1.0 MS */
.accordion .accordion-item {
    padding: 20px 20px;
    background: #7faad9;
    transition: all 0.3s ease-in-out;
    margin-bottom: 4px;
}
.accordion .accordion-item:last-child {
    margin-bottom: 0;
}
.accordion .accordion-item.open {
    background: #eef5fc;
    padding-bottom: 30px;
}
.accordion .accordion-item.open .accordion-header h3 {
    color: #739398;
}
.accordion .accordion-item.open .accordion-header .accordion-button {
    color: #739398;
    border-color: #739398;
}
.accordion .accordion-item .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px auto;
    max-width: 800px;
    gap: 20px;
}
.accordion .accordion-item .accordion-header h3 {
    margin: 0;
    color: white;
    font-size: 19px;
    font-weight: 400;
    cursor: pointer;
    max-width: calc(100% - 50px);
}
.accordion .accordion-item .accordion-header .accordion-button {
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}
.accordion .accordion-item .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin: 0 auto;
    max-width: 760px;
    padding-right: 40px;
}

@media (min-width: 600px) {
    .accordion .accordion-item .accordion-header h3 {
        font-size: 24px;
    }
}


/* Accorderion Weiterbildungen */

.icon-arrow {
    display: inline-block;
    transition: transform 0.4s ease;
    width: 40px;
    height: 40px;
    margin-left: 6px;
    margin-bottom: 20px;
    cursor: pointer;
}


.icon-arrow.rotated {
    transform: rotate(180deg);
}

#toggle-content,
#toggle-content_2,
#toggle-content_3 {
    display: none;
}

.team_1,
.team_2 {
    margin-bottom: 2rem;
}


/* Sprechzeiten Profil */

.profil .office-hours {
    margin-bottom: 2rem;
}

.profil .office-hours tr td:first-child {
    padding-right: 1rem;
    display: flex;
} 

.profil .office-hours tr td:last-child {
    text-align: right;
}

.profil .btn-termin {
    margin-bottom: 1rem;
}