/* ============================================================================
   INTERIM MANAGER WEBSITE - STYLES (OPTIMIERT & CLEANED)
   ============================================================================
   Struktur:
   1. CORE SYSTEM - Variables, Base, Side Menu, Hero, Sections, Animations
   2. PROFILE CARDS - Root Index (index.html)
   3. INDIVIDUAL PROFILES - Vollständige Profile (profil/[name]/index.html)
   4. RESPONSIVE - Media Queries
   ============================================================================ */

/* ============================================================================
   1. CORE SYSTEM
   ============================================================================ */

/* Variables */
:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --side-menu-width: 280px;
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    padding-left: var(--side-menu-width);
}

html {
    scroll-behavior: smooth;
}

/* Side Menu */
.side-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--side-menu-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 0%, #1a2634 100%);
    color: white;
    padding: 2rem 1.5rem;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.side-menu-header {
    text-align: center;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.2rem;
}

.side-menu-logo {
    width: 180px;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto;
    filter: drop-shadow(0 0 20px white) drop-shadow(0 0 40px rgba(135, 206, 250, 1)) drop-shadow(0 0 60px rgba(135, 206, 250, 0.6));
}
.side-menu-byline {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    margin-top: -0.5rem;
    margin-bottom: 0;
    letter-spacing: 0.2px;
    font-weight: 400;
}

#navBadgesContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    min-height: 30px;
}

#navBadgesContainer .tier-badge,
#navBadgesContainer .tier-placeholder {
    grid-column: 1;
    justify-self: start;
}

#navBadgesContainer .tier-placeholder {
    display: block;
    width: 0;
    height: 0;
    visibility: hidden;
}

#navBadgesContainer .profile-badge {
    grid-column: 2;
    justify-self: end;
}

#navBadgesContainer .tier-badge,
#navBadgesContainer .profile-badge {
    position: static !important;
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem !important;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    height: 28px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1.2 !important;
}

.side-menu-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.side-menu-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    color: white;
    margin-top: 1rem;
}

.side-menu-links {
    list-style: none;
}

.side-menu-links li {
    margin-bottom: 0.3rem;
}

.side-menu-links a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.side-menu-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.side-menu-links a.active {
    background: var(--accent-color);
    color: white;
}

.side-menu-links a.menu-cta-btn {
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    color: #1b1b1b !important;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(251, 133, 0, 0.35);
    animation: ctaPulse 2.2s infinite;
}

.side-menu-links a.menu-cta-btn:hover {
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 14px 30px rgba(251, 133, 0, 0.45);
}

@keyframes ctaPulse {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.08); }
    100% { filter: brightness(1); }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 1001;
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.5);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* ============================================================================
   HERO HEADLINE UPGRADE
   ============================================================================ */

.hero-headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.2rem;
}

.hero-eyecatcher {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: clamp(0.6rem, 0.9vw, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #FFD700;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: heroEyecatcherIn 0.7s ease-out 0.15s forwards;
}

.hero-eyecatcher::before,
.hero-eyecatcher::after {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: #FFD700;
    opacity: 0.7;
}

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

.hero-title-accent {
    background: linear-gradient(135deg, #FFD700 0%, #ffe566 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-line {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    margin: 0.35rem auto 0.55rem;
    border-radius: 2px;
    animation: heroLineExpand 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.55s forwards;
}

@keyframes heroLineExpand {
    to { width: 110px; }
}

.hero-subtitle-accent {
    color: #FFD700;
    font-weight: 500;
}

/* ============================================================================
   HERO PARALLAX
   ============================================================================ */

.hero-parallax {
    position: relative;
    height: 100vh;
    /* overflow: hidden ENTFERNT - war der Hauptschuldige */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.hero-parallax-image {
    position: fixed;   /* statt absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    /* kein background-attachment mehr nötig */
}

.hero-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.65) 0%, rgba(52, 152, 219, 0.50) 100%);
    backdrop-filter: blur(2px);
}

.hero-parallax-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 3rem 1rem 2rem;
    max-width: 1400px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

/* GEÄNDERT: Deutlich kleiner, Fokus auf Cards */
.hero-parallax-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0px;
    opacity: 0.9;
}

/* GEÄNDERT: Minimal, dezent */
.hero-parallax-subtitle {
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    margin-bottom: 1.2rem;
    opacity: 0.75;
    font-weight: 300;
    line-height: 1.4;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator span {
    color: white;
    font-size: 2.5rem;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

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

/* Scroll Animations */
.slide-in-left,
.slide-in-right,
.slide-in-top,
.slide-in-bottom {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left { transform: translateX(-50px); }
.slide-in-right { transform: translateX(50px); }
.slide-in-top { transform: translateY(-50px); }
.slide-in-bottom { transform: translateY(50px); }

.slide-in-left.visible,
.slide-in-right.visible,
.slide-in-top.visible,
.slide-in-bottom.visible {
    opacity: 1;
    transform: translate(0, 0);
}

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

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

/* Staggered Animations */
.stagger-group > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-group.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-group.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-group.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-group.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-group.visible > *:nth-child(5) { transition-delay: 0.5s; }

.stagger-group.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2634 100%);
    color: white;
    padding: 5rem 2rem;
}

.section-light {
    background: var(--light-bg);
    padding: 5rem 2rem;
}

.section-white {
    background: white;
    padding: 5rem 2rem;
}

/* CTA Buttons */
.cta-primary {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-primary:hover::before { left: 100%; }

.cta-primary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2634 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.4);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9999;
    transition: transform 0.1s ease;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2634 100%);
    color: white;
    padding: 4rem 2rem 1.5rem;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
}

.footer-section p,
.footer-section address {
    font-style: normal;
    line-height: 1.9;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.95rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }


/* ============================================================================
   2. PROFILE CARDS SYSTEM (Root Index - index.html)
   ============================================================================ */

/* Manager Grid Layout */
.manager-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Loading Spinner */
.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.spinner {
    border: 4px solid rgba(52, 152, 219, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Profile Card Base */
.profile-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.profile-card:hover::before { opacity: 1; }

.profile-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.profile-image-wrapper {
    position: relative;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-image {
    transform: scale(1.08);
}

/* VIDEO HOVER PREVIEW */
.profile-video-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 5;
    pointer-events: none;
}

.profile-card:hover .profile-video-hover { opacity: 1; }

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

.profile-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.profile-name {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.05rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.profile-specialization {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.specialization-tag {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e9ecef 100%);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    border: 1px solid #e0e0e0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.profile-card:hover .specialization-tag {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    border-color: var(--accent-color);
}

.profile-excerpt {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

.profile-location {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* Tier Badge in Hero Cards - identisch zu Profile Cards */
.tier-badge.tier-featured {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    animation: pulse-gold 2s ease-in-out infinite;
}

.tier-badge.tier-highlighted {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 215, 0, 0.6);
        transform: scale(1.02);
    }
}

/* TIER BADGES - UNTEN LINKS IM BILD (Accordion Profile Cards) */
.profile-image-wrapper .tier-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* VERFÜGBARKEITS-BADGES - OBEN RECHTS */
.profile-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.profile-badge--available-green {
    background: rgba(46, 204, 113, 0.95);
    color: white;
}

.profile-badge--available-yellow {
    background: rgba(241, 196, 15, 0.95);
    color: #1a1a1a;
}

.profile-badge--available-red {
    background: rgba(231, 76, 60, 0.95);
    color: white;
}

/* Featured Card */
.profile-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    min-height: 350px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid #FFD700;
    position: relative;
    overflow: visible;
}

.profile-card--featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.profile-card--featured:hover::before {
    opacity: 0.3;
    animation: border-glow 1.5s ease-in-out infinite;
}

@keyframes border-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.profile-card--featured .profile-image-wrapper {
    height: 100%;
    min-height: 350px;
}

.profile-card--featured .profile-image { height: 100%; }

.profile-card--featured .profile-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-card--featured .profile-name { font-size: 2.2rem; margin-bottom: 0.5rem; }
.profile-card--featured .profile-title { font-size: 1.3rem; margin-bottom: 1.5rem; }
.profile-card--featured .profile-excerpt { font-size: 1.1rem; line-height: 1.8; }
.profile-card--featured .profile-specialization { margin: 1.5rem 0; }
.profile-card--featured .specialization-tag { font-size: 0.95rem; padding: 0.6rem 1.2rem; }

/* Highlighted Card */
.profile-card--highlighted {
    border: 3px solid var(--accent-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    position: relative;
}

.profile-card--highlighted::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(41, 128, 185, 0.05) 100%);
    pointer-events: none;
    border-radius: 16px;
}

.profile-card--highlighted:hover {
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.3);
    border-color: var(--primary-color);
}

/* Unavailable Card */
.profile-card--unavailable {
    opacity: 0.5;
    position: relative;
    filter: grayscale(60%);
}

.profile-card--unavailable::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg,
        rgba(0, 0, 0, 0.03),
        rgba(0, 0, 0, 0.03) 10px,
        rgba(0, 0, 0, 0.05) 10px,
        rgba(0, 0, 0, 0.05) 20px);
    pointer-events: none;
    border-radius: 16px;
}

.profile-card--unavailable:hover {
    opacity: 0.65;
    filter: grayscale(40%);
}

/* Staggered animations für Manager-Karten */
.manager-grid .fade-in-scroll:nth-child(1) { transition-delay: 0s; }
.manager-grid .fade-in-scroll:nth-child(2) { transition-delay: 0.1s; }
.manager-grid .fade-in-scroll:nth-child(3) { transition-delay: 0.2s; }
.manager-grid .fade-in-scroll:nth-child(4) { transition-delay: 0.3s; }
.manager-grid .fade-in-scroll:nth-child(5) { transition-delay: 0.4s; }
.manager-grid .fade-in-scroll:nth-child(6) { transition-delay: 0.5s; }
.manager-grid .fade-in-scroll:nth-child(7) { transition-delay: 0.6s; }

/* Standard & Highlighted Cards kompakter */
.profile-card:not(.profile-card--featured) .profile-image { height: 220px; }
.profile-card:not(.profile-card--featured) .profile-content { padding: 1.5rem; }
.profile-card:not(.profile-card--featured) .profile-name { font-size: 1.4rem; }
.profile-card:not(.profile-card--featured) .profile-roles { gap: 0.6rem; margin: 1rem 0; }
.profile-card:not(.profile-card--featured) .role-pill { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.profile-card:not(.profile-card--featured) .profile-link-btn { margin-top: 0.8rem; padding: 0.7rem 1.5rem; font-size: 0.9rem; }


/* ============================================================================
   3. INDIVIDUAL PROFILE PAGES (profil/[name]/index.html)
   ============================================================================ */

.profile-intro-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-intro-image { position: relative; }

#introBadgesContainer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    min-height: 30px;
}

#introBadgesContainer .tier-badge,
#introBadgesContainer .profile-badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    position: relative;
}

.profile-image-large {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    transition: transform 0.4s ease;
}

.profile-image-large:hover { transform: scale(1.05); }

.profile-video-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.profile-video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.profile-intro-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.profile-intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Einsatzbereiche */
.einsatzbereiche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.einsatzbereich-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e0e0e0;
    border-left: 4px solid var(--accent-color);
    overflow: visible;
}

.einsatzbereich-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.einsatzbereich-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left-color: var(--primary-color);
    border-color: var(--accent-color);
}

.einsatzbereich-card:hover::before { opacity: 1; }

.einsatzbereich-card.active {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.03) 0%, rgba(0, 102, 204, 0.08) 100%);
    pointer-events: none;
}

.einsatzbereich-card.active:hover { transform: none; }
.einsatzbereich-card a { text-decoration: none; color: inherit; display: block; }

.einsatzbereich-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.einsatzbereich-icon { font-size: 1.5rem; }

.current-badge {
    position: absolute;
    top: -12px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
    z-index: 100;
    white-space: nowrap;
}

/* Facts Horizontal */
.facts-horizontal-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.fact-card-horizontal {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    min-height: 120px;
}

.fact-number-box-horizontal {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2634 100%);
    border: 3px solid var(--accent-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.fact-number-horizontal {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    display: block;
}

.fact-unit-horizontal {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-top: 0.5rem;
}

.fact-text-horizontal {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.fact-card-horizontal.visible .fact-text-horizontal {
    opacity: 1;
    transform: translateX(0);
}

/* Accordion */
.accordion { margin: 2.5rem 0; }

.accordion-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.accordion-item:hover { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); }

.accordion-header {
    padding: 1.6rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    border-left: 4px solid transparent;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    border-left-color: var(--accent-color);
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: var(--accent-color);
    font-weight: bold;
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    border-left-color: var(--primary-color);
}

.accordion-item.active .accordion-header .accordion-icon {
    transform: rotate(180deg);
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
}

.accordion-item.active .accordion-content {
    max-height: 5000px;
    padding: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Competency Tags */
.competency-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.2rem;
}

.competency-tag {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    padding: 0.7rem 1.6rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.competency-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon { font-size: 3rem; margin-bottom: 1.2rem; }

.footer-divider {
    margin: 0.5rem 0;
    font-weight: normal;
    color: white;
    font-size: 1rem;
}

.hint-text {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    border-left: 5px solid var(--accent-color);
    border-radius: 12px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}


/* ============================================================================
   HERO CARDS WRAPPER + PAGINATION (NEU)
   ============================================================================ */

.hero-cards-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Das sichtbare Grid einer Seite */
.hero-cards-page {
    display: grid;
    grid-template-columns: repeat(var(--hero-cols, 4), 1fr);
    gap: 1rem;
    padding: 0 0.5rem;
    animation: heroPageIn 0.35s ease-out both;
}

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

/* ---- HERO CARD (kompakt, alle Tiers) ---- */
.hero-manager-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.4);
    min-width: 0;
}

.hero-manager-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

/* Tier-spezifische Akzente */
.hero-manager-card.tier-featured {
    border-color: #FFD700;
    border-width: 3px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.hero-manager-card.tier-featured:hover {
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.55);
}

.hero-manager-card.tier-highlighted {
    border-color: var(--accent-color);
    border-width: 3px;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.hero-manager-card.tier-highlighted:hover {
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.45);
}

/* Bild-Bereich */
.hero-card-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-card-image-wrap .hero-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: transform 0.4s ease;
}

.hero-manager-card:hover .hero-card-img {
    transform: scale(1.06);
}

/* Tier Badge im Bild */
.hero-card-tier-badge {
    position: absolute;
    bottom: 0.4rem;
    left: 0.4rem;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    z-index: 5;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-card-tier-badge.featured {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    animation: pulse-gold 2s ease-in-out infinite;
}

.hero-card-tier-badge.highlighted {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

/* Verfügbarkeits-Badge */
.hero-card-avail-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    z-index: 5;
    white-space: nowrap;
    backdrop-filter: blur(6px);
}

.hero-card-avail-badge.available-green  { background: rgba(46, 204, 113, 0.95); color: white; }
.hero-card-avail-badge.available-yellow { background: rgba(241, 196, 15, 0.95);  color: #1a1a1a; }
.hero-card-avail-badge.available-red    { background: rgba(231, 76, 60, 0.95);   color: white; }

/* Text-Bereich */
.hero-card-body {
    padding: 0.55rem 0.8rem 0.55rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.hero-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-card-roles {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- PAGINATION CONTROLS ---- */
.hero-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-pag-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hero-pag-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.35);
    border-color: white;
    transform: scale(1.1);
}

.hero-pag-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.hero-pag-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.hero-pag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.hero-pag-dot.active {
    background: white;
    width: 22px;
    border-radius: 4px;
}

.hero-pag-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
}

.hero-pag-info {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    min-width: 60px;
    text-align: center;
}

/* Flex-Rahmen: Pfeile links/rechts, Cards in der Mitte */
.hero-cards-nav-area {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
}

/* Seitliche Pfeil-Buttons */
.hero-side-btn {
    flex-shrink: 0;
    width: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: white;
    font-size: 2rem;
    line-height: 1;
    transition: background 0.25s ease, opacity 0.25s ease;
    opacity: 0.75;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-side-btn--prev {
    background: linear-gradient(to right, rgba(0,0,0,0.35), transparent);
    border-radius: 8px 0 0 8px;
}

.hero-side-btn--next {
    background: linear-gradient(to left, rgba(0,0,0,0.35), transparent);
    border-radius: 0 8px 8px 0;
}

.hero-side-btn:hover {
    opacity: 1;
    background: rgba(255,255,255,0.15);
}

.hero-side-btn:disabled {
    display: none; /* unsichtbar statt ausgegraut */
}

/* ============================================================================
   4. RESPONSIVE - Media Queries
   ============================================================================ */

@media (max-width: 900px) {
    .manager-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    .mobile-menu-toggle { display: block; }

    .side-menu {
        transform: translateX(-100%);
        box-shadow: none;
    }

    body { padding-left: 0; }

    .side-menu.active {
        transform: translateX(0);
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.3);
    }

    .profile-card--featured { grid-template-columns: 1fr; }
    .profile-card--featured .profile-image-wrapper { min-height: 300px; }

    /* Hero Cards: 3 Spalten auf Tablet */
    .hero-cards-page {
        --hero-cols: 3;
    }
}

@media (max-width: 768px) {
    .hero-parallax-image { background-attachment: scroll; }
    .hero-parallax-title { font-size: 1.2rem; }
    .hero-parallax-subtitle { font-size: 0.8rem; }
    .scroll-indicator { bottom: 1.5rem; }

    /* Hero Cards: 2 Spalten auf Mobile */
    .hero-cards-page {
        --hero-cols: 2;
        gap: 0.75rem;
    }

    .hero-pag-btn { width: 32px; height: 32px; font-size: 1rem; }

    .profile-intro-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .profile-image-large { margin: 0 auto; }
    .profile-video-container { margin: 0 auto; }
    #introBadgesContainer { align-items: center; }

    .manager-grid { grid-template-columns: 1fr; gap: 2rem; }

    .profile-card--featured .profile-name { font-size: 1.8rem; }
    .profile-card--featured .profile-title { font-size: 1.1rem; }
    .profile-card--featured .profile-excerpt { font-size: 1rem; }

    .tier-badge { font-size: 0.75rem; padding: 0.4rem 0.8rem; }

    .einsatzbereiche-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .einsatzbereich-card { padding: 1.5rem; }
    .einsatzbereich-title { font-size: 1.1rem; }

    .fact-card-horizontal { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
    .fact-number-horizontal { font-size: 2rem; min-width: auto; }
    .fact-number-horizontal::after { display: none; }
    .fact-text-horizontal { font-size: 0.95rem; }

    #navBadgesContainer .tier-badge,
    #navBadgesContainer .profile-badge { font-size: 0.65rem; padding: 0.25rem 0.6rem; }

    #introBadgesContainer .tier-badge,
    #introBadgesContainer .profile-badge { font-size: 0.8rem; padding: 0.4rem 0.9rem; }

    .footer-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }

    .container { padding: 2rem 1.5rem; }
    .section-dark, .section-light, .section-white { padding: 3rem 1.5rem; }

    .profile-card:not(.profile-card--featured) .profile-image { height: 200px; }
    .profile-card:not(.profile-card--featured) .profile-content { padding: 1.2rem; }
    .profile-card:not(.profile-card--featured) .profile-name { font-size: 1.3rem; }

    .current-badge { font-size: 0.7rem; padding: 0.3rem 0.8rem; top: -10px; right: 10px; }

    .fact-card-horizontal { grid-template-columns: 1fr !important; text-align: center; gap: 1rem; }
    .fact-number-box-horizontal { justify-content: center; margin: 0 auto; }
    .fact-text-horizontal { text-align: center; }

    h2 { font-size: 1.8rem !important; }
    .text-center h2 { font-size: 1.8rem !important; }
    /* 768px */
    .hero-side-btn {
        width: 28px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-parallax-title { font-size: 1.1rem; }
    .hero-parallax-subtitle { font-size: 0.75rem; }

    /* Hero Cards: 2 Spalten auch auf kleinen Screens, aber enger */
    .hero-cards-page {
        --hero-cols: 2;
        gap: 0.5rem;
    }

    .hero-card-body { padding: 0.5rem 0.6rem 0.6rem; }
    .hero-card-name { font-size: 0.85rem; }
    .hero-card-roles { font-size: 0.7rem; }

    .fact-number-horizontal { font-size: 1.8rem; }
    .cta-primary { padding: 1rem 2rem; font-size: 1rem; }
    .profile-card--featured .profile-content { padding: 1.5rem; }

    .einsatzbereich-card { padding: 1.2rem; }
    .einsatzbereich-title { font-size: 1rem; }

    .facts-horizontal-container { gap: 1rem; }
    .fact-card-horizontal { padding: 1.2rem; }
    .fact-text-horizontal { font-size: 0.9rem; }

    #navBadgesContainer { gap: 0.3rem; }
    #introBadgesContainer { gap: 0.4rem; }

    #navBadgesContainer .tier-badge,
    #navBadgesContainer .profile-badge { font-size: 0.6rem; padding: 0.2rem 0.5rem; }

    #introBadgesContainer .tier-badge,
    #introBadgesContainer .profile-badge { font-size: 0.75rem; padding: 0.35rem 0.8rem; }

    #profileMediaContainer { max-width: 200px; }

    .profile-card:not(.profile-card--featured) .profile-image { height: 180px; }
    .profile-card:not(.profile-card--featured) .profile-content { padding: 1rem; }
    .profile-card:not(.profile-card--featured) .profile-name { font-size: 1.2rem; }
    .profile-card:not(.profile-card--featured) .role-pill { padding: 0.5rem 1rem; font-size: 0.8rem; }
    /* 480px */
    .hero-side-btn {
        width: 22px;
        font-size: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-height: 730px) {
    .hero-headline { display: none !important; }
}

/* ============================================================================
   ROOT INDEX FILTER SYSTEM
   ============================================================================ */

.filter-availability-wrapper {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.filter-availability {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.filter-competencies-wrapper { margin-bottom: 2rem; }

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.filter-pill {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--primary-color);
    border: 2px solid #e0e0e0;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-pill:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.filter-pill.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.3);
}

.filter-pill.active:hover {
    background: linear-gradient(135deg, #2980b9 0%, var(--primary-color) 100%);
    transform: translateY(-2px) scale(1.02);
}

.filter-pill-availability {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border-color: #27ae60;
    font-size: 1rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.filter-pill-availability:hover {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    border-color: #229954;
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.4);
}

.filter-pill-availability.active {
    background: linear-gradient(135deg, #992222 0%, #841e1e 100%);
    border-color: #841e1e;
    box-shadow: 0 6px 20px rgba(204, 46, 46, 0.5);
}

.filter-status { margin-bottom: 2rem; }

.filter-no-results {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.filter-no-results strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.filter-no-results p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.filter-no-results p:last-child { margin-bottom: 0; }

.filter-logic-toggle-wrapper {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.filter-logic-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.filter-logic-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-logic-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    outline: none;
}

.filter-logic-btn:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.logic-option {
    font-size: 0.95rem;
    font-weight: 700;
    color: #999;
    transition: all 0.3s ease;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.logic-option.active {
    color: white;
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.logic-divider { color: #ddd; font-weight: 300; }

.filter-logic-hint {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    text-align: center;
    transition: all 0.3s ease;
}


/* ============================================================================
   KATEGORIE-LINKS (behalten, harmlos)
   ============================================================================ */

.kategorie-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.kategorie-link-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.kategorie-link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.kategorie-link-btn:hover::before { left: 100%; }

.kategorie-link-btn:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2634 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.4);
}

.kategorie-arrow { font-size: 1.3rem; transition: transform 0.3s ease; }
.kategorie-link-btn:hover .kategorie-arrow { transform: translateY(4px); }


/* ============================================================================
   ROLLEN-PILLS
   ============================================================================ */

.profile-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.2rem 0;
}

.role-pill {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.role-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, var(--primary-color) 100%);
}

.role-pill:active { transform: translateY(-1px); }


/* ============================================================================
   PROFILE LINK BUTTON
   ============================================================================ */

.profile-link-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e9ecef 100%);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.profile-link-btn:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}


/* ============================================================================
   PDF REQUEST MODAL
   ============================================================================ */
/* ============================================================================
   REQUEST MODAL (mailto-basiert, ersetzt PDF Request Modal)
   ============================================================================ */

.request-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
    pointer-events: none;
}

.request-modal.visible {
    opacity: 1;
    pointer-events: all;
}

.request-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.request-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    transform: scale(0.92) translateY(16px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    opacity: 0;
    max-height: 90vh;
    overflow-y: auto;
}

.request-modal.visible .request-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Close Button */
.request-modal-content .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    font-size: 1.4rem;
    color: #666;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}

.request-modal-content .modal-close:hover {
    background: rgba(0, 0, 0, 0.12);
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Header */
.request-modal-header {
    padding: 2.5rem 2.5rem 0;
    text-align: center;
}

.request-modal-icon {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    line-height: 1;
}

.request-modal-header h2 {
    color: var(--primary-color);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.request-modal-header p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.request-modal-header strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Body */
.request-modal-body {
    padding: 1.8rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

/* Toggle: Einzelner Manager / Alle mit Rolle */
.request-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    background: var(--light-bg);
    border-radius: 12px;
    padding: 0.4rem;
}

.request-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0.8rem;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: #666;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    white-space: nowrap;
}

.request-toggle-btn .toggle-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.request-toggle-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.request-toggle-btn:not(.active):hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.6);
}

/* Panels */
.request-panel {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
}

.request-panel.active {
    display: flex;
}

/* Label */
.request-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

/* Select */
.request-select-wrapper {
    position: relative;
}

.request-select {
    width: 100%;
    padding: 0.9rem 2.8rem 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-color);
    background: white;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.request-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.12);
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1rem;
    pointer-events: none;
    font-weight: bold;
}

/* Shake animation für fehlende Auswahl */
@keyframes modalShake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

.request-select-wrapper.shake {
    animation: modalShake 0.35s ease;
}

.request-select-wrapper.shake .request-select {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

/* Hint Text */
.request-hint {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* Vorausgefüllte Info (manager-role mode) */
.request-prefilled-info {
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.prefilled-row {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
}

.prefilled-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 130px;
    flex-shrink: 0;
}

.prefilled-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Submit Button */
.request-modal-submit {
    width: 100%;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    letter-spacing: 0.2px;
}

.request-modal-submit:hover {
    background: linear-gradient(135deg, #2980b9 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(52, 152, 219, 0.45);
}

.request-modal-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(52, 152, 219, 0.3);
}

.submit-icon {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 540px) {
    .request-modal-content {
        border-radius: 16px;
        max-height: 95vh;
    }

    .request-modal-header {
        padding: 2rem 1.8rem 0;
    }

    .request-modal-body {
        padding: 1.4rem 1.8rem 2rem;
    }

    .request-toggle-btn {
        font-size: 0.8rem;
        padding: 0.65rem 0.6rem;
    }

    .prefilled-row {
        flex-direction: column;
        gap: 0.2rem;
    }

    .prefilled-label {
        min-width: unset;
    }
}

.ms-group {
    margin-bottom: 1.25rem;
}

.request-label-icon {
    margin-right: 0.4rem;
}

.ms-field {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.4rem 0.75rem;
    background: #f5f5f5;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
    position: relative;
    gap: 0.5rem;
}

.ms-field:hover,
.ms-field.open {
    border-color: var(--accent-color, #4a9eff);
}

.ms-field.shake {
    animation: shake 0.35s ease;
    border-color: #e74c3c;
}

.ms-arrow {
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0.5;
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.ms-field.open .ms-arrow {
    transform: rotate(180deg);
}

.ms-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    flex: 1;
}

.ms-placeholder {
    color: rgba(0,0,0,0.35);
    font-size: 0.9rem;
    pointer-events: none;
}

.ms-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(74, 158, 255, 0.15);
    border: 1px solid rgba(74, 158, 255, 0.4);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    white-space: nowrap;
}

.ms-pill-remove {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.ms-pill-remove:hover {
    color: #fff;
}

.ms-dropdown {
    display: none;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    margin-top: 0.25rem;
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.ms-dropdown.open {
    display: block;
    animation: fadeInDown 0.15s ease;
}

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

.ms-options {
    padding: 0.4rem 0;
}

.ms-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
}

.ms-option:hover {
    background: rgba(0,0,0,0.05);
}

.ms-option input[type="checkbox"] {
    display: none;
}

.ms-option-check {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 3px;
    flex-shrink: 0;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
}

.ms-option input[type="checkbox"]:checked + .ms-option-check {
    background: var(--accent-color, #4a9eff);
    border-color: var(--accent-color, #4a9eff);
}

.ms-option input[type="checkbox"]:checked + .ms-option-check::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.ms-option-label {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.85);
}

/* ============================================================================
   REQUEST MODAL – LOCKED / PRESELECTED STYLES
   An das Ende von css/style.css anhängen
   ============================================================================ */

/* Gesperrte Pill (vorausgewählter Manager auf Profilseite)
   Basis bleibt wie .ms-pill, aber solider + kein X-Button-Padding */
.ms-pill--locked {
    background: var(--accent-color, #3498db);
    border-color: var(--accent-color, #3498db);
    color: #fff;
    opacity: 1;
    cursor: default;
    padding-right: 0.55rem; /* kein X-Button */
    font-weight: 600;
}

.ms-pill--locked::before {
    content: '✓ ';
    font-size: 0.75em;
    opacity: 0.85;
}

/* Gesperrte Option im Dropdown */
.ms-option--locked {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.ms-option--locked .ms-option-check {
    background: var(--accent-color, #3498db);
    border-color: var(--accent-color, #3498db);
}

.ms-option--locked .ms-option-check::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* "✓ ausgewählt" Hint-Text innerhalb der gesperrten Option */
.ms-option-locked-hint {
    display: inline-block;
    margin-left: 0.4rem;
    font-size: 0.72em;
    opacity: 0.55;
    font-weight: normal;
}

/* ============================================================================
   SIDEBAR CTA BUTTON
   ============================================================================ */

.side-menu-cta {
    width: 100%;
    display: block;
    margin: 1.2rem 0 1.4rem;
    padding: 0.95rem 1.1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    animation: sideMenuCtaPulse 2.4s ease-in-out infinite;
}

.side-menu-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 14px 35px rgba(255, 165, 0, 0.45);
}

.side-menu-cta:active {
    transform: translateY(0);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.35);
}

@keyframes sideMenuCtaPulse {
    0%, 100% { box-shadow: 0 10px 25px rgba(255, 165, 0, 0.35); transform: translateY(0); }
    50% { box-shadow: 0 18px 45px rgba(255, 165, 0, 0.55); transform: translateY(-1px); }
}


/* ============================================================================
   SIDEBAR KONTAKT
   ============================================================================ */

.side-menu-contact {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.side-contact-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    padding: 0.9rem 1.2rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.side-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, var(--accent-color) 100%);
}

.contact-icon { font-size: 1.2rem; }

.sidebar-rollen-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ============================================================================
   COOKIE BANNER & MODAL
   ============================================================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.98) 0%, rgba(26, 38, 52, 0.98) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid var(--accent-color);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.cookie-icon { font-size: 2rem; flex-shrink: 0; }

.cookie-banner-text strong { display: block; font-size: 1.1rem; margin-bottom: 0.3rem; color: white; }
.cookie-banner-text p { margin: 0; font-size: 0.95rem; opacity: 0.9; line-height: 1.5; }
.cookie-banner-text a { color: var(--accent-color); text-decoration: underline; font-weight: 600; }
.cookie-banner-text a:hover { color: #5dade2; }

.cookie-banner-actions { display: flex; gap: 1rem; flex-shrink: 0; }

.cookie-btn {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #2980b9 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

.cookie-btn-essential {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-essential:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-settings {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.cookie-modal.visible { opacity: 1; }

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.cookie-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-modal.visible .cookie-modal-content { transform: scale(1); }

.cookie-modal-header {
    padding: 2rem;
    border-bottom: 2px solid var(--light-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 { margin: 0; color: var(--primary-color); font-size: 1.8rem; }

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    line-height: 1;
}

.cookie-modal-close:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.cookie-modal-body { padding: 2rem; overflow-y: auto; flex: 1; }

.cookie-category {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.cookie-category:hover { background: #e9ecef; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.cookie-category-header h3 { margin: 0 0 0.5rem 0; color: var(--primary-color); font-size: 1.2rem; }
.cookie-category-header p { margin: 0; font-size: 0.95rem; color: #666; line-height: 1.5; }

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    flex-shrink: 0;
}

.cookie-toggle input { opacity: 0; width: 0; height: 0; }

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.cookie-toggle-slider::before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(26px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { background: #28a745; cursor: not-allowed; }

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--light-bg);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}


/* ============================================================================
   RESPONSIVE - Cookie Banner & Filter
   ============================================================================ */

@media (max-width: 1024px) {
    .cookie-banner { padding: 1.5rem; }
    .cookie-banner-content { flex-direction: column; align-items: stretch; }
    .cookie-banner-actions { flex-direction: column; }
    .cookie-btn { width: 100%; }
}

@media (max-width: 768px) {
    .featured-mini-cards-container { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 1.5rem; }
    .featured-mini-card { padding: 1.2rem; gap: 1rem; }
    .featured-mini-img { width: 60px; height: 60px; }
    .featured-mini-card h3 { font-size: 1.2rem; }
    .featured-mini-roles { font-size: 0.8rem; }
    .featured-mini-badge { padding: 0.35rem 0.8rem; font-size: 0.75rem; }

    .kategorie-links-container { flex-direction: column; gap: 1rem; padding: 0 1.5rem; }
    .kategorie-link-btn { padding: 1rem 2rem; font-size: 1rem; justify-content: center; }

    .filter-pills { gap: 0.8rem; }
    .filter-pill { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
    .filter-pill-availability { padding: 0.8rem 1.6rem; font-size: 0.95rem; }
    .filter-availability-wrapper { margin-bottom: 2rem; padding-bottom: 1.5rem; }
    .filter-no-results { padding: 1.5rem; margin-bottom: 1.5rem; }
    .filter-no-results strong { font-size: 1.1rem; }
    .filter-logic-toggle-wrapper { margin-bottom: 2rem; padding-bottom: 1.5rem; }
    .filter-logic-label { font-size: 0.9rem; }
    .filter-logic-btn { padding: 0.5rem 1.2rem; }
    .logic-option { font-size: 0.9rem; }
    .filter-logic-hint { font-size: 0.8rem; padding: 0 1rem; }

    .cookie-banner { padding: 1.2rem; }
    .cookie-banner-text { flex-direction: column; gap: 0.8rem; }
    .cookie-icon { font-size: 1.5rem; }
    .cookie-banner-text strong { font-size: 1rem; }
    .cookie-banner-text p { font-size: 0.9rem; }
    .cookie-modal-content { max-height: 95vh; border-radius: 12px; }
    .cookie-modal-header { padding: 1.5rem; }
    .cookie-modal-header h2 { font-size: 1.5rem; }
    .cookie-modal-body { padding: 1.5rem; }
    .cookie-category { padding: 1.2rem; }
    .cookie-category-header { flex-direction: column; gap: 1rem; }
    .cookie-toggle { align-self: flex-start; }
    .cookie-modal-footer { padding: 1.2rem 1.5rem; flex-direction: column-reverse; }
    .cookie-modal-footer .cookie-btn { width: 100%; }
    .checkbox-group { padding: 1rem; }
    .checkbox-label { gap: 0.8rem; }
    .checkbox-custom { width: 28px; height: 28px; }
    .checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after { font-size: 18px; }
    .checkbox-text { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .featured-mini-card { padding: 1rem; gap: 0.8rem; }
    .featured-mini-img { width: 50px; height: 50px; border-width: 2px; }
    .featured-mini-card h3 { font-size: 1.1rem; }
    .featured-mini-roles { font-size: 0.75rem; -webkit-line-clamp: 1; }
    .kategorie-link-btn { padding: 0.9rem 1.5rem; font-size: 0.95rem; }
    .filter-pills { gap: 0.6rem; }
    .filter-pill { padding: 0.5rem 1rem; font-size: 0.85rem; }
    .filter-pill-availability { padding: 0.7rem 1.4rem; font-size: 0.9rem; }
    .filter-logic-btn { padding: 0.4rem 1rem; }
    .logic-option { font-size: 0.85rem; padding: 0.15rem 0.4rem; }
    .cookie-modal { padding: 0.5rem; }
    .cookie-modal-header h2 { font-size: 1.3rem; }
    .cookie-category-header h3 { font-size: 1.1rem; }
}

/* ============================================================================
   HERO PROFILE GRID (profil/[slug]/index.html)
   ============================================================================ */

.hero-parallax-content .hero-headline {
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

.hero-profile-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: stretch;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-profile-tile {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    display: block;
}

.hero-profile-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 0;
}

.hero-profile-right .profile-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-content: flex-start;
}

.hero-profile-right .role-pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
}

.hero-profile-right .role-pill:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hero-profile-right .cta-primary {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 768px) {
    .hero-profile-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-profile-tile {
        padding: 1.5rem;
    }

    .hero-profile-img {
        width: 120px;
        height: 120px;
    }

    .hero-profile-right {
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-profile-right .profile-roles {
        justify-content: center;
    }

    .hero-profile-right .cta-primary {
        align-self: center;
        margin-top: 0;
    }
}

/* ============================================================================
   MOBILE PILL SWITCHER
   ============================================================================ */

.hero-pills-nav-area {
    width: 100%;
}

.hero-pills-nav-area .profile-roles {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    body {
        padding-left: 0 !important;
        background: white !important;
        color: #2c3e50 !important;
        font-size: 10pt !important;
        line-height: 1.6 !important;
        margin: 0 !important;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    }

    .container { max-width: 100% !important; padding: 0 1cm !important; margin: 0 !important; }

    .side-menu,
    .mobile-menu-toggle,
    .scroll-indicator,
    #contact,
    .cta-primary,
    .back-home,
    .back-vollprofil,
    .scroll-progress { display: none !important; }

    .hero-parallax {
        height: 27cm !important;
        min-height: 27cm !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 1cm !important;
        background: linear-gradient(135deg, rgba(44, 62, 80, 0.75) 0%, rgba(52, 152, 219, 0.75) 100%) !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-parallax-image {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center !important;
        opacity: 0.5 !important;
        z-index: 0 !important;
    }

    .hero-parallax-overlay { display: none !important; }

    .hero-parallax-content {
        position: relative !important;
        z-index: 10 !important;
        text-align: center !important;
        padding: 0 !important;
    }

    .hero-parallax-title {
        font-size: 28pt !important;
        color: white !important;
        margin: 0 0 0.5cm 0 !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
        font-weight: 700 !important;
    }

    .hero-parallax-subtitle {
        display: block !important;
        font-size: 18pt !important;
        color: white !important;
        margin: 0 !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
        font-weight: 400 !important;
    }

    .hero-parallax.tier-featured { border: 3pt solid #FFD700 !important; }
    .hero-parallax.tier-highlighted { border: 3pt solid #3498db !important; }

    #intro { margin: 0 !important; padding: 1cm 0 !important; background: white !important; }
    #intro .container { padding: 0 1cm !important; }

    .profile-intro-grid {
        display: grid !important;
        grid-template-columns: 4cm 1fr !important;
        gap: 1cm !important;
        align-items: start !important;
    }

    .profile-intro-image { display: block !important; }
    #introBadgesContainer { display: none !important; }

    #profileMediaContainer {
        display: block !important;
        width: 4cm !important;
        height: 4.21cm !important;
    }

    #profileMediaContainer img,
    #profileMediaContainer .profile-image-large {
        display: block !important;
        width: 4cm !important;
        height: 4.21cm !important;
        object-fit: cover !important;
        border: 1pt solid #e0e0e0 !important;
    }

    .profile-intro-text h2 {
        font-size: 16pt !important;
        color: #2c3e50 !important;
        margin: 0 0 0.5cm 0 !important;
        font-weight: 600 !important;
    }

    .profile-intro-text p {
        font-size: 10pt !important;
        line-height: 1.6 !important;
        color: #2c3e50 !important;
        margin: 0 !important;
        text-align: justify !important;
    }

    section { margin-bottom: 0.8cm !important; padding: 0.5cm 0 !important; background: white !important; }
    .section-white, .section-light, .section-dark { background: white !important; color: #2c3e50 !important; }

    h2 {
        color: #3498db !important;
        font-size: 12pt !important;
        margin: 0 0 0.4cm 0 !important;
        padding-bottom: 0.2cm !important;
        border-bottom: 1pt solid #3498db !important;
        text-transform: uppercase !important;
        font-weight: 600 !important;
        letter-spacing: 0.5pt !important;
    }

    h3 { color: #2c3e50 !important; font-size: 11pt !important; margin: 0.5cm 0 0.3cm 0 !important; font-weight: 600 !important; }
    p { margin: 0.3cm 0 !important; line-height: 1.6 !important; }

    .einsatzbereiche-grid { display: block !important; columns: 2 !important; column-gap: 1cm !important; }

    .einsatzbereich-card {
        display: block !important;
        break-inside: avoid !important;
        margin-bottom: 0.3cm !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    .einsatzbereich-card::before { content: "• " !important; color: #3498db !important; font-weight: bold !important; }
    .einsatzbereich-card.active::before { content: "▸ " !important; }
    .einsatzbereich-card a { text-decoration: none !important; color: #2c3e50 !important; }

    .einsatzbereich-title {
        display: inline !important;
        font-size: 9pt !important;
        font-weight: normal !important;
        color: #2c3e50 !important;
    }

    .einsatzbereich-card.active .einsatzbereich-title { font-weight: 600 !important; }
    .einsatzbereich-icon { display: none !important; }
    .current-badge { display: none !important; }

    .facts-horizontal-container { display: block !important; }

    .fact-card-horizontal {
        display: grid !important;
        grid-template-columns: 3cm 1fr !important;
        gap: 0.5cm !important;
        align-items: start !important;
        break-inside: avoid !important;
        margin-bottom: 0.5cm !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .fact-number-box-horizontal {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .fact-number-horizontal {
        font-size: 18pt !important;
        font-weight: 700 !important;
        color: #3498db !important;
        display: block !important;
        margin: 0 !important;
        line-height: 1 !important;
    }

    .fact-number-horizontal::after { display: none !important; }

    .fact-unit-horizontal {
        font-size: 8pt !important;
        font-weight: 600 !important;
        color: #3498db !important;
        display: block !important;
        margin-top: 0.1cm !important;
    }

    .fact-text-horizontal {
        font-size: 10pt !important;
        line-height: 1.6 !important;
        color: #2c3e50 !important;
        text-align: left !important;
    }

    .accordion { margin: 0 !important; }

    .accordion-item {
        display: block !important;
        break-inside: avoid !important;
        margin-bottom: 0.5cm !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .accordion-header {
        background: transparent !important;
        color: #2c3e50 !important;
        padding: 0 !important;
        font-weight: 600 !important;
        font-size: 10pt !important;
        border: none !important;
        margin-bottom: 0.3cm !important;
    }

    .accordion-icon { display: none !important; }

    .accordion-content {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
        padding: 0 0 0 0.3cm !important;
        background: transparent !important;
    }

    .competency-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.2cm 0.5cm !important;
        margin: 0 !important;
    }

    .competency-tag {
        display: list-item !important;
        list-style-position: outside !important;
        margin-left: 0.4cm !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        font-size: 9pt !important;
        color: #2c3e50 !important;
        font-weight: normal !important;
        box-shadow: none !important;
        line-height: 1.4 !important;
    }

    .competency-tag::marker { color: #3498db !important; }

    #projekte .accordion-item {
        display: block !important;
        margin-bottom: 0.6cm !important;
        border: none !important;
        background: transparent !important;
        break-inside: avoid !important;
    }

    #projekte .accordion-header { font-size: 10pt !important; font-weight: 600 !important; color: #2c3e50 !important; margin-bottom: 0.2cm !important; }

    #projekte .accordion-content {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
        padding: 0 0 0 0.5cm !important;
    }

    .project-meta { font-size: 9pt !important; margin: 0.2cm 0 !important; color: #666 !important; font-weight: normal !important; font-style: italic !important; }
    .project-description { font-size: 9pt !important; margin: 0.3cm 0 !important; font-style: normal !important; line-height: 1.6 !important; }

    .project-results { margin: 0.3cm 0 !important; padding-left: 0.5cm !important; list-style-type: none !important; }
    .project-results li { font-size: 9pt !important; margin: 0.2cm 0 !important; line-height: 1.6 !important; break-inside: avoid !important; }
    .project-results li::before { content: "– " !important; color: #3498db !important; font-weight: bold !important; }

    #spezifikation:has(#ausbildungList:empty):has(#zertifikateList:empty):has(#sprachenList:empty) { display: none !important; }

    #spezifikation h2 {
        color: #3498db !important;
        font-size: 12pt !important;
        margin: 0 0 0.4cm 0 !important;
        padding-bottom: 0.2cm !important;
        border-bottom: 1pt solid #3498db !important;
    }

    #spezifikation h3 { font-size: 10pt !important; color: #2c3e50 !important; margin: 0.5cm 0 0.3cm 0 !important; border: none !important; font-weight: 600 !important; }

    #ausbildungSection, #zertifikateSection, #sprachenSection { break-inside: avoid !important; margin-bottom: 0.5cm !important; }
    #ausbildungSection:has(#ausbildungList:empty), #ausbildungSection:has(#ausbildungList:not(:has(*))) { display: none !important; }
    #zertifikateSection:has(#zertifikateList:empty), #zertifikateSection:has(#zertifikateList:not(:has(*))) { display: none !important; }
    #sprachenSection:has(#sprachenList:empty), #sprachenSection:has(#sprachenList:not(:has(*))) { display: none !important; }

    #ausbildungList, #zertifikateList, #sprachenList { display: block !important; margin: 0 !important; }

    #ausbildungList .competency-tag,
    #zertifikateList .competency-tag,
    #sprachenList .competency-tag {
        display: inline !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        font-size: 9pt !important;
        color: #2c3e50 !important;
        font-weight: normal !important;
    }

    #ausbildungList .competency-tag::after,
    #zertifikateList .competency-tag::after,
    #sprachenList .competency-tag::after { content: ", " !important; }

    #ausbildungList .competency-tag:last-child::after,
    #zertifikateList .competency-tag:last-child::after,
    #sprachenList .competency-tag:last-child::after { content: "" !important; }

    footer {
        display: block !important;
        background: white !important;
        padding: 0.8cm 1cm !important;
        margin-top: 1cm !important;
        border-top: 2pt solid #3498db !important;
        break-inside: avoid !important;
        color: #2c3e50 !important;
    }

    .footer-content { display: block !important; }

    .footer-section:first-child h3 {
        color: #3498db !important;
        font-size: 11pt !important;
        margin: 0 0 0.4cm 0 !important;
        text-transform: uppercase !important;
        font-weight: 600 !important;
        text-align: center !important;
    }

    .footer-section:first-child > p:first-of-type {
        text-align: center !important;
        font-size: 9pt !important;
        margin-bottom: 0.3cm !important;
        font-weight: 600 !important;
    }

    .footer-section:first-child {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1cm !important;
        margin-bottom: 0.5cm !important;
    }

    .footer-section:first-child h3,
    .footer-section:first-child > p:first-of-type { grid-column: 1 / -1 !important; }

    .footer-section address {
        font-style: normal !important;
        line-height: 1.6 !important;
        font-size: 9pt !important;
        color: #2c3e50 !important;
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
        margin: 0 !important;
    }

    .footer-section address strong { color: #3498db !important; display: block !important; margin-bottom: 0.1cm !important; font-weight: 600 !important; }
    .footer-section:first-child > p:nth-of-type(2) { display: none !important; }

    .footer-section:first-child > p:last-of-type {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        font-size: 9pt !important;
        margin-top: 0.5cm !important;
        line-height: 1.8 !important;
    }

    .footer-section:first-child > p:last-of-type a { color: #3498db !important; text-decoration: none !important; font-weight: normal !important; }

    .footer-section:first-child > p:last-of-type::after {
        content: "\AWeb: www.interim-signature.de" !important;
        white-space: pre !important;
        display: block !important;
        color: #3498db !important;
    }

    .footer-section:nth-child(2),
    .footer-section:nth-child(3) { display: none !important; }

    .footer-bottom {
        text-align: center !important;
        padding-top: 0.4cm !important;
        border-top: 1pt solid #e0e0e0 !important;
        font-size: 8pt !important;
        color: #999 !important;
        margin-top: 0.5cm !important;
    }

    .footer-bottom p { margin: 0 !important; }

    a { color: #2c3e50 !important; text-decoration: none !important; }
    a[href^="http"]:after { content: "" !important; }

    .fade-in-scroll,
    .slide-in-top,
    .slide-in-bottom,
    .slide-in-left,
    .slide-in-right,
    .stagger-group > *,
    .visible {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    #navBadgesContainer { display: none !important; }
    .manager-grid, .profile-card { display: none !important; }
    .loading-spinner { display: none !important; }
    .hero-cards-wrapper, .hero-pagination { display: none !important; }
}

/* ============================================================================
   TICKER-BAND (Lauftext-Bauchbinde über Footer)
   ============================================================================ */

.ticker-band {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a2634 100%);
    padding: 0.85rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: tickerScroll 60s linear infinite;
    will-change: transform;
}

.ticker-band:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    padding: 0 3rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.ticker-item:nth-child(-n+3) {
    /* Originale Einträge: ★ in Accent-Farbe */
}

/* ★ Trennzeichen farbig */
.ticker-item::first-letter {
    color: var(--accent-color);
}

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
}

/* ============================================================================
   HERO CARDS SEPARATOR
   ============================================================================ */

.hero-cards-separator {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.25rem;
}

.hero-cards-separator::before,
.hero-cards-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.hero-cards-separator-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ============================================================================
   JOIN NETWORK MODAL – INPUTS & TIER SELECTOR
   ============================================================================ */

.join-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-color);
    background: #f5f5f5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.join-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.12);
    background: #fff;
}

.join-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-color);
    background: #f5f5f5;
    resize: vertical;
    min-height: 80px;
    margin-top: 0.5rem;
    display: none;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.join-textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.12);
    background: #fff;
}

.join-tier-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.join-tier-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.join-tier-option:hover {
    border-color: var(--accent-color);
    background: rgba(52, 152, 219, 0.04);
}

.join-tier-option input[type="radio"] {
    margin-top: 0.2rem;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.join-tier-label {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.join-tier-label strong {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.join-tier-label span {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.4;
}

.join-profile-hint {
    background: rgba(52, 152, 219, 0.08);
    border-left: 3px solid var(--accent-color);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

@keyframes joinShake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

.join-shake {
    animation: joinShake 0.35s ease;
    border-color: #e74c3c !important;
}
/* ============================================================================
   HERO PROFILE GRID
   ============================================================================ */

.hero-profile-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
    text-align: left;
}

.hero-profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    display: block;
}

.hero-profile-grid .role-pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
}

.hero-profile-grid .role-pill:hover {
    background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 768px) {
    .hero-profile-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .hero-profile-img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
}
