.elementor-kit-6{--e-global-color-primary:#FF0000;--e-global-color-secondary:#017A8B;--e-global-color-text:#FFFFFF;--e-global-color-accent:#FFFFFF;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;color:var( --e-global-color-text );font-family:"Trebuchet MS", Sans-serif;font-size:18px;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-kit-6 a{color:var( --e-global-color-accent );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1440px;}.e-con{--container-max-width:1440px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */:root {
    --custom-padding: 80px;
    --custom-margin: 100px;
    
    --bg-color: #017a8b;
    --font-color: #ffffff;
    --dark-color: #006371;
    --light-color: #4ba1ad;
    --link-color: #ffffff;
    --link-hover-opacity: 0.8;
    --default-transition: 300ms;
}

@media (width < 768px) {
    :root {
        --custom-padding: 40px;
        --custom-margin: 50px;
    }
}

/* *********************** */

.fancy, .fancy div {
    font-family: "contralto-medium", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: right;
}

@media (width < 1024px) {
    .fancy, .fancy div {
        text-align: left;
    }
}

.single-page-hero {
    margin-bottom: -50px;
    img {
        aspect-ratio: 16/6;
        width: 100%;
        object-fit: cover;
    }
}

.section-bg-gradient::before {
    --background-overlay: '';
    background-image: linear-gradient(180deg, #00CCE8 0%, #005560 100%);
    opacity: .4;
    border: 1px solid #ddd;
}


body {
    background-color: var(--bg-color);
    color: var(--font-color);
    font: normal normal normal 20px/28px Graphie;
    font-family: 'graphie';
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1px;
    
    b {
        font-weight: 700;
    }
}

a {
    color: var(--link-color);
    transition: var(--default-transition);
    &:hover {
        opacity: var(--link-hover-opacity);
    }
}

.elementor-widget-button {
    .elementor-button {
        background: var(--bg-color);
        border: 1px solid #ffffff;
        border-radius: 64px;
        transition: var(--default-transition);
        font-weight: 400;
        font-size: 18px;
        padding: 20px 30px;
        font-family: 'graphie';
        letter-spacing: 1px;
        
        display: inline-block;

        .elementor-button-text::after {
            transition: var(--default-transition);
            display: inline;
            position: relative;
            margin-left: 6px;
            margin-right: 2px;
            content: "➔";
        }
        
        &:hover, &:active {
            background: var(--light-color);
            border: 1px solid var(--light-color);
            
            .elementor-button-text::after {
                margin-left: 8px;
                margin-right: 0;
            }
        }
    }
    
    &.with-icon, &.with-fancy-icon {
        .elementor-button {
             border: none;
             .elementor-button-text::after {
                 display: none;
             }
             .elementor-button-icon {
                 margin-right: 6px;
             }
        }
    }
    
    &.with-fancy-icon {
        .elementor-button {
            background: var(--light-color);
            padding: 0;
            .elementor-button-icon {
                background: var(--font-color);
                border-radius: 64px;
                width: 48px;
                display: inline-block;
                
                svg {
                    fill: var(--light-color);
                    transform: translate(1px, 15px) scale(1.2);
                }
            }
            
            .elementor-button-text {
                white-space: nowrap;
                margin: 14px 24px 14px 0;
                text-transform: uppercase;
                letter-spacing: 2px;
                font-size: 20px;
                font-weight: 600;
            }
        }
    }
    
    &.elementor-button-info {
        .elementor-button  {
            background: var(--light-color);
            border: none;
        }
    }
    
    &.elementor-button-success {
        .elementor-button  {
            background: none;
            border: none;
            padding: 0;
            border-radius: 0;
            font-weight: 700 !important;
            
            .elementor-button-text::after {
                font-weight: 400;
            }
        }
    }
}

.service-icon {
    border: 1px solid #ffffff;
    border-radius: 128px;
    width: 64px !important;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    img {
        margin: 8px;
        height: 42px;
        width: 42px;
        transform: translateY(-4px);
    }
}

.elementor-social-icons-wrapper {
    margin-top: 6px;
    filter: brightness(0) invert(1);
}

/* ******************* */

p,
ul, ol {
    margin: 0;
}

p, div, ul, ol, span, body {
    font-family: 'graphie';
    letter-spacing: 1px;
}

p+*, *+p,
ul+*, *+ul,
ol+*, *+ol {
    margin-top: 15px;
}

ul, ol {
    padding: 0 0 0 20px;
}

img {
    width: 100%;
    height: auto;
}

.padding-0 {
    padding: 0;
}

.text-light,
.text-light a {
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'graphie';
    line-height: 1.1;
}

h1 {
    font-size: 50px;
}


/* Abstände */

.section-margin {
    margin-top: var(--custom-margin);
    margin-bottom: var(--custom-margin);
}

.section-padding {
    padding-top: var(--custom-padding);
    padding-bottom: var(--custom-padding);
}

/* Header */

#main-navigation {
    li {
        transition: var(--default-transition);
        text-transform: uppercase;
        border-radius: 30px 30px 0 0;
        font-size: 18px;
        padding: 10px 0 8px 0;
        letter-spacing: 1.8px;
        &:hover, &:active {
            background-color: var(--font-color) !important;
            a {
                color: var(--bg-color) !important;
            }
        }
        .elementor-nav-menu--dropdown {
            background-color: var(--dark-color);
            border-radius: 0 0 30px 30px;
            padding-bottom: 25px;
            li {
                --displace: 20px;
                border-radius: 0;
                letter-spacing: 1.6px;
                font-size: 16px;
                height: auto;
                padding: 0;
                padding-right: var(--displace);
                &:hover, &.current-menu-item {
                    background-color: var(--light-color) !important;
                    padding-left: var(--displace);
                    padding-right: 0;
                    &::before {
                        display: inline;
                        position: absolute;
                        left: 24px;
                        top: 50%;
                        transform: translateY(-50%);
                        content: "➔";
                    }
                }
                &.current-menu-item {
                    --radius: 34px;
                    border-radius: var(--radius);
                    margin-right: calc(var(--radius) * -0.5);
                    margin-left: calc(var(--radius) * -0.5);
                }
            }
            a {
                background-color: transparent !important;
                color: var(--font-color) !important;
                &:hover, &.current-menu-item  {
                    opacity: 1 !important;
                }
            }
            
        }
    }
    
}

#page-header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--font-color);
}

#page-header.elementor-sticky--effects {
    background-color: var(--e-global-color-secondary);
}

@media (width < 1024px) {
    #main-navigation {
        background-color: var(--light-color) !important;
        
        .elementor-menu-toggle {
            filter: brightness(0) invert(1);
        }
    
        ul {
            background-color: var(--light-color) !important;
            border-radius: 0 !important;
        }
        
        li, li:hover, li:active {
            background-color: var(--light-color);
            border-radius: 0;
            padding: 0;
            
            a, a:hover, a:active {
                background-color: var(--light-color);
                color: var(--font-color) !important;
            }
            
            &.menu-item-has-children {
                &::after {
                    margin-left: 8px;
                    content: "▶";
                    transform: scale(0.7);
                    position: absolute;
                    right: 10px;
                    top: 8px;
                }
            }
            
        }
        
    }
    
}


/* Hero */

#page-hero {
    margin-top: 20px;
}

#page-hero .image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/8;
    object-fit: cover;
}

#page-hero .hero-media {
    margin-top: 20px;
}

#page-hero .content-wrapper {
    padding: clamp(25px, 5vw, 50px);
    background-color: var(--e-global-color-secondary);
}

#page-hero .content-wrapper ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

/* Loops */

.custom-loop .custom-loop-item {
    background-color: var(--e-global-color-secondary);
    padding: 0;
}

.custom-loop .custom-loop-item .e-con-inner {
    gap: 0;
}

.custom-loop .image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.custom-loop .content-wrapper {
    padding: clamp(25px, 3.5vw, 40px);
    background: linear-gradient(180deg, #00CCE855 0%, #00556055 100%);
}

.custom-loop .content-wrapper p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-item {
    gap: 0;
}

.grid-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.grid-item .content-wrapper {
    padding: clamp(25px, 3.5vw, 40px);
    background: linear-gradient(180deg, #00CCE855 0%, #00556055 100%);
}

/* Team */

#team-wrapper .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: clamp(15px, 3.5vw, 30px);
}

#team-wrapper .gallery-item {
    max-width: 30% !important;
}

#team-wrapper figcaption {
    font-size: inherit;
}

#team-wrapper figcaption span {
    font-weight: 700;
    display: block;
}

@media (width < 1024px) {
    #team-wrapper .gallery-item {
        max-width: 48% !important;
    }
}

@media (width < 768px) {
    #team-wrapper .gallery-item {
        max-width: 100% !important;
    }
}

/* Impressum & Datenschutz */

.imp-dat-accent {
    border: 3px solid var(--e-global-color-accent);
}

.imp-dat-font-small {
    font-size: 15px;
}

/* Footer */

.opening-days {
    white-space: normal;
    text-wrap: normal;
    overflow: hidden;
    
    .day {
        text-transform: uppercase;
        font-weight: bold;
    }
}

footer .footer-top {
    
}

footer .footer-bottom {
    color: #ffffff;
    a {
        color: var(--link-color);
        transition: var(--default-transition);
        &:hover {
            opacity: var(--link-hover-opacity);
        }
    }
}/* End custom CSS */