:root {
    --primary-color: #2F4F4F; /* Tannengrün */
    --primary-light: #3E6B6B; /* Helleres Tannengrün */
    --primary-dark: #1C3030; /* Dunkleres Tannengrün */
    --accent-color: #8BA888; /* Helles Salbeigrün */
    --text-color: #333;
    --light-bg: #F5F7F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
}

.slogan {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.company-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.company-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, #3498db, transparent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

main {
    margin-top: 80px;
}

#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1585320806297-9794b3e4eeae?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#garden-planner {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                url('https://images.unsplash.com/photo-1558293842-c0fd3db86157?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#garden-planner h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Form Styling */
.form-group {
    margin-bottom: 2rem;
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(47, 79, 79, 0.1);
    transition: all 0.3s ease;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group select {
    width: 100%;
    height: 2.8rem;
    padding: 0 1rem;
    border: 1px solid rgba(47, 79, 79, 0.2);
    border-radius: 4px;
    font-size: 1rem;
    color: var(--primary-color);
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F4F4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-group label::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Hover States */
.form-group:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 10px rgba(47, 79, 79, 0.1);
}

.form-group:hover label::before {
    opacity: 1;
}

.form-group:hover select {
    border-color: var(--primary-color);
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(47, 79, 79, 0.1);
}

/* Icons */
.garden-form label::before { content: "\f61f"; } /* Geometrische Form (Hexagon) */
.garden-size label::before { content: "\f547"; }
.garden-style label::before { content: "\f1fc"; }
.water-elements label::before { content: "\f773"; }
.kids-area label::before { content: "\f1ae"; }
.terrace label::before { content: "\f0ce"; } /* Ganz einfacher Stuhl */

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .form-group {
        padding: 0.6rem 1rem;
    }

    .form-group select {
        height: 2.5rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group label::before {
        font-size: 0.9rem;
    }
}

button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s;
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

button:hover {
    background-color: var(--primary-light);
}

button.loading {
    background-color: var(--primary-light);
    cursor: wait;
}

.button-text {
    display: inline-block;
}

.loading-text {
    display: inline-block;
    font-size: 0.9rem;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#result {
    margin-top: 2rem;
    text-align: center;
}

#gardenImage {
    margin-top: 1rem;
}

#gardenImage img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #2c3e50;
}

.contact-details {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.contact-details p {
    margin: 0.5rem 0;
    color: #2c3e50;
}

.contact-details p:first-child {
    margin-top: 1rem;
}

.bottom-contact {
    background-color: var(--light-bg);
    padding: 4rem 2rem;
    margin-top: 4rem;
    position: relative;
}

.bottom-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #2c3e50, transparent);
}

.bottom-contact .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-message {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 400;
}

.contact-highlight {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #2c3e50;
    margin: 2rem 0;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0.5rem 2rem;
}

.contact-highlight::before,
.contact-highlight::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 1px;
    background-color: var(--primary-color);
    top: 50%;
}

.contact-highlight::before {
    left: -20px;
}

.contact-highlight::after {
    right: -20px;
}

.contact-details {
    margin-top: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.contact-details p {
    margin: 0.7rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.contact-details p:hover {
    transform: translateY(-2px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-button {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-button:hover {
    color: #333;
}

.modal-text {
    margin-top: 1rem;
}

.modal-text h3 {
    color: #2c3e50;
    margin: 1.5rem 0 0.5rem 0;
}

.modal-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0 1rem;
    }

    #hero h1 {
        font-size: 2rem;
    }

    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-details {
        font-size: 1.1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .contact-message {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .contact-highlight {
        font-size: 1.4rem;
    }

    .contact-highlight::before,
    .contact-highlight::after {
        width: 20px;
    }

    .logo-container {
        align-items: center;
    }

    .logo {
        font-size: 1.8rem;
    }

    .slogan {
        font-size: 0.9rem;
    }

    .company-name {
        font-size: 2rem;
    }
} 