/* Custom CSS für plentyone Website */

/* Farben */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f8f9fa;
    --accent-color: #28a745;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e9ecef;
}

/* Globale Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Header/Navigation */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a5f 100%);
    color: white;
    padding: 80px 0;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Hero Section Headlines - weiß auf blauem Hintergrund */
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section .display-4,
.hero-section .display-5,
.hero-section .display-6 {
    color: white !important;
}

/* Spezifische Regel für Bootstrap Display-Klassen in Hero-Section */
.hero-section .display-4.fw-bold,
.hero-section .display-4,
.hero-section .display-5,
.hero-section .display-6,
.hero-section h1.display-4,
.hero-section h1.display-4.fw-bold {
    color: white !important;
}

/* Zusätzliche Regel für alle Textelemente in Hero-Section */
.hero-section * {
    color: white !important;
}

/* Sehr spezifische Regel für Bootstrap Display-Klassen */
section.hero-section h1.display-4.fw-bold.mb-4,
section.hero-section h1.display-4,
section.hero-section .display-4,
section.hero-section h1 {
    color: white !important;
}

/* Ausnahme für Links und Buttons */
.hero-section a:not(.btn),
.hero-section .btn {
    color: inherit !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e3a5f;
    border-color: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: var(--secondary-color);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.bg-light-custom {
    background-color: var(--secondary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 12px 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

/* Honeypot Field (versteckt) */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Footer */
footer {
    background-color: #1a1a1a !important;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* Utilities */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

/* Animationen */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Accordion Styling */
.accordion-button {
    background-color: var(--secondary-color);
    border: none;
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(44, 90, 160, 0.25);
}

/* Badge Styling */
.badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
}

/* List Styling */
.list-group-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* KRITISCHE REGEL - Hero Section Text muss weiß sein */
.hero-section,
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section .display-1,
.hero-section .display-2,
.hero-section .display-3,
.hero-section .display-4,
.hero-section .display-5,
.hero-section .display-6,
.hero-section p,
.hero-section .lead,
.hero-section div,
.hero-section span {
    color: white !important;
}

/* Ausnahme nur für Buttons */
.hero-section .btn {
    color: inherit !important;
}

/* ULTRA-SPEZIFISCHE REGEL - Muss funktionieren! */
section.hero-section div.container div.row div.col-lg-8.mx-auto.text-center h1.display-4.fw-bold.mb-4,
section.hero-section h1.display-4.fw-bold.mb-4,
.hero-section h1.display-4.fw-bold.mb-4,
h1.display-4.fw-bold.mb-4 {
    color: white !important;
    text-shadow: none !important;
}

/* Fallback für alle h1 in hero-section */
.hero-section h1 {
    color: white !important;
}

/* ABSOLUT LETZTE REGEL - Muss definitiv funktionieren */
body .hero-section h1.display-4.fw-bold.mb-4 {
    color: white !important;
}

/* Noch spezifischer */
html body .hero-section h1.display-4.fw-bold.mb-4 {
    color: white !important;
}
