:root {
    --green: #2E4A3F;
    --cream: #F4EDE4;
    --accent: #C47A5A;
    --text: #2B2B2B;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.6;
    font-size: 18px;
}

header {
    background: white;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ddd;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--green);
    font-weight: bold;
    font-size: 18px;
}

.hero {
    /*background: url('https://images.unsplash.com/photo-1509042239860-f550ce710b93?q=80&w=1600') center/cover no-repeat;*/
    background: url('waldcafe_hero.png') left center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px;
    position: relative;
}

.hero-buttons {
    text-align: center;
    padding: 30px 20px;
    background: var(--cream);
}

@media (max-width: 768px) {
    .hero-buttons {
        display: none;
    }
}

.hero h1 {
    font-size: 80px;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.4);
    position: relative;
    z-index: 2;
    margin-top: -90px;
    margin-bottom: 30px;
}

.opening-box {
    background: rgba(0,0,0,0.7);
    display: inline-block;
    padding: 22px 35px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 20px;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
}

.button {
    display: inline-block;
    padding: 14px 28px;
    margin: 10px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--green);
}

.grid {
    display: grid;
    gap: 40px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.highlight {
    background: var(--green);
    color: white;
    text-align: center;
}

.highlight h2 {
    color: white;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.carousel {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
}


.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

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

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Zeigt das ganze Bild ohne Beschnitt */
}

/* Indicators (dots) */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: white;
}

.footer {
    background: var(--green);
    color: white;
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
}

.mobile-bar {
    display: none;
}

@media (max-width: 768px) {
    .hero {
        background-image: url('waldcafe_hero_small.png');
        background-position: center;
        background-size: 100% auto;
        min-height: auto;
        aspect-ratio: 1273 / 345;
        padding: 0;
    }

    nav ul {
        display: none;
    }

    .hero h1 {
        font-size: 40px;
    }

    body {
        font-size: 20px;
    }

    .mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--accent);
        justify-content: space-around;
        padding: 15px 0;
    }

    .mobile-bar a {
        color: white;
        text-decoration: none;
        font-weight: bold;
        font-size: 18px;
    }

    body {
        padding-bottom: 70px;
    }
}
