/* ============================================================
   HRTIME HR-SOFTWARE-FUNKTIONEN - KOMPLETT NEU
   Version: 3.0 - Komplettes Redesign
   Datum: Januar 2026
   
   Techniken gemischt aus allen CSS-Dateien:
   - ueber-uns.css: CSS Tokens, Orbit-Animation
   - anfrage-formular.css: Orange Hero, Floating Shapes
   - CSS-LP2.css: Glassmorphism, Logo Carousel
   - CSS_Global_LP_4.css: Industry Cards, Calculator
   ============================================================ */

/* ===========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   =========================================== */
:root {
    /* Farben */
    --hrsf-orange: #E65100;
    --hrsf-orange-dark: #D84315;
    --hrsf-orange-light: #FF8A50;
    --hrsf-orange-pale: #FFD2A9;
    --hrsf-blue: #5272C5;
    --hrsf-blue-dark: #0B1933;
    --hrsf-blue-light: #D4E3F0;
    --hrsf-dark: #0B1933;
    --hrsf-gray: #666666;
    --hrsf-gray-light: #f0f0ef;
    --hrsf-white: #ffffff;

    /* Gradients */
    --hrsf-gradient-orange: linear-gradient(135deg, #E65100 0%, #D84315 100%);
    --hrsf-gradient-blue: linear-gradient(135deg, #5272C5 0%, #0B1933 100%);
    --hrsf-gradient-dark: linear-gradient(135deg, #0B1933 0%, #1A2B44 100%);
    --hrsf-gradient-light: linear-gradient(180deg, #f0f0ef 0%, #D4E3F0 100%);

    /* Shadows */
    --hrsf-shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --hrsf-shadow-medium: 0 20px 60px rgba(0, 0, 0, 0.12);
    --hrsf-shadow-orange: 0 10px 35px rgba(230, 81, 0, 0.35);
    --hrsf-shadow-blue: 0 10px 35px rgba(82, 114, 197, 0.25);

    /* Radius & Transitions */
    --hrsf-radius: 20px;
    --hrsf-radius-sm: 12px;
    --hrsf-radius-lg: 30px;
    --hrsf-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fonts werden vom Theme geladen - keine doppelte Deklaration nötig */
\n\n

/* ===========================================
   RESET & BASE
   =========================================== */
.hrsf-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hrsf-page {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--hrsf-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utility Klasse: Semibold Orange */
.hrsf-text-orange {
    color: var(--hrsf-orange) !important;
    font-weight: 600 !important;
}

/* ===========================================
   ACCESSIBILITY
   =========================================== */
.hrsf-skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--hrsf-orange);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 0 0 var(--hrsf-radius-sm) 0;
    z-index: 100000;
    font-weight: 600;
    transition: top 0.3s ease;
}

.hrsf-skip-link:focus {
    top: 0;
}

*:focus-visible {
    outline: 3px solid var(--hrsf-orange);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===========================================
   SEKTION 1: HERO - ORANGE MIT FLOATING SHAPES
   Technik: anfrage-formular.css floating shapes
   =========================================== */
.hrsf-hero {
    position: relative;
    background: var(--hrsf-gradient-orange);
    padding: 120px 20px 80px;
    overflow: hidden;
    min-height: 600px;
}

/* Geschwungene Trennlinie unten */
.hrsf-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--hrsf-gray-light);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 1;
}

/* Floating Shapes Animation */
.hrsf-hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hrsf-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: hrsf-float 25s infinite ease-in-out;
}

.hrsf-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.hrsf-shape:nth-child(2) {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    animation-delay: -8s;
}

.hrsf-shape:nth-child(3) {
    width: 250px;
    height: 250px;
    top: 40%;
    left: 55%;
    animation-delay: -16s;
}

.hrsf-shape:nth-child(4) {
    width: 180px;
    height: 180px;
    top: 20%;
    right: 10%;
    animation-delay: -4s;
}

@keyframes hrsf-float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(40px, -40px) rotate(5deg);
    }

    50% {
        transform: translate(-30px, 30px) rotate(-5deg);
    }

    75% {
        transform: translate(20px, 20px) rotate(3deg);
    }
}

/* Radial Glow */
.hrsf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Hero Container */
.hrsf-hero-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hrsf-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--hrsf-white);
    line-height: 1.25;
    margin-bottom: 25px;
}

.hrsf-hero h1 .hrsf-highlight {
    position: relative;
    display: inline-block;
}

.hrsf-hero h1 .hrsf-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    z-index: -1;
}

.hrsf-hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 25px !important;
    margin-block-end: 25px !important;
}

/* Badge (aus anfrage-formular.css) */
.hrsf-hero .hrform-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hrsf-hero .hrform-badge-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: hrsf-pulse 2s infinite;
    box-shadow: 0 0 10px #22c55e;
}

@keyframes hrsf-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Section Divider für Hero (weiß) */
.hrsf-hero .hrsf-section-divider {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.6) 100%);
    margin: 0 auto 30px auto;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    animation: hrsf-dividerPulse 2s ease-in-out infinite;
}

.hrsf-hero .hrsf-section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: hrsf-dividerShine 3s ease-in-out infinite;
}

@keyframes hrsf-dividerPulse {

    0%,
    100% {
        transform: scaleX(1);
        opacity: 1;
    }

    50% {
        transform: scaleX(1.05);
        opacity: 0.9;
    }
}

@keyframes hrsf-dividerShine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* Hero Benefits - Horizontal Pills mit Elementor-Fix */
.hrsf-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 25px !important;
    margin-block-start: 25px !important;
    margin-bottom: 45px;
}

.hrsf-benefit-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--hrsf-transition);
}

.hrsf-benefit-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.hrsf-benefit-pill i {
    color: var(--hrsf-orange-pale);
    font-size: 1.1rem;
}

/* Hero CTA Button - SAUBER ohne extra Effekte */
.hrsf-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 45px;
    background: var(--hrsf-white);
    color: var(--hrsf-orange) !important;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    transition: var(--hrsf-transition);
}

.hrsf-hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
    color: var(--hrsf-orange-dark) !important;
}

/* ===========================================
   BADGE (1:1 von hr-ressourcen.css)
   =========================================== */
.hrform-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hrform-badge-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: hrr-pulse 2s infinite;
    box-shadow: 0 0 10px #22c55e;
}

/* Badge Dark Variant (for light backgrounds) */
.hrform-badge--dark {
    background: rgba(11, 25, 51, 0.1);
    color: var(--hrsf-dark);
    border: 1px solid rgba(11, 25, 51, 0.2);
}

.hrform-badge--dark .hrform-badge-dot {
    background: var(--hrsf-orange);
    box-shadow: 0 0 10px var(--hrsf-orange);
}

@keyframes hrr-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* ===========================================
   SECTION DIVIDER (1:1 von hr-ressourcen.css)
   =========================================== */
.hrr-section-divider {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, #E65100 0%, #FF8A50 50%, #E65100 100%);
    margin: 0 auto 30px auto;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    animation: hrr-dividerPulse 2s ease-in-out infinite;
}

.hrr-section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: hrr-dividerShine 3s ease-in-out infinite;
}

/* Section Divider Light (White for orange/dark backgrounds) */
.hrr-section-divider--light {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.6) 100%);
}

.hrr-section-divider--light::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

@keyframes hrr-dividerPulse {

    0%,
    100% {
        transform: scaleX(1);
        opacity: 1;
    }

    50% {
        transform: scaleX(1.05);
        opacity: 0.9;
    }
}

@keyframes hrr-dividerShine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* ===========================================
   SEKTION 2: HR-FUNKTIONEN - HEXAGON GRID
   Technik: Komplett neu - Hexagon-inspirierte Cards
   =========================================== */
.hrsf-funktionen {
    background: var(--hrsf-white);
    padding: 100px 20px;
    position: relative;
}

/* Subtle Background Pattern */
.hrsf-funktionen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, var(--hrsf-gray-light) 0%, transparent 100%);
    pointer-events: none;
}

.hrsf-funktionen-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hrsf-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.hrsf-section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--hrsf-dark);
    margin-bottom: 20px;
}

.hrsf-section-header h2 .hrsf-text-orange {
    color: var(--hrsf-orange);
}

.hrsf-section-intro {
    font-size: 1rem;
    color: var(--hrsf-gray);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Funktionen Grid - Modern Bento */
.hrsf-funktionen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hrsf-funktion-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px 24px;
    text-align: center;
    color: var(--hrsf-dark);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hrsf-funktion-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(230, 81, 0, 0.2);
}

/* Gradient Border on Hover */
.hrsf-funktion-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--hrsf-orange), #ff9800);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hrsf-funktion-card:hover::before {
    opacity: 1;
}

.hrsf-funktion-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--hrsf-orange);
    transition: all 0.3s ease;
}

.hrsf-funktion-card:hover .hrsf-funktion-icon {
    background: var(--hrsf-gradient-orange);
    color: #fff;
    transform: scale(1.05);
}

/* SEKTION 2: Funktionen - H3 isoliert */
section.hrsf-funktionen .hrsf-funktion-card h3 {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: var(--hrsf-dark) !important;
    letter-spacing: 0 !important;
}

/* SEKTION 2: Funktionen - P isoliert */
section.hrsf-funktionen .hrsf-funktion-card p {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    color: #6b7280 !important;
    flex-grow: 1;
    margin-bottom: 25px !important;
    margin-block-end: 25px !important;
}

.hrsf-funktion-btn {
    display: inline-block;
    padding: 8px 18px;
    background: transparent;
    border: 1.5px solid var(--hrsf-orange);
    border-radius: 20px;
    color: var(--hrsf-orange);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: auto;
}

.hrsf-funktion-card:hover .hrsf-funktion-btn {
    background: var(--hrsf-orange);
    color: #fff;
}

/* ===========================================
   SEKTION 3: INFO CARDS - STATISCH (KEIN FLIP!)
   Technik: Einfache Karten mit Hintergrundbild
   =========================================== */
.hrsf-infocards {
    background: var(--hrsf-gradient-light);
    padding: 100px 20px;
}

.hrsf-infocards-container {
    max-width: 1400px;
    margin: 0 auto;
}

.hrsf-infocards-header {
    text-align: center;
    margin-bottom: 60px;
}

.hrsf-infocards-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 700;
    color: var(--hrsf-dark);
}

.hrsf-infocards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Info Card - Statisch mit Hintergrundbild */
.hrsf-info-card {
    position: relative;
    height: 420px;
    border-radius: var(--hrsf-radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: var(--hrsf-transition);
}

.hrsf-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
}

/* Dunkles Overlay */
.hrsf-info-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 25, 51, 0.3) 0%, rgba(11, 25, 51, 0.85) 100%);
    pointer-events: none;
}

/* Icon - Innerhalb des Content, aber auf Desktop OBEN LINKS positioniert */
.hrsf-info-icon {
    position: absolute;
    top: 30px;
    left: 40px;
    width: 65px;
    height: 65px;
    background: var(--hrsf-gradient-orange);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--hrsf-shadow-orange);
    transition: var(--hrsf-transition);
    z-index: 3;
}

.hrsf-info-card:hover .hrsf-info-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Content - Absolut positioniert, Flex-Container */
.hrsf-info-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 120px 40px 25px 40px;
    color: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hrsf-info-content h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: white !important;
}

.hrsf-info-content p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    opacity: 0.9;
    margin-bottom: 25px !important;
    color: white !important;
}

/* Button - EINFACH und DIREKT klickbar */
.hrsf-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: white;
    color: var(--hrsf-orange) !important;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--hrsf-transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    align-self: flex-start;
    margin-bottom: 25px;
}

.hrsf-info-btn:hover {
    background: var(--hrsf-orange);
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* ===========================================
   SEKTION 4: HR-LÖSUNGEN - GLASS MORPHISM CARDS
   Technik: CSS_Global_LP_4.css Industry Cards
   =========================================== */
.hrsf-loesungen {
    background: var(--hrsf-gradient-dark);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

/* Animated Gradient Orbs */
.hrsf-loesungen::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 81, 0, 0.2) 0%, transparent 70%);
    animation: hrsf-orb-float 20s infinite ease-in-out;
}

.hrsf-loesungen::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(82, 114, 197, 0.2) 0%, transparent 70%);
    animation: hrsf-orb-float 25s infinite ease-in-out reverse;
}

@keyframes hrsf-orb-float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, -50px);
    }
}

.hrsf-loesungen-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hrsf-loesungen-header {
    text-align: center;
    margin-bottom: 30px;
}

.hrsf-loesungen-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 700;
    color: white;
}

.hrsf-loesungen-intro {
    text-align: center;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 750px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.hrsf-loesungen-intro strong {
    color: var(--hrsf-orange-pale);
}

/* Glass Cards Grid */
.hrsf-loesungen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.hrsf-loesung-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--hrsf-radius);
    padding: 40px 25px 80px;
    text-align: center;
    color: white;
    transition: var(--hrsf-transition);
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

/* Gradient Border on Hover */
.hrsf-loesung-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--hrsf-radius);
    padding: 2px;
    background: linear-gradient(135deg, var(--hrsf-orange), var(--hrsf-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hrsf-loesung-card:hover::before {
    opacity: 1;
}

.hrsf-loesung-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hrsf-loesung-icon {
    font-size: 2.8rem;
    color: var(--hrsf-orange);
    margin-bottom: 25px;
    display: block;
    transition: var(--hrsf-transition);
}

.hrsf-loesung-card:hover .hrsf-loesung-icon {
    transform: scale(1.15);
    color: var(--hrsf-orange-pale);
}

/* SEKTION 4: Lösungen - H3 isoliert */
section.hrsf-loesungen .hrsf-loesung-card h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: white !important;
}

/* SEKTION 4: Lösungen - P isoliert */
section.hrsf-loesungen .hrsf-loesung-card p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    opacity: 0.85;
    margin-bottom: 25px !important;
    margin-block-end: 25px !important;
    color: white !important;
}

.hrsf-loesung-btn {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--hrsf-transition);
    white-space: nowrap;
}

.hrsf-loesung-btn:hover {
    background: var(--hrsf-orange);
    border-color: var(--hrsf-orange);
}

/* ===========================================
   SEKTION 5: BRANCHEN - MODERNES CARD DESIGN
   Technik: Glassmorphism Cards wie Sektion 2
   =========================================== */
.hrsf-branchen {
    background: linear-gradient(180deg, var(--hrsf-gray-light) 0%, white 100%);
    padding: 100px 20px;
}

.hrsf-branchen-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* SEKTION 5: Header isoliert */
section.hrsf-branchen .hrsf-branchen-header {
    text-align: center;
    margin-bottom: 50px;
}

section.hrsf-branchen .hrsf-branchen-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--hrsf-dark);
    margin-bottom: 15px;
}

section.hrsf-branchen .hrsf-branchen-header p {
    font-size: 1rem;
    color: var(--hrsf-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Branchen Grid - Modern Cards */
.hrsf-branchen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Tile - Weißer Hintergrund wie Sektion 2 */
.hrsf-branche-tile {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 24px 16px 20px;
    text-align: center;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

/* Gradient Border on Hover (wie Sektion 2) */
.hrsf-branche-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--hrsf-orange), #ff9800);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.hrsf-branche-tile:hover::before {
    opacity: 1;
}

.hrsf-branche-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(230, 81, 0, 0.2);
}

/* Icon - Zentriert OBEN in der Karte */
.hrsf-branche-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--hrsf-orange);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.hrsf-branche-tile:hover .hrsf-branche-icon {
    background: var(--hrsf-gradient-orange);
    color: #fff;
    transform: scale(1.05);
}

/* H3 - Gleiche Größe wie Sektion 2 (1.05rem) */
section.hrsf-branchen .hrsf-branche-tile h3 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    color: var(--hrsf-dark) !important;
    letter-spacing: 0 !important;
    position: relative;
    z-index: 1;
}

/* Links als Tags */
.hrsf-branche-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.hrsf-branche-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    background: var(--hrsf-gray-light);
    color: var(--hrsf-dark) !important;
    border-radius: 16px;
    font-size: 0.72rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    text-align: center;
    min-height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.hrsf-branche-tag:hover {
    background: var(--hrsf-orange);
    color: white !important;
    border-color: var(--hrsf-orange);
    transform: translateY(-2px);
}

/* Branchen CTA */
.hrsf-branchen-cta {
    text-align: center;
    margin-top: 50px;
}

.hrsf-branchen-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: var(--hrsf-gradient-orange);
    color: white !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--hrsf-shadow-orange);
    transition: var(--hrsf-transition);
}

.hrsf-branchen-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(230, 81, 0, 0.45);
}

/* ===========================================
   SEKTION 6: CTA - ORANGE MIT FLOATING SHAPES
   Technik: Wie Hero aber kompakter
   =========================================== */
.hrsf-cta {
    position: relative;
    background: var(--hrsf-gradient-orange);
    padding: 100px 20px;
    overflow: hidden;
}

/* Reuse Floating Shapes */
.hrsf-cta .hrsf-hero-shapes {
    opacity: 0.5;
}

/* Radial Overlay */
.hrsf-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.hrsf-cta-container {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hrsf-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
}

.hrsf-cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 40px !important;
    margin-block-end: 40px !important;
    line-height: 1.8;
}

/* CTA Button - SAUBER */
.hrsf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 22px 50px;
    background: white;
    color: var(--hrsf-orange) !important;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: var(--hrsf-transition);
}

.hrsf-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Trust Badges */
.hrsf-cta-trust {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hrsf-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
}

.hrsf-trust-item i {
    font-size: 1.25rem;
    color: var(--hrsf-orange-pale);
}

/* ===========================================
   SEKTION 6: FAQ - ACCORDION (DUNKELBLAU)
   =========================================== */
.hrsf-faq {
    background: var(--hrsf-dark) !important;
    padding: 100px 20px;
    position: relative;
}

.hrsf-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(11, 25, 51, 0.8) 0%, transparent 100%);
    pointer-events: none;
}

.hrsf-faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hrsf-faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.hrsf-section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--hrsf-orange);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hrsf-faq-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 700;
    color: var(--hrsf-white) !important;
    margin-bottom: 20px;
}

.hrsf-faq-intro {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* FAQ List */
.hrsf-faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* FAQ Item - DUNKELBLAU ERZWINGEN */
.hrsf-faq-item {
    position: relative;
    background: linear-gradient(135deg, #0B1933 0%, #1A2B44 100%) !important;
    border-radius: var(--hrsf-radius) !important;
    transition: var(--hrsf-transition);
    box-shadow: 0 8px 32px rgba(11, 25, 51, 0.3);
    z-index: 1;
    overflow: hidden;
    border: none !important;
}

/* Gradient Border Effect - NUR OBEN */
.hrsf-faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--hrsf-radius) var(--hrsf-radius) 0 0;
    background: linear-gradient(90deg, var(--hrsf-blue) 0%, var(--hrsf-orange) 50%, var(--hrsf-blue) 100%) !important;
    z-index: 10;
}

/* KEIN HOVER-EFFEKT der die Farbe ändert */
.hrsf-faq-item:hover {
    box-shadow: 0 12px 40px rgba(11, 25, 51, 0.5);
    background: linear-gradient(135deg, #0B1933 0%, #1A2B44 100%) !important;
}

/* ::after entfernen falls vorhanden */
.hrsf-faq-item::after {
    display: none !important;
    content: none !important;
}

/* FAQ Trigger Button */
.hrsf-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: var(--hrsf-transition);
    border-radius: var(--hrsf-radius);
}

.hrsf-faq-trigger:hover {
    background: rgba(82, 114, 197, 0.15) !important;
}

.hrsf-faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--hrsf-white) !important;
    line-height: 1.4;
    padding-right: 20px;
}

.hrsf-faq-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hrsf-gradient-orange) !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 1.4rem;
    font-weight: 300;
    transition: var(--hrsf-transition);
}

.hrsf-faq-trigger[aria-expanded="true"] .hrsf-faq-icon {
    transform: rotate(45deg);
}

/* FAQ Content */
.hrsf-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: transparent !important;
}

.hrsf-faq-content.hrsf-open {
    max-height: 500px;
}

.hrsf-faq-content p {
    padding: 0 28px 25px;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85) !important;
    background: transparent !important;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1200px) {

    .hrsf-funktionen-grid,
    .hrsf-loesungen-grid,
    .hrsf-branchen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .hrsf-infocards-grid {
        grid-template-columns: 1fr;
    }

    .hrsf-info-card {
        height: auto;
        min-height: 420px;
    }

    /* Icon auf Mobile: NICHT absolut, sondern im Fluss ÜBER der Überschrift */
    .hrsf-info-icon {
        position: static;
        margin-bottom: 20px;
    }

    /* Content neu strukturieren für Mobile */
    .hrsf-info-content {
        padding: 30px 25px 25px 25px;
        justify-content: flex-start;
    }

    .hrsf-info-content h3 {
        font-size: 1.3rem !important;
    }

    .hrsf-info-content p {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 768px) {
    .hrsf-hero {
        padding: 80px 20px 70px;
        min-height: auto;
    }

    .hrsf-funktionen-grid,
    .hrsf-loesungen-grid,
    .hrsf-branchen-grid {
        grid-template-columns: 1fr;
    }

    .hrsf-hero-benefits {
        flex-direction: column;
        align-items: center;
    }

    .hrsf-benefit-pill {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }

    .hrsf-cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .hrsf-funktion-card {
        min-height: auto;
        padding: 24px 18px 20px;
    }

    /* SEKTION 2: Mobile Typography - isoliert */
    section.hrsf-funktionen .hrsf-funktion-card h3 {
        font-size: 1.1rem !important;
    }

    section.hrsf-funktionen .hrsf-funktion-card p {
        font-size: 0.95rem !important;
        line-height: 1.6;
        margin-bottom: 20px !important;
        margin-block-end: 20px !important;
    }

    .hrsf-funktion-btn {
        font-size: 0.85rem !important;
        padding: 10px 20px;
    }

    section.hrsf-loesungen .hrsf-loesung-card {
        padding: 30px 20px 70px;
    }

    /* SEKTION 4: Mobile Typography - isoliert */
    section.hrsf-loesungen .hrsf-loesung-card h3 {
        font-size: 1.15rem !important;
    }

    section.hrsf-loesungen .hrsf-loesung-card p {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
        margin-block-end: 20px !important;
    }

    .hrsf-loesung-btn {
        font-size: 0.9rem !important;
        padding: 12px 24px;
    }

    /* SEKTION 5: Mobile Typography - isoliert */
    section.hrsf-branchen .hrsf-branche-tile h3 {
        font-size: 1rem !important;
    }

    section.hrsf-branchen .hrsf-branche-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .hrsf-branche-tag {
        font-size: 0.9rem !important;
        padding: 10px 18px;
    }
}

@media (max-width: 480px) {
    .hrsf-hero h1 {
        font-size: 1.8rem;
    }

    .hrsf-hero-cta,
    .hrsf-cta-btn {
        padding: 18px 35px;
        font-size: 1rem;
    }

    .hrsf-flip-card {
        height: 340px;
    }
}

/* ===========================================
   FAQ MOBILE FIX - Text Umbruch & Icon sichtbar
   =========================================== */
@media (max-width: 768px) {
    .hrsf-faq-item {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .hrsf-faq-trigger {
        padding: 18px 15px !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }

    .hrsf-faq-question {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        font-size: 0.95rem !important;
        padding-right: 10px !important;
        white-space: normal !important;
    }

    .hrsf-faq-icon {
        flex-shrink: 0 !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 1.2rem !important;
    }

    .hrsf-faq-content p {
        padding: 0 15px 20px !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .hrsf-faq-trigger {
        padding: 15px 12px !important;
    }

    .hrsf-faq-question {
        font-size: 0.9rem !important;
        line-height: 1.35 !important;
    }

    .hrsf-faq-icon {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        font-size: 1rem !important;
    }
}

/* ===========================================
   SEKTION 5B: TESTIMONIALS - KUNDENSTIMMEN
   Technik: Glassmorphism Cards
   =========================================== */
.hrsf-testimonials {
    background: linear-gradient(180deg, white 0%, var(--hrsf-gray-light) 100%);
    padding: 100px 20px;
    position: relative;
}

.hrsf-testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hrsf-testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.hrsf-testimonials-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 700;
    color: var(--hrsf-dark);
    margin-bottom: 15px;
}

.hrsf-testimonials-intro {
    font-size: 1.05rem;
    color: var(--hrsf-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Testimonials Grid */
.hrsf-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Testimonial Card */
.hrsf-testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(82, 114, 197, 0.15);
    border-radius: var(--hrsf-radius);
    padding: 35px 30px;
    transition: var(--hrsf-transition);
    display: flex;
    flex-direction: column;
}

.hrsf-testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(82, 114, 197, 0.15);
}

.hrsf-testimonial-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* 5 Sterne */
.hrsf-testimonial-stars {
    margin-bottom: 20px;
    color: #FFB400;
    font-size: 14px;
}

.hrsf-testimonial-stars i {
    margin-right: 3px;
}

/* Zitat-Text */
.hrsf-testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hrsf-gray);
    margin-bottom: 25px;
    flex-grow: 1;
    font-style: italic;
}

/* Author */
.hrsf-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(82, 114, 197, 0.1);
}

.hrsf-author-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(82, 114, 197, 0.2);
}

.hrsf-author-info {
    display: flex;
    flex-direction: column;
}

.hrsf-author-name {
    font-weight: 600;
    color: var(--hrsf-dark);
    font-size: 15px;
}

.hrsf-author-role {
    font-size: 13px;
    color: var(--hrsf-gray);
}

/* Responsive Testimonials */
@media (max-width: 992px) {
    .hrsf-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .hrsf-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hrsf-testimonials {
        padding: 60px 15px;
    }

    .hrsf-testimonials-header {
        margin-bottom: 40px;
    }

    .hrsf-testimonial-card {
        padding: 25px 20px;
    }
}