/* Reset und Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Univers LT', Arial, sans-serif;
    font-weight: 300;
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    z-index: 100;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-logo {
    width: 120px;
    height: auto;
    display: block;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: #7a7a7a;
    transition: all 0.3s ease;
}

.burger-menu:hover span {
    background-color: #333;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 200;
    overflow-y: auto;
}

.mobile-overlay.active {
    right: 0;
}

/* Close Button (X) */
.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.close-menu span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #7a7a7a;
    top: 50%;
    left: 0;
    transition: all 0.3s ease;
}

.close-menu span:first-child {
    transform: rotate(45deg);
}

.close-menu span:last-child {
    transform: rotate(-45deg);
}

.close-menu:hover span {
    background-color: #333;
}

/* Mobile Overlay Content */
.mobile-overlay-content {
    padding: 80px 30px 40px;
    text-align: left;
}

.mobile-overlay-content .logo {
    margin-bottom: 30px;
    text-align: left;
}

.mobile-overlay-content .logo img {
    width: 160px;
    height: auto;
    display: block;
    margin-left: -5px;
}

.mobile-overlay-content .contact-info {
    color: #7a7a7a;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.mobile-overlay-content .company-name {
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 10px;
    color: #7a7a7a;
}

.mobile-overlay-content .phone {
    margin-top: 15px;
    font-weight: 300;
}

.mobile-overlay-content .email {
    font-weight: 300;
}

.mobile-overlay-content .email a {
    color: #7a7a7a;
    text-decoration: none;
}

.mobile-overlay-content .legal-links {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 16px;
    text-align: left;
}

.mobile-overlay-content .legal-links a {
    color: #7a7a7a;
    text-decoration: none;
}

.mobile-overlay-content .separator {
    margin: 0 10px;
    color: #7a7a7a;
}

/* Hintergrund-Container */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.3s ease-in-out;
}

.background-layer.active {
    opacity: 1;
}

.background-layer.inactive {
    opacity: 0;
}

/* Content Wrapper */
.content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    padding-left: 60px;
}

/* Infobox */
.info-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 70px 30px 35px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: left;
    max-width: 310px;
    width: auto;
}

/* Logo */
.logo {
    margin-bottom: 30px;
    text-align: left;
}

.logo img {
    width: 160px;
    height: auto;
    display: block;
    margin-left: -5px;
}

/* Kontaktinformationen */
.contact-info {
    color: #7a7a7a;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.company-name {
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 10px;
    color: #7a7a7a;
}

.phone {
    margin-top: 15px;
    font-weight: 300;
}

.email {
    font-weight: 300;
}

.email a {
    color: #7a7a7a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email a:hover {
    color: #7a7a7a;
}

/* Legal Links */
.legal-links {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 16px;
    text-align: left;
}

.legal-links a {
    color: #7a7a7a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #7a7a7a;
}

.separator {
    margin: 0 10px;
    color: #7a7a7a;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Desktop Box verstecken */
    .content-wrapper {
        display: none;
    }

    /* Mobile Header anzeigen */
    .mobile-header {
        display: flex;
    }

    /* Burger Menu anzeigen */
    .burger-menu {
        display: flex;
    }

    /* Mobile Overlay aktivieren */
    .mobile-overlay {
        display: block;
    }
}
