/* 
* BUCHHALTUNG WEBSITE STYLES
* Color Palette:
* - Primary: #4B0082 (Indigo)
* - Secondary: #00CED1 (Turquoise)
* - Accent: #FF4040 (Coral Red)
* - Background: #F9F6F1 (Ivory)
* - Text: #333333 (Dark Gray)
*/

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Add scroll padding to accommodate fixed header */
}

body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #F9F6F1;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: #4B0082;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #00CED1;
}

h3 {
    font-size: 1.5rem;
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #00CED1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4B0082;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
    padding-top: 6rem; /* Increased to prevent headings being covered by fixed header */
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: #4B0082;
    color: white;
}

.btn-primary:hover {
    background-color: #3a006c;
    color: white;
}

.btn-secondary {
    background-color: #00CED1;
    color: white;
}

.btn-secondary:hover {
    background-color: #00b5b8;
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cookie-content p {
    flex: 1;
    margin-bottom: 0;
    min-width: 200px;
}

.cookie-content .btn {
    margin-left: 0.5rem;
}

/* ===== HEADER ===== */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 2rem;
    align-items: center;
}

.nav-list li a {
    color: #333;
    font-weight: 500;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00CED1;
    transition: width 0.3s ease;
}

.nav-list li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #4B0082;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:first-child {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 9px;
}

.mobile-menu-toggle span:last-child {
    bottom: 0;
}

.mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background-color: #F9F6F1;
    padding: 6rem 0;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: white;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-list {
    list-style-type: none;
    margin-top: 1.5rem;
}

.about-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.about-list li:before {
    content: '✓';
    color: #00CED1;
    position: absolute;
    left: 0;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: #F9F6F1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card img {
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.price {
    font-weight: 700;
    color: #4B0082;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: #F9F6F1;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: rgba(0, 206, 209, 0.2);
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author p {
    margin-bottom: 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h3 {
    margin-bottom: 0.5rem;
    color: #333;
    cursor: pointer;
}

.faq-item h3:hover {
    color: #00CED1;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: #F9F6F1;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.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: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: inherit;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.contact-info {
    background-color: #4B0082;
    color: white;
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h3 {
    color: white;
}

.contact-info a {
    color: #00CED1;
}

.contact-info a:hover {
    color: white;
}

.contact-map {
    margin-top: 2rem;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: #333;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info,
.footer-nav,
.footer-contact,
.footer-legal {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-description {
    opacity: 0.8;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
    margin-left: 0;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-legal a,
.footer-contact a {
    color: #00CED1;
}

.footer-nav a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
    color: white;
}

.footer-contact address {
    font-style: normal;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image {
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-form,
    .contact-info {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background-color: white;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-list.active {
        max-height: 300px;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list li a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #eee;
    }
    
    .nav-list li a::after {
        display: none;
    }
    
    .nav-list li a.btn {
        margin: 1rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .benefits-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
} 

/* Contact button in white */
.nav-list li a.btn.btn-primary {
    color: white;
}

/* Footer headings in white */
.footer-nav h3,
.footer-contact h3,
.footer-legal h3,
.footer-info h3 {
    color: white;
    text-align: left;
}

/* Legal section pages styling */
.legal-section {
    padding: 5rem 0;
    padding-top: 6rem; /* Increased to prevent headings being covered by fixed header */
    text-align: center;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.legal-section h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-content h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    text-align: center;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-date {
    margin-top: 3rem;
    font-style: italic;
    text-align: center;
}

/* Thank you page styling */
.thank-you-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 0;
    padding-top: 6rem; /* Increased to prevent headings being covered by fixed header */
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 2rem auto;
    border-radius: 50%;
    background-color: #00CED1;
    color: white;
    font-size: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 206, 209, 0.3);
}

.thank-you-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 576px) {
    .thank-you-actions {
        flex-direction: column;
        gap: 1rem;
    }
} 