/*
Theme Name:   Hello Elementor Child
Theme URI:    https://buchholz-software.de
Description:  Child Theme für Hello Elementor
Author:       Buchholz Software
Author URI:   https://buchholz-software.de
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elementor-child
*/

/* =========================================================
   Custom CSS – ANYVA / buchholz-software.de
   ========================================================= */

/* --- Basis-Typografie ----------------------------------- */
body {
    font-family: 'Roboto', Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #111417;
}

h1, h2, h3, h4 {
    font-family: Tahoma, sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #003366;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin-bottom: 1.2rem; }

/* --- Buttons -------------------------------------------- */
.elementor-button,
.elementor-button-wrapper .elementor-button {
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 0.75em 1.75em;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Primär-Button */
.elementor-button.elementor-size-md,
.elementor-button.elementor-size-lg {
    background-color: #0055AA;
    color: #ffffff;
    border: none;
}

.elementor-button.elementor-size-md:hover,
.elementor-button.elementor-size-lg:hover {
    background-color: #003d80;
    box-shadow: 0 4px 12px rgba(0, 85, 170, 0.3);
}

/* CTA-Button (Accent) */
.elementor-button.e-btn-cta,
.anyva-btn-demo {
    background-color: #0093D5;
    color: #ffffff;
    border-radius: 4px;
    padding: 0.75em 1.75em;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.elementor-button.e-btn-cta:hover,
.anyva-btn-demo:hover {
    background-color: #007ab5;
}

/* --- Navigation ----------------------------------------- */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Demo-Button im Hauptmenü */
.main-nav .menu-item-demo > a,
#site-navigation .menu-item-demo > a {
    background-color: #0055AA;
    color: #ffffff !important;
    border-radius: 4px;
    padding: 0.4em 1.1em !important;
    margin-left: 0.5em;
    transition: background-color 0.2s ease;
}

.main-nav .menu-item-demo > a:hover,
#site-navigation .menu-item-demo > a:hover {
    background-color: #003d80;
}

/* --- Sektions-Abstände ---------------------------------- */
.elementor-section,
.e-con {
    padding-top: 64px;
    padding-bottom: 64px;
}

.elementor-section.section-narrow,
.e-con.section-narrow {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* --- Hero-Bereich --------------------------------------- */
.section-hero {
    background: linear-gradient(135deg, #003366 0%, #0055AA 60%, #0093D5 100%);
    color: #ffffff;
    padding: 80px 0 72px;
}

.section-hero h1,
.section-hero .elementor-heading-title {
    color: #ffffff;
}

.section-hero p,
.section-hero .elementor-widget-text-editor {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
}

/* --- Wechselnde Sektions-Hintergründe ------------------ */
.section-light {
    background-color: #F5F7FA;
}

.section-white {
    background-color: #ffffff;
}

.section-dark {
    background-color: #0D1117;
    color: #E6E9EE;
}

.section-dark h2,
.section-dark h3 {
    color: #ffffff;
}

/* --- USP-Karten ---------------------------------------- */
.anyva-usp-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 28px 24px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.anyva-usp-card:hover {
    box-shadow: 0 8px 24px rgba(0, 51, 102, 0.1);
    transform: translateY(-2px);
}

/* --- Modul-Tabs ---------------------------------------- */
.anyva-module-tab {
    border-radius: 6px 6px 0 0;
    font-weight: 600;
    color: #0055AA;
}

/* --- Vertrauens-Badges --------------------------------- */
.anyva-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.875rem;
    color: #374151;
    background: #F5F7FA;
    border-radius: 4px;
    padding: 6px 12px;
}

/* --- Footer -------------------------------------------- */
.site-footer {
    background-color: #0D1117;
    color: #9ca3af;
    font-size: 0.875rem;
    padding: 24px 0;
}

.site-footer a {
    color: #9ca3af;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
}

/* --- Responsive ---------------------------------------- */
@media (max-width: 768px) {
    .elementor-section,
    .e-con {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .section-hero {
        padding: 56px 0 48px;
    }

    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.3rem; }
}
