/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #095134;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #095134 0%, #0a5d3a 100%);
    z-index: -1;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInLeft 1s ease-out;
}

.logo {
    width: 45px;
    height: 45px;
    margin-bottom: 4px;
}

.brand-title {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    background: #095134;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #095134 0%, #0a5d3a 50%, #095134 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-title {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 40px;
}

.underline {
    position: relative;
    display: inline-block;
}

.underline::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #6c9483;
    animation: expandWidth 1.5s ease-out 1s both;
}

.btn-primary {
    background: #6c9483;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn-primary:hover {
    background: #5a8070;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 148, 131, 0.3);
}

.hero-image {
    animation: slideInRight 1s ease-out 0.5s both;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

/* About Section */
.about {
    background: #f8f9fa;
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: translateY(-10px);
}

.section-title {
    color: #095134;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    position: relative;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: white;
}

.products .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #095134;
    margin: 20px 20px 10px;
}

.product-description {
    color: #666;
    padding: 0 20px 20px;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    background: #095134;
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #095134 0%, #0a5d3a 100%);
    z-index: -1;
}

.stats .section-title {
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #6c9483;
    margin-bottom: 15px;
    animation: countUp 2s ease-out;
}

.stat-label {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
    background: #f8f9fa;
    padding: 100px 0;
}

.testimonials-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.testimonials-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonials-intro .section-title {
    margin-bottom: 20px;
}

.testimonials-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    color: #095134;
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: white;
    padding: 100px 0;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact .section-title {
    text-align: center;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #095134;
    color: white;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #095134;
    padding: 30px 0;
    text-align: center;
    color: white;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .about-content,
    .testimonials-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effect */
.hero {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

/* Hover Effects */
.product-card,
.testimonial-card,
.contact-item {
    cursor: pointer;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}
/* Detail-Seite (handelsbruecke.html): gleiche Zeilenhöhe &
   Absatzabstände wie im About-Block */
.details p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Detail-Seite: Abstand vor/nach den H4-Überschriften */
.details h4 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}