/* 
* Finzen Steuerberatung - Main Stylesheet
* Colors:
* - Main: #A6F750 (Lime)
* - Secondary: #6A1B9A (Deep Purple)
* - Background: #FAF9F6 (Off-White)
* - Text: #2E2E2E (Dark Gray)
*/

/* Reset & Base Styles */
:root {
    --primary: #A6F750;
    --secondary: #6A1B9A;
    --bg-color: #FAF9F6;
    --text-color: #2E2E2E;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #888888;
    --light-gray: #EEEEEE;
    --error-color: #e74c3c;
    --header-height: 80px;
    --header-height-mobile: 60px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}
.thank-you{
    padding: 150px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.thank-you-content{
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--primary);
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 7rem 0;
}

/* Policy Pages Styles */
.policy-page h2 {
    text-align: left;
}

.policy-page h2:after {
    left: 0;
    transform: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-btn {
    background-color: var(--black);
    color: var(--white);
}

.primary-btn:hover, .primary-btn:focus {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.secondary-btn {
    background-color: var(--secondary);
    color: var(--white);
}

.secondary-btn:hover, .secondary-btn:focus {
    background-color: var(--primary);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.nav-btn {
    padding: 8px 16px;
    background-color: var(--primary);
    color: var(--black);
}

.nav-btn:hover, .nav-btn:focus {
    background-color: var(--secondary);
    color: var(--white);
    text-decoration: none;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
}

.nav-menu a:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover:before, .nav-menu a:focus:before {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, rgba(106, 27, 154, 0.8), rgba(156, 39, 176, 0.7)), url('../img/37e3oF.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: calc(var(--header-height) + 6rem) 0 6rem;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* About Section */
.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: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.rating {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(to right, rgba(106, 27, 154, 0.9), rgba(156, 39, 176, 0.85)), url('../img/3zc761.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.cta h2:after {
    background-color: var(--primary);
}

/* Contact Form Section */
.contact-form {
    background-color: var(--bg-color);
    text-align: center;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(166, 247, 80, 0.2);
    outline: none;
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
}

.checkbox label {
    margin-bottom: 0;
}

/* Contact Info Section */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-details, .contact-map {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    margin-right: 1rem;
    flex-shrink: 0;
}

.map-image {
    border-radius: 10px;
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.site-footer {
    background-color: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-links h4, .footer-contact h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
}

.footer-links a:hover, .footer-links a:focus {
    color: var(--primary);
}

.footer-contact a {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary);
    color: var(--white);
    padding: 1rem;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-content a {
    color: var(--primary);
}

/* Form Error Styles */
.form-errors {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--error-color);
    border-radius: 4px;
    color: var(--error-color);
    margin-bottom: 2rem;
    padding: 1rem;
}

.form-errors ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 0;
}

.form-errors p {
    margin-bottom: 0;
}

input.error, select.error, textarea.error {
    border-color: var(--error-color);
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: var(--header-height-mobile);
    }
    
    .hero {
        padding-top: calc(var(--header-height-mobile) + 6rem);
    }
    
    .menu-icon {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: var(--header-height-mobile);
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .menu-toggle:checked ~ .nav-menu {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-menu li:last-child {
        padding: 15px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.2rem !important;
    }
    
    h2 {
        font-size: 1rem;
    }
    
    .hero {
        padding: calc(var(--header-height-mobile) + 4rem) 0 4rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .btn {
        padding: 10px 20px;
    }
} 