@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --white: #ffffff;
    --black: #0a0a0a;
    --text-light: #e5e5e5;
    --accent: #0ea5e9;
    --pillar-width: 320px;
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif; /* Switched to Inter for a more serious, corporate look */
    background: var(--black);
    color: var(--white);
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

/* Main Container */
.monolith-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    position: relative;
}

/* Center Pillar */
.center-pillar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--pillar-width);
    height: 100vh;
    background: var(--white);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem 2rem 2rem;
    /* Removed drop shadow for seamless blending */
}

.pillar-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
}

.logo-group {
    width: 220px;
    height: auto;
    object-fit: contain;
    margin-bottom: 3rem;
}

.pillar-motto {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pillar-motto span {
    color: var(--black);
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-weight: 800;
}

.pillar-line {
    flex-grow: 1;
    width: 1px;
    background: rgba(0, 0, 0, 0.15);
}

.pillar-bottom {
    text-align: center;
    color: #666;
    font-size: 0.75rem;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin-top: 2rem;
}

/* The Wings (Left and Right Panels) */
.wing {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.impressum {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wing-left {
    padding-right: calc(var(--pillar-width) / 2);
}

.wing-right {
    padding-left: calc(var(--pillar-width) / 2);
}

/* Seamless White Fades from Center */
.wing-left::after {
    content: '';
    position: absolute;
    top: 0;
    right: calc(var(--pillar-width) / 2); /* Start exactly at the edge of the pillar */
    width: 30%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 3;
    pointer-events: none;
}

.wing-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: calc(var(--pillar-width) / 2); /* Start exactly at the edge of the pillar */
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Backgrounds and Overlays */
.wing-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: var(--transition-slow);
    z-index: 1;
}

.wing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.75); /* Dark overlay */
    transition: var(--transition-slow);
    z-index: 2;
}

/* Wing Content */
.wing-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 600px; /* Increased to prevent long word overflow */
    padding: 0 4rem;
    opacity: 0.8;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

/* Logo Containers */
.corporate-badge {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2rem;
    transition: var(--transition-fast);
    /* Removed white background and box-shadow */
}

.logo-company {
    height: 90px; /* Doubled the size */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    /* Tight, intense white outline/glow (less blur, more solid) */
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 1)) 
            drop-shadow(0 0 2px rgba(255, 255, 255, 1))
            drop-shadow(0 0 3px rgba(255, 255, 255, 1))
            drop-shadow(0 0 5px rgba(255, 255, 255, 1))
            drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

/* Typography */
.wing-text {
    padding: 2.5rem;
    border-radius: 4px;
    background: transparent;
    transition: var(--transition-fast);
    margin-left: -2.5rem; /* Keeps text aligned with badge despite padding */
}

.wing-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    overflow-wrap: break-word; /* Ensure long words break if needed */
    hyphens: auto;
}

.wing-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 300;
}

.discover-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    transition: var(--transition-fast);
}

.arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.wing:hover .wing-bg {
    transform: scale(1.05);
}

.wing:hover .wing-overlay {
    background: rgba(10, 10, 10, 0.3); /* Reveal image */
}

.wing:hover .wing-content {
    opacity: 1;
    transform: translateY(0);
}

.wing:hover .wing-text {
    background: rgba(10, 10, 10, 0.85); /* Dark background for legibility */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.wing:hover .corporate-badge {
    transform: translateY(-5px);
}

.wing:hover .discover-link .arrow {
    transform: translateX(10px);
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .monolith-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    .center-pillar {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: auto;
        padding: 3rem 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        z-index: 100;
    }
    .pillar-line {
        display: none;
    }
    .wing {
        height: 50vh;
        width: 100%;
        padding: 4rem 2rem !important;
    }
    .wing-content {
        padding: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .wing-text {
        margin-left: 0;
        padding: 1.5rem;
    }
}
