/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Hintergrund für Website-Body */
body {
     min-height: 100vh;
	background: linear-gradient(
        180deg,
        #FFF9F6 0%,
        #FAF7FC 45%,
        #F6F3FB 100%
    );
	background-repeat: no-repeat;
}

/* ONTAGO Button - u.a. im Header */
.ontago-button-primary .elementor-button {
    background: linear-gradient(
       115deg,
        #D63800 0%,
        #D62F59 28%,
        #D3267C 58%,
        #7933EB 100%
    );

    box-shadow:
        0 10px 24px rgba(13, 19, 38, 0.10),
        0 4px 12px rgba(113, 56, 216, 0.08);

    border-radius: 14px;

    transition:
        transform .18s,
        box-shadow .18s;
}

.ontago-button-primary .elementor-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 14px 28px rgba(13, 19, 38, 0.13),
        0 6px 16px rgba(113, 56, 216, 0.11);
}


/* ONTAGO Icons – CI-konformer Farbverlauf */
.ontago-gradient-icon .elementor-icon {
    background: linear-gradient(
        135deg,
        #FF5C20 0%,
        #FF3E5E 52%,
        #7E3BED 100%
    ) !important;
}


/* ONTAGO Referenzbereich – CI-konformer Hintergrundverlauf */
.ontago-testimonials {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        115deg,
        #D94B12 0%,
        #D93664 52%,
        #7138D8 100%
    );

    border-radius: 30px;

    box-shadow:
        0 18px 45px rgba(13, 19, 38, 0.10),
        0 8px 24px rgba(113, 56, 216, 0.06);
}


/*  */

.ontago-background {
    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(124, 58, 237, 0.15),
            transparent 25%
        ),
        radial-gradient(
            circle at 10% 45%,
            rgba(255, 45, 122, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 78% 85%,
            rgba(255, 106, 0, 0.09),
            transparent 24%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #faf8ff 48%,
            #fff9f4 100%
        );
}

/* ONTAGO Farbverlauf für Haupt- und Zwischenüberschriften */
.ontago-gradient-heading .elementor-heading-title,
.ontago-gradient-inline {
    background: linear-gradient(
        100deg,
        #FF5C20 0%,
        #FF3E5E 52%,
        #7E3BED 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* ONTAGO Kontaktkachel / Glass Effect */

.ontago-contact-card {
    background: rgba(255, 255, 255, 0.70) !important;

    border: 1px solid rgba(13, 19, 38, 0.09);
    border-radius: 28px;

    box-shadow:
        0 26px 70px rgba(13, 19, 38, 0.11);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* Contact Form 7 */

	/* Kontaktformular: Primärer Submit-Button im ONTAGO CI-Verlauf */
.ontago-contact-card input[type="submit"],
.ontago-contact-card button[type="submit"] {
    width: 100%;

    background: linear-gradient(
        100deg,
        #D94B12 0%,
        #D93664 52%,
        #7138D8 100%
    );
}

	/* Submit-Bereich als Bezugspunkt für den CF7-Spinner */
.ontago-form-submit-wrap {
    position: relative;
}


	/* CF7-Spinner aus dem Layoutfluss nehmen */
.ontago-contact-card .wpcf7-spinner {
    position: absolute;

    top: 50%;
    right: 14px;

    margin: 0;

    transform: translateY(-50%);
}


	/* Fokuszustand der Formularfelder */
.ontago-contact-card input[type="text"]:focus,
.ontago-contact-card input[type="email"]:focus,
.ontago-contact-card input[type="tel"]:focus,
.ontago-contact-card textarea:focus,
.ontago-contact-card select:focus {
    border-color: rgba(13, 19, 38, 0.14) !important;

    outline: 2px solid #7C3AED;
    outline-offset: 0px;

    box-shadow: none;
}


/* Bilder: Desktop 3:2, Mobile 1:1 */

.img-ratio-3-2-desktop-1-1-mobile img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

@media (max-width: 767px) {
    .img-ratio-3-2-desktop-1-1-mobile img {
        aspect-ratio: 1 / 1;
        object-position: center;
    }
}


/* =========================================================
   ONTAGO Info-Tooltip
   Desktop + Mobile / iOS
   ========================================================= */


/* ---------------------------------------------------------
   Wrapper
   --------------------------------------------------------- */

.ontago-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;

    margin-left: 0px;
    vertical-align: middle;
}


/* ---------------------------------------------------------
   Summary / Klickfläche
   --------------------------------------------------------- */

.ontago-info > summary {
    -webkit-appearance: none;
    appearance: none;

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

    width: 24px;
    height: 24px;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}


/* Native Details-Marker entfernen */

.ontago-info > summary::-webkit-details-marker {
    display: none !important;
}

.ontago-info > summary::marker {
    content: "";
    font-size: 0;
}


/* ---------------------------------------------------------
   Sichtbares Info-Icon
   --------------------------------------------------------- */

.ontago-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    box-sizing: border-box;

    border: 1px solid rgba(32, 32, 32, 0.28);
    border-radius: 50%;

    background: transparent;

    color: rgba(32, 32, 32, 0.58);

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;

    transition:
        color 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease;
}


/* ---------------------------------------------------------
   Hover – nur Geräte mit echter Maus
   --------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {

    .ontago-info > summary:hover .ontago-info-icon {
        color: #FF6A00;
        border-color: #FF6A00;
        background: rgba(255, 106, 0, 0.06);
    }
}


/* ---------------------------------------------------------
   Geöffneter Zustand
   --------------------------------------------------------- */

.ontago-info[open] .ontago-info-icon {
    color: #FF6A00;
    border-color: #FF6A00;
    background: rgba(255, 106, 0, 0.10);
}


/* ---------------------------------------------------------
   Tastatur-Fokus
   --------------------------------------------------------- */

.ontago-info > summary:focus {
    outline: none;
}

.ontago-info > summary:focus-visible .ontago-info-icon {
    outline: 2px solid rgba(255, 106, 0, 0.18);
    outline-offset: 2px;
}


/* =========================================================
   Tooltip-Box
   ========================================================= */

.ontago-info-box {
    position: absolute;
    z-index: 9999;

    left: 50%;
    bottom: calc(100% + 6px);

    width: 250px;
    max-width: calc(100vw - 32px);

    box-sizing: border-box;

    padding: 12px 14px;

    background: #FFFFFF;

    border: 1px solid rgba(32, 32, 32, 0.10);
    border-radius: 12px;

    box-shadow:
        0 10px 28px rgba(13, 19, 38, 0.10);

    color: #202020;

    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;

    text-align: left;
    white-space: normal;

    transform: translateX(-50%);
}


/* =========================================================
   Mobile / iOS
   ========================================================= */

@media (max-width: 767px) {

    .ontago-info {
        margin-left: 2px;
    }

    .ontago-info-box {
        left: 50%;
        right: auto;

        bottom: calc(100% + 5px);

        width: 210px;
        max-width: calc(100vw - 32px);

        padding: 11px 13px;

        font-size: 14px;
        line-height: 1.4;

        transform: translateX(-50%);
    }
}

/* Mobile: Tooltip am rechten Icon-Rand ausrichten */
@media (max-width: 767px) {
    .ontago-info-box {
        left: auto;
        right: 0;
        transform: none;
    }
}


/* JZ: ONTAGO – Preistabelle nach Anlagengröße */

@media (max-width: 767px) {

    .ontago-price-row > .e-con-inner {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        column-gap: 8px !important;
        row-gap: 8px !important;

        width: 100% !important;
        max-width: none !important;
        align-items: stretch !important;
    }

    .ontago-price-row > .e-con-inner > * {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        flex: none !important;
    }

    .ontago-price-row:not(.ontago-price-head)
    > .e-con-inner > :nth-child(1) {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;

        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .ontago-price-row:not(.ontago-price-head)
    > .e-con-inner > :nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .ontago-price-row:not(.ontago-price-head)
    > .e-con-inner > :nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }

    .ontago-price-row:not(.ontago-price-head)
    > .e-con-inner > :nth-child(4) {
        grid-column: 3 !important;
        grid-row: 2 !important;
    }

    .ontago-price-head
    > .e-con-inner > :nth-child(1) {
        display: none !important;
    }

    .ontago-price-head
    > .e-con-inner > :nth-child(2) {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .ontago-price-head
    > .e-con-inner > :nth-child(3) {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .ontago-price-head
    > .e-con-inner > :nth-child(4) {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    .ontago-price-head
    > .e-con-inner > :nth-child(n+2),

    .ontago-price-row:not(.ontago-price-head)
    > .e-con-inner > :nth-child(n+2) {
        text-align: center !important;
    }

    .ontago-price-row:not(.ontago-price-head) {
        margin-bottom: 18px !important;
    }

    .ontago-price-head {
        margin-bottom: 6px !important;
    }
}

/* Fokusrahmen im ONTAGO Corporate Design */
.ccm-widget--text .ccm-inner-overflow:focus {
    outline: 1px solid #7E3BED !important;
    outline-offset: 5px !important;
    border-radius: 4px;
}