/*=============================================
  CSS VARIABLES & SETUP
=============================================*/
:root {
    /* Colors */
    --bg-color: #0d0f13;
    --bg-darker: #08090b;
    --card-bg: #15181e;
    --text-main: #f0f0f5;
    --text-muted: #9ba0af;

    /* Neon Tennis Accent (Green/Yellow) */
    --accent: #ccff00;
    --accent-hover: #e0ff4d;
    --accent-glow: rgba(204, 255, 0, 0.4);

    --border-color: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for fixed header */
}

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

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

ul {
    list-style: none;
}

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

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

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.highlight {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.bg-darker {
    background-color: var(--bg-darker);
}

/*=============================================
  BUTTONS
=============================================*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
    background-color: var(--card-bg);
    color: #fff;
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline:hover {
    background-color: rgba(204, 255, 0, 0.1);
    box-shadow: 0 0 15px var(--accent-glow);
}

.full-width {
    width: 100%;
}

/*=============================================
  NAVIGATION (HEADER)
=============================================*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color var(--transition-normal), padding var(--transition-normal);
    background: rgba(13, 15, 19, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(13, 15, 19, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
    display: flex;
    flex-direction: column;
    color: var(--text-main);
    line-height: 1;
    transition: transform var(--transition-fast);
}

.brand-logo:hover {
    transform: scale(1.02);
}

.brand-top {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: font-size var(--transition-normal);
}

.brand-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    transition: margin var(--transition-normal);
}

.brand-city {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent);
    /* Tennis-Neon-Grün als Highlight */
    transition: font-size var(--transition-normal);
}

.brand-name {
    display: flex;
    flex-direction: column;
    font-size: 0.65rem;
    font-weight: 300;
    padding: 3px 6px;
    position: relative;
    color: var(--text-main);
    transition: all var(--transition-normal);
}

.brand-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--text-main);
    border-left: 1px solid var(--text-main);
}

.brand-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 6px;
    height: 6px;
    border-bottom: 1px solid var(--text-main);
    border-right: 1px solid var(--text-main);
}

/* Scroll Animation */
.navbar.scrolled .brand-top,
.navbar.scrolled .brand-city {
    font-size: 1.1rem;
}

.navbar.scrolled .brand-bottom {
    margin-top: 2px;
}

.navbar.scrolled .brand-name {
    font-size: 0.6rem;
    padding: 2px 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-main);
    position: relative;
}

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

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

.nav-link:hover {
    color: white;
}

/* Burger Menu for Mobile */
.burger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.burger-menu .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all var(--transition-normal);
    border-radius: 2px;
}

.burger-menu .bar:nth-child(1) {
    top: 0;
}

.burger-menu .bar:nth-child(2) {
    top: 11px;
}

.burger-menu .bar:nth-child(3) {
    top: 22px;
}

/* Burger Active State */
.burger-menu.active .bar:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.burger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .bar:nth-child(3) {
    transform: rotate(-45deg);
    top: 11px;
}

/*=============================================
  HERO SECTION
=============================================*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: radial-gradient(circle at center, rgba(30, 35, 45, 0.4) 0%, var(--bg-color) 70%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom, rgba(13, 15, 19, 0.8), rgba(13, 15, 19, 1)), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}



/*=============================================
  GRID & CARDS
=============================================*/
.grid {
    display: grid;
    gap: 30px;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(204, 255, 0, 0.3);
}

.card:hover .card-icon {
    background: rgba(204, 255, 0, 0.1);
    color: var(--accent);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent);
    stroke-width: 2.2px;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

/*=============================================
  PRICING SECTION
=============================================*/
.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.1);
}

.ribbon {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--accent);
    color: #000;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(204, 255, 0, 0.4);
}

.pricing-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.string-name {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 8px;
}

.string-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.pricing-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.price-row span {
    font-size: 0.9rem;
    color: var(--text-main);
}

.price-sm {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-top: 10px;
}

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

.pricing-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
}

/*=============================================
  ABOUT SECTION
=============================================*/
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.main-img {
    aspect-ratio: 4/3.5;
    object-position: center 65%;
}

.sub-img {
    aspect-ratio: 16/9;
}

.about-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.about-buttons .btn {
    text-align: center;
}

/*=============================================
  TESTIMONIALS SECTION
=============================================*/
.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.stars {
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--accent-glow);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    color: #fff;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.google-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.google-link:hover {
    color: var(--accent);
}

/*=============================================
  FOOTER
=============================================*/
.footer {
    background-color: #060709;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
    align-items: stretch;
    /* Ensures all cards stretch to same height */
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition-normal);
    height: 100%;
    /* Fill the grid cell */
}

/* Common Header Style */
.contact-card .card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-card .card-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    transition: all var(--transition-normal);
}

.contact-card h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
    /* Pushes button to the bottom */
}

/* Primary Focus: Call */
.primary-contact {
    background: rgba(204, 255, 0, 0.03);
    border: 1px solid rgba(204, 255, 0, 0.2);
    position: relative;
    z-index: 2;
    transform: scale(1.03);
    /* Subtle scale for unity */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.primary-contact .card-icon {
    background: var(--accent);
    box-shadow: 0 4px 15px rgba(204, 255, 0, 0.3);
}

.primary-contact .card-icon svg {
    color: #000;
}

.primary-contact:hover {
    transform: scale(1.06) translateY(-5px);
    border-color: var(--accent);
}

/* Button Uniformity */
.contact-card .btn {
    width: 100%;
    padding: 14px 20px;
    font-weight: 600;
    border-radius: 12px;
}

.btn-whatsapp-secondary {
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
    background: rgba(37, 211, 102, 0.03);
}

.btn-whatsapp-secondary:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.btn-email-outline {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    background: transparent;
}

.btn-email-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(204, 255, 0, 0.05);
}

.address-box {
    margin-top: 60px;
    padding: 25px 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.address-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.address-text p {
    margin: 0;
}

.address-text a {
    color: var(--text-muted);
}

.address-text a:hover {
    color: var(--accent);
}

.footer {
    padding: 60px 0 40px;
    background-color: #0b0d10;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-links ul {
    display: flex;
    gap: 30px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/*=============================================
  ANIMATIONS
=============================================*/
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/*=============================================
  RESPONSIVE (MOBILE FIRST -> TABLET/DESKTOP)
=============================================*/
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(13, 15, 19, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        gap: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-grid {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links ul {
        justify-content: center;
    }

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

    .primary-contact {
        transform: none;
        padding: 40px 30px;
        order: -1;
        /* Call always on top on mobile */
    }

    .primary-contact:hover {
        transform: translateY(-5px);
    }

    .address-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 60px 0;
    }

    .card {
        padding: 30px 20px;
    }

    .brand-top,
    .brand-city {
        font-size: 1.1rem;
    }

    .brand-name {
        font-size: 0.55rem;
        padding: 2px 4px;
    }

    .navbar.scrolled .brand-top,
    .navbar.scrolled .brand-city {
        font-size: 1.05rem;
    }
}