/* Variablen und Reset */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typografie */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--black);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--black);
    transition: width 0.5s var(--ease);
}

h2:hover::after {
    width: 100%;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: black;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--gray-900);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--gray-700);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    transition: all 0.4s var(--ease);
}

header.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--black);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--black);
    margin-left: 4px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s var(--ease);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--black);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--black);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(var(--gray-200), transparent 70%);
    opacity: 0.5;
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--black);
    transition: all 0.3s var(--ease);
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    color: var(--black);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: transform 0.5s var(--ease);
}

.about-image:hover {
    transform: rotate(0deg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(120%);
    transition: filter 0.5s var(--ease);
}

.about-image:hover img {
    filter: grayscale(50%) contrast(120%);
}

/* Sport Section */
.sport-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sport-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.sport-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--black);
    transition: height 0.4s var(--ease);
}

.sport-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.sport-card:hover::before {
    height: 100%;
}

.sport-card h3 {
    color: var(--black);
}

.sport-card p {
    color: var(--black);
}

.sport-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

#sport {
    background: var(--gray-50);
}

#contact {
    background: var(--gray-100);
}

.sport-media {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.sport-media video {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sport-media-content {
    flex: 1;
    min-width: 260px;
}

.sport-media-content h3 {
    margin-bottom: 1rem;
}

.sport-media-content p {
    margin-bottom: 1rem;
    color: var(--black);
}

/* Projects Section */
.project-groups {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.project-group {
    background: var(--white);
}

.project-header h3 {
    margin-bottom: 0.5rem;
    color: var(--black);
}

.project-header p {
    margin-bottom: 0;
    color: var(--gray-700);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 1.5rem;
}

.project-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 260px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    isolation: isolate;
}

.project-card.full-width {
    grid-column: 1 / -1;
    max-width: 480px;
    width: 100%;
    justify-self: center;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 30, 0.65);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.project-overlay h4 {
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

.project-overlay p {
    margin: 0;
    color: var(--gray-50);
}

.project-card:hover img {
    transform: scale(1.05);
    filter: grayscale(25%);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
}

#contact .section-heading p {
    text-align: center;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s var(--ease);
}

.contact-item:hover .contact-icon {
    background: var(--black);
    color: var(--white);
}

/* Footer */
footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--white);
}

.rights-note {
    margin-top: 1rem;
    color: var(--gray-400);
    line-height: 1.5;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

.social-links a:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s var(--ease);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sport-media {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sport-media video {
        max-width: 100%;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 4rem 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 3rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
}

.section-heading h2:hover::after {
    width: 150px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
