/* 
   BGM Rheinland-Pfalz Stylesheet
   CI-Farben: Weiß (#FFFFFF) & Blau (#005FAE)
   Schrift: Inter
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Modern Corporate Color Palette */
    --primary: #1d4373;
    --primary-light: #385d8c;
    --primary-dark: #112945;
    --secondary: #6c757d;
    --accent: #4CAF50;
    --accent-light: #7cc97f;
    --accent-dark: #388e3c;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --white: #ffffff;
    --black: #121212;
    --gray: #f8f9fa;
    --gray-light: #f5f5f5;
    --gray-dark: #e0e0e0;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #95a5a6;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    
    /* Components */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --box-shadow-hover: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--gray-light);
    font-size: 16px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.section {
    padding: var(--space-lg) 0;
}

.section-title {
    margin-bottom: var(--space-lg);
    position: relative;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    height: 4px;
    width: 80px;
    background: var(--accent);
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typografie */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* Links und Buttons */
.studio-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.studio-link:hover {
    color: var(--primary-dark);
}

.studio-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.studio-link:hover::after {
    width: 100%;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.12);
}

.cta-button.primary {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.cta-button.primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
    z-index: -1;
}

.cta-button.primary:hover:before {
    left: 100%;
    transition: 0.7s;
}

.cta-button.primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
    z-index: 1;
}

.cta-button.secondary:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary);
    transition: var(--transition);
    z-index: -1;
}

.cta-button.secondary:hover:after {
    width: 100%;
}

.cta-button.secondary:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.cta-button i {
    margin-right: 8px;
    font-size: 1.1em;
}

.cta-button.with-icon {
    padding-right: 24px;
}

.cta-button.mini {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header und Navigation */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.8rem 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    padding: 0.5rem 0;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo img {
    max-height: 38px; /* Logo stärker verkleinert */
    width: auto !important; /* HTML width-Attribut überschreiben */
    transition: transform 0.2s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav .nav-list li {
    margin-left: 1.5rem;
}

.main-nav .nav-list a {
    color: var(--dark-gray);
    position: relative;
    padding: 0.5rem 0;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
    color: var(--primary);
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav .nav-list a:hover::after,
.main-nav .nav-list a.active::after {
    width: 100%;
}

.main-nav .nav-list a {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease, transform 0.2s ease;
}

.main-nav .nav-list a:hover {
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -8px;
}

.hamburger::after {
    content: '';
    bottom: -8px;
}

/* Main Content Anpassung für Fixed Header */
main {
    margin-top: 76px; /* Höhe des Headers */
}

/* Hero-Sektion */
.hero {
    background-image: linear-gradient(to right, rgba(29, 67, 115, 0.8), rgba(29, 67, 115, 0.6), rgba(0, 0, 0, 0.4)), url('../images/modern/photo-1576091160550-2173dba999ef.avif');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 10rem 0 12rem;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero * {
    color: var(--white) !important;
}

.hero:before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--gray-light);
    clip-path: ellipse(50% 60px at 50% 60px);
    z-index: 2;
}

.hero .container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 var(--space-lg);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: var(--white);
    position: relative;
    display: inline-block;
}

.hero h1:after {
    content: '';
    display: block;
    height: 4px;
    width: 80px;
    background: var(--accent-light);
    margin: var(--space-xs) auto 0;
    border-radius: 2px;
}

.hero h2 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.hero .cta-button {
    color: var(--white);
}

/* Proof-Bar */
.proof-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 3rem 0;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.proof-item {
    display: flex;
    flex-direction: column;
}

.proof-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.proof-text {
    font-size: 1rem;
}

/* USP-S/* Features */
.features {
    padding: 5rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.feature-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.card-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary-dark);
}

.card-link:hover i {
    transform: translateX(4px);
}

.card-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.card-link:hover:after {
    width: 100%;
}

.usp-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Benutzerdefinierte/* Card Styles - Modern Design */
.custom-map-marker {
    display: flex;
    justify-content: center;
    align-items: center;
}

.marker-pin {
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    background-color: var(--primary);
    transform: rotate(-45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.marker-logo {
    width: 18px;
    height: 18px;
    background-image: url('../images/FusionFitness_2024.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    transform: rotate(45deg);
}

.card-icon,
.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .partner-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-nav li {
        flex: 1 1 auto;
        text-align: center;
        padding: 0.8rem;
    }
    
    .partner-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button-group {
        flex-direction: column;
    }
}

/* Footer */
.main-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background-color: var(--white);
    border-radius: 0 0 50% 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col p {
    margin-bottom: 1.5rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 0.5rem;
}

.footer-nav ul li a {
    color: var(--mid-gray);
}

.footer-nav ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--white);
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

address {
    font-style: normal;
    line-height: 1.6;
}

address a {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: 0 5px 10px var(--shadow);
        padding: 1rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
    }
    
    .main-nav.active .nav-list {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        height: auto;
    }
    
    .main-nav .nav-list li {
        margin: 0;
        text-align: center;
    }
    
    .main-nav .nav-list a {
        display: block;
        padding: 0.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .proof-bar {
        padding: 2rem 0;
    }
    
    .proof-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .proof-number {
        font-size: 2rem;
    }
    
    .usp-section,
    .comparison-section,
    .location-map,
    .cta-section {
        padding: 3rem 0;
    }
}
