/* 
* domain - Main Stylesheet
* Pure PHP Financial Audit Website
* Color Palette:
* - Deep Midnight Blue (#0D1B2A)
* - Electric Lime (#C7F000)
* - Warm Coral (#FF6B6B)
* - Soft Platinum (#E5E5E5)
* - Charcoal Gray (#2E2E2E)
* - Pure White (#FFFFFF)
*/

/* ---------- Reset & Base Styles ---------- */
*, *::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: #2E2E2E;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #0D1B2A;
    transition: color 0.3s ease;
}

a:hover {
    color: #C7F000;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #0D1B2A;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #C7F000;
    margin: 15px auto 0;
}

/* ---------- Animations ---------- */
.animated {
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(199, 240, 0, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(199, 240, 0, 0.8);
    }
}

/* ---------- Header & Navigation ---------- */
.site-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0D1B2A;
    text-transform: lowercase;
    letter-spacing: -1px;
}

.logo a:hover {
    color: #C7F000;
}

.main-nav .nav-menu {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #C7F000;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.cta-nav {
    background-color: #C7F000;
    color: #0D1B2A;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-nav:hover {
    background-color: #0D1B2A;
    color: #C7F000;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.menu-icon, .menu-icon::before, .menu-icon::after {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #0D1B2A;
    position: relative;
}

.menu-icon::before {
    content: '';
    position: absolute;
    top: -8px;
}

.menu-icon::after {
    content: '';
    position: absolute;
    top: 8px;
}

/* ---------- Hero Section ---------- */
.hero-section {
    background-color: #0D1B2A;
    color: #FFFFFF;
    padding: 160px 0 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-transform: lowercase;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #C7F000;
    color: #0D1B2A;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #FFFFFF;
    color: #0D1B2A;
    transform: translateY(-3px);
}

/* ---------- About Section ---------- */
.about-section {
    background-color: #FFFFFF;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex-basis: 100%;
    text-align: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.stats-container {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.stat-item {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #F8F8F8;
    border-left: 4px solid #C7F000;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #0D1B2A;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #2E2E2E;
}

/* ---------- Services Section ---------- */
.services-section {
    background-color: #E5E5E5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #0D1B2A;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
}

.learn-more {
    color: #0D1B2A;
    font-weight: 600;
    position: relative;
}

.learn-more::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.learn-more:hover::after {
    margin-left: 10px;
}

/* ---------- Audit Details Section ---------- */
.audit-details-section {
    background-color: #FFFFFF;
}

.audit-detail-item {
    display: flex;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    background-color: #F8F8F8;
    width: calc(33.33% - 20px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
}

.audit-icon {
    flex: 0 0 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0D1B2A;
    position: relative;
}

.jahresabschluss-icon::before {
    content: 'J';
    font-size: 2.5rem;
    color: #C7F000;
    font-weight: 700;
}

.revision-icon::before {
    content: 'R';
    font-size: 2.5rem;
    color: #C7F000;
    font-weight: 700;
}

.steuer-icon::before {
    content: 'S';
    font-size: 2.5rem;
    color: #C7F000;
    font-weight: 700;
}

.audit-content h3 {
    color: #0D1B2A;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.audit-content ul {
    list-style: none;
    font-size: 0.9rem;
}

.audit-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.audit-content li::before {
    content: '✓';
    color: #C7F000;
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    background-color: #0D1B2A;
    color: #FFFFFF;
}

.testimonials-section .section-title {
    color: #FFFFFF;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 220px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: #C7F000;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: #C7F000;
}

/* ---------- Order Form Section ---------- */
.order-form-section {
    background-color: #E5E5E5;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0D1B2A;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #DDD;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #C7F000;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.submit-button {
    background-color: #C7F000;
    color: #0D1B2A;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background-color: #0D1B2A;
    color: #C7F000;
}

/* ---------- FAQ Section ---------- */
.faq-section {
    background-color: #FFFFFF;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #DDD;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #F8F8F8;
    cursor: pointer;
    font-weight: 600;
    color: #0D1B2A;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #0D1B2A;
    transition: transform 0.3s ease;
}

.faq-item.open .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #FFFFFF;
}

.faq-item.open .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* ---------- Blog Section ---------- */
.blog-section {
    background-color: #E5E5E5;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    color: #0D1B2A;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.blog-excerpt {
    margin-bottom: 15px;
    color: #555;
}

.read-more {
    color: #0D1B2A;
    font-weight: 600;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.read-more:hover::after {
    margin-left: 10px;
}

/* ---------- Contact & Map Section ---------- */
.contact-map-section {
    background-color: #FFFFFF;
}

.contact-map-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: #0D1B2A;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.map-container {
    flex: 1;
    min-width: 300px;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: #0D1B2A;
    color: #FFFFFF;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #C7F000;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #FFFFFF;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: #C7F000;
}

.company-info p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.contact-details p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ---------- Cookie Popup ---------- */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0D1B2A;
    color: #FFFFFF;
    padding: 20px;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    min-width: 280px;
}

.cookie-text p {
    margin-bottom: 0;
}

.cookie-button {
    background-color: #C7F000;
    color: #0D1B2A;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-button:hover {
    background-color: #FFFFFF;
}

/* ---------- Policy Pages ---------- */
.policy-page {
    padding-top: 120px;
    padding-bottom: 80px;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    font-size: 2.5rem;
    color: #0D1B2A;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}

.policy-container h2 {
    font-size: 1.8rem;
    color: #0D1B2A;
    margin: 40px 0 20px;
}

.policy-container h3 {
    font-size: 1.3rem;
    color: #0D1B2A;
    margin: 30px 0 15px;
}

.policy-container p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.policy-container ul,
.policy-container ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

.policy-date {
    color: #777;
    font-style: italic;
    margin-bottom: 30px;
}

/* ---------- Thank You Page ---------- */
.thank-you-page {
    padding: 160px 0 100px;
    text-align: center;
    background-color: #E5E5E5;
}

.thank-you-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background-color: #C7F000;
    border-radius: 50%;
    position: relative;
}

.thank-you-icon::before,
.thank-you-icon::after {
    content: '';
    position: absolute;
    background-color: #0D1B2A;
}

.thank-you-icon::before {
    width: 8px;
    height: 30px;
    transform: rotate(45deg);
    top: 25px;
    left: 52px;
}

.thank-you-icon::after {
    width: 40px;
    height: 8px;
    transform: rotate(45deg);
    top: 38px;
    left: 22px;
}

.thank-you-title {
    font-size: 2.5rem;
    color: #0D1B2A;
    margin-bottom: 20px;
}

.thank-you-message {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.back-to-home {
    display: inline-block;
    background-color: #C7F000;
    color: #0D1B2A;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background-color: #0D1B2A;
    color: #C7F000;
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    .about-text,
    .stats-container {
        flex-basis: 100%;
    }
    
    .stats-container {
        margin-top: 40px;
    }
    
    .testimonial-slide {
        padding: 20px 10px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .audit-detail-item {
        width: 100%;
        margin-right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.mobile-menu-open {
        transform: translateY(0);
    }
    
    .main-nav li {
        margin: 15px 0;
    }
    
    .hero-section {
        padding: 140px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .audit-detail-item {
        flex-direction: column;
    }
    
    .audit-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .testimonial-slider {
        height: 280px;
    }
    
    .contact-map-container {
        flex-direction: column;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .stat-item {
        flex-basis: 100%;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .testimonial-slider {
        height: 320px;
    }
    
    .policy-container {
        padding: 30px 20px;
    }
    
    .policy-container h1 {
        font-size: 2rem;
    }
}
