/* ============================================
   SÄULE DETAIL PAGE - COMIC BOOK STYLE
   WordPress-adapted from saeule-detail-realistic-comic.html
   ============================================ */

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

body {
    font-family: 'Impact', 'Arial Black', sans-serif;
    background: #fef6e4;
    overflow-x: hidden;
}

/* ===========================
   PILLAR COLOR VARIABLES
   =========================== */
.rsk-pillar-lebendig {
    --pillar-gradient-start: #A78BFA;
    --pillar-gradient-end: #C084FC;
    --pillar-color: #A78BFA;
}

.rsk-pillar-bewegt-gesund {
    --pillar-gradient-start: #FB7185;
    --pillar-gradient-end: #F472B6;
    --pillar-color: #FB7185;
}

.rsk-pillar-sozial {
    --pillar-gradient-start: #38BDF8;
    --pillar-gradient-end: #22D3EE;
    --pillar-color: #38BDF8;
}

.rsk-pillar-talentiert {
    --pillar-gradient-start: #34D399;
    --pillar-gradient-end: #6EE7B7;
    --pillar-color: #34D399;
}

/* ===========================
   1. HERO SECTION - COMIC STYLE
   =========================== */
.rsk-saeule-hero {
    background: linear-gradient(135deg, var(--pillar-gradient-start) 0%, var(--pillar-gradient-end) 100%);
    color: white;
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
    border-bottom: 8px solid #000;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsk-saeule-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
    pointer-events: none;
    z-index: 1;
}

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

.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: 1;
}

.rsk-saeule-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.rsk-saeule-hero-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.rsk-saeule-hero-title {
    font-size: clamp(48px, 8vw, 96px);
    margin-bottom: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow:
        4px 4px 0px #000,
        8px 8px 0px rgba(0,0,0,0.3);
    transform: skew(-5deg);
    line-height: 1.1;
}

.rsk-saeule-hero-subtitle {
    font-size: clamp(18px, 4vw, 32px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #fff;
    color: var(--pillar-color);
    display: inline-block;
    padding: 15px 40px;
    border: 5px solid #000;
    box-shadow: 5px 5px 0px #000;
    transform: rotate(-2deg);
}

/* Hero Video/Image Panel */
.hero-video-panel {
    max-width: 900px;
    margin: 50px auto 0;
    border: 8px solid #000;
    box-shadow: 12px 12px 0px rgba(0,0,0,0.5);
    position: relative;
    transform: rotate(1deg);
}

.hero-video-panel img,
.hero-video-panel video {
    width: 100%;
    display: block;
}

/* ===========================
   2. INTRODUCTION - COMIC PANEL
   =========================== */
.rsk-saeule-intro {
    padding: 80px 20px;
    background: #fef6e4;
}

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

.rsk-saeule-intro-content {
    background: white;
    padding: 50px;
    border: 8px solid #000;
    box-shadow: 12px 12px 0px rgba(0,0,0,0.3);
    transform: rotate(-1deg);
}

.rsk-saeule-intro-content h2 {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--pillar-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.1);
    text-align: left;
}

.rsk-saeule-intro-content h2::after {
    display: none;
}

.rsk-saeule-intro-text,
.rsk-saeule-intro-text p {
    font-size: 20px;
    line-height: 1.7;
    color: #333;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    text-align: left !important;
}

.rsk-saeule-intro-image {
    border: 8px solid #000;
    box-shadow: 12px 12px 0px rgba(0,0,0,0.3);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.rsk-saeule-intro-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.rsk-saeule-intro-image img {
    width: 100%;
    display: block;
}

/* Single column intro - zentriert */
.rsk-saeule-intro-grid:not(:has(.rsk-saeule-intro-image)) {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

/* ===========================
   ACTION WORDS BETWEEN SECTIONS
   =========================== */
.rsk-action-word {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin: 60px 0;
    letter-spacing: 8px;
    -webkit-text-stroke: 3px #000;
    text-shadow:
        5px 5px 0px var(--pillar-color),
        10px 10px 0px rgba(0,0,0,0.2);
    transform: skew(-5deg) rotate(-2deg);
}

/* ===========================
   3. CORE VALUES - COMIC CARDS
   =========================== */
.rsk-saeule-values {
    padding: 80px 20px;
    background: #fef6e4;
}

.rsk-section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    text-align: center;
    color: #000;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rsk-section-title::after {
    display: none;
}

.rsk-saeule-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.rsk-value-card {
    background: white;
    padding: 40px 30px;
    border: 7px solid #000;
    text-align: center;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
}

.rsk-value-card:nth-child(1) { transform: rotate(-2deg); }
.rsk-value-card:nth-child(2) { transform: rotate(1deg); }
.rsk-value-card:nth-child(3) { transform: rotate(-1deg); }
.rsk-value-card:nth-child(4) { transform: rotate(2deg); }
.rsk-value-card:nth-child(5) { transform: rotate(-2deg); }
.rsk-value-card:nth-child(6) { transform: rotate(1deg); }

.rsk-value-card:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 15px 15px 0px rgba(0,0,0,0.4);
}

.rsk-value-icon {
    font-size: 80px;
    margin-bottom: 20px;
    display: inline-block;
    background: #fff200;
    border: 5px solid #000;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    line-height: 110px;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}

.rsk-value-title {
    font-size: 32px;
    color: #000;
    margin-bottom: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rsk-value-description,
.rsk-value-description p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
}

/* Burst Badge */
.rsk-value-burst {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: #ff6b6b;
    border: 5px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    color: white;
    transform: rotate(15deg);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
}

/* ===========================
   4. ACTIVITIES - COMIC CARDS
   =========================== */
.rsk-saeule-activities {
    padding: 80px 20px;
    background: #fef6e4;
}

.rsk-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.rsk-activity-card {
    background: white;
    border: 7px solid #000;
    overflow: hidden;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.rsk-activity-card:nth-child(1) { transform: rotate(1deg); }
.rsk-activity-card:nth-child(2) { transform: rotate(-1deg); }
.rsk-activity-card:nth-child(3) { transform: rotate(2deg); }
.rsk-activity-card:nth-child(4) { transform: rotate(-2deg); }
.rsk-activity-card:nth-child(5) { transform: rotate(1deg); }
.rsk-activity-card:nth-child(6) { transform: rotate(-1deg); }

.rsk-activity-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 15px 15px 0px rgba(0,0,0,0.4);
}

.rsk-activity-image-link {
    display: block;
    border-bottom: 6px solid #000;
}

.rsk-activity-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.rsk-activity-content {
    padding: 30px;
}

.rsk-activity-title {
    font-size: 26px;
    margin-bottom: 14px;
}

.rsk-activity-title a {
    color: #000;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rsk-activity-excerpt {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 18px;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
}

.rsk-activity-link {
    display: inline-block;
    padding: 12px 28px;
    background: var(--pillar-color);
    color: white;
    text-decoration: none;
    border: 5px solid #000;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.rsk-activity-link:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0px rgba(0,0,0,0.4);
    background: var(--pillar-gradient-end);
}

/* ===========================
   5. HIGHLIGHTS - PROJECT CARDS
   =========================== */
.rsk-saeule-highlights {
    padding: 80px 20px;
    background: #fef6e4;
}

.rsk-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.rsk-highlight-card {
    background: white;
    border: 8px solid #000;
    overflow: hidden;
    box-shadow: 12px 12px 0px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
}

.rsk-highlight-card:nth-child(1) { transform: rotate(-1deg); }
.rsk-highlight-card:nth-child(2) { transform: rotate(1deg); }
.rsk-highlight-card:nth-child(3) { transform: rotate(-2deg); }
.rsk-highlight-card:nth-child(4) { transform: rotate(2deg); }
.rsk-highlight-card:nth-child(5) { transform: rotate(-1deg); }
.rsk-highlight-card:nth-child(6) { transform: rotate(1deg); }

.rsk-highlight-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 15px 15px 0px rgba(0,0,0,0.4);
}

.rsk-highlight-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-bottom: 6px solid #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pillar-gradient-start) 0%, var(--pillar-gradient-end) 100%);
}

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

.rsk-highlight-stamp {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff200;
    border: 5px solid #000;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    transform: rotate(15deg);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
}

.rsk-highlight-content {
    padding: 35px;
}

.rsk-highlight-title {
    font-size: 32px;
    color: #000;
    margin-bottom: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rsk-highlight-description,
.rsk-highlight-description p {
    font-size: 18px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 25px;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
}

.rsk-highlight-link {
    display: inline-block;
    padding: 15px 35px;
    background: var(--pillar-color);
    color: white;
    text-decoration: none;
    border: 5px solid #000;
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.rsk-highlight-link:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0px rgba(0,0,0,0.4);
    background: var(--pillar-gradient-end);
}

/* ===========================
   6. TEAM MEMBERS - COMIC STYLE
   =========================== */
.rsk-saeule-team {
    padding: 80px 20px;
    background: #fef6e4;
}

.rsk-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.rsk-team-member {
    text-align: center;
}

.rsk-team-card {
    background: white;
    padding: 40px 30px;
    border: 7px solid #000;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.rsk-team-card:hover {
    transform: translateY(-10px);
    box-shadow: 15px 15px 0px rgba(0,0,0,0.4);
}

.rsk-team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--pillar-gradient-start) 0%, var(--pillar-gradient-end) 100%);
    border: 6px solid #000;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    overflow: hidden;
}

.rsk-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rsk-team-name {
    font-size: 28px;
    color: #000;
    margin-bottom: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rsk-team-role {
    font-size: 20px;
    color: var(--pillar-color);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================
   7. NEWS SECTION - COMIC CARDS
   =========================== */
.rsk-saeule-news {
    padding: 80px 20px;
    background: #fef6e4;
}

.rsk-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.rsk-news-card {
    background: white;
    border: 7px solid #000;
    overflow: hidden;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.rsk-news-card:nth-child(1) { transform: rotate(1deg); }
.rsk-news-card:nth-child(2) { transform: rotate(-1deg); }
.rsk-news-card:nth-child(3) { transform: rotate(2deg); }

.rsk-news-card:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 12px 12px 0px rgba(0,0,0,0.4);
}

.rsk-news-image-link {
    display: block;
    border-bottom: 5px solid #000;
}

.rsk-news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.rsk-news-content {
    padding: 30px;
}

.rsk-news-date {
    font-size: 16px;
    color: white;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    background: var(--pillar-color);
    display: inline-block;
    padding: 8px 16px;
    border: 3px solid #000;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.rsk-news-title {
    font-size: 26px;
    margin-bottom: 14px;
}

.rsk-news-title a {
    color: #000;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rsk-news-excerpt {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 18px;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
}

/* ===========================
   8. CTA SECTION - COMIC STYLE
   =========================== */
.rsk-saeule-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--pillar-gradient-start) 0%, var(--pillar-gradient-end) 100%);
    color: white;
    text-align: center;
    position: relative;
    border-top: 8px solid #000;
    border-bottom: 8px solid #000;
}

.rsk-saeule-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.05) 2px, rgba(0,0,0,0.05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.05) 2px, rgba(0,0,0,0.05) 4px);
    pointer-events: none;
}

.rsk-saeule-cta-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.rsk-saeule-cta-content h2 {
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 30px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow:
        4px 4px 0px #000,
        8px 8px 0px rgba(0,0,0,0.3);
}

.rsk-saeule-cta-text,
.rsk-saeule-cta-text p {
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 50px;
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
}

.rsk-saeule-cta-button {
    display: inline-block;
    padding: 25px 60px;
    background: #fff200;
    color: #000;
    text-decoration: none;
    border: 6px solid #000;
    font-weight: 900;
    font-size: clamp(20px, 3vw, 28px);
    text-transform: uppercase;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.rsk-saeule-cta-button:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px rgba(0,0,0,0.6);
}

/* ===========================
   9. STICKY NAVIGATION - COMIC STYLE
   =========================== */
.rsk-saeule-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 6px solid #000;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
    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: 12px;
    padding: 16px 24px;
    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: 8px;
    padding: 12px 24px;
    background: white;
    border: 4px solid #000;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-transform: uppercase;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
}

.rsk-saeule-nav-link:hover {
    background: var(--pillar-color);
    color: white;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.4);
}

.rsk-saeule-nav-link.active {
    background: var(--pillar-color);
    color: white;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.4);
}

.rsk-saeule-nav-link .rsk-nav-icon {
    font-size: 20px;
}

/* ===========================
   10. UNTERBEREICHE - COMIC SECTIONS
   =========================== */
.rsk-unterbereich-section {
    padding: 80px 0;
    background: #fef6e4;
}

.rsk-unterbereich-section:nth-child(even) {
    background: white;
}

.rsk-unterbereich-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 40px;
    background: white;
    border: 8px solid #000;
    box-shadow: 12px 12px 0px rgba(0,0,0,0.3);
    transform: rotate(-1deg);
}

.rsk-unterbereich-icon {
    font-size: clamp(48px, 6vw, 72px);
    margin-bottom: 1rem;
}

.rsk-unterbereich-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: #000;
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.rsk-unterbereich-intro,
.rsk-unterbereich-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
}

/* Unterbereich Sections */
.rsk-unterbereich-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.rsk-section {
    margin-bottom: 80px;
}

.rsk-section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    color: var(--pillar-color);
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Section with Image */
.rsk-section-with-image .rsk-section-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.rsk-section-text {
    background: white;
    padding: 40px;
    border: 7px solid #000;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.3);
}

.rsk-section-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.25rem;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
}

.rsk-section-media {
    border: 7px solid #000;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.3);
    overflow: hidden;
}

.rsk-image-left .rsk-section-media {
    order: -1;
}

.rsk-section-image,
.rsk-section-video {
    width: 100%;
    display: block;
}

/* Text-only sections */
.rsk-section-text-only .rsk-section-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Lists within text sections - proper alignment */
.rsk-section-text ul,
.rsk-section-text ol,
.rsk-saeule-intro-text ul,
.rsk-saeule-intro-text ol,
.rsk-unterbereich-intro ul,
.rsk-unterbereich-intro ol,
.rsk-text-content ul,
.rsk-text-content ol {
    text-align: left;
    max-width: 700px;
    margin: 1em auto;
    padding-left: 2em;
}

.rsk-section-text li,
.rsk-saeule-intro-text li,
.rsk-unterbereich-intro li,
.rsk-text-content li {
    text-align: left;
    margin-bottom: 0.5em;
}

/* ===========================
   11. BACK-TO-TOP BUTTON - COMIC STYLE
   =========================== */
.rsk-saeule-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #fff200;
    border: 5px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s ease;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.4);
    text-decoration: none;
    font-size: 32px;
    font-weight: 900;
    color: #000;
}

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

.rsk-saeule-back-to-top:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px rgba(0,0,0,0.5);
}

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
    .rsk-saeule-hero {
        padding: 60px 20px 50px;
        min-height: 60vh;
    }

    .rsk-saeule-hero-title {
        font-size: 48px;
        letter-spacing: 2px;
    }

    .rsk-saeule-hero-subtitle {
        font-size: 18px;
        padding: 12px 24px;
    }

    .rsk-saeule-intro {
        padding: 50px 20px;
    }

    .rsk-saeule-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rsk-saeule-intro-content {
        padding: 30px;
        transform: rotate(0deg);
    }

    .rsk-saeule-intro-content h2 {
        font-size: 32px;
    }

    .rsk-saeule-intro-text,
    .rsk-saeule-intro-text p {
        font-size: 16px;
    }

    .rsk-saeule-intro-image {
        transform: rotate(0deg);
    }

    .rsk-action-word {
        font-size: 48px;
        margin: 40px 0;
        letter-spacing: 4px;
    }

    .rsk-section-title {
        font-size: 32px;
    }

    .rsk-saeule-values,
    .rsk-saeule-activities,
    .rsk-saeule-highlights,
    .rsk-saeule-team,
    .rsk-saeule-news {
        padding: 50px 20px;
    }

    .rsk-saeule-values-grid,
    .rsk-activities-grid,
    .rsk-highlights-grid,
    .rsk-team-grid,
    .rsk-news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rsk-value-card,
    .rsk-activity-card,
    .rsk-highlight-card,
    .rsk-news-card {
        transform: rotate(0deg) !important;
    }

    .rsk-saeule-cta {
        padding: 60px 20px;
    }

    .rsk-saeule-cta-content h2 {
        font-size: 32px;
    }

    .rsk-saeule-cta-text,
    .rsk-saeule-cta-text p {
        font-size: 16px;
    }

    .rsk-saeule-cta-button {
        font-size: 18px;
        padding: 18px 40px;
    }

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

    .rsk-saeule-nav-link {
        padding: 12px;
    }

    .rsk-unterbereich-section {
        padding: 50px 0;
    }

    .rsk-unterbereich-header {
        padding: 30px 20px;
        transform: rotate(0deg);
    }

    .rsk-section-with-image .rsk-section-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rsk-section-text {
        padding: 30px;
    }

    .rsk-image-left .rsk-section-media {
        order: 0;
    }

    .rsk-saeule-back-to-top {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .rsk-saeule-hero-title {
        font-size: 72px;
    }

    .rsk-saeule-hero-subtitle {
        font-size: 24px;
    }
}

/* ===========================
   12. "MEHR ANZEIGEN" FEATURE
   =========================== */

/* Collapsible text containers */
.rsk-text-expandable {
    position: relative;
    max-height: 400px; /* 350px text + 50px button area */
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-bottom: 55px; /* Space for button at bottom */
}

.rsk-text-expandable.is-expanded {
    max-height: none;
    padding-bottom: 10px;
}

/* Fade-out gradient overlay - taller to accommodate button */
.rsk-text-expandable::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px; /* Increased from 80px to accommodate button */
    background: linear-gradient(to bottom, transparent 0%, white 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.rsk-text-expandable.is-expanded::after {
    opacity: 0;
}

/* For text containers with colored backgrounds */
.rsk-section-text.rsk-text-expandable::after {
    background: linear-gradient(to bottom, transparent 0%, white 100%);
}

.rsk-saeule-intro-content .rsk-text-expandable::after {
    background: linear-gradient(to bottom, transparent 0%, white 100%);
}

.rsk-unterbereich-header .rsk-text-expandable::after {
    background: linear-gradient(to bottom, transparent 0%, white 100%);
}

/* Text content in Text+Image and Text+Video sections (within grid) */
.rsk-text-content.rsk-text-expandable {
    position: relative;
    max-height: 400px; /* 350px text + 50px button area */
    overflow: hidden;
    padding-bottom: 55px;
}

.rsk-text-content.rsk-text-expandable::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.5) 70%, rgba(255,255,255,0.9) 100%);
}

.rsk-text-content.rsk-text-expandable.is-expanded {
    max-height: none;
    padding-bottom: 10px;
}

/* Show More / Show Less Button - Comic Style */
.rsk-show-more-btn {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    display: inline-block;
    padding: 12px 28px;
    background: var(--pillar-color, #38BDF8);
    color: white;
    text-decoration: none;
    border: 5px solid #000;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: 'Impact', 'Arial Black', sans-serif;
}

.rsk-show-more-btn:hover {
    transform: translateX(-50%) translate(-2px, -2px);
    box-shadow: 7px 7px 0px rgba(0,0,0,0.4);
    background: var(--pillar-gradient-end, #22D3EE);
}

.rsk-show-more-btn:focus-visible {
    outline: 4px solid #fff200;
    outline-offset: 4px;
}

/* When expanded, button moves to relative position */
.rsk-text-expandable.is-expanded .rsk-show-more-btn {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    display: block;
    margin: 15px auto 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .rsk-text-expandable {
        max-height: 300px; /* 250px text + 50px button area */
        padding-bottom: 50px;
    }

    .rsk-text-expandable::after {
        height: 100px; /* Smaller gradient on mobile */
    }

    .rsk-show-more-btn {
        font-size: 14px;
        padding: 10px 20px;
        bottom: 5px;
    }

    .rsk-text-content.rsk-text-expandable {
        max-height: 300px; /* 250px text + 50px button area */
        padding-bottom: 50px;
    }

    /* On mobile, text+image/video grids become single column */
    .rsk-content-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===========================
   ACCESSIBILITY
   =========================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus states for keyboard navigation */
.rsk-saeule-nav-link:focus-visible,
.rsk-activity-link:focus-visible,
.rsk-highlight-link:focus-visible,
.rsk-saeule-cta-button:focus-visible,
.rsk-saeule-back-to-top:focus-visible {
    outline: 4px solid #fff200;
    outline-offset: 4px;
}
