/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.gold {
    color: #cc8e1e;
}

/* ==================== DIAGONAL STRIPE ==================== */
.diagonal-stripe {
    position: fixed;
    top: -50%;
    left: 36%;
    width: 120px;
    height: 250%;
    background: linear-gradient(180deg,
        rgba(204, 142, 30, 0.9) 0%,
        rgba(204, 142, 30, 1) 50%,
        rgba(204, 142, 30, 0.9) 100%
    );
    transform: rotate(-20deg);
    z-index: 1;
    box-shadow: 0 0 30px rgba(204, 142, 30, 0.4);
    animation: stripeShine 3s ease-in-out infinite;
}

@keyframes stripeShine {
    0%, 100% {
        opacity: 0.85;
        box-shadow: 0 0 30px rgba(204, 142, 30, 0.4);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 50px rgba(204, 142, 30, 0.6);
    }
}

/* ==================== MAIN CONTAINER ==================== */
.main-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
    z-index: 2;
}

/* ==================== LEFT SECTION (40%) ==================== */
.left-section {
    flex: 0 0 40%;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* Fixed Logo Area */
.logo-area-fixed {
    position: sticky;
    top: 0;
    background: #fafafa;
    padding: 40px 40px 0 40px;
    z-index: 10;
    animation: fadeInDown 1s ease-out;
}

.logo-image {
    width: 100%;
    margin: 0;
    padding: 0;
}

.logo-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    animation: fadeIn 1.2s ease-out;
}

/* Scrollable Content */
.scrollable-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 40px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scrollable-content::-webkit-scrollbar {
    width: 6px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: transparent;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: #cc8e1e;
    border-radius: 3px;
}

/* Leistung Area */
.leistung-area {
    margin: 0;
    padding: 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.leistung-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

/* Contact Section */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f8f8f8;
    border-color: #cc8e1e;
    transform: translateX(5px);
    box-shadow: 0 3px 15px rgba(204, 142, 30, 0.15);
}

.contact-icon i {
    font-size: 22px;
    color: #cc8e1e;
    width: 25px;
    text-align: center;
}

.contact-text a,
.contact-text span {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.contact-text a:hover,
.contact-item:hover .contact-text span {
    color: #cc8e1e;
}

/* ==================== RIGHT SECTION (60%) ==================== */
.right-section {
    flex: 0 0 60%;
    background: #fafafa;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.right-section::-webkit-scrollbar {
    width: 8px;
}

.right-section::-webkit-scrollbar-track {
    background: #e0e0e0;
}

.right-section::-webkit-scrollbar-thumb {
    background: #cc8e1e;
    border-radius: 4px;
}

/* Section Header */
.section-header {
    margin-bottom: 35px;
    animation: fadeInRight 1s ease-out;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #1a1a1a;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #cc8e1e, transparent);
}

/* Kompetenzen List */
.kompetenzen-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.kompetenz-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out both;
    position: relative;
    overflow: hidden;
}

.kompetenz-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #cc8e1e;
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.kompetenz-item:hover::before {
    transform: scaleY(1);
}

.kompetenz-item:nth-child(1) { animation-delay: 0.1s; }
.kompetenz-item:nth-child(2) { animation-delay: 0.15s; }
.kompetenz-item:nth-child(3) { animation-delay: 0.2s; }
.kompetenz-item:nth-child(4) { animation-delay: 0.25s; }
.kompetenz-item:nth-child(5) { animation-delay: 0.3s; }
.kompetenz-item:nth-child(6) { animation-delay: 0.35s; }

.kompetenz-item:hover {
    transform: translateY(-3px);
    border-color: #cc8e1e;
    box-shadow: 0 8px 25px rgba(204, 142, 30, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #fffef8 100%);
}

.kompetenz-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: 50%;
    border: 2px solid #cc8e1e;
    transition: all 0.4s ease;
}

.kompetenz-item:hover .kompetenz-icon {
    background: linear-gradient(135deg, #cc8e1e 0%, #e6b85c 100%);
    transform: rotate(360deg);
}

.kompetenz-icon i {
    font-size: 24px;
    color: #cc8e1e;
    transition: color 0.4s ease;
}

.kompetenz-item:hover .kompetenz-icon i {
    color: #ffffff;
}

.kompetenz-text h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Bottom Section */
.bottom-section {
    margin-top: auto;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.construction-image {
    width: 100%;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.construction-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(204, 142, 30, 0.1) 100%);
    z-index: 1;
}

.construction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.slogan-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 25px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #cc8e1e;
}

.slogan-box p {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.6;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    body {
        overflow: auto;
    }

    .main-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .left-section {
        flex: none;
        overflow: visible;
    }

    .logo-area-fixed {
        position: sticky;
        top: 0;
        background: #fafafa;
        padding: 30px 20px 0 20px;
        z-index: 100;
        box-shadow: none;
    }

    .scrollable-content {
        padding: 0 20px 20px 20px;
        overflow-y: visible;
    }

    .right-section {
        flex: none;
        overflow-y: visible;
        padding: 30px 20px;
    }

    .diagonal-stripe {
        height: 150px;
        width: 250%;
        top: 35%;
        left: -50%;
        transform: rotate(-15deg);
    }

    .kompetenzen-list {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .construction-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .logo-area-fixed {
        padding: 20px 15px 0 15px;
    }

    .scrollable-content {
        padding: 0 15px 15px 15px;
    }

    .right-section {
        padding: 20px 15px;
    }

    .contact-section {
        margin-bottom: 0;
    }
}
