/*
Theme Name: CC Framework - Semantic Room Architecture
Description: Child theme for Challenging Communications implementing Anja Zoerner's revolutionary 11-room semantic architecture. Optimized for AI search engines and modern content discovery.
Author: Challenging Communications Team
Author URI: https://challenging-communications.com
Template: twentytwentyfive
Version: 2.1
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: cc-framework
Tags: semantic-rooms, ai-optimized, content-architecture, anja-zoerner

This child theme implements the CC Framework - a revolutionary approach to website content organization using 11 semantic rooms (A-L system) designed for optimal AI search engine compatibility and human content discovery.

Rooms:
A - Building Plan: Structure & Navigation
B - Reception Hall: Contact & Orientation  
C - Brand Core: Identity & Representation
D - Offer Zone: Products & Services
E - Knowledge Wing: Articles & Knowledge Transfer
F - Entertainment Stage: Media & Experiences
G - Trust Chamber: Ethics & Legal
H - Security Wing: Privacy & Governance
I - Community Garden: Participation & Feedback
J - Innovation Lab: Open Source & Future Topics
K - Memory Room: Archives & History
L - Future Port: Bookings, Events & Vision
*/

/* ========================================
   CC FRAMEWORK CHILD THEME STYLES
   
   Note: The main CC Framework CSS is loaded via 
   functions.php wp_add_inline_style() for better
   performance and cache management.
   
   This file contains only theme-specific 
   overrides and customizations.
======================================== */
/* ========================================
   CC FRAMEWORK CHILD THEME STYLES NEUE VERSION 2.1 - Room Content Gallery System hinzugefügt
======================================== */

/* ========================================
   THEME OVERRIDES
======================================== */

/* Override parent theme typography - DSGVO-konform ohne Google Fonts */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

/* Ensure CC Framework compatibility */
.cc-framework {
    font-family: inherit;
}

/* ========================================
   THEME-SPECIFIC CUSTOMIZATIONS
======================================== */

/* Header adjustments for CC Framework */
.site-header {
    position: relative;
    z-index: 1000;
}

/* Main content area optimization */
.site-main {
    min-height: 50vh;
}

/* Footer spacing */
.site-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
======================================== */

@media (max-width: 768px) {
    /* Mobile-specific adjustments */
    .cc-framework {
        padding: 0 15px;
    }
}

/* ========================================
   ROOM GALLERY CONTAINER (BESTEHEND)
======================================== */

.cc-room-gallery {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
    padding: 0;
}

/* Grid Layout Varianten */
.cc-room-gallery[data-style="grid"] {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.cc-room-gallery[data-columns="2"] {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.cc-room-gallery[data-columns="4"] {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Room Card Basis-Styling */
.cc-room-card {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.cc-room-card:hover {
    transform: translateY(-8px);
    border-color: var(--room-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
                0 0 0 1px var(--room-color);
}

.cc-room-card-inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* Room Header mit Buchstabe und Icon */
.cc-room-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cc-room-letter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--room-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.cc-room-icon {
    font-size: 2rem;
    opacity: 0.8;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Room Content */
.cc-room-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cc-room-title {
    color: var(--room-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cc-room-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0 0 1rem 0;
    flex: 1;
}

.cc-room-count {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.count-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--room-color);
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.count-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Room Footer mit Explore Button */
.cc-room-footer {
    margin-top: auto;
}

.cc-room-explore-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--room-color), var(--room-color));
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cc-room-explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.cc-room-explore-btn::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;
}

.cc-room-explore-btn:hover::before {
    left: 100%;
}

/* ========================================
   ROOM CONTENT GALLERY SYSTEM (NEU)
======================================== */

/* Main Container */
.cc-room-content-gallery {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
    font-family: 'Inter', sans-serif;
}

/* Room Content Header */
.cc-room-content-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    margin-bottom: 3rem;
    overflow: hidden;
    position: relative;
}

.cc-room-content-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--room-color), rgba(255, 255, 255, 0.5), var(--room-color));
}

.cc-room-content-header-inner {
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cc-room-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--room-color), rgba(255, 255, 255, 0.2));
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.cc-room-badge .cc-room-letter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cc-room-badge .cc-room-icon {
    font-size: 2.5rem;
    opacity: 0.3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.cc-room-header-text {
    flex: 1;
    color: white;
}

.cc-room-content-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--room-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.cc-room-content-description {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.cc-room-content-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.cc-content-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.cc-back-to-rooms {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cc-back-to-rooms:hover {
    color: var(--room-color);
    text-decoration: none;
    transform: translateX(-5px);
}

/* Empty State */
.cc-room-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.cc-empty-icon {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.cc-room-empty-state h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: #666;
}

.cc-room-empty-state p {
    color: #999;
    margin: 0 0 2rem 0;
}

.cc-assign-content-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--room-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cc-assign-content-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

/* Content Grid */
.cc-room-content-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.cc-room-content-grid[data-columns="1"] {
    grid-template-columns: 1fr;
}

.cc-room-content-grid[data-columns="2"] {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.cc-room-content-grid[data-columns="3"] {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.cc-room-content-grid[data-columns="4"] {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cc-room-content-grid[data-columns="5"] {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Content Item Cards */
.cc-content-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animation für fade-in */
.cc-room-content-gallery[data-animation="fade-in"] .cc-content-item {
    opacity: 0;
    transform: translateY(30px);
    animation: cc-fadeInUp 0.6s ease forwards;
}

@keyframes cc-fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cc-content-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--room-color);
}

.cc-content-item-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Content Thumbnail */
.cc-content-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--room-color), rgba(255, 255, 255, 0.1));
}

.cc-content-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cc-content-item:hover .cc-content-thumbnail img {
    transform: scale(1.05);
}

/* Icon Fallback wenn kein Thumbnail */
.cc-content-icon-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--room-color), rgba(255, 255, 255, 0.1));
    color: white;
}

.cc-content-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.cc-content-type-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Content Overlay */
.cc-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cc-content-item:hover .cc-content-overlay {
    opacity: 1;
}

.cc-content-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--room-color);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-align: center;
    transform: scale(0.8);
}

.cc-content-overlay:hover .cc-content-link {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cc-view-content {
    white-space: nowrap;
    font-size: 0.75rem;
}

/* Content Info Section */
.cc-content-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cc-content-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cc-content-type-badge {
    font-size: 1.2rem;
    opacity: 0.8;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.cc-content-title {
    flex: 1;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.cc-content-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cc-content-title a:hover {
    color: var(--room-color);
    text-decoration: none;
}

.cc-content-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    flex: 1;
}

.cc-content-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cc-content-date {
    color: #999;
}

.cc-content-type {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cc-content-actions {
    margin-top: auto;
    padding-top: 1rem;
}

.cc-read-more-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--room-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.cc-read-more-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateX(5px);
    text-decoration: none;
    color: white;
}

/* Room Content Footer */
.cc-room-content-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cc-room-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cc-total-items {
    font-weight: 600;
    color: #666;
    font-size: 1rem;
}

.cc-back-to-rooms-footer {
    color: var(--room-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid var(--room-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cc-back-to-rooms-footer:hover {
    background: var(--room-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ========================================
   ROOM OVERVIEW EXTENDED (NEU)
======================================== */

.cc-room-overview-extended {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.cc-room-overview-extended[data-style="detailed"] {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.cc-room-overview-extended[data-style="compact"] {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cc-room-overview-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cc-room-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--room-color);
}

.cc-room-overview-header {
    background: linear-gradient(135deg, var(--room-color), rgba(255, 255, 255, 0.1));
    padding: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cc-room-overview-card .cc-room-badge {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cc-room-overview-card .cc-room-badge .cc-room-letter {
    font-size: 1.4rem;
}

.cc-room-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.cc-room-info p {
    margin: 0 0 0.5rem 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.cc-room-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.cc-room-content-preview {
    padding: 1.5rem;
}

.cc-room-content-preview h4 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
}

.cc-preview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cc-preview-list li {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cc-preview-list li:last-child {
    border-bottom: none;
}

.cc-preview-list a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cc-preview-list a:hover {
    color: var(--room-color);
    text-decoration: none;
}

.cc-show-more {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}

.cc-room-actions {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cc-explore-room-btn {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cc-explore-room-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

/* ========================================
   ROOM SWITCHER (NEU)
======================================== */

.cc-room-switcher {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.cc-current-room {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cc-current-room-label {
    font-weight: 600;
    color: #666;
}

.cc-current-room-name {
    font-weight: 700;
}

.cc-room-switcher-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cc-room-switcher[data-style="dropdown"] .cc-room-switcher-options {
    display: block;
}

.cc-room-switcher[data-style="tabs"] .cc-room-switcher-options {
    display: flex;
    flex-wrap: wrap;
}

.cc-room-switch-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cc-room-switch-option:hover {
    background: rgba(255, 255, 255, 1);
    color: #333;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cc-room-switch-icon {
    font-size: 1.1rem;
}

.cc-room-switch-name {
    font-size: 0.9rem;
}

/* ========================================
   ERROR MESSAGES
======================================== */

.cc-error-message {
    background: #fee;
    border: 2px solid #fcc;
    border-radius: 8px;
    padding: 1rem;
    color: #a00;
    font-weight: 600;
    text-align: center;
    margin: 2rem 0;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1200px) {
    .cc-room-content-grid[data-columns="4"] {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .cc-room-content-grid[data-columns="5"] {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .cc-room-overview-extended {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .cc-room-content-gallery {
        padding: 1rem 0;
    }
    
    .cc-room-content-header-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .cc-room-badge {
        width: 70px;
        height: 70px;
    }
    
    .cc-room-content-title {
        font-size: 2rem;
    }
    
    .cc-room-content-description {
        font-size: 1.1rem;
    }
    
    .cc-room-content-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cc-room-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cc-content-thumbnail {
        height: 180px;
    }
    
    .cc-room-overview-extended {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cc-room-switcher-options {
        flex-direction: column;
    }
    
    .cc-room-stats {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cc-room-content-header-inner {
        padding: 1.5rem 1rem;
    }
    
    .cc-room-badge {
        width: 60px;
        height: 60px;
    }
    
    .cc-room-content-title {
        font-size: 1.5rem;
    }
    
    .cc-room-content-description {
        font-size: 1rem;
    }
    
    .cc-content-info {
        padding: 1rem;
    }
    
    .cc-content-thumbnail {
        height: 150px;
    }
    
    .cc-content-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cc-content-type-badge {
        align-self: flex-start;
    }
    
    .cc-room-overview-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cc-room-content-footer {
        padding: 1.5rem 1rem;
    }
}

/* ========================================
   ACCESSIBILITY & FOCUS STATES
======================================== */

.cc-content-link:focus,
.cc-read-more-btn:focus,
.cc-back-to-rooms:focus,
.cc-back-to-rooms-footer:focus,
.cc-explore-room-btn:focus,
.cc-room-switch-option:focus {
    outline: 2px solid var(--room-color);
    outline-offset: 2px;
}

.cc-content-item:focus-within {
    border-color: var(--room-color);
    box-shadow: 0 0 0 2px var(--room-color);
}

/* ========================================
   DARK MODE SUPPORT
======================================== */

@media (prefers-color-scheme: dark) {
    .cc-content-item {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .cc-content-title a {
        color: white;
    }
    
    .cc-content-excerpt {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .cc-content-type {
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.8);
    }
    
    .cc-room-overview-card {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .cc-room-switcher {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .cc-room-switch-option {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .cc-room-content-footer {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* ========================================
   REDUCED MOTION SUPPORT
======================================== */

@media (prefers-reduced-motion: reduce) {
    .cc-content-item,
    .cc-room-overview-card,
    .cc-read-more-btn,
    .cc-explore-room-btn,
    .cc-room-switch-option,
    .cc-content-gallery[data-animation="fade-in"] .cc-content-item {
        transition: none !important;
        animation: none !important;
    }
}

/* ========================================
   CC FRAMEWORK CURSOR FARBEN - FORCE OVERRIDE
======================================== */
    
/* CURSOR FARBEN ÜBERSCHREIBEN - HÖCHSTE PRIORITÄT */
.cc-custom-cursor,
.cc-custom-cursor[style],
#cc-custom-cursor,
#cc-custom-cursor[style] {
    background: #1D1459 !important;
    background-color: #1D1459 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(29, 20, 89, 0.4) !important;
    
    /* Text-Eigenschaften */
    font-size: 11px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    letter-spacing: 0.5px !important;
}

/* CLICK STATE - Taupe */
.cc-custom-cursor.click-active,
.cc-custom-cursor.click-active[style],
#cc-custom-cursor.click-active,
#cc-custom-cursor.click-active[style] {
    background: #9C8B7C !important;
    background-color: #9C8B7C !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 6px 25px rgba(156, 139, 124, 0.6) !important;
    transform: translate(-50%, -50%) scale(1.3) !important;
}

/* HOVER STATE - Weiß */
.cc-custom-cursor.hover-link,
.cc-custom-cursor.hover-link[style],
#cc-custom-cursor.hover-link,
#cc-custom-cursor.hover-link[style] {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    color: #1D1459 !important;
    border: 3px solid #1D1459 !important;
    border-color: #1D1459 !important;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.8) !important;
    transform: translate(-50%, -50%) scale(1.15) !important;
    font-weight: 700 !important;
}

/* ROOM HOVER STATE - Taupe mit dunklem Border */
.cc-custom-cursor.room-hover,
.cc-custom-cursor.room-hover[style],
#cc-custom-cursor.room-hover,
#cc-custom-cursor.room-hover[style] {
    background: #9C8B7C !important;
    background-color: #9C8B7C !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 3px solid #1D1459 !important;
    border-color: #1D1459 !important;
    box-shadow: 0 6px 25px rgba(156, 139, 124, 0.6) !important;
    transform: translate(-50%, -50%) scale(1.2) !important;
    font-weight: 700 !important;
}

/* TOUCH FEEDBACK FARBEN */
.touch-feedback,
.touch-feedback[style] {
    background: radial-gradient(circle, rgba(29, 20, 89, 0.6) 0%, rgba(29, 20, 89, 0.2) 40%, transparent 70%) !important;
    width: 50px !important;
    height: 50px !important;
}

/* JAVASCRIPT INLINE STYLES ÜBERSCHREIBEN */
.cc-custom-cursor[style*="background"],
.cc-custom-cursor[style*="color"],
.cc-custom-cursor[style*="border"] {
    background: #1D1459 !important;
    background-color: #1D1459 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
}

/* MOBILE TAP HIGHLIGHT ANPASSEN */
@media screen and (max-width: 768px) {
    a, button, .btn, .button, 
    .menu-toggle, .mobile-menu-button,
    .room-nav-item a, .room-card a {
        -webkit-tap-highlight-color: rgba(29, 20, 89, 0.15) !important;
    }
}