@charset "UTF-8";

/* FIX: Added global box-sizing to prevent padding from expanding widths off-screen */
* {
    box-sizing: border-box;
}

/* Body */
/* FIX: Removed invisible non-breaking spaces throughout fonts */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/lato-v23-latin-100.eot');
  src: local(''),
       url('../fonts/lato-v23-latin-100.eot?#iefix') format('embedded-opentype'),
       url('../fonts/lato-v23-latin-100.woff2') format('woff2'),
       url('../fonts/lato-v23-latin-100.woff') format('woff'),
       url('../fonts/lato-v23-latin-100.ttf') format('truetype'),
       url('../fonts/lato-v23-latin-100.svg#Lato') format('svg');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/lato-v23-latin-300.eot');
  src: local(''),
       url('../fonts/lato-v23-latin-300.eot?#iefix') format('embedded-opentype'),
       url('../fonts/lato-v23-latin-300.woff2') format('woff2'),
       url('../fonts/lato-v23-latin-300.woff') format('woff'),
       url('../fonts/lato-v23-latin-300.ttf') format('truetype'),
       url('../fonts/lato-v23-latin-300.svg#Lato') format('svg');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v23-latin-regular.eot');
  src: local(''),
       url('../fonts/lato-v23-latin-regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/lato-v23-latin-regular.woff2') format('woff2'),
       url('../fonts/lato-v23-latin-regular.woff') format('woff'),
       url('../fonts/lato-v23-latin-regular.ttf') format('truetype'),
       url('../fonts/lato-v23-latin-regular.svg#Lato') format('svg');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato-v23-latin-700.eot');
  src: local(''),
       url('../fonts/lato-v23-latin-700.eot?#iefix') format('embedded-opentype'),
       url('../fonts/lato-v23-latin-700.woff2') format('woff2'),
       url('../fonts/lato-v23-latin-700.woff') format('woff'),
       url('../fonts/lato-v23-latin-700.ttf') format('truetype'),
       url('../fonts/lato-v23-latin-700.svg#Lato') format('svg');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/lato-v23-latin-900.eot');
  src: local(''),
       url('../fonts/lato-v23-latin-900.eot?#iefix') format('embedded-opentype'),
       url('../fonts/lato-v23-latin-900.woff2') format('woff2'),
       url('../fonts/lato-v23-latin-900.woff') format('woff'),
       url('../fonts/lato-v23-latin-900.ttf') format('truetype'),
       url('../fonts/lato-v23-latin-900.svg#Lato') format('svg');
}

body {
    font-family: 'Lato', sans-serif;
    margin: 0px; /* FIX: Simplified margin */
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    overflow-x: hidden; /* FIX: Failsafe to hide any horizontal overflow */
}

h2 {
    font-size: 200%;
    color: #383c6d;
}

small {
    font-size: 30%;
}

a {
    text-decoration: none;
    color: #e4007e;
}

a:hover{
    text-decoration: underline;
}

/* Container */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    /* FIX: Changed 800px to auto so it expands down instead of cutting off */
    height: auto; 
    min-height: 100vh;
    background-color: #FFFFFF;
}

.hero_header {
    color: #ccc;
    text-align: center;
    margin: 0px;
    letter-spacing: 4px;
}

/* Hero Section */
.hero {
    background-color: #FFFFFF;
    background-image: url("../img/gecko_start.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh; /* FIX: Ensures hero covers viewport properly */
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

.anfrage {
    position: fixed;
    width: 100px;
    height: 100px;
    background: #e4007e url("../img/icons/anfrage.png");
    background-size: contain;
    margin-top: 10%;
    box-shadow: 3px 5px 10px hsla(0,0%,0%,0.25);
    opacity: .7;
    z-index: 99; /* FIX: Ensure button stays clickable above content */
}

.anfrage:hover{
    opacity: .9;
}

/* Stats Gallery */
.stats {
    color: #383c6d;
    font-size: 350%;
    font-weight: 900;
    margin-bottom: 5px;
}

.gallery {
    clear: both;
    display: inline-block;
    width: 100%;
    padding-bottom: 35px;
    padding-top: 0px;
    margin-top: -5px;
    margin-bottom: 0px;
}

.thumbnail {
    width: 25%;
    text-align: center;
    float: left;
    margin-top: 35px;
    margin-bottom: 100px;
}

.gallery .thumbnail h4 {
    margin: 5px;
    color: #00aade;
}

.gallery .thumbnail p {
    margin: 0px;
    color: #A3A3A3;
}

/* Parallax Section */
.banner {
    background-color: #666;
    background-image: url("../img/BG.png");
    height: auto; /* FIX: Changed from hard 500px to allow text space */
    min-height: 500px;
    padding: 70px 10%; /* FIX: Cleaned up padding */
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}

.parallax {
    color: #FFFFFF;
    text-align: right;
    letter-spacing: 0px;
    line-height: 1.2;
    margin-top: 0px;
}

.parallax_description {
    font-size: 20px;
    color: #FFFFFF;
    text-align: right;
    width: 100%;
    float: right;
    font-weight: 300;
    line-height: 1.5;
    margin: 0px;
}

.banner h2 {
    color: #fff;
    margin-right: 0%;
}

.buttons_M { text-align: center; margin-top: 60px; margin-bottom: 100px;}
.buttons_R { text-align: right; margin-top: 60px; }
.buttons_L { text-align: left; margin-top: 60px; }

/* Buttons Unified */
.button_01, .button_02, .button_03, .button_011, .button_021, .button {
    display: inline-block;
    width: auto;
    margin: 20px 10px; /* FIX: Better margins for mobile stack */
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 20px;
    transition: all 0.3s linear;
}

.button_01, .button_011 { background-color: #383c6d; color: #fff; }
.button_01:hover, .button_011:hover { background-color: #fff; color: #383c6d; cursor: pointer; }

.button_02, .button_03, .button_021, .button { background-color: #e4007e; color: #fff; }
.button_02:hover, .button_021:hover { background-color: #fff; color: #e4007e; cursor: pointer; }
.button_03:hover, .button:hover { background-color: #333; color: #e4007e; cursor: pointer; }

/* About Section */
.about {
    padding-left: 5%; /* FIX: added valid numbers */
    padding-right: 5%;
    padding-top: 40px;
    display: inline-block;
    background-color: #fff;
    margin-top: 0px;
    width: 100%;
}

.text_column {
    width: 33.33%; /* FIX: exact third */
    text-align: center;
    font-weight: 300;
    line-height: 1.5;
    float: left;
    color: #383c6d;
    margin-bottom: 100px;
    padding: 0 15px; /* FIX: Added padding so text doesn't touch */
}

.about h2{
    color: #383c6d;
    font-size: 200%;
    text-align: center;
}

/* Parallax Section_02 */
.banner_logos {
    background-color: #666;
    background-image: url(../images/parallax.png);
    height: 450px;
    color: aqua;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden; /* FIX: Added hidden overflow */
}

.parallax_logos {
    color: #fff;
    text-align: left;
    padding-left: 10%;
    padding-top: 70px;
    padding-bottom: 20px;
    letter-spacing: 0px;
    line-height: 1.0;
    margin-top: 0px;
}

.thumbnail_3Spalter {
    width: 33.33%;
    text-align: center;
    float: left;
    margin-top: 70px;
    margin-bottom: 100px;
}

.gallery_3Spalter .thumbnail_3Spalter h3 {
    color: #383c6d;
    font-size: 400%;
    margin-bottom: 0px;
}

.gallery_3Spalter .thumbnail_3Spalter h4 {
    margin: 5px;
    color: #00aade;
}

.gallery_3Spalter .thumbnail_3Spalter p {
    margin: 0px;
    color: #383c6d;
}

.gallery_3Spalter h2 {
    text-align: right;
    padding-right: 5%;
}

.gallery_3Spalter_02 {
    clear: both;
    display: inline-block;
    width: 100%;
    background-color: #333;
    padding-bottom: 35px;
    padding-top: 0px;
    margin-top: -5px;
    margin-bottom: 100px;
}

.thumbnail_3Spalter_02 {
    width: 33.33%;
    text-align: center;
    float: left;
    margin-top: 35px;
}

.gallery_3Spalter_02 .thumbnail_3Spalter_02 h4 {
    margin: 5px;
    color: #fff;
}

.gallery_3Spalter_02 .thumbnail_3Spalter_02 p {
    margin: 0 20px 0 0;
    color: #FFFFFF;
    padding: 40px;
}

.gallery_3Spalter_02 h2 {
    text-align: center;
    color: #FFFFFF;
    padding-right: 5%;
}

/* More info */
footer {
    padding-bottom: 35px;
    margin: auto;
    width: 100%;
    display: inline-block;
}

.footer_column {
    width: 80%;
    text-align: center;
    padding-top: 40px;
    margin: auto;
}

footer .footer_column h2 {
    color: #383c6d;
    text-align: center;
}

footer .footer_column p {
    color: #383c6d;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 25px;
    margin-left: 20px;
    margin-right: 20px;
}

.cards {
    width: 100%;
    height: auto;
    max-width: 900px;
}

.footer_column a{
    color: #e4007e;
    text-decoration: none;
}

.footer_column a:hover{
    text-decoration: underline;
}

.menu_footer {
    margin-top: 150px;
    font-size: 16px;
    text-align: center;
}

.menu_footer a{ color: #333; }
.menu_footer a:hover{ color: #333; text-decoration: underline; }

.copyright {
    margin-top: -40px;
    text-align: center;
    font-size: 60%;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #666;
    color: #FFFFFF;
    font-weight: 400;
    letter-spacing: 4px;
    border-top-width: 2px;
}

.footer_banner {
    padding-bottom: 60px;
    background-image: url(../images/pattern.png);
    background-repeat: repeat;
}

.hidden {
    display: none;
}

/* Slider */
.logo-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.logo-slider::before, .logo-slider::after {
    content: "";
    height: 100%;
    position: absolute; /* FIX: Added absolute */
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.logo-slider::before { left: 0; background: linear-gradient(to right, #cccccc, transparent); }
.logo-slider::after { right: 0; background: linear-gradient(to left, #cccccc, transparent); }

.logo-track {
    display: flex;
    width: calc(250px * 14);
    animation: scroll 50s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

.slide {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    max-width: 160px;
    height: auto;
    display: block;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); }
}

/* ========================================================
   MOBILE MEDIA QUERIES 
   ======================================================== */

@media (max-width: 767px) {
    /* FIX: Merged 320px and 767px queries since 320 is too small for modern phones */
    
    .anfrage {
        display: none;
    }
	
	.hero {
        background-image: url("../img/gecko_start_600px.jpg");
        background-size: contain; /* Ensures the whole gecko fits without being cropped */
        background-attachment: scroll; /* Removes the fixed effect that causes the mobile zoom bug */
        background-position: center center; /* Centers the image nicely */
        background-repeat: no-repeat;
        height: 35vh; /* Gives it a better height for phone screens */
        min-height: 250px; /* Failsafe height */
        padding: 0;
    }
    .container header nav {
        margin: 0px;
        width: 100%;
        float: none;
        display: block; /* FIX: Unhid mobile menu */
        background: #00aade;
    }
    
    .text_column, .thumbnail, .thumbnail_3Spalter, .thumbnail_3Spalter_02 {
        width: 100%; /* FIX: Stacks columns on mobile */
        margin-top: 20px;
        margin-bottom: 20px;
        float: none;
    }

    .banner {
        background-image: none;
        background-color: #2D9AB7;
        height: auto;
        padding: 40px 20px;
    }

    .parallax {
        text-align: center;
        padding-top: 10%;
        width: 100%;
        font-size: 150%;
    }

    .parallax_description {
        width: 100%;
        margin-top: 20px;
        float: none;
        text-align: center;
    }
    
    .buttons_M, .buttons_R, .buttons_L {
        text-align: center;
    }

    .footer_column {
        width: 100%;
        padding: 20px 0;
    }
    
    .gallery_3Spalter_02 p {
        padding: 20px;
    }
    
    .slide { width: 180px; }
    .logo-track { width: calc(180px * 14); }
    
    @keyframes scroll {
        100% { transform: translateX(calc(-180px * 7)); }
    }
}

/* Small Desktops */
@media (min-width: 768px) and (max-width: 1096px) {
    .hero {
        background-image: url("../img/gecko_start_1096.jpg");
    }
    .thumbnail, .text_column {
        width: 50%;
    }
}