/* ===========================================
   KONTAKT-TAB STYLES - UPDATED VERSION
=========================================== */

/* Main Container - GESAMTE HÖHE */
.aside_cta {
    position: fixed !important;
    right: -350px !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    z-index: 9998 !important;
    
    width: 350px !important;
    background: white !important;
    border-radius: 8px 0 0 8px !important;
    box-shadow: -5px 0 20px rgba(0,0,0,0.3) !important;
    
    transition: all 0.4s ease-out !important;
    display: flex !important;
    flex-direction: column !important;
}

.aside_cta.active {
    right: 0 !important;
}

/* Trigger Button */
.aside_cta_trigger {
    position: absolute !important;
    left: -50px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1 !important;
    
    background: #1f3050 !important;
    color: white !important;
    border: none !important;
    cursor: pointer !important;
    padding: 25px 15px !important;
    border-radius: 8px 0 0 8px !important;
    box-shadow: -3px 0 15px rgba(0,0,0,0.3) !important;
    
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0px !important;
    
    transition: all 0.3s ease !important;
}

.aside_cta_trigger:hover {
    background: #dcda1c !important;
    color: #1f3050 !important;
}

/* Header */
.aside_cta_header {
    background: #f5f5f5 !important;
    padding: 30px !important;
    border-bottom: 1px solid #e0e0e0 !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

.aside_cta_header h3 {
    margin: 10px 0 !important;
    margin-top: 20px !important;
    color: #1f3050 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 2 !important;
}

.aside_cta_logo {
    width: 190px !important;
    height: auto !important;
    margin-top: 50px !important;
    margin-bottom: 50px !important;
    display: block !important;
}

.aside_cta_close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    color: #999 !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
}

.aside_cta_close:hover {
    color: #dcda1c !important;
}

/* Content Container */
.aside_cta_content {
    padding: 30px 20px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: left !important;
}

/* __icon--blocks - ICONS OBEN */
.__icon--blocks {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
}

.__icon--blocks > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: left !important;
    text-align: left !important;
    padding: 20px 15px !important;
    border-radius: 0px !important;
    transition: all 0.3s ease !important;
}

.__icon--blocks > div:hover {
    background: #ebebeb !important;
    transform: translateY(-2px) !important;
}

/* Schönere Icons - Font Awesome Style */
/* Icons ohne Kreise - nur Bilder */
.av-icon-char {
    width: 40px !important;
    height: 40px !important;
    background: none !important;
    border-radius: 0 !important;
    display: block !important;
    margin-bottom: 25px !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    object-fit: contain !important;
}

.__icon--blocks > div:hover .av-icon-char {
    background: none !important;
    transform: scale(1.1) !important;
}

/* Text Styling */
.__icon--blocks p {
    margin: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    color: #333 !important;
}

.__icon--blocks p b {
    font-weight: 400 !important;
    color: #1f3050 !important;
    display: block !important;
    margin-bottom: 15px !important;
}

/* ADRESSE: Gemischte Schreibweise erzwingen */
.__icon--blocks .address-text,
.__icon--blocks [data-address],
.__icon--blocks .address-line {
    text-transform: none !important;
    /* Falls irgendwo uppercase/lowercase erzwungen wird */
}

/* ALLE Links in Limettenton */
.__icon--blocks a {
    color: #1f3050 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
}

.__icon--blocks a:hover {
    color: #dcda1c !important;
    text-decoration: none !important;
}

/* Spezielle Styling für E-Mail und Telefon Links */
.__icon--blocks a b {
    transition: all 0.3s ease !important;
}

.__icon--blocks a:hover b {
    color: #dcda1c !important;
}

/* Spezielle Styling für Kontaktformular-Link */
.__icon--blocks a[href*="#kontaktformular"],
.__icon--blocks a[href*="#formular"],
.__icon--blocks a[href*="#contact-form"],
.__icon--blocks a.scroll-to-form {
    cursor: pointer !important;
    position: relative !important;
}

.__icon--blocks a[href*="#kontaktformular"]:hover,
.__icon--blocks a[href*="#formular"]:hover,
.__icon--blocks a[href*="#contact-form"]:hover,
.__icon--blocks a.scroll-to-form:hover {
    color: #dcda1c !important;
}

/* Mobile */
@media (max-width: 768px) {
    .aside_cta {
        width: 300px !important;
        right: -300px !important;
    }
    
    .aside_cta_trigger {
        left: -45px !important;
        padding: 20px 12px !important;
        font-size: 14px !important;
    }
    
    .__icon--blocks {
        gap: 25px !important;
    }
    
    .av-icon-char {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth !important;
}