/** Copyright (C) 2026 Der Akademiker und der Hauptschüler
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.  If not, see <https://www.gnu.org/licenses/>.
*
* Author: Der Akademiker und der Hauptschüler
*/

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

:root {
    /* Brand Colors - Based on Logo/Banner */
    --primary-red: #FF1744;
    --primary-cyan: #00E5FF;
    --accent-teal: #1DE9B6;
    --dark-bg: #0A0A0A;
    --dark-gray: #1A1A1A;
    --medium-gray: #2A2A2A;
    --light-gray: #E0E0E0;
    --white: #FFFFFF;
    
    /* Gradients */
    --hero-gradient: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-gray) 50%, var(--medium-gray) 100%);
    --accent-gradient: linear-gradient(45deg, var(--primary-red) 0%, var(--primary-cyan) 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--light-gray);
    background-color: var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--dark-gray);
    border-bottom: 2px solid var(--primary-red);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--primary-cyan);
}

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

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
    border-bottom: 3px solid var(--primary-red);
}

.hero-banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    padding: 80px 0;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-active {
    background: var(--accent-teal);
    color: var(--dark-bg);
    border: 2px solid var(--accent-teal);
}

.badge-language {
    background: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background: var(--primary-red);
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-cyan);
    border: 2px solid var(--primary-cyan);
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.2);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

/* Sections */
.section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.section-dark {
    background: var(--dark-gray);
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--white);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Topics Grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.topic-card {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.topic-card i {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.topic-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

/* Hosts Grid */
.hosts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.host-card {
    background: var(--dark-gray);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
}

.host-card:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.host-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.host-info h3 a {
    color: var(--primary-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.host-info h3 a:hover {
    color: var(--accent-teal);
}

.host-website, .host-institution {
    font-size: 1rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: 600;
}

.host-website a {
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.host-website a:hover {
    color: var(--primary-cyan);
}

.host-info p {
    margin-bottom: 0.5rem;
    color: var(--light-gray);
}

/* Episodes Grid */
.episodes-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.episode-card {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--medium-gray);
    display: flex;
    gap: 2rem;
    align-items: center;
    transition: all 0.3s ease;
}

.episode-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.episode-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 60px;
}

.episode-content {
    flex: 1;
}

.episode-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.episode-content p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.episode-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-recorded {
    background: var(--accent-teal);
    color: var(--dark-bg);
    border: 1px solid var(--accent-teal);
}

.status-planning {
    background: var(--primary-red);
    color: var(--white);
    border: 1px solid var(--primary-red);
}

.episode-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.coming-soon {
    color: var(--light-gray);
    font-style: italic;
}

/* Platforms Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.platform-card {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.platform-card i {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-card span:first-of-type {
    font-weight: 600;
    font-size: 1.1rem;
}

.platform-card .coming-soon {
    font-size: 0.875rem;
    color: var(--light-gray);
    font-style: italic;
}

/* Impressum */
.impressum-toggle {
    text-align: center;
    margin-bottom: 2rem;
}

.impressum-button {
    background: var(--medium-gray);
    color: var(--light-gray);
    border: 1px solid var(--primary-red);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.impressum-button:hover {
    background: var(--dark-gray);
    border-color: var(--primary-cyan);
    color: var(--white);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.impressum-content.expanded {
    max-height: 2000px;
}

.impressum-section {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--medium-gray);
    border-radius: 8px;
    border: 1px solid rgba(255, 23, 68, 0.2);
}

.impressum-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 0.5rem;
}

.impressum-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    color: var(--primary-cyan);
}

.impressum-section p {
    line-height: 1.6;
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.impressum-section a {
    color: var(--primary-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.impressum-section a:hover {
    color: var(--accent-teal);
}

.impressum-note {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
}

.impressum-note p {
    color: #856404;
    margin: 0;
    font-weight: 500;
}

/* Disclaimer */
.disclaimer {
    background: var(--dark-gray);
    padding: 2rem 0;
    border-left: 4px solid var(--primary-red);
    border-top: 1px solid var(--medium-gray);
}

.disclaimer h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.disclaimer p {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--primary-red);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 1rem;
    text-align: center;
    color: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .logo-image {
        height: 40px;
    }

    .nav {
        gap: 0.5rem 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .episode-card {
        flex-direction: column;
        text-align: center;
    }

    .episode-status {
        justify-content: center;
    }

    .section h2 {
        font-size: 2rem;
    }

    .topics-grid,
    .platforms-grid {
        grid-template-columns: 1fr;
    }

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

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

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

.section > * {
    animation: fadeInUp 0.6s ease-out;
}

.section .social-heading {
    margin-top: 4rem;
}
