/*!
Theme Name: Hello Elementor Child (FreivonX Edition)
Theme URI: https://freivonx.de
Description: Clean, performance-optimized child theme with centralized CSS architecture
Author: FreivonX Team
Author URI: https://freivonx.de
Template: hello-elementor
Version: 4.3.0
Text Domain: hello-elementor-child
*/
/* BUILD: 2026-02-09T20h10 — Wenn du das in DevTools siehst, ist v4.3.0 aktiv */

/* ============================================================================
   TABLE OF CONTENTS
   ============================================================================
   1.  CSS VARIABLES (Brand System)
   2.  GLOBAL BASE STYLES
   3.  COMPONENTS
       3.1  Buttons (Global Button Repair)
       3.2  Cards (fx-card System)
       3.3  Header (freivonx-header V35)
       3.4  Table of Contents (fx-ghost-toc)
       3.5  Quote Box
       3.6  Sticky Button
       3.7  Footer Links
   4.  GRAVITY FORMS
       4.1  Color Variables
       4.2  Input Fields
       4.3  Buttons
       4.4  Image Choice Cards
       4.5  Choice Boxed
       4.6  Survey / Likert
       4.7  Slider
       4.8  Kalender / Booking
       4.9  Newsletter
       4.10 Multi-Page & Centered
       4.11 Responsive
       4.12 Telefon-Feld
   5.  CONVERSATIONAL FORM (Komplett)
   6.  UTILITY CLASSES
   ============================================================================ */


/* ============================================================================
   1. CSS VARIABLES - BRAND SYSTEM
   ============================================================================ */

:root {
    /* ── Brand Colors ── */
    --fx-gold-primary: #FFD275;
    --fx-gold-cta: #F5C518;
    --fx-beige-soft: #F4D8AA;

    /* Elementor Legacy Mappings */
    --e-global-color-primary: var(--fx-gold-primary);
    --e-global-color-3739bad: var(--fx-gold-primary);
    --e-global-color-accent: var(--fx-beige-soft);
    --e-global-color-d63c272: var(--fx-beige-soft);

    /* ── Neutrals ── */
    --fx-white: #FFFFFF;
    --fx-text-light: #E6E6E6;
    --fx-text-muted: #D1D1D1;
    --fx-grey-mid: #85888A;

    --e-global-color-d6855dd: var(--fx-white);
    --e-global-color-text: var(--fx-text-light);
    --e-global-color-d9e13d3: var(--fx-text-muted);
    --e-global-color-60a15b5: var(--fx-grey-mid);

    /* ── Backgrounds ── */
    --fx-bg-body: #21262B;
    --fx-bg-card: #292F35;
    --fx-bg-card-hover: rgba(41, 47, 53, 0.6);
    --fx-bg-footer: #1B1F23;

    --e-global-color-c1ca899: var(--fx-bg-body);
    --e-global-color-9706797: var(--fx-bg-card);
    --e-global-color-065788c: var(--fx-bg-card-hover);
    --e-global-color-375b362: var(--fx-bg-footer);

    /* ── Borders & Overlays ── */
    --fx-border-subtle: rgba(255, 255, 255, 0.08);
    --fx-border-highlight: rgba(255, 255, 255, 0.12);
    --e-global-color-8422361: var(--fx-border-subtle);

    /* ── Special Use ── */
    --fx-cream: #FAEDE6;
    --fx-orange: #FF9B6E;
    --e-global-color-195ca34: var(--fx-cream);
    --e-global-color-9a732b3: var(--fx-orange);

    /* ── fx-card Component ── */
    --fx-surface-card: var(--fx-bg-card);
    --fx-surface-hero: var(--fx-bg-card);
    --fx-hover-bg: var(--fx-bg-card-hover);
    --fx-accent-color: var(--fx-gold-primary);
    --fx-border-color: var(--fx-border-subtle);
    --fx-radius: 22px;
    --fx-shadow-card:
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.25),
        0 24px 48px -8px rgba(0, 0, 0, 0.5);
    --fx-padding-fluid: clamp(2rem, 4vw, 3rem);
    --fx-hero-padding: clamp(2.5rem, 5vw, 4rem);
}

/* Body-level variable overrides (Elementor compatibility) */
body {
    --e-global-color-3739bad: #FFD275;
    --box-bg-color: #292F35;
}


/* ============================================================================
   2. GLOBAL BASE STYLES
   ============================================================================ */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 200px !important;
}

body {
    background-color: var(--fx-bg-body);
    color: var(--fx-text-light);
}

/* Word Break Safety */
p, li, h1, h2, h3, h4, h5, h6, span, div {
    overflow-wrap: break-word;
    word-break: normal;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

a {
    overflow-wrap: anywhere;
}

/* Selection */
::selection {
    background: #D4AF37;
    color: #000000;
}

::-moz-selection {
    background: #D4AF37;
    color: #000000;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 6px;
    border: 3px solid #121212;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #D4AF37;
}

/* Blog Post Author Image */
.elementor .hfe-post-info img {
    border-radius: 100%;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* ============================================================================
   3. COMPONENTS
   ============================================================================ */

/* ========================================
   3.1 BUTTONS - Global Button Repair
   ======================================== */

body:not(.elementor-location-footer) .elementor-widget-button:not(.local-css) a.elementor-button,
body:not(.elementor-location-footer) .elementor-widget-button:not(.local-css) .elementor-button,
body:not(.elementor-location-footer) .elementor-widget:not(.local-css) a.eael-creative-button,
body:not(.elementor-location-footer) .elementor-widget:not(.local-css) a[class*="button"]:not(.elementor-location-footer a),
body:not(.elementor-location-footer) input[type="submit"]:not(.elementor-location-footer input):not(.local-css),
body:not(.elementor-location-footer) button[type="submit"]:not(.elementor-location-footer button):not(.local-css) {
    width: fit-content !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 5px auto !important;
    background-image: none !important;
    background-color: transparent !important;
    border: none !important;
    background: linear-gradient(135deg, #F5C518 0%, #ffd275 100%) !important;
    color: #000000 !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    font-family: "Nunito Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 -10px 40px -5px rgba(245, 197, 24, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    transform: translateY(0) !important;
    -webkit-hyphens: none !important;
    hyphens: none !important;
    white-space: normal !important;
    word-break: normal !important;
}

body:not(.elementor-location-footer) .elementor-widget-button:not(.local-css) a.elementor-button:hover,
body:not(.elementor-location-footer) .elementor-widget:not(.local-css) a.eael-creative-button:hover,
body:not(.elementor-location-footer) .elementor-widget:not(.local-css) a[class*="button"]:not(.elementor-location-footer a):hover,
body:not(.elementor-location-footer) input[type="submit"]:not(.elementor-location-footer input):hover,
body:not(.elementor-location-footer) button[type="submit"]:not(.elementor-location-footer button):hover {
    background: linear-gradient(135deg, #ffffff 0%, #f5e6b3 100%) !important;
    color: #000000 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 15px 40px -5px rgba(255, 255, 255, 0.35) !important;
    transform: translateY(3px) !important;
}

body:not(.elementor-location-footer) .elementor-widget-button:not(.local-css),
body:not(.elementor-location-footer) .elementor-widget-container:not(.local-css) {
    background: transparent !important;
    box-shadow: none !important;
}

body:not(.elementor-location-footer) .elementor-widget-button:not(.local-css) .elementor-button-icon {
    display: none !important;
}


/* ========================================
   3.2 CARDS - fx-card Component System
   ======================================== */

.fx-card {
    background: var(--fx-surface-card);
    border: none;
    border-radius: var(--fx-radius);
    padding: var(--fx-padding-fluid);
    box-shadow: var(--fx-shadow-card);
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fx-card:hover {
    transform: translateY(-2px);
    background: var(--fx-hover-bg);
}

.fx-card-hero {
    background: var(--fx-surface-hero);
    padding: var(--fx-hero-padding);
    text-align: center;
}

@media (max-width: 768px) {
    .fx-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    .fx-card-hero {
        padding: 1.5rem;
    }
}


/* ========================================
   3.3 HEADER - freivonx-header V35
   ======================================== */

/* ── Font Definition ── */
.freivonx-header,
.freivonx-header .elementor-widget-nav-menu,
.freivonx-header .elementor-nav-menu,
.freivonx-header .elementor-item,
.freivonx-header .elementor-button,
.freivonx-header .elementor-button-text,
.freivonx-header a {
    font-family: "Nunito Sans", sans-serif !important;
}

/* ── CTA Button (Desktop) ── */
.freivonx-header .cta-button a:before,
.freivonx-header .cta-button a:after {
    display: none !important;
    content: none !important;
}

.freivonx-header .cta-button a {
    background: linear-gradient(135deg, #F5C518 0%, #ffd275 100%) !important;
    box-shadow: 0 -15px 50px -10px rgba(245, 197, 24, 0.25) !important;
    color: #000000 !important;
    border-radius: 50px !important;
    padding: 12px 35px !important;
    margin-left: 13px !important;
    font-family: "Nunito Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    transition: all 0.2s ease-out !important;
}

.freivonx-header .cta-button a:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f5e6b3 100%) !important;
    box-shadow: 0 20px 50px -10px rgba(255, 255, 255, 0.3) !important;
    color: #000000 !important;
    transform: translateY(3px) !important;
}

/* ── Container ── */
.freivonx-header {
    width: 100% !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background-color: rgba(5, 5, 5, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 16px 0 !important;
    justify-content: center !important;
    z-index: 998 !important;
    transition: padding 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease !important;
}

.freivonx-header > .e-con-inner,
.freivonx-header > .elementor-container {
    width: 100% !important;
    max-width: 1400px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 28px !important;
}

/* ── Shrink State ── */
.freivonx-header.header-shrink {
    background-color: rgba(5, 5, 5, 0.7) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
    padding: 4px 0 !important;
}

/* ── Desktop (>1024px) ── */
@media (min-width: 1025px) {
    .freivonx-header .elementor-nav-menu--main {
        display: flex !important;
        align-items: center !important;
    }

    .freivonx-header .elementor-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .freivonx-header .elementor-nav-menu--dropdown {
        display: none !important;
    }

    .freivonx-header .local-css {
        display: none !important;
    }

    /* Logo Container */
    .freivonx-header .elementor-widget-image {
        max-width: 300px !important;
        margin-right: 40px !important;
        overflow: visible !important;
        filter: none !important;
        transition: max-width 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }

    .freivonx-header .elementor-widget-image .elementor-widget-container {
        overflow: visible !important;
        filter: none !important;
    }

    .freivonx-header .elementor-widget-image img {
        transition: filter 0.3s ease, max-width 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
        filter: none !important;
        overflow: visible !important;
    }

    .freivonx-header .elementor-widget-image:hover img {
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35))
                drop-shadow(0 0 12px rgba(255, 255, 255, 0.2)) !important;
    }

    .freivonx-header.header-shrink .elementor-widget-image {
        max-width: 200px !important;
    }

    /* Menu Items */
    .freivonx-header .elementor-item {
        font-family: "Nunito Sans", sans-serif !important;
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        padding: 10px 15px !important;
        background: transparent !important;
        letter-spacing: 0.8px !important;
        white-space: nowrap !important;
        transition: font-size 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease !important;
    }

    .freivonx-header .elementor-item:hover {
        color: #F5C518 !important;
    }

    .freivonx-header.header-shrink .elementor-item {
        font-size: 14px !important;
        padding: 8px 12px !important;
    }

    .freivonx-header.header-shrink .cta-button a {
        padding: 10px 28px !important;
        font-size: 14px !important;
    }
}

/* ── Mobile/Tablet 3-Column Grid (≤1024px) ── */
@media (max-width: 1024px) {
    .freivonx-header {
        padding: 14px 0 !important;
        background-color: rgba(5, 5, 5, 0.4) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        transition: padding 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease !important;
    }

    .freivonx-header > .e-con-inner,
    .freivonx-header > .elementor-container {
        padding: 0 32px !important;
        gap: 0 !important;
    }

    .freivonx-header .elementor-nav-menu--main {
        display: none !important;
    }

    /* Logo */
    .freivonx-header .elementor-widget-image {
        order: 3 !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        filter: none !important;
    }

    .freivonx-header .elementor-widget-image .elementor-widget-container {
        overflow: visible !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        filter: none !important;
    }

    .freivonx-header .elementor-widget-image img,
    .freivonx-header .elementor-widget-image .elementor-image {
        max-width: 185px !important;
        width: auto !important;
        height: auto !important;
        max-height: 55px !important;
        transition: max-width 0.4s cubic-bezier(0.22, 1, 0.36, 1), max-height 0.2s ease-out, filter 0.2s ease-out !important;
        filter: none !important;
        overflow: visible !important;
    }

    .freivonx-header .elementor-widget-image:hover img,
    .freivonx-header .elementor-widget-image:hover .elementor-image {
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25))
                drop-shadow(0 0 12px rgba(255, 255, 255, 0.1)) !important;
    }

    /* Hamburger/Nav */
    .freivonx-header .elementor-widget-nav-menu {
        order: 2 !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }

    .freivonx-header .elementor-widget-nav-menu > .elementor-widget-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Hamburger Button */
    .freivonx-header .elementor-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        padding: 10px !important;
        margin: 0 !important;
        cursor: pointer !important;
        transition: padding 0.2s ease-out !important;
    }

    /* Icon Toggle */
    .freivonx-header .elementor-menu-toggle .eicon-close,
    .freivonx-header .elementor-menu-toggle [class*="close"],
    .freivonx-header .elementor-menu-toggle .elementor-menu-toggle__icon--close {
        display: none !important;
    }

    .freivonx-header .elementor-menu-toggle .eicon-menu-bar,
    .freivonx-header .elementor-menu-toggle [class*="menu-bar"],
    .freivonx-header .elementor-menu-toggle .elementor-menu-toggle__icon--open {
        display: block !important;
    }

    .freivonx-header .elementor-menu-toggle.elementor-active .eicon-close,
    .freivonx-header .elementor-menu-toggle.elementor-active [class*="close"],
    .freivonx-header .elementor-menu-toggle.elementor-active .elementor-menu-toggle__icon--close {
        display: block !important;
    }

    .freivonx-header .elementor-menu-toggle.elementor-active .eicon-menu-bar,
    .freivonx-header .elementor-menu-toggle.elementor-active [class*="menu-bar"],
    .freivonx-header .elementor-menu-toggle.elementor-active .elementor-menu-toggle__icon--open {
        display: none !important;
    }

    /* Hamburger Icon */
    .freivonx-header .elementor-menu-toggle i {
        font-size: 28px !important;
        color: #ffffff !important;
        line-height: 1 !important;
        transition: font-size 0.2s ease-out, color 0.2s ease-out !important;
    }

    .freivonx-header .elementor-menu-toggle svg {
        fill: #ffffff !important;
        color: #ffffff !important;
        width: 28px !important;
        height: 28px !important;
        transition: width 0.2s ease-out, height 0.2s ease-out, fill 0.2s ease-out !important;
    }

    .freivonx-header .elementor-menu-toggle:hover i {
        color: #F5C518 !important;
    }

    .freivonx-header .elementor-menu-toggle:hover svg {
        fill: #F5C518 !important;
        color: #F5C518 !important;
    }

    /* Mobile CTA Button (left column) */
    .freivonx-header .local-css {
        order: 1 !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .freivonx-header .local-css .elementor-button,
    .freivonx-header .local-css a.elementor-button,
    .freivonx-header .local-css .elementor-button-wrapper .elementor-button,
    .freivonx-header .local-css .elementor-button-link {
        background: linear-gradient(135deg, #F5C518 0%, #ffd275 100%) !important;
        box-shadow: 0 -8px 25px -6px rgba(245, 197, 24, 0.2) !important;
        color: #000000 !important;
        border-radius: 50px !important;
        border: none !important;
        padding: 11px 24px !important;
        font-family: "Nunito Sans", sans-serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        text-transform: none !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        transition: all 0.2s ease-out !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
    }

    .freivonx-header .local-css .elementor-button:hover,
    .freivonx-header .local-css a.elementor-button:hover,
    .freivonx-header .local-css .elementor-button-link:hover {
        background: linear-gradient(135deg, #ffffff 0%, #f5e6b3 100%) !important;
        box-shadow: 0 15px 40px -8px rgba(255, 255, 255, 0.3) !important;
        transform: translateY(2px) !important;
    }

    .freivonx-header .local-css .elementor-button-text,
    .freivonx-header .local-css .elementor-button span {
        font-family: "Nunito Sans", sans-serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        text-transform: none !important;
        color: #000000 !important;
        line-height: 1.3 !important;
        transition: font-size 0.2s ease-out !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* ── Mobile Shrink ── */
@media (max-width: 1024px) {
    .freivonx-header.header-shrink {
        background-color: rgba(5, 5, 5, 0.7) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 3px 0 !important;
    }

    .freivonx-header.header-shrink .elementor-widget-image img,
    .freivonx-header.header-shrink .elementor-widget-image .elementor-image {
        max-width: 130px !important;
        max-height: 42px !important;
    }

    .freivonx-header.header-shrink .local-css .elementor-button,
    .freivonx-header.header-shrink .local-css a.elementor-button,
    .freivonx-header.header-shrink .local-css .elementor-button-link {
        padding: 6px 14px !important;
        font-size: 11px !important;
        box-shadow: 0 -6px 20px -5px rgba(245, 197, 24, 0.2) !important;
    }

    .freivonx-header.header-shrink .local-css .elementor-button-text,
    .freivonx-header.header-shrink .local-css .elementor-button span {
        font-size: 11px !important;
    }

    .freivonx-header.header-shrink .elementor-menu-toggle {
        padding: 6px !important;
    }

    .freivonx-header.header-shrink .elementor-menu-toggle i {
        font-size: 20px !important;
    }

    .freivonx-header.header-shrink .elementor-menu-toggle svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* ── Menu Open State ── */
@media (max-width: 1024px) {
    .freivonx-header:not(.header-shrink):has(.elementor-menu-toggle.elementor-active) {
        padding: 14px 0 !important;
        background-color: rgba(5, 5, 5, 0.5) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .freivonx-header.header-shrink:has(.elementor-menu-toggle.elementor-active) {
        padding: 3px 0 !important;
        background-color: rgba(5, 5, 5, 0.7) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .freivonx-header:has(.elementor-menu-toggle.elementor-active) .elementor-widget-image {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .freivonx-header:has(.elementor-menu-toggle.elementor-active) .elementor-menu-toggle i {
        color: #F5C518 !important;
    }

    .freivonx-header:has(.elementor-menu-toggle.elementor-active) .elementor-menu-toggle svg {
        fill: #F5C518 !important;
        color: #F5C518 !important;
    }

    .freivonx-header:not(.header-shrink):has(.elementor-menu-toggle.elementor-active) .elementor-menu-toggle i {
        font-size: 28px !important;
    }

    .freivonx-header:not(.header-shrink):has(.elementor-menu-toggle.elementor-active) .elementor-menu-toggle svg {
        width: 28px !important;
        height: 28px !important;
    }

    .freivonx-header.header-shrink:has(.elementor-menu-toggle.elementor-active) .elementor-menu-toggle i {
        font-size: 20px !important;
    }

    .freivonx-header.header-shrink:has(.elementor-menu-toggle.elementor-active) .elementor-menu-toggle svg {
        width: 20px !important;
        height: 20px !important;
    }

    .freivonx-header:has(.elementor-menu-toggle.elementor-active) .local-css {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .freivonx-header:has(.elementor-menu-toggle.elementor-active) > .e-con-inner,
    .freivonx-header:has(.elementor-menu-toggle.elementor-active) > .elementor-container {
        padding: 0 32px !important;
    }
}

/* ── Small Screens ── */
@media (max-width: 600px) {
    .freivonx-header {
        padding: 12px 0 !important;
    }

    .freivonx-header > .e-con-inner,
    .freivonx-header > .elementor-container {
        padding: 0 24px !important;
    }

    .freivonx-header .elementor-widget-image img,
    .freivonx-header .elementor-widget-image .elementor-image {
        max-width: 160px !important;
        max-height: 50px !important;
    }

    .freivonx-header .local-css .elementor-button,
    .freivonx-header .local-css a.elementor-button,
    .freivonx-header .local-css .elementor-button-link {
        padding: 10px 20px !important;
        font-size: 12px !important;
    }

    .freivonx-header .local-css .elementor-button-text,
    .freivonx-header .local-css .elementor-button span {
        font-size: 12px !important;
    }

    .freivonx-header .elementor-menu-toggle i {
        font-size: 26px !important;
    }

    .freivonx-header .elementor-menu-toggle svg {
        width: 26px !important;
        height: 26px !important;
    }

    .freivonx-header.header-shrink {
        padding: 5px 0 !important;
    }

    .freivonx-header.header-shrink .elementor-widget-image img,
    .freivonx-header.header-shrink .elementor-widget-image .elementor-image {
        max-width: 110px !important;
        max-height: 35px !important;
    }

    .freivonx-header:not(.header-shrink):has(.elementor-menu-toggle.elementor-active) {
        padding: 12px 0 !important;
    }

    .freivonx-header:has(.elementor-menu-toggle.elementor-active) > .e-con-inner,
    .freivonx-header:has(.elementor-menu-toggle.elementor-active) > .elementor-container {
        padding: 0 24px !important;
    }
}

@media (max-width: 420px) {
    .freivonx-header {
        padding: 10px 0 !important;
    }

    .freivonx-header > .e-con-inner,
    .freivonx-header > .elementor-container {
        padding: 0 20px !important;
    }

    .freivonx-header .elementor-widget-image img,
    .freivonx-header .elementor-widget-image .elementor-image {
        max-width: 135px !important;
        max-height: 44px !important;
    }

    .freivonx-header .local-css .elementor-button,
    .freivonx-header .local-css a.elementor-button,
    .freivonx-header .local-css .elementor-button-link {
        padding: 9px 16px !important;
        font-size: 11px !important;
    }

    .freivonx-header .local-css .elementor-button-text,
    .freivonx-header .local-css .elementor-button span {
        font-size: 11px !important;
    }

    .freivonx-header .elementor-menu-toggle i {
        font-size: 24px !important;
    }

    .freivonx-header .elementor-menu-toggle svg {
        width: 24px !important;
        height: 24px !important;
    }

    .freivonx-header.header-shrink {
        padding: 4px 0 !important;
    }

    .freivonx-header.header-shrink .elementor-widget-image img,
    .freivonx-header.header-shrink .elementor-widget-image .elementor-image {
        max-width: 100px !important;
        max-height: 32px !important;
    }

    .freivonx-header:not(.header-shrink):has(.elementor-menu-toggle.elementor-active) {
        padding: 10px 0 !important;
    }

    .freivonx-header:has(.elementor-menu-toggle.elementor-active) > .e-con-inner,
    .freivonx-header:has(.elementor-menu-toggle.elementor-active) > .elementor-container {
        padding: 0 20px !important;
    }
}

/* ── Dropdown Menu ── */
@media (max-width: 1024px) {
    .freivonx-header .elementor-nav-menu--dropdown,
    .freivonx-header .elementor-widget-nav-menu .elementor-nav-menu--dropdown,
    .freivonx-header .elementor-nav-menu--dropdown.elementor-nav-menu__container {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 999999 !important;
        margin-top: 15px !important;
        background: linear-gradient(180deg, rgba(18, 18, 20, 0.96) 0%, rgba(10, 10, 12, 0.98) 100%) !important;
        border: none !important;
        border-radius: 16px !important;
        box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.6),
            0 10px 25px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 0 rgba(245, 197, 24, 0.3),
            inset 1px 0 0 0 rgba(245, 197, 24, 0.15),
            inset -1px 0 0 0 rgba(245, 197, 24, 0.15),
            inset 0 -1px 0 0 rgba(255, 255, 255, 0.03) !important;
        min-width: 240px !important;
        width: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        max-height: 70vh !important;
        transition: opacity 0.2s ease-out, visibility 0.2s ease-out !important;
    }

    .freivonx-header:has(.elementor-menu-toggle.elementor-active) .elementor-nav-menu--dropdown,
    .freivonx-header:has(.elementor-menu-toggle.elementor-active) .elementor-widget-nav-menu .elementor-nav-menu--dropdown {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .freivonx-header .elementor-nav-menu--dropdown::-webkit-scrollbar { width: 5px !important; }
    .freivonx-header .elementor-nav-menu--dropdown::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05) !important; border-radius: 3px !important; }
    .freivonx-header .elementor-nav-menu--dropdown::-webkit-scrollbar-thumb { background: rgba(245, 197, 24, 0.5) !important; border-radius: 3px !important; }
    .freivonx-header .elementor-nav-menu--dropdown::-webkit-scrollbar-thumb:hover { background: rgba(245, 197, 24, 0.8) !important; }

    /* Dropdown Items */
    .freivonx-header .elementor-nav-menu--dropdown .elementor-item {
        font-family: "Nunito Sans", sans-serif !important;
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        padding: 14px 24px !important;
        text-align: center !important;
        display: block !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        background: transparent !important;
        letter-spacing: 0.5px !important;
        text-transform: none !important;
        transition: all 0.15s ease-out !important;
        position: relative !important;
    }

    .freivonx-header .elementor-nav-menu--dropdown .elementor-item::before {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) scaleY(0) !important;
        width: 3px !important;
        height: 60% !important;
        background: linear-gradient(180deg, #F5C518 0%, #ffd275 100%) !important;
        border-radius: 0 2px 2px 0 !important;
        transition: transform 0.2s ease-out !important;
        box-shadow: 0 0 8px rgba(245, 197, 24, 0.4) !important;
    }

    .freivonx-header .elementor-nav-menu--dropdown li:last-child .elementor-item {
        border-bottom: none !important;
    }

    .freivonx-header .elementor-nav-menu--dropdown .elementor-item:hover {
        color: #F5C518 !important;
        background: linear-gradient(90deg, rgba(245, 197, 24, 0.08) 0%, transparent 100%) !important;
    }

    .freivonx-header .elementor-nav-menu--dropdown .elementor-item:hover::before {
        transform: translateY(-50%) scaleY(1) !important;
    }

    .freivonx-header .elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
        color: #F5C518 !important;
        background: linear-gradient(90deg, rgba(245, 197, 24, 0.06) 0%, transparent 100%) !important;
    }

    .freivonx-header .elementor-nav-menu--dropdown .elementor-item.elementor-item-active::before {
        transform: translateY(-50%) scaleY(1) !important;
    }

    /* CTA in Dropdown */
    .freivonx-header .elementor-nav-menu--dropdown li:last-child .elementor-item {
        background: linear-gradient(135deg, #F5C518 0%, #ffd275 100%) !important;
        box-shadow: 0 -8px 25px -6px rgba(245, 197, 24, 0.2) !important;
        color: #000000 !important;
        border-radius: 50px !important;
        padding: 11px 24px !important;
        margin: 14px 20px 16px !important;
        font-family: "Nunito Sans", sans-serif !important;
        font-weight: 700 !important;
        font-size: 13px !important;
        display: inline-block !important;
        width: auto !important;
        border-bottom: none !important;
        letter-spacing: 0.5px !important;
        text-transform: none !important;
    }

    .freivonx-header .elementor-nav-menu--dropdown li:last-child .elementor-item::before {
        display: none !important;
    }

    .freivonx-header .elementor-nav-menu--dropdown li:last-child {
        text-align: center !important;
        border-bottom: none !important;
    }

    .freivonx-header .elementor-nav-menu--dropdown li:last-child .elementor-item:hover {
        background: linear-gradient(135deg, #ffffff 0%, #f5e6b3 100%) !important;
        box-shadow: 0 12px 30px -6px rgba(255, 255, 255, 0.25) !important;
    }
}

/* ── Transitions ── */
@media (max-width: 1024px) {
    .freivonx-header:has(.elementor-menu-toggle.elementor-active) .elementor-widget-image,
    .freivonx-header:has(.elementor-menu-toggle.elementor-active) .local-css {
        transition: opacity 0.15s ease-out, visibility 0.15s ease-out !important;
    }
}

/* ── Safety ── */
.freivonx-header[style*="display: none"],
.freivonx-header[style*="display:none"] {
    display: none !important;
}


/* ========================================
   3.4 TABLE OF CONTENTS - fx-ghost-toc
   ======================================== */

.fx-ghost-toc .elementor-toc__header-title {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--fx-gold-primary);
}

.fx-ghost-toc .elementor-toc__list-item {
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    color: var(--fx-text-muted);
    transition: color 0.3s ease;
}

.fx-ghost-toc .elementor-toc__list-item:hover {
    color: var(--fx-text-light);
}

.fx-ghost-toc a.elementor-item-active {
    color: var(--fx-white);
    font-weight: 700;
}

.fx-ghost-toc {
    opacity: 0.55;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
}

.fx-ghost-toc:hover {
    opacity: 1;
}

.fx-ghost-toc.local-css {
    transition: color 0.25s ease-in-out;
}

.fx-ghost-toc:hover .local-css {
    color: var(--fx-gold-primary) !important;
}


/* ========================================
   3.5 QUOTE BOX
   ======================================== */

.gf-quote-box-wrapper {
    background-color: var(--e-global-color-9706797, #1a1f24);
    padding: 2.5em;
    display: flex;
    align-items: center;
    gap: 45px;
    font-family: sans-serif;
    border-radius: 15px;
    border: 1px solid var(--e-global-color-8422361, #292F35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease-in-out;
    margin: 0 50px;
}

.gf-quote-box-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gf-quote-author {
    text-align: center;
    flex-shrink: 0;
}

.gf-quote-author img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.author-name {
    font-weight: bold;
    font-size: 1.1em;
    color: #FFD275;
}

.author-position {
    font-size: 0.85em;
    color: #fff;
    font-style: italic;
}

.gf-quote-content blockquote {
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
}

.gf-quote-content p {
    font-size: 1.2em;
    font-style: italic;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 2;
}

.gf-quote-content blockquote::before {
    content: '\201C';
    font-family: 'Georgia', serif;
    font-size: 5em;
    color: #e0e0e0;
    position: absolute;
    left: -0.45em;
    top: -0.3em;
    z-index: 1;
}

@media (max-width: 768px) {
    .gf-quote-box-wrapper {
        flex-direction: column;
        padding: 2em;
        text-align: center;
        border-radius: 10px;
    }
    .gf-quote-content blockquote::before {
        left: 50%;
        transform: translateX(-50%);
        top: -0.4em;
    }
}


/* ========================================
   3.6 STICKY BUTTON
   ======================================== */

.sticky-btn {
    position: fixed !important;
    left: 50% !important;
    bottom: 30px !important;
    z-index: 214748;
    width: auto !important;
    max-width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translate(-50%, 20px) !important;
    transition: all 0.5s ease-in-out !important;
}

.sticky-btn.sichtbar {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important;
}

.elementor-editor-active .sticky-btn {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important;
}

@media (max-width: 480px) {
    .sticky-btn {
        bottom: 20px !important;
    }
}


/* ========================================
   3.7 FOOTER LINKS
   ======================================== */

.elementor-location-footer *:not(button):not(input) a,
.elementor-location-footer ul li a,
.elementor-location-footer nav a,
.elementor-location-footer div a {
    width: auto !important;
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    text-transform: none !important;
    font-size: inherit !important;
    text-decoration: none !important;
    transform: none !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
}

.elementor-location-footer *:not(button):not(input) a:hover {
    color: #FFD275 !important;
}

.elementor-location-footer a {
    pointer-events: auto !important;
}


/* ============================================================================
   4. GRAVITY FORMS
   ============================================================================ */

/* ========================================
   4.1 COLOR VARIABLES
   ======================================== */

[class*="gform-"].gform-theme.gform-theme--framework {
    --gf-color-primary: #FFD275 !important;
    --gf-color-in-ctrl-primary: #FFD275 !important;
    --gf-ctrl-outline-color-focus: #FFD275 !important;
    --gf-color-primary-darker: #FFD275 !important;
    --gf-form-gap-y: 20px;
    --rdp-range_start-color: #808080 !important;
    --rdp-day-height: 30px;
    --rdp-day-width: 30px;
    --rdp-accent-color: #FFD275 !important;
    --gf-ctrl-label-color-primary: #ffffff !important;
    --gf-color-out-ctrl-dark: #ffffff !important;
}

/* ========================================
   4.1b BASE TYPOGRAPHY (Alle Gravity Forms)
   ======================================== */

[class*="gform-"] .gfield_label,
[class*="gform-"] .gform-field-label,
[class*="gform-"] .gsection_title,
[class*="gform-"] legend.gfield_label {
    font-family: "Nunito Sans", sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
}

[class*="gform-"] .gfield_description,
[class*="gform-"] .gsection_description,
[class*="gform-"] .gform_description,
[class*="gform-"] .instruction {
    font-family: "Nunito Sans", sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: var(--fx-text-muted, #D1D1D1) !important;
    line-height: 1.5 !important;
}

[class*="gform-"] .gfield input,
[class*="gform-"] .gfield select,
[class*="gform-"] .gfield textarea {
    font-family: "Nunito Sans", sans-serif !important;
    font-size: 16px !important;
    color: #ffffff !important;
}

[class*="gform-"] .gchoice label,
[class*="gform-"] .gfield--type-radio label,
[class*="gform-"] .gfield--type-checkbox label,
[class*="gform-"] .gfield--type-consent label {
    font-family: "Nunito Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #E6E6E6 !important;
    line-height: 1.5 !important;
}

[class*="gform-"] .gform_title {
    font-family: "Nunito Sans", sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}


/* ========================================
   4.2 INPUT FIELDS
   ======================================== */

[class*="gform-"] .gfield input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]) {
    border-radius: 100px;
    background-color: var(--e-global-color-8422361);
    color: var(--e-global-color-d6855dd);
}

[class*="gform-"] .gfield--type-textarea textarea {
    border-radius: 15px;
}


/* ========================================
   4.3 BUTTONS
   ======================================== */

[class*="gform-"].gform-theme--foundation .button[type="submit"],
[class*="gform-"].gform-theme--foundation .button[type="button"] {
    border-radius: 100px !important;
    color: #21262B !important;
    background-image: linear-gradient(217deg, var(--e-global-color-d63c272) 0%, var(--e-global-color-3739bad) 100%);
}

[class*="gform-"].gform-theme--foundation .gform_previous_button[type="button"] {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

[class*="gform-"] .gform_footer,
[class*="gform-"] .gform_page_footer {
    text-align: center;
}


/* ========================================
   4.4 IMAGE CHOICE CARDS
   ======================================== */

[class*="gform-"] .gfield--image-choice-appearance-card .gchoice {
    border-radius: 25px !important;
    background-color: var(--e-global-color-9706797) !important;
    align-self: stretch !important;
}

[class*="gform-"] .gfield--image-choice-appearance-card .gchoice .gform-field-label {
    color: #fff !important;
    margin: 0 !important;
}

[class*="gform-"] .gfield--image-choice-appearance-card .gchoice input {
    position: absolute !important;
    top: 5%;
    border-radius: 999px;
}

[class*="gform-"] .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice:where(:has(input:checked))::after {
    display: none;
}

[class*="gform-"] .gfield--image-choice-appearance-card .gfield-image-choice-wrapper-inner {
    grid-template-columns: auto !important;
}

[class*="gform-"] .gfield--image-choice-appearance-card .gfield-choice-image-wrapper {
    max-width: 52px;
    max-height: 52px;
    padding: 15px;
    border-radius: 999px !important;
    margin: 10px auto;
    background-image: linear-gradient(217deg, var(--e-global-color-d63c272) 0%, var(--e-global-color-3739bad) 100%);
}

[class*="gform-"] .gfield--image-choice-appearance-card .gfield-choice-image-wrapper-outer {
    position: relative;
}

[class*="gform-"].gform-theme--foundation .col4-img-field {
    --gf-field-img-choice-size: calc(25% - (var(--gf-field-img-choice-card-space-md) * 3)) !important;
}

[class*="gform-"].gform-theme--foundation .col3-img-field {
    --gf-field-img-choice-size: calc(33% - (var(--gf-field-img-choice-card-space-md) * 2)) !important;
}


/* ========================================
   4.5 CHOICE BOXED
   ======================================== */

[class*="gform-"] .gfield--type-choice.choice-boxed .gchoice {
    background: #292F35;
    border-radius: 30px;
    align-items: center;
}

[class*="gform-"] .gfield--type-choice.choice-boxed .gchoice input {
    margin-left: 24px;
}

[class*="gform-"] .choice-boxed .gform-field-label--type-inline {
    color: #fff;
    padding: 20px 14px;
    border-radius: 0 30px 30px 0;
}

[class*="gform-"] .gfield--type-choice.choice-boxed .gchoice input:checked+label {
    font-weight: bold;
    color: #F4D8AA;
}


/* ========================================
   4.6 SURVEY / LIKERT
   ======================================== */

[class*="gform-"] .gform-field-row--span-three {
    grid-row: span 3;
}

[class*="gform-"] .gfield--type-survey tbody tr {
    background-color: transparent;
    background-image: linear-gradient(215deg, var(--e-global-color-3739bad) 0%, var(--e-global-color-d63c272) 60%);
}

[class*="gform-"].gform-theme.gform-theme--framework .gfield--type-survey tbody td:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

[class*="gform-"].gform-theme.gform-theme--framework .gfield--type-survey tbody td:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

[class*="gform-"].gform-theme.gform-theme--framework .gfield--type-survey .ginput_container_likert {
    padding: 15px 20px 40px;
    background-color: var(--e-global-color-9706797);
    border-radius: 20px;
}

[class*="gform-"].gform-theme.gform-theme--framework table.gsurvey-likert .gsurvey-likert-choice-label {
    color: #ffffff;
    border-block-start: 0px solid hsla(0, 0%, 50%, .502);
    padding-block-end: 18px;
}

.gform-theme.gform-theme--framework table.gsurvey-likert tbody tr:nth-child(odd) {
    background-color: rgba(17, 35, 55, 0.1) !important;
}

[class*="gform-"].gform-theme.gform-theme--framework .gfield_label span {
    background-color: var(--e-global-color-3739bad);
    color: var(--e-global-color-c1ca899);
}

[class*="gform-"] .gfield_required_text {
    display: none;
}


/* ========================================
   4.7 SLIDER
   ======================================== */

[class*="gform-"] .gfield--type-nurslider {
    padding: 0px 15px;
}

[class*="gform-"] .noUi-handle {
    border-radius: 99px !important;
    background: #21262B !important;
    box-shadow: none !important;
}

[class*="gform-"] .noUi-tooltip {
    color: #21262B !important;
}

[class*="gform-"] .noUi-target {
    margin-top: 60px !important;
}

[class*="gform-"] .noUi-connect {
    background: linear-gradient(135deg, #F5C518 0%, #ffd275 100%) !important;
}

/* Slider Tooltip (Premium) */
[class*="gform-"] .noUi-tooltip,
html body.page-template-gform-conversational .noUi-tooltip {
    background: #1a1f24 !important;
    color: #FFD275 !important;
    border: 1px solid rgba(255, 210, 117, 0.3) !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-size: 1.1em !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    white-space: nowrap !important;
}

[class*="gform-"] .noUi-tooltip::before,
html body.page-template-gform-conversational .noUi-tooltip::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1a1f24;
}

/* Slider Handle */
[class*="gform-"] .noUi-handle,
html body.page-template-gform-conversational .noUi-handle {
    border-radius: 50% !important;
    background: linear-gradient(135deg, #F5C518 0%, #ffd275 100%) !important;
    border: 3px solid #1a1f24 !important;
    box-shadow: 0 2px 10px rgba(245, 197, 24, 0.4) !important;
    width: 24px !important;
    height: 24px !important;
    top: -8px !important;
    cursor: grab !important;
}

[class*="gform-"] .noUi-handle:active,
html body.page-template-gform-conversational .noUi-handle:active {
    cursor: grabbing !important;
}

[class*="gform-"] .noUi-handle::before,
[class*="gform-"] .noUi-handle::after,
html body.page-template-gform-conversational .noUi-handle::before,
html body.page-template-gform-conversational .noUi-handle::after {
    display: none !important;
}


/* ========================================
   4.8 KALENDER / BOOKING
   ======================================== */

[class*="gform-"].gform-theme.gform-theme--framework .gform_fields {
    column-gap: 0 !important;
}

[class*="gform-"] .gfield--type-gpb_booking_time {
    background-color: var(--e-global-color-9706797);
    padding: 25px;
    border-radius: 0 25px 25px 0;
    border: 1px solid var(--e-global-color-8422361);
    border-left: 2px solid var(--e-global-color-d63c272) !important;
}

[class*="gform-"].gform-theme.gform-theme--framework .rdp-dropdowns .rdp-dropdown_root {
    padding: 8px 10px;
    background: white;
    border-radius: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--e-a-border-color-bold);
}

[class*="gform-"].gform-theme.gform-theme--framework .rdp-dropdowns .rdp-caption_label {
    gap: 8px;
    padding-bottom: 2px;
    color: var(--e-global-color-9706797) !important;
}

[class*="gform-"].gform-theme.gform-theme--framework .rdp-dropdowns .rdp-chevron {
    background: var(--e-global-color-065788c);
    border-radius: 10px;
    margin-top: 4px;
}

[class*="gform-"] .rdp-weekdays {
    background-color: var(--e-global-color-065788c) !important;
    color: #FFD275;
    background-image: none;
}

[class*="gform-"] .rdp-day {
    padding: 10px !important;
    background-color: var(--e-global-color-9706797) !important;
}

[class*="gform-"] .rdp-day .rdp-day_button {
    color: #21262B !important;
    background-image: linear-gradient(217deg, var(--e-global-color-d63c272) 0%, var(--e-global-color-3739bad) 100%);
}

[class*="gform-"] .rdp-button_next,
[class*="gform-"] .rdp-button_previous {
    color: #21262B !important;
    background: transparent;
    background-image: linear-gradient(217deg, var(--e-global-color-d63c272) 0%, var(--e-global-color-3739bad) 100%);
    padding: 4px 10px;
    margin-left: 4px;
}

[class*="gform-"] .rdp-nav button .rdp-chevron {
    fill: #21262B !important;
}

[class*="gform-"] .gpb-booking-time-picker .gpb-booking-time-picker__slot {
    color: #21262B !important;
    background-image: linear-gradient(217deg, var(--e-global-color-d63c272) 0%, var(--e-global-color-3739bad) 100%);
    padding: 8px 12px;
}

[class*="gform-"] .gpb-booking-time-picker .gpb-booking-time-picker__back {
    background: transparent;
    background-image: none;
}

[class*="gform-"].gform-theme.gform-theme--framework .gpb-booking-time-picker__slots-container .gpb-booking-time-picker__header {
    grid-template-columns: 1fr 2fr;
    padding: 0 0 1.5rem;
}

[class*="gform-"].gform-theme.gform-theme--framework .gpb-booking-time-picker__slots-container .gpb-booking-time-picker__header h4 {
    padding: 10px 12px;
    border-radius: 60px;
    border: 1px solid var(--e-global-color-d63c272);
    color: white !important;
    background-image: none;
}

[class*="gform-"] .gfield--type-gpb_booking_time select,
[class*="gform-"] .gfield--type-gpb_booking_time select option {
    color: #21262B !important;
}

[class*="gform-"].gform-theme.gform-theme--framework .gform-footer {
    display: none;
}


/* ========================================
   4.9 NEWSLETTER
   ======================================== */

[class*="gform-"].newsletter .gfield input.medium {
    inline-size: calc(100% - var(--gf-form-gap-x));
    border-radius: 100px;
    min-height: 50px !important;
    background-color: transparent;
}

[class*="gform-"].newsletter .gfield {
    grid-column: span 6;
}

[class*="gform-"].newsletter.relatives .gfield {
    grid-column: span 7;
}

[class*="gform-"].newsletter.relatives .gfield.gfield--type-submit {
    grid-column: span 5;
}

[class*="gform-"].newsletter .button[type="submit"] {
    border-radius: 100px !important;
    border: 2px solid #21262B !important;
    background-color: #21262B !important;
    background-image: none !important;
}

[class*="gform-"].newsletter .button[type="submit"]:hover {
    background-color: transparent !important;
    color: #21262B !important;
}

.gform_required_legend,
[class*="gform-"].newsletter .gform-footer {
    display: none !important;
}


/* ========================================
   4.10 MULTI-PAGE & CENTERED
   ======================================== */

[class*="gform-"] .gform_page .gform_page_footer {
    margin-top: 50px;
}

[class*="gform-"].gform-theme.gform-theme--framework .gform-page {
    padding: 20px;
}

@media only screen and (min-width: 641px) {
    [class*="gform-"].centered .gform_page {
        max-width: 80%;
        margin: 0 auto;
    }
    [class*="gform-"].centered .gfield .ginput_container,
    [class*="gform-"].centered .gfield .gfield_description,
    [class*="gform-"].centered div.ginput_complex label,
    [class*="gform-"].centered input:not([type='radio']):not([type='checkbox']):not([type='submit']),
    [class*="gform-"].centered select,
    [class*="gform-"].centered textarea {
        text-align: center;
    }
    [class*="gform-"].centered .top_label .gfield .gfield_label {
        text-align: center;
        display: block;
    }
    [class*="gform-"].centered .gform_footer,
    [class*="gform-"].centered .gform_page_footer {
        text-align: center;
    }
    [class*="gform-"].centered .gfield .ginput_container .gfield_checkbox,
    [class*="gform-"].centered .gfield .ginput_container .gfield_radio {
        justify-content: center;
    }
}


/* ========================================
   4.11 RESPONSIVE
   ======================================== */

@media only screen and (max-width: 768px) {
    [class*="gform-"].gform-theme--foundation .col4-img-field .gfield_radio {
        justify-content: center;
    }
    [class*="gform-"].gform-theme--foundation .col4-img-field {
        --gf-field-img-choice-size: calc(50% - var(--gf-field-img-choice-card-space-md)) !important;
    }
    [class*="gform-"].gform-theme--foundation .col3-img-field {
        --gf-field-img-choice-size: calc(50% - var(--gf-field-img-choice-card-space-md)) !important;
    }
    [class*="gform-"] .gfield--type-survey tbody tr {
        position: relative !important;
        background: none !important;
    }
    [class*="gform-"] .gfield--type-survey tbody tr::before {
        content: "" !important;
        position: absolute !important;
        top: 2px !important;
        bottom: 2px !important;
        width: 30px !important;
        left: 7px !important;
        background: linear-gradient(215deg, rgb(255, 210, 117) 0%, rgb(244, 216, 170) 60%) !important;
        border-radius: 15px !important;
        z-index: 0 !important;
    }
    [class*="gform-"] .gfield--type-survey tbody tr td,
    [class*="gform-"] .gfield--type-survey tbody tr input,
    [class*="gform-"] .gfield--type-survey tbody tr label {
        position: relative !important;
        z-index: 2 !important;
    }
    [class*="gform-"] table.gsurvey-likert td::after {
        padding-inline-start: 16px !important;
    }
    [class*="gform-"] .gform-field-row--span-three {
        display: none;
    }
}


/* ========================================
   4.12 TELEFON-FELD
   ======================================== */

.iti__country-container .iti__selected-country {
    padding: 0 !important;
    background-image: none !important;
}

.iti__country-container .iti__selected-country:hover {
    background-image: none !important;
}

.iti__country-name {
    color: #515962 !important;
}

#top .iti input::placeholder {
    color: #fff !important;
}

.iti {
    --gf-ctrl-placeholder-color: #ffffff !important;
    --iti-arrow-color: #FFD275 !important;
}


/* ============================================================================
   5. CONVERSATIONAL FORM - KOMPLETT
   ============================================================================ */

/* ── Grundlagen & Farben ── */
html body.page-template-gform-conversational {
    --gf-ctrl-btn-bg-color-primary: #F5C518 !important;
    --gf-ctrl-btn-color-primary: #000000 !important;
    --gf-local-bg-color: #F5C518 !important;
    --e-global-color-accent: #F5C518 !important;
}

/* ── Footer Positioning (Telefon-Feld Fix) ── */
html body.page-template-gform-conversational .gform-conversational__footer {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: auto !important;
    height: auto !important;
    left: auto !important;
    top: auto !important;
    background: transparent !important;
    pointer-events: none !important;
    z-index: 999 !important;
}

html body.page-template-gform-conversational .gform-conversational__footer button,
html body.page-template-gform-conversational .gform-conversational__nav-buttons button {
    pointer-events: auto !important;
}

/* ── Weiter-Button ── */
html body.page-template-gform-conversational .gform-conversational__field-nav button,
html body.page-template-gform-conversational button[data-js="gform-conversational-nav-begin"],
html body.page-template-gform-conversational .gform-conversational__welcome-cta button,
html body.page-template-gform-conversational input[type="submit"].gform_button {
    background: linear-gradient(135deg, #F5C518 0%, #ffd275 100%) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    padding: 15px 40px !important;
    box-shadow: 0 -10px 40px -5px rgba(245, 197, 24, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    outline: none !important;
}

html body.page-template-gform-conversational .gform-conversational__field-nav button:hover,
html body.page-template-gform-conversational button[data-js="gform-conversational-nav-begin"]:hover,
html body.page-template-gform-conversational .gform-conversational__welcome-cta button:hover,
html body.page-template-gform-conversational input[type="submit"].gform_button:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f5e6b3 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 15px 40px -5px rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-3px) !important;
}

/* ── Footer Navigation (unten rechts) ── */
html body.page-template-gform-conversational .gform-conversational__footer button,
html body.page-template-gform-conversational .gform-conversational__nav-buttons button {
    background: #F5C518 !important;
    border: none !important;
    border-radius: 10px !important;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 10px !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

html body.page-template-gform-conversational .gform-conversational__footer button:hover {
    background: #ffffff !important;
    transform: translateY(-2px) !important;
}

html body.page-template-gform-conversational .gform-conversational__footer svg {
    fill: #000000 !important;
    width: 20px !important;
    height: 20px !important;
}

/* ── Checkboxen ── */
html body.page-template-gform-conversational input[type="checkbox"]:checked {
    background-color: #F5C518 !important;
    border-color: #F5C518 !important;
}

html body.page-template-gform-conversational .gform-theme--framework input[type="checkbox"]:checked {
    --gf-ctrl-choice-check-color: #000000 !important;
}

/* ── Länder-Dropdown ── */
html body.page-template-gform-conversational .iti__country-list,
html body.page-template-gform-conversational .iti__dropdown-content {
    background-color: #1a1f24 !important;
    border: 1px solid #292F35 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

html body.page-template-gform-conversational .iti__country:hover,
html body.page-template-gform-conversational .iti__country--highlight {
    background-color: rgba(255, 210, 117, 0.15) !important;
}

html body.page-template-gform-conversational .iti__country-name,
html body.page-template-gform-conversational .iti__dial-code {
    color: #ffffff !important;
}

html body.page-template-gform-conversational .iti__search-input {
    background-color: #292F35 !important;
    border: 1px solid #3a4149 !important;
    border-radius: 8px !important;
    color: #ffffff !important;
}

/* ── Trust-Signale ── */
html body.page-template-gform-conversational .trust-signale {
    text-align: center !important;
    margin-top: 0 !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;
    line-height: 2.1 !important;
    white-space: normal !important;
}

html body.page-template-gform-conversational .trust-signale span {
    margin: 0 10px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

html body.page-template-gform-conversational .trust-signale .trenner {
    margin: 0 12px !important;
    color: rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 768px) {
    html body.page-template-gform-conversational .trust-signale {
        margin-top: 15px !important;
        padding-top: 12px !important;
        font-size: 9px !important;
        line-height: 1.8 !important;
    }
    html body.page-template-gform-conversational .trust-signale span {
        font-size: 9px !important;
        margin: 0 6px !important;
    }
    html body.page-template-gform-conversational .trust-signale .trenner {
        margin: 0 8px !important;
    }
}

/* ── Eingabefelder - Glasmorphism ── */
html body.page-template-gform-conversational input[type="text"],
html body.page-template-gform-conversational input[type="email"],
html body.page-template-gform-conversational input[type="tel"],
html body.page-template-gform-conversational input[type="number"],
html body.page-template-gform-conversational textarea,
html body.page-template-gform-conversational .iti input {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    transition: all 0.25s ease-out !important;
}

html body.page-template-gform-conversational input[type="text"]:focus,
html body.page-template-gform-conversational input[type="email"]:focus,
html body.page-template-gform-conversational input[type="tel"]:focus,
html body.page-template-gform-conversational textarea:focus,
html body.page-template-gform-conversational .iti input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid var(--fx-gold-primary, #FFD275) !important;
    box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.15) !important;
    outline: none !important;
}

html body.page-template-gform-conversational input::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

/* ── Slider - Glasmorphism ── */
html body.page-template-gform-conversational .noUi-target {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.2) !important;
    height: 12px !important;
    margin-top: 45px !important;
    margin-bottom: 30px !important;
}

html body.page-template-gform-conversational .noUi-base {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html body.page-template-gform-conversational .noUi-connect {
    background: linear-gradient(135deg, #F5C518 0%, #ffd275 100%) !important;
    border-radius: 50px !important;
}

html body.page-template-gform-conversational .noUi-handle {
    background: linear-gradient(135deg, #F5C518 0%, #ffd275 100%) !important;
    border: 3px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow:
        0 2px 10px rgba(245, 197, 24, 0.5),
        0 4px 20px rgba(0, 0, 0, 0.3) !important;
    width: 26px !important;
    height: 26px !important;
    top: -8px !important;
    cursor: grab !important;
}

html body.page-template-gform-conversational .noUi-handle:active {
    cursor: grabbing !important;
    transform: scale(1.1) !important;
}

html body.page-template-gform-conversational .noUi-handle::before,
html body.page-template-gform-conversational .noUi-handle::after {
    display: none !important;
}

html body.page-template-gform-conversational .noUi-tooltip {
    background: rgba(26, 31, 36, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: #FFD275 !important;
    border: 1px solid rgba(255, 210, 117, 0.3) !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-size: 1.1em !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

/* ── Radio/Checkbox Labels ── */
html body.page-template-gform-conversational .gchoice label,
html body.page-template-gform-conversational .gfield_radio label,
html body.page-template-gform-conversational .gfield_checkbox label,
html body.page-template-gform-conversational .gform-field-label--type-inline {
    color: #ffffff !important;
    opacity: 1 !important;
}

html body.page-template-gform-conversational .gchoice:hover label {
    color: #FFD275 !important;
}

/* ── Cleanup: Sternchen + Zurück-Button ── */
html body.page-template-gform-conversational .gform_required_legend,
html body.page-template-gform-conversational .gfield_required,
html body.page-template-gform-conversational .gfield_required_asterisk,
html body.page-template-gform-conversational span.gfield_required {
    display: none !important;
}

html body.page-template-gform-conversational input#gform_previous_button_14,
html body.page-template-gform-conversational input[type="button"][value="Zurück"],
html body.page-template-gform-conversational button.gform_previous_button,
html body.page-template-gform-conversational button.gform-button--secondary,
html body.page-template-gform-conversational [class*="previous"],
html body.page-template-gform-conversational .gform-conversational__submit-wrapper button:first-child:not(:only-child) {
    display: none !important;
}

html body.page-template-gform-conversational .iti__selected-country {
    background: transparent !important;
    border: none !important;
}

/* ── Abstände ── */
html body.page-template-gform-conversational .gfield_label {
    margin-bottom: 15px !important;
}

html body.page-template-gform-conversational .gchoice {
    margin-bottom: 4px !important;
    padding: 2px 0 !important;
}

html body.page-template-gform-conversational .gform-conversational__field-nav {
    margin-top: 20px !important;
}

html body.page-template-gform-conversational .gfield--type-html {
    margin-top: 25px !important;
}

html body.page-template-gform-conversational .gfield--type-nurslider .gfield_description {
    margin-bottom: 10px !important;
}

html body.page-template-gform-conversational .gform-conversational__field-form-footer-submit {
    margin-top: -22px !important;
}

html body.page-template-gform-conversational .gfield--type-checkbox .gfield_label,
html body.page-template-gform-conversational .gfield--type-radio .gfield_label {
    margin-bottom: 20px !important;
}


/* ============================================================================
   6. UTILITY CLASSES
   ============================================================================ */

.u-text-center { text-align: center; }
.u-text-left { text-align: left; }
.u-text-right { text-align: right; }

.u-mb-small { margin-bottom: 0.5rem; }
.u-mb-medium { margin-bottom: 1rem; }
.u-mb-large { margin-bottom: 2rem; }
.u-mt-small { margin-top: 0.5rem; }
.u-mt-medium { margin-top: 1rem; }
.u-mt-large { margin-top: 2rem; }

.u-hidden { display: none; }
.u-visible { display: block; }

.u-text-gold { color: var(--fx-gold-primary); }
.u-text-cta { color: var(--fx-gold-cta); }
.u-text-white { color: var(--fx-white); }
.u-text-muted { color: var(--fx-text-muted); }

.u-bg-card { background-color: var(--fx-bg-card); }
.u-bg-body { background-color: var(--fx-bg-body); }

/* Opt-out: Elemente mit .local-css werden von Global Styles nicht erfasst */
.local-css {}

/* Opt-in: Gravity Forms mit .gform-global nutzen globale Styles */
.gform-global {}


/* ============================================================================
   7. HEADER SHRINK FALLBACK
   ============================================================================
   Das JS fügt .header-shrink zur äußeren .e-con hinzu,
   aber .freivonx-header ist möglicherweise eine innere .e-con.
   Diese Fallback-Regeln fangen beide Fälle ab.
   ============================================================================ */

/* Container-Shrink: Wenn header-shrink auf PARENT von .freivonx-header liegt */
header[data-elementor-type="header"] .header-shrink:not(.freivonx-header),
.elementor-location-header .header-shrink:not(.freivonx-header) {
    padding: 4px 0 !important;
    background-color: rgba(5, 5, 5, 0.7) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
    transition: padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.3s ease,
                box-shadow 0.3s ease !important;
}

/* Logo-Shrink via Parent */
.header-shrink .freivonx-header .elementor-widget-image {
    max-width: 200px !important;
}

/* Menu-Shrink via Parent */
.header-shrink .freivonx-header .elementor-item {
    font-size: 14px !important;
    padding: 8px 12px !important;
}

/* CTA-Shrink via Parent */
.header-shrink .freivonx-header .cta-button a {
    padding: 10px 28px !important;
    font-size: 14px !important;
}

/* Mobile Fallback */
@media (max-width: 1024px) {
    header[data-elementor-type="header"] .header-shrink:not(.freivonx-header),
    .elementor-location-header .header-shrink:not(.freivonx-header) {
        padding: 3px 0 !important;
    }

    .header-shrink .freivonx-header .elementor-widget-image img,
    .header-shrink .freivonx-header .elementor-widget-image .elementor-image {
        max-width: 130px !important;
        max-height: 40px !important;
    }
}


/* ============================================================================
   END OF FILE - Version 4.3.0
   ============================================================================ */