@charset "utf-8";




/* --- Allgemeine Definitionen --- */
html, body {
    min-height: 100%;
    height: 100%;
}

html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    line-height: 1.6;
    font-family: var(--FontFamily);
    font-size: var(--FontSizeP);
    background-color: var(--BodyBackgroundColor);
    color: var(--ColorP);
}

main {
    overflow: unset;
}

a {
    color: var(--ColorA);
    text-decoration: none;
}

a:hover {
    cursor: pointer;
    color: var(--accentColor);
}

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

.sl-overlay {
    background: var(--LightBoxBackgroundColor);
    opacity: 0.9;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button,
.sl-wrapper .sl-navigation button.sl-prev,
.sl-wrapper .sl-next,
.sl-wrapper .sl-prev {
    color: var(--LightBoxColor);
    font-size: 40px;
}

.backToTop {
    background-color: var(--backToTop) !important;
}

.col_4_4 {
    max-width: var(--ContentMaxWidth) !important;
    width: calc(100% - 40px);
}

.ext_Cookies input {
    background: var(--CookieBackgroundColor);
    color: var(--CookieColor);
    border: 0;
    border-radius: var(--BorderRadius);
    padding: 10px 10px 7px 10px;
    line-height: 1;
    margin: 4px;
    display: inline-block;
    cursor: pointer;
}

#content .CMS div.backgroundImage.ImageWrapper,
#content .CMS .backgroundImage > div.ImageWrapper {
    pointer-events: none;
}

#main {
    min-height: 100%;
    position: relative;
}

#main .ext_SlideJS h2,
#main .ext_SlideJS h1 {
    font-size: var(--FontSizeH1);
    text-transform: uppercase;
    font-weight: 700;
}

#main .ext_SlideJS h3 {
    font-size: var(--FontSizeH3);
    text-transform: uppercase;
    font-weight: 600;
}

#content * {
    font-size: var(--FontSizeP);
}

#content h1 *,
#content h1 {
    font-size: var(--FontSizeH1);
    color: var(--ColorH1);
    margin-top: 5px;
    margin-bottom: 10px;
    line-height: 1.1;
    font-weight: 700;
}

#content h2 *,
#content h2 {
    font-size: var(--FontSizeH2);
    color: var(--ColorH2);
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    line-height: 1.1;
}

#content h3 *,
#content h3 {
    font-size: var(--FontSizeH3);
    color: var(--ColorH3);
    font-weight: 600;
    line-height: 1.15;
}

#content h4 *,
#content h4 {
    font-size: var(--FontSizeH4);
    color: var(--ColorH4);
    line-height: 1.15;
}

#content h5 *,
#content h5 {
    font-size: var(--FontSizeH5);
    color: var(--ColorH5);
    line-height: 1.2;
}

#Consent,
#Cookies {
    background: var(--CookieBackgroundColor);
}

#Consent a,
#Cookies a {
    color: var(--CookieColor);
}

#content {
    font-size: var(--FontSizeP);
    color: var(--ColorP);
    padding-bottom: 175px;
    z-index: 1;
    position: relative;
    height: auto;
}

#header .col_4_4 {
    max-width: 1240px !important;
    width: 100%;
}

/* --- Formulare --- */
#content textarea,
#content div.ext_FormBuilder input,
#content select,
#content input[type="text"],
#content input[type="date"],
#content input[type="email"],
#content input[type="submit"] {
    border: 1px solid var(--inputBorderColor);
    background-color: var(--inputBackgroundColor);
    color: var(--inputTextColor);
    font-size: 95%;
    border-radius: var(--BorderRadius);
    padding: 10px;
    font-weight: normal;
}

#content input[type=submit] {
    background-color: var(--mainColor);
    border: 1px solid var(--mainColor);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#content input[type=submit]:hover {
    background-color: var(--mainColorLight) !important;
    border: 1px solid var(--mainColorLight);
    color: #fff;
}

#content .anker_button input[type="submit"],
#content .anker_button input[type="submit"]:hover {
    background-color: transparent !important;
    border: 0 solid transparent;
}

#content img.CMSimage,
#content img.image {
    margin: 0;
    padding: 0;
    width: 100%;
    position: inherit;
}


/* --- Header --- */
#header {
    text-align: right;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--headerHeight);
    background-color: var(--headerBackgroundColor);
    color: var(--headerColor);
    z-index: 100;
    box-sizing: border-box;

    -webkit-transition-property: top, box-shadow;
    transition-property: top, box-shadow;
    -webkit-transition-duration: 0.25s;
    transition-duration: 0.25s;
}

#header.second {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

#header.up {
    --UpTop: -62px;
    top: var(--UpTop);
}

#header nav {
    margin-top: 40px;
    transition: all ease-in-out 0.2s;
}

#header.up nav {
    margin-top: calc(var(--headerHeight) + var(--UpTop) + 15px);
}

#HeaderExtnsion {
    padding-top: var(--headerHeight);
    position: relative;
    z-index: 1;
}

#menu {
    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

#header #Logo {
    display: block;
    overflow: hidden;
    height: 110px;
    transition: all ease-in-out 0.2s;
    position: absolute;
    z-index: 2;
}

#header #Logo img {
    height: 80px;
    margin-top: 15px;
    transition: all ease-in-out 0.2s;
}

#header.up #Logo {
    height: 50px;
    margin-top: 59px;
}

#header.up #Logo img {
    height: 50px;
    margin-top: 0;
}

/* --- Navigation --- */
nav.main {
    display: inline-block;
    margin: 0;
    padding: 0;
}

#header nav {
    width: 100%;
}

#menu ul.menu {
    margin: 0;
    margin-left: 0;
    padding: 0;
}

#menu ul.menu li {
    list-style-type: none;
    display: inline-block;
    padding: 0;
    margin: 0;
    position: relative;
}

#menu ul.menu li a {
    color: var(--MenuColor);
    padding: 7px 12px;
    margin: 0;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-block;
    position: relative;
    transition: color 0.2s ease;
}

#menu ul.menu li.active > a,
#menu ul.menu li.expand > a,
#menu ul.menu li a:hover {
    color: var(--MenuColorHover);
}

/* Untermenü */
#menu ul.menu li ul {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    z-index: 999;
    border-top: 3px solid var(--mainColor);
}

#menu ul.menu li:hover > ul {
    display: block !important;
}

#menu ul.menu li ul li {
    display: block;
}

#menu ul.menu li ul li a {
    color: var(--MenuColor);
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    text-transform: none;
    border-bottom: 1px solid #f0f0f0;
}

#menu ul.menu li ul li a:hover {
    color: var(--mainColor);
    background-color: #f7f7f7;
}

/* Menü-Unterline-Effekt */
#main .menu li a::after {
    content: " ";
    position: absolute;
    background: var(--mainColor);
    top: 100%;
    margin-top: -3px;
    border-radius: 2px;
    left: 12px;
    width: calc(100% - 24px);
    height: 2px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
    transform-origin: right center;
    box-sizing: border-box;
    display: block;
}

#main .menu li ul li a::after {
    display: none;
}

#menu ul.menu li.active > a::after,
#menu ul.menu li.expand > a::after,
#main .menu li > a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

/* Letzter Menüpunkt als Button (Kontakt) */
@media only screen and (min-width: 900px) {
    #menu nav > div > ul.menu > li:last-child > a {
        width: max-content;
        position: relative;
        overflow: hidden;
        border-radius: var(--BorderRadius);
        padding: 10px 20px;
        color: #fff !important;
        background-color: var(--mainColor);
        transition: background-color 0.2s ease;
        margin-left: 8px;
    }

    #menu nav > div > ul.menu > li:last-child > a:hover {
        background-color: var(--accentColor) !important;
        color: #fff !important;
    }

    #menu nav > div > ul.menu > li:last-child > a::after {
        display: none;
    }

    #menu nav.main > div > ul.menu li.expand > ul.menu,
    #menu nav.main > div > ul.menu li.expand:hover > ul.menu {
        display: none !important;
        pointer-events: none;
    }
}

/* Hamburger-Menü-Button */
#MenuButton {
    position: absolute;
    display: block;
    height: 50px;
    width: 50px;
    margin: 0;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
    top: 60px;
    right: 25px;
    z-index: 20;
}

/* Mobiles Menü */
nav.second {
    opacity: 0;
    overflow: hidden;
    height: 100vh;
    display: table;
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.97);
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

nav.second .TableCell {
    display: none;
}

nav.second.open {
    width: 100vw;
    opacity: 1;
}

nav.second.open .TableCell {
    display: table-cell;
}

nav.second .TableCell {
    vertical-align: middle;
    text-align: center;
}

nav.second .TableCell > div:first-child {
    display: none;
}

nav.second ul.menu li {
    display: block;
    margin: 0;
    padding: 0 0 5px;
}

nav.second ul.menu li a {
    font-size: 22px;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
    color: var(--mainColor);
    display: block;
    text-transform: uppercase;
    font-weight: 600;
}

#menu nav.second ul.menu li a:hover,
#menu nav.second ul.menu li.active > a {
    background-color: var(--mainColor);
    color: #fff;
}

footer ul.menu li a,
nav ul.menu li a {
    letter-spacing: normal;
}

footer ul.menu li.active a,
nav ul.menu li.expand > a,
nav ul.menu li.active a {
    font-weight: bold;
}

/* --- Footer --- */
#FooterWrapper {
    background-color: var(--footerBackgroundColor);
    position: absolute;
    width: 100%;
    bottom: 0;
    min-height: 175px;
    z-index: 2;
    font-weight: normal;
}

#footer {
    text-align: left;
    padding-top: 30px;
    padding-bottom: 30px;
}

footer #footer {
    display: flex !important;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
    align-items: flex-start;
}

#footer > div,
#footer > img {
    display: inline-block;
}

#footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

#footer li.active a,
#footer a:hover {
    color: #fff;
}

#footer .image img {
    max-height: 55px;
    filter: brightness(0) invert(1);
}

#footer ul.menu {
    padding: 0;
    margin: 0;
}

#footer ul.menu li {
    list-style: none;
    padding: 2px 0;
}

#footer ul.menu li a {
    font-size: 14px;
}

#footer p,
#footer address {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
    font-style: normal;
}

/* --- Sektions-Layout --- */
#content section.CMS div.col_4_4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: initial;
    align-items: stretch;
}

#content section.CMS div.col_4_4 .CMS.width25 { width: 23%; }
#content section.CMS div.col_4_4 .CMS.width33 { width: 31%; }
#content section.CMS div.col_4_4 .CMS.width50 { width: 47%; }
#content section.CMS div.col_4_4 .CMS.width75 { width: 73%; }
#content section.CMS div.col_4_4 .CMS,
#content section.CMS div.col_4_4 .CMS.image,
#content section.CMS div.col_4_4 .CMS.width100 { width: 100%; }

#content section.CMS div.col_4_4 .CMS h2 {
    margin-top: 0;
}

section.AbstandObenUnten {
    margin-top: 50px;
    margin-bottom: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
}

section.kleinerAbstandObenUnten {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* --- Anker-Button --- */
#content .anker_button {
    position: relative;
    width: max-content;
    height: auto;
    overflow: hidden;
    border-radius: var(--BorderRadius);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    margin: 0 auto;
    padding: 14px 28px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    z-index: 1;
    background-color: var(--mainColor);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

#content .anker_button:hover {
    background-color: var(--accentColor);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

#content .anker_button:active {
    transform: scale(0.97);
}

#content .anker_button a,
#content .anker_button a:hover {
    color: #fff;
}

/* --- Service-Buttons --- */
#content section.serviceButtons .CMS.col_4_4 {
    flex-wrap: wrap;
    display: flex !important;
    justify-content: center !important;
    gap: 25px;
    flex-flow: row wrap;
    align-items: normal;
}

#content section.serviceButtons .CMS.col_4_4 > div {
    width: auto;
}

#content section.serviceButtons .CMS.col_4_4 > div.CMS > div {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    align-content: center;
    justify-content: center;
    width: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    padding: 18px 22px;
    border-radius: var(--BorderRadius);
    overflow: hidden;
    cursor: default;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    background-color: var(--mainColor);
    transition: background-color 0.2s ease;
    font-weight: 600;
}

#content section.serviceButtons .CMS.col_4_4 > div.CMS > div:hover {
    background-color: var(--mainColorLight);
}

/* --- Show-Box --- */
#content .showBox {
    transition: all ease-in-out 0.3s;
    cursor: pointer;
    background-color: #ffffff;
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    border-radius: var(--BorderRadius);
    z-index: 1;
    margin-bottom: 15px;
}

#content .showBox:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
    z-index: 4;
}

#content .showBox .backgroundImage > div.CMStext,
#content .showBox .backgroundImage > div.CMS.text {
    color: #fff;
    opacity: 0;
    transition: all ease-in-out 0.4s;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    background-color: rgba(26, 43, 60, 0.0);
}

#content .showBox:hover .backgroundImage > div.CMStext,
#content .showBox:hover .backgroundImage > div.CMS.text {
    opacity: 1;
    background-color: rgba(26, 43, 60, 0.75);
}

/* --- Galerie --- */
#content .galarie div[class*="image"] {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

#content .galarie div[class*="image"] > div {
    flex: 1 30%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border-radius: var(--BorderRadius);
}

#content .galarie div[class*="image"] > div.ImageWrapper img {
    transition: transform 500ms ease-in-out;
    display: block;
}

#content .galarie div[class*="image"] > div:hover img {
    transform: scale(1.08);
}

/* --- Immobilien-Karten --- */
#content .immobilie-card {
    background: #fff;
    border-radius: var(--BorderRadius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

#content .immobilie-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

#content .immobilie-card .card-info {
    padding: 18px 20px;
}

#content .immobilie-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--mainColor);
}

#content .immobilie-card .card-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 12px;
}

#content .immobilie-card .card-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--mainColor);
    color: #fff;
    border-radius: var(--BorderRadius);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: background-color 0.2s ease;
}

#content .immobilie-card .card-link:hover {
    background-color: var(--accentColor);
    color: #fff;
}

/* --- Highlight-Sektion (dunkel) --- */
#content .section-dark {
    background-color: var(--mainColor);
    color: #fff;
    padding: 60px 0;
}

#content .section-dark h1,
#content .section-dark h2,
#content .section-dark h3,
#content .section-dark h4,
#content .section-dark p {
    color: #fff;
}

#content .section-dark a {
    color: var(--accentColor);
}

/* --- Blur --- */
.blur {
    filter: blur(5px);
}

/* --- Waves --- */
.ocean {
    height: 30px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-x: hidden;
}

.wave {
    background-repeat: repeat-x !important;
    background-position: center !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%23F7F7F7'/%3E%3C/svg%3E");
    position: absolute;
    width: 200%;
    height: 100%;
    animation: wave 60s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.wave:nth-of-type(2) {
    bottom: 0;
    animation: wave 68s linear reverse infinite;
    opacity: 0.5;
}

.wave:nth-of-type(3) {
    bottom: 0;
    animation: wave 40s -1s linear infinite;
    opacity: 0.5;
}

@keyframes wave {
    0% { transform: translateX(0); }
    50% { transform: translateX(-25%); }
    100% { transform: translateX(-50%); }
}

/* --- Bild mit Wave --- */
#content .bildWave {
    width: 100%;
    min-height: 80vh;
    padding-bottom: 75px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* --- SlickSlider --- */
#content .SlickSlide.Slider .Slide {
    max-width: 100vw;
    overflow: hidden;
}

div > div:has(.ext_ScrollDownImageAnimation) {
    overflow: hidden;
    min-height: 72vh;
}

/* ================================
   RESPONSIVE
================================ */

@media only screen and (max-width: 1500px) {
    #footer > div.image { width: 20%; }
    #footer > div.Footer { width: 75%; }
}

@media only screen and (max-width: 1090px) and (min-width: 900px) {
    #menu ul.menu li a { font-size: 13px; }
    #menu ul.menu li:first-child { display: none; }
}

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

@media only screen and (max-width: 1225px) {
    div > :has(.ext_ScrollDownImageAnimation) {
        min-height: 50vh;
    }
}

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

    #header.up nav {
        margin-top: 0;
    }

    #header,
    #header.down,
    #header.up {
        top: 0;
    }

    #MenuButton {
        top: 30px;
        right: 20px;
    }

    nav.second {
        opacity: 0;
        padding-top: 60px;
    }

    nav.second.open {
        position: fixed;
        opacity: 1;
        overflow: auto;
        height: 100vh;
        display: block;
        width: 100vw;
    }

    nav.second .TableCell > div:first-child {
        display: block;
        position: relative;
        height: auto;
        overflow: visible;
        width: 100%;
    }

    #header .TableCell ul.menu {
        display: block !important;
        position: relative;
        height: auto;
        width: 100%;
        top: auto;
        overflow: visible;
        opacity: 1;
    }

    #content section.serviceButtons .CMS.col_4_4 > div.CMS {
        width: calc(50% - 15px);
    }

    #footer > div.image { width: 100%; margin-bottom: 20px; }
    #footer > div.image img { max-height: 40px; }
    #footer > div.Footer { width: 100%; }

    #footer ul.menu li {
        padding: 0;
    }
}

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

    #header {
        height: 60px;
    }

    #header #Logo {
        top: 0;
        height: auto;
        width: 65px;
    }

    #header #Logo img {
        height: 45px;
        margin-top: 8px;
        width: auto;
    }

    #MenuButton {
        top: 5px;
        right: 10px;
    }

    #content {
        padding-bottom: 300px;
    }

    .width33,
    .width50,
    .width75,
    .width100 { width: 100% !important; }
    .width25 { width: 47% !important; }

    #content section.CMS div.col_4_4 .CMS.width25,
    #content section.CMS div.col_4_4 .CMS.width33,
    #content section.CMS div.col_4_4 .CMS.width50,
    #content section.CMS div.col_4_4 .CMS.width75,
    #content section.CMS div.col_4_4 .CMS.width100 {
        float: none;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }

    #content section.serviceButtons .CMS.col_4_4 > div.CMS {
        width: 100%;
        margin: 0 15px;
    }

    .img { max-width: 100%; }
    .col_4 { margin: 1% 0; }
    .col_1_4, .col_2_4, .col_3_4, .col_4_4 { width: 100%; }

    .backgroundImage {
        background-size: cover;
        background-position: center;
        background-attachment: inherit;
    }

    #content .anker_button {
        font-size: 15px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        word-break: break-word;
        white-space: normal;
    }

    #content .SlickSlide.Slider,
    #content .SlickSlide.Slider .Slide {
        max-height: 76vh !important;
    }

    #content .SlickSlide.Slider .Slide {
        overflow: hidden !important;
    }

    #footer > div {
        display: block;
        text-align: center;
        width: 90%;
        margin: 10px auto;
    }

    #content .galarie div[class*="image"] {
        justify-content: center;
        padding: 10px;
    }

    .backToTop.cd-is-visible {
        bottom: 66px;
        width: 45px;
        height: 45px;
        border-radius: 50%;
    }
}
