/* Hero Slider (index.html) - Positioned at the bottom of the welcome page */
#hero-slider {
    max-width: var(--max-w);
    margin: 2.25rem auto 1rem auto;
    position: relative;
    overflow: hidden;
    background: #1A4D2B; /* Dark elegant background so full image is visible */
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-dark);
}

#hero-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Full image is entirely visible without any cropping */
    object-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

#hero-slider img.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.25rem;
    display: flex;
    gap: 0.6rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-dots button.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots button.dot.active {
    background: var(--accent);
    border-color: var(--accent);
    width: 28px;
    border-radius: 9999px;
    box-shadow: 0 0 10px rgba(217, 130, 43, 0.6);
}

/* Welcome Section - One Big Text Container Layout */
#willkommen {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    margin-bottom: 0;
}

.big-welcome-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.welcome-title-block {
    text-align: center;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 1.5rem;
    margin-bottom: 0.5rem;
}

.welcome-title-block h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.intro-highlight {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.6;
    margin: 0 auto;
    padding: 1.1rem 1.35rem;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    border-left: 5px solid var(--accent);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.big-welcome-container p {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.75;
    margin: 0;
}

@media (min-width: 768px) {
    #hero-slider {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 600px) {
    #hero-slider {
        aspect-ratio: 4 / 3;
        border-radius: var(--radius-md);
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .big-welcome-container {
        padding: 1.5rem 1.25rem;
        gap: 1.25rem;
    }

    .intro-highlight {
        font-size: 1rem;
        padding: 0.9rem 1rem;
    }
}
