/* ==========================================================================
   EL LORENZO – FINAL STYLE.CSS (MIT HYBRID NAVIGATION)
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font: 15px/26px 'Open Sans', Verdana, sans-serif;
    color: #ffffff;
    background: #000000 url('image/background.jpg') top center repeat fixed;
    background-size: cover;
    padding-top: 70px;
}

/* LAYOUT */
.wrap {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.main-header {
    background: #000;
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    border-bottom: 1px solid #333;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-text {
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

/* =========================
   DESKTOP NAVIGATION
   ========================= */

.nav-container ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-container ul li {
    white-space: nowrap;
}

.nav-container ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px 15px;
    transition: color 0.3s;
}

.nav-container ul li a:hover {
    color: #a4a8a7;
}

.lang-switch {
    border: 1px solid #444;
    padding: 5px 10px !important;
    margin-left: 5px;
}

/* =========================
   CHECKBOX (UNSICHTBAR, OHNE LAYOUT-EINFLUSS)
   ========================= */

#nav-toggle {
    position: absolute;
    left: -9999px;
}

/* =========================
   BURGER ICON
   ========================= */

.nav-toggle-label {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: white;
    height: 2px;
    width: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle-label span::before {
    content: "";
    position: absolute;
    top: -7px;
}

.nav-toggle-label span::after {
    content: "";
    position: absolute;
    top: 7px;
}

/* ==========================================================================
   SEKTIONEN
   ========================================================================== */

section {
    padding: 80px 0;
    overflow: hidden;
}

h2 {
    font-size: 36px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 40px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

#home {
    text-align: center;
    padding: 100px 0;
}

/* ==========================================================================
   SPALTENLAYOUT
   ========================================================================== */

.col2 { 
    float: left; 
    width: 31%;
    margin-right: 3%; 
    margin-bottom: 20px; 
}

.col3 { 
    float: left; 
    width: 48%;
    margin-right: 4%; 
}

.first { 
    clear: both; 
}

.colabout img, .col2 img, .col3 img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.button, .greybtn a, button, input[type="submit"] {
    background-color: #C0C0C0;
    padding: 12px 25px;
    border-radius: 6px;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background 0.3s;
    text-transform: uppercase;
    font-size: 12px;
}

.button:hover, .greybtn a:hover, button:hover {
    background-color: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    padding: 60px 0;
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */

@media screen and (max-width: 768px) {

    /* Burger anzeigen */
    .nav-toggle-label {
        display: block;
    }

   .nav-details {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

    /* Menü verstecken */
     .nav-container {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .nav-container ul {
        display: flex;
    }

    .nav-toggle-label {
        display: none;
    }


    .nav-container ul li a {
        display: block;
        padding: 15px;
    }
     .nav-toggle-label {
        display: none;
    }

    /* Menü öffnen */
    #nav-toggle:checked ~ .nav-container {
        max-height: 500px;
        border-bottom: 2px solid #333;
    }

    /* Spalten untereinander */
    .col2, .col3 {
        width: 100%;
        float: none;
        margin-right: 0;
    }
}