/* ===== VIRTUELLER MESSESTAND & SHOWROOM ===== */

.demo-preview {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: var(--mkpi-radius-md);
}

.demo-preview img {
    width: 100%;
    display: block;
}

.demo-preview:hover {
    transform: scale(1.02);
}

.demo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-weight: var(--mkpi-weight-semibold);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    letter-spacing: 0.04em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-l);
    transition: all 0.3s ease;
}

.demo-preview:hover .demo-overlay {
    background: rgba(227, 0, 27, 0.85);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-l);
}

@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.service-item {
    padding: var(--space-l);
    background: rgba(255, 255, 255, 0.05);
}

.example-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.example-item:hover {
    transform: scale(1.02);
}

.example-item img {
    width: 100%;
}

.examples-two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-l);
}

@media (max-width: 768px) {
    .examples-two-columns {
        grid-template-columns: 1fr;
    }
}

.example-card-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mkpi-radius-lg);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--mkpi-transition-base);
}



.example-card-wrapper:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.example-card {
    position: relative;
    width: 100%;
    border-radius: var(--mkpi-radius-lg) var(--mkpi-radius-lg) 0 0;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}

.example-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
}

.example-card:hover img {
    transform: scale(1.1);
}

.example-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 29, 31, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.example-card:hover .example-overlay {
    opacity: 1;
}

.example-overlay-content {
    text-align: center;
    color: white;
}

.example-title {
    font-size: 1.5rem;
    font-weight: var(--mkpi-weight-semibold);
    margin-bottom: var(--mkpi-space-2);
    color: white;
}

.example-subtitle {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    color: white;
}

.example-text {
    padding: var(--space-l);
    color: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.example-text h4 {
    color: white;
    font-size: 1.25rem;
    font-weight: var(--mkpi-weight-semibold);
    margin-bottom: var(--mkpi-space-3);
    line-height: 1.3;
}

.example-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.spinner_hint {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner_hint_aligner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.spinner_hint_item {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: var(--space-l);
    font-weight: var(--mkpi-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    letter-spacing: 0.04em;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner_hint_item:hover {
    background: rgba(227, 0, 27, 0.85);
}

#helmetpreview {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--mkpi-radius-md);
}

#helmetpreview img {
    width: 100%;
    display: block;
}

.wr-close-btn {
    position: absolute;
    top: 8px;
    right: 14px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.wr-close-btn:hover {
    background: rgba(227, 0, 27, 1.0);
    border-color: rgba(227, 0, 27, 1.0);
    transform: scale(1.1);
}

#wr_02 {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--mkpi-radius-md);
    overflow: hidden;
    background-color: #323232;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    padding: 0;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90vw !important;
    height: 90vh !important;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.fade .modal-content {
    height: unset !important;
    width: auto !important;
    max-width: none;
    background: white !important;
    overflow: visible;
    display: block;
}

.modal-content.webrotate {
    width: 100vw;
    height: 100vh;
    max-width: 1280px;
    max-height: 720px;
    background: #323232;
}

.modal-content.webrotate-local {
    width: 1280px !important;
    height: 720px !important;
    max-width: none;
    max-height: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content.webrotate-local #modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.modal-content.webrotate-local .wr360_player {
    margin: 0 auto !important;
    display: block !important;
}

.modal-close {
    position: fixed;
    top: calc(20px + env(safe-area-inset-top, 0px));
    right: calc(20px + env(safe-area-inset-right, 0px));
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(227, 0, 27, 1.0);
    border-color: rgba(227, 0, 27, 1.0);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(227, 0, 27, 0.4);
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

#modal-body {
    width: 100%;
    height: 100%;
}

.modal-overlay .wr360_player {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    margin: 0 !important;
    background: transparent !important;
}

.modal-overlay .wr360_player .container {
    width: 100vw !important;
    height: 100vh !important;
}
