/* =========================================================
   EDELTaktik – Zusätzliches CSS
   Blocksy Theme + Elementor Free
   ========================================================= */


/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

footer h2 {
    color: #BFD8F5;
}


/* ---------------------------------------------------------
   Formularfelder
   --------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
    background-color: #FFFFFF;
    border: 1px solid #B8C5D1;
    color: #173B67;
    border-radius: 6px;
}


/* ---------------------------------------------------------
   Header Breite
   --------------------------------------------------------- */

#header [data-row="middle"] > .ct-container {
    width: calc(100% - 64px) !important;
    max-width: 1600px !important;
    margin-left: auto;
    margin-right: auto;
}


/* ---------------------------------------------------------
   Scrollverhalten
   --------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}


/* Abstand bei Sprungmarken */
[id] {
    scroll-margin-top: 120px;
}


/* ---------------------------------------------------------
   Blocksy Sticky Header
   --------------------------------------------------------- */

/*
   Wichtig:
   Sticky Header muss in Blocksy aktiviert sein:
   Design → Customizer → Header → Sticky Header
*/


/* Header über Inhalt */
#header {
    z-index: 100;
}


/* Schatten nur für den echten Sticky Container */
#header .ct-sticky-container {
    box-shadow: 0 8px 24px rgba(20, 47, 74, 0.14);
    background-color: rgba(255,255,255,0.96);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

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

    #header [data-row="middle"] > .ct-container {
        width: calc(100% - 40px) !important;
    }

}


/* ---------------------------------------------------------
   Smartphone
   --------------------------------------------------------- */

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


    /* Headerbreite */
    #header [data-row="middle"] > .ct-container {
        width: calc(100% - 28px) !important;
    }


    /* Logo */
    .site-logo-container img,
    .custom-logo,
    .site-logo img {

        width: 255px !important;
        max-width: 78vw !important;
        height: auto !important;

    }


    /* Elementor Sicherheit */
    .elementor-widget,
    .elementor-widget-container,
    .elementor-element {

        max-width: 100% !important;
        min-width: 0 !important;

    }


    /* Überschriften Container */

    .elementor-widget-heading {

        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;

    }


    /* H2 mobil */

    h2,
    h2.elementor-heading-title,
    .elementor-widget-heading h2.elementor-heading-title {

        width: 100% !important;
        max-width: 100% !important;

        font-size: 25px !important;
        line-height: 1.1 !important;
        letter-spacing: -0.4px !important;

        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: manual !important;
        white-space: normal !important;

    }


    /* H3 mobil */

    h3,
    h3.elementor-heading-title,
    .elementor-widget-heading h3.elementor-heading-title {

        width: 100% !important;
        max-width: 100% !important;

        font-size: 22px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.2px !important;

        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: manual !important;
        white-space: normal !important;

    }


    /* Elementor Überschriften allgemein */

    h1.elementor-heading-title,
    h2.elementor-heading-title,
    h3.elementor-heading-title,
    .elementor-heading-title {

        max-width: 100% !important;

        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: manual !important;

    }

}


/* ---------------------------------------------------------
   Größere Smartphones
   --------------------------------------------------------- */

@media screen and (min-width: 430px) and (max-width:767px) {


    h2,
    h2.elementor-heading-title,
    .elementor-widget-heading h2.elementor-heading-title {

        font-size: 30px !important;

    }


    h3,
    h3.elementor-heading-title,
    .elementor-widget-heading h3.elementor-heading-title {

        font-size: 25px !important;

    }


    .site-logo-container img,
    .custom-logo,
    .site-logo img {

        width: 285px !important;
        max-width: 78vw !important;

    }

}

/* =========================================================
   Edeltaktik – Floating WhatsApp Button
   Elementor Free + Blocksy
   ========================================================= */


/* Position */
.edeltaktik-whatsapp {

    position: fixed;

    right: 28px;
    bottom: 28px;

    z-index: 99999;

}


/* Button */
.edeltaktik-whatsapp a {

    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;

    background-color: #25D366;

    color: #ffffff;

    padding: 10px 16px 10px 18px;

    border-radius: 50px;

    font-size: 15px;

    font-weight: 600;

    line-height: 1;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.18);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;

}


/* Hover Effekt */
.edeltaktik-whatsapp a:hover {

    transform: translateY(-4px);

    background-color: #20bd5a;

    box-shadow:
        0 12px 35px rgba(0,0,0,0.25);

}


/* Text beim Hover ausfahren */
.whatsapp-text {

    max-width: 0;

    overflow: hidden;

    white-space: nowrap;

    opacity: 0;

    transition:
        max-width 0.4s ease,
        opacity 0.3s ease;

}


/* Text sichtbar beim Hover */
.edeltaktik-whatsapp a:hover .whatsapp-text {

    max-width: 160px;

    opacity: 1;

}


/* WhatsApp Kreis */
.whatsapp-icon {

    width: 44px;

    height: 44px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: #ffffff;

    border-radius: 50%;

}


/* WhatsApp Icon */
.whatsapp-icon svg {

    width: 25px;

    height: 25px;

    fill: #25D366;

}



/* ---------------------------------------------------------
   Mobile Darstellung
   --------------------------------------------------------- */

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


    .edeltaktik-whatsapp {

        right: 18px;

        bottom: 18px;

    }


    /* Nur Icon auf Mobil */
    .whatsapp-text {

        display: none;

    }


    .edeltaktik-whatsapp a {

        width: 60px;

        height: 60px;

        padding: 0;

        justify-content: center;

    }


    .whatsapp-icon {

        width: 60px;

        height: 60px;

    }


    .whatsapp-icon svg {

        width: 32px;

        height: 32px;

    }

}