/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Farben basierend auf comedyhacker.de */
    --primary-color: #1a1a1a;
    --secondary-color: #4a4a4a;
    --accent-color: #6b6b6b;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e1e4e8;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

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

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

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

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu .language-switcher {
    margin: 0;
    padding: 0;
    border: none;
}

.language-switcher a {
    padding: 5px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.language-switcher a::after {
    display: none !important;
}

.language-switcher a:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* ===================================
   BURGER MENU
   =================================== */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Styles */
@media (max-width: 968px) {
    .burger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 999;
        gap: 0;
        align-items: stretch;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .nav-menu a {
        font-size: 18px;
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu .language-switcher {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 2px solid var(--border-color);
    }
    
    .nav-menu .language-switcher a {
        display: inline-block;
        border-bottom: none;
    }
    
    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

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

.hero-video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(74, 74, 74, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 74, 74, 0.4);
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 107, 107, 0.4);
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 107, 107, 0.4);
}

/* ===================================
   SCROLL INDICATOR
   =================================== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    opacity: 0;
    animation: fadeInScroll 1s ease 3s forwards;
    cursor: pointer;
}

@keyframes fadeInScroll {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-arrow span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
    animation: scrollDown 2s infinite;
    opacity: 0;
    box-sizing: border-box;
}

.scroll-arrow span:nth-child(1) {
    animation-delay: 0s;
}

.scroll-arrow span:nth-child(2) {
    top: 10px;
    animation-delay: 0.15s;
}

.scroll-arrow span:nth-child(3) {
    top: 20px;
    animation-delay: 0.3s;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.scroll-indicator p {
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
    transition: transform 0.3s ease;
}

/* Hide scroll indicator after scrolling */
.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* ===================================
   SECTIONS
   =================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===================================
   VORTRÄGE SECTION
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card strong {
    color: var(--accent-color);
}

.documents-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.documents-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.documents-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.documents-list li {
    padding: 10px 0;
}

.documents-list a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.documents-list a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ===================================
   THEMEN SECTION - ACCORDION
   =================================== */
.talks-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.talk-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.talk-item:hover {
    box-shadow: var(--shadow-lg);
}

.talk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.talk-header:hover {
    background: var(--bg-light);
}

.talk-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.talk-thumb {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.talk-title-area {
    flex: 1;
}

.talk-title-area h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.talk-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.talk-badge {
    display: inline-block;
    background: #e8e8e8;
    color: #2d2d2d;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
}

.talk-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

.talk-toggle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    font-weight: 300;
    line-height: 1;
}

.talk-item.active .toggle-icon {
    transform: rotate(45deg);
}

.talk-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.talk-item.active .talk-body {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.talk-body p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .talk-header-content {
        gap: 15px;
    }
    
    .talk-thumb {
        width: 80px;
        height: 80px;
    }
    
    .talk-title-area h3 {
        font-size: 1rem;
    }
    
    .talk-subtitle {
        font-size: 0.85rem;
    }
    
    .talk-badge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
}

/* ===================================
   REFERENT SECTION
   =================================== */
.referent-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

.referent-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.referent-image img {
    width: 100%;
    height: auto;
    display: block;
}

.referent-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.referent-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

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

.testimonial p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial span {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===================================
   BÜCHER SECTION
   =================================== */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.book-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.book-cover {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.blog-icon {
    font-size: 8rem;
}

.book-content {
    padding: 30px;
}

.book-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.book-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button:hover {
    background: var(--accent-color);
    transform: translateX(5px);
}

/* Spezielle Hover-Farbe für nicht verfügbare Bücher */
.button:not([href]):hover {
    background: #dc3545;
    cursor: not-allowed;
    transform: translateX(0);
}

/* ===================================
   TV SECTION
   =================================== */
.tv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.tv-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.tv-card:hover {
    transform: scale(1.05);
}

.tv-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.tv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-content {
    padding: 30px;
}

.tv-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.tv-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   INTRACAST SECTION
   =================================== */
.intracast-content {
    max-width: 900px;
    margin: 0 auto;
}

.intracast-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.intracast-links {
    margin-top: 30px;
    text-align: center;
}

/* ===================================
   KONTAKT SECTION
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-details {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-details p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-color);
}

.contact-form-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===================================
   MODAL
   =================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.modal:target {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-content h3 {
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.modal-content h4 {
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 968px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .referent-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .features-grid,
    .books-grid,
    .tv-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .nav-container {
        height: 60px;
    }
}

/* ===================================
   FLOATING BOOKING BUTTON
   =================================== */
.floating-booking-button {
    position: fixed;
    top: 90px;
    left: 20px;
    z-index: 999;
    background: #1a1a1a;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 600;
    max-width: 220px;
    line-height: 1.3;
}

.floating-booking-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: #4a4a4a;
}

.booking-phone {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.booking-text {
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
}

@media (max-width: 768px) {
    .floating-booking-button {
        top: 75px;
        left: 10px;
        padding: 10px 16px;
        max-width: 180px;
    }
    .booking-phone {
        font-size: 11px;
    }
    .booking-text {
        font-size: 9px;
    }
}

/* ===================================
   MEDIEN SECTION (Bücher & TV vereinheitlicht)
   =================================== */

/* Subsection Titel */
.subsection-title {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

/* Unified Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.media-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}


/* Kleinere Bilder für platzsparendes Design */
.media-tv-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-tv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




/* Kleinere Bilder für platzsparendes Design */
.media-image {
    width: 100%;
    height: 80%;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

/* Blog Icon Spezialbehandlung */
.media-image.blog-icon {
    background: white;
    padding: 20px;
}

.media-image.blog-icon img {
    object-fit: contain;
    width: 80%;
    height: 80%;
}

/* Content Bereich */
.media-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.media-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Ausklappbarer Text maxheight war 60 lineheight war 1.6 */
.media-text {
    max-height: 35px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: relative;
}

.media-text.expanded {
    max-height: 500px;
}

.media-text p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
    font-size: 0.95rem;
}

/* Expand Button */
.expand-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.expand-btn:hover {
    color: var(--accent-color);
}

/* Kleinere Buttons */
.button-small {
    display: inline-block;
    padding: 8px 20px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
}

.button-small:hover {
    background: var(--accent-color);
    transform: translateX(3px);
}

/* Nicht verfügbare Buttons */
.button-unavailable {
    background: #dc3545;
    cursor: not-allowed;
}

.button-unavailable:hover {
    background: #c82333;
    transform: translateX(0);
}

/* ===================================
   ALTE SECTIONS ENTFERNT
   =================================== */
/* Die alten .books-grid und .tv-grid Styles können entfernt werden,
   da sie durch .media-grid ersetzt wurden */

/* ===================================
   RESPONSIVE ANPASSUNGEN
   =================================== */
@media (max-width: 968px) {
    .media-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .media-image {
        height: 200px;
    }
    
    .subsection-title {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .media-content {
        padding: 15px;
    }
    
    .media-content h4 {
        font-size: 1rem;
    }
    
    .media-text p {
        font-size: 0.9rem;
    }
}



