/* =========================================================
   KB MEDIA – CINEMATIC TIMELINE FINAL
========================================================= */

.kb-about-timeline{
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.kb-timeline{
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
}

/* zentrale Linie */
.kb-timeline::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(var(--kb-accent-rgb),0.25),
        rgba(var(--kb-accent-rgb),0.9),
        rgba(var(--kb-accent-rgb),0.25),
        transparent
    );
    box-shadow: 0 0 28px rgba(var(--kb-accent-rgb),0.35);
}

/* Timeline Item */
.kb-timeline-item{
    position: relative;
    width: 50%;
    padding: 55px 70px;
}

/* links */
.kb-timeline-item:nth-child(odd){
    left: 0;
    text-align: left;
}

/* rechts */
.kb-timeline-item:nth-child(even){
    left: 50%;
    text-align: left;
}

/* Dot auf Mittellinie */
.kb-timeline-item::before{
    content: "";
    position: absolute;
    top: 78px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--kb-accent);
    border: 3px solid #111219;
    box-shadow:
        0 0 0 8px rgba(var(--kb-accent-rgb),0.12),
        0 0 25px rgba(var(--kb-accent-rgb),0.75);
    z-index: 3;
}

.kb-timeline-item:nth-child(odd)::before{
    right: -9px;
}

.kb-timeline-item:nth-child(even)::before{
    left: -9px;
}

/* Verbindungslinie zur Card */
.kb-timeline-item::after{
    content: "";
    position: absolute;
    top: 86px;
    width: 55px;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(var(--kb-accent-rgb),0.8),
        rgba(var(--kb-accent-rgb),0.1)
    );
    box-shadow: 0 0 12px rgba(var(--kb-accent-rgb),0.35);
}

.kb-timeline-item:nth-child(odd)::after{
    right: 0;
}

.kb-timeline-item:nth-child(even)::after{
    left: 0;
}

/* Card */
.kb-timeline-content{
    position: relative;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.055),
        rgba(255,255,255,0.025)
    );
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 24px;
    padding: 34px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 22px 60px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* kleiner Accent-Strich in Card */
.kb-timeline-content::before{
    content: "";
    position: absolute;
    left: 22px;
    top: 30px;
    width: 2px;
    height: calc(100% - 60px);
    border-radius: 99px;
    background: var(--kb-accent);
    box-shadow: 0 0 16px rgba(var(--kb-accent-rgb),0.5);
}

.kb-timeline-content:hover{
    transform: translateY(-6px);
    border-color: rgba(var(--kb-accent-rgb),0.32);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.35),
        0 0 26px rgba(var(--kb-accent-rgb),0.16);
}

/* Text */
.kb-timeline-year{
    color: var(--kb-accent);
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-left: 28px;
}

.kb-timeline-content h3,
.kb-timeline-content .elementor-heading-title{
    color: #ffffff !important;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    margin: 0 0 14px 0;
    padding-left: 28px;
}

.kb-timeline-content p{
    color: rgba(255,255,255,0.76);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    padding-left: 28px;
}

/* Mobile */
@media (max-width: 900px){
    .kb-about-timeline{
        padding: 80px 0;
    }

    .kb-timeline::before{
        left: 22px;
    }

    .kb-timeline-item,
    .kb-timeline-item:nth-child(odd),
    .kb-timeline-item:nth-child(even){
        width: 100%;
        left: 0;
        padding: 34px 0 34px 58px;
    }

    .kb-timeline-item::before,
    .kb-timeline-item:nth-child(odd)::before,
    .kb-timeline-item:nth-child(even)::before{
        left: 13px;
        right: auto;
        top: 58px;
    }

    .kb-timeline-item::after,
    .kb-timeline-item:nth-child(odd)::after,
    .kb-timeline-item:nth-child(even)::after{
        left: 22px;
        right: auto;
        top: 66px;
        width: 36px;
    }
}
.kb-timeline-item::before{
    top: 78px !important;
    z-index: 5 !important;
}

.kb-timeline-item:nth-child(odd)::before{
    left: auto !important;
    right: -9px !important;
}

.kb-timeline-item:nth-child(even)::before{
    left: -9px !important;
    right: auto !important;
}
/* =========================================================
   KB MEDIA – ABOUT EQUIPMENT GRID
   Seite: Über Mich
   Section: kb-about-equipment
   Cards: kb-equipment-card
========================================================= */

.kb-about-equipment{
    position: relative;
    overflow: hidden;
    padding: 120px 120px 120px 120px;
    background:
        radial-gradient(circle at 20% 10%, rgba(0, 229, 255, 0.12), transparent 32%),
        radial-gradient(circle at 80% 75%, rgba(0, 229, 255, 0.08), transparent 36%),
        linear-gradient(180deg, #05070b 0%, #080b12 50%, #040507 100%);
}

/* leichter Cinematic Glow im Hintergrund */
.kb-about-equipment::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(0, 229, 255, 0.06) 50%,
            transparent 100%
        );
    opacity: 0.7;
    z-index: 0;
}

/* feine Filmkorn/Noise-Anmutung */
.kb-about-equipment::after{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.18;
    mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
    z-index: 0;
}

/* Elementor innerer Container */
.kb-about-equipment > .e-con-inner{
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
}

/* Wenn du einen extra Grid-Container nutzt */
.kb-equipment-grid{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
}

/* Falls die 9 Cards direkt in kb-about-equipment liegen */
.kb-about-equipment .kb-equipment-grid{
    position: relative;
    z-index: 2;
}

/* Einzelne Equipment Card */
.kb-equipment-card{
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 320px;
    border-radius: 28px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)),
        rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
        0 24px 70px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        transform 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        background 0.45s ease;
}

/* Glow hinter der Card */
.kb-equipment-card::before{
    content: "";
    position: absolute;
    inset: auto -20% -35% -20%;
    height: 55%;
    background:
        radial-gradient(circle, rgba(0,229,255,0.24), transparent 68%);
    opacity: 0;
    filter: blur(18px);
    transition: opacity 0.45s ease;
    z-index: -1;
}

/* Lichtkante oben */
.kb-equipment-card::after{
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0,229,255,0.7),
        rgba(255,255,255,0.45),
        rgba(0,229,255,0.7),
        transparent
    );
    opacity: 0.55;
}

/* Hover */
.kb-equipment-card:hover{
    transform: translateY(-8px);
    border-color: rgba(0,229,255,0.42);
    background:
        linear-gradient(180deg, rgba(0,229,255,0.09), rgba(255,255,255,0.035)),
        rgba(255,255,255,0.045);
    box-shadow:
        0 34px 90px rgba(0,0,0,0.58),
        0 0 42px rgba(0,229,255,0.14),
        inset 0 1px 0 rgba(255,255,255,0.12);
}

.kb-equipment-card:hover::before{
    opacity: 1;
}

/* Bild in der Card */
.kb-equipment-card img{
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    filter: saturate(0.88) contrast(1.08) brightness(0.88);
    transition:
        transform 0.55s ease,
        filter 0.55s ease;
}

/* Bild Hover */
.kb-equipment-card:hover img{
    transform: scale(1.045);
    filter: saturate(1.05) contrast(1.12) brightness(0.96);
}

/* Bild-Widget sauber halten */
.kb-equipment-card .elementor-widget-image{
    margin-bottom: 18px !important;
    overflow: hidden;
    border-radius: 22px;
}

/* Name / Kameraname */
.kb-equipment-card h3,
.kb-equipment-card .elementor-heading-title{
    color: #ffffff;
    font-size: clamp(18px, 1.4vw, 24px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

/* Kleiner Zusatztext optional */
.kb-equipment-card p{
    color: rgba(255,255,255,0.64);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 8px;
}

/* Optionaler Mini-Tag, falls du z.B. Kamera / Licht / Audio anzeigen willst */
.kb-equipment-card .kb-equipment-tag{
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #00e5ff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.22);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1024px){
    .kb-about-equipment{
        padding: 90px 20px;
    }

    .kb-equipment-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .kb-equipment-card{
        min-height: 300px;
    }

    .kb-equipment-card img{
        height: 220px;
    }
}

@media (max-width: 767px){
    .kb-about-equipment{
        padding: 70px 16px;
    }

    .kb-equipment-grid{
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .kb-equipment-card{
        border-radius: 24px;
        padding: 14px;
        min-height: auto;
    }

    .kb-equipment-card img{
        height: 240px;
        border-radius: 18px;
    }

    .kb-equipment-card .elementor-widget-image{
        border-radius: 18px;
        margin-bottom: 16px !important;
    }

    .kb-equipment-card h3,
    .kb-equipment-card .elementor-heading-title{
        font-size: 20px;
    }
}
/* =========================================================
   KB MEDIA – EQUIPMENT CARD IMAGE FIX
========================================================= */

.kb-equipment-card{
    padding: 22px !important;
}

/* Bildbereich bekommt mehr Luft */
.kb-equipment-card .kb-equipment-image,
.kb-equipment-card .elementor-widget-image{
    margin-bottom: 22px !important;
}

/* Bild selbst nicht mehr so stark abschneiden */
.kb-equipment-card img{
    width: 100% !important;
    height: auto !important;
    max-height: 320px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    border-radius: 18px !important;
}