/* ============================================
   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;
    }
}

/* ===========================
   9. STICKY NAVIGATION - Pills wie Fächer (EXAKTE KOPIE)
   =========================== */

.rsk-saeule-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--pillar-gradient-start);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.rsk-saeule-nav.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rsk-saeule-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(--pillar-gradient-start) transparent;
    max-width: 1400px;
    margin: 0 auto;
}

.rsk-saeule-nav-inner::-webkit-scrollbar {
    height: 6px;
}

.rsk-saeule-nav-inner::-webkit-scrollbar-thumb {
    background: var(--pillar-gradient-start);
    border-radius: 3px;
}

.rsk-saeule-nav-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--rsk-spacing-xs);
    padding: var(--rsk-spacing-sm) var(--rsk-spacing-xl);
    background: white;
    border: 2px solid #D1D5DB;
    border-radius: 9999px;
    color: #111827;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.rsk-saeule-nav-link:hover {
    background: linear-gradient(135deg, var(--pillar-gradient-start), var(--pillar-gradient-end));
    color: white;
    border-color: var(--pillar-gradient-start);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.rsk-saeule-nav-link.active {
    background: linear-gradient(135deg, var(--pillar-gradient-start), var(--pillar-gradient-end));
    color: white;
    border-color: var(--pillar-gradient-start);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.rsk-saeule-nav-link .rsk-nav-icon {
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .rsk-saeule-nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .rsk-saeule-nav-inner {
        padding: 1rem;
    }

    .rsk-saeule-nav-link .rsk-nav-text {
        display: none;
    }

    .rsk-saeule-nav-link {
        padding: 1rem;
    }
}

/* ===========================
   10. UNTERBEREICHE (SUB-SECTIONS)
   =========================== */

/* Unterbereich Header - Zentriert und schön */
.rsk-unterbereich {
    padding: 5rem 0;
    background: white;
}

.rsk-unterbereich:nth-child(even) {
    background: var(--rsk-gray-50);
}

.rsk-unterbereich-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.rsk-unterbereich-icon {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.rsk-unterbereich-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin: 1rem 0;
    line-height: 1.2;
}

.rsk-unterbereich-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--rsk-gray-700);
    max-width: 600px;
    margin: 0 auto;
}

/* Sections Structure - Matching Fächer */
.rsk-unterbereich-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 - Matching Fächer structure */
.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-image-left .rsk-section-media {
    order: -1;
}

/* Section Media */
.rsk-section-media {
    display: flex;
    flex-direction: column;
    gap: var(--rsk-spacing-md);
}

.rsk-section-image {
    width: 100%;
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-lg);
    transition: transform 0.3s ease;
}

.rsk-section-image:hover {
    transform: scale(1.02);
}

.rsk-section-video {
    width: 100%;
    border-radius: var(--rsk-radius-lg);
    box-shadow: var(--rsk-shadow-lg);
}

/* Responsive Video Container */
.rsk-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--rsk-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.rsk-video-container video,
.rsk-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Section Content - Verbesserte Lesbarkeit */
.rsk-section-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--rsk-gray-900);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.rsk-section-content p,
.rsk-section-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--rsk-gray-700);
    margin-bottom: 1.25rem;
}

.rsk-section-content ul,
.rsk-section-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--rsk-gray-700);
}

.rsk-section-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

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

/* Text Only Sections - Matching Fächer structure */
.rsk-section-text-only .rsk-section-text {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

/* Mobile Responsive - Matching Fächer structure */
@media (max-width: 768px) {
    .rsk-unterbereich {
        padding: 3rem 0;
    }

    .rsk-unterbereich-header {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .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 (min-width: 769px) and (max-width: 968px) {
    .rsk-unterbereich {
        padding: 4rem 0;
    }

    .rsk-section-with-media {
        gap: 2.5rem;
    }
}

/* ===========================
   11. BACK-TO-TOP BUTTON
   =========================== */
.rsk-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(
        135deg,
        var(--pillar-gradient-start) 0%,
        var(--pillar-gradient-end) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    border: none;
}

.rsk-back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rsk-back-to-top:hover {
    transform: translateY(0) scale(1.1) rotate(360deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.rsk-back-to-top::before {
    content: '↑';
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

/* Alternative: SVG Arrow Icon */
.rsk-back-to-top-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Focus state for accessibility */
.rsk-back-to-top:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .rsk-back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .rsk-back-to-top::before {
        font-size: 1.25rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .rsk-back-to-top {
        border: 2px solid white;
    }

    .rsk-saeule-nav-link {
        border: 2px solid #111827;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .rsk-saeule-nav,
    .rsk-back-to-top,
    .rsk-saeule-nav-link,
    .rsk-section-media img {
        transition: none;
        animation: none;
    }

    .rsk-back-to-top:hover {
        transform: scale(1.05);
    }
}

/* ===========================
   12. ACCESSIBILITY ENHANCEMENTS
   =========================== */

/* Skip to content link */
.rsk-skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--pillar-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    z-index: 1000;
    border-radius: 0 0 var(--rsk-radius-md) 0;
}

.rsk-skip-to-content:focus {
    top: 0;
}

/* Focus visible for keyboard navigation */
.rsk-saeule-nav-link:focus-visible,
.rsk-activity-link:focus-visible,
.rsk-highlight-link:focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
}

/* Print styles */
@media print {
    .rsk-saeule-nav,
    .rsk-back-to-top {
        display: none;
    }

    .rsk-section-with-media {
        page-break-inside: avoid;
    }
}
