
:root {
    /* Globale Farbpalette definieren */
    --color-bg-dark: #1a1a1a;
    --color-bg-light: #2a2a2a;
    --color-primary-dark: #7e6151;
    --color-primary-light: #d9af95;
    --color-accent: #7cbbc1;
    --color-accent-hover: #c0e0e3;
    --color-accent-dark: #48595b;
    --color-text-main: #ffffff;
    --color-text-muted: #777777;
}

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

body {
    background-color: #131313; /* Viewport > 1024px: sides dark */
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Hepta Slab', serif;
    font-weight: 300;
}
a {
    text-decoration: none;
    color: var(--color-accent);
}
a:hover {
    text-decoration: underline;
    color: var(--color-accent-hover);
}


.container {
    min-width: 250px;
    max-width: 1024px;
    margin: 0 auto;
    background-color: #2a2a2a;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--color-primary-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--color-accent);
}

.lw-logo {
    margin-top: 3px;
}

.lw-logo-img {
    position: absolute;
    width: 100px;
    display: block;
    transition: transform 0.3s;
    opacity: 50%;
}

.lw-logo-banner {
    position: absolute;
    width: 130px;
    display: block;
    transition: transform 0.3s;
    margin-left: 120px;
}

.lw-design-protected {
    position: absolute;
    display: block;
    right: 20px;
    margin-top: -90px;
    color: #ffffff;
    font-size: 8px;
    opacity: 70%;
}


nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

/* Sektionen allgemein */
section {
    padding: 60px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #ffffff;
}

h2::after {
    content: "";
    display: block;
    width: 90px;
    height: 2px;
    background-color: #7cbbc1;
    margin-top: 10px;
}

/* Bilder allgemein */
img {
    max-width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s;
}

img:hover {
    transform: scale(1.02);
}

/* Hero Section */
#lw-start {
    position: relative;
    padding: 0;
    border: none;
    background-color: #1a1a1a;
}

.lw-text {
    position: absolute;
    top: 20%;
    left: 40px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.lw-text h1 {
    font-size: clamp(18px, 5vw, 40px);
    margin-bottom: -5px;
}

.lw-text h3 {
    font-size: clamp(10px, 2vw, 24px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    margin-bottom: clamp(50px, 20vw, 250px);
    color: var(--color-primary-light);
}

.lw-text p {
    font-size: clamp(9px, 2vw, 17px);
    font-weight: 400;
    width: 50vw;
    max-width: 250px;
    color: #7cbac1;
}

/* Flexbox für Umbrüche (Responsive) */
.specs-text {
    flex: 2;
    min-width: 300px; /* Umbruch bei zu wenig Platz */
}

/* Specs Sektion */
.specs-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.specs-list {
    flex: 2;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
}

.spec-item {
    font-size: 15px;
}

.spec-item strong {
    display: block;
    color: var(--color-primary-dark);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 3px;
}

.specs-image-box {
    flex-wrap: wrap;
    /* min-width: 300px; */
    max-width: 600px;
    background-color: #3d3d3d;
    padding: 15px;
    display: grid;
    /* flex-direction: column; */
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    grid-template-columns: repeat(auto-fit, minmax(130px, 200px));
}

.specs-image-box img {
    width: 45%;
    min-width: 200px;
    /* border: 1px solid rgba(255,255,255,0.2); */
}

.video video {
    max-width: calc(100vw - 40px);
    width: 100%;
    height: auto;
}

.construction-entry {
    padding-top: 40px;
    width: 100%;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 40px;
    width: 100%;
    flex-wrap: wrap;
}

.contact-form {
    background-color: #353535;
    padding: 40px;
    border-radius: 2px;
    flex: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-form p {
    margin-bottom: 20px;
    font-size: 18px;
}

.contact-picture {
    max-width: 400px;
    max-height: 400px;
    border: 15px solid var(--color-primary-dark);

}

.lw-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

textarea {
    width: 100%;
    height: 180px;
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    resize: vertical;
}

button {
    background: var(--color-accent);
    color: #000000;
    border: 1px solid var(--color-accent);
    padding: 12px 50px;
    margin-top: 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: block;
    width: 100%;
    text-align: center;
}

button:hover {
    background: #ffffff;
    color: #000000;
}

.scrollTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #7cbac1;
    text-decoration: none;
    color: white;
    border: none;
    font-size: 40px;
    cursor: pointer;
    box-shadow: 1px 3px 15px rgba(0, 0, 0, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.scrollTopBtn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-5px);
}

.footer-note {
    text-align: center;
    font-size: 11px;
    padding: 30px;
    color: var(--color-primary-light);
    background-color: #1a1a1a;
}


/* Bild-Vergrößerung (Modal/Lightbox) */
#imageModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

#imageModal img {
    max-width: 85%;
    max-height: 95vh;
    cursor: default;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    border: 10px solid rgba(255, 255, 255, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
}

.modal-nav {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    z-index: 1001;
}

.modal-nav.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.modal-nav.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.modal-nav:hover {
    background-color: rgba(0,0,0,0.6);
}


/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    nav a {
        margin: 0 10px;
    }

    .lw-logo-img {
        position: relative;
        margin-right: 10px;
        width: 40px;
        float: left;
        margin-bottom: 5px;
    }

    .lw-logo-banner {
        position: relative;
        margin-left: 0;
    }

    .specs-layout {
        gap: 10px;
    }

    .specs-image-box {
        max-width: 100%; /* Allow full width */
        grid-template-columns: 1fr 1fr; /* Force two columns */
    }

    .specs-image-box img {
        width: 100%; /* Image fills its grid cell */
        min-width: 0; /* Remove the minimum width constraint */
    }

    /* --- Mobile Modal Styles --- */
    #imageModal img {
        max-width: 100%;
        max-height: 100vh;
        border: none;
    }

    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 45px;
        color: #fff;
        text-shadow: 0 0 8px rgba(0,0,0,0.8);
    }

    .modal-nav {
        top: 50%;
        margin-top: -40px; /* Adjust vertical centering */
        font-size: 40px;
        padding: 20px 10px;
        background-color: rgba(0,0,0,0.2);
    }

    .modal-nav.prev {
        left: 15px;
    }

    .modal-nav.next {
        right: 15px;
    }
}

/* --- NEU: Stile für Video-Vorschau --- */
.video-facade {
    position: relative;
    cursor: pointer;
    display: inline-block; /* Sorgt dafür, dass der Container sich an das Bild anpasst */
}

.video-facade img {
    display: block;
    width: 100%;
    height: auto;
}

.video-facade .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: 2px solid white;
    transition: all 0.2s ease;
}

.video-facade .play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%; /* Leichte Korrektur für optische Mitte */
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 20px 30px; /* Dreieck für Play-Symbol */
    border-color: transparent transparent transparent white;
}

.video-facade:hover .play-button {
    background-color: rgba(220, 53, 69, 0.7); /* Roter Hover-Effekt */
    transform: translate(-50%, -50%) scale(1.1);
    border-color: var(--color-accent-hover);
}
