:root {
    /*--mutt-blue: #7BA0C7;
    --mutt-blue: #506b88;
    --mutt-blue: #6c7e92;
    --dark-mutt-blue: #39424d;
    --text-color: #2e3033;
    --text-color-hover: #45484d;
    --text-color-light: #737880;
    --main-background: rgba(252, 250, 250, 0.1);
    --main-background: #feffff;
    --main-background: #ffffff;
    --mutt-blue: #8B94AB;
    --mutt-blue: #74aecc;*/


    /*--primary: #74aecc;*/
    /*--primary: #41887d;*/
    --primary: #a0d1e8;
    --primary-light: #eaf5fa;
    --secondary: #364954;
    --secondary-dark: #25333b;
    --third: #99aebb;
    --third-light: #ebeff1;

    --highlight: #fbb911;

    /*--text-color: #17191a;*/
    --text-color: #43494d;
    --text-color-hover: #364954;
    --text-color-light: #6f7980;
}

/* Farbdefinitionen */
.bg-main-color {
    background-color: var(--secondary) !important;
}

.bg-secondary-color {
    background-color: var(--secondary-dark) !important;
    background-image: url("/images/dark-colored-background.jpg");
}

.no-margin-bottom {
    margin-bottom: 0;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.mobile-padding-top-60 {
    padding-top: 60px;
}

/* Helferklassen */
.height-100 {
    height: 100%;
}

.flex-wrap-reverse {
    flex-wrap: wrap-reverse;
}


/* Überschriften, Absätze etc. */
h1 {
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: bold;
}

h1.with-subheading {
    margin-bottom: 0.5rem;
}

.h1-subheading {
    display: block;
    margin-bottom: 2rem;
    color: var(--text-color-light);
    font-size: 1.5rem;
}

h1.margin-top {
    margin-top: 5rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: calc(2rem + 2px);
}

h2.margin-top {
    margin-top: 2rem;
}

h2::after {
    position: absolute;
    content: '';
    bottom: calc(-1rem);
    width: 45px;
    background: /*#bbe6fa #364954*/var(--highlight);
    height: 2px;
    left: 2px;
}

h2.light {
    color: white;
}

h2.light::after {
    background-color: var(--highlight);
}

h3 {
    font-size: 1.5rem;
}

h3.margin-top {
    margin-top: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

h1, h2, h3, h4 {
    position: relative;
    color: var(--secondary);
}

/*h1::before, h2::before, h3::before, h4::before {
    position: absolute;
    content: '';
    left: -8px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--primary);
    display: block;
    z-index: -1;
}*/

p {
    margin-bottom: 1.5rem;
}

.blocktext {
    text-align: justify;
}

.color-light {
    color: white !important;
}

.colored-text-box {
    background-color: var(--third-light);
    padding: 1rem;
    border-radius: 10px;
    margin-left: -1rem;
    margin-right: -1rem;
}

/* Body */
body {
    color: var(--text-color);
    background-color: var(--main-background);
    font-size: 1.1em;
}

/* Header */
header {
    /*background-image: linear-gradient(180deg, #fff, #36495408);*/
}

/* Navigation */
.navbar-loose {
    padding: 2rem 1rem;
    border-bottom: solid 2px var(--secondary);
    position: relative;
}

/*.navbar-loose::after {
    position: absolute;
    content:'';
    bottom: -9px;
    left: calc(50% - 8px);
    height: 16px;
    width: 16px;
    border-radius: 16px;
    background-color: var(--highlight);
}*/

.navbar-loose::before {
    position: absolute;
    content:'';
    bottom: -11px;
    left: calc(50% - 10px);
    height: 20px;
    width: 20px;
    border-radius: 20px;
    background-color: var(--secondary);
}

.navbar-brand {
    color: var(--text-color) !important;
    font-size: 1.5rem;
}

.navbar-brand img {
    max-width: 100%;
    max-height: 80px;
}

.navbar-brand-top {
    margin-top: 2rem;
}

.navbar-nav {
    padding-right: 0;
    flex-wrap: wrap;
}

.navbar-nav .nav-link {
    font-size: 1.0rem;
    color: var(--text-color-light) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--text-color-hover) !important;
}

.navbar-nav .nav-link.active {
    position: relative;
    color: var(--secondary) !important;
    font-weight: 600;
}

.navbar-light .navbar-toggler {
    background-color: #364954;
    color: white;
    border: none;
    margin-bottom: 15px;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    opacity: 1;
    transition: opacity 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar-light .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    opacity: 0;
}

.navbar-light .navbar-toggler-pseudoicon-close-1, .navbar-light .navbar-toggler-pseudoicon-close-2 {
    margin-left: -30px;
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-image: none;
    background-size: auto;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 15h22'/%3E%3C/svg%3E");
    transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar-light .navbar-toggler[aria-expanded="true"] .navbar-toggler-pseudoicon-close-1 {
    transform: rotate(45deg);
}

.navbar-light .navbar-toggler[aria-expanded="true"] .navbar-toggler-pseudoicon-close-2 {
    transform: rotate(135deg);
}

.navbar-expand-md .navbar-toggler {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-expand-md .navbar-toggler-title {
    line-height: 30px;
    font-size: 22px;
}

.navbar-collapse {
    padding: 0 15px;
}

/* Section */

article {
    margin-bottom: 4rem;
}

article .no-link-style {}

article a, footer a {
    position: relative;
    padding-bottom: 4px;
    color: var(--secondary);
    text-decoration: none;
    text-decoration: none;
    background-image: linear-gradient(var(--highlight), var(--highlight));
    background-size: 100% 1px;
    background-position: 100% calc(100% - 3px);
    background-repeat: no-repeat;
    transition: color 0.2s cubic-bezier(0.165, 0.84, 0.44, 1), background-size 0.2s cubic-bezier(0.165, 0.84, 0.44, 1), background-position 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/*article a::after, footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 1px;
    width: 100%;
    background: var(--highlight);
    transition: height 0.2s cubic-bezier(0.165, 0.84, 0.44, 1), bottom 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}*/

article a:hover, footer a:hover {
    text-decoration: none;
    color: var(--secondary-dark);
    background-size: 100% 4px;
    background-position: 100% 100%;

}

article .no-link-style {
    background-image: none !important;
    background-size: auto !important;
    background-position: center !important;
}

/*article a:hover::after, footer a:hover::after {
    bottom: -4px;
    height: 3px;
}

a.color-light::after {
    background-color: white;
}*/

article .main-page-heading {
    display: inline-block;
    /*padding: 15px 30px;
    left: -30px;
    background-color: var(--secondary);
    position: relative;
    transform: translateY(-50%);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);*/
}

/*article .main-page-heading h1.with-subheading {
    color: white;
}*/

/*article .main-page-heading .h1-subheading {
    margin-bottom: 0;
    color: #d3d7d9;
}*/

article .main-page-heading h1, article .main-page-heading .h1-subheading {
    display: inline-block;
}

/*article .img-container::after, article .img-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 15px;
    width: 45px;
    height: 4px;
    background-color: var(--highlight);
}

article .img-container::before {
    top: -4px;
    left: 11px;
    height: 49px;
    width: 4px;
}*/

article .img-container::before {
    content: '';
    position: absolute;
    top: -22.5px;
    left: -7.5px;
    background-color: var(--highlight);
    height: 60px;
    width: 60px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-radius: 2px;
}

article img.portrait {
    position: relative;
    border-radius: 2px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    /*border-top-left-radius: 0;*/
}

article.article-colored-light {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--primary-light);
    background-image: url("/images/colored-background.jpg");
}

article .focus .circle-container {
    position: relative;
    width: 200px;
    max-width: 90%;
    height: auto;
    border-radius: 50%;
    margin-top: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-bottom-left-radius: 2px;
}

article .focus .circle-container::after {
    position: absolute;
    /*content: '';*/
    
    bottom: 0;
    left: 0;

    width: 0px;
    height: 0px;
    -webkit-transform: rotate(360deg);
    border-style: solid;
    border-width: 80px 0 0 200px;
    border-color: transparent transparent transparent var(--highlight);
}   

article .focus img.circle {
    width: 100%
}

article .zur-praxis-link {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    border-radius: 2px;
    overflow: hidden;
}

article .zur-praxis-link .zur-praxis {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 200px;
    height: 200px;
    background-color: rgba(255,255,255,0.8);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center;
    border-radius: 2px;
    border-radius: 175px;
    transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

article .zur-praxis-link:hover .zur-praxis {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 2px rgba(0,0,0,0.1);
}

article .zur-praxis-link .zur-praxis h3 {
    font-weight: bold;
}

/* Zu meiner Person */
article .cv-expand-item {
    padding: 30px;
    cursor: pointer;
}

article .cv-expand-item:nth-of-type(even){
    background-color: var(--primary-light);
    background-image: url("/images/colored-background.jpg");
}

article .cv-expand-item.first{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

article .cv-expand-item.last{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

article .cv-expand-item .expand-text-container {
    display: flex;
    align-items: center;
}

article .cv-expand-item .expand-preview-text {
    color: var(--secondary-dark);
    font-size: 1rem;
    opacity: 0.8;
    transition: opacity 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

article .cv-expand-item:hover .expand-preview-text {
    opacity: 0.9;
}

article .cv-expand-item.expanded .expand-preview-text {
    opacity: 0.9;
}

article .cv-expand-item .expand-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--highlight);
}

article .cv-expand-item .expand-icon-container i {
    opacity: 0.5;
    transition: opacity 0.2s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

article .cv-expand-item:hover .expand-icon-container i {
    opacity: 0.9;
}

article .cv-expand-item.expanded .expand-icon-container i {
    transform: rotate(-180deg);
}

article .cv-expand-item .expand-content-container {
    margin-top: 0;
    position: relative;
    height: 0;
    overflow: hidden;
}

article .cv-expand-item.expanded .expand-content-container {
    margin-top: 30px;
    height: 100%;
    overflow: visible;
}

article .cv-expand-item.expanded .expand-content-container.time-beam {
    padding-top: 10px;
    padding-bottom: 2px;
}

article .cv-expand-item.expanded .expand-content-container.time-beam::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 23px;
    width: 0px;
    height: 0px;
    -webkit-transform:rotate(360deg);
    border-style: solid;
    border-width: 0 7px 10px 7px;
    border-color: transparent transparent var(--secondary) transparent;
}

article .cv-expand-item.expanded .expand-content-container.time-beam::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25px;
    width: 10px;
    height: 2px;
    background-color: var(--secondary);
}

article .cv-expand-item .expand-content-container .time {
    padding-left: 45px;  
    position: relative;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

article .cv-expand-item .expand-content-container .time::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 0;
    width: 2px;
    height: 100%; 
    background-color: var(--secondary); 
}

article .cv-expand-item .expand-content-container .time::after {
    content: '';
    position: absolute;
    left: 25px;
    top: calc(50% - 5px);
    width: 10px;
    height: 10px; 
    background-color: var(--secondary); 
    border-radius: 6px;
}

article .cv-expand-item .expand-content-container .action {
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

/* Kontaktformular */
.form-control {
    margin-bottom: 15px;
}

#contact-form .website {
    display: none;
}

#contact-form .submit_reset {
    margin-top: 15px;
}

#contact-form input[type="submit"] {
    margin-right: 15px;
}

#contact-form input[type="submit"], #contact-form input[type="reset"], button {
    background-color: var(--secondary);
    color: white;
    border-radius: 5px;
    padding: 7.5px 15px;
    border: none;
    transition: background 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#contact-form input[type="submit"]:hover, #contact-form input[type="reset"]:hover, button:hover {
    cursor: pointer;
    background-color: var(--highlight);
}

.sent {
    padding: 10px;
    border-radius: 2px;
    border-width: 4px;
    border-style: solid;
    font-weight: bold;
    color: var(--secondary);
}

.sent.successful {
    border-color: #50B150;
}

.sent.unsuccessful {
    border-color: #B7373B;
}


/* Footer */

.footer .container {
    padding-top: 30px;
    padding-bottom: 45px;
}

.footer .container .adresses p {
    line-height: 2;
}

.footer .container .adresses a {
    color: #eaf5fa;
    font-size: 1em;
    background-image: none !important;
    opacity: 1;
    transition: opacity 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer .container .adresses a:hover {
    opacity: 0.6;
}

.footer .container .adresses {
    margin-top: 15px;
}

.footer .container .imprint {
    margin-top: 15px;
}

@media screen and (min-width: 768px) {

    .mobile-padding-top-60 {
        padding-top: 0;
    }

    .margin-top-15-desktop {
        margin-top: 15px;
    }

    .navbar-expand-md .navbar-nav .nav-link {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar-expand-md .navbar-toggler {
        display: none 
    }

    .footer .container {
        padding-bottom: 30px;
    }

    .footer .container .adresses {
        margin-top: 0;
    }

    .footer .container .adresses.right {
        text-align: right;
    }

    .footer .container .adresses.right h2::after {
        left: auto;
        right: 2px;
    }

    .footer .container .imprint {
        text-align: right;
        margin-top: 0;
    }
}