/* 
 * Zahlwerk Consulting - Main Stylesheet
 * 
 * Color Scheme:
 * - Main background: #3B3BE0 (bright ultramarine)
 * - Accent: #C6FF00 (neon lime green)
 * - Text: #0F1A3C (dark blue)
 * - Block backgrounds: light pearlescent gradient
 * - Buttons: purple to orange gradient #9C27B0 → #FF5722
 */

/* Base Styles & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #0F1A3C;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #3B3BE0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #C6FF00;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #9C27B0, #FF5722);
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 5rem 0;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: block;
}

.logo svg {
    display: block;
    height: 40px;
}

/* Navigation */
.main-nav {
    position: relative;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #3B3BE0;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-line:nth-child(1) {
    top: 0;
}

.menu-line:nth-child(2) {
    top: 8px;
}

.menu-line:nth-child(3) {
    top: 16px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: #0F1A3C;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #9C27B0, #FF5722);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(90deg, #9C27B0, #FF5722);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
}

.nav-menu .nav-cta::after {
    display: none;
}

/* Hero Section */
.hero-section {
    background-color: #3B3BE0;
    color: white;
    text-align: center;
    position: relative;
    padding: 15rem 0 15rem; /* Increased padding-top for mobile fixed header */
    overflow: hidden;
    
}



.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(198, 255, 0, 0.2) 0%, rgba(59, 59, 224, 0) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #9C27B0, #FF5722);
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.6);
    color: white;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 26, 60, 0.1);
}

/* Benefits Section */
.benefits-section {
    background-color: #3B3BE0;
    color: white;
    position: relative;
}

.benefits-section h2::after {
    background: linear-gradient(90deg, #C6FF00, #C6FF00);
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.benefit-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: #C6FF00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon .icon {
    width: 40px;
    height: 40px;
    fill: #3B3BE0;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.legal-section h1{
    text-align: center;
}
.service-card {
    flex: 1;
    min-width: 200px;
    max-width: 380px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 26, 60, 0.1);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #9C27B0, #FF5722);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(15, 26, 60, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background-color: #f0f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon .icon {
    width: 35px;
    height: 35px;
    fill: #3B3BE0;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
    position: relative;
}

.service-link::after {
    content: '→';
    margin-left: 5px;
    transition: all 0.3s ease;
}

.service-link:hover::after {
    margin-left: 10px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #3B3BE0;
    color: white;
}

.testimonials-section h2::after {
    background: linear-gradient(90deg, #C6FF00, #C6FF00);
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    min-width: 200px;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonial-content {
    padding: 2rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 10px;
    left: 10px;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.1);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    color: #C6FF00;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(15, 26, 60, 0.05);
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 1.5rem;
    background-color: white;
    color: #0F1A3C;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-toggle:checked + .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: white;
    transition: max-height 0.3s ease;
}

.faq-toggle:checked + .faq-question + .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 1rem 1.5rem 1.5rem;
}

/* Contact Form Section */
.contact-form-section {
    background-color: #3B3BE0;
    color: white;
}

.contact-form-section h2::after {
    background: linear-gradient(90deg, #C6FF00, #C6FF00);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-error-message {
    background-color: rgba(255, 87, 34, 0.2);
    border-left: 4px solid #FF5722;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.form-error-list {
    background-color: rgba(255, 87, 34, 0.2);
    border-left: 4px solid #FF5722;
    padding: 1rem 1rem 1rem 2.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.form-error-list ul {
    margin: 0;
}

.form-error-list li {
    margin-bottom: 0.5rem;
}

.form-error-list li:last-child {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 30px;
    background-color: white;
    color: #0F1A3C;
    font-size: 1rem;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: 400;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 30px;
    background: linear-gradient(90deg, #9C27B0, #FF5722);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
    transform: translateY(-2px);
}

/* Contact Information Section */
.contact-info-section {
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.contact-info-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 26, 60, 0.1);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(15, 26, 60, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: #f0f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon .icon {
    width: 35px;
    height: 35px;
    fill: #3B3BE0;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 26, 60, 0.1);
    max-height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    display: block;
    border: none;
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 15px 40px rgba(15, 26, 60, 0.2);
}

/* Footer */
.site-footer {
    background-color: #0F1A3C;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 2;
    min-width: 200px;
}

.footer-contact {
    margin-top: 1rem;
}

.footer-contact a {
    color: #C6FF00;
}

.footer-links,
.footer-nav {
    flex: 1;
    min-width: 200px;
}

.footer-links ul,
.footer-nav ul {
    list-style: none;
}

.footer-links li,
.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-nav a:hover {
    color: #C6FF00;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0F1A3C;
    color: white;
    z-index: 1001;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    min-width: 280px;
}

.cookie-content a {
    color: #C6FF00;
    text-decoration: underline;
}

.cookie-btn {
    background: linear-gradient(90deg, #9C27B0, #FF5722);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .legal-section h1{
        font-size: 1.5rem;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: -100%;
        width: 250px;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        border-radius: 0 0 0 10px;
    }
    
    .nav-menu li {
        margin-left: 0;
        margin-bottom: 1rem;
    }
    
    .nav-menu li:last-child {
        margin-bottom: 0;
    }
    
    .menu-toggle:checked ~ .nav-menu {
        right: 0;
    }
    
    .menu-toggle:checked + .menu-icon .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked + .menu-icon .menu-line:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .menu-icon .menu-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-section {
        padding-top: 7rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        padding-top: 8rem; /* Increase for smaller screens with fixed header */
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .about-content,
    .benefits-grid,
    .services-grid,
    .testimonials-grid,
    .contact-info-grid {
        gap: 1.5rem;
    }
    
    .benefit-item,
    .service-card,
    .testimonial-card,
    .contact-info-item {
        min-width: 100%;
    }
    
    .map-container iframe {
        height: 250px;
    }
} 