/* BSG GmbH Custom Styles */

/* ============== CUSTOM FONTS ============== */
@font-face {
    font-family: 'HWT Artz';
    src: url('../font/Hamilton Wood Type Collection - HWTArtz.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Display Font Class - für markante Überschriften */
.font-display {
    font-family: 'HWT Artz', 'Impact', 'Arial Black', sans-serif;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Section Titles mit Display Font */
.section-title-display {
    font-family: 'HWT Artz', 'Impact', 'Arial Black', sans-serif;
    font-weight: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 2.5rem;
    line-height: 1.1;
}

/* CTA Section mit Display Font */
.cta-title-display {
    font-family: 'HWT Artz', 'Impact', 'Arial Black', sans-serif;
    font-weight: normal;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
}

/* ============== VARIABLES ============== */
:root {
    --bsg-red: #E63946;
    --bsg-red-dark: #c52f3c;
    --bsg-green: #52B788;
    --bsg-green-dark: #40916c;
    --bsg-purple: #7B2CBF;
    --bsg-purple-dark: #5a189a;
    --bsg-dark: #1d3557;
    --bsg-light: #f8f9fa;
    --bsg-gray: #6c757d;
}

/* ============== BULMA OVERRIDES ============== */
.is-purple {
    background-color: var(--bsg-purple) !important;
    color: white !important;
}

.has-text-purple {
    color: var(--bsg-purple) !important;
}

.is-bsg-red {
    background-color: var(--bsg-red) !important;
}

.is-bsg-green {
    background-color: var(--bsg-green) !important;
}

/* ============== UNIFIED NAVBAR WRAPPER ============== */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ambient glow effect behind navbar */
.navbar-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    right: -10%;
    height: 200%;
    background: radial-gradient(ellipse at 20% 50%, rgba(230, 57, 70, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(82, 183, 136, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(123, 44, 191, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.navbar-wrapper:hover::before {
    opacity: 1;
}

/* ============== TOP BAR ============== */
.top-bar {
    background: var(--bsg-dark);
    padding: 0.6rem 0;
    position: relative;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-divisions {
    display: flex;
    gap: 0.25rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

/* Glow effect on hover */
.top-bar-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    opacity: 0;
}

.top-bar-item.secure::before {
    background: radial-gradient(circle, var(--bsg-red) 0%, transparent 70%);
}

.top-bar-item.facility::before {
    background: radial-gradient(circle, var(--bsg-green) 0%, transparent 70%);
}

.top-bar-item.stage::before {
    background: radial-gradient(circle, var(--bsg-purple) 0%, transparent 70%);
}

.top-bar-item:hover::before {
    width: 200px;
    height: 200px;
    opacity: 0.3;
}

.top-bar-item:hover {
    transform: translateY(-3px) scale(1.02);
    color: white;
}

.top-bar-item.secure:hover {
    border-color: var(--bsg-red);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4), 0 0 20px rgba(230, 57, 70, 0.2);
}

.top-bar-item.facility:hover {
    border-color: var(--bsg-green);
    box-shadow: 0 8px 25px rgba(82, 183, 136, 0.4), 0 0 20px rgba(82, 183, 136, 0.2);
}

.top-bar-item.stage:hover {
    border-color: var(--bsg-purple);
    box-shadow: 0 8px 25px rgba(123, 44, 191, 0.4), 0 0 20px rgba(123, 44, 191, 0.2);
}

.top-bar-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.top-bar-item:hover .top-bar-logo {
    transform: scale(1.2) rotate(-8deg);
    filter: brightness(1.3) drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.top-bar-contact {
    display: flex;
    gap: 0.5rem;
}

.top-bar-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.top-bar-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bsg-red);
    transition: width 0.3s ease;
}

.top-bar-link:hover::before {
    width: 100%;
}

.top-bar-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.top-bar-link i {
    margin-right: 0.4rem;
    transition: all 0.3s ease;
}

.top-bar-link:hover i {
    transform: scale(1.2);
    color: var(--bsg-red);
}

/* ============== NAVIGATION ============== */
.main-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-wrapper.scrolled .main-navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.navbar-brand .navbar-item img {
    max-height: 2.5rem;
}

.navbar-brand-text {
    font-size: 1.4rem;
    color: var(--bsg-dark) !important;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0 !important;
}

.navbar-brand-text:hover {
    transform: scale(1.03);
}

.navbar-brand-text strong {
    font-weight: 800;
    background: linear-gradient(135deg, #ff4d5a 0%, #d62432 50%, #a01c28 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Subtle pulse animation on brand */
@keyframes subtlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.navbar-brand-text:hover strong {
    animation: subtlePulse 2s ease infinite;
}

/* Navbar Items Styling */
.navbar-menu .navbar-item {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 0.1rem;
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

/* Clean underline */
.navbar-menu .navbar-item::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--bsg-red);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.navbar-menu .navbar-item:hover::after {
    width: 50%;
}

.navbar-menu .navbar-item.is-active::after {
    width: 60%;
    height: 3px;
}

.navbar-menu .navbar-item:hover {
    background: rgba(230, 57, 70, 0.06);
    color: var(--bsg-red) !important;
    transform: translateY(-2px);
}

.navbar-item.is-active,
.navbar-link.is-active {
    color: var(--bsg-red) !important;
    font-weight: 600;
}

.navbar-menu .navbar-item.is-active {
    background: rgba(230, 57, 70, 0.08);
}

/* Phone button animation */
.navbar-end .button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navbar-end .button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.navbar-end .button:hover::before {
    width: 300px;
    height: 300px;
}

.navbar-end .button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
}

/* Burger menu animation */
.navbar-burger {
    transition: all 0.3s ease;
}

.navbar-burger:hover {
    background: rgba(230, 57, 70, 0.1);
}

.navbar-burger span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--bsg-dark) !important;
    height: 2px !important;
    width: 20px !important;
    left: calc(50% - 10px) !important;
}

.navbar-burger:hover span {
    background-color: var(--bsg-red) !important;
}

.navbar-burger:hover span:nth-child(1) {
    transform: translateY(-2px) scaleX(1.1);
}

.navbar-burger:hover span:nth-child(3) {
    transform: translateY(2px) scaleX(1.1);
}

.navbar-burger.is-active span {
    background-color: var(--bsg-red) !important;
}

.navbar-burger.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Main content offset for fixed navbars */
.main-content {
    margin-top: 100px; /* navbar-wrapper height */
}

.flash-section {
    padding: 1rem;
    margin-top: 100px;
}

/* Scroll state - hide top bar smoothly */
.navbar-wrapper.hide-top .top-bar {
    margin-top: -48px;
}

.navbar-wrapper .top-bar {
    transition: margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile: no top-bar, so less offset */
@media screen and (max-width: 1023px) {
    .navbar-wrapper {
        position: fixed;
        top: 0;
    }

    .top-bar {
        display: none;
    }

    .main-content {
        margin-top: 52px;
    }

    .flash-section {
        margin-top: 52px;
    }

    .navbar-menu {
        background: white;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 16px 16px;
    }

    .navbar-menu .navbar-item {
        padding: 0.75rem 1.5rem;
    }

    .navbar-menu .navbar-item::after {
        display: none;
    }

    .navbar-menu .navbar-item:hover {
        transform: none;
        padding-left: 2rem;
    }
}

/* ============== HERO SECTION ============== */
.hero-bsg {
    background: url('/static/images/banner.png') center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* Dark base overlay with vignette */
.hero-bsg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%),
        linear-gradient(180deg, rgba(29, 53, 87, 0.8) 0%, rgba(29, 53, 87, 0.6) 100%);
    z-index: 1;
}

/* Epic animated grid overlay */
.hero-bsg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Main grid lines */
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        /* Glowing intersections */
        radial-gradient(circle, rgba(214, 36, 50, 0.4) 1px, transparent 1px),
        /* Accent grid */
        linear-gradient(rgba(214, 36, 50, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214, 36, 50, 0.15) 1px, transparent 1px);
    background-size:
        60px 60px,
        60px 60px,
        60px 60px,
        180px 180px,
        180px 180px;
    background-position:
        0 0,
        0 0,
        30px 30px,
        0 0,
        0 0;
    z-index: 1;
    pointer-events: none;
    animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
    0% { background-position: 0 0, 0 0, 30px 30px, 0 0, 0 0; }
    100% { background-position: 60px 60px, 60px 60px, 90px 90px, 180px 180px, 180px 180px; }
}

/* Glowing orbs layer */
.hero-bsg .hero-body::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(214, 36, 50, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: orbFloat1 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-bsg .hero-body::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(17, 160, 154, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: orbFloat2 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(30px, -20px) scale(1.1); opacity: 1; }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(-20px, 15px) scale(1.15); opacity: 0.8; }
}

.hero-bsg .hero-body {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hero Content Layout */
.hero-content {
    max-width: 800px;
}

/* Tagline */
.hero-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeSlideUp 0.6s ease-out;
}

/* Main Title */
.hero-title {
    font-family: 'HWT Artz', 'Impact', 'Arial Black', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: normal;
    color: white;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
    animation: fadeSlideUp 0.6s ease-out 0.1s backwards;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title-accent {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4d5a 50%, #d62432 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Description */
.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeSlideUp 0.6s ease-out 0.2s backwards;
}

.hero-description strong {
    color: white;
    font-weight: 600;
}

/* Stats Row */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    animation: fadeSlideUp 0.6s ease-out 0.3s backwards;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.6s ease-out 0.4s backwards;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #ff4d5a 0%, #d62432 100%) !important;
    border: none !important;
    box-shadow: 0 4px 25px rgba(214, 36, 50, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 1.25rem 2rem !important;
    font-weight: 600 !important;
}

.hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(214, 36, 50, 0.5);
}

.hero-btn-primary .icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.hero-btn-primary:hover .icon {
    transform: translateX(4px);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 1.25rem 2rem !important;
    font-weight: 600 !important;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Hero */
@media screen and (max-width: 768px) {
    .hero-content {
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-stat {
        text-align: center;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Responsive hero */
@media screen and (max-width: 768px) {
    .hero-bsg {
        min-height: 60vh;
        background-attachment: scroll;
    }
}

/* ============== DIVISION VIDEO CARDS ============== */
.divisions-video-section {
    background: linear-gradient(180deg, var(--bsg-light) 0%, #ffffff 100%);
    padding: 5rem 0;
}

.divisions-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.division-video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.division-video-card:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 10;
}

/* Video Wrapper */
.division-video-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 20px;
}

.division-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.division-video-card:hover video {
    transform: scale(1.1);
}

/* Dark Overlay */
.division-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    transition: all 0.5s ease;
}

.division-video-card:hover .division-video-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Colored Glow Effect */
.division-video-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.division-video-card.secure .division-video-glow {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.3) 0%, transparent 60%);
    box-shadow: inset 0 0 60px rgba(230, 57, 70, 0.2);
}

.division-video-card.facility .division-video-glow {
    background: linear-gradient(135deg, rgba(82, 183, 136, 0.3) 0%, transparent 60%);
    box-shadow: inset 0 0 60px rgba(82, 183, 136, 0.2);
}

.division-video-card.stage .division-video-glow {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.3) 0%, transparent 60%);
    box-shadow: inset 0 0 60px rgba(123, 44, 191, 0.2);
}

.division-video-card:hover .division-video-glow {
    opacity: 1;
}

/* Border Glow on Hover */
.division-video-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 3px;
    background: transparent;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 5;
}

.division-video-card.secure::before {
    background: linear-gradient(135deg, var(--bsg-red), rgba(230, 57, 70, 0.3));
}

.division-video-card.facility::before {
    background: linear-gradient(135deg, var(--bsg-green), rgba(82, 183, 136, 0.3));
}

.division-video-card.stage::before {
    background: linear-gradient(135deg, var(--bsg-purple), rgba(123, 44, 191, 0.3));
}

.division-video-card:hover::before {
    opacity: 1;
}

/* Box Shadow on Hover */
.division-video-card.secure:hover {
    box-shadow: 0 25px 60px rgba(230, 57, 70, 0.4), 0 0 40px rgba(230, 57, 70, 0.2);
}

.division-video-card.facility:hover {
    box-shadow: 0 25px 60px rgba(82, 183, 136, 0.4), 0 0 40px rgba(82, 183, 136, 0.2);
}

.division-video-card.stage:hover {
    box-shadow: 0 25px 60px rgba(123, 44, 191, 0.4), 0 0 40px rgba(123, 44, 191, 0.2);
}

/* Content Overlay */
.division-video-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Logo */
.division-video-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
}

.division-video-card:hover .division-video-logo {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.5));
}

/* Title */
.division-video-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.division-video-card:hover .division-video-title {
    transform: translateX(5px);
}

/* Subtitle */
.division-video-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.4s ease;
}

.division-video-card:hover .division-video-subtitle {
    color: white;
    transform: translateX(5px);
}

/* Arrow */
.division-video-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-10px);
}

.division-video-card:hover .division-video-arrow {
    opacity: 1;
    transform: translateX(0);
}

.division-video-card.secure:hover .division-video-arrow {
    background: var(--bsg-red);
    border-color: var(--bsg-red);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.5);
}

.division-video-card.facility:hover .division-video-arrow {
    background: var(--bsg-green);
    border-color: var(--bsg-green);
    box-shadow: 0 8px 25px rgba(82, 183, 136, 0.5);
}

.division-video-card.stage:hover .division-video-arrow {
    background: var(--bsg-purple);
    border-color: var(--bsg-purple);
    box-shadow: 0 8px 25px rgba(123, 44, 191, 0.5);
}

.division-video-card:hover .division-video-arrow i {
    animation: arrowBounce 0.6s ease infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* Responsive Video Grid */
@media screen and (max-width: 1023px) {
    .divisions-video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .division-video-card {
        aspect-ratio: 16 / 9;
    }
}

@media screen and (max-width: 768px) {
    .divisions-video-section {
        padding: 3rem 0;
    }

    .division-video-content {
        padding: 1.5rem;
    }

    .division-video-title {
        font-size: 1.25rem;
    }

    .division-video-logo {
        width: 45px;
        height: 45px;
    }

    .division-video-arrow {
        width: 38px;
        height: 38px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ============== TEAM SHOWCASE SECTION ============== */
.team-showcase-section {
    padding: 5rem 0;
    background: white;
}

.team-showcase {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.team-showcase-image {
    position: relative;
}

.team-showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.team-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-showcase:hover .team-video-wrapper video {
    transform: scale(1.03);
}

.team-showcase:hover .team-showcase-image img {
    transform: scale(1.03);
}

.team-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        270deg,
        rgba(29, 53, 87, 0.95) 0%,
        rgba(29, 53, 87, 0.7) 40%,
        transparent 70%
    );
    transition: all 0.5s ease;
}

.team-showcase:hover .team-showcase-overlay {
    background: linear-gradient(
        270deg,
        rgba(29, 53, 87, 0.9) 0%,
        rgba(29, 53, 87, 0.6) 40%,
        transparent 70%
    );
}

.team-showcase-content {
    position: absolute;
    top: 50%;
    right: 0;
    left: auto;
    transform: translateY(-50%);
    padding: 3rem 4rem;
    max-width: 500px;
    color: white;
    text-align: right;
}

.team-showcase-content .title {
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.team-showcase-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.team-showcase-content .button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-showcase-content .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

/* Responsive Team Showcase */
@media screen and (max-width: 1023px) {
    .team-showcase-overlay {
        background: linear-gradient(
            180deg,
            transparent 0%,
            rgba(29, 53, 87, 0.7) 50%,
            rgba(29, 53, 87, 0.95) 100%
        );
    }

    .team-showcase:hover .team-showcase-overlay {
        background: linear-gradient(
            180deg,
            transparent 0%,
            rgba(29, 53, 87, 0.6) 50%,
            rgba(29, 53, 87, 0.9) 100%
        );
    }

    .team-showcase-content {
        position: relative;
        top: auto;
        transform: none;
        padding: 2rem;
        max-width: 100%;
        background: var(--bsg-dark);
    }
}

@media screen and (max-width: 768px) {
    .team-showcase-section {
        padding: 3rem 0;
    }

    .team-showcase-content {
        padding: 1.5rem;
        text-align: center;
    }

    .team-showcase-content .title {
        font-size: 1.5rem;
    }

    .team-showcase-content p {
        font-size: 1rem;
    }
}

/* ============== DIVISION CARDS (Legacy) ============== */
.division-card {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.division-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.division-card.secure {
    border-top: 4px solid var(--bsg-red);
}

.division-card.facility {
    border-top: 4px solid var(--bsg-green);
}

.division-card.stage {
    border-top: 4px solid var(--bsg-purple);
}

.division-card .card-header {
    background: transparent;
    border-bottom: none;
}

.division-card.secure .card-header-title {
    color: var(--bsg-red);
}

.division-card.facility .card-header-title {
    color: var(--bsg-green);
}

.division-card.stage .card-header-title {
    color: var(--bsg-purple);
}

/* ============== SERVICE TABS ============== */
.tabs.is-division li.secure.is-active a {
    border-bottom-color: var(--bsg-red);
    color: var(--bsg-red);
}

.tabs.is-division li.facility.is-active a {
    border-bottom-color: var(--bsg-green);
    color: var(--bsg-green);
}

.tabs.is-division li.stage.is-active a {
    border-bottom-color: var(--bsg-purple);
    color: var(--bsg-purple);
}

/* Tab Logo */
.tabs.is-division .tab-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 0.5rem;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.tabs.is-division li:hover .tab-logo {
    transform: scale(1.1);
}

.tabs.is-division li a {
    display: flex;
    align-items: center;
}

/* Tab Content */
.tab-content .tab-pane {
    display: none;
}

.tab-content .tab-pane.is-active {
    display: block;
}

/* ============== TEAM PAGE ============== */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Division Buttons */
.team-divisions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.team-division-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border: 3px solid;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.team-division-btn:hover {
    transform: translateY(-3px);
}

.team-division-btn .icon {
    transition: transform 0.3s ease;
}

.team-division-btn.is-active .icon {
    transform: rotate(180deg);
}

/* Secure Button */
.team-division-btn.secure {
    border-color: var(--bsg-red);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, white 100%);
}

.team-division-btn.secure:hover {
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.2);
}

.team-division-btn.secure h3 {
    color: var(--bsg-red);
}

.team-division-btn.secure .icon {
    color: var(--bsg-red);
}

/* Facility Button */
.team-division-btn.facility {
    border-color: var(--bsg-green);
    background: linear-gradient(135deg, rgba(82, 183, 136, 0.08) 0%, white 100%);
}

.team-division-btn.facility:hover {
    box-shadow: 0 8px 25px rgba(82, 183, 136, 0.2);
}

.team-division-btn.facility h3 {
    color: var(--bsg-green);
}

.team-division-btn.facility .icon {
    color: var(--bsg-green);
}

/* Stage Button */
.team-division-btn.stage {
    border-color: var(--bsg-purple);
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.08) 0%, white 100%);
}

.team-division-btn.stage:hover {
    box-shadow: 0 8px 25px rgba(123, 44, 191, 0.2);
}

.team-division-btn.stage h3 {
    color: var(--bsg-purple);
}

.team-division-btn.stage .icon {
    color: var(--bsg-purple);
}

/* Management Button (volle Breite) */
.team-division-btn.management {
    width: 100%;
    border-color: var(--bsg-dark);
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.08) 0%, white 100%);
    margin-bottom: 1.5rem;
}

.team-division-btn.management:hover {
    box-shadow: 0 8px 25px rgba(29, 53, 87, 0.2);
}

.team-division-btn.management h3 {
    color: var(--bsg-dark);
    text-align: center;
}

.team-division-btn.management .icon {
    color: var(--bsg-dark);
}

.team-division-btn.management .management-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--bsg-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.team-division-btn img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.team-division-btn h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    flex: 1;
    text-align: left;
}

/* Division Content */
.team-division-content {
    display: none;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.team-division-content.is-active {
    display: block;
    animation: slideDown 0.3s ease;
}

/* Team Member Cards */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.team-member-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.team-member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.team-member-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #999;
    font-size: 2.5rem;
}

.team-member-card h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bsg-dark);
}

.team-member-position {
    color: var(--bsg-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.team-member-department {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: #f0f0f0;
    color: var(--bsg-gray);
}

.team-member-email {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--bsg-red);
}

.team-member-email:hover {
    text-decoration: underline;
}

/* Team Member Description */
.team-member-description {
    margin-top: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--bsg-gray);
    line-height: 1.5;
    text-align: left;
    border-left: 3px solid var(--bsg-red);
}

/* Responsive Team */
@media screen and (max-width: 768px) {
    .team-divisions {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-division-btn {
        padding: 1rem 1.25rem;
    }

    .team-division-btn img {
        width: 40px;
        height: 40px;
    }

    .team-division-btn h3 {
        font-size: 1rem;
    }

    .team-management-btn {
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .team-members-grid {
        grid-template-columns: 1fr;
    }

    .team-member-description {
        font-size: 0.8rem;
        padding: 0.6rem;
    }
}

/* Visitenkarten Button */
.vcard-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--bsg-dark) 0%, #2d4a6f 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vcard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 53, 87, 0.3);
}

.vcard-btn i {
    font-size: 0.9rem;
}

/* ============== 3D VISITENKARTE MODAL ============== */
.vcard-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.vcard-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.vcard-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.vcard-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.vcard-close {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcard-close:hover {
    background: var(--bsg-red);
    border-color: var(--bsg-red);
    transform: rotate(90deg);
}

/* 3D Scene */
.vcard-scene {
    -webkit-perspective: 1500px;
    perspective: 1500px;
    perspective-origin: center;
}

.vcard-card {
    width: 400px;
    height: 300px;
    position: relative;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transform-origin: center center;
    transition: transform 0.6s ease-in-out;
}

.vcard-card.entrance {
    animation: vcardEntrance 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes vcardEntrance {
    0% {
        transform: rotateY(-90deg) rotateX(20deg) translateZ(-200px) translateY(50px);
        opacity: 0;
    }
    100% {
        transform: rotateY(0deg) rotateX(8deg) translateZ(0) translateY(0);
        opacity: 1;
    }
}

/* Schwebende 3D Animation */
.vcard-card.floating {
    animation: vcardFloat 4s ease-in-out infinite;
}

.vcard-card.floating.is-flipped {
    animation: vcardFloatFlipped 4s ease-in-out infinite;
}

@keyframes vcardFloat {
    0%, 100% {
        transform: rotateY(-2deg) rotateX(8deg) translateY(0px) translateZ(20px);
    }
    25% {
        transform: rotateY(2deg) rotateX(5deg) translateY(-10px) translateZ(30px);
    }
    50% {
        transform: rotateY(-1deg) rotateX(10deg) translateY(-5px) translateZ(25px);
    }
    75% {
        transform: rotateY(3deg) rotateX(6deg) translateY(-12px) translateZ(35px);
    }
}

@keyframes vcardFloatFlipped {
    0%, 100% {
        transform: rotateY(178deg) rotateX(8deg) translateY(0px) translateZ(20px);
    }
    25% {
        transform: rotateY(182deg) rotateX(5deg) translateY(-10px) translateZ(30px);
    }
    50% {
        transform: rotateY(179deg) rotateX(10deg) translateY(-5px) translateZ(25px);
    }
    75% {
        transform: rotateY(183deg) rotateX(6deg) translateY(-12px) translateZ(35px);
    }
}

/* Flip-Animationen */
.vcard-card.flipping {
    animation: flipToBack 0.6s ease-in-out forwards !important;
}

.vcard-card.flipping-back {
    animation: flipToFront 0.6s ease-in-out forwards !important;
}

@keyframes flipToBack {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(180deg); }
}

@keyframes flipToFront {
    0% { transform: rotateY(180deg); }
    100% { transform: rotateY(0deg); }
}

/* Geflippter Zustand (für floating nach flip) */
.vcard-card.floating.is-flipped {
    animation: vcardFloatFlipped 4s ease-in-out infinite;
}

/* Hover pausiert die Animation für bessere Kontrolle */
.vcard-card.floating:hover {
    animation-play-state: paused;
    transform: rotateY(-5deg) rotateX(12deg) translateY(-15px) translateZ(50px) scale(1.05);
}

.vcard-card.floating.is-flipped:hover {
    animation-play-state: paused;
    transform: rotateY(175deg) rotateX(12deg) translateY(-15px) translateZ(50px) scale(1.05);
}

/* Card Faces */
.vcard-face {
    position: absolute;
    inset: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 80px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

/* Dynamischer Schatten beim Schweben */
.vcard-card.floating .vcard-face {
    animation: vcardShadow 4s ease-in-out infinite;
}

@keyframes vcardShadow {
    0%, 100% {
        box-shadow:
            0 30px 60px rgba(0, 0, 0, 0.4),
            0 15px 30px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    }
    25%, 75% {
        box-shadow:
            0 40px 80px rgba(0, 0, 0, 0.5),
            0 20px 40px rgba(0, 0, 0, 0.35),
            0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    }
    50% {
        box-shadow:
            0 35px 70px rgba(0, 0, 0, 0.45),
            0 18px 35px rgba(0, 0, 0, 0.32),
            0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    }
}

/* Front Face */
.vcard-front {
    background: linear-gradient(135deg, #1d3557 0%, #2d4a6f 50%, #1d3557 100%);
    /* Safari fix: explicit transform for front face */
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.vcard-front.division-secure {
    background: linear-gradient(135deg, #c0392b 0%, var(--bsg-red) 50%, #c0392b 100%);
}

.vcard-front.division-facility {
    background: linear-gradient(135deg, #27ae60 0%, var(--bsg-green) 50%, #27ae60 100%);
}

.vcard-front.division-stage {
    background: linear-gradient(135deg, #6c3483 0%, var(--bsg-purple) 50%, #6c3483 100%);
}

.vcard-front.division-general {
    background: linear-gradient(135deg, #1d3557 0%, #2d4a6f 50%, #1d3557 100%);
}

.vcard-front-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
}

/* Animierter Glanzeffekt */
.vcard-front::before,
.vcard-back::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.1) 35%,
        rgba(255, 255, 255, 0.25) 40%,
        rgba(255, 255, 255, 0.1) 45%,
        transparent 60%
    );
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vcard-card.floating .vcard-front::before,
.vcard-card.floating .vcard-back::before {
    animation: vcardShine 4s ease-in-out infinite;
}

@keyframes vcardShine {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

.vcard-front-content {
    position: relative;
    z-index: 20;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: white;
    text-align: center;
}

.vcard-photo-container {
    position: relative;
    margin-bottom: 1rem;
}

.vcard-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.vcard-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vcard-photo-ring {
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: vcardRing 3s ease-in-out infinite;
}

@keyframes vcardRing {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.vcard-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.vcard-position {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0 0 0.75rem 0;
}

.vcard-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    margin-bottom: 0.75rem;
}

.vcard-department {
    font-size: 0.8rem;
    padding: 0.25rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

/* Kontaktdaten auf Vorderseite */
.vcard-front-contact {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    max-width: 280px;
    position: relative;
    z-index: 50;
}

.vcard-front-contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.vcard-front-contact-row:hover {
    background: rgba(255, 255, 255, 0.2);
}

.vcard-front-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    flex: 1;
    min-width: 0;
    transition: color 0.3s ease;
}

.vcard-front-action:hover {
    color: rgba(255, 255, 255, 0.8);
}

.vcard-front-action i {
    flex-shrink: 0;
    width: 16px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.vcard-front-action span {
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vcard-copy-btn {
    flex-shrink: 0;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
    min-width: 32px;
    min-height: 28px;
}

.vcard-copy-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.vcard-copy-btn.copied {
    background: #28a745;
    border-color: #28a745;
}

.vcard-copy-btn i {
    font-size: 0.65rem;
}

.vcard-logo-watermark {
    position: absolute;
    bottom: 15px;
    right: 15px;
    opacity: 0.3;
}

.vcard-logo-watermark img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.vcard-flip-hint {
    position: absolute;
    bottom: 12px;
    left: 15px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.vcard-flip-hint i {
    animation: vcardHintSpin 2s ease-in-out infinite;
}

@keyframes vcardHintSpin {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* Back Face */
.vcard-back {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /* Safari fix: explicit webkit transform */
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.vcard-back-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 100%, rgba(29, 53, 87, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(230, 57, 70, 0.05) 0%, transparent 50%);
}

.vcard-back-content {
    position: relative;
    z-index: 20;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.vcard-company {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.vcard-company-logo {
    height: 30px;
    width: auto;
}

.vcard-company span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bsg-dark);
}

.vcard-contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.vcard-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--bsg-dark);
}

.vcard-contact-item i {
    width: 20px;
    color: var(--bsg-red);
    text-align: center;
}

.vcard-contact-item a {
    color: var(--bsg-dark);
    transition: color 0.2s ease;
}

.vcard-contact-item a:hover {
    color: var(--bsg-red);
}

.vcard-qr {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.vcard-qr-placeholder {
    width: 50px;
    height: 50px;
    background: var(--bsg-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.vcard-qr span {
    font-size: 0.8rem;
    color: var(--bsg-gray);
}

.vcard-back .vcard-flip-hint {
    color: rgba(0, 0, 0, 0.3);
}

.vcard-instruction {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* Kontakt-Aktionen unter der Karte */
.vcard-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 350px;
}

.vcard-action-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.vcard-action-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.vcard-action-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.vcard-action-link i {
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

.vcard-action-copy {
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcard-action-copy:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.vcard-action-copy.copied {
    background: #28a745;
    border-color: #28a745;
}

.vcard-action-copy i {
    font-size: 0.85rem;
}

/* Dreh-Button */
.vcard-flip-btn {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.vcard-flip-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.vcard-flip-btn:active {
    transform: scale(0.98);
}

.vcard-flip-btn i {
    transition: transform 0.5s ease;
}

.vcard-flip-btn:hover i {
    transform: rotate(180deg);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .vcard-card {
        width: 320px;
        height: 260px;
    }

    .vcard-close {
        top: -50px;
        right: 0;
    }

    .vcard-photo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .vcard-name {
        font-size: 1.1rem;
    }

    .vcard-position {
        font-size: 0.8rem;
    }

    .vcard-contact-item {
        font-size: 0.75rem;
    }

    .vcard-company-logo {
        height: 24px;
    }

    .vcard-qr-placeholder {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .vcard-front-contact {
        max-width: 240px;
        gap: 0.3rem;
    }

    .vcard-front-contact-row {
        padding: 0.3rem 0.5rem;
    }

    .vcard-front-action span {
        font-size: 0.6rem;
    }

    .vcard-copy-btn {
        padding: 0.2rem 0.35rem;
    }
}

/* ============== NEWS CARDS ============== */
.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card .card-image {
    overflow: hidden;
}

.news-card .card-image img {
    transition: transform 0.3s ease;
}

.news-card:hover .card-image img {
    transform: scale(1.05);
}

.news-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .content {
    flex: 1;
}

.news-date {
    font-size: 0.85rem;
    color: var(--bsg-gray);
}

/* ============== REFERENCE LOGOS ============== */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.reference-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.reference-logo:hover {
    transform: scale(1.05);
}

.reference-logo img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.reference-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============== FOOTER ============== */
.footer-bsg {
    background: var(--bsg-dark);
    color: white;
}

.footer-bsg a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bsg a:hover {
    color: white;
}

.footer-bsg .title {
    color: white;
}

.footer-division-logo {
    height: 40px;
    margin-right: 1rem;
}

.footer-bsg .footer-location {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bsg .footer-location strong {
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.footer-bsg .footer-location i {
    color: var(--bsg-red);
    margin-right: 0.25rem;
}

/* Footer Social Media Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--bsg-red);
    color: white;
    transform: translateY(-3px);
}

/* ============== ADMIN STYLES ============== */
.admin-sidebar {
    background: var(--bsg-dark);
    min-height: 100vh;
    padding: 1rem;
}

.admin-sidebar .menu-label {
    color: rgba(255, 255, 255, 0.6);
}

.admin-sidebar .menu-list a {
    color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
}

.admin-sidebar .menu-list a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-sidebar .menu-list a.is-active {
    background: var(--bsg-red);
    color: white;
}

.admin-content {
    padding: 2rem;
    background: var(--bsg-light);
    min-height: 100vh;
}

.admin-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bsg-red);
}

.stat-card .stat-label {
    color: var(--bsg-gray);
    font-size: 0.9rem;
}

/* ============== MARKDOWN EDITOR ============== */
.markdown-editor {
    display: flex;
    gap: 1rem;
}

.markdown-editor textarea {
    font-family: monospace;
    min-height: 300px;
}

.markdown-preview {
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    padding: 1rem;
    min-height: 300px;
    background: #fafafa;
    overflow-y: auto;
}

/* ============== RESPONSIVE ============== */
@media screen and (max-width: 768px) {
    .org-department {
        min-width: 100%;
    }

    .reference-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-sidebar {
        min-height: auto;
    }
}

/* ============== UTILITIES ============== */
.mb-6 {
    margin-bottom: 3rem !important;
}

.mt-6 {
    margin-top: 3rem !important;
}

.has-background-light-gray {
    background-color: var(--bsg-light) !important;
}

/* ============== ANIMATIONS ============== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ============== SCHEMA BADGE ============== */
.division-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.division-badge.secure {
    background: rgba(230, 57, 70, 0.1);
    color: var(--bsg-red);
}

.division-badge.facility {
    background: rgba(82, 183, 136, 0.1);
    color: var(--bsg-green);
}

.division-badge.stage {
    background: rgba(123, 44, 191, 0.1);
    color: var(--bsg-purple);
}

.division-badge.general {
    background: rgba(29, 53, 87, 0.1);
    color: var(--bsg-dark);
}

/* ============== REFERENCE CARDS (Neu) ============== */
.reference-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.05);
}

.reference-logo-container {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #fafafa;
    border-radius: 8px;
}

.reference-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.reference-card:hover .reference-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.reference-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 8px;
}

.reference-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reference-info .title {
    margin-bottom: 0.5rem;
}

.reference-info .division-badge {
    align-self: center;
}

/* Partner Card specifics */
.partner-card {
    border-top: 3px solid var(--bsg-red);
}

.partner-card:hover {
    border-top-color: var(--bsg-red-dark);
}

/* Filter Buttons */
.reference-filter {
    transition: all 0.3s ease;
}

.reference-filter:hover {
    transform: translateY(-2px);
}

.reference-filter.is-active {
    font-weight: 600;
}

/* Reference Item Animation */
.reference-item {
    transition: all 0.3s ease;
}

/* ============== SCROLL REVEAL ANIMATIONS ============== */

/* Base class for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale reveal */
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Rotate reveal */
.reveal-rotate {
    opacity: 0;
    transform: translateY(30px) rotate(-3deg);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-rotate.revealed {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* Stagger animations for child elements */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 200ms; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 300ms; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 400ms; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 500ms; }
.stagger-children.revealed > *:nth-child(7) { transition-delay: 600ms; }
.stagger-children.revealed > *:nth-child(8) { transition-delay: 700ms; }
.stagger-children.revealed > *:nth-child(9) { transition-delay: 800ms; }
.stagger-children.revealed > *:nth-child(10) { transition-delay: 900ms; }

.stagger-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Fast stagger variant */
.stagger-fast > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-fast.revealed > *:nth-child(1) { transition-delay: 0ms; }
.stagger-fast.revealed > *:nth-child(2) { transition-delay: 50ms; }
.stagger-fast.revealed > *:nth-child(3) { transition-delay: 100ms; }
.stagger-fast.revealed > *:nth-child(4) { transition-delay: 150ms; }
.stagger-fast.revealed > *:nth-child(5) { transition-delay: 200ms; }
.stagger-fast.revealed > *:nth-child(6) { transition-delay: 250ms; }

.stagger-fast.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Safari Video Autoplay Fix - Videos müssen sichtbar sein */
.reveal video,
.stagger-children video,
.stagger-fast video {
    opacity: 1 !important;
}

/* ============== ENHANCED CARD ANIMATIONS ============== */

/* Card lift effect */
.card-animated {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.card-animated:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Card with glow on hover */
.card-glow {
    position: relative;
    overflow: hidden;
}

.card-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.card-glow:hover::before {
    left: 100%;
}

/* News card enhanced animation */
.news-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.news-card .card-image {
    overflow: hidden;
}

.news-card .card-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .card-image img {
    transform: scale(1.08);
}

.news-card .card-footer-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card .card-footer-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--bsg-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.news-card:hover .card-footer-item::before {
    width: 60%;
}

.news-card:hover .card-footer-item {
    color: var(--bsg-red);
}

/* ============== BUTTON ANIMATIONS ============== */

/* Ripple effect for buttons */
.button-ripple {
    position: relative;
    overflow: hidden;
}

.button-ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.button-ripple:active::after {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 1;
    transition: transform 0s, opacity 0s;
}

/* Shine effect for danger buttons */
.button.is-danger {
    position: relative;
    overflow: hidden;
}

.button.is-danger::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.button.is-danger:hover::before {
    left: 150%;
}

/* Pulse animation for CTA buttons */
.button-pulse {
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(230, 57, 70, 0.5);
    }
}

/* ============== COUNTER ANIMATION ============== */

.counter-animated {
    transition: all 0.3s ease;
}

.counter-animated .title {
    display: inline-block;
}

/* ============== FLOATING ANIMATION ============== */

.float {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-slow {
    animation: floating 5s ease-in-out infinite;
}

.float-delayed {
    animation: floating 3s ease-in-out 0.5s infinite;
}

/* ============== GLOW EFFECTS ============== */

.glow-red {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow-red:hover {
    box-shadow: 0 0 40px rgba(230, 57, 70, 0.5);
}

.glow-green {
    box-shadow: 0 0 20px rgba(82, 183, 136, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow-green:hover {
    box-shadow: 0 0 40px rgba(82, 183, 136, 0.5);
}

.glow-purple {
    box-shadow: 0 0 20px rgba(123, 44, 191, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow-purple:hover {
    box-shadow: 0 0 40px rgba(123, 44, 191, 0.5);
}

/* ============== TEXT ANIMATIONS ============== */

/* Gradient text animation */
.text-gradient-animated {
    background: linear-gradient(90deg, var(--bsg-red), var(--bsg-purple), var(--bsg-green), var(--bsg-red));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Underline animation for links */
.link-animated {
    position: relative;
    text-decoration: none;
}

.link-animated::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.link-animated:hover::after {
    width: 100%;
}

/* ============== SECTION TITLE ANIMATIONS ============== */

.section-title-display {
    position: relative;
}

/* Wrapper for centered titles with underline animation */
.has-text-centered .section-title-display::after,
.section-title-display.has-text-centered::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bsg-red), var(--bsg-purple));
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.has-text-centered .section-title-display.revealed::after,
.has-text-centered .section-title-display:hover::after,
.section-title-display.has-text-centered.revealed::after,
.section-title-display.has-text-centered:hover::after {
    width: 80px;
}

/* Add spacing after section title to prevent overlap with subtitle */
.section-title-display {
    margin-bottom: 2.5rem !important;
    padding-bottom: 1rem;
}

/* ============== TAG/BADGE ANIMATIONS ============== */

.tag {
    transition: all 0.3s ease;
}

.tag:hover {
    transform: scale(1.05);
}

/* ============== IMAGE HOVER EFFECTS ============== */

.image-zoom {
    overflow: hidden;
}

.image-zoom img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-zoom:hover img {
    transform: scale(1.08);
}

/* Ken Burns effect */
.image-kenburns {
    overflow: hidden;
}

.image-kenburns img {
    animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, -2%); }
}

/* ============== BOX/CARD TILT EFFECT ============== */

.tilt-effect {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-effect:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateZ(10px);
}

/* ============== LOADING SKELETON ============== */

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============== ICON ANIMATIONS ============== */

.icon-bounce:hover .fa,
.icon-bounce:hover .fas,
.icon-bounce:hover .far {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-5px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-3px); }
}

.icon-spin:hover .fa,
.icon-spin:hover .fas,
.icon-spin:hover .far {
    animation: iconSpin 0.5s ease;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============== SERVICE CARD ENHANCEMENTS ============== */

.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--bsg-red);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.15);
}

.service-card .card-content .title .icon {
    transition: all 0.3s ease;
}

.service-card:hover .card-content .title .icon {
    transform: scale(1.2);
    color: var(--bsg-red);
}

.service-card .card-content {
    padding: 2rem 2.5rem;
}

.service-card .card-content .title {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-card .card-content .title .icon {
    font-size: 1.5rem;
}

.service-card .card-content > p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.service-card .card-content ul {
    margin-left: 1.25rem;
}

.service-card .card-content ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 0.35rem 0;
}

/* Single service category - full width */
.columns.is-multiline > .column.is-6:only-child {
    width: 100%;
    flex: none;
}

/* ============== PARALLAX SUBTLE EFFECT ============== */

.parallax-subtle {
    transition: transform 0.1s ease-out;
}

/* ============== MORPHING BACKGROUND ============== */

.bg-morph {
    position: relative;
    overflow: hidden;
}

.bg-morph::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.05) 0%, transparent 50%);
    animation: bgMorph 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bgMorph {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(10%, 10%) scale(1.1); }
    50% { transform: translate(0, 20%) scale(1); }
    75% { transform: translate(-10%, 10%) scale(1.1); }
}

/* ============== STAT BOX ANIMATIONS ============== */

.stat-box {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bsg-red), var(--bsg-green), var(--bsg-purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* ============== CTA SECTION ENHANCEMENTS ============== */

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: ctaGlow 8s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .reference-logo-container {
        height: 100px;
    }

    .reference-card {
        padding: 1rem;
    }

    .buttons.is-centered {
        flex-wrap: wrap;
    }

    .reference-filter {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }

    .reference-filter .icon {
        display: none;
    }
}

/* ============== CONTACT PAGE - SPLIT LAYOUT ============== */

.contact-section {
    min-height: calc(100vh - 100px);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: calc(100vh - 100px);
}

/* Left Panel - Dark with Info */
.contact-info-panel {
    background: linear-gradient(135deg, var(--bsg-dark) 0%, #0f2744 100%);
    color: white;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-info-content {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-family: 'HWT Artz', 'Impact', 'Arial Black', sans-serif;
    font-size: 2.75rem;
    font-weight: normal;
    line-height: 1.15;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-title span {
    background: linear-gradient(135deg, var(--bsg-red) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 0;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bsg-red);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-detail-item:hover .contact-detail-icon {
    background: var(--bsg-red);
    color: white;
    transform: scale(1.1);
}

.contact-detail-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-detail-text strong {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.contact-detail-text span,
.contact-detail-text a {
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.contact-detail-text a:hover {
    color: var(--bsg-red);
}

/* Division Logos */
.contact-divisions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-divisions-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-divisions-logos {
    display: flex;
    gap: 1rem;
}

.contact-divisions-logos a {
    display: block;
    transition: all 0.3s ease;
}

.contact-divisions-logos img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.contact-divisions-logos a:hover img {
    filter: brightness(1.1);
    transform: translateY(-5px) scale(1.1);
}

/* Map Panel in Left Column */
.contact-map-panel {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-map-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-map-embed {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-map-embed iframe {
    display: block;
}

.contact-map-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-map-button:hover {
    background: var(--bsg-red);
    border-color: var(--bsg-red);
    color: white;
    transform: translateX(5px);
}

.contact-map-button i {
    font-size: 1rem;
}

/* Contact Locations */
.contact-locations {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .contact-locations-grid {
        grid-template-columns: 1fr;
    }
}

.contact-location-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-location-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-location-header i {
    color: var(--bsg-red);
    font-size: 1rem;
    width: 20px;
}

.contact-location-header strong {
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
}

.contact-location-address {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
}

.contact-location-item .contact-map-embed {
    margin-bottom: 0.5rem;
    border-radius: 8px;
}

.contact-location-item .contact-map-embed iframe {
    height: 120px;
}

.contact-location-item .contact-map-button {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    width: 100%;
    justify-content: center;
}

/* Decorative Circles */
.contact-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--bsg-red);
    top: -150px;
    right: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--bsg-green);
    bottom: -100px;
    left: -100px;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: var(--bsg-purple);
    bottom: 20%;
    right: 10%;
    opacity: 0.05;
}

/* Right Panel - Form */
.contact-form-panel {
    background: var(--bsg-light);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.contact-form-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-header {
    margin-bottom: 1.5rem;
}

.contact-form-header .title {
    margin-bottom: 0.25rem;
}

.message-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.message-field-header .label {
    margin-bottom: 0;
}

.questionnaire-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, var(--bsg-red) 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(201, 58, 58, 0.3);
}

.questionnaire-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 58, 58, 0.4);
}

.questionnaire-toggle-btn i {
    font-size: 0.9rem;
}

/* Fragebogen ausgefüllt Anzeige */
.questionnaire-filled {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.questionnaire-filled-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.questionnaire-filled-icon {
    width: 40px;
    height: 40px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.questionnaire-filled-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.questionnaire-filled-text strong {
    color: #2e7d32;
    font-size: 0.95rem;
}

.questionnaire-filled-text a {
    color: #1976d2;
    font-size: 0.85rem;
    text-decoration: underline;
}

.questionnaire-filled-text a:hover {
    color: #1565c0;
}

.questionnaire-edit-btn {
    background: white;
    border: 2px solid #4caf50;
    color: #4caf50;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.questionnaire-edit-btn:hover {
    background: #4caf50;
    color: white;
}

/* Fragebogen Modal */
.questionnaire-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.questionnaire-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.questionnaire-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.questionnaire-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.questionnaire-modal.is-active .questionnaire-content {
    transform: translateY(0) scale(1);
}

.questionnaire-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--bsg-red) 0%, #c0392b 100%);
    color: white;
}

.questionnaire-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.questionnaire-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.questionnaire-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.questionnaire-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.questionnaire-intro {
    color: var(--bsg-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.questionnaire-field {
    margin-bottom: 1.5rem;
}

.questionnaire-field:last-child {
    margin-bottom: 0;
}

.questionnaire-field > label {
    display: block;
    font-weight: 600;
    color: var(--bsg-dark);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.questionnaire-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.questionnaire-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
}

.questionnaire-radio {
    cursor: pointer;
}

.questionnaire-radio input[type="radio"] {
    display: none;
}

.questionnaire-radio span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--bsg-dark);
    transition: all 0.2s ease;
}

.questionnaire-radio:hover span {
    border-color: var(--bsg-red);
    background: #fff5f5;
}

.questionnaire-radio input[type="radio"]:checked + span {
    background: linear-gradient(135deg, var(--bsg-red) 0%, #c0392b 100%);
    border-color: var(--bsg-red);
    color: white;
}

.questionnaire-field .input,
.questionnaire-field .textarea {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.2s ease;
}

.questionnaire-field .input:focus,
.questionnaire-field .textarea:focus {
    border-color: var(--bsg-red);
    box-shadow: 0 0 0 3px rgba(201, 58, 58, 0.1);
}

.questionnaire-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #f8f8f8;
    border-top: 1px solid #eee;
}

/* Mobile Anpassungen für Fragebogen */
@media (max-width: 768px) {
    .message-field-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .questionnaire-toggle-btn {
        width: 100%;
        justify-content: center;
    }

    .questionnaire-content {
        width: 95%;
        max-height: 85vh;
    }

    .questionnaire-options-grid {
        grid-template-columns: 1fr 1fr;
    }

    .questionnaire-radio span {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    .questionnaire-filled-content {
        flex-wrap: wrap;
    }

    .questionnaire-filled-text {
        flex: 1 1 calc(100% - 56px);
    }
}

/* Division Selector */
.division-selector {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.division-selector-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bsg-dark);
    margin-bottom: 0.75rem;
}

.division-selector-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.division-option {
    cursor: pointer;
}

.division-option input[type="radio"] {
    display: none;
}

.division-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
    background: #fafafa;
    transition: all 0.3s ease;
}

.division-option-content img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.division-option-content .division-option-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--bsg-gray);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.division-option-content span {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--bsg-dark);
    line-height: 1.2;
}

.division-option-content small {
    font-size: 0.7rem;
    color: var(--bsg-gray);
    margin-top: 0.15rem;
}

/* Hover State */
.division-option-content:hover {
    border-color: #ccc;
    background: white;
}

/* Checked States */
.division-option input:checked + .division-option-content {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.division-option input:checked + .division-option-content.secure {
    border-color: var(--bsg-red);
}

.division-option input:checked + .division-option-content.facility {
    border-color: var(--bsg-green);
}

.division-option input:checked + .division-option-content.stage {
    border-color: var(--bsg-purple);
}

.division-option input:checked + .division-option-content.general {
    border-color: var(--bsg-dark);
}

.division-option input:checked + .division-option-content.secure span { color: var(--bsg-red); }
.division-option input:checked + .division-option-content.facility span { color: var(--bsg-green); }
.division-option input:checked + .division-option-content.stage span { color: var(--bsg-purple); }
.division-option input:checked + .division-option-content.general span { color: var(--bsg-dark); }

.division-option input:checked + .division-option-content.general .division-option-icon {
    background: var(--bsg-dark);
    color: white;
}

.division-option input:checked + .division-option-content img {
    transform: scale(1.1);
}

/* Form Styles */
.contact-form .field {
    margin-bottom: 0.75rem;
}

.contact-form .label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: var(--bsg-dark);
}

.contact-form .input,
.contact-form .textarea {
    border-radius: 10px;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
    box-shadow: none;
    background: #fafafa;
}

.contact-form .input:hover,
.contact-form .textarea:hover {
    border-color: #d0d0d0;
    background: white;
}

.contact-form .input:focus,
.contact-form .textarea:focus {
    border-color: var(--bsg-red);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
    background: white;
}

.contact-form .control.has-icons-left .input {
    padding-left: 2.5rem;
}

.contact-form .control.has-icons-left .icon.is-left {
    height: 2.5em;
    width: 2.5rem;
}

.contact-form .checkbox {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--bsg-gray);
}

.contact-form .checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.1);
}

.contact-form .checkbox a {
    color: var(--bsg-red);
}

.contact-submit-btn {
    background: linear-gradient(135deg, var(--bsg-red) 0%, var(--bsg-red-dark) 100%) !important;
    border: none !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    height: 3rem;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

.contact-submit-btn.is-loading::after {
    border-color: transparent transparent white white !important;
}

.contact-success {
    padding: 2rem;
    border-radius: 12px;
}

.contact-success .icon.is-large {
    animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media screen and (max-width: 1023px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        padding: 3rem 2rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-form-panel {
        padding: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .contact-info-panel {
        padding: 2rem 1.5rem;
    }

    .contact-title {
        font-size: 1.75rem;
    }

    .contact-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-details {
        gap: 1rem;
    }

    .contact-detail-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-form-panel {
        padding: 1.5rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .contact-form .input,
    .contact-form .textarea {
        font-size: 16px;
    }

    .contact-divisions-logos img {
        width: 42px;
        height: 42px;
    }

    .contact-map-panel {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .contact-map-embed iframe {
        height: 180px;
    }

    /* Division Selector Mobile */
    .division-selector-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .division-option-content {
        padding: 0.75rem 0.5rem;
    }

    .division-option-content img,
    .division-option-content .division-option-icon {
        width: 32px;
        height: 32px;
    }

    .division-option-content span {
        font-size: 0.8rem;
    }

    .division-option-content small {
        font-size: 0.65rem;
    }
}

/* ============== PARTNER SLIDESHOW ============== */
.partner-slideshow-wrapper {
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

/* Fade-Effekt an den Seiten */
.partner-slideshow-wrapper::before,
.partner-slideshow-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partner-slideshow-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.partner-slideshow-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.partner-slideshow {
    overflow: hidden;
}

.partner-slideshow-track {
    display: flex;
    gap: 3rem;
    width: max-content;
}

/* Animation von rechts nach links (Standard) */
.slideshow-ltr .partner-slideshow-track {
    animation: slideshow-ltr 50s linear infinite;
}

/* Animation von links nach rechts */
.slideshow-rtl .partner-slideshow-track {
    animation: slideshow-rtl 50s linear infinite;
}

@keyframes slideshow-ltr {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes slideshow-rtl {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.partner-slide {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.partner-slide:hover {
    transform: scale(1.05);
}

.partner-slide-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-slide:hover .partner-slide-img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-slide-placeholder {
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-slide-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
}

a.partner-slide {
    text-decoration: none;
    cursor: pointer;
}

a.partner-slide:hover {
    transform: scale(1.05);
}

/* Pause Animation on Hover */
.partner-slideshow:hover .partner-slideshow-track {
    animation-play-state: paused;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .partner-slide {
        width: 120px;
        height: 60px;
        padding: 0.75rem;
    }

    .partner-slideshow-track {
        gap: 2rem;
    }

    .partner-slideshow-wrapper::before,
    .partner-slideshow-wrapper::after {
        width: 50px;
    }
}

/* ============================================================
   MOBILE RESPONSIVENESS FIXES
   ============================================================ */

/* ============== PHASE 1: NAVBAR MOBILE FIXES ============== */

/* Navbar burger - ensure touch-friendly size (min 44x44px) */
.navbar-burger {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
}

/* Smooth slide-down animation for mobile menu */
@media screen and (max-width: 1023px) {
    .navbar-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-out, opacity 0.25s ease;
        opacity: 0;
        display: block !important;
    }

    .navbar-menu.is-active {
        max-height: 100vh;
        opacity: 1;
        overflow-y: auto;
    }

    /* Scroll lock when menu is open */
    body.navbar-menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Navbar items - better touch targets */
    .navbar-menu .navbar-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ============== PHASE 2: RESPONSIVE GRID FIXES ============== */

/* Video Grid - single column on mobile */
@media screen and (max-width: 768px) {
    .divisions-video-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .division-video-card {
        max-width: 100%;
    }
}

/* Contact Layout - stack on mobile */
@media screen and (max-width: 1023px) {
    .contact-wrapper {
        flex-direction: column !important;
    }

    .contact-info-panel,
    .contact-form-panel {
        width: 100% !important;
        max-width: 100% !important;
    }

    .contact-info-panel {
        padding: 2rem 1.5rem !important;
    }

    .contact-form-panel {
        padding: 2rem 1.5rem !important;
    }
}

/* Locations Grid - single column on small screens */
@media screen and (max-width: 600px) {
    .contact-locations {
        grid-template-columns: 1fr !important;
    }
}

/* Team Grid - single column on mobile */
@media screen and (max-width: 768px) {
    .team-members-grid {
        grid-template-columns: 1fr !important;
    }
}

/* References Grid */
@media screen and (max-width: 768px) {
    .references-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============== PHASE 3: HERO & ANIMATION FIXES ============== */

/* Hero - disable parallax on mobile for better performance */
@media screen and (max-width: 768px) {
    .hero-bsg {
        background-attachment: scroll !important;
        min-height: 60vh;
    }
}

/* Hero Stats - stack on very small screens */
@media screen and (max-width: 480px) {
    .hero-stats {
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: center;
    }

    .hero-stat {
        width: 100%;
        text-align: center;
    }

    .hero-stat-divider {
        display: none;
    }
}

/* Touch devices - disable hover animations for better performance */
@media (hover: none) and (pointer: coarse) {
    .hero-bsg {
        background-attachment: scroll !important;
    }

    .division-video-card:hover {
        transform: none !important;
    }

    .top-bar-item:hover {
        transform: none !important;
    }

    .navbar-menu .navbar-item:hover {
        transform: none !important;
    }

    .partner-slide:hover {
        transform: none !important;
    }

    /* Disable parallax effect on touch devices */
    .parallax-subtle {
        transform: none !important;
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-rotate {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============== PHASE 4: MODAL & FORM FIXES ============== */

/* Modals - ensure they fit on mobile screens */
@media screen and (max-width: 768px) {
    .modal-content,
    .modal-card {
        max-width: 95vw !important;
        max-height: 90vh !important;
        margin: 1rem !important;
        overflow-y: auto;
    }

    .vcard-container {
        max-width: 95vw !important;
        max-height: 90vh !important;
        overflow-y: auto;
        padding: 1.5rem !important;
    }

    .questionnaire-content {
        max-width: 95vw !important;
        max-height: 85vh !important;
        overflow-y: auto;
        padding: 1.5rem !important;
    }

    /* vCard modal specific */
    .vcard-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .vcard-photo {
        margin: 0 auto;
    }

    .vcard-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Forms - prevent iOS zoom on input focus */
@media screen and (max-width: 480px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Full-width buttons on mobile */
    .field .button,
    form .button {
        width: 100%;
        min-height: 44px;
    }

    /* Checkbox/Radio groups - stack vertically */
    .questionnaire-options {
        flex-direction: column !important;
    }

    .questionnaire-option {
        width: 100% !important;
    }
}

/* ============== PHASE 5: FEINSCHLIFF (Typography, Spacing, Touch-Targets) ============== */

/* Typography scaling for small screens */
@media screen and (max-width: 480px) {
    .title.is-1 {
        font-size: 2rem !important;
    }

    .title.is-2 {
        font-size: 1.75rem !important;
    }

    .title.is-3 {
        font-size: 1.5rem !important;
    }

    .title.is-4 {
        font-size: 1.25rem !important;
    }

    .title.is-5 {
        font-size: 1.1rem !important;
    }

    .section-title-display {
        font-size: 1.75rem !important;
        letter-spacing: 1px;
    }

    .cta-title-display {
        font-size: 1.5rem !important;
    }

    /* Hero title responsive */
    .hero-title {
        font-size: clamp(2rem, 8vw, 4rem) !important;
    }
}

/* Spacing adjustments */
@media screen and (max-width: 768px) {
    .section {
        padding: 2.5rem 1rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Reduce gaps in flexbox/grid layouts */
    .columns {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .column {
        padding: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .section {
        padding: 2rem 0.75rem;
    }

    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Touch-friendly targets - ensure minimum size */
@media screen and (max-width: 1023px) {
    /* All clickable elements */
    a.button,
    button,
    .button,
    .navbar-item,
    .tab,
    [role="button"] {
        min-height: 44px;
        min-width: 44px;
    }

    /* Links with sufficient spacing */
    .content a,
    .footer a,
    nav a {
        padding: 0.25rem 0;
        display: inline-block;
    }

    /* Top bar logo - larger touch target */
    .top-bar-logo {
        width: 32px;
        height: 32px;
    }

    .top-bar-item {
        min-height: 44px;
        padding: 0.5rem 0.75rem;
    }
}

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Fix for long words breaking layout */
.content,
.card-content,
.box {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Job/News cards - responsive */
@media screen and (max-width: 768px) {
    .job-card,
    .news-card,
    .reference-card {
        padding: 1.25rem !important;
    }

    .job-card .title,
    .news-card .title {
        font-size: 1.1rem !important;
    }
}

/* Services Tab Layout - better mobile experience */
@media screen and (max-width: 768px) {
    .tabs ul {
        flex-wrap: wrap;
    }

    .tabs li {
        flex-grow: 1;
        flex-basis: 33.33%;
    }

    .tabs li a {
        justify-content: center;
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }

    .tab-pane {
        padding: 1.5rem 1rem;
    }
}

/* Footer responsive */
@media screen and (max-width: 768px) {
    .footer .columns {
        text-align: center;
    }

    .footer .column {
        margin-bottom: 1.5rem;
    }
}

/* ============================================
   SERVICE ITEMS - Individual services with optional images/descriptions
   ============================================ */

.service-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: #f0f1f2;
    transform: translateX(4px);
}

.service-item.has-image {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.service-item-image {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.service-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item.has-image:hover .service-item-image img {
    transform: scale(1.05);
}

.service-item-content {
    flex: 1;
    min-width: 0;
}

.service-item-content strong {
    display: block;
    color: var(--bsg-dark);
    margin-bottom: 0.25rem;
}

.service-item-content p {
    font-size: 0.9rem;
    color: var(--bsg-gray);
    margin: 0;
    line-height: 1.4;
}

.service-item-simple {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
}

.service-item-simple:hover {
    background: #f8f9fa;
}

.service-item-simple .icon {
    flex-shrink: 0;
}

/* Responsive service items */
@media screen and (max-width: 768px) {
    .service-item.has-image {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-item-image {
        width: 100%;
        max-width: 280px;
        height: 160px;
    }

    .service-item-content strong {
        margin-top: 0.5rem;
    }
}
