/* GaLa-Bau QUNAJ - Stylesheet */
/* Naturnahe Farben: helles Grün, Wald- und Erdtöne */

:root {
    --green-dark: rgb(40, 80, 53);
    --green: rgb(55, 145, 57);
    --green-bright: rgb(56, 161, 57);
    --bg: #f7faf4;
    --surface: #ffffff;
    --surface-soft: #edf6e7;
    --surface-soft-2: #e5f0dd;
    --border: #dbe7d2;
    --text: #2f3a2e;
    --muted: #61715f;
    --shadow: 0 4px 20px -4px rgba(40, 80, 53, 0.16);
    --shadow-soft: 0 2px 12px -2px rgba(40, 80, 53, 0.08);
}

/* ========== RESET & BASICS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 250, 244, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.logo-icon {
    width: 14.5rem;
    height: 6.5rem;
    object-fit: scale-down;
    flex-shrink: 0;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text);
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--green);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text);
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-bottom: 1rem;
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    color: var(--text);
    padding: 0.75rem 0;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link-mobile:hover {
    color: var(--green);
}

/* Desktop view */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-mobile {
        display: none !important;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(55, 145, 57, 0.14) 0%, rgba(56, 161, 57, 0.08) 45%, rgba(247, 250, 244, 1) 100%),
                url('bilder/gallery-1.jpg') center/cover no-repeat;
    padding: 6rem 1rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--green-bright) 100%);
    color: #fff;
    border-color: var(--green);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px -4px rgba(40, 80, 53, 0.32);
}

.btn-secondary {
    background: var(--surface-soft);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--surface-soft-2);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: 5rem 0;
    background: var(--bg);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
}

.about-text {
    font-size: 1.125rem;
    color: var(--muted);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--surface-soft) 0%, var(--surface-soft-2) 100%);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    box-shadow: 0 4px 20px -4px rgba(40, 80, 53, 0.18);
    transform: translateY(-4px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--bg);
    margin-bottom: 1rem;
}

.feature-icon svg {
    color: var(--green);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: var(--muted);
}

@media (min-width: 768px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-card:hover {
    box-shadow: 0 4px 20px -4px rgba(40, 80, 53, 0.18);
    transform: translateY(-2px);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: rgba(55, 145, 57, 0.11);
    margin-bottom: 1rem;
}

.service-icon svg {
    color: var(--green);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-desc {
    color: var(--muted);
    font-size: 1rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== GALLERY SECTION ========== */
.gallery {
    padding: 5rem 0;
    background: var(--bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px -4px rgba(40, 80, 53, 0.18);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== CONTACT SECTION ========== */
.contact {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.info-icon {
    color: var(--green);
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--muted);
    font-size: 0.9375rem;
}

.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* Contact Form */
.contact-form-container {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-logo .logo-icon {
    color: var(--green);
}

.footer-text {
    color: var(--muted);
    font-size: 0.9375rem;
}

.footer-heading {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--muted);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.heart-icon {
    color: var(--green);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== UTILITIES ========== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* ========== LIGHTBOX (GALERIE) ========== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--green-bright);
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #a3d17d;
}

/* ========== MODALS (IMPRESSUM/DATENSCHUTZ) ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: 1rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: #000;
}



/* ========== SERVICE MODAL CONTENT ========== */
.service-modal-content {
    max-width: 600px;
    text-align: center;
    padding: 3rem;
}

.service-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(90, 143, 61, 0.14);
    margin-bottom: 1.5rem;
    color: #5a8f3d;
}