/* CSS Variables für Light Mode */
:root {
    --primary-color: #294369;
    --accent-color: #FFFFFF;
    --bg-color: #FFFFFF;
    --text-color: #1a1a1a;
    --card-bg: #f8f9fa;
    --nav-bg: #294369;
    --nav-text: #FFFFFF;
    --footer-bg: #294369;
    --footer-text: #FFFFFF;
    --shadow: rgba(41, 67, 105, 0.1);
    --shadow-hover: rgba(41, 67, 105, 0.2);
    --border-color: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #294369 0%, #1e2f4a 100%);
}

/* CSS Variables für Dark Mode */
[data-theme="dark"] {
    --primary-color: #294369;
    --accent-color: #FFFFFF;
    --bg-color: #0a0e15;
    --text-color: #FFFFFF;
    --card-bg: #141b2d;
    --nav-bg: #0f1419;
    --nav-text: #FFFFFF;
    --footer-bg: #0f1419;
    --footer-text: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-hover: rgba(0, 0, 0, 0.6);
    --border-color: #294369;
    --gradient-primary: linear-gradient(135deg, #294369 0%, #1a2f4a 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: var(--gradient-primary);
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-brand-link {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: transform 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

.nav-brand-link:hover {
    transform: scale(1.05);
}

.nav-menu-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-menu a:hover {
    opacity: 0.9;
}

.nav-menu a.active {
    font-weight: 700;
}

/* Theme Toggle */
.theme-toggle-container {
    position: fixed;
    top: 90px;
    right: 30px;
    z-index: 999;
}

.theme-toggle {
    background: var(--gradient-primary);
    color: var(--accent-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow);
    padding: 0;
}

.theme-toggle:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.toggle-icon i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .toggle-icon i {
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(41, 67, 105, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.logo-container {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

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

.main-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 40px var(--shadow));
    transition: transform 0.3s ease;
}

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

/* Content Section */
.content-section {
    padding: 5rem 0;
    position: relative;
}

.section-title,
.page-title {
    color: var(--primary-color);
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after,
.page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.text-content {
    background: var(--card-bg);
    padding: 3.5rem 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-color);
}

.text-content p:first-child {
    font-size: 1.1rem;
    opacity: 0.8;
    font-style: italic;
}

/* Roster Section */
.roster-section {
    padding: 5rem 0;
    position: relative;
}

/* Team Sidebar Navigation */
.team-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s ease;
}

.team-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-nav-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    position: relative;
}

.team-nav-link:hover {
    background: var(--primary-color);
    color: var(--accent-color);
    transform: translateX(5px);
}

.team-nav-link.active {
    background: var(--gradient-primary);
    color: var(--accent-color);
    box-shadow: 0 4px 10px var(--shadow);
}

.team-nav-link.active::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: var(--accent-color);
    border-radius: 2px;
}

.team-section {
    margin-bottom: 5rem;
    scroll-margin-top: 100px;
}

.team-section:last-child {
    margin-bottom: 2rem;
}

.team-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 1px;
}

.team-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.member-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px var(--shadow);
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.member-card:hover::before {
    transform: scaleX(1);
}

.member-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 45px var(--shadow-hover);
    border-color: var(--primary-color);
}

.member-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 2.5rem;
    border: 4px solid var(--accent-color);
    box-shadow: 0 8px 20px var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.member-card:hover .member-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

.member-name {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.member-role {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.member-game {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
    font-style: italic;
}

.member-socials {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.social-link {
    background: var(--gradient-primary);
    color: var(--accent-color);
    padding: 0.7rem 1.3rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px var(--shadow);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 6px 15px var(--shadow-hover);
}

/* News Section */
.news-section {
    padding: 5rem 0;
    min-height: 70vh;
}

.news-content {
    margin-top: 3rem;
}

.twitter-widget-container {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px var(--shadow);
    position: relative;
    overflow: hidden;
}

.twitter-widget-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
}

.news-section-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.news-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.twitter-embed-wrapper {
    margin-top: 2rem;
    width: 100%;
    min-height: 700px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.twitter-embed-wrapper iframe {
    width: 100% !important;
    height: 700px !important;
    min-height: 700px !important;
    max-height: 700px !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px var(--shadow) !important;
    border: none !important;
    background-color: var(--card-bg) !important;
    background: var(--card-bg) !important;
    overflow: hidden !important;
}

/* Dark Mode for Twitter Widget - Match site colors */
[data-theme="dark"] .twitter-widget-container {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .twitter-embed-wrapper {
    background: var(--card-bg);
}

/* Twitter iframe - match site background color in dark mode */
[data-theme="dark"] #twitter-timeline-embed iframe,
[data-theme="dark"] .twitter-embed-wrapper iframe {
    background-color: var(--card-bg) !important;
    background: var(--card-bg) !important;
    color-scheme: dark !important;
    filter: none !important;
    opacity: 1 !important;
}

/* Remove any hover effects */
#twitter-timeline-embed iframe {
    transition: none !important;
    pointer-events: auto !important;
}

#twitter-timeline-embed iframe:hover,
#twitter-timeline-embed iframe:active,
#twitter-timeline-embed iframe:focus {
    filter: none !important;
    transform: none !important;
    box-shadow: 0 8px 25px var(--shadow) !important;
    background: transparent !important;
}

[data-theme="dark"] #twitter-timeline-embed iframe:hover,
[data-theme="dark"] #twitter-timeline-embed iframe:active,
[data-theme="dark"] #twitter-timeline-embed iframe:focus,
[data-theme="dark"] .twitter-embed-wrapper iframe:hover,
[data-theme="dark"] .twitter-embed-wrapper iframe:active,
[data-theme="dark"] .twitter-embed-wrapper iframe:focus {
    filter: none !important;
    transform: none !important;
    box-shadow: 0 8px 25px var(--shadow) !important;
    background: var(--card-bg) !important;
    background-color: var(--card-bg) !important;
}

/* Twitter Alternative Container */
.twitter-alternative-container {
    margin-top: 2rem;
}

.twitter-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s ease;
}

.twitter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--shadow-hover);
    border-color: var(--primary-color);
}

.twitter-card-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.twitter-card-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.twitter-card-text {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.twitter-card-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.button-twitter-primary,
.button-twitter-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.button-twitter-primary {
    background: var(--gradient-primary);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.button-twitter-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.button-twitter-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.button-twitter-secondary:hover {
    background: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.button-twitter-primary .icon,
.button-twitter-secondary .icon {
    font-size: 1.2rem;
}

.twitter-info-box {
    margin-top: 2rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.info-box-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-box-content i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.info-text {
    flex: 1;
}

.info-text strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* Dark Mode for Twitter Alternative */
[data-theme="dark"] .twitter-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .twitter-info-box {
    background: var(--card-bg);
    border-color: var(--border-color);
}

/* Link Tree Section */
.linktree-section {
    padding: 5rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linktree-container {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.link-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.link-button {
    background: var(--gradient-primary);
    color: var(--accent-color);
    padding: 2rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px var(--shadow);
    border: 3px solid var(--accent-color);
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.link-button::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: left 0.5s ease;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 12px 35px var(--shadow-hover);
    border-color: var(--primary-color);
}

.link-icon {
    font-size: 2rem;
    min-width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-icon i {
    font-size: 2rem;
    width: 40px;
    text-align: center;
}

.link-text {
    flex: 1;
    font-size: 1.3rem;
}

.link-placeholder {
    font-size: 0.85rem;
    opacity: 0.6;
    font-style: italic;
    font-weight: 400;
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: var(--footer-text);
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
    transition: background-color 0.3s ease;
    box-shadow: 0 -4px 20px var(--shadow);
}

.footer-content p {
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .nav-container {
        padding: 0 2rem;
    }

    .section-title,
    .page-title {
        font-size: 3rem;
    }

    .text-content {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 2rem;
    }

    .nav-menu-wrapper {
        width: 100%;
        justify-content: center;
    }

    .nav-menu {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .theme-toggle-container {
        top: 80px;
        right: 15px;
    }

    .theme-toggle {
        width: 50px;
        height: 50px;
    }

    .toggle-icon {
        font-size: 1.3rem;
    }

    .toggle-icon i {
        font-size: 1.3rem;
    }

    .hero-section {
        padding: 4rem 0 3rem;
    }

    .main-logo {
        max-width: 350px;
    }

    .section-title,
    .page-title {
        font-size: 2.5rem;
    }

    .content-section,
    .roster-section,
    .linktree-section,
    .news-section {
        padding: 3rem 0;
    }

    .text-content {
        padding: 2.5rem 2rem;
    }

    .roster-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-section {
        margin-bottom: 4rem;
    }

    .team-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .team-sidebar {
        left: 10px;
        padding: 1rem 0.75rem;
    }

    .team-nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .member-card {
        padding: 2rem;
    }

    .link-button {
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
    }

    .link-icon {
        font-size: 1.8rem;
    }

    .link-icon i {
        font-size: 1.8rem;
    }

    .link-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }

    .nav-menu-wrapper {
        width: 100%;
        justify-content: center;
    }

    .nav-menu {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-brand-link {
        font-size: 1.3rem;
    }

    .hero-section {
        padding: 3rem 0 2rem;
    }

    .main-logo {
        max-width: 280px;
    }

    .section-title,
    .page-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .content-section,
    .roster-section,
    .linktree-section,
    .news-section {
        padding: 2.5rem 0;
    }

    .twitter-widget-container {
        padding: 2rem 1.5rem;
    }

    .news-section-title {
        font-size: 1.75rem;
    }

    .twitter-card {
        padding: 2rem 1.5rem;
    }

    .twitter-card-title {
        font-size: 1.5rem;
    }

    .twitter-card-text {
        font-size: 1rem;
    }

    .twitter-card-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button-twitter-primary,
    .button-twitter-secondary {
        width: 100%;
        justify-content: center;
    }

    .text-content {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .text-content p {
        font-size: 1rem;
    }

    .member-card {
        padding: 1.8rem;
    }

    .member-avatar {
        width: 120px;
        height: 120px;
        font-size: 2rem;
    }

    .team-sidebar {
        display: none;
    }

    .member-name {
        font-size: 1.5rem;
    }

    .link-button {
        padding: 1.3rem 1.5rem;
        font-size: 1rem;
        gap: 1rem;
    }

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

    .link-icon i {
        font-size: 1.5rem;
    }

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

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

::-moz-selection {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

/* Bulma Overrides & Custom Styles */
:root {
    --bulma-primary: #294369;
    --bulma-primary-dark: #1e2f4a;
}

/* New Hero Section */
.hero-section-new {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--card-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(41, 67, 105, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.logo-top-container {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.logo-top {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 40px var(--shadow));
    transition: transform 0.4s ease;
}

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

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title-new {
    color: var(--primary-color);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle-new {
    color: var(--text-color);
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease-out;
}

.button-hero-primary,
.button-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.button-hero-primary {
    background: var(--gradient-primary);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.button-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.button-hero-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.button-hero-secondary:hover {
    background: var(--primary-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.button-hero-primary .icon,
.button-hero-secondary .icon {
    font-size: 1.2rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

/* Feature Boxes */
.feature-box {
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.icon-wrapper {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-box:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.feature-box .title {
    color: var(--primary-color) !important;
}

.feature-box .subtitle {
    color: var(--text-color) !important;
    opacity: 0.8;
}

/* About Section */
.about-section {
    padding: 5rem 1.5rem;
    background-color: var(--bg-color);
}

.section-title-custom {
    color: var(--primary-color) !important;
    margin-bottom: 2rem !important;
    position: relative;
    padding-bottom: 1rem;
}

.section-title-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.about-section .content {
    color: var(--text-color) !important;
}

.about-section .content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.about-card {
    background-color: var(--card-bg) !important;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--shadow-hover);
    border-color: var(--primary-color);
}

.about-card .card-content {
    padding: 2rem;
}

.about-card .title {
    color: var(--primary-color) !important;
    margin-bottom: 1rem !important;
}

.about-card p {
    color: var(--text-color) !important;
    line-height: 1.7;
}

/* Dark Mode Adjustments for Bulma */
[data-theme="dark"] .hero-section-new {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--card-bg) 100%);
}

[data-theme="dark"] .features-section {
    background-color: var(--bg-color);
}

[data-theme="dark"] .about-section {
    background-color: var(--bg-color);
}

[data-theme="dark"] .hero-title-new {
    color: var(--primary-color);
}

[data-theme="dark"] .hero-subtitle-new {
    color: var(--text-color);
}

[data-theme="dark"] .feature-box .title {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .feature-box .subtitle {
    color: var(--text-color) !important;
}

[data-theme="dark"] .about-card {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color);
}

[data-theme="dark"] .about-card .title {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .about-card p {
    color: var(--text-color) !important;
}

/* Responsive Adjustments for Hero */
@media (max-width: 768px) {
    .hero-section-new {
        padding: 3rem 0 2rem;
    }

    .logo-top {
        max-width: 280px;
    }

    .hero-title-new {
        font-size: 2.5rem;
    }

    .hero-subtitle-new {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .button-hero-primary,
    .button-hero-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .features-section {
        padding: 3rem 0;
    }

    .feature-box {
        padding: 1.5rem;
    }
}

/* Cookie-Banner Styles */
.cookie-banner-overlay {
    display: none; /* Overlay nicht mehr nötig bei kleiner Position */
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 8px 30px var(--shadow-hover);
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    width: auto;
    min-width: 300px;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner::-webkit-scrollbar {
    width: 8px;
}

.cookie-banner::-webkit-scrollbar-track {
    background: var(--bg-color);
    border-radius: 4px;
}

.cookie-banner::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.cookie-banner::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
    opacity: 0.8;
}

.cookie-banner-visible {
    transform: translateX(0);
    opacity: 1;
}

.cookie-banner-container {
    padding: 1.5rem;
    max-width: 100%;
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: min-content;
}

.cookie-banner-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
}

.cookie-banner-text {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.cookie-category {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px var(--shadow);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.cookie-category-header h3 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.cookie-status {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    background: var(--primary-color);
    color: var(--accent-color);
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    cursor: pointer;
}

.cookie-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 30px;
    transition: 0.3s;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-checkbox:checked + .cookie-slider {
    background-color: var(--primary-color);
}

.cookie-checkbox:checked + .cookie-slider:before {
    transform: translateX(30px);
}

.cookie-category-description {
    color: var(--text-color);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.85;
}

.cookie-banner-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.cookie-link:hover {
    border-bottom-color: var(--primary-color);
    opacity: 0.8;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cookie-button {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 100px;
}

.cookie-button-primary {
    background: var(--gradient-primary);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.cookie-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.cookie-button-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.cookie-button-tertiary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.cookie-button-tertiary:hover {
    background: var(--card-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Impressum & Datenschutz Styles */
.impressum,
.datenschutz {
    padding: 5rem 0;
    min-height: 70vh;
}

.impressum-container,
.datenschutz-container {
    max-width: 900px;
    margin: 0 auto;
}

.impressum-section,
.datenschutz-section {
    margin-bottom: 3rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s ease;
}

.impressum-section:hover,
.datenschutz-section:hover {
    box-shadow: 0 12px 35px var(--shadow-hover);
    border-color: var(--primary-color);
}

.impressum-section h2,
.datenschutz-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
}

.impressum-section h3,
.datenschutz-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.impressum-item,
.datenschutz-item {
    margin-bottom: 1.5rem;
}

.impressum-item p,
.datenschutz-item p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.impressum-item strong,
.datenschutz-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

.impressum-section a,
.datenschutz-section a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.impressum-section a:hover,
.datenschutz-section a:hover {
    border-bottom-color: var(--primary-color);
    opacity: 0.8;
}

.impressum-section ul,
.datenschutz-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.impressum-section li,
.datenschutz-section li {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* Footer Links */
.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.footer-link:hover {
    border-bottom-color: var(--footer-text);
    opacity: 0.9;
}

.footer-separator {
    color: var(--footer-text);
    opacity: 0.6;
}

/* Responsive Cookie-Banner */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 15px;
        left: 15px;
        right: 15px;
        max-width: none;
        width: auto;
    }

    .cookie-banner-container {
        padding: 1.25rem;
    }

    .cookie-banner-title {
        font-size: 1.1rem;
    }

    .cookie-banner-text {
        font-size: 0.85rem;
    }

    .cookie-category {
        padding: 0.75rem;
    }

    .cookie-category-header h3 {
        font-size: 0.9rem;
    }

    .cookie-banner-buttons {
        flex-direction: column;
    }

    .cookie-button {
        width: 100%;
        min-width: auto;
    }

    .impressum-section,
    .datenschutz-section {
        padding: 2rem 1.5rem;
    }

    .impressum-section h2,
    .datenschutz-section h2 {
        font-size: 1.5rem;
    }

    .impressum-section h3,
    .datenschutz-section h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .cookie-banner-container {
        padding: 1rem;
    }

    .cookie-banner-title {
        font-size: 1rem;
    }

    .impressum-section,
    .datenschutz-section {
        padding: 1.5rem 1.25rem;
    }

    .impressum-item p,
    .datenschutz-item p,
    .impressum-section li,
    .datenschutz-section li {
        font-size: 1rem;
    }
}
