/* ======= SECTION 2 (WEISS) ======= */
.section2 {
    transform: translateZ(0);
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-color: var(--body-color) !important;
    padding: 2rem 0;
    display: block;
    clear: both;
}

/* ======= GLASS CONTAINER ======= */
.aktuelles__window {
    margin: 0 auto;
    background: rgba(var(--white-rgb), 0.8); /* Glas-Effekt */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: 2rem;
    padding: 2rem;
    max-width: 1200px;
    border: 1px solid var(--border-color);
}

.aktuelles__window iframe {
    width: 100%;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    border: none;
    border-radius: 1rem;
    background-color: transparent;
}

/* ======= IFRAME STYLING ======= */
.section2 iframe {
    width: 100%;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    border: none;
    border-radius: 1.5rem;
    background: transparent;
    display: block;
}

/* ======= ANIMATION ======= */
@keyframes glassReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======= MOBILE ANPASSUNG ======= */
@media screen and (max-width: 768px) {
    .aktuelles__window {
        margin: 0 1rem;
        border-radius: 1.5rem;
    }
    
    .section2 iframe {
        height: 60vh;
        min-height: 400px;
    }
}





/* Container für das Iframe um Ecken zu runden */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 2rem;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3D Drehung nach RECHTS */
.video-3d-card.card-right {
    transform: rotateY(12deg) rotateX(4deg);
}

.video-3d-card.card-right:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

/* Container für die Kontakt-Links */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Stil für die einzelnen Links */
.contact-detail-link {
    display: flex;
    align-items: center;
    gap: 1rem;               /* Abstand zwischen Icon und Text */
    color: var(--first-color);
    text-decoration: none;
    font-family: var(--luxury-font);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.contact-detail-link i {
    font-size: 1.5rem;
    color: var(--first-color);
}

/* Hover-Effekt */
.contact-detail-link:hover {
    color: var(--);
    transform: translateX(5px);
}

/* Mobile Zentrierung */
@media screen and (max-width: 968px) {
    .contact-info {
        align-items: center;
    }
}


/* ======= CONTACT SPECIFICS ======= */
.contact-section {
    padding: 8rem 2rem;
    background-color: var(--body-color);
    transform: translateZ(0);
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--first-color);
    font-size: 1.5rem;
    font-family: var(--luxury-font);
    text-decoration: none;
    margin-top: 1rem;
    transition: opacity 0.3s;
}

.phone-link:hover {
    opacity: 0.8;
}

/* Animation Trigger für Kontakt (Analog zu Welcome) */
.contact-section.appear .welcome-video-wrapper {
    opacity: 1;
    transform: translateY(0) rotateY(12deg) rotateX(4deg);
}

/* ======= KARTE NACH LINKS (statisch) ======= */
.video-3d-card.card-left {
    transform: rotateY(-12deg) rotateX(4deg);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 20px 20px 50px rgba(var(--shadow-rgb),0.5);
}

.video-3d-card.card-left-float {
    transform: rotateY(-12deg) rotateX(4deg);
    box-shadow: 20px 20px 50px rgba(var(--shadow-rgb),0.5);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.video-3d-card.card-left-float:hover {
    transform: rotateY(-4deg) rotateX(2deg) scale(1.05);
}

/* Hover-Effekt bleibt für Interaktivität, aber ohne Dauer-Animation */
.video-3d-card.card-left:hover {
    transform: rotateY(-4deg) rotateX(2deg) scale(1.02);
}

/* Anpassung der Kontakt-Sektion (Reihenfolge der Spalten) */
@media screen and (min-width: 969px) {
    .contact-section .welcome-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Dezenter Filter auf der Kontakt-Karte. */
.contact-section .iframe-container iframe {
    filter: saturate(0.8) brightness(0.85) contrast(1.1);
    transition: all 0.5s ease;
}

/* Filter beim Hover entfernen. */
.video-3d-card.card-left:hover iframe {
    filter: saturate(1) brightness(1) contrast(1);
}