/* 
* Buchhaltungsservice Deutschland - Main Stylesheet
* Colors:
* - Primary: #FFA45B (Warm mandarin)
* - Secondary: #3D348B (Deep indigo)
* - Accent1: #845EC2 (Purple)
* - Accent2: #FFEBCA (Sandy beige)
* - Background: #F9F5F0 (Cream-gray)
* - Text: #2C2C2C (Coal gray)
*/

/* ---------- 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;
    color: #2C2C2C;
    background-color: #F9F5F0;
    line-height: 1.6;
    padding-top: 5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #3D348B;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFA45B;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #3D348B;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #FFA45B;
    margin: 1rem auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #FFA45B;
    color: #fff;
}

.btn-primary:hover {
    background-color: darken(#FFA45B, 10%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #3D348B;
    color: #fff;
}

.btn-secondary:hover {
    background-color: darken(#3D348B, 10%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    flex: 0 0 auto;
}

.logo {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: bold;
}

.logo svg {
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 1rem;
}

.nav-menu a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: bold;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFA45B;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    width: 28px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-toggle a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #3D348B;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
    background-color: #F9F5F0;
    padding: 5rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    flex: 0 0 50%;
}

.hero-image {
    flex: 0 0 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ---------- About Section ---------- */
.about {
    padding: 5rem 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 0 0 55%;
}

.about-image {
    flex: 0 0 40%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ---------- Services Section ---------- */
.services {
    padding: 5rem 0;
    background-color: #F9F5F0;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.service-card {
    flex: 0 0 calc(33.333% - 2rem);
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #3D348B;
}

.service-card p {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-card .price {
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #FFA45B;
    font-size: 1.25rem;
}

/* ---------- Benefits Section ---------- */
.benefits {
    padding: 5rem 0;
    background-color: #fff;
}

.benefits-image {
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #F9F5F0;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    padding: 5rem 0;
    background-color: #F9F5F0;
}

.testimonial-image {
    max-width: 500px;
    margin: 2rem auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-slider {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial {
    flex: 0 0 calc(33.333% - 2rem);
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content:before,
.testimonial-content:after {
    content: '"';
    font-size: 2rem;
    line-height: 0;
    color: #FFA45B;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.testimonial-author span:first-child {
    color: #3D348B;
}

.testimonial-author span:last-child {
    font-weight: normal;
    font-size: 0.9rem;
}

/* ---------- Contact Section ---------- */
.contact {
    padding: 5rem 0;
    background-color: #fff;
}

.contact-content {
    display: flex;
    gap: 3rem;
}

.contact-info {
    flex: 0 0 40%;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 0.5rem;
    color: #FFA45B;
}

.business-hours {
    margin-top: 2rem;
}

.contact-form {
    flex: 0 0 55%;
}

.form-container {
    background-color: #F9F5F0;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background-color: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3D348B;
    box-shadow: 0 0 0 3px rgba(61, 52, 139, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    flex: 1;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 4rem 0 2rem;
    background-color: #3D348B;
    color: #fff;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 0 0 calc(40% - 2rem);
}

.footer-info h3 {
    color: #FFA45B;
}

.footer-links,
.footer-nav {
    flex: 0 0 calc(30% - 2rem);
}

.footer-links h3,
.footer-nav h3 {
    color: #FFA45B;
}

.footer-links ul,
.footer-nav ul {
    margin-top: 1rem;
}

.footer-links li,
.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-nav a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer-nav a:hover {
    opacity: 1;
    color: #FFA45B;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ---------- Cookie Consent ---------- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 44, 44, 0.95);
    color: #fff;
    padding: 1.5rem;
    z-index: 1100;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
}

.cookie-content a {
    color: #FFA45B;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* ---------- Thanks Page ---------- */
.thanks-section {
    padding: 5rem 0;
    min-height: calc(100vh - 12rem);
    display: flex;
    align-items: center;
}

.thanks-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.thanks-icon {
    margin: 0 auto 2rem;
}

/* ---------- Legal Pages ---------- */
.legal-section {
    padding: 5rem 0;
}

.legal-section h1 {
    text-align: left;
}

.legal-content {
    max-width: 900px;
    margin: 2rem auto 0;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.legal-content h2::after {
    margin-left: 0;
    margin-right: auto;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.legal-content .last-update,
.legal-content .source {
    font-style: italic;
    color: #666;
    margin-top: 2rem;
    text-align: right;
}

/* ---------- Error Page ---------- */
.error-section {
    padding: 5rem 0;
    min-height: calc(100vh - 12rem);
    display: flex;
    align-items: center;
}

.error-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.error-icon {
    margin: 0 auto 2rem;
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 1024px) {
    .hero-content,
    .hero-image {
        flex: 0 0 48%;
    }
    
    .about-text {
        flex: 0 0 50%;
    }
    
    .about-image {
        flex: 0 0 45%;
    }
    
    .service-card {
        flex: 0 0 calc(50% - 2rem);
    }
    
    .testimonial {
        flex: 0 0 calc(50% - 2rem);
    }
    
    .footer-info {
        flex: 0 0 calc(50% - 2rem);
    }
    
    .footer-links, 
    .footer-nav {
        flex: 0 0 calc(25% - 2rem);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 4rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .site-header {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo svg {
        height: 35px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 4rem;
        left: 0;
        width: 100%;
        height: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        height: auto;
        padding: 1rem 0;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        padding: 0.75rem 0;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        flex: 0 0 100%;
        order: 2;
        text-align: center;
    }
    
    .hero-image {
        flex: 0 0 100%;
        order: 1;
        margin-bottom: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text {
        flex: 0 0 100%;
        order: 2;
    }
    
    .about-image {
        flex: 0 0 100%;
        order: 1;
    }
    
    .service-card {
        flex: 0 0 100%;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-form {
        flex: 0 0 100%;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .footer-info,
    .footer-links,
    .footer-nav {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 3.5rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .site-header {
        padding: 0.3rem 0;
    }
    
    .logo svg {
        height: 30px;
    }
    
    .mobile-menu-toggle {
        width: 24px;
    }
    
    .hero {
        padding: 2rem 0 3rem;
    }
    
    .about,
    .services,
    .benefits,
    .testimonials,
    .contact {
        padding: 3rem 0;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
    }
}

/* Icons */
.icon-location, .icon-phone, .icon-email {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.icon-location {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFA45B'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFA45B'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E");
}

.icon-email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFA45B'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
} 