/* =========================================================================
   PREMIUM REDESIGN - COMPUTERSERVICE TUMA (DSGVO Konform)
   ========================================================================= */

/* Removed Google Fonts for DSGVO Compliance */

:root {
    --primary: #0f172a;       /* Slate 900 */
    --secondary: #334155;     /* Slate 700 */
    --accent: #f97316;        /* Orange 500 */
    --accent-hover: #ea580c;  /* Orange 600 */
    --bg-light: #f8fafc;      /* Slate 50 */
    --text-main: #475569;     /* Slate 600 */
    --text-muted: #94a3b8;    /* Slate 400 */
    --white: #ffffff;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5em;
}

/* --- Typography Enhancements --- */
.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Navigation / Header (Glassmorphism) --- */
.main-navigation {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.top-bar, .top-bar-section ul { background: transparent !important; }

.top-bar-section li:not(.has-form) a:not(.button) {
    background: transparent !important;
    color: var(--secondary) !important;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    padding: 0 20px !important;
}

.top-bar-section li:not(.has-form) a:not(.button):hover {
    color: var(--accent) !important;
}

.top-bar-section .active > a {
    color: var(--accent) !important;
    position: relative;
}

.top-bar-section .active > a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
}

.dropdown {
    background: var(--white) !important;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    padding: 10px 0 !important;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background-image: url('../images/slider/1.jpg'); /* Uses slider image */
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    border-radius: var(--radius-lg);
    margin-top: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    padding-left: 40px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    font-weight: 300;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%) !important;
    color: var(--white) !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px -5px rgba(249, 115, 22, 0.5) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    text-transform: none !important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(249, 115, 22, 0.6) !important;
}

.btn-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(5px);
    color: var(--white) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2) !important;
    border-color: var(--white) !important;
}

/* --- Modern Cards (Services) --- */
.modern-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: #e2e8f0;
}

.modern-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0.05) 100%);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 25px auto;
    transition: all 0.3s ease;
}

.modern-card:hover .modern-card-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.modern-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.modern-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
}

/* --- Pricing/Service Lists --- */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-header {
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.pricing-header h3 {
    color: var(--white);
    margin: 0;
    font-weight: 600;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin: 15px 0 0 0;
}

.pricing-price span {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 0;
    padding: 30px;
}

.pricing-features li {
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    color: var(--text-main);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: #10b981; /* Success Green */
    margin-right: 15px;
    font-size: 1.2rem;
}

/* --- Contact Section --- */
.contact-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: 40px;
}

.contact-info-panel {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    color: var(--white);
    padding: 50px;
    height: 100%;
}

.contact-info-panel h3 { color: var(--white); }
.contact-info-panel p { color: #cbd5e1; }

.contact-info-list {
    list-style: none;
    margin: 40px 0 0 0;
    padding: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-list i {
    font-size: 24px;
    color: var(--accent);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-info-list span {
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-form-panel {
    padding: 50px;
}

/* --- Form Elements --- */
.modern-input {
    width: 100%;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 1rem !important;
    color: var(--primary) !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    margin-bottom: 20px !important;
}

.modern-input:focus {
    background: var(--white) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1) !important;
}

textarea.modern-input {
    min-height: 150px;
    resize: vertical;
}

/* --- Footer --- */
.footer_wrapper {
    background: var(--primary) !important;
    color: var(--text-muted) !important;
    padding-top: 70px;
    margin-top: 80px;
}

.footer_wrapper p, 
.footer_wrapper span, 
.footer_wrapper li, 
.footer_wrapper i {
    color: #cbd5e1 !important;
}

.footer_wrapper a {
    color: #f97316 !important; /* Orange */
    transition: color 0.3s ease;
}

.footer_wrapper a:hover {
    color: #fb923c !important; /* Lighter Orange on hover */
}

/* Make the dark footer logo pure white so it's visible on the dark background */
.footer_wrapper img.botlogo {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-title {
    color: var(--white) !important;
    background: transparent !important;
    border-bottom: none !important;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.divdott { display: none; } /* Remove old dotted lines */

.footer_bottom {
    background: #020617 !important;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer_bottom p {
    color: #94a3b8 !important;
}

/* Container Spacing Utilities */
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }

/* Legal Text Boxes */
.legal-content {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 50px !important;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05) !important;
    margin: 40px auto !important;
    line-height: 1.8 !important;
    max-width: 900px !important;
}

.legal-content h1, 
.legal-content h2, 
.legal-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.legal-content p, .legal-content li {
    font-size: 1.05rem;
    color: #475569;
}

/* Fix Dropdown Menu Visibility (Desktop) */
.top-bar-section ul.dropdown {
    background: #ffffff !important;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1) !important;
    border: 1px solid #f1f5f9 !important;
}
.top-bar-section ul.dropdown li {
    background: #ffffff !important;
}
.top-bar-section ul.dropdown li > a {
    color: var(--primary) !important;
    background: transparent !important;
    padding: 10px 20px !important;
    line-height: normal !important;
    height: auto !important;
}
.top-bar-section ul.dropdown li:hover > a {
    background: #f8fafc !important;
    color: #f97316 !important;
}

/* =========================================================================
   MOBILE RESPONSIVENESS (SMARTPHONES & TABLETS)
   ========================================================================= */
@media only screen and (max-width: 768px) {
    /* Adjust Hero Section */
    .hero {
        height: auto;
        min-height: 60vh;
        padding: 100px 20px 60px 20px;
    }
    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }
    .hero p {
        font-size: 1rem !important;
    }
    
    /* Adjust Navigation */
    .main-navigation {
        margin-top: 0;
        border-radius: 0;
    }
    
    /* Adjust Paddings & Margins */
    .section-padding { padding: 40px 0; }
    .mb-50 { margin-bottom: 30px; }
    
    /* Adjust Legal Pages (Impressum & Datenschutz) */
    .legal-content {
        padding: 20px !important;
        margin: 20px 10px !important;
        border-radius: 8px !important;
    }
    
    /* Adjust Pricing & Modern Cards */
    .pricing-card, .modern-card {
        margin-bottom: 20px;
    }
    
    /* Adjust Pricing & Modern Cards */
    .pricing-card, .modern-card {
        margin-bottom: 20px;
    }
    
    /* Adjust Footer */
    .footer_wrapper {
        padding-top: 40px;
        text-align: center;
    }
    .footer-part .large-3 {
        margin-bottom: 30px;
    }
    
    /* Mobile Menu (Hamburger) Color Fix */
    .top-bar .toggle-topbar.menu-icon a {
        color: #0f172a !important; /* Dark text for 'Menu' */
    }
    .top-bar .toggle-topbar.menu-icon a span::after {
        box-shadow: 0 0 0 1px #0f172a, 0 7px 0 1px #0f172a, 0 14px 0 1px #0f172a !important;
    }
    
    /* Mobile Dropdown Background & Text Fix */
    .top-bar.expanded .top-bar-section, 
    .top-bar-section ul {
        background: #ffffff !important;
    }
    .top-bar-section ul li > a {
        background: #ffffff !important;
        color: #0f172a !important;
        border-bottom: 1px solid #f1f5f9;
    }
    .top-bar-section ul li > a:hover {
        color: #f97316 !important;
    }

}
