/* radsportgeschaeft.css - Styles for the Radsportgeschäft page */

/* Page title */
.rsport-page-title {
    text-align: center;
    padding: 60px 20px 50px;
    background: #fff;
}
.rsport-page-title h1 {
    font-size: 3.8rem;
    color: #1a202c;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
}

/* 1. HERO: first image, text centred in middle */
.rsport-hero {
    position: relative;
    width: 100%;
    height: 540px;
    overflow: hidden;
}
.rsport-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.68);
}
.rsport-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
}
.rsport-hero-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

/* 2. DARK BLUE block: icon left, welcome text */
.radsport-intro {
    background: #fff;
    padding: clamp(40px, 8vw, 100px) 0;
}

.radsport-container {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(30px, 6vw, 80px);
    align-items: center;
}
.rsport-blue {
    background: #1B293E;
    padding: 60px 40px;
}
.rsport-blue-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}
.rsport-blue-icon {
    font-size: 3rem;
    color: rgba(255,255,255,0.55);
    flex-shrink: 0;
    padding-top: 4px;
}
.rsport-blue-text p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.85);
    margin-bottom: 14px;
    text-align: center;
}
.rsport-blue-text p:last-child { margin-bottom: 0; }

/* 3. SECOND image with more space above */
.rsport-img2-wrap { margin-top: 90px; }
.rsport-img2 {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    display: block;
}

/* 4. Plain text block (white bg, no icon) */
.rsport-text-plain {
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0 20px 70px;
    text-align: center;
}
.rsport-text-plain h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1B293E;
    margin-bottom: 20px;
}
.rsport-text-plain p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #475569;
    margin-bottom: 16px;
}
.rsport-text-plain a {
    color: #1B293E;
    font-weight: 600;
    text-decoration: underline;
}

/* 5. "Service und Marken" heading (40px above section) */
.rsport-service-heading {
    text-align: center;
    padding: 40px 20px 30px;
    background: #fff;
}
.rsport-service-heading h2 {
    font-size: 2rem;
    text-transform: uppercase;
    color: #1B293E;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

/* 6. Service cards with background image L1150560 */
.rsport-service-section {
    position: relative;
    padding: 60px 20px 80px;
}
.rsport-service-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/geschaeft/L1150560_Gross_edited.webp');
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    z-index: 0;
}
.rsport-service-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}
.rsport-service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.rsport-service-card {
    background: rgba(255,255,255,0.93);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}
.rsport-service-card i {
    font-size: 2.2rem;
    color: #1B293E;
    margin-bottom: 20px;
}
.rsport-service-card h5 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1B293E;
}
.rsport-service-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
}

/* 7. Brand carousel (tall) */
.rsport-brands {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 10px;
    background: #fff;
    text-align: center;
}
.rsport-brands h2 {
    font-size: 1.4rem;
    color: #1B293E;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.brand-carousel-outer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5px;
}
.brand-carousel-btn {
    background: #1B293E;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, opacity 0.2s;
    z-index: 10;
}
.brand-carousel-btn:hover { background: #2d4a72; }
.brand-carousel-btn:disabled { opacity: 0.3; cursor: default; }
.brand-carousel-window { 
    overflow: hidden; 
    flex: 1; 
    position: relative;
    cursor: grab;
}
.brand-carousel-window:active { cursor: grabbing; }
.brand-carousel-track {
    display: flex;
    align-items: center;
    gap: var(--carousel-gap, 60px);
    transition: transform 0.5s ease;
    will-change: transform;
}
.brand-logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--carousel-item-w, 260px);
    user-select: none;
}
.brand-logo-item img {
    max-height: 140px;
    max-width: 90%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s;
    pointer-events: none;
}
.brand-logo-item img:hover { filter: grayscale(0%); }

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

.rsport-hero-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.rsport-page-title h1 {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .rsport-hero {
        height: 350px;
    }
    .rsport-blue {
        padding: 40px 20px;
    }
    .rsport-blue-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .rsport-blue-icon {
        padding-top: 0;
        margin: 0 auto;
    }
    .brand-carousel-outer {
        gap: 10px;
    }
    .brand-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    .brand-logo-item img {
        max-height: 90px;
    }
}

.rsport-blue-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}
