/* Modern Light Design for Frontend Pages */

:root {
    /* Modern Color Palette */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Accent Colors */
    --accent-primary: #0f172a;
    --accent-secondary: #1e293b;
    --accent-success: #059669;
    --accent-warning: #ea580c;
    --accent-error: #dc2626;
    --accent-purple: #7c3aed;
    
    /* Border Colors */
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e1;
    --border-accent: #0f172a;
    
    /* Clean Gradients */
    --gradient-primary: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    --gradient-accent: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    
    /* Subtle Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px -8px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
}

body {
    background: #ffffff !important;
    color: #1e293b !important;
}

/* Header Styling */
.header {
    background: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 80px !important;
}

.logo {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 1.75rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.logo:hover {
    transform: scale(1.05) !important;
}

.nav-menu {
    display: flex !important;
    list-style: none !important;
    gap: 2rem !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-menu a {
    color: #475569 !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    text-decoration: none !important;
}

.nav-menu a:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
    transform: translateY(-1px) !important;
}

.nav-menu a.active {
    color: #0f172a !important;
    background: #e2e8f0 !important;
    font-weight: 600 !important;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 20px !important;
    height: 2px !important;
    background: #ea580c !important;
    border-radius: 1px !important;
}

.header-actions {
    display: flex !important;
    gap: 1rem !important;
    align-items: center !important;
}

/* Container für Content */
.container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    width: 100% !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    padding: 8rem 0 6rem;
}

.hero h1 {
    color: #0f172a;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    color: #475569;
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Modern Button Styling */
.btn-primary {
    background: #0f172a !important;
    color: white !important;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
    background: #1e293b !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(15, 23, 42, 0.3);
}

.btn-outline {
    background: transparent !important;
    color: #0f172a !important;
    border: 2px solid #e2e8f0;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #0f172a !important;
    color: white !important;
    border-color: #0f172a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent !important;
    color: #475569 !important;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1;
}

/* Card Styling */
.card {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Section Backgrounds */
section:nth-child(even) {
    background: #f8fafc !important;
}

section:nth-child(odd) {
    background: white !important;
}

/* Pricing Cards */
.pricing-card {
    background: white !important;
    border: 2px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #0f172a;
    box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.15);
    transform: translateY(-6px);
}

.pricing-card.featured {
    border-color: #ea580c;
    background: linear-gradient(145deg, #fff7ed 0%, #ffffff 100%) !important;
    position: relative;
}

.pricing-card.featured::before {
    content: "BELIEBT";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ea580c;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Enhanced Footer Styling - Professional with Contact Icons */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2rem !important;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 3rem !important;
    margin-bottom: 3rem !important;
}

.footer-section h3 {
    color: white !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 2rem;
    height: 2px;
    background: #ea580c;
    border-radius: 1px;
}

.footer-section p {
    color: #cbd5e1 !important;
    margin-bottom: 2rem !important;
    line-height: 1.6 !important;
}

.footer-section a {
    color: #cbd5e1 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    display: block;
    position: relative;
}

.footer-section a:hover {
    color: white !important;
    transform: translateX(0.25rem);
}

.footer-section a:hover::before {
    content: '→';
    position: absolute;
    left: -1rem;
    color: #ea580c;
    font-weight: bold;
}

/* Contact Icons Styling */
.footer-section a[href^="mailto:"],
.footer-section a[href^="https://wa.me"],
.footer-section a[href^="tel:"] {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.5rem 0 !important;
    transition: all 0.3s ease !important;
}

.footer-section a[href^="mailto:"] span:first-child,
.footer-section a[href^="https://wa.me"] span:first-child,
.footer-section a[href^="tel:"] span:first-child {
    padding: 0.5rem !important;
    border-radius: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    font-size: 1rem !important;
    transition: transform 0.3s ease !important;
}

.footer-section a[href^="mailto:"] span:first-child {
    background: #ea580c !important;
}

.footer-section a[href^="https://wa.me"] span:first-child {
    background: #25d366 !important;
}

.footer-section a[href^="tel:"] span:first-child {
    background: #3b82f6 !important;
}

.footer-section a[href^="mailto:"]:hover span:first-child,
.footer-section a[href^="https://wa.me"]:hover span:first-child,
.footer-section a[href^="tel:"]:hover span:first-child {
    transform: scale(1.1) !important;
}

.footer-section a[href^="mailto:"]:hover::before,
.footer-section a[href^="https://wa.me"]:hover::before,
.footer-section a[href^="tel:"]:hover::before {
    content: none !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding-top: 2rem !important;
    text-align: center !important;
}

.footer-bottom p {
    color: #94a3b8 !important;
}

.footer-bottom .gender-notice {
    font-size: 0.8rem !important;
}

.footer-bottom .gender-notice span {
    cursor: pointer !important;
    text-decoration: underline !important;
    color: #64748b !important;
    transition: color 0.3s ease !important;
}

.footer-bottom .gender-notice span:hover {
    color: #94a3b8 !important;
}

/* ITVerständlich.de link styling */
.footer-bottom a[href*="itverständlich.de"] {
    color: white !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #00D4AA, #00B894) !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 0.375rem !important;
    font-weight: 600 !important;
    margin-left: 0.25rem !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.footer-bottom a[href*="itverständlich.de"]:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3) !important;
}

/* Modal Styling for Gender Notice */
.modal {
    display: none !important;
    position: fixed !important;
    z-index: 1000 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0,0,0,0.8) !important;
}

.modal > div {
    position: relative !important;
    background-color: white !important;
    margin: 10% auto !important;
    padding: 2rem !important;
    border-radius: 1rem !important;
    width: 90% !important;
    max-width: 500px !important;
    border: 1px solid #e2e8f0 !important;
}

.modal span[onclick*="close"] {
    position: absolute !important;
    right: 1rem !important;
    top: 1rem !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    color: #64748b !important;
    transition: color 0.3s !important;
}

.modal span[onclick*="close"]:hover {
    color: #0f172a !important;
}

.modal h2 {
    color: #0f172a !important;
    margin-bottom: 1rem !important;
}

.modal p {
    color: #475569 !important;
    line-height: 1.6 !important;
}

/* Text Color Overrides */
h1, h2, h3, h4, h5, h6 {
    color: #0f172a !important;
}

p {
    color: #475569 !important;
}

/* Form Elements */
input, textarea, select {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #0f172a !important;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1) !important;
}

/* Ensure proper contrast */
.text-primary {
    color: #0f172a !important;
}

.text-secondary {
    color: #475569 !important;
}

.text-muted {
    color: #64748b !important;
}

/* Override any dark theme backgrounds */
.bg-primary {
    background: #ffffff !important;
}

.bg-secondary {
    background: #f8fafc !important;
}

.bg-tertiary {
    background: #f1f5f9 !important;
}

.bg-card {
    background: #ffffff !important;
}
