/* 
* domain - Buchhaltungsdienstleistungen
* Stylesheet
*
* Color Palette:
* - Deep orchid: #9932CC
* - Champagne pink: #EFE1D6
* - Dark slate gray: #2F4F4F
* - Mint cream: #F5FFFA
* - Light coral: #F08080
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2F4F4F;
    background-color: #F5FFFA;
}

main {
    padding-top: 5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
    color: #2F4F4F;
    scroll-margin-top: 5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #9932CC;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1em;
}

a {
    color: #9932CC;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #7b28a4;
}

section {
    padding: 4rem 0;
    scroll-margin-top: 5rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Header Styles */
.site-header {
    background-color: #F5FFFA;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #9932CC;
    text-transform: lowercase;
    letter-spacing: -1px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: #2F4F4F;
    font-weight: 500;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: #9932CC;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #9932CC;
    transition: width 0.3s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-icon span {
    width: 100%;
    height: 3px;
    background-color: #2F4F4F;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: #EFE1D6;
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.hero h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-button {
    display: inline-block;
    background-color: #9932CC;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(153, 50, 204, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button:hover {
    background-color: #7b28a4;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(153, 50, 204, 0.3);
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Services Section */
.services {
    background-color: #F5FFFA;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-image {
    margin: -2rem -2rem 1.5rem -2rem;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    color: #9932CC;
    margin-bottom: 1rem;
}

.service-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.service-card li {
    margin-bottom: 0.5rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: bold;
    position: relative;
}

.service-link:after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-link:hover:after {
    transform: translateX(5px);
}

/* Why Choose Us Section */
.why-us {
    background-color: #EFE1D6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background-color: #F5FFFA;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CSS Icons */
.icon-experience::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background-color: #9932CC;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: rotate 4s infinite linear;
}

.icon-expertise::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border: 3px solid #9932CC;
    border-radius: 50%;
    position: relative;
}

.icon-expertise::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: #9932CC;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-personalized::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: 3px solid #9932CC;
    border-radius: 4px;
    position: relative;
}

.icon-personalized::after {
    content: '✓';
    display: block;
    color: #9932CC;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-time::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border: 3px solid #9932CC;
    border-radius: 50%;
    position: relative;
}

.icon-time::after {
    content: '';
    display: block;
    width: 12px;
    height: 2px;
    background-color: #9932CC;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    transform-origin: left center;
    animation: clockHand 2s infinite linear;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #F5FFFA;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(153, 50, 204, 0.1);
    font-family: Georgia, serif;
}

.testimonial blockquote {
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial cite {
    display: block;
    font-weight: bold;
    font-style: normal;
    text-align: right;
    color: #2F4F4F;
}

/* FAQ Section */
.faq {
    background-color: #F5FFFA;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-toggle {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background-color: white;
    color: #2F4F4F;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    font-weight: bold;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #9932CC;
    transition: transform 0.3s ease;
}

.faq-toggle:checked ~ .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: white;
    transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1rem;
    border-top: 1px solid #EFE1D6;
}

/* Contact Form Section */
.contact-form {
    background-color: #EFE1D6;
}

.styled-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9932CC;
    box-shadow: 0 0 0 2px rgba(153, 50, 204, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.consent-checkboxes label {
    display: flex;
    align-items: flex-start;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.consent-checkboxes input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-actions {
    text-align: center;
}

.submit-button {
    background-color: #9932CC;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #7b28a4;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(153, 50, 204, 0.2);
}

/* Contact Information Section */
.contact-info {
    background-color: white;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-details {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    margin-right: 1rem;
    min-width: 20px;
}

.contact-map {
    flex: 1;
    min-width: 300px;
}

.contact-map img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* CSS Icons for Contact */
.icon-address::before {
    content: '📍';
}

.icon-phone::before {
    content: '📞';
}

.icon-email::before {
    content: '📧';
}

.icon-hours::before {
    content: '🕒';
}

/* Footer */
.site-footer {
    background-color: #2F4F4F;
    color: #F5FFFA;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo-section {
    flex: 2;
    min-width: 300px;
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #F08080;
}

.footer-description {
    max-width: 300px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-nav,
.footer-legal,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-nav h3,
.footer-legal h3,
.footer-contact h3 {
    color: #F5FFFA;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-nav ul,
.footer-legal ul,
.footer-contact ul {
    list-style: none;
}

.footer-nav li,
.footer-legal li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-legal a,
.footer-contact a {
    color: #F5FFFA;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
    opacity: 1;
    color: #F08080;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    border-top: 1px solid rgba(245, 255, 250, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Popup (styling only) */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(47, 79, 79, 0.95);
    color: #F5FFFA;
    padding: 1rem;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
}

.cookie-popup.visible {
    display: flex;
    animation: slideUp 0.5s forwards;
}

.cookie-popup p {
    margin: 0 1rem 0 0;
}

.cookie-popup-buttons {
    display: flex;
    gap: 0.5rem;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: #9932CC;
    color: white;
}

.cookie-accept:hover {
    background-color: #7b28a4;
}

.cookie-info {
    background-color: transparent;
    border: 1px solid #F5FFFA;
    color: #F5FFFA;
}

.cookie-info:hover {
    background-color: rgba(245, 255, 250, 0.1);
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.policy-container h1 {
    color: #9932CC;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-container h2 {
    text-align: left;
    margin-top: 2rem;
}

.policy-container h2:after {
    left: 0;
    transform: none;
}

/* Thank You Page */
.thank-you-container {
    text-align: center;
    max-width: 700px;
    margin: 3rem auto;
    padding: 3rem 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.thank-you-icon {
    font-size: 4rem;
    color: #9932CC;
    margin-bottom: 1rem;
}

.back-home {
    display: inline-block;
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes clockHand {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    /* Mobile Navigation */
    .menu-icon {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #F5FFFA;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu-toggle:checked ~ .main-nav {
        max-height: 300px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
    }
    
    .main-nav li {
        margin: 0;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(47, 79, 79, 0.1);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    /* Adjustments for smaller screens */
    .footer-content,
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cookie-popup {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .cookie-popup p {
        margin: 0 0 1rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .about-content,
    .contact-grid {
        flex-direction: column;
    }
    
    .service-card,
    .feature,
    .testimonial {
        padding: 1.5rem;
    }
}