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

body {
    font-family: Calibri, Verdana, Arial, sans-serif;
    font-size: 17px;
    font-weight: 300;
    background-color: #f5f5f5;
    color: #333;
}

/* Header Styles */
#header {
    height: 617px;
    background: url('https://fitness-shop-dueren.de/images/bg_start.jpg') center top no-repeat fixed;
    position: relative;
    background-size: cover;
    animation: animatedBackground 60s linear infinite;
}

#header::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('https://fitness-shop-dueren.de/images/sport_figur.png') left bottom no-repeat;
    background-size: auto 100%;
    pointer-events: none;
    opacity: 0.8;
}

@keyframes animatedBackground {
    from { background-position: 0% 0; }
    to { background-position: 100% 0; }
}

.nav-bg {
    height: 100px;
    background: rgba(0, 0, 0, 0.8);
    position: relative;
}

.inside {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
}

.logo {
    width: 204px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 300;
    transition: color 0.2s ease-out;
    cursor: pointer;
}

nav ul li a:hover,
nav ul li a.active {
    color: #00ffff;
}

.welcome-fitness {
    text-align: center;
    padding-top: 220px;
}

.welcome-fitness h1 {
    color: #00ffff;
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
}

.welcome-fitness p {
    color: white;
    font-size: 24px;
    position: relative;
    margin-bottom: 10px;
}

/* Main Content */
#main {
    max-width: 997px;
    margin: -20px auto 40px;
    background: white;
    padding: 40px;
    /* box-shadow: 0 0 10px grey; */
    min-height: 400px;
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

h1 {
    color: #0056b9;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
}

h2 {
    color: #323232;
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 15px;
}

h3 {
    color: #0056b9;
    font-size: 20px;
    font-weight: 700;
    margin: 12px 0 14px;
}

p {
    line-height: 25px;
    margin-bottom: 15px;
}

/* Contact Info Simple */
.contact-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 0;
}

.contact-item-simple {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #0056b9;
}

.contact-item-simple h3 {
    color: #0056b9;
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 0;
}

.contact-item-simple p {
    line-height: 22px;
    margin-bottom: 0;
}

.contact-item-simple a {
    color: #0056b9;
    text-decoration: none;
    font-weight: 400;
}

.contact-item-simple a:hover {
    color: #00ffff;
}

/* Content Grid - Two Column Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin: 40px 0;
    align-items: start;
}

.partner-text h2 {
    margin-top: 0;
}

/* Opening Hours Box */
.opening-hours-box {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 5px;
    border-left: 4px solid #0056b9;
    height: fit-content;
}

.opening-hours-box h3 {
    color: #0056b9;
    font-size: 18px;
    margin-bottom: 20px;
    margin-top: 0;
}

.opening-hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.opening-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.opening-hours-list li:last-child {
    border-bottom: none;
}

.opening-hours-list .day {
    font-weight: 400;
    color: #323232;
}

.opening-hours-list .time {
    color: #0056b9;
    font-weight: 400;
}

.opening-hours-list .closed {
    color: #999;
    font-style: italic;
}

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.info-box {
    background: linear-gradient(to bottom, #f5f5f5, #e0e0e0);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-box h3 {
    color: #0056b9;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Contact Form Styles */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.contact-box {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 5px;
    border-left: 4px solid #00ffff;
}

.contact-box h3 {
    color: #0056b9;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.contact-box p {
    margin-bottom: 10px;
}

.contact-box a {
    color: #0056b9;
    text-decoration: none;
    font-weight: 400;
}

.contact-box a:hover {
    color: #00ffff;
}

/* Footer Styles */
#footer {
    background: #323232;
    padding: 40px 0;
    color: white;
    margin-top: 60px;
}

#footer .inside {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#footer nav ul {
    gap: 30px;
}

#footer nav ul li a {
    color: #00ffff;
    font-size: 15px;
}

#footer nav ul li a:hover {
    color: white;
}

.footer-info {
    color: #999;
    font-size: 14px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #header {
        height: 417px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }



    nav ul.active {
        display: flex;
    }

    .welcome-fitness {
        padding-top: 100px;
    }

    .welcome-fitness h1 {
        font-size: 36px;
    }

    .welcome-fitness p {
        font-size: 18px;
    }

    #main {
        margin: 20px;
        padding: 20px;
    }

    #footer .inside {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        width: 150px;
    }

    .contact-simple {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }

    .contact-item-simple {
        padding: 15px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .opening-hours-box {
        order: -1;
    }
}

@media (max-width: 480px) {
    .welcome-fitness h1 {
        font-size: 28px;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Privacy & Legal Styles */
.legal-section {
    margin-bottom: 30px;
}

.legal-section h3 {
    color: #0056b9;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
    line-height: 25px;
}

#home ul li {
    margin-bottom: 12px;
}

#home ul li strong {
    color: #0056b9;
}
