/* ==========================================================================
   Elementor Default Overrides
   Bringt Elementor-Widgets auf Brand-Design
   ========================================================================== */

/* Base font */
body .elementor-widget {
    font-family: var(--font-primary);
}

/* Headings */
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
}

/* Text Editor */
.elementor-widget-text-editor {
    font-family: var(--font-primary);
    color: var(--color-text-body);
}

/* Buttons */
.elementor-widget-button .elementor-button {
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.elementor-widget-button .elementor-button:hover {
    transform: translateY(-1px);
}

/* Toggle / Accordion */
.elementor-widget-toggle .elementor-toggle-title {
    font-family: var(--font-primary);
    font-weight: 600;
}

.elementor-widget-toggle .elementor-tab-content {
    font-family: var(--font-primary);
    line-height: 1.7;
}

/* Icon List */
.elementor-widget-icon-list .elementor-icon-list-text {
    font-family: var(--font-primary);
}

/* Counter */
.elementor-widget-counter .elementor-counter-number-wrapper {
    font-family: var(--font-primary);
}

.elementor-widget-counter .elementor-counter-title {
    font-family: var(--font-primary);
}

/* Divider */
.elementor-widget-divider .elementor-divider-separator {
    border-color: var(--color-border);
}

/* Full-width sections */
.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100%;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--container-max-width);
}

/* Fix Elementor default widget gap on mobile */
@media (max-width: 767px) {
    .elementor-widget:not(:last-child) {
        margin-bottom: 16px;
    }

    .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
        padding: 10px;
    }
}

/* Lead form: native shortcode inside Elementor, with accessible controls. */
.fsl-lead-form label { display:block; color:#1b365d; font-size:14px; font-weight:600; }
.fsl-lead-form input:not([type="checkbox"]), .fsl-lead-form select, .fsl-lead-form textarea { width:100%; margin-top:7px; padding:12px 13px; border:1px solid #cbd8e5; border-radius:8px; background:#fff; color:#172b4d; font:inherit; }
.fsl-lead-form input:focus, .fsl-lead-form select:focus, .fsl-lead-form textarea:focus { outline:2px solid #32b77b; outline-offset:1px; border-color:#32b77b; }
.fsl-lead-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; }
.fsl-lead-form button { border:0; border-radius:8px; padding:15px 24px; background:#32b77b; color:#fff; font:600 16px Inter,sans-serif; cursor:pointer; }
.fsl-consent { font-size:13px; line-height:1.55; }
.fsl-consent label { display:flex; align-items:flex-start; gap:9px; font-weight:400; }
.fsl-consent input { margin-top:4px; }
.fsl-hp { position:absolute !important; left:-9999px !important; }
.fsl-lead-notice { padding:16px 18px; border-radius:8px; font-weight:600; }
.fsl-lead-success { background:#e7f8ef; color:#12623f; }
.fsl-lead-error { background:#fff1f0; color:#a51d1d; }
@media (max-width: 600px) { .fsl-lead-grid { grid-template-columns:1fr; } }

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Homepage: image-led opening and visible three-step proof. */
.homepage-hero {
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 83% 18%, rgba(54, 167, 123, .20), transparent 33%),
        linear-gradient(120deg, #0b2544 0%, #102e52 57%, #12375a 100%) !important;
}

.homepage-hero:before,
.homepage-hero:after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.homepage-hero:before {
    width: 420px;
    height: 420px;
    left: -245px;
    bottom: -315px;
    border: 1px solid rgba(113, 222, 174, .18);
    box-shadow: 0 0 0 48px rgba(113, 222, 174, .05), 0 0 0 96px rgba(113, 222, 174, .035);
}

.homepage-hero:after {
    width: 310px;
    height: 310px;
    right: -145px;
    top: -185px;
    border: 1px solid rgba(255, 255, 255, .10);
}

.homepage-hero > .elementor-container { position: relative; z-index: 1; }
.hero-content-column > .elementor-element-populated { padding-right: 42px !important; }
.hero-eyebrow p { margin: 0; }
.hero-title .elementor-heading-title { letter-spacing: -.035em; }
.hero-copy p { max-width: 600px; margin: 0; }
.hero-cta .elementor-button { box-shadow: 0 12px 25px rgba(28, 177, 118, .28); }
.hero-cta .elementor-button:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(28, 177, 118, .38); }
.hero-proof-list .elementor-icon-list-item { align-items: center; }

.hero-image-column > .elementor-element-populated { position: relative; }
.hero-image img {
    display: block;
    width: 100%;
    min-height: 440px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 26px 60px rgba(2, 12, 25, .38);
}
.hero-proof-card {
    position: absolute;
    left: -30px;
    bottom: 26px;
    z-index: 2;
    width: max-content;
    max-width: 265px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    background: rgba(10, 37, 66, .88);
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
    backdrop-filter: blur(8px);
}
.hero-proof-card p { margin: 0; font-size: 13px; line-height: 1.55; }

.process-strip { margin-top: -34px; position: relative; z-index: 2; }
.process-strip > .elementor-container {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(13, 45, 75, .12);
}
.process-step > .elementor-element-populated {
    min-height: 178px;
    padding: 27px 30px !important;
    border-right: 1px solid #e4edf4;
}
.process-step:last-child > .elementor-element-populated { border-right: 0; }
.process-number p { margin: 0 0 7px; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.process-title .elementor-heading-title { margin: 0; }
.process-copy p { margin: 7px 0 0; font-size: 14px; line-height: 1.55; }

@media (prefers-reduced-motion: no-preference) {
    .homepage-hero .elementor-widget { animation: homepage-reveal .7s both; }
    .homepage-hero .elementor-widget:nth-child(2) { animation-delay: .08s; }
    .homepage-hero .elementor-widget:nth-child(3) { animation-delay: .15s; }
    .homepage-hero .elementor-widget:nth-child(4) { animation-delay: .22s; }
    .homepage-hero .elementor-widget:nth-child(5) { animation-delay: .29s; }
    .hero-image { animation: homepage-image-in .85s .16s both !important; }
    .process-step { animation: homepage-reveal .6s both; }
    .process-step:nth-child(2) { animation-delay: .1s; }
    .process-step:nth-child(3) { animation-delay: .2s; }
}

@keyframes homepage-reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes homepage-image-in { from { opacity: 0; transform: translateX(24px) scale(.98); } to { opacity: 1; transform: translateX(0) scale(1); } }

@media (max-width: 767px) {
    .hero-content-column > .elementor-element-populated { padding-right: 10px !important; }
    .hero-image-column { margin-top: 24px; }
    .hero-image img { min-height: 290px; }
    .hero-proof-card { left: 12px; bottom: 16px; max-width: 240px; }
    .process-strip { margin-top: -20px; }
    .process-step > .elementor-element-populated { min-height: 0; padding: 22px 24px !important; border-right: 0; border-bottom: 1px solid #e4edf4; }
    .process-step:last-child > .elementor-element-populated { border-bottom: 0; }
}
