/* Badisches Apfelwasser - Stylesheet */

:root {
    --badisch-gelb: #FFED00;
    --dunkel-gelb: #F4D700;
    --badisch-rot: #ED1C24;
    --text-dunkel: #2c2c2c;
    --text-hell: #ffffff;
    --gruen-akzent: #4a7c2e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dunkel);
    background-color: #f9f9f9;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: #000;
}

/* Header inside Hero */
.hero header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(253, 218, 36, 0.95), rgba(253, 218, 36, 0.7));
    padding: 2rem 0;
    text-align: center;
    z-index: 10;
}

.hero header h1 {
    font-size: 3rem;
    color: var(--text-dunkel);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.hero header .tagline {
    font-size: 1.3rem;
    color: var(--text-dunkel);
    font-style: italic;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(253, 218, 36, 0.95), rgba(253, 218, 36, 0.7));
    padding: 2rem 0;
}

.hero-overlay h2 {
    font-size: 2rem;
    color: var(--text-dunkel);
    text-align: center;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

/* Main Content */
main {
    padding: 3rem 0;
}

.intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--badisch-rot);
}

.intro h2 {
    font-size: 1.8rem;
    color: var(--gruen-akzent);
    margin-bottom: 1rem;
}

.intro .welcome {
    font-size: 1.2rem;
    color: var(--text-dunkel);
}

.content {
    margin-bottom: 3rem;
}

.content-box {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    padding: 2.45rem  2.5rem  2.5rem  2.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--badisch-rot);
}

.content-box .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-dunkel);
    text-align: center !important;
}

.quality-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.badge {
    background: linear-gradient(135deg, var(--badisch-gelb) 0%, var(--dunkel-gelb) 100%);
    color: var(--text-dunkel);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tradition {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    text-align: center;
}

.tradition p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.tradition strong {
    color: var(--gruen-akzent);
}

.image-gallery {
    margin: 3rem 0;
    text-align: center;
}

.gallery-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
.contact {
    text-align: center;
    background: linear-gradient(135deg, var(--badisch-gelb) 0%, var(--dunkel-gelb) 100%);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--badisch-rot);
}

.contact h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dunkel);
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dunkel);
}

.email-link {
    display: inline-block;
    font-size: 1.4rem;
    color: var(--text-dunkel);
    text-decoration: none;
    padding: 1rem 2rem;
    background-color: white;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.email-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
}

/* Footer */
footer {
    background-color: var(--text-dunkel);
    color: var(--text-hell);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.impressum h4 {
    color: var(--badisch-gelb);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.impressum p {
    line-height: 1.8;
}

.impressum a {
    color: var(--badisch-gelb);
    text-decoration: none;
}

.impressum a:hover {
    text-decoration: underline;
}

.footer-note {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-note a {
    color: var(--badisch-gelb);
    text-decoration: none;
}

.footer-note a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero header h1 {
        font-size: 2rem;
    }

    .hero header .tagline {
        font-size: 1rem;
    }

    .hero {
        height: 500px;
    }

    .hero-overlay h2 {
        font-size: 1.3rem;
    }

    .quality-badges {
        flex-direction: column;
        align-items: center;
    }

    .badge {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

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

    .footer-note {
        text-align: left;
    }

    .content-box {
        padding: 1.5rem;
    }

    .content-box .lead {
        font-size: 1rem;
    }
    
    .tradition p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .hero-overlay h2 {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .contact h3 {
        font-size: 1.5rem;
    }

    .email-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
}
