/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: #4da6ff;
}

.cookie-btn {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}

.cookie-btn:hover {
    background-color: #218838;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    background-image: url('../data/Hintergrundbildmassage.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    padding: 40px;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #000;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-content p {
    font-size: 20px;
    color: #fff;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    color: #0066cc;
    font-size: 32px;
    margin-bottom: 5px;
}

.logo .subtitle {
    color: #666;
    font-size: 14px;
}

.logo-img {
    max-height: 80px;
    height: auto;
    width: auto;
    display: block;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.navigation a {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.navigation a:hover {
    color: #0066cc;
    text-decoration: none;
}

/* Language Flags */
.language-flags {
    display: flex;
    gap: 15px;
    align-items: center;
}

.flag {
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s, opacity 0.3s;
    opacity: 0.6;
    border-radius: 3px;
    display: block;
}

.flag:hover {
    transform: scale(1.2);
    opacity: 1;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}

.flag.active {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.4);
}

/* Dropdown Menu */
.dropdown-parent {
    position: relative;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    min-width: 200px;
    padding: 10px 0;
    display: none;
    z-index: 1000;
}

.dropdown-parent:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 13px;
    text-transform: none;
    transition: background-color 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #0066cc;
    text-decoration: none;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #0066cc;
    text-align: center;
}

.section-title {
    display: block;
    width: 100%;
    text-align: center;
    color: #000;
    font-size: 36px;
    font-weight: bold;
    margin: 0 auto 60px;
    padding-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #000;
}

/* Kontakt Section */
.kontakt-section {
    background-color: #fff;
    text-align: center;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.kontakt-card {
    background-color: transparent;
    padding: 0;
    text-align: center;
}

.location-icon {
    margin: 0 auto 20px;
    width: 60px;
    height: 80px;
}

.location-icon svg {
    width: 100%;
    height: 100%;
}

.kontakt-card h3 {
    color: #000;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.kontakt-card .address {
    margin: 5px 0;
    font-size: 16px;
    line-height: 1.5;
}

.kontakt-card p {
    margin: 8px 0;
    font-size: 16px;
}

.kontakt-card strong {
    font-weight: 600;
}

.kontakt-card a {
    color: #ff6b6b;
}

.termin-btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    display: inline-block;
    background-color: transparent;
    color: #ff6b6b;
    padding: 15px 40px;
    font-size: 20px;
    border: none;
    font-weight: normal;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Leistungen Section */
.leistungen-section {
    background-color: #f8f9fa;
}

/* Akkordeon */
.accordion {
    margin: 30px 0;
}

.accordion-item {
    margin-bottom: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 18px 20px;
    background-color: #f8f9fa;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #e9ecef;
    color: #0066cc;
}

.accordion-header::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header {
    background-color: #0066cc;
    color: #fff;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 20px;
    background-color: #fff;
    line-height: 1.8;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-content ul {
    list-style: none;
    padding-left: 0;
}

.accordion-content li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.accordion-content li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.accordion-content p {
    margin: 12px 0;
    color: #555;
}

/* Sportphysio Section */
.sportphysio-section {
    margin: 60px 0;
}

.sportphysio-background {
    position: relative;
    height: 500px;
    background-image: url('../data/footballhintergrund.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.sportphysio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.sportphysio-content {
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.sportphysio-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #0066cc;
    font-weight: bold;
}

.sportphysio-content p {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .sportphysio-background {
        height: 350px;
    }
    
    .sportphysio-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .sportphysio-content h2 {
        font-size: 26px;
    }
    
    .sportphysio-content p {
        font-size: 14px;
    }
}

/* Sportphysio Section */

/* Sportphysio Section */

/* Weitere Leistungen */
.weitere-leistungen {
    margin-top: 50px;
}

.weitere-leistungen h2 {
    text-align: center;
    margin-bottom: 40px;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.leistung-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #90c695;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
}
}

/* Wellness Section */
.wellness-section {
    background-color: #fff;
}

.wellness-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 30px;
}

.wellness-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* Partner Section */
.partner-section {
    background-color: #f8f9fa;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    min-height: 150px;
}

.partner-link img {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
}

.modal-close:hover {
    color: #000;
}

.modal-content h2 {
    color: #000;
    font-size: 28px;
    margin: 0 0 30px 0;
    text-align: center;
}

/* Form Styling */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-group input,
.radio-group input {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

textarea,
input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #333;
}

/* Jobs Modal */
.jobs-modal-content {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.jobs-container {
    margin-top: 30px;
}

.job-item {
    background-color: #f8f9fa;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-bottom: 2px solid #000;
}

.job-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.job-item h3 {
    color: #000;
    margin-bottom: 15px;
    font-size: 20px;
}

.job-item p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.job-item ul {
    margin: 10px 0 15px 20px;
    line-height: 1.8;
}

.job-item ul li {
    margin-bottom: 8px;
}

.job-item a {
    color: #0066cc;
    text-decoration: none;
}

.job-item a:hover {
    text-decoration: underline;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        max-width: 95%;
    }

    .modal-content h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }
}

/* Footer */

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #fff;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    background-color: #333;
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.scroll-to-top span {
    line-height: 1;
}

.footer-links a:hover {
    color: #4da6ff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .navigation ul {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .language-flags {
        margin-top: 15px;
        justify-content: center;
    }

    .logo h1 {
        font-size: 28px;
    }

    section h2 {
        font-size: 26px;
    }

    .footer .container {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .kontakt-grid,
    .leistungen-grid,
    .partner-grid {
        grid-template-columns: 1fr;
    }
}
