/*
 * body
 */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 148px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--color-bodytext);
}

a {
    color: var(--color-bodytext);
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

a:hover {
    color: var(--color-primary);
}

[x-cloak] {
    display: none !important;
}

/*
 * headings
 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--h1-weight, 700);
    clear: both;
    margin: 36px 0 12px;
    color: var(--h1-color, var(--color-headertext));
}

h1 { font-size: var(--h1-size, 42px); line-height: var(--h1-line-height, 1.2); color: var(--h1-color, var(--color-headertext)); font-weight: var(--h1-weight, 700); }
h2 { font-size: var(--h2-size, 38px); line-height: var(--h2-line-height, 1.2); color: var(--h2-color, var(--color-headertext)); font-weight: var(--h2-weight, 700); }
h3 { font-size: var(--h3-size, 34px); line-height: var(--h3-line-height, 1.2); color: var(--h3-color, var(--color-headertext)); font-weight: var(--h3-weight, 700); }
h4 { font-size: var(--h4-size, 28px); line-height: var(--h4-line-height, 1.3); color: var(--h4-color, var(--color-headertext)); font-weight: var(--h4-weight, 700); }
h5 { font-size: var(--h5-size, 24px); line-height: var(--h5-line-height, 1.3); color: var(--h5-color, var(--color-headertext)); font-weight: var(--h5-weight, 600); }
h6 { font-size: var(--h6-size, 20px); line-height: var(--h6-line-height, 1.4); color: var(--h6-color, var(--color-headertext)); font-weight: var(--h6-weight, 600); }

.mc-block-cover__inner-container > h2 {
    font-size: 42px;
    line-height: 48px;
}

@media (min-width: 992px) {
    .mc-block-cover__inner-container > h2 {
        font-size: 64px;
        line-height: 80px;
    }
}

/*
 * app
 */
#app {
    opacity: 0;
    visibility: hidden;
    transition: visibility 1s, opacity 1s;
}

.mc-preloader-end #app, [vce-ready] #app {
    visibility: visible;
    opacity: 1;
}

/*
 * header
 */
.masthead {
    padding: var(--header-padding, 24px 0);
    background-color: rgba(255, 255, 255, 0.9);
    background-color: var(--header-bg, var(--color-header));
    -webkit-backdrop-filter: var(--header-blur, saturate(180%) blur(20px));
    backdrop-filter: var(--header-blur, saturate(180%) blur(20px));
    -webkit-box-shadow: var(--header-shadow, 0 25px 30px 0 rgba(0, 0, 0, 0.15));
    box-shadow: var(--header-shadow, 0 25px 30px 0 rgba(0, 0, 0, 0.15));
}

.masthead .nav-masthead .nav-item {
    display: flex;
    align-items: center;
}

.masthead .nav-masthead .nav-item a {
    font-weight: 700;
    padding: 16px;
    color: var(--header-text, var(--color-text));
}

.masthead .nav-masthead .nav-item a:hover,
.masthead .nav-masthead .nav-item a.is-current {
    color: var(--color-text);
}

.masthead .nav-masthead .nav-item .dropdown-menu a {
    color: var(--color-dropdowntext, #000);
}

.masthead .nav-masthead .nav-item .dropdown-menu a:hover,
.masthead .nav-masthead .nav-item .dropdown-menu a.is-current {
    color: var(--color-dropdowntext, #000);
}

.masthead-brand {
    margin: 0;
}

.masthead-brand img {
    display: inline-block;
    vertical-align: center;
    width: auto;
    height: 56px;
}

/*
 * footer
 */
.mastfoot {
    color: var(--footer-text, #fff);
    padding: var(--footer-padding, 30px 0);
    background-color: var(--footer-bg, var(--color-footer));
}

.mastfoot .links {
    text-align: right;
}

.mastfoot .links ul {
    float: right;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mastfoot .links ul li {
    float: left;
    display: inline-block;
}

.mastfoot .links ul li a {
    color: var(--footer-text, #fff);
}

.mastfoot .links ul li a:hover {
    color: var(--footer-text, #fff);
}

.mastfoot .links ul li + li {
    margin-left: 24px;
}

.mastfoot .copyright a {
    color: var(--footer-text, #fff);
}

.mastfoot .copyright a:hover {
    color: var(--footer-text, #fff);
}

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1200px;
    }
}

.social-element {
    color: #ffffff;
}

.social-element:hover {
    text-decoration: none;
    color: var(--color-primary);

}

.floating-socials {
    position: fixed;
    bottom: 25px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-floating {
    color: #fff;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    padding: 10px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 1;
    border-radius: 50px;
    cursor: pointer;
}

.ttb-floating {
    z-index: 999;
    background-image: var(--gradient-primary);
    width: 60px;
    height: 60px;
    padding: 10px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 1;
    border-radius: 50px;
    cursor: pointer;
}

.bb-floating {
    position: fixed;
    bottom: 25px;
    left: 20px;
    z-index: 999;
    background-image: var(--gradient-primary);
    padding: 10px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 1;
    border-radius: 50px;
    cursor: pointer;
}

.nav-item {
    position: relative;
}

.dropdown-menu {
    display: block;
}

.nav-item:hover > .dropdown-menu {
    position: absolute;
    opacity: 1;
    margin-top: -10px;
    visibility: visible;
}

.dropdown-menu {
    min-width: 260px;
    left: -4px;
    float: right;
    background: var(--color-dropdownbg, #fff);
    position: relative;
    border-radius: 2px;
    padding: 0;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    transition: margin 0.3s, visibility 0.1s, opacity 0.4s;
    border: 0;
    border-radius: 4px;
    padding: 4px;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.15);
}

.dropdown-item,
.dropdown-item:hover {
    background-color: transparent;
}

.dropdown-menu a {
    font-size: 14px;
}

.dropdown-menu.show {
    visibility: visible;
    opacity: 1;
}

.dropdown-toggle {
    position: relative;
}

.dropdown-toggle::after {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

.dropdown-toggle::after {
    position: relative;
    top: 1px;
    right: -5px;
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border: 0.125rem solid;
    border-bottom: 0;
    border-left: 0;
    border-radius: 1px;
    text-indent: -624.9375rem;
}

.placeholder-map,
.placeholder-video {
    width: 100%;
    text-align: center;
    color: #fff;
    text-shadow: -1px -1px 0 #000, 0 -1px 0 #000, 1px -1px 0 #000, 1px 0 0 #000,
    1px 1px 0 #000, 0 1px 0 #000, -1px 1px 0 #000, -1px 0 0 #000;
    position: relative;
    display: block;
    min-height: 300px;
}

.placeholder-map::before {
    content: '';
    background: url(../images/Platzhalter_Karte.svg);
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.placeholder-video::before {
    content: '';
    background: url(../images/Platzhalter_Video.svg);
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.placeholder-content {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    color: #fff;
    z-index: 1;
    top: 50%;
    top: 50%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.modal-backdrop {
    z-index: 0;
}

.mc-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}

.mc-block-embed__wrapper > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dropdown-menu > .dropdown-item + .dropdown-item {
    padding-top: 0 !important;
}

.close-icon {
    position: absolute;
    cursor: pointer;
    top: 0;
    right: 0;
    margin-right: 1em;
    font-size: 1.5em;
}

/* ──────────────────────────────────────────────────────
   Responsive: Tablet
   ────────────────────────────────────────────────────── */
@media (max-width: 992px) {
    /* Scale down headings on tablets */
    h1 { font-size: clamp(28px, 4.5vw, var(--h1-size, 42px)); }
    h2 { font-size: clamp(24px, 4vw, var(--h2-size, 38px)); }
    h3 { font-size: clamp(22px, 3.5vw, var(--h3-size, 34px)); }
    h4 { font-size: clamp(20px, 3vw, var(--h4-size, 28px)); }

    /* Reduce scroll padding (header may be smaller) */
    html {
        scroll-padding-top: 100px;
    }

    /* Dropdown menus: fit on tablets */
    .dropdown-menu {
        min-width: 200px;
    }
}

/* ──────────────────────────────────────────────────────
   Responsive: Mobile
   ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Headings: smaller on phones */
    h1 { font-size: clamp(24px, 6vw, 36px); }
    h2 { font-size: clamp(22px, 5vw, 32px); }
    h3 { font-size: clamp(20px, 4.5vw, 28px); }
    h4 { font-size: clamp(18px, 4vw, 24px); }
    h5 { font-size: clamp(16px, 3.5vw, 22px); }
    h6 { font-size: clamp(15px, 3vw, 20px); }

    /* Heading margins: tighter on mobile */
    h1, h2, h3, h4, h5, h6 {
        margin: 20px 0 8px;
    }

    /* Footer: stack links vertically */
    .mastfoot .links {
        text-align: center;
        margin-top: 1rem;
    }

    .mastfoot .links ul {
        float: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    .mastfoot .links ul li {
        float: none;
        display: inline-block;
    }

    .mastfoot .links ul li + li {
        margin-left: 0;
    }

    .mastfoot .copyright {
        text-align: center;
    }

    /* Header: smaller logo on mobile */
    .masthead-brand img {
        height: 40px;
    }

    /* Scroll padding for smaller header */
    html {
        scroll-padding-top: 80px;
    }

    /* Floating socials: slightly smaller */
    .wa-floating,
    .ttb-floating {
        width: 48px;
        height: 48px;
    }
}

/* ──────────────────────────────────────────────────────
   Responsive: Small phones
   ────────────────────────────────────────────────────── */
@media (max-width: 576px) {
    h1 { font-size: clamp(22px, 7vw, 30px); }
    h2 { font-size: clamp(20px, 6vw, 26px); }
    h3 { font-size: clamp(18px, 5.5vw, 24px); }

    .mastfoot {
        padding: 20px 0;
    }

    .mastfoot .links ul {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

