/* ===========================
   Sportwoche 2026 - Styles
   =========================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 0;
}

.header-banner {
    position: relative;
    background: linear-gradient(135deg, #6DB846 0%, #5a9c38 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    padding: 40px 0 60px;
    overflow: hidden;
}

.header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('17.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
}

.header-banner .container {
    position: relative;
    z-index: 1;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo-container {
    flex-shrink: 0;
}

.header-logo {
    width: 140px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.header-top h1 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: #1a1a1a;
    text-transform: uppercase;
}

.header-main h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 15px;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 2px;
    opacity: 0.95;
    font-weight: 300;
}

/* Quick Info Bar */
.quick-info {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quick-info .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    font-size: 2.5rem;
    color: #6DB846;
}

.info-item strong {
    color: #1a1a1a;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Navigation */
.nav {
    background: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

.nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    background: #2d2d2d;
    border-bottom-color: #6DB846;
    color: #6DB846;
}

/* Sections */
.section {
    padding: 30px 0;
}

.section-alt {
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6DB846, #5a9c38);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(109, 184, 70, 0.3);
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* Day Cards */
.day-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border-left: 5px solid transparent;
    opacity: 1;
}

.day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(109, 184, 70, 0.25);
    border-left-color: #6DB846;
}

.day-header {
    background: linear-gradient(135deg, #6DB846 0%, #5a9c38 100%);
    color: white;
    padding: 20px 30px;
}

.day-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.day-content {
    padding: 30px;
}

.event {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.event:last-child {
    border-bottom: none;
}

.event-time {
    font-size: 1.1rem;
    font-weight: 700;
    color: #6DB846;
    padding-top: 5px;
}

.event-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.event-info p {
    color: #666;
    font-size: 1rem;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #6DB846 0%, #5a9c38 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
    opacity: 1;
}

.info-box p {
    font-size: 1.1rem;
    margin: 10px 0;
}

.info-box strong {
    font-size: 1.2rem;
}

/* Tournament Grid */
.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tournament-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 1;
}

.tournament-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent #6DB846 transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(109, 184, 70, 0.25);
}

.tournament-card:hover::after {
    opacity: 1;
}

.tournament-card h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.tournament-date {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #6DB846 0%, #5a9c38 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(109, 184, 70, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 184, 70, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
}

/* Gastro Grid */
.gastro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gastro-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 1;
}

.gastro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(109, 184, 70, 0.25);
}

.gastro-icon {
    font-size: 4rem;
    margin-bottom: 20px;    transition: transform 0.3s ease;
    display: inline-block;
}

.gastro-card:hover .gastro-icon {
    transform: scale(1.2) rotate(5deg);
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1.2) rotate(5deg) translateY(0); }
    50% { transform: scale(1.2) rotate(5deg) translateY(-10px); }}

.gastro-card h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
}

.gastro-card ul {
    list-style: none;
    text-align: left;
}

.gastro-card li {
    padding: 10px 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

.gastro-card li:last-child {
    border-bottom: none;
}

.gastro-card li::before {
    content: '✓';
    color: #6DB846;
    font-weight: bold;
    margin-right: 10px;
}

/* Anmeldung Box */
.anmeldung-box {
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    opacity: 1;
}

.anmeldung-box h3 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.anmeldung-box > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.anmeldung-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.detail-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.detail-item strong {
    display: block;
    color: #6DB846;
    font-size: 1rem;
    margin-bottom: 10px;
}

.detail-item p {
    color: #666;
    margin: 0;
}

/* Anmeldeformular */
.anmelde-form {
    text-align: left;
    margin-top: 40px;
    max-width: 100%;
}

.form-message {
    margin: 0 0 25px 0;
    padding: 15px 20px;
    border-radius: 8px;
    display: none;
    font-size: 1rem;
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.required {
    color: #e63946;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
    opacity: 1;
}

.form-input:focus {
    outline: none;
    border-color: #6DB846;
    box-shadow: 0 0 0 3px rgba(109, 184, 70, 0.1);
}

.form-input:hover {
    border-color: #6DB846;
}

select.form-input {
    cursor: pointer;
}

.form-submit {
    width: 100%;
    margin-top: 30px;
    font-size: 1.1rem;
    padding: 16px 40px;
    border: none;
    cursor: pointer;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 1;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #6DB846, #5a9c38);
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(109, 184, 70, 0.25);
}

.info-card:hover::before {
    opacity: 0.1;
}

.info-card h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
}

.info-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #6DB846;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #6DB846;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .header-main h2 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .header-logo {
        width: 90px;
    }

    .header-top h1 {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .quick-info .container {
        flex-direction: column;
        gap: 20px;
    }

    .info-item {
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: -45px;
    }

    .nav .container {
        flex-direction: column;
        padding: 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #1a1a1a;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        text-align: center;
        width: 100%;
        border-bottom: 1px solid #2d2d2d;
        border-left: none;
        padding: 15px 20px;
    }

    .nav-link:hover,
    .nav-link.active {
        border-bottom: 1px solid #2d2d2d;
        border-left: 4px solid #6DB846;
    }

    .event {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .event-time {
        padding-top: 0;
    }

    .anmeldung-box {
        padding: 30px 20px;
    }

    .anmeldung-details {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .anmeldung-box {
        padding: 25px 15px;
    }

    .anmeldung-box h3 {
        font-size: 1.5rem;
    }

    .gastro-grid,
    .tournament-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .day-header h3 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .header-main h2 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .header-logo {
        width: 70px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.day-card,
.tournament-card,
.gastro-card,
.info-card {
    animation: fadeIn 0.6s ease-out;
}
