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

Jessica Schinhofen
21.04.26 - Website

Version 1.0 - Responsive

************/
:root {
    --maincolor: #3A3F44;
    --secondcolor: #7A7F82;
    --maincolor-light: #E4E5E6;

    --blue: #252E28;

    --grey: #E6E5E4;
    --dark: #333333;

    --titlefont: 'Amiri';
    --mainfont: 'Open Sans';

    /* Ergänzen */
    --brown: var(--maincolor);
    --brown-light: var(--maincolor-light);
    --darkgrey: #252E28;
    --hovercolor: #636965;
    --header-bg: rgba(245, 245, 244, 0.9);
    --header-border: rgba(0, 0, 0, 0.08);
    --submenu-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

.fade-section {
    opacity: 0;
    transform: translateY(30px);
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

::-moz-selection {
    /* Code for Firefox */
    color: rgba(0, 0, 0, 1);
    background: rgba(0, 0, 0, 0.2);
}

::selection {
    color: rgba(0, 0, 0, 1);
    background: rgba(0, 0, 0, 0.2);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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


html,
body {
    margin: 0;
    overflow-x: hidden;
}

html {
    height: 100%;
}

body {
    font-family: var(--mainfont);
    font-weight: 300;
    font-size: 15px;
    /*color: #4a4a49;*/
    color: var(--dark);
    line-height: 25px;
    background-color: #FFFFFF;
    /*
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    */
    min-height: 100%;
    position: relative;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    max-width: 100%;
    letter-spacing: 0;
}


.backcolor-2 {
    background: var(--grey);
    padding: 75px 0;
}

.backcolor-3 {
    background: var(--blue);
    padding: 75px 0;
}


a,
a:link,
a:active {
    text-decoration: none;
    color: var(--dark);

    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

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

strong {
    font-weight: 600;
}

ul,
ol {
    margin-left: 0px;
    margin-top: 20px;
}

ul,
li,
ol li {
    list-style-position: outside;
    list-style-type: none;
}

ol li {
    margin-bottom: 20px;
}


ul li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 8px;
}

ul li:before {
    content: "//";
    position: absolute;
    left: 0;
    color: var(--maincolor);
    font-weight: 600;
}

ul.list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(-30px);
    will-change: opacity, transform;
}

ul.list li:before {
    content: "→";
    color: var(--maincolor);
    font-weight: 400;
    position: absolute;
    left: 0;
}

ul.list.light li {
    font-weight: 300;
}

ul.list.light li strong {
    font-weight: 500;
}


ul.list.twocol {
    column-count: 2;
}

.img-cover {
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.img-contain {
    object-position: center;
    object-fit: contain !important;
    width: 100%;
    height: 100%;
}


.danger .inner {
    border: 3px solid var(--maincolor);
    padding: 25px;
    margin: 35px auto;
    display: block;

}

.danger .inner a {
    font-size: 25px;
    line-height: 30px;
}

.colored {
    color: var(--maincolor);
}

.colored.dark {
    color: #000;
}

.light {
    color: #fff;
}


h1,
.h1-style {
    font-size: 40px;
    line-height: 50px;
    font-weight: 400;
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: 3px;
    font-family: var(--titlefont);
}

h1 span,
.h1-style span {
    color: var(--maincolor);
    font-size: 23px;
    line-height: 33px;
    font-weight: 400;
    letter-spacing: 3px;
    display: inline-block;
}



h2,
.h2-style {
    font-size: 25px;
    line-height: 35px;
    font-weight: 300;
    text-transform: none;
    margin-bottom: 25px;
    letter-spacing: 1px;
    color: var(--dark);
    font-family: var(--titlefont);
}

h2.bigger {
    font-size: 28px;
    line-height: 35px;
    font-weight: 300;
    letter-spacing: 2px;
}

h2.high {
    font-size: 65px;
    line-height: 70px;
    font-weight: 300;
    letter-spacing: 2px;
}



h2 span,
.h2-style span {
    color: var(--maincolor);
    font-size: 25px;
    line-height: 35px;
    font-weight: 300;
    margin-bottom: 15px;

}


h3,
.h3-style {
    font-size: 20px;
    line-height: 30px;
    font-weight: 300;
    margin-bottom: 15px;
    text-transform: none;
    color: var(--dark);
    font-family: var(--titlefont);
}

h3 span,
.h3-style span {
    color: var(--maincolor);
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;

    margin-bottom: 15px;
    display: inline-block;
}

h2.high+h3 {
    font-size: 35px;
    line-height: 40px;

}


.subtitle {
    font-size: 18px;
    line-height: 30px;
    font-weight: 600;
    margin-bottom: 35px;
}

.underline {
    text-decoration: underline;
}




.cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1.25rem;
    text-transform: none;
    opacity: 1;

    color: #000;
    text-decoration: none;
    transition:
        all 0.25s ease;
}

.cta::after {
    content: "";
    background-image: url("../images/link-arrow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 38px;
    height: 13px;
    background-position: center;

    transition: all 0.25s ease;
}

a.cta:hover {
    padding-left: 10px;
}







.ctabox {
    display: inline-block;
    margin-top: 40px;
    position: relative;
}



.ctabox .cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.ctabox.left .cta-wrapper {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 40px;
}


.ctabox.vertical .cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ctabox .cta-wrapper a.main {
    background: var(--blue);
    color: #fff;
    text-transform: none;
    font-weight: 600;
    font-family: var(--mainfont);
    font-size: 16px;
    line-height: 24px;
    padding: 17px 30px 15px 30px;
    border-radius: 0px;
    border: 1px solid var(--blue);
    transition: all .25s;
}

.ctabox .cta-wrapper a.main:hover {
    background: var(--hovercolor);
    border-color: var(--hovercolor);
    color: #fff;
}

.ctabox .cta-wrapper a.dark {
    background: var(--darkgrey);
    color: #fff;
    text-transform: uppercase;
    font-weight: 400;
    font-family: var(--titlefont);
    font-size: 17px;
    line-height: 28px;
    padding: 10px 25px;
    border-radius: 0px;
    border: 1px solid var(--darkgrey);
}

.ctabox .cta-wrapper a.dark:hover {
    background: #fff;
    color: #000;
}



.ctabox small {
    display: inline-block;
    margin-top: 10px;
    font-size: 15px;
    line-height: 23px;
    font-weight: 500;
    margin-bottom: 10px;
    width: 100%;

}

.cta-divider {
    width: 1px;
    height: 40px;
    background: var(--maincolor);
}

.cta-phone {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.cta-phone-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.cta-phone-number {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.cta-phone:hover .cta-phone-number {
    color: var(--maincolor);
}


.ctabox.vertical .cta-phone {
    text-align: center;
}


.home main {
    position: relative;
    margin-top: 140px;
    z-index: 1;
}

main {
    position: relative;
    margin-top: 140px;
    z-index: 1;
}


/* ==========================================
   HEADER / LOGO / NAVIGATION
========================================== */

.site-header {
    position: fixed;
    z-index: 100;
    margin-top: 0px;
    width: 100%;
    top: 0;
    left: 0;
}

.site-header .wrapper.content-width {
    /*background: var(--header-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);*/

    padding: 1.1rem 2rem;
    position: relative;

}


.site-header {
    transition: all .25s ease;
}

.site-header.is-scrolled .header-logo-center {
    width: clamp(100px, 12vw, 180px);
}

.site-header.is-scrolled .header-logo-center img {
    width: 165px;
    max-width: 100%;
    margin-top: -12px;
}

.site-header.is-scrolled:before {
    width: 102%;
    height: 95px;
    background: var(--header-bg);
    filter: blur(3px);
    left: -5px;
    top: -10px;
    content: "";
    position: absolute;
    box-shadow: 0 6px 10px rgba(0, 0, 0, .06);
}


.header-desktop {
    display: block;
}

.header-mobile {
    display: none;
}

.navbar {
    width: 100%;
    position: relative;
    z-index: 20;
    background: transparent;
}

.desktop-menu-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
}



.nav-side {
    min-width: 0;
}

.nav-left .mainmenu {
    justify-content: flex-end;
}

.nav-right .mainmenu {
    justify-content: flex-start;
}

/* Logo */
.header-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: clamp(140px, 16vw, 240px);
    position: relative;
    z-index: 5;
}

.header-logo-center a,
.mobile-logo a,
.logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.header-logo-center img,
.header-logo-center svg,
.mobile-logo img,
.mobile-logo svg,
.logo img,
.logo svg {
    display: block;
    width: 100%;
    max-width: 220px;
    width: 220px;
    height: auto;
}

/* Hauptnavigation */
.mainmenu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mainmenu>li,
.menu-item {
    position: relative;
}

.menu-item>a[role="menuitem"],
.menu-item>.menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.35rem 0;
    margin: 0;
    border: 0;
    background: none;
    font-family: var(--mainfont);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: none;
    color: var(--dark);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.menu-toggle {
    appearance: none;
    -webkit-appearance: none;
}

/* Marker links neben aktiv / hover */
.menu-item>a[role="menuitem"],
.menu-item>.menu-toggle {
    position: relative;
}

/* Underline */
.menu-item>a[role="menuitem"]::after,
.menu-item>.menu-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    /* Abstand unter dem Text */
    width: 100%;
    height: 4px;
    background: var(--maincolor);

    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

/* Hover / Active */
.menu-item>a:hover::after,
.menu-item>a:focus-visible::after,
.menu-item>.menu-toggle:hover::after,
.menu-item>.menu-toggle:focus-visible::after,
.menu-item.current>a::after,
.menu-item.currentparent>.menu-toggle::after {
    transform: scaleX(1);
}

.menu-item>a[role="menuitem"]:hover,
.menu-item>a[role="menuitem"]:focus-visible,
.menu-item>.menu-toggle:hover,
.menu-item>.menu-toggle:focus-visible {
    color: var(--maincolor);
}

.menu-item>a[role="menuitem"]:hover::after,
.menu-item>a[role="menuitem"]:focus-visible::after,
.menu-item>.menu-toggle:hover::after,
.menu-item>.menu-toggle:focus-visible::after,
.menu-item.current>a[role="menuitem"]::after,
.menu-item.currentparent>.menu-toggle::after {
    height: 4px;
    opacity: 1;
}

.menu-item.current>a[role="menuitem"],
.menu-item.currentparent>.menu-toggle {
    color: var(--maincolor);
    font-weight: 400;
}

/* Submenu Desktop */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 250px;
    max-width: 320px;
    padding: 0.7rem 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--submenu-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 30;
    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;
}

.submenu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateX(-50%) rotate(45deg);
}

.submenu li a {
    position: relative;
    display: block;
    padding: 0.7rem 1.2rem 0.7rem 1.45rem;
    color: var(--dark);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.35;
}

/* Hover/Fokus = sichtbar */
@media (min-width: 1181px) {

    .menu-item.has-submenu:hover>.submenu,
    .menu-item.has-submenu:focus-within>.submenu,
    .menu-item.has-submenu.open>.submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

.submenu li a::before {
    content: "";
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 65%;
    background: var(--brown);
    border-radius: 10px;
    transition: width .2s ease;
}

.submenu li a:hover,
.submenu li a:focus-visible {
    color: var(--brown);
    background: rgba(37, 46, 40, 0.05);
}

.submenu li a:hover::before,
.submenu li a:focus-visible::before {
    width: 3px;
}

.menu-item:hover>.submenu,
.menu-item:focus-within>.submenu,
.menu-item.open>.submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.submenu[hidden] {
    display: none !important;
}

.menu-item.has-submenu>.menu-toggle::before {
    content: none !important;
}


@media (min-width: 1181px) {
    .menu-item.has-submenu::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 18px;
    }
}


/* Burger / Mobile Header */
.mobile-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-logo {
    width: 165px;
    flex: 0 0 auto;
}

.burger-menu {
    --size: 48px;
    width: var(--size);
    height: var(--size);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 50;
    border-radius: 10px;
}

.burger-menu .lineb {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0 auto;
    background: var(--brown);
    border-radius: 2px;
    transition:
        transform .3s ease,
        opacity .3s ease,
        background-color .3s ease;
}

.burger-menu:hover .lineb {
    background: var(--hovercolor);
}

.burger-menu[aria-expanded="true"] .lineb:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu[aria-expanded="true"] .lineb:nth-child(2) {
    opacity: 0;
}

.burger-menu[aria-expanded="true"] .lineb:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Panel */
.mobile-nav {
    position: relative;
}

.mobile-menu-panel {
    padding-top: 1rem;
}

.mobile-mainmenu,
.mobile-mainmenu .submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-mainmenu>li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-mainmenu>li:last-child {
    border-bottom: 0;
}

.mobile-mainmenu a,
.mobile-mainmenu button {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: 0;
    padding: 0.9rem 0;
    font-family: var(--titlefont);
    font-size: 15px;
    line-height: 1.3;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-align: left;
    color: var(--brown);
    cursor: pointer;
}

.mobile-mainmenu .submenu {
    padding: 0.15rem 0 0.75rem 1rem;
}

.mobile-mainmenu .submenu li a {
    min-height: unset;
    padding: 0.55rem 0 0.55rem 1rem;
    font-family: var(--mainfont);
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    color: var(--dark);
    border-left: 2px solid rgba(37, 46, 40, 0.35);
}

.mobile-mainmenu .submenu li a:hover,
.mobile-mainmenu .submenu li a:focus-visible {
    color: var(--brown);
    border-left-color: var(--brown);
}

.mobile-mainmenu .submenu[hidden] {
    display: none !important;
}

/* Responsive */
@media (max-width: 1380px) {
    .site-header .wrapper.content-width {
        padding: 1rem 1.4rem;
    }

    .desktop-menu-grid {
        gap: 1.5rem;
    }

    .mainmenu {
        gap: 1rem;
    }

    .menu-item>a[role="menuitem"],
    .menu-item>.menu-toggle {
        font-size: 14px;
        letter-spacing: 1.3px;
    }

    .header-logo-center {
        width: clamp(130px, 14vw, 190px);
    }
}

@media (max-width: 1580px) {
    .site-header {
        margin-top: -18px;
    }

    .header-desktop {
        display: none;
    }

    .header-mobile {
        display: block;
    }

    .site-header .wrapper.content-width {
        padding: 1rem 1.2rem;
        border-radius: 18px;
    }
}

@media (max-width: 768px) {
    .site-header {
        margin-top: -12px;
    }

    .site-header .wrapper.content-width {
        width: calc(100% - 24px);
        padding: 0.9rem 1rem;
        border-radius: 16px;
    }

    .mobile-logo {
        width: 145px;
    }

    .mobile-mainmenu a,
    .mobile-mainmenu button {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .mobile-mainmenu .submenu li a {
        font-size: 14px;
    }
}

@media (max-width: 492px) {
    .site-header .wrapper.content-width {
        width: calc(100% - 12px);
        padding: 0.85rem 0.9rem;
    }

    .mobile-logo {
        width: 125px;
    }

    .burger-menu {
        --size: 44px;
    }
}

@media (max-width: 1580px) {

    .mobile-header-bar {
        z-index: 999;
        position: relative;
    }

    body.menu-open .mobile-nav {
        margin-top: -35px;

    }

    .mobile-mainmenu .submenu {
        position: static;
        transform: none;
        min-width: 0;
        max-width: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        background: transparent;
        transition: none;
    }

    .mobile-mainmenu .submenu::before {
        display: none;
    }

    .mobile-mainmenu .submenu[hidden] {
        display: none !important;
    }

    .mobile-mainmenu .submenu:not([hidden]) {
        display: block !important;
    }

    .is-scrolled .burger-menu {
        top: -28px;
    }

    body.menu-open .is-scrolled .mobile-nav {
        margin-top: -60px;
    }

    body.menu-open .is-scrolled .mobile-nav .mobile-menu-panel {
        padding-top: 50px;
    }

body.menu-open .mobile-menu-panel {
    background: #fff;
    padding: 25px;
}


}

@media (min-width: 1581px) {

    .menu-item:hover>.submenu,
    .menu-item:focus-within>.submenu,
    .menu-item.open>.submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}



.treatment-timeline {
    display: grid;
    gap: 0;
    margin: 2rem 0;
    border-top: 1px solid #d5d5d5;
}

.timeline-step {
    position: relative;
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid #d5d5d5;
}

.timeline-step::before {
    content: "";
    position: absolute;
    left: 44px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #d5d5d5;
}

.timeline-number {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--maincolor);
    background: #fff;
    text-align: center;
    padding: 0.4rem 0;
}

.timeline-step p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #2f2f2f;
}

@media (max-width: 640px) {
    .timeline-step {
        grid-template-columns: 64px 1fr;
        gap: 1rem;
        padding: 1.2rem 0;
    }

    .timeline-step::before {
        left: 31px;
    }

    .timeline-step p {
        font-size: 1rem;
    }
}

.overlay {
    position: fixed;

    background: rgba(255, 255, 255, 1);

    transition: 0.5s ease-in-out;
    will-change: transform;
    opacity: 0;
    visibility: hidden;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 4;
    width: 100%;
    border-radius: 0;
}


.content-width {
    width: calc(100% - 60px);
    max-width: 2480px;
    margin: 0 auto;
}

.image-wrapper {
    position: relative;
}


.imagebox.mini {
    width: 450px;
    max-width: 50%;
    height: auto;
    margin: 0 auto 65px auto;
}

.imagebox.middle {
    width: 650px;
    max-width: 50%;
    height: auto;
    margin: 0 auto 65px auto;
}


.overzindex {
    z-index: 3;
}




.fullimg.grey {
    z-index: -1;
    background: transparent;
}

/* ICON */

.fullimg .imagebox {
    height: 525px;
}




.aboutus.contentboxwrapper {
    grid-template-columns: .7fr 1.3fr;
}

.aboutus .textbox:last-child {
    padding-left: 45px;
    border-left: 1px solid var(--maincolor);
}

.aboutus h2 {
    font-size: 70px;
    line-height: 80px;
    text-align: right;
    font-weight: 300;
    letter-spacing: 2px;
}


.aboutus.sec {
    margin-top: 75px;
}

.aboutus.sec h2 {
    font-size: 52px;
    line-height: 60px;
    text-align: center;
}

.aboutus.sec img {
    display: block;
    height: 75px;
    margin: 0 auto;
}


.icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -60%) scale(0.9);

    width: clamp(250px, 30vw, 510px);
    color: var(--maincolor);

    opacity: 0;
    filter: blur(6px) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    z-index: -1;

    transition:
        opacity 1.8s ease,
        transform 2s cubic-bezier(.22, 1, .36, 1),
        filter 1.6s ease;
}


.icon.sec {
    color: var(--grey);
    filter: none;
    left: 12%;
    width: calc(80% - 12%);
    transform: translate(0%, -50%) scale(0.9);
    right: 12%;
}

.icon.is-visible {
    opacity: .15;
    transform: translate(-50%, -60%) scale(1);
    filter: blur(0) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.icon.sec.is-visible {
    transform: translate(0%, -50%) scale(1);
    filter: none;
    opacity: .57;
}

.icon.float {
    animation: float 6s ease-in-out infinite;
}

.icon.sec.float {
    animation: floatsec 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(-50%, -60%) scale(1);
    }

    50% {
        transform: translate(-50%, -65%) scale(1);
    }
}

@keyframes floatsec {

    0%,
    100% {
        transform: translate(0%, -50%) scale(1);
    }

    50% {
        transform: translate(0%, -55%) scale(1);
    }
}

.icon svg {
    display: block;
    width: 100%;
    height: auto;
}

.icon path {
    fill: currentColor;
}


.minimg .imagebox {
    height: 425px;
}


.fullimg h2 {
    font-size: 70px;
    line-height: 75px;
    font-weight: 300;
}

.fullimg .imagebox+.contentbox {
    margin-top: -200px;
}

.contentboxwrapper.leistungenbox {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 15px;
    justify-content: center;
    z-index: 2;
}

.leistungenbox .box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    align-items: center;
    place-items: center;
    align-content: center;
}

.leistungenbox .imagebox {
    background: #fff;
    border: 1px solid var(--maincolor);
    width: 200px;
    height: 200px;
    text-align: center;
    padding: 50px;
}

.leistungenbox .title {
    text-align: center;
    font-size: 18px;
    line-height: 28px;
}





/* Referenzen Filter */

.project-hero {
    padding: 110px 0 70px;
}


.project-hero p {
    max-width: 650px;
}

.references-section .content-width {
    padding: 80px 0 110px;
}

.reference-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.filter-btn {
    border: 1px solid var(--maincolor);
    background: transparent;
    padding: 12px 22px;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;

}

.filter-btn.active,
.filter-btn:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);

}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;

}

.reference-card {
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.reference-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.13);

}

.reference-card a {
    color: inherit;
    text-decoration: none;
}

.reference-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;

}

.reference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.reference-card:hover .reference-image img {
    transform: scale(1.06);
}

.reference-badge {
    position: absolute;
    left: 18px;
    top: 18px;
    background: #fff;
    padding: 8px 13px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.reference-content {
    padding: 26px;
}


.reference-content p {}

.reference-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 22px 0;
    list-style: none;

}

.reference-meta li {
    background: #f6f1e8;
    padding: 7px 10px;
    font-size: 0.82rem;
}

.reference-link {
    font-weight: 400;
    border-bottom: 1px solid var(--maincolor);

}




/* Detailseite */

.project-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 60px;
    align-items: end;
}

.project-facts {
    background: #fff;
    padding: 30px;
    display: grid;
    gap: 22px;
    margin-top: 45px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);

}

.project-facts div {
    border-bottom: 1px solid #e5ddd0;
    padding-bottom: 16px;
}

.project-facts div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.project-facts strong,
.project-facts span {
    display: block;
}

.project-facts strong {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
    color: var(--maincolor);

}

.project-gallery {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
}

.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.project-description {
    padding: 40px 0 90px;
}

.project-text-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}


.project-navigation {
    padding: 25px 0;
    text-align: right;
}

.project-navigation a {
    text-decoration: none;
    text-align: right;
    display: inline-block;
    position: relative;
    padding-right: 30px;
}

.project-navigation a.cta::after {
    position: absolute;
    width: 25px;
    height: 12px;
    top: 6px;
    right: -5px;
}


.project-navigation a.cta:hover::after {

    right: -2px;
}

@media (max-width: 900px) {

    .reference-grid,
    .project-hero-grid,
    .project-text-grid {
        grid-template-columns: 1fr;

    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-large {
        grid-column: span 2;

    }

}

@media (max-width: 560px) {

    .reference-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-large {
        grid-column: span 1;
    }

    .references-hero,
    .project-hero {
        padding: 80px 0 50px;
    }

}

/* Referenzen filter ende */


/* POP UP KLIMATECHNIK */

.klima-popup[hidden] {
    display: none;
}

.klima-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
}

.klima-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, .62);
}

.klima-popup__box {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.klima-popup__close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: #111;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.klima-popup__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.klima-popup__content {
    padding: clamp(28px, 5vw, 52px);
    text-align: center;
}

.klima-popup__eyebrow,
.klima-popup__subline {
    margin: 0 0 12px;
    color: #3A3F44;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}

.klima-popup h2 {
    margin: 0;
    color: #3A3F44;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: clamp(32px, 6vw, 64px);
    line-height: 1.05;
    font-weight: 400;
}

.klima-popup h2 span {
    white-space: nowrap;
    font-size: clamp(32px, 6vw, 64px);
        line-height: 1.05;
        font-weight: 400;
        color: #3A3F44;
            text-transform: uppercase;
}

.klima-popup__content p {
    font-size: clamp(18px, 2.2vw, 25px);
    line-height: 1.35;
}

.klima-popup__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
    padding: 18px 42px;
    background: #3A3F44;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
}

@media (max-width: 640px) {
    .klima-popup {
        padding: 14px;
    }

    .klima-popup__media img {
        aspect-ratio: 4 / 3;
    }

    .klima-popup__content {
        padding: 26px 20px 30px;
    }

    .klima-popup__btn {
        width: 100%;
        padding-inline: 20px;
    }
}



/*Jobs*/

.job-benefits-grid,
.job-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.job-benefit {
    background: #f6f1e8;
    padding: 28px;
}

.job-benefit strong,
.job-benefit span {
    display: block;
}

.job-benefit strong {

    margin-bottom: 10px;
}

.jobs-section {
    padding-top: 30px;
}



.job-grid {
    grid-template-columns: repeat(3, 1fr);
}

.job-card {
    background: #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.13);
}

.job-card a {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 30px;
}

.job-card-top {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.job-label,
.job-area {
    font-size: .75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 8px 11px;
}

.job-label {
    background: var(--blue);
    color: #fff;
}

.job-area {
    background: var(--grey);

}



.job-meta {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-meta li {
    background: #f6f1e8;
    padding: 7px 10px;
    font-size: .82rem;
}

.job-link {
    font-weight: 300;
    border-bottom: 1px solid var(--maincolor);
}

.job-detail-hero {
    padding: 120px 0 80px;
    background: #f6f1e8;
}

.job-detail-grid {
    display: grid;
    grid-template-columns: 1.35fr .75fr;
    gap: 60px;
    align-items: end;
}



.job-facts {
    background: #fff;
    padding: 30px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
}

.job-facts div {
    border-bottom: 1px solid #e5ddd0;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.job-facts div:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.job-facts strong,
.job-facts span {
    display: block;
}

.job-facts strong {

    text-transform: uppercase;
    color: var(--maincolor);
    margin-bottom: 6px;
}

.job-text-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 70px;
    padding: 60px 0;
    border-bottom: 1px solid #e5ddd0;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

.job-apply-box {
    background: #1f1f1f;
    color: #fff;
    padding: clamp(36px, 6vw, 70px);
    max-width: 900px;
}

.job-apply-box .eyebrow {
    color: #E4E5E6;
}

.job-apply-box .project-cta {
    background: #fff;
    color: #1f1f1f;
}

@media (max-width: 1000px) {

    .job-benefits-grid,
    .job-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-detail-grid,
    .job-text-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 620px) {

    .job-benefits-grid,
    .job-grid {
        grid-template-columns: 1fr;
    }

    .job-card a {
        padding: 24px;
    }

}

/*Jobs ende*/

/*jobs bewerbung form*/
.application-form-wrapper {
    max-width: 900px;
    margin: 50px auto 0;
    background: var(--grey);
    padding: clamp(28px, 5vw, 60px);
}

.application-form {
    display: grid;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label,
.checkbox-field {
    font-weight: 400;

}

.form-field input,

.form-field textarea {
    width: 100%;
    border: 1px solid var(--maincolor-light);
    background: #fff;
    padding: 14px 16px;
    font: inherit;
}

.form-field input[readonly] {
    background: transparent;
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.checkbox-field input {
    margin-top: 4px;
}

.radio-field {

    border: 1px solid #E4E5E6;

    padding: 18px;

    background: #fff;

}

.radio-field .form-label {

    margin: 0 0 12px;
    width: auto;
    display: inline-block;
    font-weight: 700;

}

.radio-field label {

    display: grid;
    grid-template-columns: 25px auto;

    align-items: center;

    gap: 8px;

    margin-right: 24px;

}

.job-detail-hero .project-cta {
    margin-top: 28px;
}

@media (max-width: 700px) {

    .form-row {
        grid-template-columns: 1fr;
    }

}



.button.bewerben {
    background: #fff;
    padding: 15px 30px;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    border-radius: 0px;
    font-weight: 400;
    font-size: 15px;
    border: 1px solid var(--maincolor);
    margin-bottom: 15px;
}


.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-field.has-error input,
.form-field.has-error textarea,
.captcha-field.has-error input {
    border-color: #b00020;
}

.field-error {
    display: none;
    color: #b00020;
    font-size: 0.82rem;
    line-height: 1.4;
}

.form-field.has-error .field-error,
.checkbox-error.is-visible {
    display: block;
}

.checkbox-field.has-error span {
    color: #b00020;
}

.captcha-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
}

.form-message {
    display: none;
    padding: 14px 16px;
    font-weight: 700;
}

.form-message.is-error {
    display: block;
    background: #fdecec;
    color: #b00020;
}

.form-message.is-success {
    display: block;
    background: #edf7ed;
    color: #176b2c;
}

@media (max-width: 600px) {
    .captcha-row {
        grid-template-columns: 1fr;
    }
}


/*jobs bewebrung form ende*/

/*timeline*/



.about-timeline {
    position: relative;
    max-width: 920px;
    margin: 70px auto 0;
}

.about-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 170px;
    width: 2px;
    background: var(--maincolor);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 130px 80px 1fr;
    gap: 20px;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    font-weight: 400;
    color: var(--maincolor);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 4px;
}

.timeline-dot {
    position: relative;
    width: 18px;
    height: 18px;
    background: var(--blue);
    border: 5px solid var(--maincolor);
    border-radius: 999px;
    margin-left: 12px;
    margin-top: 8px;
    z-index: 2;
}

.timeline-content {
    background: #fff;
    padding: 5px;
}

.timeline-content h3 {
    margin: 0 0 12px;
}

.timeline-content p {
    margin: 0;

}

@media (max-width: 760px) {
    .about-timeline::before {
        left: 9px;
    }

    .timeline-item {
        grid-template-columns: 28px 1fr;
        gap: 18px;
    }

    .timeline-year {
        grid-column: 2;
        grid-row: 1;
        padding-top: 0;
    }

    .timeline-dot {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin-left: 0;
        margin-top: 2px;
    }

    .timeline-content {
        grid-column: 2;
    }
}

/*timeline ende */



/*team*/

.team-section {
    padding-top: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
}

.team-card {
    background: #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
    transition: all .3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.12);
}

/* Bild */
.team-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

/* Content */
.team-content {
    padding: 20px;
    text-align: center;
}


.team-content span {
    font-size: 0.85rem;
    color: var(--maincolor);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1000px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/*team ende*/

.contentboxwrapper.faktenbox {
    grid-template-columns: auto auto auto;
    gap: 35px;
    place-items: center;
    z-index: 2;
    width: 80%;
}

.faktenbox h2 {
    font-size: 60px;
    line-height: 70px;
    text-align: right;
    font-weight: 300;
}


.faktenbox .textbox:nth-child(2) {
    padding-left: 65px;
    border-left: 1px solid var(--maincolor);
}


.faktenbox .textbox:nth-child(3) {
    border-left: 1px solid var(--maincolor);
    padding-left: 65px;
}

.stats-list {
    list-style: none;
    padding: 0;
    margin: 0;

    display: grid;
    gap: 1.5rem;
}

.stat-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 64px;
    /* feste Fläche */
    height: 48px;
    /* gleiche Höhe wie SVG */

    display: flex;
    align-items: center;
    /* vertikal zentriert */
    justify-content: center;
    /* horizontal zentriert */
}

.stat-icon svg {
    height: 48px;
    width: auto;
    transform: scale(0.9);
    /* feinjustieren */
    color: var(--blue);
}

.stat-number {
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 0.5rem;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    text-align: left;
}

.stat-label {
    font-size: 1.1rem;
}



section {
    margin: 0px auto 75px;
    width: 100%;
    position: relative;
    display: block;
   
    z-index: 1;
}

section.more {
    margin-top: 120px;
}


.contentboxwrapper {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin: 0 auto;
    position: relative;
    width: 90%;
}

.contentbox {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.contentboxwrapper.flexstart {
    align-items: start;
}

.contentboxwrapper.stretch {
    align-items: stretch;
}

.contentboxwrapper>div {
    display: inline-block;
}

.hide {
    display: none;
}


.mt-25 {
    margin-top: 25px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-80 {
    margin-top: 80px;
}

.mt-120 {
    margin-top: 120px;
}

.mt-150 {
    margin-top: 150px;
}

.mt-180 {
    margin-top: 180px;
}

.mt-220 {
    margin-top: 220px;
}

.mt-250 {
    margin-top: 250px;
}

.contentbox.small,
.contentboxwrapper.small {
    max-width: 55%;
}

.contentbox.middle,
.contentbox.center,
.contentboxwrapper.middle,
.contentboxwrapper.center {
    max-width: 65%;
}

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


.faq-section {
    padding: clamp(60px, 8vw, 110px) 0;
    background: #fff;
}

.faq-list {
    width: 100%;
    margin: 40px auto 0;
    border-top: 1px solid rgba(0, 0, 0, .18);
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, .18);
}

.faq-item h3 {
    margin: 0;
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 24px 56px 24px 0;
    text-align: left;
    cursor: pointer;
    position: relative;
    font: inherit;
    font-weight: 600;
    color: inherit;
}

.faq-question:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}

.faq-icon {
    position: absolute;
    right: 4px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: currentColor;
    transition: transform .2s ease;
}

.faq-icon::before {
    width: 18px;
    height: 2px;
    top: 8px;
    left: 0;
}

.faq-icon::after {
    width: 2px;
    height: 18px;
    top: 0;
    left: 8px;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 56px 26px 0;
}

.faq-answer p {
    margin: 0;
}

.faq-answer a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 767px) {
    .faq-question {
        padding: 20px 42px 20px 0;
    }

    .faq-answer {
        padding-right: 0;
    }
}

.faq-jumpnav {
    margin: 35px 0;
}

.faq-jumpnav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-jumpnav a {
    display: inline-block;
    padding: 10px 14px;
    border: 1px solid currentColor;
    color: var(--maincolor);
    text-decoration: none;
    font-weight: 600;
}

.faq-jumpnav a:hover,
.faq-jumpnav a:focus-visible {
    background: var(--maincolor);
    color: #fff;
}



/* intelligente haustechnik module */
.practice-example {
    margin: 75px 0;
}

.practice-intro,
.practice-block,
.practice-note {
    max-width: 900px;
    margin-inline: auto;
}

.practice-intro {
    margin-top: 2.5rem;
    font-size: 1.08em;
}

.practice-block {
    margin-top: 4rem;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.system-grid article,
.practice-results {
    background: var(--f-button-active-bg);
    border-radius: none;
    padding: clamp(1.25rem, 2vw, 2rem);

}

.system-grid article:last-child {
    grid-column: 1 / -1;
}

.timeline-block .timeline {
    display: grid;
    gap: 1.5rem;
    border-left: 4px solid var(--maincolor);
    padding-left: 2rem;
}

.timeline-block .timeline p {
    position: relative;
    margin: 0;
}

.timeline-block .timeline p::before {
    content: "";
    position: absolute;
    left: calc(-2rem - 10px);
    top: .45em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--blue);
}

.practice-results {
    max-width: 900px;
    margin: 4rem auto 0;
}

.practice-results ul {
    margin: 1.5rem 0 0;
    padding-left: 1.2rem;
}

.practice-results li+li {
    margin-top: .75rem;
}

.practice-note {
    margin-top: 2rem;
    font-size: .95em;
    font-style: italic;
}

@media (max-width: 800px) {
    .system-grid {
        grid-template-columns: 1fr;
    }

    .timeline-block .timeline {
        padding-left: 1.5rem;
    }

    .timeline-block .timeline p::before {
        left: calc(-1.5rem - 10px);
    }
}





/* copyright images */
.copyimg::after {
    content: attr(data-copy);
    position: absolute;
    left: 0;
    bottom: 0;

    background: rgba(255, 255, 255, 0.6);
    padding: 3px 6px;

    font-size: 8px;
    line-height: 1;
    color: #000;

    z-index: 2;
    pointer-events: none;
}

.service-media.copyimg:after {
    top: unset;
}

.copyimg:not([data-copy=""])::after {
    display: block;
}




/* fullimage mainhome */

.fullimage.mainhome {
    position: relative;
    width: 100%;
    height: 625px;
    overflow: hidden;
}

.fullimg .image-wrapper,
.fullimage .image-wrapper {
    max-width: 2480px;
    margin: 0 auto;
    width: calc(100% - 60px);
    height: 100%;
}


.icontop {
    z-index: -1;
}


/******************/
/**    SLICK    **/
/******************/
.fullimage-slider {
    position: relative;
    width: 100%;
    height: 825px;
    overflow: hidden;
}

.slider-track {
    position: absolute;
    inset: 0;
}

.slider-track:before {
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 1;
    background: rgba(255, 255, 255, .3);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.slide.active {
    opacity: 1;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Overlay */
.slider-content {
    position: absolute;
    left: 30px;
    top: 250px;
    max-width: 50%;
    color: #000;
    z-index: 5;
}

.slider-content h1 {
    font-size: 25px;
    color: var(--brown);
    margin-bottom: 20px;
    line-height: 35px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}


.slider-content p {
    font-size: 15px;
    line-height: 1.5;
}

/* Navigation bottom right */
.slider-nav {
    position: absolute;
    bottom: 40px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000;
    font-size: 18px;
    z-index: 10;
}

.progress-bar {
    width: 100px;
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.progress {
    width: 0%;
    height: 100%;
    background: #fff;
    transition: width 3s linear;
}

.slider-nav span {
    font-variant-numeric: tabular-nums;
}



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

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

.text-justify {
    text-align: justify;
}

.contentboxwrapper.rightbigger {
    grid-template-columns: .7fr 1.3fr;
    gap: 35px;
}

.contentboxwrapper.leftbigger {
    grid-template-columns: 1.3fr .7fr;
    gap: 35px;
}

.contentboxwrapper.one-twocol {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.bigtext h2 {
    font-size: 70px;
    line-height: 75px;
    font-weight: 300;
    margin-bottom: 15px;
    text-transform: none;
}




.fullimage {
    overflow: hidden;
    max-width: unset;
    height: 650px;
}

.fullimage img {
    object-position: center;
}

.fullimage.maintop {
    height: 450px;
}

.fullimage.maintop .imagebox {
    height: 450px;
}

.fullimage.maintop .imagebox img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}


.line:before {
    content: "";
    position: absolute;
    top: -170px;
    height: 135px;
    width: 1px;
    background: var(--maincolor);
    left: 50%;
}

.line {
    margin-top: 220px;
}

.responsive-table {
    width: 65%;
    border-collapse: collapse;
    margin: 2rem auto;
}

.responsive-table th,
.responsive-table td {
    border: 1px solid #ddd;
    padding: 1rem;
    text-align: left;
    vertical-align: top;
}

.responsive-table thead {
    background-color: #f0f0f0;
    font-weight: bold;
}

.responsive-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Responsive Layout für kleine Bildschirme */
@media (max-width: 768px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid #ccc;
        border-radius: 8px;
        overflow: hidden;
    }

    .responsive-table td {
        display: block;
        padding: 0.75rem 1rem;
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .responsive-table td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 0.25rem;
        color: #000;
    }

    .responsive-table td:last-child {
        border-bottom: none;
    }
}




.gallery.contentboxwrapper {
    margin: 0px auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    gap: 25px;
}

.gallery.sec.contentboxwrapper {
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: center;
    gap: 25px;
}

.gallery .imagebox {
    aspect-ratio: 1 / 1;
    width: 100%;
    /* Oder eine andere gewünschte Breite */
    transform: translateZ(0);
    overflow: hidden;
}

.gallery .imagebox small {
    position: absolute;
    background: rgba(255, 255, 255, .6);
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 5px;
    font-size: 8px;
}


.gallery .imagebox img {
    object-fit: cover;
    height: 100%;
    width: 100%;

    transform: scale(1) rotate(0deg);
    transition:
        transform 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        filter 0.4s ease,
        box-shadow 0.4s ease;
    will-change: transform, filter;
}

/* Hover-Effekt nur auf Geräten mit echter Maus */
@media (hover: hover) and (pointer: fine) {
    .gallery .imagebox:hover img {
        transform: scale(1.06) rotate(1.5deg);
        filter: brightness(1.04) contrast(1.03);
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
    }
}

.copyimg {
    position: relative;
    /*    display: inline-block;*/
    width: 100%;
}

.slide.copyimg {
    position: absolute;
}

.copyimg::after {
    content: attr(data-copy);
    position: absolute;
    right: 0;
    bottom: 0;

    background: rgba(255, 255, 255, 0.6);
    padding: 3px 6px;

    font-size: 8px;
    line-height: 1;
    color: #000;

    z-index: 2;
    pointer-events: none;
}


.copyimg:not([data-copy=""])::after {
    display: block;
}



.fullimage {
    position: relative;
}

.fullimage img+small,
.imagebox img+small {
    position: absolute;
    background: rgba(255, 255, 255, .6);
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 3px 5px;
    font-size: 8px;
}




.steps .contentboxwrapper .textbox:last-child {
    padding: 50px 35px;
}


.steps .step {
    margin: 0px 0 35px;
    position: relative;

    background: var(--maincolor-light);
    padding: 15px 45px;
    width: 100%;
}


.steps.sec .step {
    background: var(--brown-light);

}

.steps .step:before {
    position: absolute;
    left: -25px;
    top: 50%;
    font-size: 40px;
    font-family: "Cabin";
    line-height: 50px;
    color: var(--maincolor);
    font-weight: 800;
    margin-top: -25px;
    background: #fff;
    border-radius: 238472784px;
    width: 50px;
    height: 50px;
    text-align: center;
}

.steps.sec .step:before {
    color: var(--brown);
}

.steps .step:nth-child(1):before {
    content: "1";
}

.steps .step:nth-child(2):before {
    content: "2";
}

.steps .step:nth-child(3):before {
    content: "3";
}

.steps .step:nth-child(4):before {
    content: "4";
}

.steps .step:nth-child(5):before {
    content: "5";
}

.steps .step strong {
    font-size: 18px;
    line-height: 40px;
    font-weight: 500;
}




.hinweis div {
    padding: 50px;
    background: #fff;
    border-radius: 5px;
    -webkit-box-shadow: 2px 2px 3px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 2px 2px 3px 1px rgba(0, 0, 0, 0.3);
}



.teambox.contentboxwrapper {
    grid-template-columns: repeat(4, 1fr);
    gap: 45px;
}

.teambox.contentboxwrapper .textbox {
    margin-bottom: 35px;
}

.teambox.contentboxwrapper .textbox .imagebox {
    aspect-ratio: 1/1;
}





.textbox .icon {
    width: 86px;
    height: 86px;
    margin-bottom: 15px;
    z-index: 2;
    display: block;
    position: relative;
    border-radius: 5px;
    -webkit-box-shadow: 2px 2px 3px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 2px 2px 3px 1px rgba(0, 0, 0, 0.3);
}

.textbox .icon img {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
}

.textbox .icon:before {
    top: -10px;
    position: absolute;
    z-index: -1;
    background: var(--maincolor);
    left: -10px;
    content: "";
    width: 76px;
    height: 76px;
}



.detailbox {
    background: #fff;
    padding: 100px 0;
}

.detailbox.dark {
    background: rgba(233, 233, 232, 0.42);
    padding: 100px 0;
}


.detailbox .contentboxwrapper {
    display: grid;
    grid-template-columns: .8fr .7fr 1.5fr;
    place-items: center;
    gap: 45px;
}

.detailbox.sec .contentboxwrapper {
    grid-template-columns: 1fr 1fr 1fr;
}


.detailbox .contentboxwrapper .textbox:first-child {
    text-align: center;
}



.detailbox h2 strong {
    color: var(--maincolor);
}



.detailbox .imagebox {
    width: 200px;
    /* feste Fläche */
    height: 180px;
    /* gleiche Höhe wie SVG */

    display: flex;
    align-items: center;
    /* vertikal zentriert */
    justify-content: center;
    /* horizontal zentriert */
}

.detailbox .imagebox svg {
    height: 120px;
    width: auto;
    transform: scale(0.9);
    /* feinjustieren */
    color: var(--blue);
}

.detailbox.sec .imagebox svg {
    height: 170px;
}


ul.block {
    list-style-type: none;
}

ul.block li {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 25px;
    align-items: start;
    margin-bottom: 15px;
}

ul.block li span {
    border: 1px solid var(--maincolor);
    color: #000;
    padding: 10px;
    font-weight: 400;
    width: 250px;
    letter-spacing: 2px;
    display: block;
    text-align: center;
}

ul.block li p {
    text-align: left;
}





section.nm {
    margin-bottom: 0;
}




.testimonials {
    background: var(--blue);
    padding: 80px 0;
    text-align: center;
    margin: 0 auto;
    width: 75%;
}

.testimonials .ctabox small {
    color: #fff;
}

.testimonials .nutzerwrapper .slick-list {
    margin: 0 45px;
}

.testimonials h2 {
    letter-spacing: 6px;
    font-size: 35px;
    line-height: 45px;
    font-weight: 200;
    color: #fff;
    text-transform: uppercase;
}

.testimonials .contentbox,
.testimonials .nutzerwrapper {
    position: relative;
}

.testimonials .nutzerwrapper:before {
    content: "";
    background: url('../images/stimmen.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    width: 70px;
    height: 85px;
    top: -100px;
    left: 50%;
    margin-left: -35px;
}

.testimonials .nutzerwrapper {
    margin: 120px auto 0;
    width: 85%;
}

.testimonials .nutzerwrapper .nutzer {
    width: 100%;
}


.testimonials .nutzerwrapper>button.slick-prev {

    width: 35px;
    height: 35px;
    border: 0;
    margin-top: 25px;
    position: absolute;
    left: 0;
    background: transparent;
}

.testimonials .nutzerwrapper>button.slick-next {
    width: 35px;
    height: 35px;
    border: 0;
    margin-top: 25px;
    padding-left: 0;
    position: absolute;
    right: 0;
    top: 0;
    background: transparent;

}



.testimonials .nutzer {
    padding: 0 100px;
    color: #fff;
}

.testimonials .nutzer p {
    line-height: 21px;
}

.testimonials .nutzer span {
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-top: 20px;
    letter-spacing: 6px;
}

.testimonials .nutzer .stars {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(5, max-content);
    gap: .8rem;
    justify-content: center;
    /* komplette Gruppe zentrieren */
    align-items: center;
}

.testimonials .nutzer .stars img {
    height: 20px;
}

ol {
    margin-left: 15px;
    padding-left: 0;
    list-style: outside;
}

ol li {
    list-style-type: decimal;

}

/*start light section*/

.overicon {
    z-index: 9;
}

.light-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

}

.light-card {
    position: relative;
    min-height: 260px;
    padding: clamp(28px, 4vw, 46px);

    overflow: hidden;
}



.light-card-wide {
    grid-column: span 2;
    background: var(--blue);
}

.light-card-wide h3,
.light-card-wide li {
    color: #fff;
}




@media (max-width: 950px) {
    .light-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .light-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 650px) {
    .light-grid {
        grid-template-columns: 1fr;
    }

    .light-card,
    .light-card-wide {
        grid-column: auto;
        min-height: auto;
    }


}

/*ende light section*/


.wrapper.max {
    width: 85%;
}

.fullimage.behind {
    position: relative;
    z-index: -1;
    margin-top: -175px;
    margin-bottom: 0;
    height: 825px;
}

.fullimage .imagebox {
    height: 100%;
}

.fullimage img {
    will-change: transform;
    width: 100%;
    height: 100%;
    display: block;
}

.contentboxwrapper .imagebox {
    align-self: stretch;
}

.contentboxwrapper .imagebox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* wichtig! */
    align-self: stretch;
    /* überschreibt das center */
}


.listbox.contentbox.small {
    margin-top: 75px;
    margin-left: auto;
    margin-right: auto;
    width: 785px;
    display: block;
}

.faq .listbox.contentbox.small {
    width: 500px;
}


/*ablauf*/

/* Container */
.ablaufplan {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 0;
}

/* Mittellinie */
.ablaufplan::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #e5e5e5;
    transform: translateX(-50%);
}

/* Item */
.ablaufplan-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

/* Links / Rechts */
.ablaufplan-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.ablaufplan-item:nth-child(even) {
    left: 50%;
}

/* Content Box */
.ablaufplan-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
    position: relative;
}

.ablaufplan-item {
    position: relative;
}

/* Pfeile */
.ablaufplan-item:nth-child(odd) .ablaufplan-content::after {
    content: "";
    position: absolute;
    top: 20px;
    right: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.ablaufplan-item:nth-child(even) .ablaufplan-content::after {
    content: "";
    position: absolute;
    top: 20px;
    left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

/* Nummern-Kreis */
.ablaufplan-number {

    position: absolute;

    left: calc(100%);
    /* bei linken Items */

    transform: translateX(-50%);
    top: calc(50% - 25px);

    width: 50px;
    height: 50px;
    background: var(--maincolor);
    color: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: bold;
    z-index: 3;
    /* sorgt dafür, dass die Linie "durchgeht" */
    box-shadow: 0 0 0 6px #fff;

}


.ablaufplan-item:nth-child(even) .ablaufplan-number {

    left: 0;

    transform: translate(-50%, 0);

}


/* Typo */
.ablaufplan-content h3 {
    margin-top: 0;
}

.ablaufplan-content p {
    margin-bottom: 0;

}

/* Responsive */
@media (max-width: 768px) {
    .ablaufplan::before {
        left: 20px;
    }

    .ablaufplan-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }

    .ablaufplan-item:nth-child(odd),
    .ablaufplan-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .ablaufplan-number {
        left: 20px;
        transform: translateX(-50%);
    }

    .ablaufplan-content::after {
        display: none;
    }
}

/*ablauf ende*/


.foo {
    margin-bottom: 0;
}

.foo .content-width {
    background: #fff;
    padding: 35px 67px;
}

.foo .contentboxwrapper {
    grid-template-columns: auto 1fr 1fr 1fr;
    width: 100%;
    margin: 0 auto;
    gap: 50px;
    align-items: start;
}

.foo p {
    color: #000;
}

.foo .logo {
    margin-left: 0;

}

.foo .logo img {
    width: 350px;
    float: left;
    margin-bottom: 25px;
}

.foo h3 {
    color: var(--maincolor);
    font-size: 21px;
    line-height: 31px;
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.foo .textbox a {
    color: #000;
}

.foo .textbox .foomen li {
   
    padding-left: 15px;
    margin-bottom: 18px;
    line-height: 15px;
    transition: all .25s ease-in-out;
}

.foo .textbox .foomen li:hover a {
    padding-left: 3px;
}


footer {
    background: var(--maincolor);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 0px;
}

footer .contentboxwrapper {
    width: 100%;
}

footer .contentboxwrapper .textbox:first-child {
    text-align: left;
    font-size: 14px;
}

footer .contentboxwrapper .textbox:last-child {
    text-align: right;
    font-size: 14px;
}

footer a,
footer a:link {
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
    color: #000;
}





.anfrageform button.cta span {
    position: relative;
    font-size: 14px;
    line-height: 17px;
    text-transform: uppercase;
    vertical-align: middle;
}

.anfrageform form {
    max-width: 85%;
    margin: 0 auto;
    padding: 50px 0;
}

.anfrageform form p {
    color: #000;
}

.anfrageform input,
.anfrageform textarea,
.anfrageform select,
.anfrageform button {
    border-radius: 0;
}

.anfrageform label {
    color: #000;
}

.anfrageform button.cta {
    border-radius: 0;
    margin-top: 15px;
    font-weight: var(--font-light);
}



/* kontaktform */


section.eightmod {
    background: var(--grey);
    margin-top: 0;

}

section.eightmod .contentboxwrapper {
    align-items: end;
    width: 75%;
    margin: 0 auto;
    padding: 75px 0;
}

section.eightmod .textbox {
    margin: 0;
    position: relative;
    display: inline-block;
}

section.eightmod .textbox:last-child {
    text-align: left;
    padding-left: 35px;
}

section.eightmod .textbox:first-child .h2-style {
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 35px;
}

section.eightmod .row {
    display: flex;
    flex-wrap: wrap;
}

section.eightmod .row .fieldbox {
    width: calc(50% - 15px);
    margin-right: 15px;
    position: relative;
    display: inline-block;
}



section.eightmod .fieldbox {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

section.eightmod .row .fieldbox:last-child {
    margin-right: 0;
    margin-left: 15px;
}
section.eightmod .row .fieldbox.full:last-child,
section.eightmod .row .fieldbox.full {
    width: 100%;
    margin-right: 0;
    margin-left: 0px;
}

section.eightmod .fieldbox label,
section.eightmod .fieldbox label {
    position: absolute;
    left: 10px;
    z-index: 1;
    top: 10px;
    text-transform: uppercase;
    transition: 0.2s ease all;
}


#captcha_code,
section.eightmod .fieldbox input,
section.eightmod .fieldbox textarea {
    width: 100%;
    border-radius: 0;
    background: #fff;
    border: 1px solid #ccc;
    padding: 15px 20px 15px 20px;
    font-size: 16px;
    font-family: var(--mainfont);

}

section.eightmod .fieldbox textarea {
    height: 250px;
}

section.eightmod .fieldbox input:not([type]):focus,
section.eightmod .fieldbox input[type=text]:focus,
section.eightmod .fieldbox input[type=email]:focus,
section.eightmod .fieldbox textarea:focus {
    outline: none;
}

section.eightmod .fieldbox input:not([type]):focus+label,
section.eightmod .fieldbox input[type=text]:focus+label,
section.eightmod .fieldbox input[type=email]:focus+label,
section.eightmod .fieldbox textarea:focus+label,
section.eightmod .fieldbox.foc input:not([type])+label,
section.eightmod .fieldbox.foc input[type=text]+label,
section.eightmod .fieldbox.foc input[type=email]+label,
section.eightmod .fieldbox.foc textarea+label,
section.eightmod .fieldbox.foc.has-error input:not([type])+label,
section.eightmod .fieldbox.foc.has-error input[type=text]+label,
section.eightmod .fieldbox.foc.has-error input[type=email]+label,
section.eightmod .fieldbox.foc.has-error textarea+label {
    top: -5px;
    font-size: 10px;
    color: #808080;
}

section.eightmod>.row {
    display: flex;
}

section.eightmod>.row,
section.eightmod>.fieldbox {
    margin-bottom: 15px;
    float: left;
    width: 100%;
}


section.eightmod form .hide {
    display: none;
    width: 0px;
    height: 0px;
}

section.eightmod .pflicht {
    font-size: 14px;
    text-align: left;
    width: 100%;
    position: relative;
    color: #000;
    display: inline-block;
}

section.eightmod .datenschutz {
    width: 100%;
    position: relative;
    margin-top: 20px;
    float: left;
    color: #000;
}

section.eightmod .datenschutz label input {
    width: 25px;
    height: 25px;
    float: left;
    position: relative;
}

section.eightmod .datenschutz label input+.info {
    float: left;
    position: relative;
    width: calc(100% - 45px);
    margin-left: 20px;
}


section.eightmod .submit-wrapper {
    width: 100%;
    position: relative;
    margin-top: 20px;
    float: left;
}

section.eightmod .submit-wrapper .button {
    background: var(--blue);
    padding: 17px 30px 15px 30px;
    text-align: center;
    text-transform: none;
    color: #fff;
    border-radius: 0px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--blue);
    margin-bottom: 15px;
    transition: all .25s;
}

section.eightmod .submit-wrapper .button:hover {
    background: var(--hovercolor);
    border-color: var(--hovercolor);
}

section.eightmod .submit-wrapper .button:hover {
    background: var(--maincolor);
    color: #fff;
}


section.eightmod .contentbox .innerbox+.innerbox {
    padding-left: 35px;
}


section.eightmod .contentbox.centric {
    width: 1000px;
    margin: 0 auto;
    padding-top: 50px;
}

section.eightmod .contentbox.centric+.contentboxwrapper {
    padding-top: 35px;
    padding-bottom: 35px;
    align-items: start;
}

section.eightmod .contentbox.centric+.contentboxwrapper .textbox:first-child {
    width: 35%;
}

section.eightmod .contentbox.centric+.contentboxwrapper .textbox:last-child {
    width: 65%;
}


section.eightmod .contentbox.centric+.contentboxwrapper .textbox:first-child .fieldbox {
    margin-bottom: 15px;
}

section.eightmod .contentbox.centric+.contentboxwrapper .textbox:last-child .fieldbox {
    background: #fff;
    border-radius: 15px;
    padding: 10px 15px;
}

section.eightmod .contentbox.centric+.contentboxwrapper .textbox:last-child .fieldbox p {
    text-transform: uppercase;
}

section.eightmod .contentbox.centric+.contentboxwrapper .textbox:last-child .fieldbox label {
    position: relative;
    display: flex;
    margin-bottom: 15px;
}

section.eightmod .contentbox.centric+.contentboxwrapper .textbox:last-child .fieldbox label input {
    visibility: hidden;
    position: absolute;
}

section.eightmod .contentbox.centric+.contentboxwrapper .textbox:last-child .fieldbox label .info:before {
    margin-right: 2px;
    content: " ";
    display: inline-block;
    vertical-align: baseline;
    width: 20px;
    height: 20px;
    left: 0;
    position: absolute;
    border-radius: 12378123px;
    border: 1px solid #252E28;
}

section.eightmod .contentbox.centric+.contentboxwrapper .textbox:last-child .fieldbox label input[type="checkbox"]:checked+.info:before {
    background-color: #252E28;
}

section.eightmod .contentbox.centric+.contentboxwrapper .textbox:last-child .fieldbox label .info {
    width: calc(100% - 40px);
    padding-left: 40px;
}

section.eightmod .contentbox.centric+.contentboxwrapper+.contentbox.centric {
    padding-top: 0;
}

section.eightmod .contentbox.centric+.contentboxwrapper+.contentbox.centric .datenschutz {
    float: none;
    display: inline-block;

}

section.eightmod .contentbox.centric+.contentboxwrapper+.contentbox.centric .datenschutz label {
    position: relative;
}

section.eightmod .contentbox.centric+.contentboxwrapper+.contentbox.centric .datenschutz label input {
    visibility: hidden;
    position: absolute;
}

section.eightmod .contentbox.centric+.contentboxwrapper+.contentbox.centric .datenschutz label input+label+.info,
section.eightmod .contentbox.centric+.contentboxwrapper+.contentbox.centric .datenschutz label input+.info {
    padding-left: 35px;
    margin-left: 0;
    text-transform: none;
}

section.eightmod .contentbox.centric+.contentboxwrapper+.contentbox.centric .datenschutz label input+label+.info:before,
section.eightmod .contentbox.centric+.contentboxwrapper+.contentbox.centric .datenschutz label input+.info:before {
    margin-right: 2px;
    content: " ";
    display: inline-block;
    vertical-align: baseline;
    width: 20px;
    height: 20px;
    left: 0;
    background: #fff;
    position: absolute;
    border-radius: 12378123px;
    border: 1px solid #fff;
}

section.eightmod .contentbox.centric+.contentboxwrapper+.contentbox.centric .datenschutz label input[type="checkbox"]:checked+label+.info:before,
section.eightmod .contentbox.centric+.contentboxwrapper+.contentbox.centric .datenschutz label input[type="checkbox"]:checked+.info:before {
    background-color: #252E28;
}


section.eightmod .contentbox.centric+.contentboxwrapper+.contentbox.centric .submit-wrapper {
    float: none;
    padding-bottom: 35px;
}

section.eightmod label.error {
    display: none !important;
}

section.eightmod .fieldbox.has-error {
    border: 1px solid #ff0000;
}

section.eightmod .fieldbox.has-error .info {
    color: #ff0000;
    text-transform: none;
}

section.eightmod .contentbox.centric+.contentboxwrapper+.contentbox.centric .datenschutz.has-error label input[type="checkbox"]:checked+label+.info {
    color: #000;
}

#datenschutz-error {
    display: none !important;
}

section.eightmod .fieldbox.datenschutz.has-error {
    padding-bottom: 15px;
    border: 0px solid #ff0000;
}


.captcha-wrapper {
    margin: 25px 0;
}

.contentboxwrapper .captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 12px;
}

.captcha-refresh {
    width: 40px;
    height: 40px;
    border: 1px solid var(--blue);
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    font-size: 20px;
}

section.eightmod .fieldbox.ll label {
    position: relative;
    margin-bottom: 15px;
    display: inline-block;
}

.fieldbox.error label {
    color: #c00;
    font-weight: 600;
}

.fieldbox input,
.fieldbox textarea {
    border: 1px solid #ccc;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.fieldbox.error input,
.fieldbox.error textarea {
    border: 2px solid #c00 !important;
    background-color: #fdecec !important;
    box-shadow: 0 0 0 3px rgba(200, 0, 0, .12);
}

.fieldbox.success input,
.fieldbox.success textarea {
    border: 1px solid #2e7d32 !important;
}

.fieldbox .error-msg,
.captcha-wrapper .error-msg,
.datenschutz .error-msg {
    font-size: 13px;
    font-weight: 600;
    color: #c00;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fieldbox .error-msg:before,
.captcha-wrapper .error-msg:before,
.datenschutz .error-msg:before {
    content: "⚠";
    font-size: 14px;
    line-height: 1;
}

/* Captcha-Feld: gleiche deutliche Fehlermarkierung wie die übrigen Felder */
.captcha-wrapper.error input {
    border: 2px solid #c00 !important;
    background-color: #fdecec !important;
    box-shadow: 0 0 0 3px rgba(200, 0, 0, .12);
}

.captcha-wrapper.success input {
    border: 1px solid #2e7d32 !important;
}

/* Datenschutz-Checkbox: Rahmen um den gesamten Block statt um die kleine Checkbox */
.datenschutz.error {
    border: 2px solid #c00;
    background-color: #fdecec;
    padding: 12px;
    box-shadow: 0 0 0 3px rgba(200, 0, 0, .12);
}

.datenschutz.success {
    border: 2px solid transparent;
    padding: 12px;
}

.form-error-global {
    color: #c00;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
    min-height: 20px;
}

.form-error-global:not(:empty) {
    padding: 12px 16px;
    background-color: #fdecec;
    border: 2px solid #c00;
}



/* EVENT */

.event h1 span {
    font-size: 50px;
    line-height: 55px;
    font-weight: 200;
}
#eventformular {
    padding: 75px 0;
}

#eventformular h3 {
    font-size: 35px;
    line-height: 45px;
}

.stef.num {
    text-align: right;
    padding-right: 45px !important;
}

.stef.select {
    width: 100%;
        border-radius: 0;
        background: #fff;
        border: 1px solid #ccc;
        padding: 15px 20px 15px 20px;
        font-size: 16px;
        font-family: var(--mainfont);
}

.event-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 40px 0;
}

.event-facts__item {
    padding: 28px 24px;
    border: 1px solid rgba(37, 46, 40, 0.35);
    background: #fff;
    text-align: center;
}

.event-facts__label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3A3F44;
}

.event-facts__item strong {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
    font-weight: 500;
    color: #111;
}

.event-facts__item span:last-child {
    display: block;
    font-size: 17px;
    line-height: 1.45;
    color: #333;
}

.event-facts__item.location {
    background: #F0F0F1;
}

.event-facts__item.location strong {
    font-size: clamp(22px, 2.2vw, 32px);
}

@media (max-width: 850px) {
    .event-facts {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .event-facts__item {
        padding: 24px 20px;
    }
}


.flex-start {
    align-items: start;
}

@media screen and (max-width: 1650px) {
    .desktop-menu-grid {
        gap: 0px;
    }
}


@media screen and (max-width: 1440px) {
    .content-width {
        max-width: calc(100% - 40px);
        width: 100%;
    }

    .content-width.center {
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    .fullimg .image-wrapper,
    .fullimage .image-wrapper {
        width: calc(100% - 40px);
    }


    .gallery {
        width: 100%;
    }


    .contentbox.small.sec {
        width: 65%;
        max-width: 65%;
    }

    .steps .contentboxwrapper {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 85px;
    }

    .contentboxwrapper.small {
        width: 85%;
        max-width: 85%;
    }


    .contentbox.middle,
    .contentbox.center,
    .contentboxwrapper.middle,
    .contentboxwrapper.center {
        max-width: 85%;
    }


    .detailbox .contentboxwrapper {
        grid-template-columns: 0.8fr 0.8fr 1.8fr;
    }


}


@media screen and (max-width: 1280px) {
    .logo {
        width: 280px;
    }

    .badleistung .contentbox.small p {
        width: 100%;
    }

    .contentbox.small.sec {
        width: 90%;
    }


    h1,
    .h1-style {
        font-size: 45px;
        line-height: 55px;
    }


    .contentboxwrapper.grid-2-1 {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 45px;
    }

}

@media screen and (max-width: 1200px) {
    .steps .contentboxwrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 45px;
    }

    .steps .contentboxwrapper .textbox:last-child {
        padding: 30px 0;
    }
}

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





    .fullimg .image-wrapper,
    .fullimage .image-wrapper {
        height: 100%;
    }


    .contentbox.center {
        max-width: 85%;
    }

    section.eightmod .textbox:first-child .h2-style {
        text-align: left;
    }

    section.eightmod .contentboxwrapper,
    section.eightmod .contentbox.centric {
        width: calc(100% - 40px);
    }



    .foo .contentboxwrapper {
        grid-template-columns: repeat(2, auto);
    }

    .logo {
        width: 245px;
    }


    .slider-content .contentbox:after {
        background: rgba(255, 255, 255, 0.8);
        filter: blur(61px);
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: "";
        position: absolute;
        z-index: -1;

    }







}

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

    .logo {
        width: 230px;
    }

    .fullimage.mainhome {
        height: 525px;
    }

    .faktenbox h2,
    .fullimg h2,
    .bigtext h2 {
        font-size: 40px;
        line-height: 45px;
    }

    .contentboxwrapper.faktenbox {
        width: 100%;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .contentboxwrapper {
        grid-template-columns: repeat(1, 1fr);
        gap: 45px;
    }

    .contentboxwrapper .imagebox {
        height: 525px;
    }

    .contentboxwrapper .imagebox img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

    .faktenbox .ctabox.vertical small {
        text-align: center;
    }


    .gallery .imagebox {
        height: 225px;
    }


    .slick-slider button.slick-prev {
        left: -10px;
        width: 50px;
        height: 50px;
    }

    .slick-slider button.slick-next {
        right: -10px;
        width: 50px;
        height: 50px;
    }


    .contentboxwrapper.grid-2-1 {
        width: 90%;
    }

    .contentboxwrapper.grid-2-1 {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contentboxwrapper.grid-2-1 .imagebox img {
        object-fit: contain;
    }

    .contentboxwrapper.small,
    .contentbox.mini {
        width: 90%;
    }



    .contentboxwrapper .imagebox img.img-contain {
        object-fit: contain;

    }

    .contentboxwrapper.one-twocol {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contentboxwrapper.leistungenbox {
        max-width: 100%;
    }

    .contentboxwrapper.leistungenbox {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        justify-content: center;
    }

    .contentboxwrapper.leistungenbox .imagebox {
        height: 200px;
    }





}



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

    .fullimage.mainhome {
        height: 425px;
    }

    .backcolor-2 {
        padding: 75px 25px;
    }

    .contentbox.middle,
    .contentbox.center,
    .contentboxwrapper.middle,
    .contentboxwrapper.center,
    .contentboxwrapper.small,
    .contentbox.mini {
        width: 100%;
        max-width: 100%;
    }

    .testimonials h2,
    .aboutus h2,
    h2.high,
    h2.bigger {
        font-size: 22px;
        line-height: 32px;
    }

    h2.high+h3 {
        font-size: 20px;
        line-height: 25px;
    }


    .aboutus.contentboxwrapper {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .aboutus h2 {
        text-align: left;
    }

    .aboutus .textbox:last-child {
        padding-left: 0;
        border-left: 0;
    }

    .contentbox.small,
    .contentboxwrapper.small {
        max-width: 100%;
    }

    .contentwrapper div {
        width: 100%;
        display: inline-block;
    }


    .detailbox .contentboxwrapper {
        padding: 0 15px;
    }

    .detailbox .contentboxwrapper .imagebox {
        height: auto;
    }

    .contentbox>.ctabox {
        margin-top: 0;
    }

    .contentbox>p+.ctabox {
        margin-top: 35px;
    }

    section {
        margin: 0px auto 45px;
    }

    section.eightmod .contentbox.centric+.contentboxwrapper {
        flex-direction: row;
    }

    section.eightmod .contentbox.centric+.contentboxwrapper .textbox:first-child {
        width: 50%;
        padding-right: 10px;
    }

    section.eightmod .contentbox.centric+.contentboxwrapper .textbox:last-child {
        width: 50%;
        padding-left: 10px;
    }

    .responsive-table {
        width: 85%;
    }


    .slick-slider button.slick-prev {
        left: -15px;
    }

    .slick-slider button.slick-next {
        right: -15px;
    }


    .gallery.sec.contentboxwrapper {
        grid-template-columns: repeat(3, 1fr);
    }


    .detailbox .contentboxwrapper {
        grid-template-columns: 1fr;
    }

    .fullimage {

        height: 425px;
    }

    footer .contentboxwrapper {
        gap: 5px;
    }

    footer .contentboxwrapper .textbox:first-child,
    footer .contentboxwrapper .textbox:last-child {
        text-align: center;
    }

}


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

    section.eightmod form {
        width: 100%;
    }


    .contentbox.center {
        max-width: 100%;
    }


    section.eightmod .contentboxwrapper {
        width: calc(100% - 40px);
        flex-direction: column;
    }

    section.eightmod .textbox {
        width: 100%;
    }

    .contentboxwrapper>div:last-child {
        padding-left: 0px;
    }

    .contentboxwrapper {
        flex-direction: column;
    }

    .contentboxwrapper>div {
        width: 100%;
    }

    section.eightmod .contentbox.centric+.contentboxwrapper {
        flex-direction: column;
    }

    section.eightmod .contentbox.centric+.contentboxwrapper .textbox:first-child {
        width: 100%;
        padding-right: 0px;
        margin-bottom: 25px;
    }

    section.eightmod .contentbox.centric+.contentboxwrapper .textbox:last-child {
        width: 100%;
        padding-left: 0px;
    }


    section.eightmod .textbox:last-child {
        text-align: left;
        padding-left: 0;
    }

    .contentboxwrapper.vorteile {
        flex-direction: row;
    }

    .contentboxwrapper.vorteile .textbox {
        width: calc(100% / 1/2 - 65px);
        text-align: center;
    }

}


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



    section.eightmod .textbox:last-child {
        text-align: left;
        padding-left: 0;
    }

    section.eightmod .contentbox {
        width: 100%;
    }

    section.eightmod .headlinebox {
        width: 80%;
        margin: 125px auto 55px 0px;
    }

    section.eightmod .contentbox .innerbox {
        padding-bottom: 35px;
        width: 100%;
    }

    section.eightmod .contentbox .innerbox+.innerbox {
        padding-left: 0;
    }

    .fullimage.mainhome {
        height: 275px;
    }

    .fullimage {
        height: 325px;
    }

    .fullimage.maintop {
        height: 325px;
    }


    .responsive-table {
        width: 100%;
    }


    h1,
    .h1-style {
        font-size: 35px;
        line-height: 45px;
    }


    .faktenbox h2,
    .fullimg h2,
    .bigtext h2,
    h2,
    .h2-style {
        font-size: 25px;
        line-height: 30px;
    }


    .fullimage.behind,
    .fullimg .imagebox {
        height: 325px;
    }

    .fullimage.behind {
        margin-top: -75px;
    }

    .contentboxwrapper.leistungenbox .imagebox {
        height: 140px;
        padding: 25px;
        width: 140px;
    }


    .fullimg .imagebox+.contentbox {
        margin-top: 0;
    }


    .contentboxwrapper.faktenbox {
        grid-template-columns: 1fr;
    }

    .faktenbox h2 {
        text-align: center;
    }

    .faktenbox h2 br {
        display: none;
    }

    .faktenbox .textbox:nth-child(3),
    .faktenbox .textbox:nth-child(2) {
        border-left: 0;
        padding-left: 0;
    }

    .faktenbox .textbox:nth-child(3) .ctabox {
        margin: 0 auto;
        display: block;
    }

    .stat-item {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        gap: 1rem;
        align-content: center;
        justify-content: center;
        text-align: center;
        place-items: center;
    }

    .mt-250 {
        margin-top: 160px;
    }

    .icon {
        width: clamp(160px, 45vw, 300px);
    }

    .detailbox .contentboxwrapper .imagebox {
        height: auto;
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    .detailbox .contentboxwrapper {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .detailbox,
    .detailbox.dark {
        padding: 40px 0;
    }

}

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

    .slider-content {
        max-width: 90%;
    }


    .contentboxwrapper .imagebox {
        height: 325px;
    }

    .gallery.contentboxwrapper .imagebox {
        height: 325px;
    }


    .gallery.contentboxwrapper {
        grid-template-columns: 1fr;
    }

    .ctabox .cta-wrapper a:first-child {
        margin-right: 0;
    }

    .contentboxwrapper .imagebox img {
        object-fit: contain;
        height: 100%;
        width: auto;
    }


    .contentbox.small {
        width: 90%;
    }

    .ctabox .cta-wrapper a:last-child {
        border-left: 0;
    }


    .gallery.contentboxwrapper .imagebox {
        height: 100%;
        aspect-ratio: 16/16;
    }

    .gallery.contentboxwrapper .imagebox img {
        object-fit: cover;
        width: 100%;
    }

    .contentboxwrapper.vorteile {
        flex-direction: column;
    }

    .contentboxwrapper.vorteile .textbox {
        width: 100%;
        text-align: center;
    }




}

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

    .slick-slider button.slick-prev {
        left: 5px;
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }


    .gallery.sec.contentboxwrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .slick-slider button.slick-next {
        right: 5px;
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }



    .ctabox .cta-wrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }

    .ctabox .cta-wrapper a:last-child {
        padding-left: 20px;
        border-left: 0px;
        text-transform: uppercase;
        font-weight: 400;
        font-size: 15px;
    }

    .ctabox small {
        display: inline-block;
        margin-top: 10px;
        font-size: 12px;
        line-height: 20px;
        font-style: italic;
        padding-left: 20px;
    }


    .foo .content-width {
        padding: 35px 0px;
    }

    .foo .contentboxwrapper {
        grid-template-columns: 1fr;
    }


    .testimonials .nutzer {
        padding: 0 10px;
    }

    .ctabox {
        width: 100%;
    }

    .ctabox small {
        text-align: center;
        padding-left: 0;
    }

    .ctabox .cta-wrapper a {
        text-align: center;
    }

    .cta-divider {
        margin: 0 auto;
    }

    .ctabox .cta-wrapper a:last-child {
        text-align: center;
        padding-left: 0;
    }


    .contentbox.small,
    .contentboxwrapper.small,
    .contentbox.middle,
    .contentbox.center,
    .contentboxwrapper.middle,
    .contentboxwrapper.center,
    .contentboxwrapper.small,
    .contentbox.mini {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }

    section {
        margin: 0px auto 45px;
    }

    .header-logo-center img,
    .header-logo-center svg,
    .mobile-logo img,
    .mobile-logo svg,
    .logo img,
    .logo svg {
        width: 140px;
        margin-top: 5px;
    }

    .is-scrolled .burger-menu {
        top: -10px;
    }


}


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

    .slider-nav {
        bottom: 20px;
    }

    .logo {
        width: 170px;
    }

    h2.high+h3 {
        font-size: 18px;
        line-height: 22px;
    }


    .mt-250 {
        margin-top: 80px;
    }

    .icon {
        width: clamp(120px, 40vw, 200px);
        transform: translate(-50%, -40%) scale(0.9);
    }

    .icon.is-visible {
        transform: translate(-50%, -40%) scale(1);
    }

    .icon.float {
        animation: floatMobile 6s ease-in-out infinite;
    }

    @keyframes floatMobile {

        0%,
        100% {
            transform: translate(-50%, -40%) scale(1);
        }

        50% {
            transform: translate(-50%, -45%) scale(1);
        }
    }


    .detailbox ul.block li {
        grid-template-columns: 1fr;
    }

    .content-width {
        max-width: calc(100% - 10px);
    }

    .fullimage.maintop {
        height: 225px;
    }

    section.eightmod .contentbox .row .fieldbox {
        width: 100%;
        margin-right: 0px;
        position: relative;
        margin-bottom: 15px;
    }


    .foo .contentboxwrapper {
        grid-template-columns: repeat(1, auto);
    }


    .foo .content-width {
        padding: 35px 35px;
    }


    footer .contentboxwrapper .textbox:last-child {
        text-align: left;
        font-size: 14px;
    }

    footer.copyrightbox .contentboxwrapper {
        gap: 15px;
    }



    .progress {
        background: #000;
    }

    .slider-track {
        height: 375px;
    }

    .slider-content {
        top: 395px;
    }


    h1,
    .h1-style {
        font-size: 25px;
        line-height: 35px;
        letter-spacing: 3px;
    }

    h1 span,
    .h1-style span {
        color: #000;
        font-size: 18px;
        line-height: 27px;
    }

    h2,
    section.eightmod .textbox:first-child .h2-style,
    .h2-style {
        font-size: 18px;
        line-height: 27px;
    }

    h2 span,
    .h2-style span {
        font-size: 16px;
        line-height: 26px;
    }


    .gallery.contentboxwrapper .imagebox {
        height: 205px;
    }

    .steps .step strong {
        font-size: 15px;
        line-height: 30px;
        font-weight: 500;
    }

}



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

    .gallery.contentboxwrapper .imagebox {
        height: 135px;
    }


    section.eightmod .datenschutz label input+.info {
        width: calc(100% - 45px);
        font-size: 12px;
    }

    section.eightmod .row .fieldbox {
        width: 100%;
        margin-right: 0;
    }

    section.eightmod .row .fieldbox:last-child {
        margin-left: 0;
    }



}
/* Stadtwald Klinik: Logo-only Header (Menü entfernt) */
.header-logo-center {
    margin: 0 auto;
}

.mobile-header-bar {
    justify-content: center;
}

/* Stadtwald Klinik: Testimonial-Video Platzhalter */
.video-placeholder {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, #e5e6e7, #e5e6e7 20px, #eceded 20px, #eceded 40px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: #252E28;
}

.video-placeholder__icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #252E28;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    padding-left: 4px;
    box-sizing: border-box;
}

.video-placeholder__text {
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: 14px;
}

/* Stadtwald Klinik: freistehendes 16:9 Video */
.video-16-9 {
    position: relative;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    background: #000;
    overflow: hidden;
}

.video-16-9 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Stadtwald Klinik: alternierende Section-Hintergründe gegen Eintönigkeit */
.section-alt {
    background: var(--grey);
    padding: 70px 0;
}

/* Stadtwald Klinik: Hero-Titelzeile (Titel links, Intro-Text rechts) */
.hero-title-section {
    padding-top: 60px;
    padding-bottom: 60px;
    margin-bottom: 0;
}

.hero-split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-split-row__text h1 {
    margin-bottom: 20px;
}

.hero-split-row__text h2 {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    color: var(--dark);
}

.hero-split-row__video .video-16-9 {
    max-width: 100%;
    margin: 0;
}

@media (max-width: 900px) {
    .hero-split-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-split-row__video {
        order: -1;
    }
}
