/* ==========================================================================
   1. LAYOUT-WRAPPER & NAVIGATION-ANCHORS
   ========================================================================== */
.index-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 30px auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

#kaeufer,
#verkaeufer,
#ueber_uns {
    scroll-margin-top: 80px;
}

/* ==========================================================================
   2. HERO PARALLAX (Vollflächig mit Bild & Overlay)
   ========================================================================== */
.hero-parallax {
    width: 100%;
    min-height: 420px;
    background-image: url('../images/winter-hero2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    position: relative;
}

.hero-parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 12px;
}

.hero-parallax-inner {
    position: relative;
    text-align: center;
    max-width: 900px;
    color: #fff;
}

.hero-parallax-inner h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-parallax-inner p {
    font-size: 22px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Parallax Buttons */
.hero-parallax .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-parallax .hero-btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 20px;
    text-decoration: none;
    transition: 0.25s ease;
}

.hero-parallax .hero-btn.primary {
    background: #fff;
    color: #1e3c72;
    font-weight: bold;
}

.hero-parallax .hero-btn.primary:hover {
    background: #e6e6e6;
}

.hero-parallax .hero-btn.secondary {
    border: 2px solid #fff;
    color: #fff;
}

.hero-parallax .hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   3. HERO SPLIT / SIDE-BY-SIDE (Bild links, Text rechts)
   ========================================================================== */
.hero-side {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: #f5f5f5;
    padding: 50px 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.hero-img {
    flex: 1;
    min-height: 300px;
    background-image: url('http://afterworkbiker.de/images/winter-hero2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #1e3c72;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.hero-side .hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-side .hero-btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.25s ease;
}

.hero-side .hero-btn.primary {
    background: #1e3c72;
    color: #fff;
    font-weight: bold;
}

.hero-side .hero-btn.primary:hover {
    background: #2a5298;
}

.hero-side .hero-btn.secondary {
    border: 2px solid #1e3c72;
    color: #1e3c72;
}

.hero-side .hero-btn.secondary:hover {
    background: rgba(30, 60, 114, 0.1);
}

/* ==========================================================================
   4. FLYER-BANNER & CALL-TO-ACTION (Glassmorphism)
   ========================================================================== */
.flyer-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 25px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 51, 102, 0.08);
}

.flyer-info {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #003366;
}

.flyer-info strong {
    display: block;
    font-size: 15px;
}

.flyer-info span {
    font-size: 13px;
    color: #4a5568;
}

.flyer-icon {
    stroke: #003366;
    flex-shrink: 0;
}

.flyer-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: linear-gradient(135deg, #4a5568, #2d3748);
    color: #fff !important;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.25);
    transition: all 0.25s ease;
}

.flyer-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5a657d, #374151);
    box-shadow: 0 6px 16px rgba(45, 55, 72, 0.35);
}

/* ==========================================================================
   5. INFO-BOXEN, GRIDS & HEADER
   ========================================================================== */
.info-header {
    text-align: center;
    margin: 40px 0;
}

.info-header h1 {
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 10px;
}

.info-header p {
    font-size: 18px;
    color: #333;
}

.info-box {
    background: rgb(255 255 255 / 80%);
    border-radius: 10px;
    margin-bottom: 30px;
    margin: 60px 0;
    padding: 20px;
}

.info-box h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 25px;
    color: #1e3c72;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.info-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    width: 320px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2a5298;
}

.info-item p {
    font-size: 14px;
    line-height: 1.5;
}

.info-contact {
    text-align: center;
    margin: 60px 0;
}

.info-contact h2 {
    font-size: 28px;
    color: #1e3c72;
}

/* Info-Banner */
.info-banner {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-banner h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #222;
}

.info-banner p {
    font-size: 20px;
    color: #333;
}

.banner-link {
    font-weight: bold;
    color: #1e3c72;
    text-decoration: none;
    transition: 0.2s ease;
}

.banner-link:hover {
    text-decoration: underline;
    color: #2a5298;
}

/* ==========================================================================
   6. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
    /* Hero Side */
    .hero-side {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-img {
        width: 100%;
        min-height: 220px;
    }

    .hero-side .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-side .hero-btn {
        width: 100%;
        text-align: center;
    }

    /* Hero Parallax */
    .hero-parallax {
        background-attachment: scroll;
        min-height: 350px;
        padding: 60px 20px;
    }

    .hero-parallax-inner h1 {
        font-size: 34px;
    }

    .hero-parallax-inner p {
        font-size: 18px;
    }

    .hero-parallax .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-parallax .hero-btn {
        width: 100%;
        text-align: center;
    }

    /* Info Banner */
    .info-banner h2 {
        font-size: 24px;
    }

    .info-banner p {
        font-size: 18px;
    }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
    .info-item {
        width: 100%;
    }

    .zeiten-table {
        width: 100%;
        font-size: 18px;
        border-collapse: collapse;
    }

    .zeiten-table tr {
        display: block;
        margin-bottom: 18px;
        padding-bottom: 10px;
        border-bottom: 1px solid #ddd;
    }

    .zeiten-table td {
        display: block;
        width: 100%;
        padding: 6px 0 !important;
    }

    .zeiten-table td strong {
        display: block;
        font-size: 18px;
        margin-bottom: 4px;
    }
}

/* Smartphone Portrait (<= 600px) */
@media (max-width: 600px) {
    .flyer-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .flyer-btn {
        width: 100%;
        justify-content: center;
    }
}
