/* open-sans-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/open-sans-v44-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/open-sans-v44-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans";
    font-weight: 400;
}

/* ################## Overlay oben ################## */
/* ################## Overlay oben ################## */
/* ################## Overlay oben ################## */

/* Kleines quadratisches Back-Home Overlay */
.back-home-overlay {
    position: fixed;
    top: -80px; /* startet außerhalb des sichtbaren Bereichs */
    left: 0px;
    z-index: 9999;

    width: 50px;
    height: 50px;

    /* background: rgba(255, 255, 255, 0.95); */

    display: flex;
    align-items: center;
    justify-content: center;

    /* box-shadow: 0 4px 20px rgba(0,0,0,0.08); */

    transition: top 0.35s ease;
}

/* sichtbar */
.back-home-overlay.show {
    top: 0px;
}

.back-home-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.back-home-icon {
    width: 15px;
    height: 25px;
    display: block;
    fill: #111;
    transition: opacity 0.2s ease;
}

.back-home-link:hover .back-home-icon {
    opacity: 0.7;
}

/* ################## Slider ################## */
/* ################## Slider ################## */
/* ################## Slider ################## */

/* Wrapper */
.slider-wrapper {
    position: relative;
}

/* Globaler Titel oben links */
.slider-global-title {
    position: absolute;
    top: 30px;
    left: 50px;
    z-index: 10;
    color: white;
    font-size: 56px;
    font-weight: 300;
}

.slider-global-title.black a {
  text-decoration: none;
  color: black;
}

/* Mobile */
@media (max-width: 768px) {
    .slider-global-title {
        position: absolute;
        top: 15px;
        left: 15px;
        z-index: 10;
        color: white;
        font-size: 8.5vw;
        max-width: 100%;
    }
}

.black {
    color: black;
}

.slider-global-title span.bold {
    font-weight: 600;
}

/* Splide Basis */
.splide {
    width: 100%;
}

/* 16:9 */
.splide__track {
    aspect-ratio: 16 / 8;
}

/* Mobile */
@media (max-width: 768px) {
    .splide__track {
        aspect-ratio: 4 / 5;
    }
}

/* Bilder */
.splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




/* Overlay pro Slide */
.slide-overlay {
    position: absolute;
    bottom: 42px;
    left: 50px;
    color: white;
    z-index: 5;
}

.slide-overlay h2 {
    margin: 0;
    font-size: 36px;
    font-weight: 300;
}

.slide-overlay h2 span:nth-child(1) {
    font-weight: 400;
}

.slide-overlay span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.slide-overlay.is-active span {
    opacity: 1;
    transform: translateY(0);
}

.slide-overlay.is-active span:nth-child(1) {
    transition: 0.4s 0.4s;
}

.slide-overlay.is-active span:nth-child(2) {
    transition: 0.4s 0.5s;
}

.slide-overlay.is-active span:nth-child(3) {
    transition: 0.4s 0.6s;
}

.slide-overlay.is-active span:nth-child(4) {
    transition: 0.4s 1.6s;
}

/* Subline Animation - von links reinsliden */
.slide-overlay span.subline {
    display: inline-block;
    opacity: 0;
    transform: translateX(-50px);
    /* Start links */
    font-weight: 300;
    letter-spacing: 0.3px;
}

.slide-overlay.is-active span.subline {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.5s ease 1s, opacity 0.5s ease 1s;
    /* 1s Verzögerung, damit es nach den drei Titel-Spans kommt */
}


/* Mobile */
@media (max-width: 768px) {
    .slide-overlay {
        position: absolute;
        bottom: 35px;
        left: 15px;
        color: white;
        z-index: 5;
    }

    .slide-overlay h2 {
        margin: 0;
        font-size: 20px;
        font-weight: 300;
    }

    .slide-overlay span.subline {
        font-size: 13px;
    }

    .slide-overlay span.subline {
        opacity: 0;
        transform: translateX(-50px);
        transform: translateY(-5px);
        transition: transform 0.5s ease 1s, opacity 0.5s ease 1s;
        /* 1s Verzögerung, damit es nach den drei Titel-Spans kommt */
    }

    .slide-overlay.is-active span.subline {
        opacity: 1;
        transform: translateX(0);
        transform: translateY(-5px);

    }
}



/* Pfeile vertikal mittig */
.splide__arrow {
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    transition: background 0.3s;
}

.splide__arrow:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Dots unten mittig */
.splide__pagination {
    bottom: 20px;
    /* left: 50%; */
    /* transform: translateX(-50%); */
}

/* Optional schöner */
.splide__pagination__page {
    background: rgba(255, 255, 255, 0.5);
}

.splide__pagination__page.is-active {
    background: white;
}

/* Mobile */
@media (max-width: 768px) {

    /* Dots unten mittig */
    .splide__pagination {
        bottom: 15px;
    }

    .splide__pagination__page {
        height: 5px;
        width: 5px;
        margin: 0 2.5px;
    }

}


/* #################### about schmidt #################### */
/* #################### about schmidt #################### */
/* #################### about schmidt #################### */

/* Section als Container */
section.about {
    position: relative;
    width: 100%;
    min-height: 880px;
    /* oder 100vh */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Mobile */
@media (max-width: 768px) {
    section.about {
        align-items: flex-start;
        /* nicht mehr vertikal zentriert */
        min-height: auto;
        padding-top: 80px;
        /* Abstand oben */
        padding-bottom: 135px;
        /* Abstand unten */
    }
}

/* Gradient Hintergrund */
.gradient-fläche {
    position: absolute;
    inset: 0;
    background-color: #E2E2E2;
    /* Grau für die ersten 8 Sekunden */
    z-index: 0;

}

.gradient-fläche::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(270deg, var(--gradient-color1, #7928ca), var(--gradient-color2, #2afadf));
    background-size: 600% 600%;
    animation: gradientAnimation 40s ease infinite;
    transition: opacity 10s ease;
}

.gradient-fläche.is-active::before {
    opacity: 1;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Content darüber */
.about-inner {
    position: relative;
    z-index: 1;

    display: flex;
    gap: 40px;
    align-items: center;
    padding: 60px;
    max-width: 1200px;
}

/* Mobile */
@media (max-width: 768px) {
    .about-inner {
        flex-direction: column;
        align-items: center;
        padding: 0;
        /* wir steuern Abstände gezielt */
        gap: 0;
    }
}


.about-image {
    width: 284px;
    height: 284px;
    flex: 0 0 284px;
    /* verhindert Wachstum + Schrumpfen */
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;

    /* optional: Zentrierung des Bildes im Kreis */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 70px;
}

/* Mobile */
@media (max-width: 768px) {
    .about-image {
        width: 200px;
        height: 200px;
        flex: 0 0 200px;
        margin-right: 0;
        margin-bottom: 30px;
        /* Abstand zum Text */
    }
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    display: block;
}

/* Text */
/* Container für die Kontakt-Items horizontal */
.about-text {
    font-weight: 600;
    font-size: 20px;

    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .about-text {
        padding: 0 15px;
        text-align: left;
        font-size: 18px;
        line-height: 28px;
    }
}





/* Horizontaler Kontakt-Items-Container */
.contact-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    /* Umbrechen bei kleinen Screens */
    justify-content: space-between;
    gap: 10px;
    /* Abstand zwischen den Items */
    align-items: center;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-items-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
        /* Abstand zwischen Items */
        margin-top: 25px;
        padding: 0 0;
    }
}

/* Kontakt-Items individuell */
.contact-item {
    display: flex;
    align-items: center;
    gap: 0px;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-item {
        width: 100%;
    }
}

/* Icons */
.icon-placeholder {
    display: inline-block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-placeholder.location-icon {
    width: 40px;
    height: 40px;
    margin-right: 7px;
}

@media (max-width: 768px) {
    .icon-placeholder.location-icon {
        width: 40px;
        height: 40px;
    }
}


/* Spezifische Icons */
/* Icons für About-Kontakt-Bereich */
.location-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath fill='black' d='M480-480q33 0 56.5-23.5T560-560q0-33-23.5-56.5T480-640q-33 0-56.5 23.5T400-560q0 33 23.5 56.5T480-480Zm0 294q122-112 181-203.5T720-552q0-109-69.5-178.5T480-800q-101 0-170.5 69.5T240-552q0 71 59 162.5T480-186Zm0 106Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80Zm0-480Z'/%3E%3C/svg%3E");
}

.info-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M5,19V5v4.5-.5,10ZM7,13h5.5c0-.4.1-.7.3-1.1.1-.3.3-.7.5-1h-6.3v2ZM7,17h3.9c.3-.3.6-.6,1-.8s.8-.4,1.2-.5c0-.1-.1-.2-.2-.3s0-.2-.1-.4h-5.8v2ZM7,9h10v-2H7v2ZM5,21c-.6,0-1-.2-1.4-.6-.4-.4-.6-.9-.6-1.4V5c0-.6.2-1 .6-1.4.4-.4.9-.6 1.4-.6h14c.6 0 1 .2 1.4.6s.6.9.6,1.4v6.5c-.2-.4-.5-.8-.9-1.2s-.7-.6-1.2-.8v-4.5H5v14h5.1c0,.1,0,.2,0,.3s0,.2,0,.3v1.4h-5ZM17,16c-.7 0-1.3-.2-1.8-.7s-.7-1.1-.7-1.8.2-1.3.7-1.8,1.1-.7,1.8-.7,1.3.2,1.8.7.7,1.1.7,1.8-.2,1.3-.7,1.8-1.1.7-1.8.7ZM12,21v-1.4c0-.4.1-.8.3-1.1s.5-.6.9-.7c.6-.3,1.2-.4,1.9-.6s1.3-.2,1.9-.2,1.3,0,1.9.2,1.3.3,1.9.6c.4.2.7.4.9.7s.3.7.3,1.1v1.4h-10Z'/%3E%3C/svg%3E");
}

.email-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M4,20c-.6,0-1-.2-1.4-.6s-.6-.9-.6-1.4V6c0-.6.2-1,.6-1.4s.9-.6,1.4-.6h16c.6,0,1,.2,1.4.6s.6.9.6,1.4v12c0,.6-.2,1-.6,1.4s-.9.6-1.4.6H4ZM12,13L4,8v10h16V8l-8,5ZM12,11l8-5H4l8,5ZM4,8v-2,12V8Z'/%3E%3C/svg%3E");
}


/* Email-Button Styling wie der Abschicken-Button */
.email-button, .info-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: #000;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Mobile */
@media (max-width: 768px) {

    .email-button,
    .info-link {
        width: 100%;
        justify-content: center;
        font-size: 4vw;
        line-height: 22px;
    }
}

.email-button:hover, .info-link:hover {
    background: #4cc430;
}

.contact-location {
    display: flex;
    align-items: center;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-location {
        padding: 5px 0;
        /* optisch gleiche Höhe wie Buttons */
        font-size: 16px;
        line-height: 22px;
        justify-content: center;
    }
}


/* #################### aboutDetails #################### */
/* #################### aboutDetails #################### */
/* #################### aboutDetails #################### */

/* Section als Container */
section.aboutdetail {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* wichtig: nicht mehr vertikal zentrieren */
    padding: 120px 20px;
    /* Luft oben/unten */
    padding-top: 168px;
}

/* INNER CONTAINER */
.aboutdetail-inner {
    position: relative;
    z-index: 1;

    max-width: 1000px;
    width: 100%;

    display: flex;
    flex-direction: column;
    /* alles untereinander */
    align-items: center;
    /* zentriert */
    text-align: center;
}

/* IMAGE */
.aboutdetail-image {
    width: 345px;
    height: 345px;
    border-radius: 50%;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 56px;
}

.aboutdetail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* INTRO TEXT (wie Startseite) */
.aboutdetail-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 46px;
    color: #000;
    text-align: left;

    max-width: 990px;
}


/* CONTENT BLOCKS */
.aboutdetail-content {
    text-align: left;
    /* Abstand vor erster Headline */
    margin-top: 140px;
    margin-right: 100px;
}

/* HEADLINE */
.aboutdetail-content h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 50px;
    line-height: 68px;
    color: #000;

    margin-bottom: 32px;
}

/* TEXTBLOCK */
.aboutdetail-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    line-height: 36px;
    color: #000;

    margin-bottom: 36px;
    /* Abstand zwischen Absätzen */
}

.aboutdetail-content p a {
    text-decoration: unterline;
    font-weight: 600;
    color: #3E73A8;
}

.aboutdetail-content p.center {
    text-align: center;
}

@media (max-width: 768px) {
    section.aboutdetail {
        padding-top: 93px;
        padding-left: 55px;
        padding-right: 18px;
        padding-bottom: 70px;
    }

    .aboutdetail-inner {
        align-items: flex-start;
        text-align: left;
    }

    .aboutdetail-image {
        width: 200px;
        height: 200px;
        margin-left: 43px;
    }

    .aboutdetail {
        width: auto !important;
    }

    .aboutdetail-text {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 50px;
    }

    .aboutdetail-content {
        width: 100%;
        margin: 0;
    }

    .aboutdetail-content p {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 23px;
    }

    .aboutdetail-content h2 {
        font-size: 28px;
        line-height: 38px;
        margin-top: 50px;
        margin-bottom: 23px;
    }

    .aboutdetail-content p img {
        width: 100%;
    }
}

/* #################### logos #################### */
/* #################### logos #################### */
/* #################### logos #################### */

/* Section */
section.logos {
    position: relative;
    width: 100%;
    min-height: 760px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    overflow: hidden;
}

@media (max-width: 768px) {
    section.logos {
        min-height: 366px;
    }
}

/* Headline */
.logos-headline {
    font-weight: 600;
    position: absolute;
    top: 95px;
    /* oberes Viertel */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */

    color: #5F5F5F;
    /* dunkelgrau */
    font-size: 20px;
    line-height: 24px;
    text-align: center;

    z-index: 2;
    /* über dem Marquee */
    pointer-events: none;
    /* blockiert nichts */
}

@media (max-width: 768px) {
    .logos-headline {
        top: 87px;
        font-size: 16px;
    }
}

.marquee6k {
    overflow: hidden;
}

.marquee6k__track {
    display: flex;
}

.marquee6k__copy {
    display: flex;
    align-items: center;
}

.marquee6k__copy img {
    height: 220px;
    margin-right: 240px;
}

@media (max-width: 768px) {
    .marquee6k__copy img {
        height: 140px;
        margin-right: 100px;
    }
}


/* #################### kontakt #################### */
section.kontakt {
    position: relative;
    width: 100%;
    min-height: 600px;
    /* oder 100vh */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: red;
}

section.kontakt-detail {
    position: relative;
    width: 100%;
    /* min-height: 600px; */
    /* oder 100vh */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #E2E2E2;
}

.kontakt-detail .kontakt-inner .footer {
  margin-top: 30px;
}


/* OUTER CONTAINER */
.kontakt-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}

@media (max-width: 768px) {
    .kontakt-inner {
        padding: 0 0;
    }
}

/* FORM CONTAINER */
#FormBuilder_kontakt {
    margin: 0 auto;

    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    line-height: 27px;
    color: #000;
}

@media (max-width: 768px) {
    #FormBuilder_kontakt {
        padding: 0 15px;
    }
}


#wrap_Inputfield_welcome {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-top: 158px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    #wrap_Inputfield_welcome {
        margin-top: 80px;
        font-size: 18px;
        line-height: 28px;
    }
}

/* FLEX GRID */
#FormBuilder_kontakt .Inputfields {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}


/* STANDARD FELD */
#FormBuilder_kontakt .Inputfield {
    width: 100%;
    box-sizing: border-box;
}


/* NAME + EMAIL nebeneinander */
#wrap_Inputfield_kontakt_name,
#wrap_Inputfield_kontakt_email {
    width: calc(50% - 14px) !important;
}


/* TEXTAREA volle Breite */
#wrap_Inputfield_ihre_nachricht {
    width: 100%;
}

/* FLEX GRID UND INPUTS */
@media (max-width: 768px) {
    #FormBuilder_kontakt .Inputfields {
        flex-direction: column;
        gap: 12px;
        /* Abstand zwischen den Feldern */
    }

    /* NAME + EMAIL untereinander */
    #wrap_Inputfield_kontakt_name,
    #wrap_Inputfield_kontakt_email {
        width: 100% !important;
    }

    /* Ihre Nachricht bleibt volle Breite */
    #wrap_Inputfield_ihre_nachricht {
        width: 100%;
    }


}



/* CHECKBOXEN nebeneinander */
#wrap_Inputfield_datenschutz,
#wrap_Inputfield_portfolio {
    width: auto !important;
    /* wichtig: nicht 50%, nicht 100% */
    margin-right: 1em;

}



/* INPUTS */
#FormBuilder_kontakt input[type="text"],
#FormBuilder_kontakt input[type="email"],
#FormBuilder_kontakt textarea {
    width: 100%;
    background: #fff;
    border: none;
    border-radius: 12px;

    padding: 16px 20px;
    font: inherit;
    color: inherit;

    box-sizing: border-box;
}


/* TEXTAREA */
#FormBuilder_kontakt textarea {
    resize: vertical;
    height: 230px;
}

@media (max-width: 768px) {

    /* Schriftgröße in den Input-Feldern */
    #FormBuilder_kontakt input[type="text"],
    #FormBuilder_kontakt input[type="email"],
    #FormBuilder_kontakt textarea {
        font-size: 16px;
        line-height: 22px;
        padding: 15px 15px;
        border-radius: 8px;
    }
}


/* CHECKBOX TEXT FIX */
#FormBuilder_kontakt .InputfieldHeaderHidden span {
    display: none;
}


/* CHECKBOX LAYOUT */
#FormBuilder_kontakt .InputfieldCheckbox label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}


/* CHECKBOXEN */
@media (max-width: 768px) {

    #FormBuilder_kontakt .InputfieldCheckbox label {
        font-size: 12px;
        line-height: 17px;
    }
}

/* CHECKBOX */
/* Original Checkbox verstecken */
#FormBuilder_kontakt .InputfieldCheckbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Label als Container */
#FormBuilder_kontakt .InputfieldCheckbox label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

/* Custom Box */
#FormBuilder_kontakt .InputfieldCheckbox label::before {
    content: "";
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fff;
    display: inline-block;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

/* SVG Checkmark */
#FormBuilder_kontakt .InputfieldCheckbox label::after {
    content: "";
    position: absolute;

    left: 0px;
    top: 0;
    width: 30px;
    height: 30px;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    /* SVG */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 10 L8 14 L15 4' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='miter'/%3E%3C/svg%3E");

    opacity: 0;
    transform: scale(0.6);

    transition: all 0.2s ease;
}


/* Checked State */
#FormBuilder_kontakt .InputfieldCheckbox input:checked+span::before,
#FormBuilder_kontakt .InputfieldCheckbox input:checked+span::after {
    /* wird unten überschrieben → Trick wegen DOM */
}

/* WICHTIG: wir zielen auf das label */
#FormBuilder_kontakt .InputfieldCheckbox input:checked~span,
#FormBuilder_kontakt .InputfieldCheckbox input:checked+span {
    /* fallback */
}

#FormBuilder_kontakt .InputfieldCheckbox label:has(input:checked)::before {
    background: #4cc430;
}

#FormBuilder_kontakt .InputfieldCheckbox label:has(input:checked)::after {
    opacity: 1;
    transform: scale(1);
}


.InputfieldHeader.InputfieldHeaderHidden {
    display: none !important;
}





/* abschicken zentrieren */
#wrap_kontakt_submit {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

@media (max-width: 768px) {
    #wrap_kontakt_submit {
        display: block;
    }
}


/* BUTTON */
#FormBuilder_kontakt button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    border: none;
    border-radius: 12px;
    padding: 16px 24px;

    font: inherit;
    cursor: pointer;

    background: #000;
    color: #fff;
}

#FormBuilder_kontakt button:hover {
    background: #4cc430;
}

/* ABSCHICKEN BUTTON */
@media (max-width: 768px) {

    #FormBuilder_kontakt button {
        width: 100%;
        justify-content: center;
        /* Text zentrieren */
        font-size: 16px;
        line-height: 22px;
    }
}


/* BUTTON ICON PLACEHOLDER */
#FormBuilder_kontakt button::before {
    transform: translateY(2px);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    content: "";
    display: inline-block;

    width: 28px;
    height: 28px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cpath fill='%23ffffff' d='M511.1,766.7c-13.7,0-26-8.4-31-21.2l-119.7-305.9L54.5,319.9c-13.1-5.1-21.5-17.9-21.2-31.9.4-14,9.5-26.3,22.8-30.8L722.1,35.3c1.2-.4,2.4-.8,3.7-1.1,2.5-.6,5-.9,7.5-.9h0c2.6,0,5.1.3,7.6.9,3.4.8,6.8,2.2,9.9,4.1,2.3,1.4,4.3,3.1,6.2,4.9,1.7,1.7,3.2,3.6,4.5,5.7,2,3.2,3.5,6.7,4.3,10.3.6,2.4.9,4.9.9,7.5,0,2.6-.3,5.1-.9,7.5-.3,1.3-.7,2.5-1.1,3.7l-222,665.9c-4.4,13.3-16.7,22.4-30.8,22.8-.3,0-.6,0-.9,0ZM425.1,422l83.5,213.4,148.5-445.4-232,232ZM164.5,291.4l213.4,83.5,232-232-445.4,148.5Z'/%3E%3C/svg%3E");

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    flex-shrink: 0;
}

#FormBuilder_kontakt button:hover::before {
    transform: translateY(-2px) translateX(4px);
}

/* #################### footer #################### */
/* #################### footer #################### */
/* #################### footer #################### */

/* FOOTER */
div.footer {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    /* Items auf voller Breite verteilen */
    align-items: center;
    flex-wrap: wrap;
    margin-top: 240px;
    margin-bottom: 25px;
}

/* Text-Items */
div.footer div {
    font-size: 16px;
    line-height: 22px;
}

/* Abstand zwischen Text-Items */
div.footer div+div {
    margin-left: 64px;
}

/* SVG-Icons */
.footer-icon {
    display: inline-block;
    margin-left: 100px;
    /* Abstand zu vorherigem Item */
}

/* Spezifische Größen */
.footer-icon.linkedin svg {
    width: 64px;
    height: 64px;
}

.footer-icon.logo img {
    width: 280px;
    height: 80px;
    display: block;
    /* verhindert Inline-Abstände */
}

.footer .datenschutz a,
.footer .impressum a {
    text-decoration: underline;
    color: #000;
}

.footer .datenschutz a:hover,
.footer .impressum a:hover {
    
    text-decoration: none;
    color: #3E73A8;
}

@media (max-width: 768px) {

    div.footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 25px;
        margin-top: 120px;
    }

    /* --- REIHENFOLGE DEFINIEREN --- */

    /* 1. Logos zuerst */
    .footer-icon.linkedin {
        order: 1;
    }

    .footer-icon.logo {
        order: 2;
    }

    /* 2. Copyright */
    .footer .copyright {
        order: 3;
        width: 100%;
        text-align: center;
    }

    /* 3. Datenschutz + Impressum */
    .footer .datenschutz {
        order: 4;
    }

    .footer .impressum {
        order: 5;
    }

    /* --- LAYOUT --- */

    /* Logos nebeneinander */
    .footer-icon {
        margin-left: 0;
    }

    /* Größen anpassen → damit sie nebeneinander passen */
    .footer-icon.linkedin svg {
        width: 60px;
        height: 60px;
    }

    .footer-icon.logo img {
        width: 250px;
        height: auto;
    }

    /* Abstand zwischen den beiden Logos */
    .footer-icon.linkedin {
        margin-right: 30px;
    }

    /* Datenschutz + Impressum nebeneinander */
    .footer .datenschutz,
    .footer .impressum {
        display: inline-block;
        margin: 0 10px;
        text-align: center;
    }

    /* Desktop-Abstände killen */
    div.footer div+div {
        margin-left: 0;
    }
}

/* #################### form success #################### */
/* #################### form success #################### */
/* #################### form success #################### */

.form-success-message {
    text-align: center;
    padding: 60px 20px;
}

.form-success-message h2 {
    margin: 0 0 12px;
    font-size: 2rem;
}

.form-success-message p {
    margin: 0;
    font-size: 1.1rem;
}

.success-emoji {
    font-size: 64px;
    margin-bottom: 20px;
    animation: celebrateBounce 1.8s ease infinite;
}

@keyframes celebrateBounce {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    20% {
        transform: translateY(-10px) rotate(-5deg);
    }
    40% {
        transform: translateY(0) rotate(5deg);
    }
    60% {
        transform: translateY(-6px) rotate(-3deg);
    }
    80% {
        transform: translateY(0) rotate(3deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}


.alert.alert-error.error, .input-error.error {
  background: red;
  color: white;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}