/* ============================================================
   AKKORDEON PERFEKT GLEICHMÄßIG
   FINALE LÖSUNG für 100% einheitliche Abstände
   Datum: 30.10.2025 - 06:50 UTC
   ============================================================ */

/* ============================================================
   TEIL 1: AKKORDEON-SECTIONS - GLEICHMÄßIGE ABSTÄNDE
   ============================================================ */

div.accordion-section {
    /* Grundlegendes Layout */
    background: linear-gradient(135deg, #1A365D 0%, #2D3748 100%) !important;
    border: none !important;
    border-radius: 12px !important;

    /* GLEICHMÄßIGE ABSTÄNDE: NUR margin-top (verhindert Margin-Dopplung) */
    margin: 0 auto !important;
    margin-top: 30px !important;

    /* Horizontale Zentrierung */
    max-width: 1200px !important;
    width: calc(100% - 40px) !important;

    /* Schatten */
    box-shadow: 0 3px 10px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.08) !important;

    /* Box-Sizing */
    box-sizing: border-box !important;
    padding: 0 !important;

    /* Display */
    display: block !important;
    position: relative !important;
}

/* WICHTIG: Erstes Akkordeon - Extra Abstand oben */
div.accordion-section:first-of-type {
    margin-top: 40px !important;
}

/* WICHTIG: Letztes Akkordeon - Extra Abstand unten */
div.accordion-section:last-of-type {
    margin-bottom: 40px !important;
}

/* ============================================================
   TEIL 2: AKKORDEON-HEADER - SAUBER NAVY
   ============================================================ */

button.accordion-header {
    /* Navy Background OHNE Gradient */
    background: #1A365D !important;
    background-color: #1A365D !important;
    background-image: none !important;

    /* Weißer Text */
    color: white !important;

    /* Padding & Höhe */
    padding: 20px 30px !important;
    min-height: 65px !important;

    /* Flexbox Layout */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    /* Border & Radius */
    border: none !important;
    border-radius: 12px 12px 0 0 !important;

    /* Cursor & Transitions */
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;

    /* Volle Breite */
    width: 100% !important;
    text-align: left !important;
    box-sizing: border-box !important;

    /* Typography */
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;

    /* KEINE eigenen Margins */
    margin: 0 !important;
}

/* Hover State */
button.accordion-header:hover {
    background: #2D5B87 !important;
    background-color: #2D5B87 !important;
}

/* Active State (geöffnet) */
button.accordion-header.active {
    background: #1A365D !important;
    background-color: #1A365D !important;
}

/* Header Text Container */
button.accordion-header > span {
    color: white !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 1.1rem !important;
}

/* Dropdown-Icon (Pfeil) */
button.accordion-header .icon {
    color: white !important;
    font-size: 1.2rem !important;
    transition: transform 0.3s ease !important;
}

button.accordion-header.active .icon {
    transform: rotate(180deg) !important;
}

/* Business Icons - Gold */
svg.business-icon {
    fill: #D69E2E !important;
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
}

svg.business-icon path {
    fill: #D69E2E !important;
}

/* ============================================================
   TEIL 3: AKKORDEON-CONTENT
   ============================================================ */

div.accordion-content {
    background: transparent !important;
    padding: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease !important;
    margin: 0 !important;
}

div.accordion-content.active {
    padding: 40px 50px !important; /* MEHR ABSTAND: 40px oben/unten, 50px links/rechts */
    max-height: 20000px !important;
}

/* Content Überschriften */
div.accordion-content > h2 {
    color: white !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.4 !important;
}

/* Content Absätze */
div.accordion-content > p {
    color: white !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin: 0 0 20px 0 !important;
}

/* ============================================================
   TEIL 4: SERVICE-GRID
   ============================================================ */

div.service-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 25px !important;
    margin: 25px 0 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* ============================================================
   TEIL 5: SERVICE-CARDS
   ============================================================ */

div.service-card {
    /* Weißer Hintergrund */
    background: white !important;
    background-color: white !important;

    /* Gold Border */
    border: 2px solid #D69E2E !important;
    border-radius: 12px !important;

    /* Padding */
    padding: 25px !important;

    /* Text Navy */
    color: #1A365D !important;

    /* Schatten */
    box-shadow: 0 3px 12px rgba(0,0,0,0.1) !important;

    /* Hover Animation */
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

div.service-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(214, 158, 46, 0.25) !important;
}

/* Card Überschriften */
div.service-card h3 {
    color: #1A365D !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.3 !important;
}

div.service-card h4 {
    color: #1A365D !important;
    font-size: 1rem !important;
    margin: 0 0 12px 0 !important;
}

/* Card Text */
div.service-card p {
    color: #374151 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 0 0 12px 0 !important;
}

/* Card Listen */
div.service-card ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 18px 0 !important;
}

div.service-card ul li {
    color: #374151 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
    padding-left: 0 !important;
}

/* Checkmarks in Cards - Navy */
div.service-card svg path {
    fill: #1A365D !important;
}

/* ============================================================
   TEIL 6: BUTTONS
   ============================================================ */

div.service-card button,
div.service-card .cta-button,
div.service-card a.cta-button {
    /* Gold Gradient */
    background: linear-gradient(135deg, #D69E2E 0%, #B8821F 100%) !important;

    /* Weißer Text */
    color: white !important;

    /* Border & Radius */
    border: none !important;
    border-radius: 8px !important;

    /* Padding */
    padding: 14px 20px !important;

    /* Typography */
    font-size: 0.95rem !important;
    font-weight: 600 !important;

    /* Cursor */
    cursor: pointer !important;

    /* Volle Breite */
    width: 100% !important;

    /* Text Align */
    text-align: center !important;
    text-decoration: none !important;
    display: inline-block !important;

    /* Transition */
    transition: opacity 0.2s ease !important;
}

div.service-card button:hover,
div.service-card .cta-button:hover,
div.service-card a.cta-button:hover {
    opacity: 0.9 !important;
}

/* ============================================================
   TEIL 7: MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    div.accordion-section {
        /* Kleinere Abstände auf Mobile */
        margin: 0 10px !important;
        margin-top: 20px !important;
        width: calc(100% - 20px) !important;
    }

    div.accordion-section:first-of-type {
        margin-top: 25px !important;
    }

    div.accordion-section:last-of-type {
        margin-bottom: 25px !important;
    }

    button.accordion-header {
        padding: 16px 20px !important;
        min-height: 60px !important;
        font-size: 1rem !important;
    }

    button.accordion-header > span {
        font-size: 1rem !important;
        gap: 10px !important;
    }

    svg.business-icon {
        width: 22px !important;
        height: 22px !important;
    }

    div.accordion-content.active {
        padding: 25px 30px !important; /* Mobile: 25px oben/unten, 30px links/rechts */
    }

    div.accordion-content > h2 {
        font-size: 1.15rem !important;
    }

    div.accordion-content > p {
        font-size: 0.9rem !important;
    }

    div.service-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    div.service-card {
        padding: 20px !important;
    }

    div.service-card h3 {
        font-size: 1.05rem !important;
    }

    div.service-card p {
        font-size: 0.85rem !important;
    }

    div.service-card ul li {
        font-size: 0.8rem !important;
    }
}

/* ============================================================
   TEIL 8: BODY BACKGROUND
   ============================================================ */

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================================
   ENDE
   ============================================================ */
