/* ALEONN Main Styles */

/* CSS Variables */
:root {
    --aleonn-primary: #0088a9;
    --aleonn-secondary: #7B326E;
    --aleonn-accent: #7B326E;
    --aleonn-light: #f4f8fa;
    --aleonn-dark: #22223b;
    --aleonn-gradient: linear-gradient(135deg, #0088a9 0%, #7B326E 100%);
    --aleonn-gradient-light: linear-gradient(135deg, #f4f8fa 0%, #e9ecef 100%);
}

/* Logo Styles - Größer */
.aleonn-logo {
    max-height: 80px !important;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .aleonn-logo,
    .mobile-logo {
        max-height: 60px !important;
    }
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #22223b;
    background: var(--aleonn-light);
    max-width: 100vw;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #22223b !important;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}
img, .img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.feature-icon i{
    
    color: #fff !important;
    
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.hero-shapes .shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.hero-shapes .shape-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aleonn-secondary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--aleonn-primary);
    border-radius: 2px;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #7B326E;
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(123, 50, 110, 0.4);
}

.badge-content {
    color: #fff !important;
    text-align: center;
}

.badge-content h3 {
    color: #fff !important;
    margin-bottom: 0;
}

.badge-content p {
    color: #fff !important;
    margin-bottom: 0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #7B326E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 1rem;
    box-shadow: 0 2px 8px rgba(123,50,110,0.3);
}

/* Vision Section */
.vision-section {
    background: var(--aleonn-gradient-light);
    padding: 100px 0;
}

.vision-image {
    position: relative;
}

.vision-content h3 {
    color: var(--aleonn-secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Values Section */
.values-section {
    padding: 100px 0;
}

.value-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(71, 138, 201, 0.1);
    height: 100%;
    padding: 2rem;
    text-align: center;
    color: #22223b;
}

.value-card:hover {
    box-shadow: 0 15px 40px rgba(71, 138, 201, 0.2);
}

.value-icon {
    color: #7B326E;
    margin-bottom: 1.5rem;
}

.value-card h4 {
    color: var(--aleonn-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, #7B326E 0%, #0088a9 100%);
    color: #fff;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2,
.cta-section p,
.cta-section a {
    color: #fff !important;
}

/* Buttons - Neue Styles */
.aleonn-btn-primary, .aleonn-btn-outline, .aleonn-btn-outline-inverse {
  border: 2px solid transparent;
  box-sizing: border-box;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
  font-size: 1rem;
  
  display: inline-block;
  cursor: pointer;
}

/* Primary Button - Outline Style (Gegenteil von Outline) */
.aleonn-btn-primary {
  background: transparent;
  color: #0088a9;
  border-color: #0088a9;
}
.aleonn-btn-primary:hover {
  background: #7B326E;
  color: #fff;
  border-color: #7B326E;
}

/* Outline Button - Lila Outline, Hover wird Blaugrün */
.aleonn-btn-outline {
  background: transparent;
  color: #7B326E;
  border-color: #7B326E ;
}
.aleonn-btn-outline:hover {
  background: #0088a9;
  color: #fff;
  border-color: #0088a9 ;
}
.aleonn-btn-outline-inverse {
    background: transparent;
    color: #fff;
    border-color: #0088a9 ;
  }
  .aleonn-btn-outline-inverse:hover {
    background: #7B326E;
    color: #fff;
    border-color: #7B326E ;
  }

/* Footer */
.footer-section {
    background: linear-gradient(135deg, #7B326E 0%, #22223b 100%);
    color: #f4f8fa;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #7B326E;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #f4f8fa;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: #7B326E;
    padding-left: 10px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -5px;
}

.social-links {
    display: flex;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.social-link:hover {
    background: #7B326E;
    color: #fff;
}

.contact-icon {
    width: 30px;
    height: 30px;
    background: #7B326E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    margin-right: 1rem;
}

.newsletter-form .form-control {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 25px 0 0 25px;
}

.newsletter-form .form-control::placeholder {
    color: #e0e0e0;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    background: #7B326E;
    border: 1px solid #7B326E;
    color: #fff;
}

.newsletter-form .btn:hover {
    background: #0088a9;
    color: #fff;
    border: 1px solid #0088a9;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #7B326E;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: background 0.2s, color 0.2s;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(123, 50, 110, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0088a9;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 136, 169, 0.4);
}

/* Mobile Menu Styles - Korrigiert */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    padding: 2rem;
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    z-index: 10000 !important;
}

.mobile-menu-overlay.show .mobile-menu-content {
    right: 0 !important;
    box-shadow: 0 0 40px rgba(0,0,0,0.3);
}

.mobile-menu-content,
.mobile-menu-list,
.mobile-menu-list li,
.mobile-menu-list a {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
        top: -10px;
        right: -10px;
    }
    
    .about-section,
    .vision-section,
    .values-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .hero-section .hero-image img.img-fluid {
        max-width: 50% !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .aleonn-btn-primary,
    .aleonn-btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto 0;
}

/* Preloader */
#pre-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--aleonn-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
    color: white;
}

/* Utility Classes */
.text-primary {
    color: var(--aleonn-primary) !important;
}

.bg-primary {
    background-color: var(--aleonn-primary) !important;
}

.border-primary {
    border-color: var(--aleonn-primary) !important;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(71, 138, 201, 0.2);
}

.rounded-custom {
    border-radius: 15px;
}

/* Hover Effects - Deaktiviert für Buttons */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Textauswahl im Corporate-Lila */
::selection {
    background: #7B326E !important;
    color: #fff !important;
}

/* Lesbarkeit für Feature-Icons und Badges */
.feature-icon {
    background: #7B326E;
    color: #fff;
    box-shadow: 0 2px 8px rgba(123,50,110,0.3);
}

.experience-badge {
    background: #7B326E;
    color: #fff;
    box-shadow: 0 10px 30px rgba(123,50,110,0.4);
}

/* Lesbarkeit für Cards und Value-Section */
.value-card {
    background: #fff;
    color: #22223b;
    border: 1px solid #e0e0e0;
}
.value-card h4 {
    color: #0088a9;
}
.value-icon {
    color: #7B326E;
}

/* Lesbarkeit für About-Section-Text */
.about-section, .vision-section, .values-section {
    background: #f4f8fa;
    color: #22223b;
}

.section-title {
    color: #7B326E;
}
.section-title::after {
    background: #0088a9;
}

/* Lesbarkeit für CTA und Footer */
.cta-section {
    background: linear-gradient(135deg, #0088a9 0%, #7B326E 100%);
    color: #fff;
}
.cta-section h2, .cta-section p, .cta-section a {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.footer-section {
    background: linear-gradient(135deg, #22223b 0%, #0088a9 100%);
    color: #f4f8fa;
}
.footer-title {
    color: #fff !important;
}
.footer-links a {
    color: #f4f8fa;
}
.footer-links a:hover {
    color: #0088a9;
}
.social-link {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.social-link:hover {
    background: #0088a9;
    color: #fff;
}
.contact-icon {
    background: #0088a9;
    color: #fff;
}

.newsletter-form .form-control {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.newsletter-form .form-control::placeholder {
    color: #e0e0e0;
}
.newsletter-form .btn {
    background: #0088a9;
    border: 1px solid #0088a9;
    color: #fff;
}
.newsletter-form .btn:hover {
    background: #fff;
    color: #0088a9;
    border: 1px solid #fff;
}

/* Back to Top Button */
.back-to-top {
    background: #7B326E;
    color: #fff;
}
.back-to-top:hover {
    background: #0088a9;
    color: #fff;
}

/* Für alle Cards und hellen Flächen: dunkle Schrift */
.card, .bg-white, .about-section, .vision-section, .values-section {
    color: #22223b;
}

/* Für alle dunklen Flächen: helle Schrift */
.cta-section, .footer-section {
    color: #f4f8fa;
}

.hero-section .lead, .hero-section p {
    color: #fff !important;
}

/* Z-Index Fixes for Menu */
.aleonn-header, .navbar {
    position: relative;
    z-index: 1050;
}

.dropdown-menu {
    z-index: 1100;
}