/*
Theme Name: Kadence RS Kißlegg Child
Template: kadence
Version: 1.0.0
Description: Custom child theme for Realschule Kißlegg with hero video, 4-Säulen structure, and teacher-friendly content management
Text Domain: kadence-rskisslegg-child
*/

/* ============================================
   RS KISSLEGG COLOR SYSTEM
   ============================================ */
:root {
    /* Primary Brand Colors (from RS Kisslegg Logo) */
    --rsk-primary: #003DA5;           /* Hauptblau - Logo-Blau */
    --rsk-primary-dark: #002A73;      /* Dunkleres Blau für Hover */
    --rsk-primary-light: #0052D9;     /* Helleres Blau für Akzente */
    --rsk-secondary: #9BA5D5;         /* Sekundär-Blau (hellere Figuren im Logo) */

    /* Accent Colors */
    --rsk-accent: #FF6B35;            /* Orange für Call-to-Actions */
    --rsk-accent-hover: #E55A2A;      /* Dunkleres Orange für Hover */

    /* Grayscale */
    --rsk-gray-50: #F9FAFB;
    --rsk-gray-100: #F3F4F6;
    --rsk-gray-200: #E5E7EB;
    --rsk-gray-300: #D1D5DB;
    --rsk-gray-700: #374151;
    --rsk-gray-900: #111827;

    /* Semantic Colors */
    --rsk-success: #10B981;
    --rsk-warning: #F59E0B;
    --rsk-error: #EF4444;

    /* Spacing System */
    --rsk-spacing-xs: 0.5rem;
    --rsk-spacing-sm: 1rem;
    --rsk-spacing-md: 1.5rem;
    --rsk-spacing-lg: 2rem;
    --rsk-spacing-xl: 3rem;
    --rsk-spacing-2xl: 4rem;

    /* Border Radius */
    --rsk-radius-sm: 0.375rem;
    --rsk-radius-md: 0.5rem;
    --rsk-radius-lg: 0.75rem;
    --rsk-radius-xl: 1rem;

    /* Shadows */
    --rsk-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --rsk-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --rsk-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --rsk-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* ============================================
   HERO SECTION WITH VIDEO
   ============================================ */
.rsk-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsk-hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

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

.rsk-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: var(--rsk-spacing-xl);
    max-width: 800px;
}

.rsk-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--rsk-spacing-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rsk-hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: var(--rsk-spacing-lg);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mobile Hero Fallback (Standbild statt Video) */
@media (max-width: 768px) {
    .rsk-hero-video {
        display: none;
    }

    .rsk-hero {
        background: linear-gradient(
            135deg,
            var(--rsk-primary) 0%,
            var(--rsk-primary-dark) 100%
        );
        height: 60vh;
        min-height: 400px;
    }
}

/* ============================================
   WELCOME SECTION (zwischen Hero und Säulen)
   ============================================ */
.rsk-welcome-section {
    padding: 5rem var(--rsk-spacing-md);
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        var(--rsk-gray-50) 50%,
        #ffffff 100%
    );
    position: relative;
    overflow: hidden;
}

.rsk-welcome-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Willkommen Badge oben */
.rsk-welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(
        135deg,
        rgba(0, 61, 165, 0.1) 0%,
        rgba(0, 82, 217, 0.15) 100%
    );
    border: 2px solid rgba(0, 61, 165, 0.2);
    border-radius: 50px;
    margin-bottom: var(--rsk-spacing-lg);
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.6s ease-out;
}

.rsk-welcome-icon {
    width: 20px;
    height: 20px;
    color: var(--rsk-primary);
}

.rsk-welcome-badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rsk-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Haupttitel */
.rsk-welcome-title {
    position: relative;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.rsk-welcome-title-main {
    display: block;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--rsk-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    position: relative;
    text-shadow: 0 2px 20px rgba(0, 61, 165, 0.1);
}

/* Dekorative Linie unter Titel */
.rsk-welcome-title-decoration {
    display: block;
    width: 120px;
    height: 5px;
    background: linear-gradient(
        to right,
        transparent 0%,
        var(--rsk-primary) 20%,
        var(--rsk-primary-light) 50%,
        var(--rsk-primary) 80%,
        transparent 100%
    );
    margin: 1rem auto 0;
    border-radius: 3px;
    box-shadow: 0 2px 15px rgba(0, 61, 165, 0.4);
}

/* Untertitel */
.rsk-welcome-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--rsk-gray-700);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Statistik-Boxen */
.rsk-welcome-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.rsk-welcome-stat {
    text-align: center;
}

.rsk-welcome-stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rsk-welcome-stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--rsk-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rsk-welcome-stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--rsk-gray-300) 50%,
        transparent 100%
    );
}

/* Dekorative Hintergrund-Elemente */
.rsk-welcome-bg-decoration {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 61, 165, 0.08) 0%,
        transparent 70%
    );
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.rsk-welcome-bg-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.rsk-welcome-bg-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: -3s;
}

/* Animationen */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 20px);
    }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .rsk-welcome-section {
        padding: 3rem var(--rsk-spacing-md);
    }

    .rsk-welcome-badge {
        padding: 0.4rem 1rem;
        margin-bottom: var(--rsk-spacing-md);
    }

    .rsk-welcome-icon {
        width: 16px;
        height: 16px;
    }

    .rsk-welcome-badge-text {
        font-size: 0.75rem;
    }

    .rsk-welcome-title {
        margin-bottom: 1.5rem;
    }

    .rsk-welcome-title-decoration {
        width: 80px;
        height: 4px;
    }

    .rsk-welcome-subtitle {
        margin-bottom: 2rem;
    }

    .rsk-welcome-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .rsk-welcome-stat-divider {
        display: none;
    }

    .rsk-welcome-bg-circle-1 {
        width: 250px;
        height: 250px;
        top: -50px;
        right: -50px;
    }

    .rsk-welcome-bg-circle-2 {
        width: 200px;
        height: 200px;
    }
}

/**
 * KONZEPT 1: Architectural Foundation (UPDATED)
 *
 * Die 4 Säulen stehen auf einem visuellen Fundament
 * Professionelle Info-Leiste füllt den Weißraum
 * Architektkonische Visualisierung der Säulen-Metapher
 *
 * FIXES:
 * - Problem 1: Info-Boxen nun mit Säulen-Namen (Lebendig, Bewegt & Gesund, etc.)
 * - Problem 2: Nummerierung unten rechts statt oben links (keine Überschneidung)
 * - Problem 3: Karten-Überschriften größer, zentriert, lebendiger
 */

/* ============================================
   SECTION SETUP
   ============================================ */
.rsk-saeulen-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        var(--rsk-gray-50) 50%,
        #ffffff 100%
    );
    position: relative;
    overflow: visible; /* Wichtig für Fundament-Effekt */
}

/* Subtiles Grid-Pattern im Hintergrund (technisch, professionell) */
.rsk-saeulen-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 61, 165, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 61, 165, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
}

/* ============================================
   HEADER - Kompakter mit Fundament-Link
   ============================================ */
.rsk-saeulen-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 1.5rem; /* Reduziert von 3-5rem */
    padding: 0 var(--rsk-spacing-md);
    position: relative;
    z-index: 2;
}

/* Entferne das Stern-Icon - zu verspielt */
.rsk-saeulen-header::before {
    display: none;
}

.rsk-saeulen-header h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
}

/* Dezente Linie unter Überschrift (statt dekorativ) */
.rsk-saeulen-header h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: var(--rsk-primary);
    margin: var(--rsk-spacing-md) auto 0;
    border-radius: 2px;
}

.rsk-saeulen-header p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--rsk-gray-700);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* ============================================
   INFO-LEISTE - Professionelle Säulen-Darstellung
   FIX: Nun mit richtigen Säulen-Namen
   ============================================ */
.rsk-saeulen-principles {
    max-width: 1000px;
    margin: 2.5rem auto 3rem;
    padding: 0 var(--rsk-spacing-md);
    position: relative;
    z-index: 2;
}

.rsk-principles-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px; /* Minimaler Gap für Trennlinien-Effekt */
    background: var(--rsk-gray-200); /* Trennlinien-Farbe */
    border-radius: var(--rsk-radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rsk-principle-item {
    background: white;
    padding: 1.25rem 1rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.rsk-principle-item:hover {
    background: linear-gradient(135deg,
        rgba(0, 61, 165, 0.03) 0%,
        rgba(155, 165, 213, 0.05) 100%
    );
    transform: translateY(-2px);
}

/* Icon-Bereich (statisch, nicht schwebend) */
.rsk-principle-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    filter: grayscale(0.2);
    transition: all 0.3s ease;
}

.rsk-principle-item:hover .rsk-principle-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

/* FIX: Säulen-Titel (Lebendig, Bewegt & Gesund, etc.) */
.rsk-principle-title {
    font-size: 1rem; /* Größer von 0.875rem */
    font-weight: 800; /* Fetter von 700 */
    color: var(--rsk-primary);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* FIX: Beschreibung etwas größer und besser lesbar */
.rsk-principle-value {
    font-size: 0.75rem; /* Reduziert von 0.8rem für bessere Balance */
    color: var(--rsk-gray-700);
    line-height: 1.4;
    font-weight: 500;
}

/* ============================================
   FUNDAMENT - Die visuelle Basis der Säulen
   ============================================ */
.rsk-foundation {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
    position: relative;
    height: 40px;
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-foundation-bar {
    position: relative;
    width: 100%;
    height: 8px;
    background: linear-gradient(
        90deg,
        var(--rsk-primary) 0%,
        var(--rsk-primary-light) 50%,
        var(--rsk-primary) 100%
    );
    border-radius: 4px;
    box-shadow:
        0 2px 4px rgba(0, 61, 165, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Fundament-Verzierung (technischer Look) */
.rsk-foundation-bar::before,
.rsk-foundation-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--rsk-primary-dark);
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rsk-foundation-bar::before {
    left: -6px;
}

.rsk-foundation-bar::after {
    right: -6px;
}

/* Verbindungslinien von Fundament zu Karten */
.rsk-foundation-connectors {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--rsk-spacing-lg);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-foundation-connector {
    height: 32px;
    width: 3px;
    background: linear-gradient(
        to bottom,
        var(--rsk-primary) 0%,
        transparent 100%
    );
    margin: 0 auto;
    opacity: 0.3;
}

/* ============================================
   GRID - Säulen auf Fundament
   ============================================ */
.rsk-saeulen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--rsk-spacing-lg);
    padding: 0 var(--rsk-spacing-md);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ============================================
   KARTEN - Säulen-Design mit Top-Border
   ============================================ */
.rsk-saeulen-card {
    position: relative;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

/* Top-Border als "Kapitell" der Säule */
.rsk-saeulen-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--rsk-accent) 0%,
        var(--rsk-accent-hover) 100%
    );
    z-index: 10;
    transform-origin: center;
    transition: all 0.3s ease;
}

.rsk-saeulen-card:hover::before {
    height: 10px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.5);
}

.rsk-saeulen-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--rsk-shadow-xl);
}

/* FIX Problem 2: Nummerierung jetzt unten rechts (keine Überschneidung) */
.rsk-saeulen-card-overlay::before {
    content: attr(data-number);
    position: absolute;
    bottom: 1rem; /* Unten statt top */
    right: 1rem; /* Rechts statt left */
    width: 40px;
    height: 40px;
    background: rgba(0, 61, 165, 0.95);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px; /* Größerer Radius */
    font-size: 1.125rem; /* Etwas größer */
    font-weight: 800; /* Fetter */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 15;
    transition: all 0.3s ease;
}

.rsk-saeulen-card:hover .rsk-saeulen-card-overlay::before {
    background: rgba(255, 107, 53, 0.95); /* Orange on hover */
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5);
}

/* ============================================
   KARTEN OVERLAY & CONTENT
   FIX Problem 3: Überschriften lebendiger
   ============================================ */
.rsk-saeulen-card-overlay {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Zentriert vertikal */
    align-items: center; /* Zentriert horizontal */
    padding: 2rem 1.5rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    text-align: center;
    transition: background 0.3s ease;
}

.rsk-saeulen-card:hover .rsk-saeulen-card-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

/* FIX Problem 3: Überschriften VIEL größer, zentriert, lebendiger */
.rsk-saeulen-card-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem); /* Viel größer! */
    font-weight: 900; /* Extra bold */
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

/* Dezenter Akzent unter Titel */
.rsk-saeulen-card-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--rsk-accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.rsk-saeulen-card:hover .rsk-saeulen-card-title {
    transform: scale(1.05);
    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.3);
}

.rsk-saeulen-card:hover .rsk-saeulen-card-title::after {
    width: 80px;
    background: white;
}

/* Beschreibung - besser lesbar und positioniert */
.rsk-saeulen-card-description {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* ============================================
   KARTEN MEDIA (Bild/Video Hintergrund)
   ============================================ */
.rsk-saeulen-card-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.rsk-saeulen-card-image,
.rsk-saeulen-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rsk-saeulen-card:hover .rsk-saeulen-card-image,
.rsk-saeulen-card:hover .rsk-saeulen-card-video {
    transform: scale(1.1);
}

/* Individuelle Hintergrundfarben für Säulen-Platzhalter */
.rsk-saeulen-card-placeholder {
    width: 100%;
    height: 100%;
}

.rsk-saeulen-card[data-saeule="lebendig"] .rsk-saeulen-card-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.rsk-saeulen-card[data-saeule="bewegt-gesund"] .rsk-saeulen-card-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.rsk-saeulen-card[data-saeule="sozial"] .rsk-saeulen-card-placeholder {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.rsk-saeulen-card[data-saeule="talentiert"] .rsk-saeulen-card-placeholder {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* ============================================
   RESPONSIVE - Mobile Layout
   ============================================ */
@media (max-width: 768px) {
    .rsk-principles-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }

    .rsk-principle-icon {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .rsk-principle-title {
        font-size: 0.8rem;
    }

    .rsk-principle-value {
        font-size: 0.65rem;
    }

    .rsk-foundation {
        height: 30px;
        margin-bottom: var(--rsk-spacing-md);
    }

    .rsk-foundation-bar {
        height: 6px;
    }

    .rsk-foundation-connectors {
        display: none; /* Zu komplex auf Mobile */
    }

    .rsk-saeulen-grid {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-md);
    }

    .rsk-saeulen-header h2 {
        font-size: 1.75rem;
    }

    /* Mobile: Überschriften etwas kleiner aber immer noch prominent */
    .rsk-saeulen-card-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .rsk-saeulen-card-description {
        font-size: 0.875rem;
    }

    /* Mobile: Nummerierung etwas kleiner */
    .rsk-saeulen-card-overlay::before {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        bottom: 0.75rem;
        right: 0.75rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .rsk-principle-item,
    .rsk-saeulen-card,
    .rsk-principle-icon,
    .rsk-saeulen-card-title,
    .rsk-saeulen-card-image,
    .rsk-saeulen-card-video,
    .rsk-saeulen-card-overlay::before {
        transition: none;
    }

    .rsk-principle-item:hover,
    .rsk-saeulen-card:hover,
    .rsk-saeulen-card:hover .rsk-saeulen-card-title,
    .rsk-saeulen-card:hover .rsk-saeulen-card-image,
    .rsk-saeulen-card:hover .rsk-saeulen-card-video {
        transform: none;
    }
}
}

/* ============================================
   BUTTONS & CALL-TO-ACTIONS
   ============================================ */
.rsk-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--rsk-radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.rsk-btn-primary {
    background-color: var(--rsk-primary);
    color: white;
}

.rsk-btn-primary:hover {
    background-color: var(--rsk-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--rsk-shadow-md);
}

.rsk-btn-accent {
    background-color: var(--rsk-accent);
    color: white;
}

.rsk-btn-accent:hover {
    background-color: var(--rsk-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--rsk-shadow-md);
}

.rsk-btn-outline {
    background-color: transparent;
    color: var(--rsk-primary);
    border: 2px solid var(--rsk-primary);
}

.rsk-btn-outline:hover {
    background-color: var(--rsk-primary);
    color: white;
}

/* ============================================
   RESPONSIVE TYPOGRAPHY
   ============================================ */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--rsk-gray-900);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--rsk-spacing-md);
    color: var(--rsk-primary-dark);
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--rsk-spacing-md);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
*:focus-visible {
    outline: 3px solid var(--rsk-accent);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--rsk-primary);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--rsk-spacing-lg);
}

.mb-lg {
    margin-bottom: var(--rsk-spacing-lg);
}

.py-xl {
    padding-top: var(--rsk-spacing-xl);
    padding-bottom: var(--rsk-spacing-xl);
}

/* ============================================
   YOUTUBE VIDEO SECTION (IMAGEFILM)
   ============================================ */
.rsk-youtube-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Header */
.rsk-youtube-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--rsk-spacing-2xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-youtube-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--rsk-primary);
    margin: 0 0 var(--rsk-spacing-md);
    line-height: 1.2;
}

.rsk-youtube-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--rsk-gray-700);
    margin: 0;
    line-height: 1.6;
}

/* Video Container */
.rsk-youtube-video-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

.rsk-youtube-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 61, 165, 0.25),
                0 10px 30px -6px rgba(0, 0, 0, 0.1);
    background: var(--rsk-gray-900);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rsk-youtube-video-container:hover {
    box-shadow: 0 30px 80px -15px rgba(0, 61, 165, 0.35),
                0 15px 40px -8px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.rsk-youtube-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rsk-youtube-section {
        padding: clamp(3rem, 6vw, 4rem) 0;
    }

    .rsk-youtube-header {
        margin-bottom: var(--rsk-spacing-xl);
    }

    .rsk-youtube-video-container {
        border-radius: 12px;
    }

    .rsk-youtube-video-container:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 480px) {
    .rsk-youtube-video-container {
        border-radius: 8px;
    }
}

/* ============================================
   BILDERSTRECKE CAROUSEL SECTION
   ============================================ */
.rsk-gallery-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--rsk-gray-50);
    position: relative;
    overflow: hidden;
}

.rsk-gallery-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--rsk-spacing-xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-gallery-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-sm);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.rsk-gallery-header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--rsk-gray-700);
    line-height: 1.6;
}

/* Carousel Container */
.rsk-gallery-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

/* Track Container with Overflow */
.rsk-gallery-track-container {
    overflow: hidden;
    margin: 0 60px; /* Space for navigation arrows */
}

.rsk-gallery-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide */
.rsk-gallery-slide {
    flex: 0 0 calc((100% - 72px) / 4); /* 4 slides - 3 gaps */
    min-width: 0;
}

/* Gallery Card */
.rsk-gallery-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rsk-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rsk-shadow-lg);
}

/* Image Wrapper */
.rsk-gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: var(--rsk-gray-200);
}

.rsk-gallery-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rsk-gallery-card:hover .rsk-gallery-image-wrapper img {
    transform: scale(1.05);
}

/* Caption */
.rsk-gallery-caption {
    padding: var(--rsk-spacing-md);
    font-size: 0.9375rem;
    color: var(--rsk-gray-700);
    line-height: 1.5;
    text-align: center;
    background: white;
}

/* Navigation Arrows */
.rsk-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: white;
    color: var(--rsk-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
    z-index: 10;
}

.rsk-gallery-nav:hover:not(:disabled) {
    background: var(--rsk-primary);
    color: white;
    box-shadow: var(--rsk-shadow-lg);
    transform: translateY(-50%) scale(1.1);
}

.rsk-gallery-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.rsk-gallery-prev {
    left: 0;
}

.rsk-gallery-next {
    right: 0;
}

/* Dots Navigation */
.rsk-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: var(--rsk-spacing-lg);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--rsk-primary);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.rsk-gallery-dot:hover {
    background: var(--rsk-primary-light);
    transform: scale(1.2);
}

.rsk-gallery-dot.active {
    background: var(--rsk-primary);
    transform: scale(1.3);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .rsk-gallery-slide {
        flex: 0 0 calc((100% - 48px) / 3); /* 3 slides - 2 gaps */
    }
}

@media (max-width: 768px) {
    .rsk-gallery-slide {
        flex: 0 0 calc((100% - 24px) / 2); /* 2 slides - 1 gap */
    }

    .rsk-gallery-track-container {
        margin: 0 50px;
    }

    .rsk-gallery-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 640px) {
    .rsk-gallery-slide {
        flex: 0 0 100%; /* 1 slide */
    }

    .rsk-gallery-track {
        gap: 16px;
    }

    .rsk-gallery-track-container {
        margin: 0 45px;
    }

    .rsk-gallery-nav {
        width: 36px;
        height: 36px;
    }

    .rsk-gallery-nav svg {
        width: 20px;
        height: 20px;
    }
}

/* Focus States for Accessibility */
.rsk-gallery-nav:focus-visible,
.rsk-gallery-dot:focus-visible {
    outline: 3px solid var(--rsk-accent);
    outline-offset: 2px;
}

/* ============================================
   VERWALTUNG PAGE - Contact Grid Layout
   ============================================ */

/* Hero Section (Verwaltung specific) */
.rsk-verwaltung-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--rsk-primary) 0%,
        var(--rsk-primary-light) 50%,
        var(--rsk-primary-dark) 100%
    );
}

.rsk-verwaltung-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(155, 165, 213, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   OPENING HOURS SECTION
   ============================================ */
.rsk-opening-hours-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--rsk-gray-50);
}

.rsk-opening-hours-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--rsk-spacing-2xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-opening-hours-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
}

.rsk-opening-hours-header p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--rsk-gray-700);
    line-height: 1.7;
}

.rsk-opening-hours-card {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: var(--rsk-radius-xl);
    padding: var(--rsk-spacing-2xl);
    box-shadow: var(--rsk-shadow-lg);
    border-top: 4px solid var(--rsk-accent);
    transition: all 0.3s ease;
}

.rsk-opening-hours-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rsk-shadow-xl);
}

.rsk-opening-hours-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--rsk-spacing-lg);
    background: linear-gradient(135deg, var(--rsk-primary) 0%, var(--rsk-primary-light) 100%);
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 61, 165, 0.3);
}

.rsk-opening-hours-content {
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rsk-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--rsk-spacing-md) 0;
    border-bottom: 1px solid var(--rsk-gray-200);
}

.rsk-hours-item:last-child {
    border-bottom: none;
}

.rsk-hours-day {
    font-weight: 700;
    color: var(--rsk-primary);
    font-size: 1rem;
}

.rsk-hours-time {
    font-weight: 600;
    color: var(--rsk-gray-700);
    font-size: 1rem;
}

.rsk-opening-hours-note {
    background: var(--rsk-gray-50);
    border-radius: var(--rsk-radius-md);
    padding: var(--rsk-spacing-md);
    border-left: 3px solid var(--rsk-accent);
}

.rsk-opening-hours-note p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--rsk-gray-700);
    line-height: 1.6;
}

/* ============================================
   STAFF GRID SECTION
   ============================================ */
.rsk-staff-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: white;
    position: relative;
}

/* Subtle background pattern */
.rsk-staff-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 61, 165, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 61, 165, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

.rsk-staff-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--rsk-spacing-2xl);
    padding: 0 var(--rsk-spacing-md);
    position: relative;
    z-index: 1;
}

.rsk-staff-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
}

.rsk-staff-header h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: var(--rsk-primary);
    margin: var(--rsk-spacing-md) auto 0;
    border-radius: 2px;
}

.rsk-staff-header p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--rsk-gray-700);
    line-height: 1.7;
}

/* Staff Grid - Responsive 3-column layout */
.rsk-staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--rsk-spacing-xl);
    padding: 0 var(--rsk-spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Staff Card - Matching 4-Säulen aesthetic */
.rsk-staff-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--rsk-accent);
    display: flex;
    flex-direction: column;
}

.rsk-staff-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rsk-shadow-xl);
    border-top-color: var(--rsk-accent-hover);
}

/* Photo Section */
.rsk-staff-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rsk-gray-100) 0%, var(--rsk-gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsk-staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rsk-staff-card:hover .rsk-staff-photo img {
    transform: scale(1.05);
}

.rsk-staff-photo-placeholder {
    color: var(--rsk-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content Section */
.rsk-staff-content {
    padding: var(--rsk-spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rsk-staff-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rsk-primary-dark);
    margin-bottom: var(--rsk-spacing-xs);
    line-height: 1.3;
}

.rsk-staff-role {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--rsk-accent);
    margin-bottom: var(--rsk-spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact Information */
.rsk-staff-contact {
    display: flex;
    flex-direction: column;
    gap: var(--rsk-spacing-sm);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-staff-contact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem;
    background: var(--rsk-gray-50);
    border-radius: var(--rsk-radius-md);
    color: var(--rsk-gray-700);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    word-break: break-word;
}

.rsk-staff-contact-item svg {
    flex-shrink: 0;
    color: var(--rsk-primary);
}

.rsk-staff-contact-item:hover {
    background: var(--rsk-primary);
    color: white;
    transform: translateX(4px);
}

.rsk-staff-contact-item:hover svg {
    color: white;
}

.rsk-staff-email:hover {
    background: var(--rsk-primary);
}

.rsk-staff-phone:hover {
    background: var(--rsk-accent);
}

/* Office Hours */
.rsk-staff-hours {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--rsk-spacing-sm);
    background: linear-gradient(135deg, rgba(0, 61, 165, 0.05) 0%, rgba(155, 165, 213, 0.08) 100%);
    border-radius: var(--rsk-radius-md);
    font-size: 0.8125rem;
    color: var(--rsk-gray-700);
    border-left: 3px solid var(--rsk-secondary);
    margin-top: auto;
}

.rsk-staff-hours svg {
    flex-shrink: 0;
    color: var(--rsk-secondary);
}

/* Empty State */
.rsk-staff-empty {
    text-align: center;
    padding: var(--rsk-spacing-2xl);
    color: var(--rsk-gray-700);
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */
.rsk-contact-form-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        var(--rsk-gray-50) 50%,
        #ffffff 100%
    );
}

.rsk-contact-form-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--rsk-spacing-2xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-contact-form-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
}

.rsk-contact-form-header p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--rsk-gray-700);
    line-height: 1.7;
}

.rsk-contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

.rsk-form-placeholder {
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: var(--rsk-spacing-2xl);
    box-shadow: var(--rsk-shadow-md);
    text-align: center;
    border: 2px dashed var(--rsk-gray-300);
}

.rsk-form-placeholder p {
    margin: 0;
    color: var(--rsk-gray-700);
}

.rsk-form-placeholder small {
    color: var(--rsk-gray-700);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .rsk-staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--rsk-spacing-lg);
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .rsk-verwaltung-hero {
        height: 45vh;
        min-height: 350px;
    }

    .rsk-opening-hours-card {
        padding: var(--rsk-spacing-lg);
    }

    .rsk-opening-hours-icon {
        width: 64px;
        height: 64px;
    }

    .rsk-opening-hours-icon svg {
        width: 40px;
        height: 40px;
    }

    .rsk-hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--rsk-spacing-xs);
    }

    .rsk-hours-day,
    .rsk-hours-time {
        font-size: 0.9375rem;
    }

    .rsk-staff-grid {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-md);
    }

    .rsk-staff-content {
        padding: var(--rsk-spacing-md);
    }

    .rsk-staff-name {
        font-size: 1.125rem;
    }

    .rsk-staff-role {
        font-size: 0.875rem;
    }

    .rsk-contact-form-header h2 {
        font-size: 1.75rem;
    }
}

/* ============================================
   ACCESSIBILITY - VERWALTUNG SPECIFIC
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .rsk-staff-card,
    .rsk-opening-hours-card,
    .rsk-staff-contact-item,
    .rsk-staff-photo img {
        transition: none;
    }

    .rsk-staff-card:hover,
    .rsk-opening-hours-card:hover,
    .rsk-staff-contact-item:hover,
    .rsk-staff-card:hover .rsk-staff-photo img {
        transform: none;
    }
}

/* ============================================
   UNTERRICHT & PROFILE PAGE - Subjects Overview
   ============================================ */

/**
 * Realschule Kißlegg Education Page Layout
 * - Profile Levels (M-Level, G-Level)
 * - Bilingual Program
 * - Subject Categories with Tabs
 * - Subject Cards with Icons
 * - Timetable Downloads
 */

/* ============================================
   PAGE HERO - Unterricht & Profile
   ============================================ */
.rsk-unterricht-hero {
    position: relative;
    padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
    background: linear-gradient(
        135deg,
        var(--rsk-primary) 0%,
        var(--rsk-primary-dark) 100%
    );
    color: white;
    overflow: hidden;
}

/* Subtle grid background */
.rsk-unterricht-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.rsk-unterricht-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
    text-align: center;
}

.rsk-unterricht-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
}

.rsk-unterricht-hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ============================================
   PROFILE LEVELS SECTION - M-Level & G-Level
   ============================================ */
.rsk-profile-levels {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: white;
}

.rsk-profile-levels-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--rsk-spacing-xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-profile-levels-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
}

.rsk-profile-levels-header h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--rsk-accent);
    margin: var(--rsk-spacing-md) auto 0;
    border-radius: 2px;
}

.rsk-profile-levels-intro {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--rsk-gray-700);
    line-height: 1.7;
}

/* Profile Cards Grid */
.rsk-profile-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--rsk-spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

.rsk-profile-card {
    position: relative;
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: 2rem;
    box-shadow: var(--rsk-shadow-md);
    border-top: 6px solid var(--rsk-primary);
    transition: all 0.3s ease;
}

.rsk-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rsk-shadow-xl);
    border-top-width: 8px;
}

/* Profile Badge */
.rsk-profile-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--rsk-primary), var(--rsk-primary-light));
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--rsk-radius-md);
    margin-bottom: 1rem;
}

.rsk-profile-card-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--rsk-primary-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.rsk-profile-card-description {
    font-size: 1rem;
    color: var(--rsk-gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Profile Features List */
.rsk-profile-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.rsk-profile-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--rsk-gray-700);
    line-height: 1.6;
}

.rsk-profile-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rsk-accent);
    font-weight: 700;
    font-size: 1.125rem;
}

/* Profile CTA */
.rsk-profile-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--rsk-primary);
    border: 2px solid var(--rsk-primary);
    border-radius: var(--rsk-radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rsk-profile-cta:hover {
    background: var(--rsk-primary);
    color: white;
    transform: translateX(4px);
}

/* ============================================
   BILINGUAL PROGRAM HIGHLIGHT
   ============================================ */
.rsk-bilingual-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: linear-gradient(
        135deg,
        rgba(0, 61, 165, 0.03) 0%,
        rgba(155, 165, 213, 0.05) 100%
    );
    position: relative;
}

.rsk-bilingual-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rsk-spacing-xl);
    align-items: center;
}

.rsk-bilingual-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-bilingual-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--rsk-accent);
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    border-radius: var(--rsk-radius-md);
    margin-bottom: 1rem;
}

.rsk-bilingual-description {
    font-size: 1.125rem;
    color: var(--rsk-gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.rsk-bilingual-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rsk-bilingual-highlight {
    background: white;
    padding: 1rem;
    border-radius: var(--rsk-radius-md);
    border-left: 4px solid var(--rsk-accent);
    box-shadow: var(--rsk-shadow-sm);
}

.rsk-bilingual-highlight-title {
    font-weight: 700;
    color: var(--rsk-primary);
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.rsk-bilingual-highlight-value {
    color: var(--rsk-gray-700);
    font-size: 0.875rem;
}

.rsk-bilingual-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-xl);
}

.rsk-bilingual-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder gradient for bilingual visual */
.rsk-bilingual-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

/* ============================================
   SUBJECT CATEGORIES - Tabbed Layout
   ============================================ */
.rsk-subjects-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: white;
}

.rsk-subjects-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--rsk-spacing-xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-subjects-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-subjects-header h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--rsk-accent);
    margin: var(--rsk-spacing-md) auto 0;
    border-radius: 2px;
}

.rsk-subjects-intro {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--rsk-gray-700);
    line-height: 1.7;
}

/* Tabs Navigation */
.rsk-subjects-tabs {
    max-width: 1000px;
    margin: 0 auto var(--rsk-spacing-xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--rsk-gray-200);
    margin-bottom: var(--rsk-spacing-xl);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rsk-tab-button {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--rsk-gray-700);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
    margin-bottom: -2px;
}

.rsk-tab-button:hover {
    color: var(--rsk-primary);
    background: var(--rsk-gray-50);
}

.rsk-tab-button.active {
    color: var(--rsk-primary);
    border-bottom-color: var(--rsk-accent);
}

.rsk-tab-button .rsk-tab-icon {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

/* Tab Content Panels */
.rsk-tab-content {
    display: none;
}

.rsk-tab-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

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

/* ============================================
   SUBJECT CARDS GRID
   ============================================ */
.rsk-subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--rsk-spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

.rsk-subject-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--rsk-shadow-sm);
    border-top: 4px solid var(--rsk-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.rsk-subject-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rsk-shadow-lg);
    border-top-color: var(--rsk-accent);
}

/* Subject Icon */
.rsk-subject-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.rsk-subject-card:hover .rsk-subject-icon {
    transform: scale(1.15);
}

/* Color variations for different categories */
.rsk-subject-card[data-category="languages"] {
    border-top-color: #667eea;
}

.rsk-subject-card[data-category="mint"] {
    border-top-color: #43e97b;
}

.rsk-subject-card[data-category="arts"] {
    border-top-color: #f093fb;
}

.rsk-subject-card[data-category="sports"] {
    border-top-color: #f5576c;
}

.rsk-subject-card[data-category="social"] {
    border-top-color: #4facfe;
}

.rsk-subject-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rsk-primary-dark);
    margin-bottom: 0.5rem;
}

.rsk-subject-card-description {
    font-size: 0.875rem;
    color: var(--rsk-gray-700);
    line-height: 1.5;
}

/* ============================================
   TIMETABLE DOWNLOADS SECTION
   ============================================ */
.rsk-timetables-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: var(--rsk-gray-50);
}

.rsk-timetables-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

.rsk-timetables-header {
    text-align: center;
    margin-bottom: var(--rsk-spacing-xl);
}

.rsk-timetables-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-timetables-intro {
    font-size: 1.125rem;
    color: var(--rsk-gray-700);
    line-height: 1.7;
}

/* Timetable Download Cards */
.rsk-timetables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--rsk-spacing-lg);
}

.rsk-timetable-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: 2rem;
    box-shadow: var(--rsk-shadow-sm);
    border-left: 6px solid var(--rsk-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.rsk-timetable-card:hover {
    box-shadow: var(--rsk-shadow-md);
    border-left-color: var(--rsk-accent);
    transform: translateX(4px);
}

.rsk-timetable-icon {
    font-size: 3rem;
    color: var(--rsk-primary);
    transition: all 0.3s ease;
}

.rsk-timetable-card:hover .rsk-timetable-icon {
    color: var(--rsk-accent);
    transform: scale(1.1);
}

.rsk-timetable-content {
    flex: 1;
}

.rsk-timetable-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rsk-primary-dark);
    margin-bottom: 0.5rem;
}

.rsk-timetable-meta {
    font-size: 0.875rem;
    color: var(--rsk-gray-700);
    margin-bottom: 1rem;
}

.rsk-timetable-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--rsk-primary);
    color: white;
    border-radius: var(--rsk-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.rsk-timetable-download:hover {
    background: var(--rsk-accent);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE DESIGN - Unterricht Mobile
   ============================================ */
@media (max-width: 768px) {
    /* Profile Cards */
    .rsk-profile-cards {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-md);
    }

    /* Bilingual Section */
    .rsk-bilingual-container {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-lg);
    }

    .rsk-bilingual-highlights {
        grid-template-columns: 1fr;
    }

    /* Tabs Navigation */
    .rsk-tabs-nav {
        gap: 0.25rem;
        padding-bottom: 0.5rem;
    }

    .rsk-tab-button {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    /* Subject Grid */
    .rsk-subject-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: var(--rsk-spacing-md);
    }

    .rsk-subject-card {
        padding: 1.25rem;
    }

    .rsk-subject-icon {
        font-size: 2.5rem;
    }

    /* Timetable Cards */
    .rsk-timetables-grid {
        grid-template-columns: 1fr;
    }

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

/* ============================================
   ACCESSIBILITY - Unterricht
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .rsk-profile-card,
    .rsk-subject-card,
    .rsk-timetable-card,
    .rsk-subject-icon,
    .rsk-timetable-icon,
    .rsk-profile-cta,
    .rsk-tab-content {
        transition: none;
        animation: none;
    }

    .rsk-profile-card:hover,
    .rsk-subject-card:hover,
    .rsk-timetable-card:hover,
    .rsk-subject-card:hover .rsk-subject-icon,
    .rsk-timetable-card:hover .rsk-timetable-icon {
        transform: none;
    }
}

/* Focus visible for keyboard navigation */
.rsk-tab-button:focus-visible,
.rsk-profile-cta:focus-visible,
.rsk-timetable-download:focus-visible {
    outline: 3px solid var(--rsk-accent);
    outline-offset: 2px;
}

/* ============================================
   KALENDER PAGE - Events Calendar
   ============================================ */

/**
 * Realschule Kißlegg Calendar Page Layout
 * - Hero section with calendar icon
 * - Featured event cards (3 columns)
 * - Event category filters
 * - Full month calendar (Events Manager)
 * - Custom calendar styling to match RS Kisslegg brand
 */

/* ============================================
   CALENDAR HERO SECTION
   ============================================ */
.rsk-kalender-hero {
    position: relative;
    padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
    background: linear-gradient(
        135deg,
        var(--rsk-primary) 0%,
        var(--rsk-primary-dark) 100%
    );
    color: white;
    overflow: hidden;
}

/* Subtle grid background */
.rsk-kalender-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.rsk-kalender-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
    text-align: center;
}

.rsk-kalender-hero-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--rsk-spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.rsk-kalender-hero-icon svg {
    color: white;
}

.rsk-kalender-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
}

.rsk-kalender-hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ============================================
   FEATURED EVENTS SECTION
   ============================================ */
.rsk-featured-events {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: white;
}

.rsk-featured-events-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--rsk-spacing-xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-featured-events-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
}

.rsk-featured-events-header h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--rsk-accent);
    margin: var(--rsk-spacing-md) auto 0;
    border-radius: 2px;
}

/* Featured Events Grid - 3 Columns */
.rsk-featured-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--rsk-spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

/* Event Card - Professional Design */
.rsk-event-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--rsk-primary);
    position: relative;
}

.rsk-event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rsk-shadow-xl);
    border-top-color: var(--rsk-accent);
}

/* Event Date Badge */
.rsk-event-date-badge {
    position: absolute;
    top: -1px;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--rsk-accent), var(--rsk-accent-hover));
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 0 0 var(--rsk-radius-md) var(--rsk-radius-md);
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    z-index: 10;
    min-width: 70px;
}

.rsk-event-day {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.rsk-event-month {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Event Card Content */
.rsk-event-card-content {
    padding: 2.5rem 1.5rem 1.5rem;
}

.rsk-event-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--rsk-primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.rsk-event-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rsk-event-card-title a:hover {
    color: var(--rsk-accent);
}

.rsk-event-card-excerpt {
    font-size: 0.9375rem;
    color: var(--rsk-gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Event Meta Information */
.rsk-event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.rsk-event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--rsk-gray-700);
}

.rsk-event-meta-item svg {
    flex-shrink: 0;
    color: var(--rsk-primary);
}

/* Event Categories */
.rsk-event-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rsk-event-category-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--rsk-gray-100);
    color: var(--rsk-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--rsk-radius-sm);
    transition: all 0.2s ease;
}

.rsk-event-card:hover .rsk-event-category-tag {
    background: var(--rsk-primary);
    color: white;
}

/* No Events Message */
.rsk-no-events {
    text-align: center;
    padding: var(--rsk-spacing-2xl);
    color: var(--rsk-gray-700);
    background: var(--rsk-gray-50);
    border-radius: var(--rsk-radius-lg);
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   EVENT CATEGORY FILTERS
   ============================================ */
.rsk-event-filters {
    padding: clamp(2rem, 5vw, 3rem) 0;
    background: var(--rsk-gray-50);
}

.rsk-event-filters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

.rsk-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.rsk-filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--rsk-gray-300);
    border-radius: var(--rsk-radius-lg);
    color: var(--rsk-gray-700);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rsk-filter-btn:hover {
    background: var(--rsk-primary);
    border-color: var(--rsk-primary);
    color: white;
    transform: translateY(-2px);
}

.rsk-filter-btn.active {
    background: var(--rsk-primary);
    border-color: var(--rsk-primary);
    color: white;
    box-shadow: var(--rsk-shadow-md);
}

.rsk-filter-btn:focus-visible {
    outline: 3px solid var(--rsk-accent);
    outline-offset: 2px;
}

/* ============================================
   FULL CALENDAR SECTION
   ============================================ */
.rsk-full-calendar {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: white;
}

.rsk-full-calendar-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--rsk-spacing-xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-full-calendar-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
}

.rsk-full-calendar-header h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--rsk-accent);
    margin: var(--rsk-spacing-md) auto 0;
    border-radius: 2px;
}

.rsk-calendar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

/* Calendar Placeholder (if plugin not active) */
.rsk-calendar-placeholder {
    background: var(--rsk-gray-50);
    border: 2px dashed var(--rsk-gray-300);
    border-radius: var(--rsk-radius-lg);
    padding: var(--rsk-spacing-2xl);
    text-align: center;
}

.rsk-calendar-placeholder p {
    margin-bottom: var(--rsk-spacing-md);
}

/* ============================================
   EVENTS MANAGER CALENDAR OVERRIDES
   Custom styling for Events Manager calendar plugin
   ============================================ */

/* Calendar Table - RS Kisslegg Blue Theme */
.em-calendar-wrapper {
    background: white;
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-md);
    overflow: hidden;
    padding: 1.5rem;
}

.em-calendar table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
}

/* Calendar Header (Month Navigation) */
.em-calendar table thead {
    background: linear-gradient(135deg, var(--rsk-primary), var(--rsk-primary-light));
    color: white;
}

.em-calendar table thead th {
    padding: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    color: white;
}

.em-calendar table thead th a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.em-calendar table thead th a:hover {
    opacity: 0.8;
}

/* Calendar Navigation Arrows */
.em-calendar-prev,
.em-calendar-next {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Day Names Row */
.em-calendar table thead tr.days-names th {
    background: var(--rsk-gray-100);
    color: var(--rsk-primary);
    padding: 0.75rem;
    font-size: 0.875rem;
}

/* Calendar Days */
.em-calendar table tbody td {
    background: var(--rsk-gray-50);
    border: 1px solid var(--rsk-gray-200);
    padding: 0.5rem;
    vertical-align: top;
    height: 100px;
    transition: all 0.2s ease;
}

.em-calendar table tbody td:hover {
    background: var(--rsk-gray-100);
    border-color: var(--rsk-primary);
}

/* Today's Date */
.em-calendar table tbody td.eventful-today,
.em-calendar table tbody td.today {
    background: linear-gradient(135deg, rgba(0, 61, 165, 0.1), rgba(155, 165, 213, 0.15));
    border: 2px solid var(--rsk-primary);
    font-weight: 700;
}

/* Days with Events - Orange Accent */
.em-calendar table tbody td.eventful {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 107, 53, 0.12));
    border: 2px solid var(--rsk-accent);
    cursor: pointer;
}

.em-calendar table tbody td.eventful:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.2));
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Event Links in Calendar */
.em-calendar table tbody td a {
    display: block;
    color: var(--rsk-primary-dark);
    text-decoration: none;
    font-size: 0.8125rem;
    padding: 0.25rem;
    border-radius: var(--rsk-radius-sm);
    transition: all 0.2s ease;
}

.em-calendar table tbody td a:hover {
    background: var(--rsk-accent);
    color: white;
}

/* Day Number */
.em-calendar table tbody td .eventful-pre {
    font-weight: 700;
    color: var(--rsk-primary);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.em-calendar table tbody td.eventful .eventful-pre {
    color: var(--rsk-accent);
}

/* Event List in Calendar Cells */
.em-calendar table tbody td .em-cal-events {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.em-calendar table tbody td .em-cal-events li {
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
}

/* Empty/Non-Event Days */
.em-calendar table tbody td.eventless {
    opacity: 0.6;
}

/* Previous/Next Month Days */
.em-calendar table tbody td.eventless-pre,
.em-calendar table tbody td.eventless-post {
    background: var(--rsk-gray-100);
    opacity: 0.4;
}

/* ============================================
   RESPONSIVE DESIGN - Calendar Mobile
   ============================================ */
@media (max-width: 768px) {
    /* Hero Section */
    .rsk-kalender-hero {
        padding: clamp(2.5rem, 8vw, 4rem) 0 clamp(2rem, 6vw, 3rem);
    }

    .rsk-kalender-hero-icon {
        width: 70px;
        height: 70px;
    }

    .rsk-kalender-hero-icon svg {
        width: 50px;
        height: 50px;
    }

    /* Featured Events - Stack on Mobile */
    .rsk-featured-events-grid {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-md);
    }

    .rsk-event-date-badge {
        right: 1rem;
        padding: 0.75rem 1rem;
        min-width: 60px;
    }

    .rsk-event-day {
        font-size: 1.5rem;
    }

    .rsk-event-month {
        font-size: 0.75rem;
    }

    .rsk-event-card-content {
        padding: 2rem 1.25rem 1.25rem;
    }

    .rsk-event-card-title {
        font-size: 1.25rem;
    }

    /* Filter Buttons */
    .rsk-filter-buttons {
        gap: 0.5rem;
    }

    .rsk-filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Calendar - Simplified Mobile View */
    .em-calendar-wrapper {
        padding: 1rem;
    }

    .em-calendar table tbody td {
        height: 80px;
        padding: 0.375rem;
    }

    .em-calendar table tbody td .eventful-pre {
        font-size: 1rem;
    }

    .em-calendar table tbody td a {
        font-size: 0.75rem;
    }

    .em-calendar table tbody td .em-cal-events li {
        font-size: 0.625rem;
    }

    /* Hide some calendar details on very small screens */
    @media (max-width: 480px) {
        .em-calendar table tbody td {
            height: 60px;
        }

        .em-calendar table tbody td .em-cal-events {
            display: none; /* Hide event titles on tiny screens */
        }
    }
}

/* Tablet - 2 Column Layout */
@media (min-width: 769px) and (max-width: 1024px) {
    .rsk-featured-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   ACCESSIBILITY - Calendar Specific
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .rsk-event-card,
    .rsk-filter-btn,
    .em-calendar table tbody td {
        transition: none;
    }

    .rsk-event-card:hover,
    .rsk-filter-btn:hover,
    .em-calendar table tbody td:hover {
        transform: none;
    }
}

/* Focus visible for keyboard navigation */
.rsk-event-card:focus-within {
    outline: 3px solid var(--rsk-accent);
    outline-offset: 2px;
}

.em-calendar table tbody td a:focus-visible {
    outline: 3px solid var(--rsk-accent);
    outline-offset: 2px;
}

/* Screen Reader Text */
.rsk-kalender-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .rsk-event-card {
        border: 2px solid currentColor;
    }

    .rsk-filter-btn {
        border-width: 3px;
    }

    .em-calendar table tbody td {
        border: 2px solid currentColor;
    }
}


/* ============================================
   ANMELDUNG (ENROLLMENT) PAGE
   ============================================ */

/**
 * Anmeldung Page Styles
 * - Hero section with gradient
 * - Deadline banner (urgent)
 * - Info boxes (2-column)
 * - Process steps timeline
 * - WPForms styling overrides
 * - Help section (contact card)
 */

/* ============================================
   HERO SECTION - ANMELDUNG
   ============================================ */
.rsk-anmeldung-hero {
    position: relative;
    padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
    background: linear-gradient(
        135deg,
        var(--rsk-primary) 0%,
        var(--rsk-primary-light) 50%,
        var(--rsk-primary-dark) 100%
    );
    color: white;
    overflow: hidden;
}

/* Grid pattern background */
.rsk-anmeldung-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
}

.rsk-anmeldung-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
    text-align: center;
}

.rsk-anmeldung-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
}

.rsk-anmeldung-hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ============================================
   DEADLINE BANNER - URGENT
   ============================================ */
.rsk-deadline-banner {
    background: linear-gradient(
        135deg,
        var(--rsk-accent) 0%,
        var(--rsk-accent-hover) 100%
    );
    color: white;
    padding: var(--rsk-spacing-lg) 0;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.rsk-deadline-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--rsk-spacing-md);
    flex-wrap: wrap;
}

.rsk-deadline-icon {
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.rsk-deadline-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.4;
}

.rsk-deadline-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: var(--rsk-spacing-sm) var(--rsk-spacing-md);
    border-radius: var(--rsk-radius-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.rsk-countdown-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.rsk-countdown-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* ============================================
   INFORMATION SECTION
   ============================================ */
.rsk-anmeldung-info-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: white;
}

.rsk-anmeldung-info-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--rsk-spacing-2xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-anmeldung-info-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
}

.rsk-anmeldung-info-header h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background: var(--rsk-accent);
    margin: var(--rsk-spacing-md) auto 0;
    border-radius: 2px;
}

.rsk-anmeldung-info-header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--rsk-gray-700);
    line-height: 1.7;
}

/* Info Boxes Grid */
.rsk-info-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--rsk-spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

.rsk-info-box {
    background: white;
    padding: var(--rsk-spacing-xl);
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-md);
    border-left: 6px solid var(--rsk-primary);
    transition: all 0.3s ease;
}

.rsk-info-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--rsk-shadow-xl);
    border-left-color: var(--rsk-accent);
}

.rsk-info-box-icon {
    font-size: 3rem;
    margin-bottom: var(--rsk-spacing-md);
    display: block;
}

.rsk-info-box-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rsk-primary-dark);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-info-box-content {
    font-size: 1rem;
    color: var(--rsk-gray-700);
    line-height: 1.7;
}

/* ============================================
   PROCESS STEPS TIMELINE
   ============================================ */
.rsk-process-steps-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: linear-gradient(
        180deg,
        var(--rsk-gray-50) 0%,
        #ffffff 100%
    );
}

.rsk-steps-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--rsk-spacing-2xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-steps-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-steps-header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--rsk-gray-700);
}

/* Timeline Container */
.rsk-process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--rsk-spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
    position: relative;
}

/* Step Card */
.rsk-process-step {
    position: relative;
    background: white;
    padding: var(--rsk-spacing-xl);
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--rsk-primary);
}

.rsk-process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--rsk-shadow-xl);
    border-top-color: var(--rsk-accent);
}

/* Step Number Badge */
.rsk-step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--rsk-accent), var(--rsk-accent-hover));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    border: 3px solid white;
}

.rsk-step-icon {
    font-size: 3.5rem;
    display: block;
    margin: var(--rsk-spacing-md) auto;
}

.rsk-step-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--rsk-primary-dark);
    margin-bottom: var(--rsk-spacing-sm);
    line-height: 1.3;
}

.rsk-step-description {
    font-size: 1rem;
    color: var(--rsk-gray-700);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   WPFORMS INTEGRATION SECTION
   ============================================ */
.rsk-enrollment-form-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: white;
}

.rsk-form-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--rsk-spacing-2xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-form-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-form-header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--rsk-gray-700);
    line-height: 1.7;
}

/* Form Container */
.rsk-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

/* Form Placeholder */
.rsk-form-placeholder {
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: clamp(3rem, 6vw, 5rem) var(--rsk-spacing-xl);
    box-shadow: var(--rsk-shadow-md);
    text-align: center;
    border: 2px dashed var(--rsk-gray-300);
}

.rsk-form-placeholder-icon {
    margin: 0 auto var(--rsk-spacing-lg);
    color: var(--rsk-gray-300);
}

.rsk-form-placeholder h3 {
    font-size: 1.5rem;
    color: var(--rsk-gray-700);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-form-placeholder p {
    color: var(--rsk-gray-700);
    margin-bottom: var(--rsk-spacing-sm);
}

/* ============================================
   WPFORMS STYLING OVERRIDES
   ============================================ */

/* WPForms Container */
.rsk-form-container .wpforms-container {
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: var(--rsk-spacing-xl);
    box-shadow: var(--rsk-shadow-md);
}

/* Form Title */
.rsk-form-container .wpforms-title {
    display: none; /* Hide as we have custom header */
}

/* Form Fields */
.rsk-form-container .wpforms-field {
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-form-container .wpforms-field-label {
    font-weight: 600;
    color: var(--rsk-primary-dark);
    margin-bottom: var(--rsk-spacing-xs);
    font-size: 1rem;
}

.rsk-form-container .wpforms-field-label-inline {
    font-weight: 500;
    color: var(--rsk-gray-700);
}

.rsk-form-container .wpforms-required-label {
    color: var(--rsk-accent);
}

/* Text Inputs, Textareas, Selects */
.rsk-form-container input[type="text"],
.rsk-form-container input[type="email"],
.rsk-form-container input[type="tel"],
.rsk-form-container input[type="url"],
.rsk-form-container input[type="number"],
.rsk-form-container input[type="date"],
.rsk-form-container textarea,
.rsk-form-container select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--rsk-gray-200);
    border-radius: var(--rsk-radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.rsk-form-container input:focus,
.rsk-form-container textarea:focus,
.rsk-form-container select:focus {
    outline: none;
    border-color: var(--rsk-primary);
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.1);
}

/* Textarea */
.rsk-form-container textarea {
    min-height: 120px;
    resize: vertical;
}

/* Radio & Checkbox */
.rsk-form-container input[type="radio"],
.rsk-form-container input[type="checkbox"] {
    margin-right: var(--rsk-spacing-xs);
    accent-color: var(--rsk-primary);
}

.rsk-form-container .wpforms-field-radio li,
.rsk-form-container .wpforms-field-checkbox li {
    margin-bottom: var(--rsk-spacing-sm);
    display: flex;
    align-items: center;
}

/* Submit Button */
.rsk-form-container .wpforms-submit {
    background: var(--rsk-accent);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--rsk-radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.rsk-form-container .wpforms-submit:hover {
    background: var(--rsk-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.rsk-form-container .wpforms-submit:active {
    transform: translateY(0);
}

/* Validation */
.rsk-form-container .wpforms-error {
    border-color: var(--rsk-error) !important;
}

.rsk-form-container .wpforms-error-container {
    background: #FEE;
    border-left: 3px solid var(--rsk-error);
    padding: var(--rsk-spacing-md);
    border-radius: var(--rsk-radius-md);
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-form-container label.wpforms-error {
    color: var(--rsk-error);
    font-size: 0.875rem;
    margin-top: var(--rsk-spacing-xs);
}

/* Success Message */
.rsk-form-container .wpforms-confirmation-container {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: var(--rsk-spacing-xl);
    border-radius: var(--rsk-radius-lg);
    text-align: center;
    box-shadow: var(--rsk-shadow-md);
}

.rsk-form-container .wpforms-confirmation-container p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* ============================================
   HELP SECTION - CONTACT CARD
   ============================================ */
.rsk-help-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        var(--rsk-gray-50) 100%
    );
}

.rsk-help-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

.rsk-help-header {
    text-align: center;
    margin-bottom: var(--rsk-spacing-xl);
}

.rsk-help-icon {
    display: block;
    margin: 0 auto var(--rsk-spacing-md);
    color: var(--rsk-primary);
}

.rsk-help-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-help-header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--rsk-gray-700);
}

/* Contact Grid */
.rsk-help-content {
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: var(--rsk-spacing-xl);
    box-shadow: var(--rsk-shadow-lg);
    border-top: 4px solid var(--rsk-accent);
}

.rsk-help-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--rsk-spacing-lg);
}

.rsk-help-contact-item {
    display: flex;
    gap: var(--rsk-spacing-md);
    padding: var(--rsk-spacing-md);
    background: var(--rsk-gray-50);
    border-radius: var(--rsk-radius-md);
    transition: all 0.2s ease;
}

.rsk-help-contact-item:hover {
    background: var(--rsk-gray-100);
    transform: translateX(4px);
}

.rsk-help-contact-item svg {
    flex-shrink: 0;
    color: var(--rsk-primary);
    margin-top: 2px;
}

.rsk-help-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rsk-primary);
    margin-bottom: 0.25rem;
}

.rsk-help-value {
    font-size: 1rem;
    color: var(--rsk-gray-900);
    font-weight: 500;
}

.rsk-help-value:hover {
    color: var(--rsk-primary);
}

/* Help Footer */
.rsk-help-footer {
    margin-top: var(--rsk-spacing-lg);
    padding-top: var(--rsk-spacing-lg);
    border-top: 1px solid var(--rsk-gray-200);
    text-align: center;
}

.rsk-help-footer p {
    margin: 0;
    color: var(--rsk-gray-700);
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .rsk-info-boxes {
        grid-template-columns: 1fr;
    }

    .rsk-help-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Hero */
    .rsk-anmeldung-hero {
        padding: clamp(3rem, 8vw, 4rem) 0 clamp(2rem, 6vw, 3rem);
    }

    /* Deadline Banner */
    .rsk-deadline-content {
        flex-direction: column;
        text-align: center;
    }

    .rsk-deadline-text {
        font-size: 1rem;
    }

    .rsk-countdown-number {
        font-size: 1.5rem;
    }

    /* Process Steps */
    .rsk-process-timeline {
        grid-template-columns: 1fr;
    }

    .rsk-step-number {
        top: -16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .rsk-step-icon {
        font-size: 2.5rem;
    }

    /* Help Contact Grid */
    .rsk-help-contact-grid {
        gap: var(--rsk-spacing-md);
    }

    .rsk-help-contact-item {
        padding: var(--rsk-spacing-sm);
    }
}

/* ============================================
   ACCESSIBILITY - ANMELDUNG
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .rsk-deadline-icon,
    .rsk-info-box,
    .rsk-process-step,
    .rsk-help-contact-item {
        animation: none;
        transition: none;
    }

    .rsk-info-box:hover,
    .rsk-process-step:hover,
    .rsk-help-contact-item:hover,
    .rsk-form-container .wpforms-submit:hover {
        transform: none;
    }
}

/* ============================================
   UNSERE SCHULE PAGE - About Us
   ============================================ */

/**
 * Realschule Kißlegg "Unsere Schule" (About Us) Page
 * - Hero Section with background image
 * - School Statistics Grid
 * - About Text (2-column layout)
 * - History Timeline (optional, alternating)
 * - Team Grid (simplified cards)
 */

/* ============================================
   HERO SECTION - Unsere Schule
   ============================================ */
.rsk-unsere-schule-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--rsk-primary);
}

/* Default gradient background if no image */
.rsk-unsere-schule-hero:not([style*="background-image"]) {
    background: linear-gradient(
        135deg,
        var(--rsk-primary) 0%,
        var(--rsk-primary-light) 50%,
        var(--rsk-primary-dark) 100%
    );
}

.rsk-unsere-schule-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

/* ============================================
   SCHOOL STATS SECTION
   ============================================ */
.rsk-stats-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: linear-gradient(
        135deg,
        rgba(0, 61, 165, 0.03) 0%,
        rgba(155, 165, 213, 0.05) 100%
    );
    position: relative;
}

.rsk-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--rsk-spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.rsk-stat-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Gradient background variants */
.rsk-stat-card[data-index="0"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.rsk-stat-card[data-index="1"] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.rsk-stat-card[data-index="2"] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.rsk-stat-card[data-index="3"] {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.rsk-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rsk-shadow-xl);
}

.rsk-stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: brightness(1.2);
}

.rsk-stat-number {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rsk-stat-label {
    font-size: clamp(0.9rem, 2vw, 1.125rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* ============================================
   ABOUT TEXT SECTION (2-Column)
   ============================================ */
.rsk-about-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: white;
}

.rsk-about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.rsk-about-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-lg);
    letter-spacing: -0.02em;
}

.rsk-about-content h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--rsk-accent);
    margin-top: var(--rsk-spacing-md);
    border-radius: 2px;
}

.rsk-about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--rsk-gray-700);
}

.rsk-about-text p {
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-about-text p:last-child {
    margin-bottom: 0;
}

.rsk-about-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--rsk-radius-xl);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-xl);
}

.rsk-about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rsk-about-visual:hover img {
    transform: scale(1.05);
}

.rsk-about-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--rsk-gray-100) 0%, var(--rsk-gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rsk-primary);
}

/* ============================================
   HISTORY TIMELINE SECTION
   ============================================ */
.rsk-timeline-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--rsk-gray-50);
    position: relative;
}

.rsk-timeline-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--rsk-spacing-2xl);
    padding: 0 var(--rsk-spacing-md);
}

.rsk-timeline-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
}

.rsk-timeline-header h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--rsk-accent);
    margin: var(--rsk-spacing-md) auto 0;
    border-radius: 2px;
}

/* Timeline Container */
.rsk-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

/* Center Line */
.rsk-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--rsk-primary) 5%,
        var(--rsk-primary) 95%,
        transparent 100%
    );
    transform: translateX(-50%);
}

/* Timeline Item */
.rsk-timeline-item {
    position: relative;
    margin-bottom: clamp(2rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--rsk-spacing-lg);
    align-items: center;
}

/* Timeline Marker (Center Dot) */
.rsk-timeline-marker {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsk-timeline-dot {
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--rsk-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 61, 165, 0.1);
    transition: all 0.3s ease;
}

.rsk-timeline-item:hover .rsk-timeline-dot {
    background: var(--rsk-accent);
    border-color: var(--rsk-accent);
    box-shadow: 0 0 0 8px rgba(255, 107, 53, 0.15);
    transform: scale(1.2);
}

/* Timeline Cards - Alternating Left/Right */
.rsk-timeline-left .rsk-timeline-card {
    grid-column: 1;
    text-align: right;
}

.rsk-timeline-right .rsk-timeline-card {
    grid-column: 3;
    text-align: left;
}

/* Timeline Card Styling */
.rsk-timeline-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: 2rem;
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--rsk-primary);
}

.rsk-timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rsk-shadow-xl);
    border-top-color: var(--rsk-accent);
}

.rsk-timeline-year {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--rsk-primary), var(--rsk-primary-light));
    padding: 0.5rem 1rem;
    border-radius: var(--rsk-radius-md);
    margin-bottom: 1rem;
}

.rsk-timeline-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--rsk-radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
}

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

.rsk-timeline-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rsk-primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.rsk-timeline-card-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rsk-gray-700);
}

/* ============================================
   TEAM GRID SECTION
   ============================================ */
.rsk-team-section {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: white;
    position: relative;
}

/* Subtle background pattern */
.rsk-team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 61, 165, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 61, 165, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
    z-index: 0;
}

.rsk-team-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--rsk-spacing-2xl);
    padding: 0 var(--rsk-spacing-md);
    position: relative;
    z-index: 1;
}

.rsk-team-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
}

.rsk-team-header h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: var(--rsk-primary);
    margin: var(--rsk-spacing-md) auto 0;
    border-radius: 2px;
}

.rsk-team-header p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--rsk-gray-700);
    line-height: 1.7;
}

/* Team Grid - 3 columns responsive */
.rsk-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--rsk-spacing-xl);
    padding: 0 var(--rsk-spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Simplified Team Card (photo, name, role only) */
.rsk-team-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--rsk-primary);
}

.rsk-team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rsk-shadow-xl);
    border-top-color: var(--rsk-accent);
}

.rsk-team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rsk-gray-100) 0%, var(--rsk-gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsk-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rsk-team-card:hover .rsk-team-photo img {
    transform: scale(1.05);
}

.rsk-team-photo-placeholder {
    color: var(--rsk-gray-300);
}

.rsk-team-content {
    padding: 1.5rem;
    text-align: center;
}

.rsk-team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rsk-primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.rsk-team-role {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--rsk-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Link to Verwaltung Card */
.rsk-team-link-card {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(0, 61, 165, 0.05) 0%, rgba(155, 165, 213, 0.08) 100%);
    border-radius: var(--rsk-radius-xl);
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    border: 2px solid var(--rsk-gray-200);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.rsk-team-link-card:hover {
    border-color: var(--rsk-primary);
    transform: translateY(-4px);
    box-shadow: var(--rsk-shadow-lg);
}

.rsk-team-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto var(--rsk-spacing-lg);
    background: linear-gradient(135deg, var(--rsk-primary) 0%, var(--rsk-primary-light) 100%);
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 61, 165, 0.3);
}

.rsk-team-link-content h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-team-link-content p {
    font-size: 1.0625rem;
    color: var(--rsk-gray-700);
    line-height: 1.7;
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-team-link-content .rsk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Empty State */
.rsk-team-empty {
    text-align: center;
    padding: var(--rsk-spacing-2xl);
    color: var(--rsk-gray-700);
    position: relative;
    z-index: 1;
}

/* ============================================
   RESPONSIVE - TABLET (Unsere Schule)
   ============================================ */
@media (max-width: 1024px) {
    .rsk-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rsk-about-container {
        grid-template-columns: 1fr;
    }

    .rsk-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--rsk-spacing-lg);
    }
}

/* ============================================
   RESPONSIVE - MOBILE (Unsere Schule)
   ============================================ */
@media (max-width: 768px) {
    .rsk-unsere-schule-hero {
        height: 50vh;
        min-height: 400px;
    }

    .rsk-stats-grid {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-md);
    }

    .rsk-stat-card {
        padding: 2rem 1.5rem;
    }

    .rsk-stat-number {
        font-size: 3rem;
    }

    .rsk-about-container {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-lg);
    }

    .rsk-about-visual {
        order: -1;
    }

    /* Timeline - Mobile: Left-aligned */
    .rsk-timeline::before {
        left: 20px;
    }

    .rsk-timeline-item {
        grid-template-columns: auto 1fr;
        gap: var(--rsk-spacing-md);
    }

    .rsk-timeline-left .rsk-timeline-card,
    .rsk-timeline-right .rsk-timeline-card {
        grid-column: 2;
        text-align: left;
    }

    .rsk-timeline-marker {
        align-self: start;
        margin-top: 1rem;
    }

    .rsk-timeline-dot {
        width: 16px;
        height: 16px;
        border-width: 3px;
    }

    .rsk-timeline-card {
        padding: 1.5rem;
    }

    .rsk-timeline-year {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    .rsk-timeline-card-title {
        font-size: 1.25rem;
    }

    .rsk-team-grid {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-md);
    }

    .rsk-team-link-icon {
        width: 80px;
        height: 80px;
    }

    .rsk-team-link-icon svg {
        width: 48px;
        height: 48px;
    }
}

/* ============================================
   ACCESSIBILITY - Unsere Schule
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .rsk-stat-card,
    .rsk-timeline-card,
    .rsk-team-card,
    .rsk-about-visual img,
    .rsk-team-photo img,
    .rsk-timeline-dot,
    .rsk-team-link-card {
        transition: none;
    }

    .rsk-stat-card:hover,
    .rsk-timeline-card:hover,
    .rsk-team-card:hover,
    .rsk-about-visual:hover img,
    .rsk-team-card:hover .rsk-team-photo img,
    .rsk-timeline-item:hover .rsk-timeline-dot,
    .rsk-team-link-card:hover {
        transform: none;
    }
}

/* ============================================
   AKTUELLES - BLOG/NEWS ARCHIVE STYLING
   ============================================ */

/* Archive Page Header */
.archive .page-header,
.blog .page-header {
    text-align: center;
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md) var(--rsk-spacing-xl);
    background: linear-gradient(135deg, var(--rsk-primary) 0%, var(--rsk-primary-dark) 100%);
    color: white;
    margin-bottom: var(--rsk-spacing-2xl);
    border-radius: var(--rsk-radius-lg);
}

.archive .page-title,
.blog .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 var(--rsk-spacing-sm);
    color: white;
    letter-spacing: -0.02em;
}

.archive .archive-description,
.blog .archive-description {
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
}

/* Post Grid Layout */
.archive .site-main,
.blog .site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
}

.archive .content-wrap,
.blog .content-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--rsk-spacing-lg);
    margin-bottom: var(--rsk-spacing-2xl);
}

/* Post Card */
.archive article.entry,
.blog article.entry {
    background: white;
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.archive article.entry:hover,
.blog article.entry:hover {
    transform: translateY(-8px);
    box-shadow: var(--rsk-shadow-xl);
}

/* Featured Image */
.archive .post-thumbnail,
.blog .post-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--rsk-gray-200);
}

.archive .post-thumbnail img,
.blog .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive article.entry:hover .post-thumbnail img,
.blog article.entry:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* Card Content */
.archive .entry-content-wrap,
.blog .entry-content-wrap {
    padding: var(--rsk-spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Post Meta */
.archive .entry-meta,
.blog .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--rsk-spacing-sm);
    align-items: center;
    margin-bottom: var(--rsk-spacing-sm);
    font-size: 0.875rem;
    color: var(--rsk-gray-700);
}

.archive .entry-meta > *,
.blog .entry-meta > * {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Meta Icons (Font Awesome or SVG) */
.archive .entry-meta .posted-on::before,
.blog .entry-meta .posted-on::before {
    content: "📅";
    font-size: 0.875rem;
}

.archive .entry-meta .byline::before,
.blog .entry-meta .byline::before {
    content: "✍️";
    font-size: 0.875rem;
}

/* Category Badge */
.archive .entry-meta .cat-links,
.blog .entry-meta .cat-links {
    background: var(--rsk-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s ease;
}

.archive .entry-meta .cat-links:hover,
.blog .entry-meta .cat-links:hover {
    background: var(--rsk-accent-hover);
}

.archive .entry-meta .cat-links a,
.blog .entry-meta .cat-links a {
    color: white;
    text-decoration: none;
}

/* Post Title */
.archive .entry-title,
.blog .entry-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 var(--rsk-spacing-sm);
    color: var(--rsk-gray-900);
}

.archive .entry-title a,
.blog .entry-title a {
    color: var(--rsk-gray-900);
    text-decoration: none;
    transition: color 0.2s ease;
}

.archive .entry-title a:hover,
.blog .entry-title a:hover {
    color: var(--rsk-primary);
}

/* Post Excerpt */
.archive .entry-summary,
.blog .entry-summary {
    color: var(--rsk-gray-700);
    line-height: 1.6;
    margin-bottom: var(--rsk-spacing-md);
    flex: 1;
}

.archive .entry-summary p,
.blog .entry-summary p {
    margin: 0;
}

/* Read More Link */
.archive .entry-footer,
.blog .entry-footer {
    margin-top: auto;
    padding-top: var(--rsk-spacing-sm);
}

.archive .more-link,
.blog .more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--rsk-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    padding: 0.625rem 1.25rem;
    border: 2px solid var(--rsk-primary);
    border-radius: var(--rsk-radius-md);
}

.archive .more-link::after,
.blog .more-link::after {
    content: "→";
    transition: transform 0.2s ease;
}

.archive .more-link:hover,
.blog .more-link:hover {
    background: var(--rsk-primary);
    color: white;
}

.archive .more-link:hover::after,
.blog .more-link:hover::after {
    transform: translateX(4px);
}

/* Pagination */
.archive .pagination,
.blog .pagination,
.archive .navigation.pagination,
.blog .navigation.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--rsk-spacing-xs);
    margin: var(--rsk-spacing-2xl) 0;
    flex-wrap: wrap;
}

.archive .page-numbers,
.blog .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--rsk-radius-md);
    background: white;
    border: 2px solid var(--rsk-gray-300);
    color: var(--rsk-gray-700);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.archive .page-numbers:hover,
.blog .page-numbers:hover {
    background: var(--rsk-gray-100);
    border-color: var(--rsk-primary);
    color: var(--rsk-primary);
}

.archive .page-numbers.current,
.blog .page-numbers.current {
    background: var(--rsk-accent);
    border-color: var(--rsk-accent);
    color: white;
}

.archive .page-numbers.dots,
.blog .page-numbers.dots {
    border: none;
    background: transparent;
}

/* Prev/Next Arrows */
.archive .page-numbers.prev,
.blog .page-numbers.prev,
.archive .page-numbers.next,
.blog .page-numbers.next {
    font-size: 1.125rem;
}

/* Sidebar Widgets */
.archive .sidebar,
.blog .sidebar {
    margin-top: var(--rsk-spacing-2xl);
}

.archive .widget,
.blog .widget {
    background: white;
    padding: var(--rsk-spacing-lg);
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-md);
    margin-bottom: var(--rsk-spacing-lg);
}

.archive .widget-title,
.blog .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin: 0 0 var(--rsk-spacing-md);
    padding-bottom: var(--rsk-spacing-sm);
    border-bottom: 3px solid var(--rsk-accent);
}

/* Recent Posts Widget */
.archive .widget_recent_entries ul,
.blog .widget_recent_entries ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive .widget_recent_entries li,
.blog .widget_recent_entries li {
    margin-bottom: var(--rsk-spacing-sm);
    padding-bottom: var(--rsk-spacing-sm);
    border-bottom: 1px solid var(--rsk-gray-200);
}

.archive .widget_recent_entries li:last-child,
.blog .widget_recent_entries li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.archive .widget_recent_entries a,
.blog .widget_recent_entries a {
    color: var(--rsk-gray-900);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.archive .widget_recent_entries a:hover,
.blog .widget_recent_entries a:hover {
    color: var(--rsk-primary);
}

.archive .widget_recent_entries .post-date,
.blog .widget_recent_entries .post-date {
    display: block;
    font-size: 0.875rem;
    color: var(--rsk-gray-700);
    margin-top: 0.25rem;
}

/* Categories Widget */
.archive .widget_categories ul,
.blog .widget_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive .widget_categories li,
.blog .widget_categories li {
    margin-bottom: var(--rsk-spacing-xs);
}

.archive .widget_categories a,
.blog .widget_categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: var(--rsk-radius-sm);
    color: var(--rsk-gray-900);
    text-decoration: none;
    transition: all 0.2s ease;
}

.archive .widget_categories a:hover,
.blog .widget_categories a:hover {
    background: var(--rsk-gray-100);
    color: var(--rsk-primary);
    padding-left: 1rem;
}

/* Search Widget */
.archive .widget_search .search-form,
.blog .widget_search .search-form {
    display: flex;
    gap: var(--rsk-spacing-xs);
}

.archive .widget_search .search-field,
.blog .widget_search .search-field {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 2px solid var(--rsk-gray-300);
    border-radius: var(--rsk-radius-md);
    font-size: 0.9375rem;
    transition: border-color 0.2s ease;
}

.archive .widget_search .search-field:focus,
.blog .widget_search .search-field:focus {
    outline: none;
    border-color: var(--rsk-primary);
}

.archive .widget_search .search-submit,
.blog .widget_search .search-submit {
    padding: 0.625rem 1.25rem;
    background: var(--rsk-primary);
    color: white;
    border: none;
    border-radius: var(--rsk-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.archive .widget_search .search-submit:hover,
.blog .widget_search .search-submit:hover {
    background: var(--rsk-primary-dark);
}

/* ============================================
   SINGLE POST PAGE STYLING
   ============================================ */

/* Single Post Header */
.single-post .entry-header {
    text-align: center;
    margin-bottom: var(--rsk-spacing-xl);
}

/* Breadcrumbs */
.single-post .breadcrumbs {
    font-size: 0.875rem;
    color: var(--rsk-gray-700);
    margin-bottom: var(--rsk-spacing-md);
}

.single-post .breadcrumbs a {
    color: var(--rsk-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-post .breadcrumbs a:hover {
    color: var(--rsk-primary-dark);
    text-decoration: underline;
}

/* Single Post Title */
.single-post .entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--rsk-gray-900);
    margin: 0 0 var(--rsk-spacing-md);
    letter-spacing: -0.02em;
}

/* Single Post Meta */
.single-post .entry-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--rsk-spacing-md);
    font-size: 0.9375rem;
    color: var(--rsk-gray-700);
    margin-bottom: var(--rsk-spacing-lg);
}

.single-post .entry-meta > * {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Featured Image - Full Width */
.single-post .post-thumbnail {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto var(--rsk-spacing-xl);
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-lg);
}

.single-post .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content Styling */
.single-post .entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
    line-height: 1.8;
    color: var(--rsk-gray-900);
}

.single-post .entry-content > * {
    margin-bottom: var(--rsk-spacing-md);
}

.single-post .entry-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin-top: var(--rsk-spacing-xl);
    margin-bottom: var(--rsk-spacing-md);
    line-height: 1.3;
}

.single-post .entry-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin-top: var(--rsk-spacing-lg);
    margin-bottom: var(--rsk-spacing-sm);
    line-height: 1.4;
}

.single-post .entry-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--rsk-gray-900);
    margin-top: var(--rsk-spacing-md);
    margin-bottom: var(--rsk-spacing-sm);
}

.single-post .entry-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: var(--rsk-spacing-md);
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: var(--rsk-spacing-md);
}

.single-post .entry-content li {
    margin-bottom: var(--rsk-spacing-xs);
}

.single-post .entry-content a {
    color: var(--rsk-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.single-post .entry-content a:hover {
    color: var(--rsk-primary-dark);
}

/* Blockquotes */
.single-post .entry-content blockquote {
    margin: var(--rsk-spacing-lg) 0;
    padding: var(--rsk-spacing-md) var(--rsk-spacing-lg);
    border-left: 4px solid var(--rsk-accent);
    background: var(--rsk-gray-50);
    border-radius: var(--rsk-radius-md);
    font-style: italic;
    color: var(--rsk-gray-700);
}

.single-post .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Images in Content */
.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--rsk-radius-md);
    margin: var(--rsk-spacing-lg) 0;
}

.single-post .entry-content .wp-caption {
    max-width: 100%;
}

.single-post .entry-content .wp-caption-text {
    font-size: 0.875rem;
    color: var(--rsk-gray-700);
    text-align: center;
    margin-top: var(--rsk-spacing-xs);
    font-style: italic;
}

/* Author Box */
.single-post .author-box {
    max-width: 800px;
    margin: var(--rsk-spacing-2xl) auto;
    padding: var(--rsk-spacing-lg);
    background: var(--rsk-gray-50);
    border-radius: var(--rsk-radius-lg);
    display: flex;
    gap: var(--rsk-spacing-md);
    align-items: start;
}

.single-post .author-box .avatar {
    border-radius: 50%;
    flex-shrink: 0;
}

.single-post .author-box-content {
    flex: 1;
}

.single-post .author-box-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin: 0 0 var(--rsk-spacing-xs);
}

.single-post .author-box-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--rsk-gray-700);
    margin: 0;
}

/* Related Posts */
.single-post .related-posts {
    max-width: 1200px;
    margin: var(--rsk-spacing-2xl) auto;
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: var(--rsk-gray-50);
    border-radius: var(--rsk-radius-lg);
}

.single-post .related-posts-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin: 0 0 var(--rsk-spacing-lg);
    text-align: center;
}

.single-post .related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--rsk-spacing-lg);
}

/* Post Navigation (Prev/Next) */
.single-post .post-navigation {
    max-width: 1200px;
    margin: var(--rsk-spacing-2xl) auto;
    padding: 0 var(--rsk-spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rsk-spacing-lg);
}

.single-post .nav-previous,
.single-post .nav-next {
    padding: var(--rsk-spacing-md);
    background: white;
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
}

.single-post .nav-previous:hover,
.single-post .nav-next:hover {
    box-shadow: var(--rsk-shadow-lg);
    transform: translateY(-4px);
}

.single-post .nav-previous a,
.single-post .nav-next a {
    color: var(--rsk-gray-900);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: var(--rsk-spacing-xs);
}

.single-post .nav-previous a:hover,
.single-post .nav-next a:hover {
    color: var(--rsk-primary);
}

.single-post .nav-label {
    font-size: 0.875rem;
    color: var(--rsk-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.single-post .nav-title {
    font-size: 1.125rem;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE DESIGN - BLOG/ARCHIVE
   ============================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .archive .content-wrap,
    .blog .content-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--rsk-spacing-md);
    }

    .single-post .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive .page-title,
    .blog .page-title {
        font-size: 2rem;
    }

    .single-post .entry-title {
        font-size: 2rem;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .archive .content-wrap,
    .blog .content-wrap {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-md);
    }

    .archive .page-header,
    .blog .page-header {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md) var(--rsk-spacing-lg);
        margin-bottom: var(--rsk-spacing-lg);
    }

    .archive .page-title,
    .blog .page-title {
        font-size: 1.75rem;
    }

    .archive .archive-description,
    .blog .archive-description {
        font-size: 1rem;
    }

    .archive .entry-title,
    .blog .entry-title {
        font-size: 1.25rem;
    }

    .archive .entry-meta,
    .blog .entry-meta {
        font-size: 0.8125rem;
        gap: var(--rsk-spacing-xs);
    }

    .single-post .entry-title {
        font-size: 1.75rem;
    }

    .single-post .entry-content h2 {
        font-size: 1.5rem;
    }

    .single-post .entry-content h3 {
        font-size: 1.25rem;
    }

    .single-post .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .single-post .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .single-post .post-navigation {
        grid-template-columns: 1fr;
    }

    .archive .pagination,
    .blog .pagination {
        gap: 0.25rem;
    }

    .archive .page-numbers,
    .blog .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* ============================================
   ACCESSIBILITY - BLOG/ARCHIVE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .archive article.entry,
    .blog article.entry,
    .archive .post-thumbnail img,
    .blog .post-thumbnail img,
    .archive .more-link,
    .blog .more-link,
    .single-post .nav-previous,
    .single-post .nav-next {
        transition: none;
    }

    .archive article.entry:hover,
    .blog article.entry:hover,
    .archive article.entry:hover .post-thumbnail img,
    .blog article.entry:hover .post-thumbnail img,
    .archive .more-link:hover::after,
    .blog .more-link:hover::after,
    .single-post .nav-previous:hover,
    .single-post .nav-next:hover {
        transform: none;
    }
}

/* Focus States for Keyboard Navigation */
.archive a:focus,
.blog a:focus,
.single-post a:focus {
    outline: 2px solid var(--rsk-accent);
    outline-offset: 2px;
}

.archive .more-link:focus,
.blog .more-link:focus,
.archive .page-numbers:focus,
.blog .page-numbers:focus {
    outline: 2px solid var(--rsk-accent);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .archive article.entry,
    .blog article.entry {
        border: 2px solid var(--rsk-gray-900);
    }

    .archive .entry-meta .cat-links,
    .blog .entry-meta .cat-links {
        border: 2px solid currentColor;
    }
}

/* Print Styles */
@media print {
    .archive .page-header,
    .blog .page-header {
        background: none;
        color: black;
    }

    .archive article.entry,
    .blog article.entry {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }

    .archive .pagination,
    .blog .pagination,
    .archive .sidebar,
    .blog .sidebar {
        display: none;
    }
}
/* ============================================
   SÄULE DETAIL PAGE - UNIVERSAL TEMPLATE
   Shared styles for all 4 pillar pages
   ============================================ */

/* ===========================
   PILLAR COLOR VARIABLES
   =========================== */
.rsk-pillar-lebendig {
    --pillar-gradient-start: #667eea;
    --pillar-gradient-end: #764ba2;
    --pillar-color: #667eea;
}

.rsk-pillar-bewegt-gesund {
    --pillar-gradient-start: #f093fb;
    --pillar-gradient-end: #f5576c;
    --pillar-color: #f093fb;
}

.rsk-pillar-sozial {
    --pillar-gradient-start: #4facfe;
    --pillar-gradient-end: #00f2fe;
    --pillar-color: #4facfe;
}

.rsk-pillar-talentiert {
    --pillar-gradient-start: #43e97b;
    --pillar-gradient-end: #38f9d7;
    --pillar-color: #43e97b;
}

/* ===========================
   1. HERO SECTION
   =========================== */
.rsk-saeule-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsk-saeule-hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.rsk-saeule-hero-video,
.rsk-saeule-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rsk-saeule-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--pillar-gradient-start) 0%,
        var(--pillar-gradient-end) 100%
    );
    opacity: 0.85;
    z-index: 2;
}

.rsk-saeule-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 2rem;
    max-width: 900px;
}

.rsk-saeule-hero-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.rsk-saeule-hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin: 0 0 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.rsk-saeule-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Mobile hero */
@media (max-width: 768px) {
    .rsk-saeule-hero {
        height: 60vh;
        min-height: 400px;
    }

    .rsk-saeule-hero-icon {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

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

    .rsk-saeule-hero-subtitle {
        font-size: 1.125rem;
    }
}

/* ===========================
   2. INTRODUCTION SECTION
   =========================== */
.rsk-saeule-intro {
    padding: 5rem 0;
    background: white;
}

.rsk-saeule-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Wenn kein Bild vorhanden ist, Content über volle Breite zentrieren */
.rsk-saeule-intro-grid:not(:has(.rsk-saeule-intro-image)) {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

/* Fallback für ältere Browser ohne :has() Support */
@supports not (selector(:has(*))) {
    .rsk-saeule-intro-content:only-child {
        grid-column: 1 / -1;
        max-width: 900px;
        margin: 0 auto;
    }
}

.rsk-saeule-intro-content {
    text-align: center !important;
}

.rsk-saeule-intro-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.rsk-saeule-intro-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--pillar-gradient-start),
        var(--pillar-gradient-end)
    );
    border-radius: 2px;
}

.rsk-saeule-intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--rsk-gray-700);
    text-align: center !important;
}

.rsk-saeule-intro-text p {
    margin-bottom: 1.25rem;
    text-align: center !important;
}

.rsk-saeule-intro-image img {
    width: 100%;
    height: auto;
    border-radius: var(--rsk-radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 968px) {
    .rsk-saeule-intro {
        padding: 3rem 0;
    }

    .rsk-saeule-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rsk-saeule-intro-content h2 {
        font-size: 2rem;
    }
}

/* ===========================
   3. CORE VALUES GRID
   =========================== */
.rsk-saeule-values {
    padding: 5rem 0;
    background: var(--rsk-gray-50);
}

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

.rsk-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--pillar-gradient-start),
        var(--pillar-gradient-end)
    );
    margin: 1rem auto 0;
    border-radius: 2px;
}

.rsk-saeule-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.rsk-value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--rsk-radius-lg);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.rsk-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-top-color: var(--pillar-color);
}

.rsk-value-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.rsk-value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin-bottom: 1rem;
}

.rsk-value-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--rsk-gray-700);
    margin: 0;
}

@media (max-width: 768px) {
    .rsk-saeule-values {
        padding: 3rem 0;
    }

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

    .rsk-saeule-values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===========================
   4. ACTIVITIES SHOWCASE
   =========================== */
.rsk-saeule-activities {
    padding: 5rem 0;
    background: white;
}

.rsk-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.rsk-activity-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.rsk-activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.rsk-activity-image-link {
    display: block;
    overflow: hidden;
}

.rsk-activity-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rsk-activity-card:hover .rsk-activity-image {
    transform: scale(1.05);
}

.rsk-activity-content {
    padding: 1.5rem;
}

.rsk-activity-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.rsk-activity-title a {
    color: var(--rsk-gray-900);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rsk-activity-title a:hover {
    color: var(--pillar-color);
}

.rsk-activity-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--rsk-gray-700);
    margin-bottom: 1rem;
}

.rsk-activity-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--pillar-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.rsk-activity-link:hover {
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .rsk-saeule-activities {
        padding: 3rem 0;
    }

    .rsk-activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===========================
   5. HIGHLIGHTS SECTION
   =========================== */
.rsk-saeule-highlights {
    padding: 5rem 0;
    background: var(--rsk-gray-50);
}

.rsk-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.rsk-highlight-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.rsk-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.rsk-highlight-image {
    overflow: hidden;
}

.rsk-highlight-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rsk-highlight-card:hover .rsk-highlight-image img {
    transform: scale(1.05);
}

.rsk-highlight-content {
    padding: 2rem;
}

.rsk-highlight-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin-bottom: 1rem;
}

.rsk-highlight-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rsk-gray-700);
    margin-bottom: 1.5rem;
}

.rsk-highlight-link {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--pillar-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.rsk-highlight-link:hover {
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .rsk-saeule-highlights {
        padding: 3rem 0;
    }

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

/* ===========================
   6. TEAM MEMBERS SECTION
   =========================== */
.rsk-saeule-team {
    padding: 5rem 0;
    background: white;
}

.rsk-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.rsk-team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.rsk-team-member:hover {
    transform: translateY(-5px);
}

.rsk-team-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--pillar-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.rsk-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rsk-team-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin-bottom: 0.5rem;
}

.rsk-team-role {
    font-size: 0.9375rem;
    color: var(--rsk-gray-700);
    margin: 0;
}

@media (max-width: 768px) {
    .rsk-saeule-team {
        padding: 3rem 0;
    }

    .rsk-team-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .rsk-team-photo {
        width: 140px;
        height: 140px;
    }
}

/* ===========================
   7. RELATED NEWS SECTION
   =========================== */
.rsk-saeule-news {
    padding: 5rem 0;
    background: var(--rsk-gray-50);
}

.rsk-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rsk-news-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.rsk-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.rsk-news-image-link {
    display: block;
    overflow: hidden;
}

.rsk-news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rsk-news-card:hover .rsk-news-image {
    transform: scale(1.05);
}

.rsk-news-content {
    padding: 1.5rem;
}

.rsk-news-date {
    display: block;
    font-size: 0.875rem;
    color: var(--pillar-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.rsk-news-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.rsk-news-title a {
    color: var(--rsk-gray-900);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rsk-news-title a:hover {
    color: var(--pillar-color);
}

.rsk-news-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--rsk-gray-700);
    margin: 0;
}

@media (max-width: 768px) {
    .rsk-saeule-news {
        padding: 3rem 0;
    }

    .rsk-news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===========================
   8. CALL-TO-ACTION SECTION
   =========================== */
.rsk-saeule-cta {
    padding: 5rem 0;
    background: linear-gradient(
        135deg,
        var(--pillar-gradient-start) 0%,
        var(--pillar-gradient-end) 100%
    );
    color: white;
    text-align: center;
}

.rsk-saeule-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.rsk-saeule-cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.rsk-saeule-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--pillar-color);
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--rsk-radius-lg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.rsk-saeule-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .rsk-saeule-cta {
        padding: 3rem 0;
    }

    .rsk-saeule-cta-content h2 {
        font-size: 2rem;
    }

    .rsk-saeule-cta-content p {
        font-size: 1.125rem;
    }

    .rsk-saeule-cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* ===========================
   UTILITIES
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* ===========================
   MENU CTA BUTTON (Anmeldung)
   ULTRA-AGGRESSIVE FIX
   =========================== */

/* SCHRITT 1: Eliminiere Parent Container Gaps */
html body .site-header .primary-navigation ul,
html body .site-header .header-navigation ul,
html body .site-header-primary .primary-navigation ul,
html body .site-header-primary .header-navigation ul,
html body #main-navigation ul,
html body .site-navigation ul {
    gap: 0 !important;
    grid-gap: 0 !important;
    column-gap: 0 !important;
}

/* SCHRITT 2: Eliminiere ALLE möglichen Margins auf dem Li-Element */
html body .site-header li.menu-cta-button,
html body .site-header-primary li.menu-cta-button,
html body #main-navigation li.menu-cta-button,
html body .primary-navigation li.menu-cta-button,
html body .header-navigation li.menu-cta-button,
html body nav li.menu-cta-button,
html body ul li.menu-cta-button {
    margin: 0 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

/* SCHRITT 3: ULTRA-SPEZIFISCH - Der Button Link selbst */
html body .site-header li.menu-cta-button > a,
html body .site-header-primary li.menu-cta-button > a,
html body #main-navigation li.menu-cta-button > a,
html body .primary-navigation li.menu-cta-button > a,
html body .header-navigation li.menu-cta-button > a,
html body nav li.menu-cta-button > a,
html body ul li.menu-cta-button > a,
html body li.menu-cta-button.menu-item > a,
html body .menu-cta-button a {
    /* Basis Styling */
    background: var(--rsk-primary) !important;
    color: white !important;
    border-radius: var(--rsk-radius-md) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 61, 165, 0.2) !important;

    /* KRITISCH: Padding EXAKT setzen */
    padding: 0.5rem 1rem !important;
    padding-top: 0.5rem !important;
    padding-right: 1rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 1rem !important;

    /* KRITISCH: Margins komplett eliminieren */
    margin: 0 !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;

    /* Box Model Reset */
    box-sizing: border-box !important;
    display: inline-block !important;

    /* Verhindere Text-Indent oder Letter-Spacing Probleme */
    text-indent: 0 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-align: center !important;
}

/* SCHRITT 4: Entferne ALLE Pseudo-Elemente */
html body .menu-cta-button a::after,
html body .menu-cta-button a::before,
html body li.menu-cta-button > a::after,
html body li.menu-cta-button > a::before,
html body .site-header .menu-cta-button a::after,
html body .site-header .menu-cta-button a::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* SCHRITT 5: Kadence-spezifische Overrides */
html body .site-header .primary-navigation .menu-item.menu-cta-button > a,
html body .site-header-primary .primary-navigation .menu-item.menu-cta-button > a,
html body #main-navigation .menu-item.menu-cta-button > a,
html body .header-navigation .menu-item.menu-cta-button > a {
    padding: 0.5rem 1rem !important;
    padding-inline-start: 1rem !important;
    padding-inline-end: 1rem !important;
    padding-inline: 1rem !important;
}

/* SCHRITT 6: Überschreibe Kadence Button/Link Klassen */
html body .kb-nav-link.menu-cta-button a,
html body .menu-item.menu-cta-button .kb-nav-link,
html body [class*="kb-"] li.menu-cta-button > a {
    padding: 0.5rem 1rem !important;
}

/* HOVER State - SPEZIFISCH */
html body .site-header li.menu-cta-button > a:hover,
html body .site-header li.menu-cta-button > a:focus,
html body .menu-cta-button a:hover,
html body .menu-cta-button a:focus {
    background: var(--rsk-primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 61, 165, 0.3) !important;
    padding: 0.5rem 1rem !important; /* Padding auch beim Hover beibehalten */
}

/* ACTIVE State - SPEZIFISCH */
html body .site-header li.menu-cta-button > a:active,
html body .menu-cta-button a:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0, 61, 165, 0.2) !important;
    padding: 0.5rem 1rem !important;
}

/* NOTFALL-LÖSUNG: Falls alles andere fehlschlägt - Visuelles Offset */
/* Aktiviere diese Zeile nur wenn nötig: */
/*
html body .menu-cta-button a {
    transform: translateX(-8px) !important;
}
*/

/* Mobile: Stack button below menu */
@media (max-width: 1024px) {
    html body .menu-cta-button a {
        display: inline-block;
        margin: 0.5rem 0 !important;
        width: auto !important;
    }
}

/* ============================================
   DROPDOWN SUBMENU STYLES (Unterricht Subpages)
   ============================================ */

/* Desktop Dropdown Menu */
@media (min-width: 1025px) {
    /* Main navigation submenu container */
    .site-header .primary-navigation ul li ul.sub-menu,
    .site-header .header-navigation ul li ul.sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 250px;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: var(--rsk-radius-md);
        padding: var(--rsk-spacing-sm) 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
        margin-top: 0;
    }

    /* Show dropdown on hover */
    .site-header .primary-navigation ul li:hover > ul.sub-menu,
    .site-header .header-navigation ul li:hover > ul.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Submenu items */
    .site-header .primary-navigation ul li ul.sub-menu li,
    .site-header .header-navigation ul li ul.sub-menu li {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    /* Submenu links */
    .site-header .primary-navigation ul li ul.sub-menu li a,
    .site-header .header-navigation ul li ul.sub-menu li a {
        display: block;
        padding: 0.75rem 1.25rem;
        color: var(--rsk-gray-700);
        font-size: 0.9375rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
    }

    /* Submenu link hover */
    .site-header .primary-navigation ul li ul.sub-menu li a:hover,
    .site-header .header-navigation ul li ul.sub-menu li a:hover {
        background: var(--rsk-gray-50);
        color: var(--rsk-primary);
        border-left-color: var(--rsk-primary);
        padding-left: calc(1.25rem + 5px);
    }

    /* Dropdown indicator (arrow) on parent */
    .site-header .primary-navigation ul li.menu-item-has-children > a::after,
    .site-header .header-navigation ul li.menu-item-has-children > a::after {
        content: '▼';
        font-size: 0.7em;
        margin-left: 0.5em;
        display: inline-block;
        transition: transform 0.3s ease;
    }

    /* Rotate arrow on hover */
    .site-header .primary-navigation ul li.menu-item-has-children:hover > a::after,
    .site-header .header-navigation ul li.menu-item-has-children:hover > a::after {
        transform: rotate(-180deg);
    }
}

/* Mobile Dropdown Menu */
@media (max-width: 1024px) {
    /* Submenu styling for mobile */
    .site-header .primary-navigation ul li ul.sub-menu,
    .site-header .header-navigation ul li ul.sub-menu {
        display: none;
        background: var(--rsk-gray-50);
        padding-left: 1rem;
        margin-top: 0.5rem;
        border-left: 2px solid var(--rsk-primary);
    }

    /* Show submenu when parent is active/clicked */
    .site-header .primary-navigation ul li.menu-item-has-children.open > ul.sub-menu,
    .site-header .header-navigation ul li.menu-item-has-children.open > ul.sub-menu {
        display: block;
    }

    /* Submenu links mobile */
    .site-header .primary-navigation ul li ul.sub-menu li a,
    .site-header .header-navigation ul li ul.sub-menu li a {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
        color: var(--rsk-gray-700);
    }

    /* Mobile submenu toggle button */
    .site-header .primary-navigation ul li.menu-item-has-children > a .submenu-toggle,
    .site-header .header-navigation ul li.menu-item-has-children > a .submenu-toggle {
        margin-left: auto;
        cursor: pointer;
    }
}

/* Accessibility: Focus states */
.site-header .primary-navigation ul li a:focus,
.site-header .header-navigation ul li a:focus {
    outline: 2px solid var(--rsk-primary);
    outline-offset: 2px;
}

/* ============================================
   BILDUNGSPARTNER PAGE
   ============================================ */

.rsk-bildungspartner-section {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: white;
}

/* ENHANCED INTRO SECTION - Visuell hervorgehoben */
.rsk-intro-section {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    background: linear-gradient(to bottom, var(--rsk-gray-50) 0%, white 100%);
    text-align: center;
    position: relative;
}

.rsk-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--rsk-primary);
    border-radius: 2px;
}

.rsk-intro-section .rsk-intro-text,
.rsk-intro-content-centered {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.1875rem;
    line-height: 1.8;
    color: var(--rsk-gray-800);
    font-weight: 400;
}

.rsk-intro-section p {
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-intro-section p:last-child {
    margin-bottom: 0;
}

.rsk-intro-section p:first-of-type {
    font-size: 1.25rem;
    color: var(--rsk-gray-900);
}

@media (max-width: 768px) {
    .rsk-intro-section {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-intro-section .rsk-intro-text,
    .rsk-intro-content-centered {
        font-size: 1.0625rem;
    }

    .rsk-intro-section p:first-of-type {
        font-size: 1.125rem;
    }
}

.rsk-bildungspartner-grid {
    display: grid !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
    width: 100%;
}

/* Grid column variations */
.rsk-bildungspartner-grid.rsk-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.rsk-bildungspartner-grid.rsk-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.rsk-bildungspartner-grid.rsk-grid-cols-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

.rsk-bildungspartner-grid.rsk-grid-cols-5 {
    grid-template-columns: repeat(5, 1fr) !important;
}

.rsk-partner-card {
    background: white;
    border: 2px solid var(--rsk-gray-200);
    border-radius: var(--rsk-radius-lg);
    padding: var(--rsk-spacing-lg);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rsk-partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--rsk-shadow-lg);
    border-color: var(--rsk-primary);
}

.rsk-partner-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.rsk-partner-logo {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-partner-logo img {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.rsk-partner-logo-placeholder {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rsk-gray-100);
    border-radius: var(--rsk-radius-md);
    color: var(--rsk-gray-400);
}

.rsk-partner-info {
    width: 100%;
}

.rsk-partner-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--rsk-gray-900);
    margin-bottom: var(--rsk-spacing-xs);
}

.rsk-partner-description {
    font-size: 0.875rem;
    color: var(--rsk-gray-600);
    line-height: 1.5;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .rsk-bildungspartner-grid.rsk-grid-cols-2,
    .rsk-bildungspartner-grid.rsk-grid-cols-3,
    .rsk-bildungspartner-grid.rsk-grid-cols-4,
    .rsk-bildungspartner-grid.rsk-grid-cols-5 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .rsk-partner-logo {
        height: 100px;
    }

    .rsk-partner-logo img {
        max-height: 100px;
    }
}

@media (max-width: 480px) {
    .rsk-bildungspartner-grid.rsk-grid-cols-2,
    .rsk-bildungspartner-grid.rsk-grid-cols-3,
    .rsk-bildungspartner-grid.rsk-grid-cols-4,
    .rsk-bildungspartner-grid.rsk-grid-cols-5 {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   AKTUELLES PAGE (Gutenberg-basiert)
   ============================================ */

/* ============================================
   HERO SECTION - AKTUELLES
   ============================================ */
.rsk-aktuelles-hero {
    position: relative;
    padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
    background: linear-gradient(
        135deg,
        var(--rsk-primary) 0%,
        var(--rsk-primary-dark) 100%
    );
    color: white;
    overflow: hidden;
}

/* Subtle grid background pattern */
.rsk-aktuelles-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

.rsk-aktuelles-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-md);
    text-align: center;
}

/* Icon with backdrop blur effect */
.rsk-aktuelles-hero-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--rsk-spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.rsk-aktuelles-hero-icon svg {
    color: white;
}

.rsk-aktuelles-hero-icon:hover {
    transform: scale(1.05);
}

/* Hero Title */
.rsk-aktuelles-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--rsk-spacing-md);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Hero Subtitle */
.rsk-aktuelles-hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    color: white;
}

/* Content Bereich */
.rsk-aktuelles-content {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
}

.rsk-aktuelles-content .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   GUTENBERG BLOCK STYLING (für Aktuelles)
   ============================================ */

/* Allgemeine Block-Abstände */
.rsk-aktuelles-content .wp-block-heading,
.rsk-aktuelles-content h2,
.rsk-aktuelles-content h3 {
    color: var(--rsk-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.rsk-aktuelles-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    border-bottom: 3px solid var(--rsk-primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.rsk-aktuelles-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.rsk-aktuelles-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--rsk-gray-700);
}

/* Gutenberg Spalten */
.rsk-aktuelles-content .wp-block-columns {
    margin-bottom: 2rem;
}

.rsk-aktuelles-content .wp-block-column {
    padding: var(--rsk-spacing-md);
}

/* Gutenberg Bilder */
.rsk-aktuelles-content .wp-block-image {
    margin: 2rem 0;
}

.rsk-aktuelles-content .wp-block-image img {
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-lg);
}

.rsk-aktuelles-content .wp-block-image figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--rsk-gray-700);
    margin-top: 0.5rem;
}

/* Gutenberg Cover Block (für Hero-ähnliche Bereiche) */
.rsk-aktuelles-content .wp-block-cover {
    border-radius: var(--rsk-radius-lg);
    margin: 2rem 0;
    min-height: 400px;
}

/* Gutenberg Group/Container */
.rsk-aktuelles-content .wp-block-group {
    margin-bottom: 2rem;
}

.rsk-aktuelles-content .wp-block-group.has-background {
    padding: var(--rsk-spacing-xl);
    border-radius: var(--rsk-radius-lg);
}

/* Gutenberg Buttons */
.rsk-aktuelles-content .wp-block-buttons {
    margin: 2rem 0;
}

.rsk-aktuelles-content .wp-block-button__link {
    background: var(--rsk-primary);
    border-radius: var(--rsk-radius-md);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.rsk-aktuelles-content .wp-block-button__link:hover {
    background: var(--rsk-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--rsk-shadow-lg);
}

/* Gutenberg Quote */
.rsk-aktuelles-content .wp-block-quote {
    border-left: 4px solid var(--rsk-primary);
    padding-left: var(--rsk-spacing-lg);
    margin: 2rem 0;
    font-style: italic;
    color: var(--rsk-gray-700);
}

/* Gutenberg Liste */
.rsk-aktuelles-content ul,
.rsk-aktuelles-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.rsk-aktuelles-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: var(--rsk-gray-700);
}

/* Gutenberg Tabelle */
.rsk-aktuelles-content .wp-block-table {
    margin: 2rem 0;
}

.rsk-aktuelles-content .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.rsk-aktuelles-content .wp-block-table th {
    background: var(--rsk-primary);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.rsk-aktuelles-content .wp-block-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--rsk-gray-200);
}

.rsk-aktuelles-content .wp-block-table tr:hover {
    background: var(--rsk-gray-50);
}

/* ============================================
   NEWS CARD PATTERN (für Aktuelles-Einträge)
   ============================================ */

/* Custom CSS-Klasse die man in Gutenberg vergeben kann */
.rsk-news-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.rsk-news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--rsk-shadow-xl);
}

.rsk-news-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.rsk-news-card-content {
    padding: var(--rsk-spacing-lg);
}

.rsk-news-card-date {
    font-size: 0.875rem;
    color: var(--rsk-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.rsk-news-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin-bottom: 1rem;
}

.rsk-news-card-excerpt {
    color: var(--rsk-gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.rsk-news-card-link:hover {
    gap: 0.75rem;
    color: var(--rsk-primary-dark);
}

/* News Grid (3 Spalten auf Desktop) */
.rsk-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* ============================================
   RESPONSIVE - AKTUELLES MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Hero adjustments for mobile */
    .rsk-aktuelles-hero {
        padding: clamp(2.5rem, 8vw, 4rem) 0 clamp(2rem, 6vw, 3rem);
    }

    .rsk-aktuelles-hero-icon {
        width: 70px;
        height: 70px;
    }

    .rsk-aktuelles-hero-icon svg {
        width: 50px;
        height: 50px;
    }

    .rsk-aktuelles-content {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-news-grid {
        grid-template-columns: 1fr;
    }

    .rsk-aktuelles-content h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   TEAM/GREMIEN MEMBER PAGES (Universal)
   Template: page-team-member.php
   Pages: Schulleitung, Kollegium, Sekretariat, etc.
   ============================================ */

/* Team Hero Section */
.rsk-team-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rsk-primary) 0%, var(--rsk-primary-dark) 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.rsk-team-hero .rsk-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 165, 0.85) 0%, rgba(0, 42, 115, 0.75) 100%);
}

.rsk-team-hero .rsk-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: var(--rsk-spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

.rsk-hero-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    margin-bottom: var(--rsk-spacing-md);
    animation: fadeInDown 0.6s ease-out;
}

.rsk-hero-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.rsk-team-hero .rsk-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--rsk-spacing-md);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rsk-team-hero .rsk-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    color: white;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Team Intro Section */
.rsk-team-intro {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: white;
}

.rsk-team-intro-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rsk-spacing-xl);
    align-items: center;
}

.rsk-team-intro-content {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--rsk-gray-700);
}

.rsk-team-intro-content p {
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-team-intro-image {
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-lg);
}

.rsk-team-intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Team Members Section */
.rsk-team-members-section {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: var(--rsk-gray-50);
}

.rsk-section-header {
    text-align: center;
    margin-bottom: var(--rsk-spacing-xl);
}

.rsk-section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-sm);
}

/* Team Members Grid */
.rsk-team-members-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--rsk-spacing-lg);
}

/* Column Control Classes */
.rsk-team-members-grid.rsk-grid-cols-1 {
    grid-template-columns: 1fr;
    max-width: 600px;
}

.rsk-team-members-grid.rsk-grid-cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 900px;
}

.rsk-team-members-grid.rsk-grid-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1100px;
}

.rsk-team-members-grid.rsk-grid-cols-4 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 1200px;
}

/* Team Member Card */
.rsk-team-member-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.rsk-team-member-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rsk-shadow-xl);
}

/* Member Photo */
.rsk-member-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--rsk-gray-100);
    position: relative;
}

.rsk-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rsk-team-member-card:hover .rsk-member-photo img {
    transform: scale(1.05);
}

.rsk-member-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rsk-gray-100) 0%, var(--rsk-gray-200) 100%);
    color: var(--rsk-gray-300);
}

/* Member Content */
.rsk-member-content {
    padding: var(--rsk-spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rsk-member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-xs);
}

.rsk-member-position {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--rsk-accent);
    margin-bottom: var(--rsk-spacing-sm);
}

.rsk-member-subjects {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--rsk-gray-700);
    margin-bottom: var(--rsk-spacing-sm);
    padding: var(--rsk-spacing-xs) var(--rsk-spacing-sm);
    background: var(--rsk-gray-50);
    border-radius: var(--rsk-radius-sm);
}

.rsk-member-subjects svg {
    flex-shrink: 0;
    color: var(--rsk-primary);
}

.rsk-member-bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--rsk-gray-700);
    margin-bottom: var(--rsk-spacing-md);
    flex: 1;
}

/* Member Contact */
.rsk-member-contact {
    display: flex;
    flex-direction: column;
    gap: var(--rsk-spacing-xs);
    padding-top: var(--rsk-spacing-sm);
    border-top: 1px solid var(--rsk-gray-200);
    margin-top: auto;
}

.rsk-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--rsk-gray-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rsk-contact-item svg {
    flex-shrink: 0;
    color: var(--rsk-primary);
}

.rsk-contact-item:hover {
    color: var(--rsk-primary);
}

.rsk-contact-item:not(.rsk-office-hours) {
    cursor: pointer;
}

.rsk-office-hours {
    cursor: default;
}

/* Contact Box Section */
.rsk-team-contact-box {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: linear-gradient(to bottom, white 0%, var(--rsk-gray-50) 100%);
}

.rsk-contact-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--rsk-radius-xl);
    padding: var(--rsk-spacing-xl);
    box-shadow: var(--rsk-shadow-lg);
    border: 1px solid var(--rsk-gray-200);
}

.rsk-contact-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-contact-card-header svg {
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-contact-card-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rsk-primary);
    margin: 0;
}

.rsk-contact-intro {
    text-align: center;
    font-size: 1.0625rem;
    color: var(--rsk-gray-700);
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--rsk-spacing-md);
}

.rsk-contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: var(--rsk-spacing-md);
    background: var(--rsk-gray-50);
    border-radius: var(--rsk-radius-md);
    transition: all 0.2s ease;
}

.rsk-contact-detail-item:hover {
    background: var(--rsk-gray-100);
}

.rsk-contact-detail-item svg {
    flex-shrink: 0;
    color: var(--rsk-primary);
    margin-top: 2px;
}

.rsk-contact-detail-item a {
    color: var(--rsk-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rsk-contact-detail-item a:hover {
    color: var(--rsk-primary-light);
    text-decoration: underline;
}

/* Additional Content Section */
.rsk-additional-content {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: white;
}

.rsk-additional-content .container {
    max-width: 900px;
    margin: 0 auto;
}

.rsk-additional-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-additional-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--rsk-primary-dark);
    margin-top: var(--rsk-spacing-xl);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-additional-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--rsk-gray-700);
    margin-bottom: var(--rsk-spacing-md);
}

/* Responsive Design - Team Member Pages */
@media (max-width: 992px) {
    .rsk-team-intro-grid {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-lg);
    }

    .rsk-team-members-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--rsk-spacing-md);
    }
}

@media (max-width: 768px) {
    .rsk-team-hero {
        min-height: 300px;
    }

    .rsk-hero-icon-wrapper {
        width: 64px;
        height: 64px;
    }

    .rsk-hero-icon {
        font-size: 2rem;
    }

    .rsk-team-intro {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-team-members-section {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-team-members-grid {
        grid-template-columns: 1fr;
    }

    .rsk-team-contact-box {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-contact-card {
        padding: var(--rsk-spacing-lg);
    }

    .rsk-additional-content {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }
}

/* Animation Utilities */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Print Styles */
@media print {
    .rsk-team-hero {
        min-height: auto;
        padding: var(--rsk-spacing-lg);
    }

    .rsk-team-member-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ==========================================
   WEBUNTIS PAGE TEMPLATE
   ========================================== */

/* Main Page Container */
.rsk-webuntis-page {
    background: var(--rsk-gray-50);
}

/* Hero Section - WebUntis */
.rsk-webuntis-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rsk-primary) 0%, #0052cc 100%);
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    overflow: hidden;
}

.rsk-webuntis-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.rsk-webuntis-hero .rsk-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.rsk-webuntis-hero .rsk-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.rsk-webuntis-hero .rsk-hero-logo-wrapper {
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-webuntis-hero .rsk-hero-logo {
    max-width: 250px;
    max-height: 150px;
    width: auto;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: floatIcon 3s ease-in-out infinite;
}

.rsk-webuntis-hero .rsk-hero-icon-wrapper {
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-webuntis-hero .rsk-hero-icon {
    font-size: 5rem;
    display: inline-block;
    animation: floatIcon 3s ease-in-out infinite;
}

.rsk-webuntis-hero .rsk-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--rsk-spacing-md);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rsk-webuntis-hero .rsk-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Call-to-Action Section */
.rsk-webuntis-cta {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    background: white;
}

.rsk-cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: var(--rsk-spacing-2xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--rsk-radius-xl);
    box-shadow: var(--rsk-shadow-lg);
    border: 2px solid var(--rsk-primary);
}

.rsk-cta-box h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-xl);
    font-weight: 700;
}

.rsk-cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--rsk-spacing-sm);
    padding: var(--rsk-spacing-lg) var(--rsk-spacing-2xl);
    background: linear-gradient(135deg, var(--rsk-primary) 0%, #0052cc 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--rsk-radius-lg);
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 61, 165, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.rsk-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 61, 165, 0.4);
    background: linear-gradient(135deg, #0052cc 0%, var(--rsk-primary) 100%);
    color: white;
}

.rsk-cta-button:active {
    transform: translateY(0);
}

.rsk-button-icon {
    font-size: 1.5rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.rsk-button-text {
    font-weight: 600;
}

.rsk-cta-hint {
    margin-top: var(--rsk-spacing-lg);
    color: var(--rsk-gray-600);
    font-size: 1rem;
    line-height: 1.6;
}

/* Steps Timeline Section */
.rsk-webuntis-steps {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    background: var(--rsk-gray-50);
}

.rsk-webuntis-steps .rsk-section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-2xl);
    font-weight: 700;
}

.rsk-steps-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--rsk-spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.rsk-step-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: var(--rsk-spacing-xl);
    box-shadow: var(--rsk-shadow-md);
    position: relative;
    transition: all 0.3s ease;
    border-top: 4px solid var(--rsk-primary);
}

.rsk-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rsk-shadow-xl);
}

.rsk-step-number {
    position: absolute;
    top: -15px;
    left: var(--rsk-spacing-lg);
    width: 40px;
    height: 40px;
    background: var(--rsk-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 61, 165, 0.3);
}

.rsk-step-icon {
    font-size: 3rem;
    margin: var(--rsk-spacing-md) 0;
    text-align: center;
}

.rsk-step-title {
    font-size: 1.4rem;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
    font-weight: 700;
}

.rsk-step-description {
    color: var(--rsk-gray-700);
    line-height: 1.6;
    margin: 0;
}

/* Video Section */
.rsk-webuntis-video {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    background: white;
}

.rsk-webuntis-video .rsk-section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-2xl);
    font-weight: 700;
}

.rsk-video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--rsk-radius-xl);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-xl);
    background: #000;
}

.rsk-video-wrapper iframe,
.rsk-video-wrapper video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

/* Contact Box */
.rsk-webuntis-contact {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    background: var(--rsk-gray-50);
}

.rsk-contact-box {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: var(--rsk-spacing-2xl);
    box-shadow: var(--rsk-shadow-lg);
    border-left: 5px solid var(--rsk-accent);
}

.rsk-contact-box h3 {
    font-size: 1.8rem;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-md);
    font-weight: 700;
}

.rsk-contact-box p {
    color: var(--rsk-gray-700);
    line-height: 1.6;
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--rsk-spacing-md);
}

.rsk-contact-item {
    display: flex;
    align-items: center;
    gap: var(--rsk-spacing-md);
    padding: var(--rsk-spacing-md);
    background: var(--rsk-gray-50);
    border-radius: var(--rsk-radius-md);
    transition: all 0.3s ease;
}

.rsk-contact-item:hover {
    background: var(--rsk-gray-100);
    transform: translateX(5px);
}

.rsk-contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rsk-contact-item a {
    color: var(--rsk-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.rsk-contact-item a:hover {
    color: var(--rsk-accent);
    text-decoration: underline;
}

/* Additional Gutenberg Content */
.rsk-additional-content {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    background: white;
}

.rsk-additional-content .container {
    max-width: 900px;
    margin: 0 auto;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .rsk-webuntis-hero {
        min-height: 300px;
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-webuntis-hero .rsk-hero-logo {
        max-width: 180px;
        max-height: 100px;
    }

    .rsk-webuntis-hero .rsk-hero-icon {
        font-size: 3.5rem;
    }

    .rsk-cta-box {
        padding: var(--rsk-spacing-xl);
    }

    .rsk-cta-button {
        padding: var(--rsk-spacing-md) var(--rsk-spacing-xl);
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
    }

    .rsk-steps-timeline {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-lg);
    }

    .rsk-contact-box {
        padding: var(--rsk-spacing-xl);
    }

    .rsk-contact-info {
        gap: var(--rsk-spacing-sm);
    }
}

@media (max-width: 480px) {
    .rsk-webuntis-cta,
    .rsk-webuntis-steps,
    .rsk-webuntis-video,
    .rsk-webuntis-contact,
    .rsk-additional-content {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-step-card {
        padding: var(--rsk-spacing-lg);
    }

    .rsk-step-icon {
        font-size: 2.5rem;
    }
}

/* Print Styles for WebUntis */
@media print {
    .rsk-webuntis-hero {
        min-height: auto;
        padding: var(--rsk-spacing-lg);
        background: var(--rsk-primary);
    }

    .rsk-cta-button {
        background: var(--rsk-primary);
        box-shadow: none;
    }

    .rsk-step-card,
    .rsk-contact-box {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .rsk-video-wrapper {
        display: none;
    }
}

/* ==========================================
   DOWNLOADS PAGE TEMPLATE
   ========================================== */

/* Main Page Container */
.rsk-downloads-page {
    background: var(--rsk-gray-50);
}

/* Hero Section - Downloads */
.rsk-downloads-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rsk-primary) 0%, #0052cc 100%);
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    overflow: hidden;
}

.rsk-downloads-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.rsk-downloads-hero .rsk-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.rsk-downloads-hero .rsk-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.rsk-downloads-hero .rsk-hero-icon-wrapper {
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-downloads-hero .rsk-hero-icon {
    font-size: 5rem;
    display: inline-block;
    animation: floatIcon 3s ease-in-out infinite;
}

.rsk-downloads-hero .rsk-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--rsk-spacing-md);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rsk-downloads-hero .rsk-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Intro Text Section */
.rsk-downloads-intro {
    padding: var(--rsk-spacing-xl) var(--rsk-spacing-lg);
    background: white;
    text-align: center;
}

.rsk-intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--rsk-gray-700);
}

/* Download Categories Section */
.rsk-downloads-categories {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    background: var(--rsk-gray-50);
}

.rsk-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--rsk-spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

.rsk-download-category {
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: var(--rsk-spacing-2xl);
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
}

.rsk-download-category:hover {
    box-shadow: var(--rsk-shadow-xl);
    transform: translateY(-2px);
}

/* Category Header */
.rsk-category-header {
    display: flex;
    align-items: center;
    gap: var(--rsk-spacing-md);
    margin-bottom: var(--rsk-spacing-xl);
    padding-bottom: var(--rsk-spacing-md);
    border-bottom: 3px solid var(--rsk-primary);
}

.rsk-category-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.rsk-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rsk-primary);
    margin: 0;
}

/* Download List */
.rsk-download-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rsk-download-item {
    margin-bottom: var(--rsk-spacing-sm);
}

.rsk-download-item:last-child {
    margin-bottom: 0;
}

/* Download Links */
.rsk-download-link {
    display: flex;
    align-items: center;
    gap: var(--rsk-spacing-md);
    padding: var(--rsk-spacing-md);
    background: var(--rsk-gray-50);
    border-radius: var(--rsk-radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.rsk-download-link:hover {
    background: var(--rsk-gray-100);
    border-color: var(--rsk-primary);
    transform: translateX(5px);
}

.rsk-download-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--rsk-radius-sm);
}

.rsk-download-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rsk-download-title {
    font-weight: 600;
    color: var(--rsk-primary);
    font-size: 1rem;
}

.rsk-download-meta {
    font-size: 0.85rem;
    color: var(--rsk-gray-600);
}

.rsk-download-arrow {
    font-size: 1.2rem;
    color: var(--rsk-primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.rsk-download-link:hover .rsk-download-arrow {
    transform: translateX(5px);
}

/* File Type Specific Styling */
.rsk-file-pdf { background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%); color: white; }
.rsk-file-doc,
.rsk-file-docx { background: linear-gradient(135deg, #2b579a 0%, #1e3f6f 100%); color: white; }
.rsk-file-xls,
.rsk-file-xlsx { background: linear-gradient(135deg, #217346 0%, #0f5132 100%); color: white; }
.rsk-file-ppt,
.rsk-file-pptx { background: linear-gradient(135deg, #d24726 0%, #b7311b 100%); color: white; }
.rsk-file-zip { background: linear-gradient(135deg, #6c757d 0%, #495057 100%); color: white; }
.rsk-file-jpg,
.rsk-file-jpeg,
.rsk-file-png,
.rsk-file-gif { background: linear-gradient(135deg, #20c997 0%, #0d9576 100%); color: white; }

/* Additional Content Section */
.rsk-downloads-page .rsk-additional-content {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    background: white;
}

.rsk-downloads-page .rsk-additional-content .container {
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .rsk-downloads-hero {
        min-height: 300px;
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-downloads-hero .rsk-hero-icon {
        font-size: 3.5rem;
    }

    .rsk-categories-grid {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-xl);
    }

    .rsk-download-category {
        padding: var(--rsk-spacing-xl);
    }

    .rsk-category-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .rsk-download-link {
        padding: var(--rsk-spacing-sm);
    }

    .rsk-download-title {
        font-size: 0.95rem;
    }

    .rsk-download-meta {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .rsk-downloads-intro,
    .rsk-downloads-categories {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-download-icon {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }

    .rsk-category-icon {
        font-size: 2rem;
    }
}

/* Print Styles for Downloads */
@media print {
    .rsk-downloads-hero {
        min-height: auto;
        padding: var(--rsk-spacing-lg);
        background: var(--rsk-primary);
    }

    .rsk-download-category {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .rsk-download-link {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ==========================================
   SCHÜLERBEFÖRDERUNG PAGE TEMPLATE
   ========================================== */

/* Main Page Container */
.rsk-schuelerbefoerderung-page {
    background: var(--rsk-gray-50);
}

/* Hero Section */
.rsk-sb-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rsk-primary) 0%, #0052cc 100%);
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    overflow: hidden;
}

.rsk-sb-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.rsk-sb-hero .rsk-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.rsk-sb-hero .rsk-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.rsk-sb-hero .rsk-hero-icon-wrapper {
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-sb-hero .rsk-hero-icon {
    font-size: 5rem;
    display: inline-block;
    animation: floatIcon 3s ease-in-out infinite;
}

.rsk-sb-hero .rsk-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--rsk-spacing-md);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.rsk-sb-hero .rsk-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.rsk-sb-intro {
    padding: var(--rsk-spacing-xl) var(--rsk-spacing-lg);
    background: white;
}

.rsk-sb-intro .rsk-intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--rsk-gray-700);
}

/* Sections Container */
.rsk-sb-sections {
    display: flex;
    flex-direction: column;
}

.rsk-sb-section {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
}

.rsk-bg-white {
    background: white;
}

.rsk-bg-gray {
    background: var(--rsk-gray-50);
}

.rsk-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-xl);
    font-weight: 700;
    text-align: center;
}

/* Text Block */
.rsk-text-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.rsk-text-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--rsk-gray-700);
    text-align: center;
}

/* Info Box Styles */
.rsk-info-box {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--rsk-spacing-xl);
    border-radius: var(--rsk-radius-lg);
    display: flex;
    gap: var(--rsk-spacing-lg);
    align-items: flex-start;
    box-shadow: var(--rsk-shadow-lg);
    border-left: 5px solid;
}

.rsk-info-box-info {
    background: #e3f2fd;
    border-left-color: #2196f3;
}

.rsk-info-box-success {
    background: #e8f5e9;
    border-left-color: #4caf50;
}

.rsk-info-box-warning {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.rsk-info-box-danger {
    background: #ffebee;
    border-left-color: #f44336;
}

.rsk-info-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.rsk-info-content {
    flex: 1;
}

.rsk-info-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--rsk-spacing-md);
    color: var(--rsk-primary);
}

.rsk-info-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--rsk-gray-700);
}

/* Download Section */
.rsk-download-section {
    max-width: 900px;
    margin: 0 auto;
}

.rsk-download-section .rsk-download-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--rsk-spacing-sm);
}

.rsk-download-section .rsk-download-item {
    margin: 0;
}

.rsk-download-section .rsk-download-link {
    display: flex;
    align-items: center;
    gap: var(--rsk-spacing-md);
    padding: var(--rsk-spacing-md);
    background: white;
    border: 2px solid var(--rsk-gray-200);
    border-radius: var(--rsk-radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
}

.rsk-download-section .rsk-download-link:hover {
    border-color: var(--rsk-primary);
    background: var(--rsk-gray-50);
    transform: translateX(5px);
}

.rsk-download-section .rsk-download-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rsk-download-section .rsk-download-title {
    flex: 1;
    font-weight: 600;
    color: var(--rsk-primary);
}

.rsk-download-section .rsk-download-arrow {
    font-size: 1.2rem;
    color: var(--rsk-primary);
    transition: transform 0.3s ease;
}

.rsk-download-section .rsk-download-link:hover .rsk-download-arrow {
    transform: translateX(5px);
}

/* Contact Section */
.rsk-contact-section {
    max-width: 700px;
    margin: 0 auto;
}

.rsk-contact-card {
    background: white;
    padding: var(--rsk-spacing-2xl);
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-lg);
    border-left: 5px solid var(--rsk-primary);
}

.rsk-contact-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--rsk-spacing-sm);
}

.rsk-contact-position {
    font-size: 1.1rem;
    color: var(--rsk-gray-600);
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--rsk-spacing-md);
}

.rsk-contact-item {
    display: flex;
    align-items: center;
    gap: var(--rsk-spacing-md);
    padding: var(--rsk-spacing-sm);
    background: var(--rsk-gray-50);
    border-radius: var(--rsk-radius-sm);
}

.rsk-contact-icon {
    font-size: 1.2rem;
}

.rsk-contact-item a {
    color: var(--rsk-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rsk-contact-item a:hover {
    color: var(--rsk-accent);
    text-decoration: underline;
}

/* FAQ Section */
.rsk-faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.rsk-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--rsk-spacing-md);
}

.rsk-faq-item {
    background: white;
    border-radius: var(--rsk-radius-md);
    box-shadow: var(--rsk-shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.rsk-faq-item:hover {
    box-shadow: var(--rsk-shadow-md);
}

.rsk-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--rsk-spacing-md);
    padding: var(--rsk-spacing-lg);
    background: white;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.rsk-faq-question:hover {
    background: var(--rsk-gray-50);
}

.rsk-faq-item.active .rsk-faq-question {
    background: var(--rsk-gray-100);
}

.rsk-faq-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rsk-faq-question-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rsk-primary);
}

.rsk-faq-toggle {
    font-size: 1rem;
    color: var(--rsk-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.rsk-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 var(--rsk-spacing-lg);
}

.rsk-faq-item.active .rsk-faq-answer {
    padding: 0 var(--rsk-spacing-lg) var(--rsk-spacing-lg);
}

.rsk-faq-answer p {
    margin: 0;
    color: var(--rsk-gray-700);
    line-height: 1.8;
}

/* Table Section */
.rsk-table-section {
    max-width: 1000px;
    margin: 0 auto;
}

.rsk-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: var(--rsk-radius-md);
    box-shadow: var(--rsk-shadow-md);
}

.rsk-data-table {
    width: 100%;
    border-collapse: collapse;
}

.rsk-data-table thead {
    background: var(--rsk-primary);
    color: white;
}

.rsk-data-table th,
.rsk-data-table td {
    padding: var(--rsk-spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--rsk-gray-200);
}

.rsk-data-table th {
    font-weight: 700;
    font-size: 1rem;
}

.rsk-data-table tbody tr:hover {
    background: var(--rsk-gray-50);
}

.rsk-data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Additional Content Section */
.rsk-schuelerbefoerderung-page .rsk-additional-content {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    background: white;
}

.rsk-schuelerbefoerderung-page .rsk-additional-content .container {
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .rsk-sb-hero {
        min-height: 300px;
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-sb-hero .rsk-hero-icon {
        font-size: 3.5rem;
    }

    .rsk-sb-section {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-info-box {
        flex-direction: column;
        padding: var(--rsk-spacing-lg);
    }

    .rsk-info-icon {
        font-size: 2rem;
    }

    .rsk-contact-card {
        padding: var(--rsk-spacing-lg);
    }

    .rsk-faq-question {
        padding: var(--rsk-spacing-md);
    }

    .rsk-faq-question-text {
        font-size: 1rem;
    }

    .rsk-data-table th,
    .rsk-data-table td {
        padding: var(--rsk-spacing-sm);
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .rsk-sb-intro,
    .rsk-sb-section {
        padding: var(--rsk-spacing-lg) var(--rsk-spacing-sm);
    }

    .rsk-info-box {
        padding: var(--rsk-spacing-md);
    }

    .rsk-contact-name {
        font-size: 1.2rem;
    }

    .rsk-download-section .rsk-download-link {
        padding: var(--rsk-spacing-sm);
    }

    .rsk-table-wrapper {
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    .rsk-sb-hero {
        min-height: auto;
        padding: var(--rsk-spacing-lg);
        background: var(--rsk-primary);
    }

    .rsk-faq-answer {
        max-height: none !important;
        padding: 0 var(--rsk-spacing-lg) var(--rsk-spacing-lg) !important;
    }

    .rsk-faq-toggle {
        display: none;
    }

    .rsk-info-box,
    .rsk-contact-card,
    .rsk-faq-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ============================================================
   LEITBILD + SCHULORDNUNG PAGE STYLES
   ============================================================ */

/* CSS Variables for Stakeholder Colors */
:root {
    --leitbild-schulleitung: #f5e6d3; /* Beige */
    --leitbild-schulleitung-dark: #d4a574;
    --leitbild-eltern: #d4e9f7; /* Light Blue */
    --leitbild-eltern-dark: #4a90e2;
    --leitbild-schueler: #d4f4dd; /* Mint Green */
    --leitbild-schueler-dark: #5cb85c;
    --leitbild-lehrer: #fff9c4; /* Light Yellow */
    --leitbild-lehrer-dark: #fdd835;
}

/* Hero Section */
.rsk-leitbild-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rsk-primary) 0%, #8b1538 100%);
    color: white;
    text-align: center;
    padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    overflow: hidden;
}

.rsk-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.rsk-leitbild-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.rsk-leitbild-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin: 0 0 var(--rsk-spacing-xl) 0;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.5);
}

.rsk-leitbild-principles {
    display: flex;
    flex-wrap: wrap;
    gap: var(--rsk-spacing-lg);
    justify-content: center;
    margin-top: var(--rsk-spacing-xl);
}

.rsk-leitbild-principle {
    flex: 1 1 350px;
    max-width: 500px;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: var(--rsk-spacing-lg);
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    color: white;
    font-weight: 500;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Stakeholder Groups */
.rsk-leitbild-groups {
    background: #f8f9fa;
}

.rsk-leitbild-group {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    transition: background-color 0.3s ease;
}

/* Color-specific backgrounds */
.rsk-leitbild-group--schulleitung {
    background: linear-gradient(135deg, rgba(245, 230, 211, 0.3) 0%, rgba(245, 230, 211, 0.5) 100%);
}

.rsk-leitbild-group--eltern {
    background: linear-gradient(135deg, rgba(212, 233, 247, 0.3) 0%, rgba(212, 233, 247, 0.5) 100%);
}

.rsk-leitbild-group--schueler {
    background: linear-gradient(135deg, rgba(212, 244, 221, 0.3) 0%, rgba(212, 244, 221, 0.5) 100%);
}

.rsk-leitbild-group--lehrer {
    background: linear-gradient(135deg, rgba(255, 249, 196, 0.3) 0%, rgba(255, 249, 196, 0.5) 100%);
}

/* Group Header */
.rsk-leitbild-group-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--rsk-spacing-md);
    margin-bottom: var(--rsk-spacing-2xl);
}

.rsk-leitbild-group-icon {
    font-size: 3rem;
    line-height: 1;
}

.rsk-leitbild-group-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--rsk-text-dark);
    margin: 0;
}

/* Boxes Grid */
.rsk-leitbild-boxes {
    display: grid;
    gap: var(--rsk-spacing-lg);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1400px;
    margin: 0 auto;
}

/* Schulleitung: 2x2 Grid (4 Boxen) */
.rsk-leitbild-group--schulleitung .rsk-leitbild-boxes {
    grid-template-columns: repeat(2, 1fr);
}

/* Eltern: 2 Spalten (2 Boxen) */
.rsk-leitbild-group--eltern .rsk-leitbild-boxes {
    grid-template-columns: repeat(2, 1fr);
}

/* Schüler: 3 Spalten (3 Boxen) */
.rsk-leitbild-group--schueler .rsk-leitbild-boxes {
    grid-template-columns: repeat(3, 1fr);
}

/* Lehrer: 3 Spalten (3 Boxen) */
.rsk-leitbild-group--lehrer .rsk-leitbild-boxes {
    grid-template-columns: repeat(3, 1fr);
}

/* Individual Box */
.rsk-leitbild-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 150px;
}

.rsk-leitbild-box-inner {
    padding: var(--rsk-spacing-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rsk-leitbild-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Color-specific borders */
.rsk-leitbild-group--schulleitung .rsk-leitbild-box {
    border-left: 5px solid var(--leitbild-schulleitung-dark);
}

.rsk-leitbild-group--eltern .rsk-leitbild-box {
    border-left: 5px solid var(--leitbild-eltern-dark);
}

.rsk-leitbild-group--schueler .rsk-leitbild-box {
    border-left: 5px solid var(--leitbild-schueler-dark);
}

.rsk-leitbild-group--lehrer .rsk-leitbild-box {
    border-left: 5px solid var(--leitbild-lehrer-dark);
}

/* Box Content */
.rsk-leitbild-box p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--rsk-text-dark);
}

/* Scroll Fade-in Animation */
.rsk-leitbild-box.fade-in-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.rsk-leitbild-box.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Schulordnung Download Section */
.rsk-leitbild-download {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.rsk-leitbild-download-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: var(--rsk-spacing-2xl);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: var(--rsk-spacing-xl);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rsk-leitbild-download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.rsk-leitbild-download-icon {
    font-size: 5rem;
    line-height: 1;
    flex-shrink: 0;
}

.rsk-leitbild-download-content {
    flex: 1;
}

.rsk-leitbild-download-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rsk-text-dark);
    margin: 0 0 var(--rsk-spacing-sm) 0;
}

.rsk-leitbild-download-text {
    font-size: 1.1rem;
    color: var(--rsk-text-gray);
    margin: 0 0 var(--rsk-spacing-lg) 0;
    line-height: 1.6;
}

.rsk-leitbild-download-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--rsk-spacing-sm);
    padding: var(--rsk-spacing-md) var(--rsk-spacing-xl);
    background: var(--rsk-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(163, 27, 54, 0.3);
}

.rsk-leitbild-download-btn:hover {
    background: #8b1538;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(163, 27, 54, 0.4);
}

.rsk-download-btn-icon {
    font-size: 1.3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Additional Content Section */
.rsk-additional-content {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Keep specific layouts on tablet */
    .rsk-leitbild-group--schulleitung .rsk-leitbild-boxes {
        grid-template-columns: repeat(2, 1fr); /* 2x2 bleibt */
    }

    .rsk-leitbild-group--eltern .rsk-leitbild-boxes {
        grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
    }

    .rsk-leitbild-group--schueler .rsk-leitbild-boxes,
    .rsk-leitbild-group--lehrer .rsk-leitbild-boxes {
        grid-template-columns: repeat(2, 1fr); /* 3 wird 2 auf Tablet */
    }

    .rsk-leitbild-group-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .rsk-leitbild-hero {
        min-height: 50vh;
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-leitbild-headline {
        font-size: 2rem;
    }

    .rsk-leitbild-principles {
        flex-direction: column;
        gap: var(--rsk-spacing-md);
    }

    .rsk-leitbild-principle {
        flex: 1 1 100%;
        max-width: 100%;
        font-size: 1rem;
        padding: var(--rsk-spacing-md);
    }

    .rsk-leitbild-boxes {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-md);
    }

    .rsk-leitbild-group {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-leitbild-group-header {
        flex-direction: column;
        gap: var(--rsk-spacing-sm);
    }

    .rsk-leitbild-group-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .rsk-leitbild-download-card {
        flex-direction: column;
        text-align: center;
        padding: var(--rsk-spacing-xl);
        gap: var(--rsk-spacing-lg);
    }

    .rsk-leitbild-download-icon {
        font-size: 4rem;
    }

    .rsk-leitbild-download-title {
        font-size: 1.6rem;
    }

    .rsk-leitbild-download-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .rsk-leitbild-hero {
        min-height: 40vh;
        padding: var(--rsk-spacing-lg) var(--rsk-spacing-sm);
    }

    .rsk-leitbild-headline {
        font-size: 1.8rem;
    }

    .rsk-leitbild-group {
        padding: var(--rsk-spacing-lg) var(--rsk-spacing-sm);
    }

    .rsk-leitbild-box-inner {
        padding: var(--rsk-spacing-md);
    }

    .rsk-leitbild-box p {
        font-size: 0.95rem;
    }

    .rsk-leitbild-download-card {
        padding: var(--rsk-spacing-lg);
    }

    .rsk-leitbild-download-btn {
        width: 100%;
        justify-content: center;
        padding: var(--rsk-spacing-md);
    }
}

/* Print Styles */
@media print {
    .rsk-leitbild-hero {
        min-height: auto;
        padding: var(--rsk-spacing-lg);
        background: var(--rsk-primary);
    }

    .rsk-leitbild-box {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .rsk-leitbild-download-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .rsk-leitbild-box:hover,
    .rsk-leitbild-download-card:hover {
        transform: none;
    }
}

/* ============================================================
   MENSA PAGE STYLES
   ============================================================ */

/* Hero Section */
.rsk-mensa-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rsk-primary) 0%, #8b1538 100%);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    overflow: hidden;
}

/* Wenn Hintergrundbild gesetzt, stärkeres Overlay */
.rsk-mensa-hero[style*="background-image"] .rsk-hero-overlay {
    background: linear-gradient(135deg, rgba(163, 27, 54, 0.85) 0%, rgba(139, 21, 56, 0.9) 100%);
}

.rsk-mensa-hero .rsk-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.rsk-mensa-hero .rsk-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.rsk-mensa-hero .rsk-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin: 0 0 var(--rsk-spacing-lg) 0;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 4px 16px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.5px;
}

.rsk-mensa-hero .rsk-hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin: 0;
    color: white;
    font-weight: 500;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0.98;
}

/* Intro Section */
.rsk-mensa-intro {
    padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    background: #f8f9fa;
}

.rsk-mensa-intro .rsk-intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--rsk-text-dark);
    text-align: center;
}

/* Calendar Section */
.rsk-mensa-calendar {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: #f8f9fa;
}

.rsk-mensa-calendar .container {
    max-width: 1400px;
}

/* Calendar Header/Title Styling */
.rsk-mensa-calendar h2,
.rsk-mensa-calendar h3 {
    text-align: center;
    color: var(--rsk-text-dark);
    margin-bottom: var(--rsk-spacing-lg);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* My Calendar Controls (Buttons, Dropdowns) */
.rsk-mensa-calendar .my-calendar-header,
.rsk-mensa-calendar .my-calendar-nav {
    background: white;
    padding: var(--rsk-spacing-md);
    border-radius: 8px;
    margin-bottom: var(--rsk-spacing-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--rsk-spacing-sm);
    flex-wrap: wrap;
}

.rsk-mensa-calendar .my-calendar-header button,
.rsk-mensa-calendar .my-calendar-nav button,
.rsk-mensa-calendar button,
.rsk-mensa-calendar input[type="submit"] {
    background: var(--rsk-primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rsk-mensa-calendar button:hover,
.rsk-mensa-calendar input[type="submit"]:hover {
    background: #8b1538;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(163, 27, 54, 0.3);
}

/* Calendar Table */
.rsk-mensa-calendar .my-calendar table,
.rsk-mensa-calendar table.my-calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.rsk-mensa-calendar .my-calendar thead th,
.rsk-mensa-calendar table.my-calendar-table thead th {
    background: var(--rsk-primary);
    color: white;
    padding: var(--rsk-spacing-md);
    font-weight: 700;
    text-align: center;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rsk-mensa-calendar .my-calendar td,
.rsk-mensa-calendar table.my-calendar-table td {
    padding: var(--rsk-spacing-md);
    vertical-align: top;
    border: 1px solid #e9ecef;
    min-height: 100px;
    background: white;
    transition: all 0.2s ease;
}

.rsk-mensa-calendar .my-calendar td:hover,
.rsk-mensa-calendar table.my-calendar-table td:hover {
    background: #f8f9fa;
    box-shadow: inset 0 0 0 2px rgba(163, 27, 54, 0.1);
}

/* Date Numbers */
.rsk-mensa-calendar .my-calendar .day-with-date,
.rsk-mensa-calendar .my-calendar-date {
    font-weight: 700;
    color: var(--rsk-text-dark);
    margin-bottom: var(--rsk-spacing-xs);
    font-size: 1.1rem;
}

/* Events */
.rsk-mensa-calendar .my-calendar .event,
.rsk-mensa-calendar .mc-event {
    background: var(--rsk-primary);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: block;
    transition: all 0.2s ease;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(163, 27, 54, 0.2);
}

.rsk-mensa-calendar .my-calendar .event:hover,
.rsk-mensa-calendar .mc-event:hover {
    background: #8b1538;
    transform: translateX(3px) translateY(-1px);
    box-shadow: 0 4px 8px rgba(163, 27, 54, 0.3);
}

/* Weekend Styling */
.rsk-mensa-calendar .my-calendar .weekend,
.rsk-mensa-calendar td.weekend {
    background: #f1f3f5;
}

/* Current Day Highlighting */
.rsk-mensa-calendar .my-calendar .current-day,
.rsk-mensa-calendar td.current-day {
    background: rgba(163, 27, 54, 0.08);
    border: 2px solid var(--rsk-primary);
    box-shadow: inset 0 0 0 1px rgba(163, 27, 54, 0.2);
}

.rsk-mensa-calendar .current-day .my-calendar-date {
    color: var(--rsk-primary);
}

/* Calendar Placeholder (if plugin not active) */
.rsk-calendar-placeholder {
    padding: var(--rsk-spacing-xl);
    background: #fff3cd;
    border: 2px dashed #ffc107;
    border-radius: 8px;
    text-align: center;
}

/* Additional Content */
.rsk-additional-content {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rsk-mensa-hero {
        min-height: 300px;
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-mensa-hero .rsk-hero-title {
        font-size: 2rem;
    }

    .rsk-mensa-hero .rsk-hero-subtitle {
        font-size: 1rem;
    }

    .rsk-mensa-intro .rsk-intro-text {
        font-size: 1rem;
    }

    .rsk-mensa-calendar {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-sm);
    }

    .rsk-mensa-calendar .my-calendar td {
        padding: var(--rsk-spacing-xs);
        font-size: 0.85rem;
    }

    .rsk-mensa-calendar .my-calendar .event {
        font-size: 0.75rem;
        padding: 2px 6px;
    }
}

@media (max-width: 480px) {
    .rsk-mensa-hero {
        min-height: 250px;
        padding: var(--rsk-spacing-lg) var(--rsk-spacing-sm);
    }

    .rsk-mensa-hero .rsk-hero-title {
        font-size: 1.8rem;
    }

    .rsk-mensa-calendar .my-calendar th,
    .rsk-mensa-calendar .my-calendar td {
        padding: var(--rsk-spacing-xs);
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {
    .rsk-mensa-hero {
        min-height: auto;
        padding: var(--rsk-spacing-lg);
        background: var(--rsk-primary);
    }

    .rsk-mensa-calendar .my-calendar {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ==========================================
   FÖRDERVEREIN PAGE TEMPLATE (Team Member Style)
   ========================================== */

/* Förderverein uses Team Member CSS - see Team Member section above */
/* Additional Förderverein-specific styles below */

/* Documents Section for Förderverein */
.rsk-fv-documents-section {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-lg);
    background: var(--rsk-gray-50);
}

.rsk-fv-documents-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Documents Grid */
.rsk-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--rsk-spacing-lg);
    margin-top: var(--rsk-spacing-lg);
}

.rsk-document-card {
    background: white;
    border-radius: 12px;
    padding: var(--rsk-spacing-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: var(--rsk-spacing-md);
}

.rsk-document-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.rsk-document-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--rsk-primary) 0%, #0052cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--rsk-spacing-sm);
}

.rsk-document-icon .rsk-file-type {
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.rsk-document-content {
    flex: 1;
}

.rsk-document-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--rsk-text-primary);
    margin: 0 0 var(--rsk-spacing-sm) 0;
    line-height: 1.4;
}

.rsk-document-description {
    font-size: 0.95rem;
    color: var(--rsk-text-secondary);
    line-height: 1.6;
    margin: 0 0 var(--rsk-spacing-sm) 0;
}

.rsk-document-meta {
    display: flex;
    align-items: center;
    gap: var(--rsk-spacing-sm);
    font-size: 0.875rem;
    color: var(--rsk-text-muted);
}

.rsk-document-action {
    margin-top: auto;
}

.rsk-document-action .rsk-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
}

.rsk-document-action .rsk-btn svg {
    width: 16px;
    height: 16px;
}

/* Responsive for Documents */
@media (max-width: 768px) {
    .rsk-fv-documents-section {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-md);
    }

    .rsk-documents-grid {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-md);
    }
}

@media (max-width: 480px) {
    .rsk-fv-documents-section {
        padding: var(--rsk-spacing-lg) var(--rsk-spacing-sm);
    }

    .rsk-document-card {
        padding: var(--rsk-spacing-md);
    }
}

/* Print Styles for Documents */
@media print {
    .rsk-document-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .rsk-document-action {
        display: none;
    }
}

/* ============================================
   BORS PAGE
   ============================================ */

/* Quote Section */
.rsk-quote-section {
    padding: var(--rsk-spacing-3xl) var(--rsk-spacing-lg);
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    position: relative;
    overflow: hidden;
}

.rsk-quote-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--rsk-primary);
    opacity: 0.03;
    border-radius: 50%;
}

.rsk-quote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: var(--rsk-spacing-xl);
}

.rsk-quote-mark {
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--rsk-primary);
    opacity: 0.2;
    line-height: 0.5;
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-quote-text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--rsk-gray-800);
    font-style: italic;
    font-weight: 400;
    margin: var(--rsk-spacing-lg) 0;
}

.rsk-quote-author {
    display: block;
    font-size: 1.125rem;
    color: var(--rsk-primary);
    font-style: normal;
    font-weight: 600;
    margin-top: var(--rsk-spacing-lg);
}

/* BORS Downloads Section */
.rsk-bors-downloads {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: white;
}

.rsk-downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--rsk-spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.rsk-download-card {
    display: flex;
    gap: var(--rsk-spacing-md);
    padding: var(--rsk-spacing-lg);
    background: white;
    border: 2px solid var(--rsk-gray-200);
    border-radius: var(--rsk-radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.rsk-download-card:hover {
    border-color: var(--rsk-primary);
    box-shadow: var(--rsk-shadow-lg);
    transform: translateY(-2px);
}

.rsk-download-icon {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rsk-primary);
    color: white;
    border-radius: var(--rsk-radius-md);
}

.rsk-download-icon svg {
    width: 32px;
    height: 32px;
}

.rsk-download-type {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: var(--rsk-accent);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.rsk-download-info {
    flex: 1;
}

.rsk-download-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin-bottom: var(--rsk-spacing-xs);
}

.rsk-download-description {
    font-size: 0.9375rem;
    color: var(--rsk-gray-700);
    margin-bottom: var(--rsk-spacing-xs);
    line-height: 1.5;
}

.rsk-download-meta {
    font-size: 0.8125rem;
    color: var(--rsk-gray-600);
    font-weight: 500;
}

/* Related Pages Section */
.rsk-related-pages {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: var(--rsk-gray-50);
}

.rsk-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--rsk-spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.rsk-related-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    padding: var(--rsk-spacing-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--rsk-primary);
    box-shadow: var(--rsk-shadow-sm);
}

.rsk-related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--rsk-shadow-xl);
}

.rsk-related-icon {
    font-size: 2.5rem;
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-related-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin-bottom: var(--rsk-spacing-sm);
}

.rsk-related-description {
    font-size: 0.9375rem;
    color: var(--rsk-gray-700);
    flex-grow: 1;
    margin-bottom: var(--rsk-spacing-md);
    line-height: 1.6;
}

.rsk-related-arrow {
    font-size: 1.5rem;
    color: var(--rsk-primary);
    transition: transform 0.3s ease;
    align-self: flex-end;
}

.rsk-related-card:hover .rsk-related-arrow {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .rsk-quote-text {
        font-size: 1.25rem;
    }

    .rsk-quote-author {
        font-size: 1rem;
    }

    .rsk-downloads-grid,
    .rsk-related-grid {
        grid-template-columns: 1fr;
    }

    .rsk-download-card {
        padding: var(--rsk-spacing-md);
    }

    .rsk-download-icon {
        width: 50px;
        height: 50px;
    }

    .rsk-download-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .rsk-quote-mark {
        font-size: 4rem;
    }

    .rsk-quote-text {
        font-size: 1.125rem;
    }

    .rsk-bors-downloads,
    .rsk-related-pages {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-sm);
    }
}

/* ============================================
   RÜCKBLICK PAGE
   ============================================ */

.rsk-rueckblick-grid-section {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: var(--rsk-gray-50);
}

.rsk-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--rsk-spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.rsk-project-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
}

.rsk-project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rsk-shadow-xl);
}

.rsk-project-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--rsk-gray-200);
}

.rsk-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rsk-project-card:hover .rsk-project-image img {
    transform: scale(1.05);
}

.rsk-project-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rsk-gray-400);
}

.rsk-project-content {
    padding: var(--rsk-spacing-lg);
}

.rsk-project-date {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-sm);
}

.rsk-project-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin-bottom: var(--rsk-spacing-sm);
    line-height: 1.3;
}

.rsk-project-description {
    font-size: 1rem;
    color: var(--rsk-gray-700);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .rsk-project-grid {
        grid-template-columns: 1fr;
    }

    .rsk-rueckblick-grid-section {
        padding: var(--rsk-spacing-xl) var(--rsk-spacing-sm);
    }
}

/* ============================================
   ABEND DER BETRIEBE PAGE
   ============================================ */

.rsk-event-info-section {
    padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    background: white;
}

.rsk-event-info-box {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #003DA5 0%, #0052d9 100%);
    border-radius: var(--rsk-radius-lg);
    padding: var(--rsk-spacing-2xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--rsk-spacing-xl);
    box-shadow: var(--rsk-shadow-xl);
}

.rsk-event-info-item {
    display: flex;
    gap: var(--rsk-spacing-md);
    color: white;
    align-items: flex-start;
}

.rsk-event-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.rsk-event-info-item strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.rsk-event-info-item div {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .rsk-event-info-box {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-lg);
        padding: var(--rsk-spacing-xl);
    }
}

/* ============================================
   FÄCHER PAGE
   ============================================ */

/* Hero Section */
.rsk-faecher-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--rsk-primary) 0%, #0052d9 100%);
    color: white;
    padding: var(--rsk-spacing-3xl) var(--rsk-spacing-lg);
}

.rsk-faecher-hero .rsk-hero-content {
    max-width: 900px;
    z-index: 2;
}

.rsk-faecher-hero .rsk-hero-icon-wrapper {
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-faecher-hero .rsk-hero-icon {
    font-size: 5rem;
    display: inline-block;
    animation: rsk-float 3s ease-in-out infinite;
}

.rsk-faecher-hero .rsk-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--rsk-spacing-md);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rsk-faecher-hero .rsk-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.6;
    color: white;
    opacity: 0.95;
}

/* Sticky Navigation */
.rsk-faecher-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--rsk-primary);
    box-shadow: var(--rsk-shadow-lg);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.rsk-faecher-nav.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rsk-faecher-nav-inner {
    display: flex;
    gap: var(--rsk-spacing-sm);
    padding: var(--rsk-spacing-md) var(--rsk-spacing-lg);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--rsk-primary) transparent;
    max-width: 1400px;
    margin: 0 auto;
}

.rsk-faecher-nav-inner::-webkit-scrollbar {
    height: 6px;
}

.rsk-faecher-nav-inner::-webkit-scrollbar-thumb {
    background: var(--rsk-primary);
    border-radius: 3px;
}

.rsk-faecher-nav-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--rsk-spacing-xs);
    padding: var(--rsk-spacing-sm) var(--rsk-spacing-lg);
    background: white;
    border: 2px solid var(--rsk-gray-300);
    border-radius: var(--rsk-radius-full);
    color: var(--rsk-gray-900);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.rsk-faecher-nav-link:hover {
    background: var(--rsk-primary);
    color: white;
    border-color: var(--rsk-primary);
    transform: translateY(-2px);
    box-shadow: var(--rsk-shadow-md);
}

.rsk-faecher-nav-link.active {
    background: var(--rsk-primary);
    color: white;
    border-color: var(--rsk-primary);
    box-shadow: 0 0 0 4px rgba(0, 61, 165, 0.1);
}

.rsk-faecher-nav-link .rsk-nav-icon {
    font-size: 1.25rem;
}

/* Fach Sections */
.rsk-fach-section {
    padding: var(--rsk-spacing-3xl) 0;
    scroll-margin-top: 80px; /* Offset for sticky nav */
}

.rsk-fach-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: var(--rsk-gray-900);
    margin-bottom: var(--rsk-spacing-2xl);
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
}

.rsk-fach-hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: var(--rsk-spacing-2xl);
}

.rsk-fach-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.rsk-fach-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--rsk-spacing-sm);
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.rsk-fach-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    color: white;
    opacity: 0.95;
}

/* Fach Content */
.rsk-fach-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rsk-spacing-lg);
}

.rsk-fach-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto var(--rsk-spacing-2xl);
    font-size: 1.1875rem;
    line-height: 1.8;
    color: var(--rsk-gray-800);
}

.rsk-fach-intro p:first-child {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--rsk-primary);
}

/* Content Sections */
.rsk-fach-sections {
    margin-top: var(--rsk-spacing-2xl);
}

.rsk-section {
    margin-bottom: var(--rsk-spacing-3xl);
}

.rsk-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--rsk-primary);
    margin-bottom: var(--rsk-spacing-lg);
    text-align: center;
}

/* Text with Image Sections */
.rsk-section-with-image .rsk-section-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--rsk-spacing-2xl);
    align-items: center;
}

.rsk-image-right .rsk-section-content-grid {
    grid-template-columns: 1.2fr 0.8fr;
}

.rsk-image-left .rsk-section-content-grid {
    grid-template-columns: 0.8fr 1.2fr;
}

.rsk-image-left .rsk-section-image {
    order: -1;
}

.rsk-section-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--rsk-gray-700);
}

.rsk-section-image img {
    width: 100%;
    height: auto;
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-lg);
    transition: transform 0.3s ease;
}

.rsk-section-image img:hover {
    transform: scale(1.02);
}

/* Hero Video */
.rsk-fach-hero {
    position: relative;
    overflow: hidden;
}

.rsk-fach-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.rsk-fach-hero-overlay {
    position: relative;
    z-index: 1;
}

/* Section Media (Video + Image) */
.rsk-section-media {
    display: flex;
    flex-direction: column;
    gap: var(--rsk-spacing-md);
}

.rsk-section-video {
    width: 100%;
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-lg);
}

.rsk-section-image {
    width: 100%;
}

.rsk-image-left .rsk-section-media {
    order: -1;
}

/* Text Only Sections */
.rsk-section-text-only .rsk-section-text {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

/* Video Quotes */
.rsk-video-quotes {
    margin-top: var(--rsk-spacing-3xl);
}

.rsk-video-quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--rsk-spacing-xl);
    margin-top: var(--rsk-spacing-xl);
}

.rsk-video-quote-card {
    background: white;
    border-radius: var(--rsk-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
}

.rsk-video-quote-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--rsk-shadow-xl);
}

.rsk-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    background: var(--rsk-gray-900);
}

.rsk-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rsk-video-placeholder {
    padding: var(--rsk-spacing-3xl);
    background: var(--rsk-gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.rsk-video-icon {
    font-size: 4rem;
    margin-bottom: var(--rsk-spacing-md);
    opacity: 0.5;
}

.rsk-video-placeholder p {
    font-size: 1.125rem;
    color: var(--rsk-gray-600);
}

.rsk-quote-text {
    padding: var(--rsk-spacing-lg);
}

.rsk-quote-text blockquote {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--rsk-gray-800);
    font-style: italic;
    margin: 0;
    position: relative;
    padding-left: var(--rsk-spacing-lg);
    border-left: 4px solid var(--rsk-primary);
}

/* Gallery */
.rsk-fach-gallery {
    margin-top: var(--rsk-spacing-3xl);
}

.rsk-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--rsk-spacing-lg);
    margin-top: var(--rsk-spacing-xl);
}

.rsk-gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-md);
    transition: all 0.3s ease;
}

.rsk-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--rsk-shadow-xl);
}

.rsk-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rsk-gallery-item:hover img {
    transform: scale(1.1);
}

/* Back to Top Button */
.rsk-back-to-top {
    position: fixed;
    bottom: var(--rsk-spacing-xl);
    right: var(--rsk-spacing-xl);
    width: 50px;
    height: 50px;
    background: var(--rsk-primary);
    color: white;
    border: none;
    border-radius: var(--rsk-radius-full);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--rsk-shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
}

.rsk-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rsk-back-to-top:hover {
    background: #0052d9;
    transform: translateY(-3px);
}

.rsk-back-to-top:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 1024px) {
    .rsk-faecher-nav-link {
        font-size: 0.875rem;
        padding: var(--rsk-spacing-xs) var(--rsk-spacing-md);
    }
    
    .rsk-section-with-image .rsk-section-content-grid {
        grid-template-columns: 1fr;
        gap: var(--rsk-spacing-lg);
    }
    
    .rsk-image-left .rsk-section-image {
        order: 0;
    }
}

@media (max-width: 768px) {
    .rsk-faecher-hero {
        min-height: 300px;
        padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    }
    
    .rsk-faecher-nav {
        top: 0;
    }
    
    .rsk-faecher-nav-inner {
        padding: var(--rsk-spacing-sm);
    }
    
    .rsk-faecher-nav-link .rsk-nav-text {
        display: none;
    }
    
    .rsk-faecher-nav-link {
        padding: var(--rsk-spacing-sm);
    }
    
    .rsk-fach-section {
        padding: var(--rsk-spacing-2xl) 0;
    }
    
    .rsk-fach-hero {
        min-height: 250px;
        margin-bottom: var(--rsk-spacing-xl);
    }
    
    .rsk-video-quotes-grid {
        grid-template-columns: 1fr;
    }
    
    .rsk-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--rsk-spacing-md);
    }
    
    .rsk-back-to-top {
        width: 45px;
        height: 45px;
        bottom: var(--rsk-spacing-lg);
        right: var(--rsk-spacing-lg);
    }
}

/* Animation */
@keyframes rsk-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   HEADER CUSTOMIZATIONS
   Logo & CTA Button Adjustments
   ============================================ */

/* Logo verkleinern für mehr vertikalen Weißraum */
@media (min-width: 1025px) {
    /* Kadence Logo Container */
    .site-header .site-branding,
    .site-header-primary .site-branding,
    #masthead .site-branding {
        max-height: 60px !important;
    }

    /* Logo Image */
    .site-header .custom-logo,
    .site-header-primary .custom-logo,
    #masthead .custom-logo,
    .site-branding img,
    .site-branding .custom-logo-link img {
        max-height: 60px !important;
        height: auto !important;
        width: auto !important;
        object-fit: contain;
    }

    /* Header Padding für mehr Luft */
    .site-header,
    .site-header-primary,
    #masthead {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

/* Anmeldung-Button weiter nach rechts schieben */
@media (min-width: 1025px) {
    /* Mehr Abstand links vom Button */
    html body .site-header li.menu-cta-button,
    html body .site-header-primary li.menu-cta-button,
    html body #main-navigation li.menu-cta-button,
    html body .primary-navigation li.menu-cta-button,
    html body .header-navigation li.menu-cta-button {
        margin-left: 3rem !important; /* Erhöht von auto auf 3rem Abstand */
    }

    /* Navigation Container: justify-content falls nötig */
    html body .site-header .primary-navigation ul,
    html body .site-header .header-navigation ul,
    html body .site-header-primary .primary-navigation ul,
    html body .site-header-primary .header-navigation ul,
    html body #main-navigation ul {
        justify-content: flex-start !important;
    }
}


/* ============================================
   LIGHTBOX STYLES
   ============================================ */

/* Lightbox Container */
.rsk-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rsk-lightbox.active {
    visibility: visible;
    opacity: 1;
}

/* Lightbox Overlay */
.rsk-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

/* Lightbox Content */
.rsk-lightbox-content {
    position: relative;
    z-index: 10;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

/* Lightbox Image Container */
.rsk-lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: calc(90vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lightbox Image */
.rsk-lightbox-image {
    max-width: 100%;
    max-height: calc(90vh - 100px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease;
}

/* Lightbox Info (Caption + Counter) */
.rsk-lightbox-info {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}

/* Lightbox Caption */
.rsk-lightbox-caption {
    color: #ffffff;
    font-size: 1rem;
    text-align: center;
    max-width: 600px;
    line-height: 1.5;
    padding: 0 1rem;
}

/* Lightbox Counter */
.rsk-lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Close Button */
.rsk-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 20;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.rsk-lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.rsk-lightbox-close:active {
    transform: rotate(90deg) scale(0.95);
}

/* Navigation Buttons */
.rsk-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.rsk-lightbox-nav:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.rsk-lightbox-nav:active:not(:disabled) {
    transform: translateY(-50%) scale(0.95);
}

.rsk-lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.rsk-lightbox-prev {
    left: 1.5rem;
}

.rsk-lightbox-next {
    right: 1.5rem;
}

/* Gallery Image Wrapper Hover Effect */
.rsk-gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.rsk-gallery-card {
    cursor: pointer;
    outline: none;
}

.rsk-gallery-card:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 4px;
}

/* Lightbox Trigger Icon */
.rsk-gallery-lightbox-trigger {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.rsk-gallery-card:hover .rsk-gallery-lightbox-trigger,
.rsk-gallery-card:focus-visible .rsk-gallery-lightbox-trigger {
    opacity: 1;
    transform: scale(1);
}

.rsk-gallery-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.rsk-gallery-card:hover .rsk-gallery-image-wrapper::after,
.rsk-gallery-card:focus-visible .rsk-gallery-image-wrapper::after {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .rsk-lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .rsk-lightbox-image-container {
        max-height: calc(95vh - 80px);
    }

    .rsk-lightbox-image {
        max-height: calc(95vh - 80px);
        border-radius: 4px;
    }

    .rsk-lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }

    .rsk-lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .rsk-lightbox-prev {
        left: 0.5rem;
    }

    .rsk-lightbox-next {
        right: 0.5rem;
    }

    .rsk-lightbox-caption {
        font-size: 0.875rem;
        padding: 0 0.5rem;
    }

    .rsk-lightbox-counter {
        font-size: 0.75rem;
    }

    .rsk-gallery-lightbox-trigger {
        width: 36px;
        height: 36px;
        top: 0.75rem;
        right: 0.75rem;
    }

    .rsk-gallery-lightbox-trigger svg {
        width: 20px;
        height: 20px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .rsk-lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .rsk-lightbox-nav svg {
        width: 32px;
        height: 32px;
    }

    .rsk-lightbox-close {
        width: 40px;
        height: 40px;
    }

    .rsk-lightbox-close svg {
        width: 28px;
        height: 28px;
    }
}

/* Loading state for images */
.rsk-lightbox-image {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Smooth animations */
.rsk-lightbox.active .rsk-lightbox-close,
.rsk-lightbox.active .rsk-lightbox-nav,
.rsk-lightbox.active .rsk-lightbox-content {
    animation: fadeInUp 0.4s ease;
}

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

/* Prevent text selection in lightbox */
.rsk-lightbox {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .rsk-lightbox-close,
    .rsk-lightbox-nav {
        background-color: rgba(255, 255, 255, 0.3);
        border: 2px solid #ffffff;
    }

    .rsk-lightbox-counter {
        color: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .rsk-lightbox,
    .rsk-lightbox-close,
    .rsk-lightbox-nav,
    .rsk-lightbox-image,
    .rsk-gallery-lightbox-trigger,
    .rsk-gallery-image-wrapper::after {
        transition: none;
    }

    .rsk-lightbox.active .rsk-lightbox-close,
    .rsk-lightbox.active .rsk-lightbox-nav,
    .rsk-lightbox.active .rsk-lightbox-content {
        animation: none;
    }
}

/* ============================================
   CALL-TO-ACTION: AKTUELLES SECTION
   ============================================ */
.rsk-cta-aktuelles {
    position: relative;
    overflow: hidden;
    padding: 6rem var(--rsk-spacing-md) 5rem;
    margin: 4rem 0 0;
}

.rsk-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.rsk-cta-text {
    display: flex;
    flex-direction: column;
    gap: var(--rsk-spacing-lg);
}

/* Badge */
.rsk-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    width: fit-content;
    animation: fadeInLeft 0.6s ease-out;
}

.rsk-cta-badge-icon {
    width: 20px;
    height: 20px;
    color: var(--rsk-accent);
}

.rsk-cta-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rsk-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Title */
.rsk-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    animation: fadeInLeft 0.8s ease-out 0.1s both;
}

/* Description */
.rsk-cta-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    animation: fadeInLeft 1s ease-out 0.2s both;
}

/* Stats */
.rsk-cta-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInLeft 1.2s ease-out 0.3s both;
}

.rsk-cta-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--rsk-radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.rsk-cta-stat:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.rsk-cta-stat-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.rsk-cta-stat span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
}

/* Button */
.rsk-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #ffffff;
    color: var(--rsk-primary);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--rsk-radius-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: fit-content;
    animation: fadeInLeft 1.4s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.rsk-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--rsk-accent) 0%, var(--rsk-accent-hover) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rsk-cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.rsk-cta-button:hover::before {
    opacity: 1;
}

.rsk-cta-button span,
.rsk-cta-button-icon {
    position: relative;
    z-index: 1;
}

.rsk-cta-button-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.rsk-cta-button:hover .rsk-cta-button-icon {
    transform: translateX(5px);
}

.rsk-cta-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

/* Visual Side */
.rsk-cta-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decoration Circles */
.rsk-cta-decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.rsk-cta-decoration-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite;
}

.rsk-cta-decoration-2 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation: float 8s ease-in-out infinite 1s;
}

.rsk-cta-decoration-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 10%;
    animation: float 7s ease-in-out infinite 2s;
}

/* Icon Grid */
.rsk-cta-icons {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.rsk-cta-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--rsk-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    justify-self: center;
    align-self: center;
}

.rsk-cta-icon-wrapper svg {
    width: 48px;
    height: 48px;
    color: var(--rsk-primary);
}

.rsk-cta-icon-wrapper:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}

/* Individual icon animations */
.rsk-cta-icon-1 {
    animation: fadeInScale 0.8s ease-out 0.5s both, iconFloat1 4s ease-in-out infinite 1.5s;
}

.rsk-cta-icon-2 {
    animation: fadeInScale 0.8s ease-out 0.7s both, iconFloat2 5s ease-in-out infinite 2s;
}

.rsk-cta-icon-3 {
    animation: fadeInScale 0.8s ease-out 0.9s both, iconFloat3 4.5s ease-in-out infinite 2.5s;
}

.rsk-cta-icon-4 {
    animation: fadeInScale 0.8s ease-out 1.1s both, iconFloat4 5.5s ease-in-out infinite 3s;
}

/* Background Gradient */
.rsk-cta-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--rsk-primary) 0%,
        var(--rsk-primary-light) 50%,
        var(--rsk-primary-dark) 100%
    );
    z-index: 1;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

@keyframes iconFloat1 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes iconFloat2 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes iconFloat3 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes iconFloat4 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ============================================
   CTA AKTUELLES: RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .rsk-cta-aktuelles {
        padding: 4rem var(--rsk-spacing-md);
    }

    .rsk-cta-content {
        gap: 3rem;
    }

    .rsk-cta-title {
        font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    }

    .rsk-cta-description {
        font-size: 1rem;
    }

    .rsk-cta-visual {
        height: 350px;
    }

    .rsk-cta-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .rsk-cta-icon-wrapper svg {
        width: 40px;
        height: 40px;
    }

    .rsk-cta-decoration-1 {
        width: 250px;
        height: 250px;
    }

    .rsk-cta-decoration-2 {
        width: 150px;
        height: 150px;
    }

    .rsk-cta-decoration-3 {
        width: 100px;
        height: 100px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .rsk-cta-aktuelles {
        padding: 3rem var(--rsk-spacing-md);
        margin: 3rem 0 0;
    }

    .rsk-cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .rsk-cta-text {
        gap: var(--rsk-spacing-md);
        order: 1;
    }

    .rsk-cta-visual {
        order: 2;
        height: 300px;
    }

    .rsk-cta-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .rsk-cta-description {
        font-size: 0.9375rem;
    }

    .rsk-cta-stats {
        gap: 1rem;
    }

    .rsk-cta-stat {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
        padding: 0.625rem 1rem;
    }

    .rsk-cta-stat-icon {
        width: 20px;
        height: 20px;
    }

    .rsk-cta-stat span {
        font-size: 0.875rem;
    }

    .rsk-cta-button {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .rsk-cta-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .rsk-cta-icon-wrapper svg {
        width: 36px;
        height: 36px;
    }

    .rsk-cta-icons {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .rsk-cta-decoration-1 {
        width: 200px;
        height: 200px;
    }

    .rsk-cta-decoration-2 {
        width: 120px;
        height: 120px;
    }

    .rsk-cta-decoration-3 {
        width: 80px;
        height: 80px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .rsk-cta-aktuelles {
        padding: 2.5rem 1rem;
        margin: 2rem 0 0;
    }

    .rsk-cta-content {
        gap: 2rem;
    }

    .rsk-cta-badge {
        padding: 0.375rem 1rem;
    }

    .rsk-cta-badge-icon {
        width: 18px;
        height: 18px;
    }

    .rsk-cta-badge span {
        font-size: 0.8125rem;
    }

    .rsk-cta-visual {
        height: 250px;
    }

    .rsk-cta-stats {
        flex-direction: column;
    }

    .rsk-cta-stat {
        width: 100%;
        flex: 1 1 100%;
    }

    .rsk-cta-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .rsk-cta-icon-wrapper svg {
        width: 32px;
        height: 32px;
    }

    .rsk-cta-icons {
        gap: 1rem;
        padding: 1rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .rsk-cta-badge,
    .rsk-cta-title,
    .rsk-cta-description,
    .rsk-cta-stats,
    .rsk-cta-button,
    .rsk-cta-icon-wrapper {
        animation: none;
    }

    .rsk-cta-decoration-circle {
        animation: none;
    }

    .rsk-cta-button:hover {
        transform: none;
    }

    .rsk-cta-icon-wrapper:hover {
        transform: scale(1.05);
    }

    .rsk-cta-button:hover .rsk-cta-button-icon {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .rsk-cta-badge,
    .rsk-cta-stat {
        border-width: 2px;
    }

    .rsk-cta-button {
        border: 2px solid #ffffff;
    }

    .rsk-cta-icon-wrapper {
        border: 2px solid var(--rsk-primary);
    }
}

/* ============================================
   LEGAL PAGES (IMPRESSUM & DATENSCHUTZ)
   ============================================ */

/* Legal Page General */
.rsk-legal-page {
    background: white;
}

/* Hero Section */
.rsk-legal-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--rsk-primary) 0%, #0052d9 100%);
    color: white;
    text-align: center;
}

.rsk-legal-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.rsk-legal-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: white;
}

.rsk-legal-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.95;
}

/* Content Section */
.rsk-legal-content {
    padding: var(--rsk-spacing-3xl) var(--rsk-spacing-md);
    background: white;
}

.rsk-legal-content .container {
    max-width: 900px;
}

.rsk-legal-section {
    margin-bottom: var(--rsk-spacing-2xl);
    padding-bottom: var(--rsk-spacing-2xl);
    border-bottom: 1px solid var(--rsk-gray-200);
}

.rsk-legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rsk-legal-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--rsk-primary);
    margin: 0 0 1.5rem 0;
}

.rsk-legal-section-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--rsk-gray-700);
}

.rsk-legal-section-text p {
    margin-bottom: 1rem;
}

.rsk-legal-section-text ul,
.rsk-legal-section-text ol {
    margin: 1rem 0 1.5rem 2rem;
}

.rsk-legal-section-text li {
    margin-bottom: 0.5rem;
}

.rsk-legal-section-text a {
    color: var(--rsk-primary);
    text-decoration: underline;
}

.rsk-legal-section-text a:hover {
    color: var(--rsk-primary-dark);
}

.rsk-legal-section-text strong {
    font-weight: 600;
    color: var(--rsk-gray-900);
}

/* Placeholder */
.rsk-legal-placeholder {
    text-align: center;
    padding: 3rem 0;
    color: var(--rsk-gray-500);
    font-style: italic;
}

/* Mobile */
@media (max-width: 768px) {
    .rsk-legal-hero {
        padding: 3rem 0 2rem;
    }

    .rsk-legal-hero-title {
        font-size: 2rem;
    }

    .rsk-legal-hero-subtitle {
        font-size: 1.125rem;
    }

    .rsk-legal-content {
        padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md);
    }

    .rsk-legal-section-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   LEGAL FOOTER
   ============================================ */

.rsk-legal-footer {
    background: var(--rsk-gray-900);
    color: white;
    padding: 2rem 0;
    margin-top: 0;
}

.rsk-legal-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.rsk-legal-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.rsk-legal-link {
    color: white;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.rsk-legal-link:hover {
    color: var(--rsk-primary);
    text-decoration: underline;
}

.rsk-legal-separator {
    color: var(--rsk-gray-500);
}

.rsk-copyright {
    font-size: 0.875rem;
    color: var(--rsk-gray-400);
}

@media (max-width: 640px) {
    .rsk-legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .rsk-legal-separator {
        display: none;
    }

    .rsk-legal-footer {
        padding: 1.5rem 0;
    }
}

/* ============================================
   HIDE KADENCE THEME FOOTER
   ============================================ */

/* Verstecke den Standard Kadence Footer komplett */
#colophon.site-footer,
.site-footer,
.site-middle-footer-wrap,
.site-top-footer-wrap,
.site-bottom-footer-wrap,
footer[role="contentinfo"] {
    display: none !important;
}

/* Nur unseren Custom Legal Footer anzeigen */
.rsk-legal-footer {
    display: block !important;
}

/* ============================================
   NEWS FEED PAGE
   ============================================ */

/* Hero Section - Mit höherer Spezifität für Kadence Override */
.site-main.rsk-news-feed-page .rsk-news-hero {
    padding: 4rem 0 3rem !important;
    background: linear-gradient(135deg, #0047AB 0%, #0052d9 100%) !important;
    color: white !important;
    text-align: center !important;
    margin: 0 !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.site-main.rsk-news-feed-page .rsk-news-hero .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 var(--rsk-spacing-md) !important;
}

.site-main.rsk-news-feed-page .rsk-news-hero-content {
    max-width: 900px !important;
    margin: 0 auto !important;
}

.site-main.rsk-news-feed-page .rsk-news-hero-title {
    font-size: clamp(2rem, 5vw, 3rem) !important;
    font-weight: 700 !important;
    margin: 0 0 1rem 0 !important;
    color: white !important;
}

.site-main.rsk-news-feed-page .rsk-news-hero-subtitle {
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    margin: 0 !important;
    opacity: 0.95 !important;
    color: white !important;
}

/* Content Section */
.site-main.rsk-news-feed-page .rsk-news-content {
    padding: var(--rsk-spacing-3xl) var(--rsk-spacing-md) !important;
    background: var(--rsk-gray-50) !important;
}

/* News Grid */
.site-main.rsk-news-feed-page .rsk-news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--rsk-spacing-2xl) !important;
    margin-bottom: var(--rsk-spacing-2xl) !important;
}

/* News Card */
.site-main.rsk-news-feed-page .rsk-news-card {
    background: white !important;
    border-radius: var(--rsk-radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--rsk-shadow-md) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.site-main.rsk-news-feed-page .rsk-news-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--rsk-shadow-xl) !important;
}

.site-main.rsk-news-feed-page .rsk-news-card-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background: var(--rsk-gray-200) !important;
}

.site-main.rsk-news-feed-page .rsk-news-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.site-main.rsk-news-feed-page .rsk-news-card:hover .rsk-news-card-image img {
    transform: scale(1.05) !important;
}

.site-main.rsk-news-feed-page .rsk-news-card-content {
    padding: var(--rsk-spacing-lg) !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* Category Badge */
.site-main.rsk-news-feed-page .rsk-news-category {
    display: inline-block !important;
    padding: 0.25rem 0.75rem !important;
    background: #0047AB !important;
    color: white !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border-radius: var(--rsk-radius-sm) !important;
    margin-bottom: var(--rsk-spacing-sm) !important;
    letter-spacing: 0.5px !important;
}

/* Title */
.site-main.rsk-news-feed-page .rsk-news-card-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin: 0 0 var(--rsk-spacing-sm) 0 !important;
    line-height: 1.4 !important;
}

.site-main.rsk-news-feed-page .rsk-news-card-title a {
    color: var(--rsk-gray-900) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.site-main.rsk-news-feed-page .rsk-news-card-title a:hover {
    color: #0047AB !important;
}

/* Meta */
.site-main.rsk-news-feed-page .rsk-news-meta {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.875rem !important;
    color: var(--rsk-gray-600) !important;
    margin-bottom: var(--rsk-spacing-md) !important;
}

.site-main.rsk-news-feed-page .rsk-news-separator {
    color: var(--rsk-gray-400) !important;
}

/* Excerpt */
.site-main.rsk-news-feed-page .rsk-news-excerpt {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: var(--rsk-gray-700) !important;
    margin-bottom: var(--rsk-spacing-md) !important;
    flex-grow: 1 !important;
}

/* Read More Button */
.site-main.rsk-news-feed-page .rsk-news-read-more {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: #0047AB !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 0.9375rem !important;
    transition: gap 0.2s ease !important;
    align-self: flex-start !important;
}

.site-main.rsk-news-feed-page .rsk-news-read-more:hover {
    gap: 0.75rem !important;
}

/* Load More Button */
.site-main.rsk-news-feed-page .rsk-news-load-more {
    text-align: center !important;
    margin-top: var(--rsk-spacing-2xl) !important;
}

.site-main.rsk-news-feed-page .rsk-load-more-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1rem 2.5rem !important;
    background: #0047AB !important;
    color: white !important;
    border: none !important;
    border-radius: var(--rsk-radius-full) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--rsk-shadow-md) !important;
}

.site-main.rsk-news-feed-page .rsk-load-more-button:hover:not(:disabled) {
    background: #003380 !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--rsk-shadow-lg) !important;
}

.site-main.rsk-news-feed-page .rsk-load-more-button:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.site-main.rsk-news-feed-page .rsk-load-more-spinner {
    display: inline-flex !important;
    align-items: center !important;
}

/* Empty State */
.site-main.rsk-news-feed-page .rsk-news-empty {
    text-align: center !important;
    padding: 4rem 2rem !important;
    color: var(--rsk-gray-600) !important;
    font-size: 1.125rem !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .site-main.rsk-news-feed-page .rsk-news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--rsk-spacing-xl) !important;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .site-main.rsk-news-feed-page .rsk-news-grid {
        grid-template-columns: 1fr !important;
        gap: var(--rsk-spacing-lg) !important;
    }

    .site-main.rsk-news-feed-page .rsk-news-hero {
        padding: 3rem 0 2rem !important;
    }

    .site-main.rsk-news-feed-page .rsk-news-content {
        padding: var(--rsk-spacing-2xl) var(--rsk-spacing-md) !important;
    }
}

/* ============================================
   SCHULRADIO / PODCAST PAGE
   ============================================ */

/* Hero Section - Mit höherer Spezifität für Kadence Override */
.site-main.rsk-podcast-page .rsk-podcast-hero {
    background: linear-gradient(135deg, #0047AB 0%, #003380 100%) !important;
    padding: 4rem 0 !important;
    text-align: center !important;
    color: white !important;
    margin: 0 !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.site-main.rsk-podcast-page .rsk-podcast-hero .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 var(--rsk-spacing-md) !important;
}

.site-main.rsk-podcast-page .rsk-podcast-hero-content {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 var(--rsk-spacing-md) !important;
}

.site-main.rsk-podcast-page .rsk-podcast-icon {
    font-size: 4rem !important;
    margin-bottom: var(--rsk-spacing-lg) !important;
    animation: rsk-podcast-pulse 2s ease-in-out infinite !important;
}

@keyframes rsk-podcast-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.site-main.rsk-podcast-page .rsk-podcast-hero-title {
    font-size: clamp(2rem, 5vw, 3rem) !important;
    font-weight: 800 !important;
    margin-bottom: var(--rsk-spacing-md) !important;
    color: white !important;
}

.site-main.rsk-podcast-page .rsk-podcast-hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem) !important;
    opacity: 0.95 !important;
    font-weight: 400 !important;
    margin: 0 !important;
    color: white !important;
}

/* Intro Section */
.site-main.rsk-podcast-page .rsk-podcast-intro {
    padding: var(--rsk-spacing-2xl) 0 !important;
    background: var(--rsk-gray-50) !important;
}

.site-main.rsk-podcast-page .rsk-podcast-intro-content {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 var(--rsk-spacing-md) !important;
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    color: var(--rsk-gray-700) !important;
}

.site-main.rsk-podcast-page .rsk-podcast-intro-content p {
    margin-bottom: var(--rsk-spacing-md) !important;
}

.site-main.rsk-podcast-page .rsk-podcast-intro-content p:last-child {
    margin-bottom: 0 !important;
}

/* Subscribe Section */
.site-main.rsk-podcast-page .rsk-podcast-subscribe {
    padding: var(--rsk-spacing-2xl) 0 !important;
    background: white !important;
    text-align: center !important;
}

.site-main.rsk-podcast-page .rsk-podcast-subscribe h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
    font-weight: 700 !important;
    color: var(--rsk-gray-900) !important;
    margin-bottom: var(--rsk-spacing-xl) !important;
}

.site-main.rsk-podcast-page .rsk-subscribe-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: var(--rsk-spacing-lg) !important;
    flex-wrap: wrap !important;
    margin-bottom: var(--rsk-spacing-lg) !important;
}

.site-main.rsk-podcast-page .rsk-subscribe-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1rem 1.75rem !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.site-main.rsk-podcast-page .rsk-subscribe-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15) !important;
    text-decoration: none !important;
}

.site-main.rsk-podcast-page .rsk-subscribe-rss {
    background: linear-gradient(135deg, #FF6600 0%, #FF8C00 100%) !important;
    color: white !important;
}

.site-main.rsk-podcast-page .rsk-subscribe-rss:hover {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%) !important;
    color: white !important;
}

.site-main.rsk-podcast-page .rsk-subscribe-spotify {
    background: linear-gradient(135deg, #1DB954 0%, #1ED760 100%) !important;
    color: white !important;
}

.site-main.rsk-podcast-page .rsk-subscribe-spotify:hover {
    background: linear-gradient(135deg, #1ED760 0%, #1FDF64 100%) !important;
    color: white !important;
}

.site-main.rsk-podcast-page .rsk-subscribe-apple {
    background: linear-gradient(135deg, #FA243C 0%, #FC5C7D 100%) !important;
    color: white !important;
}

.site-main.rsk-podcast-page .rsk-subscribe-apple:hover {
    background: linear-gradient(135deg, #FC5C7D 0%, #FD7A9B 100%) !important;
    color: white !important;
}

.site-main.rsk-podcast-page .rsk-subscribe-icon {
    font-size: 1.5rem !important;
}

.site-main.rsk-podcast-page .rsk-subscribe-note {
    font-size: 0.9375rem !important;
    color: var(--rsk-gray-600) !important;
    font-style: italic !important;
    margin: 0 !important;
}

/* Episodes Section */
.site-main.rsk-podcast-page .rsk-podcast-episodes {
    padding: var(--rsk-spacing-2xl) 0 !important;
    background: var(--rsk-gray-50) !important;
}

.site-main.rsk-podcast-page .rsk-section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
    font-weight: 700 !important;
    color: var(--rsk-gray-900) !important;
    margin-bottom: var(--rsk-spacing-2xl) !important;
    text-align: center !important;
}

.site-main.rsk-podcast-page .rsk-episodes-list {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--rsk-spacing-xl) !important;
}

/* Episode Card */
.site-main.rsk-podcast-page .rsk-episode-card {
    background: white !important;
    border-radius: var(--rsk-radius-lg) !important;
    padding: var(--rsk-spacing-xl) !important;
    box-shadow: var(--rsk-shadow-md) !important;
    transition: all 0.3s ease !important;
    border-left: 4px solid #0047AB !important;
}

.site-main.rsk-podcast-page .rsk-episode-card:hover {
    box-shadow: var(--rsk-shadow-xl) !important;
    transform: translateY(-2px) !important;
}

.rsk-episode-number {
    display: inline-block;
    background: var(--rsk-primary);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: var(--rsk-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-episode-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--rsk-spacing-sm);
}

.rsk-episode-title a {
    color: var(--rsk-gray-900);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rsk-episode-title a:hover {
    color: var(--rsk-primary);
}

.rsk-episode-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--rsk-gray-600);
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-episode-separator {
    color: var(--rsk-gray-400);
}

.rsk-episode-duration {
    font-weight: 500;
}

/* Podlove Player Container */
.rsk-episode-player {
    margin: var(--rsk-spacing-lg) 0;
    border-radius: var(--rsk-radius-md);
    overflow: hidden;
}

.rsk-episode-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rsk-gray-700);
    margin-bottom: var(--rsk-spacing-lg);
}

.rsk-episode-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--rsk-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: gap 0.2s ease;
}

.rsk-episode-link:hover {
    gap: 0.75rem;
}

/* Pagination */
.rsk-podcast-pagination {
    margin-top: var(--rsk-spacing-2xl);
    text-align: center;
}

.rsk-podcast-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    color: var(--rsk-gray-700);
    text-decoration: none;
    border-radius: var(--rsk-radius-md);
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid var(--rsk-gray-200);
}

.rsk-podcast-pagination .page-numbers:hover {
    background: var(--rsk-primary);
    color: white;
    border-color: var(--rsk-primary);
}

.rsk-podcast-pagination .page-numbers.current {
    background: var(--rsk-primary);
    color: white;
    border-color: var(--rsk-primary);
}

/* Empty State */
.rsk-podcast-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--rsk-radius-lg);
}

.rsk-podcast-empty p {
    font-size: 1.125rem;
    color: var(--rsk-gray-600);
    margin-bottom: var(--rsk-spacing-md);
}

.rsk-podcast-empty small {
    color: var(--rsk-gray-500);
}

.rsk-podcast-empty a {
    color: var(--rsk-primary);
    text-decoration: none;
    font-weight: 600;
}

.rsk-podcast-empty a:hover {
    text-decoration: underline;
}

/* Warning State */
.site-main.rsk-podcast-page .rsk-podcast-warning {
    background: linear-gradient(135deg, #FFF4E6 0%, #FFE8CC 100%) !important;
    border: 2px solid #FFB366 !important;
    border-radius: 12px !important;
    padding: var(--rsk-spacing-xl) !important;
    text-align: center !important;
    margin: 2rem 0 !important;
}

.site-main.rsk-podcast-page .rsk-podcast-warning h3 {
    font-size: 1.5rem !important;
    color: var(--rsk-gray-900) !important;
    margin-bottom: var(--rsk-spacing-md) !important;
}

.site-main.rsk-podcast-page .rsk-podcast-warning p {
    font-size: 1rem !important;
    color: var(--rsk-gray-700) !important;
    margin-bottom: var(--rsk-spacing-md) !important;
}

.site-main.rsk-podcast-page .rsk-podcast-warning p:last-of-type {
    margin-bottom: var(--rsk-spacing-lg) !important;
}

.site-main.rsk-podcast-page .rsk-podcast-warning a.button,
.site-main.rsk-podcast-page .rsk-podcast-warning a.button-primary {
    display: inline-block !important;
    padding: 1rem 2rem !important;
    background: #0047AB !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.site-main.rsk-podcast-page .rsk-podcast-warning a.button:hover,
.site-main.rsk-podcast-page .rsk-podcast-warning a.button-primary:hover {
    background: #003380 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15) !important;
    color: white !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .rsk-podcast-hero {
        padding: 3rem 0;
    }

    .rsk-subscribe-buttons {
        gap: var(--rsk-spacing-md);
    }

    .rsk-episode-card {
        padding: var(--rsk-spacing-lg);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .rsk-podcast-icon {
        font-size: 3rem;
    }

    .rsk-subscribe-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto var(--rsk-spacing-lg);
    }

    .rsk-subscribe-btn {
        width: 100%;
        justify-content: center;
    }

    .rsk-episode-meta {
        flex-wrap: wrap;
    }

    .rsk-podcast-pagination .page-numbers {
        padding: 0.625rem 1rem;
        font-size: 0.9375rem;
    }
}
