/* General Body Styles */
body {
    font-family: sans-serif;
    margin: 0;
    background: linear-gradient(rgba(255, 253, 208, 0.8), rgba(255, 253, 208, 0.8)), url('images/forest-background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #228B22; /* Moss Green */
}

/* Header Styles */
header {
    background-image: url('images/header.jpg?v=20260402');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0;
    width: 100%;
    /* Aspect ratio based on actual image dimensions: 1552x672 */
    aspect-ratio: 1552 / 672; 
    min-height: 150px;
    position: relative; /* Base for absolute positioning of children */
}

.header-content {
    display: flex;
    justify-content: center; /* Centered nav bar again */
    align-items: center;
    width: 100%;
    background-color: #8B4513; /* Log-wood brown for the nav bar */
    padding: 10px 20px;
    box-sizing: border-box;
    border-bottom: 5px solid #228B22; /* Moss green border for contrast */
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #FFFDD0;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #228B22;
}

@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

.whatsapp-fixed-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    width: 75px; /* Nur noch halb so groß wie vorher (150px) */
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
    border: none;
    background: transparent;
    padding: 0;
    opacity: 0.95; /* Fast voll sichtbar */
}

.whatsapp-fixed-btn:hover {
    transform: scale(1.2);
    opacity: 1;
}

.whatsapp-fixed-btn img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .whatsapp-fixed-btn {
        width: 100px; /* Nur noch halb so groß wie vorher (200px) */
        bottom: 20px;
        right: 20px;
        top: auto;
    }
}

/* Info Section on index.html */
.info-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.9);
    border: 3px solid #8B4513;
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: white;
}

.info-card h3 {
    color: #8B4513;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.info-card p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
}

.back-btn {
    display: inline-block;
    background-color: #228B22;
    color: #FFFDD0;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.3s;
    border: none;
    cursor: pointer;
}

.back-btn:hover {
    background-color: #3CB371;
    transform: translateY(-2px);
}

/* Features List */
.features-section {
    margin-top: 40px;
    padding: 30px;
    background-color: #FFFDD0;
    border-radius: 15px;
    border: 2px solid #228B22;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-section h3 {
    color: #8B4513;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    color: #333;
}

.features-list li img {
    width: 24px;
    height: 24px;
    margin-bottom: 0 !important; /* Overriding general img styles if any */
    box-shadow: none !important;
}

/* WhatsApp Confirmation Modal */
.wa-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.wa-modal-content {
    background-color: #FFFDD0;
    padding: 30px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    border: 3px solid #8B4513;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.wa-modal-content h3 {
    color: #8B4513;
    margin-top: 0;
}

.wa-modal-content p {
    color: #333;
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 25px;
}

.wa-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.wa-btn-confirm {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.wa-btn-confirm:hover {
    background-color: #1ebe57;
}

.wa-btn-cancel {
    background-color: #8B4513;
    color: #FFFDD0;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.wa-btn-cancel:hover {
    opacity: 0.9;
}

@media (max-width: 850px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
}

nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center; /* Center buttons within nav container */
}

.nav-left, .nav-right {
    display: none; /* Removed as replaced by centered nav */
}

nav a {
    color: #FFFDD0;
    text-decoration: none;
    font-size: 1.1em;
    padding: 8px 12px;
    border-radius: 5px;
    background-color: transparent; /* Remove button background for a cleaner look in the bar */
    transition: background-color 0.3s, transform 0.2s;
    white-space: nowrap;
    display: inline-block;
    border: 1px solid transparent;
}

nav a:hover {
    background-color: rgba(255, 253, 208, 0.2);
    border: 1px solid #FFFDD0;
    transform: translateY(-2px);
}

/* Home Page (Startseite) Image Style */
.startseite-container {
    position: relative;
    width: 100%; /* Full width */
    max-width: 100%; /* No limit */
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

.startseite-image {
    width: 100%;
    height: auto;
    display: block;
}

.clickable-area {
    position: absolute;
    background-color: rgba(255, 255, 255, 0); /* Transparent */
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

.clickable-area:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle white glow on hover */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Coordinates for buttons - Adjusted for full width layout */
/* These cover typical button positions on a flyer/start page */
.area-huepfburg { top: 25%; left: 10%; width: 35%; height: 30%; }
.area-slush { top: 25%; left: 55%; width: 35%; height: 30%; }
.area-preise { top: 65%; left: 10%; width: 35%; height: 25%; }
.area-kontakt { top: 65%; left: 55%; width: 35%; height: 25%; }

@media (max-width: 768px) {
    .startseite-container {
        margin: 0;
    }
}

/* Keep essential button styles for other pages */
.cta-button, .secondary-button {
    display: inline-block;
    background-color: #228B22;
    color: #FFFDD0;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-weight: bold;
}

/* Main Content Styles */
.main-content {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
}

.content-card {
    background-color: #FFFDD0; /* Cream White */
    border: 2px solid #8B4513; /* Log-wood brown */
    border-radius: 10px;
    padding: 20px;
    width: 45%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.content-card h3 {
    color: #228B22; /* Moss Green */
    font-size: 2em;
    border-bottom: 2px solid #8B4513;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.content-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.content-card p,
.content-card ul {
    font-size: 1.1em;
    line-height: 1.6;
}

.content-card ul {
    list-style: none;
    padding: 0;
}

.content-card ul li {
    padding-left: 20px;
    margin-bottom: 12px;
}

.content-card ul li::before {
    content: "";
}

/* Pricing Grid Styles */
.pricing-grid {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: #228B22; /* Moss Green */
}

.pricing-card {
    background-color: #FFFDD0; /* Cream White */
    border: 2px solid #8B4513; /* Log-wood brown */
    border-radius: 10px;
    padding: 20px;
    width: 30%;
    text-align: center;
}

.pricing-card h4 {
    font-size: 1.8em;
    color: #8B4513; /* Log-wood brown */
    margin-bottom: 20px;
}

.price {
    font-size: 2.5em;
    font-weight: bold;
    color: #228B22; /* Moss Green */
    display: block;
    margin-bottom: 10px;
}

.price-small {
    font-size: 1.5em;
    font-weight: bold;
    color: #228B22;
}

.pricing-card hr {
    border: 0;
    border-top: 1px solid #8B4513;
    margin: 15px 0;
}

.small-text {
    font-size: 0.9em;
    color: #555;
    margin-top: -5px;
    margin-bottom: 10px;
}

.pricing-card.highlight {
    border: 3px solid #228B22;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.price-list {
    text-align: left;
    padding: 0;
    list-style: none;
    margin-top: 15px;
}

.price-list li {
    padding-left: 10px;
    margin-bottom: 8px;
}

.pricing-card p {
    font-size: 1.2em;
}

/* Footer Styles */
footer {
    background-color: #228B22; /* Moss Green */
    color: #FFFDD0; /* Cream White */
    padding: 50px 20px;
}

.footer-content {
    display: flex;
    justify-content: center; /* Center content since form is gone */
    align-items: center;
    flex-direction: column; /* Stack details and map */
    gap: 30px;
}

.contact-form {
    /* Styles for the form on the dedicated contact page */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally in footer */
    gap: 15px;
    width: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    max-width: 320px; /* Uniform width for list items */
    text-align: left;
}

.contact-info-item .icon {
    font-size: 1.5em;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-item .info-text p {
    margin: 0;
    line-height: 1.4;
    font-size: 1.1em;
}

.contact-info-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
}

.contact-info-item a:hover {
    color: #FFFDD0;
    text-decoration: underline;
}

.contact-icons {
    display: none; /* Old icons container replaced by vertical layout */
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #8B4513;
    font-size: 16px; /* Prevents auto-zoom on mobile */
    font-family: sans-serif;
    color: #333; /* Darker text for better readability on white background */
    background-color: #FFFDD0; /* Matching cream background */
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8B4513;
    opacity: 0.7;
}

.contact-form button {
    background-color: #8B4513; /* Log-wood brown */
    color: #FFFDD0; /* Cream White */
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    width: auto; /* Default to auto on desktop */
}

.contact-form button:hover {
    background-color: #A0522D;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-form button {
        width: 100%; /* Full width on mobile */
    }
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid #FFFDD0;
    padding-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    h1 {
        margin-bottom: 10px;
    }

    .main-content {
        flex-direction: column;
        align-items: center;
    }

    .content-card {
        width: 90%;
        margin-bottom: 20px;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 80%;
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form, .contact-details, .map {
        width: 90%;
        margin-bottom: 30px;
        text-align: center;
    }

    .contact-details {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding: 10px;
    }

    .nav-left, .nav-right {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 12px;
        box-sizing: border-box;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-image {
        width: 100%;
        max-width: 400px;
        margin-top: 30px;
    }

    h1 {
        font-size: 1.5em;
    }
}