/* Stile spezifisch für die Referenz-Landingpages */

/* Sektion 1: Text-Schatten für Lesbarkeit auf der 360-Grad-Tour */
.hero-text-shadow {
    text-shadow: 0px 2px 15px rgba(0, 0, 0, 0.5);
}
/* Sektion 1: Klasse zum Ausblenden des Overlays bei Interaktion */
.overlay-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

/* Sektion 3: Charmante Anleitung für die 360-Grad-Tour (wird nicht mehr verwendet) */
.tour-guide {
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Sektion 4: Fotogalerie */
.gallery-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 1rem;
    height: 600px; /* Feste Höhe für einheitliches Layout */
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.gallery-thumbnails .thumb {
    cursor: pointer;
    height: calc(25% - 0.75rem);
    overflow: hidden;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.gallery-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-thumbnails .thumb:hover img {
    transform: scale(1.1);
    opacity: 0.9;
}

.gallery-thumbnails .thumb.active {
    border-color: var(--brand-gold);
}


/* Sektion 5 & 7: Highlight-Kacheln */
.highlight-card, .enabler-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.highlight-card:hover, .enabler-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.highlight-card .video-container {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative;
}

.highlight-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.highlight-card-content {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.manufacturer-logo {
    max-height: 80px; /* Größe verdoppelt */
    width: auto;
    /* Filter für Originalfarben entfernt */
}

.enabler-card .enabler-logo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* oder 'cover', je nach Bild */
    padding: 1.5rem;
}

/* Instagram Embed-Styling */
.instagram-media {
    margin: 0 !important; /* Wichtig um Standard-Ränder zu überschreiben */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Formularbereich */
.form-container {
    background: var(--brand-white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.form-container input, .form-container textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 0.5rem;
}
.form-container button {
    border: none;
    cursor: pointer;
}
/* =========================================== */
/* === NEUE REGELN FÜR EXTERNES LINK OVERLAY === */
/* =========================================== */
/* Stile für das Overlay für externe Links */
.overlay-container {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.overlay-container.visible {
    opacity: 1;
    visibility: visible;
}
.overlay-content {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.overlay-container.visible .overlay-content {
    transform: scale(1);
}
