/* ===== Global Styles & Variables ===== */
:root {
    /* Colors */
    --unicBlue: #334057;
    --unicOrange: #e83181;
    --unicLightOrange: #e83181;
    --unicLightBlue: #aa3791;
    --unicGradient: linear-gradient(135deg, var(--unicOrange) 0%, var(--unicLightBlue) 100%);
    --accentGradient: linear-gradient(45deg, var(--unicLightBlue), var(--unicOrange));
    --light-bg: #0a0f1c;
    /* Dark base background */
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --white: #131b2f;
    /* Cards now use dark surface */
    --pure-white: #ffffff;
    --dark-surface: #131b2f;

    /* Spacing System (8px Grid) */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.25rem;
    /* 20px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-10: 2.5rem;
    /* 40px */
    --space-12: 3rem;
    /* 48px */
    --space-16: 4rem;
    /* 64px */
    --space-20: 5rem;
    /* 80px */
    --space-24: 6rem;
    /* 96px */
    --space-32: 8rem;
    /* 128px */

    /* UI Elements */
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --radius-sm: 0.5rem;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -10px rgba(51, 64, 87, 0.15);
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Custom Scrollbar */
html {
    scrollbar-width: thin !important;
    scrollbar-color: var(--unicOrange) #e2e8f0 !important;
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

/* Webkit-Scrollbar (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px !important;
}

::-webkit-scrollbar-track {
    background: #f8fafc8e !important;
    /* Sehr helles bläuliches Off-White */
    border-left: 1px solid var(--border-color) !important;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--unicOrange), var(--unicLightBlue)) !important;
    border-radius: 100px !important;
    /* Erzeugt den schlanken Look durch dicken Rand in Track-Farbe */
    border: 3px solid #f8fafc !important;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.486) !important;
    transition: all var(--transition-fast) !important;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--unicBlue) !important;
    border-width: 2px !important;
    /* Wirkt beim Hover minimal dicker/präsenter */
}

::-webkit-scrollbar-thumb:active {
    background: #d97706 !important;
    /* Satterer Orange-Ton beim Ziehen */
}

body {
    font-family: 'Barlow', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4 {
    color: var(--unicOrange);
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

p {
    margin-bottom: var(--space-4);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
}

/* ===== Animations ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Navigation (Glassmorphism & Sticky) ===== */
.navbar {
    background: rgba(51, 64, 87, 0.98);
    /* Almost solid for readability */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-6) 0;
    /* Larger initial padding */
    position: fixed;
    /* Permanently sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-normal), padding var(--transition-fast), box-shadow var(--transition-fast), border var(--transition-fast);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Theme: Light (for white backgrounds) */
.navbar.nav-light {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.nav-light .nav-links a {
    color: var(--unicOrange);
}

.navbar.nav-light .logo-white {
    display: none;
}

.navbar.nav-light .logo-colored {
    display: block;
}

/* Scrolled State Overrides (Glassmorphism) */
.navbar.scrolled {
    padding: var(--space-4) 0;
}

.navbar.nav-light.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px) saturate(190%);
    -webkit-backdrop-filter: blur(18px) saturate(190%);
    box-shadow: 0 4px 24px rgba(51, 64, 87, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    /* Match container */
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-transform: uppercase;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 60px !important;
    /* Force larger size */
    width: auto;
    /* Prevent distortion */
    transition: height var(--transition-fast);
}

.navbar.scrolled .logo img {
    height: 50px !important;
    /* Slightly smaller on scroll */
}

/* Prevent Content Jump due to fixed header */
body {
    padding-top: 100px;
    /* Approx header height + padding */
}

.nav-links {
    display: flex;
    gap: var(--space-8);
    list-style: none;
    align-items: center;
    height: 100%;
}

.nav-links a {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
    /* Symmetrisches Padding für alle Links */
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--unicGradient);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--unicBlue) !important;
    text-shadow: 0 0 10px rgba(243, 152, 105, 0.3);
    background-color: var(--light-bg);
}

.nav-links a.active:hover {
    color: var(--unicBlue) !important;
    text-shadow: 0 0 10px rgba(243, 152, 105, 0.3);
    background-color: var(--pure-white);
}

/* Nav links color is now handled by theme classes */

.nav-links .cta-button {
    background: var(--unicGradient);
    color: var(--pure-white) !important;
    padding: var(--space-3) var(--space-6) !important;
    /* Spezifität erzwingen */
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px #e83181;
    transition: transform var(--transition-fast),
        box-shadow var(--transition-fast) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    align-self: center;
}

.stat-label {
    color: var(--pure-white);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px #e83181;
}

.cta-button::after {
    display: none;
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
    display: none;
    /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 1001;
    /* Above mobile menu overlay */
    flex-direction: column;
    gap: 6px;
    transition: transform var(--transition-fast);
}

.hamburger-bar {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--pure-white);
    border-radius: 4px;
    transition: all var(--transition-medium);
    transform-origin: center;
}

/* Color adaptation for light nav theme */
.navbar.nav-light .hamburger-bar {
    background-color: var(--unicOrange);
}

/* Active/Hover states for hamburger bars */
.mobile-nav-toggle:hover .hamburger-bar {
    background: var(--unicGradient);
}

/* Animation to 'X' */
.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== Hero Section (Immersive) ===== */
.hero {
    min-height: 100vh;
    padding: var(--space-32) 0 var(--space-16);
    background: transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Removed fluid orbs for serious technical look */

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Takes full width on mobile or is restricted by side image on desktop */
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /* Above side image */
}

.hero-side-image {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 50%;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    z-index: 1;
    clip-path: none;
}

.hero-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

/*.hero:hover .hero-side-image img {
    transform: scale(1.05);
}*/

.hero-claim-img {
    max-width: 90%;
    margin-bottom: var(--space-8);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--pure-white);
    margin-bottom: var(--space-6);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero-content {
    max-width: 48%;
    /* Ensure text doesn't overlap the side image */
    position: relative;
    z-index: 10;
    /* Above fingerprint */
}

.hero-content::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -90%;
    /* Moved further left as requested */
    /* Move further to the corner to avoid text overlap */
    width: 450px;
    height: 450px;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
    /* Low z-index */
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--unicBlue);
    margin-bottom: var(--space-8);
    letter-spacing: -0.5px;
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    border-left: 3px solid var(--unicBlue);
    padding-left: var(--space-6);
    margin-bottom: var(--space-12);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    padding: var(--space-6);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Old hero image styles removed as we now use .hero-side-image */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--white), var(--unicLightBlue));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--space-2);
}

/* ===== Intro Section (Refined) ===== */
.intro {
    padding: var(--space-24) 0;
    background: var(--white);
    position: relative;
    z-index: 2;
    /* Sit above fixed backgrounds if any */
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--space-8);
    line-height: 1.8;
}

.intro h3 {
    font-size: 2rem;
    margin-top: var(--space-12);
    margin-bottom: var(--space-6);
}

.highlight-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
    width: 100%;
}

.highlight-list li {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    color: var(--unicOrange);
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-list li::before {
    display: none;
}

.highlight-list li:hover {
    border-color: var(--unicBlue);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    color: var(--unicBlue);
}

/* ===== Services Section (Accordion Style) ===== */
.services {
    padding: var(--space-24) 0 var(--space-24) 0;
    background: var(--light-bg);
    position: relative;
}

.services::before {
    /* Optional subtle gradient background similar to Hero/Footer atmosphere */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at top left, #edf2f7 0%, transparent 40%);
    pointer-events: none;
}

.services-accordion {
    max-width: 800px;
    margin: var(--space-12) auto 0;
}

.service-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin-bottom: var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.service-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.service-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--unicOrange);
    font-family: 'Barlow', sans-serif;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.service-header:hover {
    color: var(--unicBlue);
    background: rgba(243, 152, 105, 0.03);
}

/* Service Icons in Header */
.service-icon-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.service-toggle-icon {
    font-size: 1.5rem;
    color: var(--unicLightBlue);
    transition: transform var(--transition-fast);
}

.service-header[aria-expanded="true"] .service-toggle-icon {
    transform: rotate(45deg);
    color: var(--unicBlue);
}


.service-content {
    padding: 0 var(--space-6) var(--space-6) var(--space-6);
    color: var(--text-color);
    line-height: 1.7;
    border-top: 1px solid var(--border-color);
    display: none;
    font-family: 'Barlow', sans-serif;
    animation: fadeInUp 0.35s ease-out;
}

/* ===== Scientific Section (Card Restructure) ===== */
.scientific {
    padding: var(--space-32) 0;
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.scientific::before {
    content: '';
    position: absolute;
    top: 5%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: url('../../Grafiken/UNIC-Fingerabdruck-orange.png') no-repeat center center;
    background-size: contain;
    opacity: 1;
    transform: rotate(20deg);
    pointer-events: none;
    z-index: 1;
    /* Behind container content */
}

.scientific .container {
    max-width: 900px;
    position: relative;
    z-index: 10;
    /* In front of fingerprint */
}

/* Floating Orb for Depth */
.scientific::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(var(--unicLightBlue) 0%, transparent 60%);
    opacity: 0.1;
    pointer-events: none;
}

.scientific-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns for detailed info */
    gap: var(--space-10);
    margin-top: var(--space-12);
    text-align: left;
    /* Better readability */
}

@media (max-width: 768px) {
    .scientific-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

.scientific-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-fast);
}

.scientific-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.scientific-card h3 {
    color: var(--unicBlue);
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.scientific-card h3::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--unicGradient);
}

.scientific-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
}

.scientific-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--space-12);
}

.scientific-intro h2 {
    color: var(--pure-white);
    font-size: 2.5rem;
    margin-bottom: var(--space-6);
}

.scientific-intro p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    line-height: 2;
    max-width: 680px;
    margin: 0 auto;
}

/* Keypoints aus Scientific-Text */
.scientific-keypoints {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.scientific-keypoint {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 3px solid var(--unicBlue);
    border-radius: var(--radius-md);
    padding: var(--space-6) var(--space-6);
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.scientific-keypoint:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.scientific-keypoint-icon {
    font-size: 1.8rem;
    margin-bottom: var(--space-3);
    display: block;
}

.scientific-keypoint p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .scientific-keypoints {
        grid-template-columns: 1fr;
    }
}

/* ===== Team Section (Landscape Grid) ===== */
.team {
    padding: var(--space-24) 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.team::after {
    content: '';
    position: absolute;
    bottom: -5%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: url('../../Grafiken/UNIC-Fingerabdruck-orange.png') no-repeat center center;
    background-size: contain;
    opacity: 1;
    transform: rotate(15deg);
    pointer-events: none;
    z-index: 1;
}

.team .container {
    position: relative;
    z-index: 10;
}



.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns strict on Desktop/Tablet */
    gap: var(--space-8);
    margin-top: var(--space-12);
    align-items: stretch;
    /* Ensure equal height */
}

@media (max-width: 900px) {

    /* Switch to 1 column on smaller tablets/mobile */
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-member {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: left;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    /* Changed to vertical layout */
    align-items: stretch;
    gap: 0;
    /* Gap handled by padding in content col */
    padding: 0;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(84, 136, 199, 0.2);
    /* Subtle highlight */
}

.team-image-col {
    flex-shrink: 0;
    width: 100%;
    /* Full width for the card */
    aspect-ratio: 2 / 1;
    /* Half height: width is twice the height */
    min-width: auto;
    max-width: none;
    background: none;
    display: block;
    /* Simpler for image container */
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    /* Bottom border instead of right */
    position: relative;
    overflow: hidden;
}

.team-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-image-col span {
    /* Kept for fallback if needed, though removed from HTML */
    font-weight: 700;
    letter-spacing: -1px;
    font-size: 2.5rem;
    color: var(--unicLightBlue);
}

.team-content-col {
    flex-grow: 1;
    padding: var(--space-8);
    /* Balanced padding for vertical layout */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align text to top below image */
}

/* Gradient Header Strip - Adjust for landscape */
.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--unicGradient);
}

.team-member h3 {
    margin-bottom: var(--space-2);
    color: var(--unicOrange);
    font-size: 1.5rem;
    padding: 0;
}

.quote {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: var(--space-4);
    font-size: 0.95rem;
    border-left: 3px solid var(--unicBlue);
    padding-left: var(--space-3);
    padding-right: 0;
}

.team-member h4 {
    background: none;
    padding: 0;
    margin-top: var(--space-4);
    margin-bottom: var(--space-2);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--unicLightBlue);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.team-member ul {
    list-style: none;
    padding: 0;
    flex-grow: 1;
    font-size: 0.95rem;
}

.team-member li {
    margin-bottom: var(--space-1);
    color: var(--text-color);
    padding-left: var(--space-4);
    position: relative;
}

.team-member li::before {
    content: '•';
    color: var(--unicBlue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.social-link {
    display: block;
    text-align: center;
    padding: var(--space-4);
    background: var(--white);
    color: var(--unicOrange);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
    border-top: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--unicOrange);
    color: var(--pure-white);
}

/* ===== Events & Whitepaper (Card Harmony) ===== */
.events {
    padding: var(--space-24) 0;
    background: var(--white);
}

.event-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--unicLightBlue);
    transition: all var(--transition-fast);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-soft);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--unicBlue);
}

.event-card h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 1.15rem;
    color: var(--unicOrange);
    margin-bottom: var(--space-4);
    line-height: 1.4;
}

.event-card>p {
    font-family: 'Barlow', sans-serif;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Expand Button */
.expand-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: var(--space-2) var(--space-5);
    font-family: 'Barlow', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--unicLightBlue);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.expand-btn:hover {
    background: var(--unicLightBlue);
    color: var(--pure-white);
    border-color: var(--unicLightBlue);
    transform: translateY(-1px);
}

.expandable-content {
    font-family: 'Barlow', sans-serif;
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-4);
    margin-top: var(--space-2);
    animation: fadeInUp 0.35s ease-out;
}

.expandable-content ul {
    list-style: none;
    padding: 0;
}

.expandable-content li {
    padding: var(--space-2) 0 var(--space-2) var(--space-6);
    position: relative;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.expandable-content li:last-child {
    border-bottom: none;
}

.expandable-content li::before {
    content: '→';
    color: var(--unicBlue);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.event-date {
    background: var(--light-bg);
    padding: var(--space-4);
    border-radius: var(--radius-sm);
    margin: var(--space-6) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    border: 1px solid transparent;
}

.event-card:hover .event-date {
    border-color: var(--border-color);
}

.event-btn {
    background: var(--unicOrange);
    color: var(--pure-white);
    padding: var(--space-2) var(--space-4);
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.event-btn:hover {
    background: var(--unicGradient);
    transform: translateY(-1px);
}

.whitepaper-section {
    margin-top: var(--space-16);
    background: var(--light-bg);
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    text-align: center;
}

.whitepaper-section h3 {
    margin-bottom: var(--space-6);
}

.whitepaper-section ul {
    list-style: none;
    display: inline-flex;
    gap: var(--space-8);
    flex-wrap: wrap;
    justify-content: center;
}

.whitepaper-section li {
    background: var(--white);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    font-weight: 600;
    color: var(--unicOrange);
    border: 1px solid var(--border-color);
}

.middle {
    background: var(--unicGradient);
}

/* ===== CTA Section (Final Push) ===== */
.cta-section {
    padding: var(--space-32) 0;
    text-align: center;
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.cta-section .container::after {
    content: '';
    position: absolute;
    top: -20%;
    /* Move to top to avoid text overlap */
    left: -10%;
    width: 450px;
    height: 450px;
    background: url('../../Grafiken/UNIC-Fingerabdruck-white.png') no-repeat center center;
    background-size: contain;
    opacity: 1;
    transform: rotate(15deg);
    pointer-events: none;
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(var(--unicBlue) 0%, transparent 70%);
    opacity: 0.08;
    border-radius: 50%;
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 10;
}

.cta-section h2 {
    color: var(--pure-white);
    font-size: 3.5rem;
    margin-bottom: var(--space-6);
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.cta-section .button-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--unicGradient);
    color: var(--pure-white);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1.1rem 3rem;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(243, 152, 105, 0.45), 0 0 0 0 rgba(243, 152, 105, 0.4);
    margin-top: var(--space-10);
    transition: all var(--transition-fast);
    text-decoration: none;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.cta-section .button-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 40px rgba(243, 152, 105, 0.55), 0 0 0 6px rgba(243, 152, 105, 0.15);
    background: var(--unicGradient);
}

.cta-section .button-primary:active {
    transform: translateY(-1px) scale(1.01);
}

.cta-section .button-primary:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

/* ===== Contact Section (Premium Two-Column) ===== */
.contact {
    padding: var(--space-24) 0;
    background: #e8eef5;
    position: relative;
    overflow: hidden;
}

.contact::after {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: url('../../Grafiken/UNIC-Fingerabdruck-orange.png') no-repeat center center;
    background-size: contain;
    opacity: 1;
    transform: rotate(-25deg);
    pointer-events: none;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--unicBlue);
    margin-bottom: var(--space-4);
    border-left: 3px solid var(--unicBlue);
    padding-left: var(--space-3);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-6);
    line-height: 1.15;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--space-8);
    max-width: 420px;
}

.contact-details {
    list-style: none;
    margin-bottom: var(--space-10);
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    color: var(--text-color);
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-detail-icon {
    font-size: 1.2rem;
    color: var(--unicLightBlue);
    flex-shrink: 0;
}

.contact-details a {
    color: var(--unicOrange);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-details a:hover {
    color: var(--unicBlue);
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--unicGradient);
    color: var(--pure-white) !important;
    font-size: 1rem;
    font-weight: 700;
    padding: var(--space-4) var(--space-8);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(51, 64, 87, 0.25);
    transition: all var(--transition-fast);
}

.contact-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(51, 64, 87, 0.35);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-10);
    box-shadow: 0 20px 60px rgba(51, 64, 87, 0.1), 0 4px 16px rgba(51, 64, 87, 0.06);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--unicLightBlue);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
    color: var(--unicOrange);
}

.contact-form-sub {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .contact-info p {
        max-width: 100%;
    }
}

/* ===== Booking Section (New) ===== */
.booking {
    padding: var(--space-24) 0;
    background: var(--white);
    position: relative;
}


.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.booking-info h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-6);
}

.booking-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--space-8);
}

.booking-features {
    list-style: none;
}

.booking-features li {
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
    position: relative;
    font-weight: 500;
    color: var(--unicOrange);
}

.booking-features li::before {
    content: '✓';
    color: var(--unicLightBlue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.booking-form-card {
    background: var(--light-bg);
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--unicOrange);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1px solid rgba(200, 200, 200, 0.5);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--unicLightBlue);
    box-shadow: 0 0 0 3px rgba(84, 136, 199, 0.1);
}

.form-input.error {
    border-color: #ef4444;
    animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

.error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

.btn-submit {
    width: 100%;
    background: var(--unicOrange);
    color: var(--pure-white);
    font-weight: 700;
    padding: var(--space-4);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
    margin-top: var(--space-4);
    box-shadow: var(--shadow-soft);
}

.btn-submit:hover {
    background: var(--unicGradient);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.success-message {
    text-align: center;
    padding: var(--space-10);
    display: none;
}

.success-icon {
    font-size: 4rem;
    color: var(--unicLightBlue);
    margin-bottom: var(--space-4);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== FAQ Section (Accordion) ===== */
.faq {
    padding: var(--space-24) 0;
    background: var(--unicGradient);
}

.faq-item {
    margin-bottom: var(--space-4);
    border: none;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    width: 100%;
    padding: var(--space-6) var(--space-8);
    background: var(--white);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--unicOrange);
    transition: all var(--transition-fast);
    text-align: left;
    font-family: 'Barlow', sans-serif;
}

.faq-question:hover {
    color: var(--unicBlue);
    background: #fdfdfd;
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--unicLightBlue);
    transition: transform var(--transition-fast), color var(--transition-fast);
    font-weight: 300;
    flex-shrink: 0;
    margin-left: var(--space-4);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    color: var(--unicBlue);
}

.faq-answer {
    padding: 0 var(--space-8) var(--space-6);
    color: var(--text-color);
    line-height: 1.8;
    background: var(--white);
    font-family: 'Barlow', sans-serif;
    border-top: 1px solid var(--border-color);
    animation: fadeInUp 0.35s ease-out;
}

/* ===== Footer (Grid Structure) ===== */
.footer {
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    padding: var(--space-16) 0 var(--space-8);
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* 3 Columns */
    gap: var(--space-12);
    align-items: start;
}

.footer p {
    margin-bottom: var(--space-4);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    /* Stack vertically in column */
    gap: var(--space-3);
    align-items: flex-start;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

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

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 2000px) {
    .contact::after {
        opacity: 0;
    }
}

@media (max-width: 1824px) {
    .container {
        padding: 0 var(--space-6);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-10);
    }

    .hero-text {
        border-left: none;
        border-top: 3px solid var(--unicBlue);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .hero-main-image {
        transform: none;
    }

    /* Fingerprint opacity reduction for mobile/tablets */
    .hero-content::after,
    .scientific::before,
    .team::after,
    .cta-section .container::after,
    .contact::after {
        opacity: 0.2;
    }

    .hero-content::after {
        opacity: 0;
    }

    .service-card:nth-child(even),
    .service-card:nth-child(odd) {
        margin: 0;
    }

    .highlight-list {
        grid-template-columns: 1fr;
    }

    .footer .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-8);
    }

    .footer-links {
        align-items: center;
    }

    /* Mobile Navigation Overlay */
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgb(255, 255, 255);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-8);
        padding: var(--space-20) var(--space-8);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    /* Dark theme adaptation for mobile menu */
    .navbar.nav-dark .nav-links {
        background: rgba(51, 64, 87, 0.98);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--unicOrange) !important;
        width: 100%;
        text-align: center;
        padding: var(--space-4) 0;
    }

    .navbar.nav-dark .nav-links a {
        color: var(--pure-white) !important;
    }

    .nav-links a:hover {
        color: var(--unicBlue) !important;
    }

    .nav-links .cta-button {
        width: 100%;
        margin-top: var(--space-4);
        padding: var(--space-5) !important;
    }

    /* Disable some desktop-only hover effects */
    .nav-links a::after {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
        /* Reduced for mobile to fit navbar */
    }

    .hero {
        padding-top: 0;
    }

    .intro h2,
    .services h2 {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Specific Styles */
.contact-hero {
    background: var(--unicOrange);
    color: var(--pure-white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(84, 136, 199, 0.15) 0%, transparent 70%);
}

.contact-card-list {
    margin-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-detail-card {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-detail-card .contact-detail-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--unicOrange);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Responsive Adjustments for Hero */
@media (max-width: 1024px) {
    .hero {
        padding-top: 0 !important;
        flex-direction: column;
        justify-content: flex-start;
        min-height: auto;
    }

    .hero-side-image {
        position: relative;
        width: 100%;
        height: 50vh;
        top: 0;
        right: 0;
        bottom: auto;
        clip-path: none;
        border: none;
        margin-bottom: var(--space-4);
        order: -1;
        /* Image on top for mobile */
    }

    .hero-side-image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 30%;
        background: linear-gradient(to top, var(--light-bg) 0%, transparent 100%);
        pointer-events: none;
    }

    .hero-grid {
        padding: 0 var(--space-4);
    }

    .hero-content {
        max-width: 100%;
    }

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

/* ===== Background Fingerprint Decoration ===== */
.bg-fingerprint {
    position: absolute;
    width: 500px;
    height: auto;
    opacity: 0.1;
    /* Adjusted for dark theme visibility */
    pointer-events: none;
    z-index: 0;
    /* Ensure it is above the background grid */
    mix-blend-mode: screen;
    transition: transform 1s ease;
}

.fp-1 {
    top: -5%;
    left: -5%;
    transform: rotate(-15deg);
    width: 550px;
}

.fp-2 {
    bottom: -10%;
    right: -5%;
    transform: rotate(25deg);
    width: 650px;
}

.fp-3 {
    top: 30%;
    right: -8%;
    transform: rotate(-12deg);
    width: 600px;
}

.fp-4 {
    bottom: 10%;
    left: -10%;
    transform: rotate(40deg);
    width: 550px;
}

.fp-5 {
    top: 15%;
    left: 15%;
    transform: rotate(-45deg);
    opacity: 0.03;
    width: 450px;
}

/* Icon adjustments for replaced emojis */
.service-card-icon img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    display: block;
    margin: 0 auto var(--space-4) 0;
}

.chance-icon-col img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.fp-termin {
    top: 20%;
    right: -10%;
    transform: rotate(-30deg);
    width: 500px;
    opacity: 0.05;
}

@media (max-width: 768px) {
    .bg-fingerprint {
        width: 350px;
        opacity: 0.04;
    }

    .fp-1 {
        top: 0;
        left: -10%;
    }

    .fp-2 {
        bottom: 0;
        right: -10%;
    }

    .fp-termin {
        top: 10%;
        right: -15%;
    }
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 460px;
    background: rgba(19, 27, 47, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--unicOrange);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    z-index: 9999;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.5), 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-family: 'Barlow', sans-serif;
}

@keyframes slideUp {
    from {
        transform: translateY(120%) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.cookie-content h4 {
    color: var(--pure-white);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.cookie-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.6;
}

.cookie-content a {
    color: var(--unicOrange);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-content a:hover {
    color: var(--pure-white);
}

.cookie-options {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
    width: 100%;
}

.btn-cookie {
    background: var(--unicGradient);
    color: var(--pure-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    text-align: center;
}

.btn-cookie:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(232, 49, 129, 0.4);
}

.btn-cookie-outline {
    background: transparent;
    color: var(--unicOrange);
    border: 2px solid var(--unicOrange);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}

.btn-cookie-outline:hover {
    background: var(--unicOrange);
    color: var(--pure-white);
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--dark-surface);
    transition: all var(--transition-fast);
    position: relative;
    margin-top: 2px;
}

.cookie-option input:checked+.cookie-checkmark {
    background: var(--unicOrange);
    border-color: var(--unicOrange);
}

.cookie-option input:disabled+.cookie-checkmark {
    background: var(--border-color);
    border-color: var(--text-light);
    cursor: not-allowed;
}

.cookie-option input:checked+.cookie-checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: 2px solid var(--pure-white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.cookie-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--pure-white);
}

.cookie-text span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
        padding: 1.5rem;
    }

    .cookie-content h4 {
        text-align: center;
    }

    .cookie-options {
        padding: 1.2rem;
    }

    .btn-cookie,
    .btn-cookie-outline {
        padding: 0.8rem 1.5rem;
    }
}