/* 
   ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLES
   Project: Tennisclub am Silbersee Weyhausen
   Color Scheme: Glacier Light Blue & Silver Metallic
   ========================================================================== 
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --color-bg-main: #f3f7fa;
    --color-bg-alt: #e9f1f7;
    --color-bg-card: rgba(255, 255, 255, 0.75);
    
    --color-silver-light: #f1f5f9;
    --color-silver-med: #cbd5e1;
    --color-silver-dark: #64748b;
    
    --color-blue-light: #e0f2fe;
    --color-blue-brand: #0ea5e9;
    --color-blue-hover: #0284c7;
    --color-blue-dark: #0369a1;
    --color-blue-glow: rgba(14, 165, 233, 0.25);
    
    --color-text-primary: #0f172a;
    --color-text-secondary: #334155;
    --color-text-muted: #64748b;
    --color-white: #ffffff;
    
    /* Borders & Outlines */
    --border-glass: 1px solid rgba(255, 255, 255, 0.6);
    --border-silver: 1px solid rgba(203, 213, 225, 0.5);
    --border-blue: 1px solid rgba(14, 165, 233, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    --shadow-blue: 0 10px 25px rgba(14, 165, 233, 0.15);
    --shadow-silver-glow: 0 8px 32px 0 rgba(148, 163, 184, 0.2);
    
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Transition speeds */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing & Sizes */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --header-height: 80px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text-primary);
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

/* ==========================================================================
   SCROLLBAR & UTILITIES
   ========================================================================== */

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}
::-webkit-scrollbar-thumb {
    background: var(--color-silver-med);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-silver-dark);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-blue-hover) 0%, var(--color-silver-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-metallic-silver {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-silver-light) 50%, var(--color-silver-med) 100%);
}

.bg-light-blue-gradient {
    background: linear-gradient(135deg, var(--color-blue-light) 0%, #f0fdf4 100%);
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-glass);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.glass-card:hover {
    box-shadow: var(--shadow-lg), var(--shadow-silver-glow);
    border-color: rgba(14, 165, 233, 0.15);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-blue-brand);
    margin-bottom: 12px;
    display: inline-block;
    background: rgba(14, 165, 233, 0.08);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: var(--border-blue);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .section-header {
        margin-bottom: 40px;
    }
}

/* Elegant Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    font-family: var(--font-heading);
    gap: 8px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-blue-brand) 0%, var(--color-blue-hover) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-blue);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.35);
    background: linear-gradient(135deg, var(--color-blue-hover) 0%, var(--color-blue-dark) 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, var(--color-silver-light) 100%);
    color: var(--color-text-primary);
    border: var(--border-silver);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-silver-glow);
    border-color: var(--color-silver-med);
}

.btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background: rgba(243, 247, 250, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: var(--border-glass);
    box-shadow: var(--shadow-sm);
}

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

/* Elegant Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--color-text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-blue-light) 50%, var(--color-silver-med) 100%);
    border: var(--border-glass);
    box-shadow: var(--shadow-sm);
    color: var(--color-blue-brand);
    position: relative;
    overflow: hidden;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    z-index: 2;
    transition: var(--transition-normal);
}

.logo:hover .logo-icon svg {
    transform: rotate(15deg) scale(1.1);
    color: var(--color-blue-hover);
}

.logo-text span {
    font-weight: 400;
    font-size: 0.85rem;
    display: block;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: -2px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-blue-brand) 0%, var(--color-silver-dark) 100%);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-blue-brand);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-blue-brand);
}

/* Burger Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    cursor: pointer;
    z-index: 1100;
}

.nav-toggle span {
    width: 100%;
    height: 2.5px;
    background-color: var(--color-text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

/* Hamburger transition to 'X' */
.nav-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        z-index: 1050;
        border-left: var(--border-glass);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 40px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, var(--color-blue-light) 0%, transparent 45%),
                radial-gradient(circle at 10% 80%, rgba(203, 213, 225, 0.35) 0%, transparent 40%),
                var(--color-bg-main);
    overflow: hidden;
}

/* Background Lake & Court aesthetic overlays */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(255,255,255,0.9) 20%, rgba(224, 242, 254, 0.25) 100%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-lake-vector {
    position: absolute;
    right: -5%;
    bottom: -10%;
    width: 60%;
    height: 80%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    color: var(--color-blue-brand);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 5;
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-blue-light) 100%);
    border: var(--border-blue);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-blue-dark);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--color-blue-brand);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s ease;
}

.hero-title span {
    display: block;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

/* Elegant visual graphic on the right */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-tennis-shield {
    width: 100%;
    max-width: 400px;
    height: 440px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(224, 242, 254, 0.3) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-glass);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(14, 165, 233, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
    overflow: hidden;
}

.hero-tennis-shield::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.shield-graphic {
    width: 140px;
    height: 140px;
    color: var(--color-blue-brand);
    z-index: 2;
    margin-bottom: 24px;
}

.shield-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    z-index: 2;
    letter-spacing: -0.01em;
}

.shield-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 20px;
    z-index: 2;
}

.shield-stats {
    display: flex;
    justify-content: space-around;
    width: 100%;
    border-top: var(--border-silver);
    padding-top: 20px;
    z-index: 2;
}

.stat-item {
    text-align: center;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-blue-brand);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .hero {
        padding-top: var(--header-height);
        min-height: auto;
        padding-bottom: 80px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero::before {
        width: 100%;
        clip-path: none;
        opacity: 0.9;
    }
    .hero-visual {
        max-width: 320px;
        margin: 0 auto;
    }
    .hero-tennis-shield {
        height: 380px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-badge {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   ÜBER UNS (ABOUT US)
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-box {
    padding: 32px;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-blue-light) 0%, #ffffff 100%);
    border: var(--border-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-blue-brand);
}

.feature-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.about-intro-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.about-text {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-list {
    margin-bottom: 32px;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.about-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-blue-brand);
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-features {
        order: 2;
    }
    .about-content {
        order: 1;
    }
}

@media (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   VERANSTALTUNGSKALENDER (EVENT CALENDAR)
   ========================================================================== */

.calendar-section {
    background-color: var(--color-bg-alt);
    position: relative;
}

.calendar-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border: var(--border-silver);
    background: var(--color-white);
    color: var(--color-text-secondary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.filter-btn:hover {
    border-color: var(--color-blue-brand);
    color: var(--color-blue-brand);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-blue-brand) 0%, var(--color-blue-hover) 100%);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: var(--shadow-blue);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.event-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.event-header {
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--color-blue-light) 0%, rgba(224, 242, 254, 0.4) 100%);
    border-bottom: var(--border-silver);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: var(--border-blue);
    border-radius: 12px;
    width: 60px;
    height: 64px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.event-day {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-blue-brand);
}

.event-month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.event-category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--color-white);
    border: var(--border-silver);
    color: var(--color-text-secondary);
}

/* Category colors */
.event-card[data-category="turnier"] .event-category {
    background: #fef3c7;
    color: #b45309;
    border-color: #fde68a;
}
.event-card[data-category="verein"] .event-category {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}
.event-card[data-category="jugend"] .event-category {
    background: #dcfce7;
    color: #15803d;
    border-color: #bbf7d0;
}

.event-body {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.event-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: var(--border-silver);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--color-blue-brand);
}

@media (max-width: 480px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    .event-body {
        padding: 24px;
    }
    .event-header {
        padding: 16px 24px;
    }
}

/* ==========================================================================
   MITGLIEDSCHAFT & RECHNER (MEMBERSHIP & CALCULATOR)
   ========================================================================== */

.membership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.membership-intro-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.membership-intro-text {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

/* Calculator Style */
.calc-card {
    padding: 40px;
}

.calc-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 800;
}

.calc-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.calc-form-group {
    margin-bottom: 28px;
}

.calc-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.calc-select {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: var(--border-silver);
    background-color: var(--color-white);
    color: var(--color-text-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

.calc-select:focus {
    border-color: var(--color-blue-brand);
    box-shadow: 0 0 0 4px var(--color-blue-glow);
}

.calc-switch-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: var(--color-text-secondary);
    user-select: none;
}

.calc-checkbox {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: var(--border-silver);
    background-color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.calc-checkbox::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked + .calc-checkbox {
    background-color: var(--color-blue-brand);
    border-color: var(--color-blue-brand);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

input[type="checkbox"]:checked + .calc-checkbox::after {
    opacity: 1;
}

/* Result box */
.calc-result-box {
    margin-top: 36px;
    padding: 24px;
    background: linear-gradient(135deg, var(--color-blue-light) 0%, rgba(224, 242, 254, 0.3) 100%);
    border-radius: var(--radius-md);
    border: var(--border-blue);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.calc-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-blue-dark);
    line-height: 1;
    margin: 8px 0;
}

.calc-price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.calc-price-lbl {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-save-badge {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-top: 8px;
    border: 1px solid #bbf7d0;
}

/* Plan Cards (Right side or bottom depending on screen) */
.plan-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.plan-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
}

.plan-info h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.plan-info p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.plan-price-wrapper {
    text-align: right;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-blue-dark);
}

.plan-price span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

@media (max-width: 992px) {
    .membership-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 576px) {
    .calc-card {
        padding: 24px;
    }
    .plan-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }
    .plan-price-wrapper {
        text-align: center;
    }
}

/* ==========================================================================
   BILDERGALERIE (GALLERY)
   ========================================================================== */

.gallery-section {
    background-color: var(--color-bg-alt);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: var(--border-glass);
}

.gallery-img-container {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

/* Using beautiful CSS generated visuals instead of external broken placeholders */
.gallery-img-container.img-courts {
    /*background-image: linear-gradient(135deg, rgba(2, 132, 199, 0.45) 0%, rgba(3, 105, 161, 0.7) 100%), 
                      repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.15) 40px, rgba(255,255,255,0.15) 42px),
                      radial-gradient(ellipse at center, #64748b 0%, #0f172a 100%);*/
    background-image: url("Bilder/20260522_093904.jpg");
    background-size: cover;
    background-position: center;
}

.gallery-img-container.img-lake {
    /*background-image: linear-gradient(180deg, rgba(14, 165, 233, 0.2) 0%, rgba(15, 23, 42, 0.8) 100%),
                      radial-gradient(circle at 50% 30%, #e2e8f0 0%, #94a3b8 40%, #0f172a 100%);*/
    background-image: url(Bilder/20260501_141235.jpg)
}

.gallery-img-container.img-clubhouse {
    /*background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.85) 100%),
                      repeating-linear-gradient(45deg, #cbd5e1 0px, #cbd5e1 10px, #94a3b8 10px, #94a3b8 20px);*/
    background-image: url(Bilder/20260501_141259.jpg)
}

.gallery-img-container.img-tournament {
    /*background-image: linear-gradient(135deg, rgba(2, 132, 199, 0.5) 0%, rgba(15, 23, 42, 0.85) 100%),
                      radial-gradient(circle at 80% 20%, #e0f2fe 0%, #cbd5e1 100%);*/
    background-image: url(Bilder/20260501_141343.jpg)
}

.gallery-img-container.img-youth {
    background-image: linear-gradient(135deg, rgba(14, 165, 233, 0.4) 0%, rgba(3, 105, 161, 0.8) 100%),
                      repeating-linear-gradient(-45deg, #94a3b8 0px, #94a3b8 5px, #64748b 5px, #64748b 10px);
}

.gallery-img-container.img-lake-view {
    background-image: linear-gradient(135deg, rgba(224, 242, 254, 0.3) 0%, rgba(15, 23, 42, 0.8) 100%),
                      radial-gradient(ellipse at 50% 80%, #bae6fd 0%, #0ea5e9 60%, #0369a1 100%);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.1) 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.gallery-item:hover .gallery-img-container {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-info p {
    color: var(--color-blue-light);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Interactive Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: var(--border-glass);
}

.lightbox-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    border: var(--border-glass);
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: var(--color-white);
}

.lightbox-caption h4 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.lightbox-caption p {
    color: var(--color-silver-med);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .lightbox-close {
        top: 16px;
        right: 16px;
        z-index: 10;
        background: rgba(15, 23, 42, 0.6);
    }
}

/* ==========================================================================
   KONTAKT & ANFAHRT (CONTACT & LOCATION)
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
}

.contact-card {
    padding: 48px;
}

.contact-card h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    font-weight: 800;
}

.contact-card p {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-full {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: var(--border-silver);
    background-color: var(--color-white);
    color: var(--color-text-primary);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-input:focus {
    border-color: var(--color-blue-brand);
    box-shadow: 0 0 0 4px var(--color-blue-glow);
    background-color: var(--color-white);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item-box {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-blue-light) 0%, #ffffff 100%);
    border: var(--border-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue-brand);
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.info-content p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.info-content a:hover {
    color: var(--color-blue-brand);
}

/* Beautiful Interactive Map Placeholder */
.map-placeholder {
    height: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: var(--border-silver);
    box-shadow: var(--shadow-sm);
    position: relative;
    /* Clean vector grid background to simulate a stylish map */
    background-color: #f1f5f9;
    background-image: 
        radial-gradient(circle at 60% 50%, rgba(14, 165, 233, 0.1) 0%, rgba(14, 165, 233, 0.2) 60%, transparent 100%),
        radial-gradient(circle at 20% 80%, #bae6fd 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(148,163,184,0.1) 19px, rgba(148,163,184,0.1) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(148,163,184,0.1) 19px, rgba(148,163,184,0.1) 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.map-pin {
    width: 54px;
    height: 54px;
    color: #ef4444;
    filter: drop-shadow(0 4px 10px rgba(239, 68, 68, 0.3));
    margin-bottom: 12px;
    animation: pinBounce 2s ease-in-out infinite;
}

@keyframes pinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.map-lbl {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-primary);
}

.map-sublbl {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-blue-brand);
    background: var(--color-white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: var(--border-silver);
    box-shadow: var(--shadow-sm);
}

.map-link:hover {
    color: var(--color-blue-hover);
    border-color: var(--color-blue-brand);
    box-shadow: var(--shadow-md);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 576px) {
    .contact-card {
        padding: 24px;
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .form-group-full {
        grid-column: span 1;
    }
}

/* Interactive Success Modal overlay */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.success-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.success-modal {
    padding: 48px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.success-modal-overlay.open .success-modal {
    transform: scale(1);
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background-color: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid #bbf7d0;
}

.success-icon svg {
    width: 36px;
    height: 36px;
}

.success-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.success-desc {
    color: var(--color-text-secondary);
    margin-bottom: 28px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--color-white);
    margin-bottom: 24px;
}

.footer-logo .logo-text span {
    color: #64748b;
}

.footer-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background-color: var(--color-blue-brand);
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-title {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-blue-brand);
    transform: translateX(4px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.95rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-blue-brand);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-link:hover {
    color: var(--color-blue-brand);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
/*History*/
.picture-frame {
    width: 100%;
    max-width: 500px;
    height: 879px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(224, 242, 254, 0.3) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-glass);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(14, 165, 233, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 32px;
    overflow: hidden;
}