/* Layout und Grid System - Neues Design */

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background-black);
}

/* Header */
.header {
    flex-shrink: 0;
    padding: 5px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-divider {
    width: 100vw;
    height: 1px;
    background-color: var(--text-white);
    margin-top: 5px;
    margin-left: calc(-50vw + 50%);
}

/* Footer */
.footer {
    flex-shrink: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: var(--text-white);
}

.footer-logo {
    height: 30px;
    width: auto;
    opacity: 0.8;
    transition: opacity var(--transition-normal);
    margin: 7px 0 5px 0;
}

.footer-logo:hover {
    opacity: 1.0;
}

/* Responsive header/footer adjustments */
@media (min-width: 1025px) {
    .header {
        padding: 12px 0;
    }
    
    .footer {
        padding: 12px 0;
    }
    
    .footer-logo {
        height: 30px;
    }
}

@media (min-width: 901px) and (max-width: 1024px) {
    .header {
        padding: calc(0.8vh + 5px) 0;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .header {
        padding: calc(0.6vh + 5px) 0;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .header {
        padding: 5px 0;
    }
    
    .footer {
        padding: 5px 0;
    }
    
    .footer-logo {
        height: 25px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 2px 0;
    }
    
    .footer {
        padding: 2px 0;
    }
    
    .footer-logo {
        height: 25px;
    }
}

@media (max-width: 768px) and (orientation: landscape) and (max-height: 600px) {
    .header {
        padding: calc(0.4vh + 2px) 0;
    }
}

@media (min-width: 481px) and (max-width: 768px) and (orientation: landscape) and (max-height: 600px) {
    .header {
        padding: calc(0.5vh + 2px) 0;
    }
}

@media (max-width: 480px) and (orientation: landscape) and (max-height: 600px) {
    .header {
        padding: 2px 0;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .footer {
        display: none;
    }
}

@media (max-height: 400px) {
    .footer {
        display: none;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0;
    width: 100%;
}

/* Downloads Section */
.downloads-section {
    padding: var(--space-10);
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Visibility Utilities */
.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}