:root {
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    min-height: 100vh;
    color: white;
    transition: background 0.8s ease;
}

.mode-professional {
    background: linear-gradient(135deg, var(--slate-900) 0%, #1e293b 100%);
}

.mode-private {
    background: linear-gradient(135deg, #0f172a 0%, #312e81 100%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.profile-glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.text-slate-400 { color: var(--slate-400); }
.text-slate-300 { color: var(--slate-300); }
.text-slate-500 { color: var(--slate-500); }

.bg-slate-800 { background-color: var(--slate-800); }

.bg-slate-500-20 { background-color: rgba(100, 116, 139, 0.2); }
.bg-blue-700-20 { background-color: rgba(29, 78, 216, 0.2); }
.bg-white-10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-purple-600-20 { background-color: rgba(124, 58, 237, 0.2); }
.bg-blue-600-20 { background-color: rgba(37, 99, 235, 0.2); }
.bg-pink-500-20 { background-color: rgba(236, 72, 153, 0.2); }
.bg-slate-200-10 { background-color: rgba(226, 232, 240, 0.1); }
.bg-red-600-20 { background-color: rgba(220, 38, 38, 0.2); }
.bg-orange-600-20 { background-color: rgba(234, 88, 12, 0.2); }
.bg-teal-600-20 { background-color: rgba(13, 148, 136, 0.2); }

.group:hover .group-hover-bg-slate-500-30 { background-color: rgba(100, 116, 139, 0.3); }
.group:hover .group-hover-bg-blue-700-30 { background-color: rgba(29, 78, 216, 0.3); }
.group:hover .group-hover-bg-white-20 { background-color: rgba(255, 255, 255, 0.2); }
.group:hover .group-hover-bg-purple-600-30 { background-color: rgba(124, 58, 237, 0.3); }
.group:hover .group-hover-bg-blue-600-30 { background-color: rgba(37, 99, 235, 0.3); }
.group:hover .group-hover-bg-pink-500-30 { background-color: rgba(236, 72, 153, 0.3); }
.group:hover .group-hover-bg-slate-200-20 { background-color: rgba(226, 232, 240, 0.2); }
.group:hover .group-hover-bg-red-600-30 { background-color: rgba(220, 38, 38, 0.3); }
.group:hover .group-hover-bg-orange-600-30 { background-color: rgba(234, 88, 12, 0.3); }
.group:hover .group-hover-bg-teal-600-30 { background-color: rgba(13, 148, 136, 0.3); }

.custom-logo-container {
    position: fixed;
    bottom: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    transform: rotate(12deg);
}

/* Subtle Nav Arrows */
.nav-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    z-index: 50;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    user-select: none;
    padding: 1rem;
    min-width: 80px;
    background: transparent;
    border: none;
    outline: none;
}

.nav-arrow:focus-visible {
    color: rgba(255, 255, 255, 1);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
    border-radius: 8px;
}

.nav-arrow:hover {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .nav-arrow {
        min-width: 60px;
        padding: 0.5rem;
    }
    .nav-arrow i {
        font-size: 1.75rem;
    }
    .nav-arrow i:last-child {
        font-size: 0.85rem;
    }
}


.content-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.content-slider {
    display: flex;
    width: 200%;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.content-section {
    width: 50%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.mode-professional .nav-arrow-left {
    visibility: hidden;
    pointer-events: none;
}

.mode-private .nav-arrow-right {
    visibility: hidden;
    pointer-events: none;
}

.mode-professional .content-slider {
    transform: translateX(0);
}

.mode-private .content-slider {
    transform: translateX(-50%);
}

/* Mode Toggle Pill Styles */
.mode-toggle-pill {
    min-width: 240px;
}

.mode-toggle-pill:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
}

.mode-toggle-slider {
    height: calc(100% - 8px);
    width: calc(50% - 4px);
    top: 4px;
    left: 4px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mode-professional .mode-toggle-slider {
    transform: translateX(0);
}

.mode-private .mode-toggle-slider {
    transform: translateX(100%);
}

.mode-professional .mode-toggle-pill div:nth-child(2) {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.mode-private .mode-toggle-pill div:nth-child(3) {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.mode-toggle-pill div {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

/* Footer Visibility Adjustment */
.footer-text {
    color: rgba(100, 116, 139, 0.65); /* Erhöhte Sichtbarkeit von 0.4 auf 0.65 */
    transition: color 0.3s ease;
}

.footer-text:hover {
    color: rgba(100, 116, 139, 1.0);
}

/* Sticky mobile footer + dynamic viewport fix */
@supports (height: 100dvh) {
    body {
        min-height: 100dvh;
    }
}

@media (max-width: 640px) {
    body {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .nav-arrow {
        min-width: 60px;
        padding: 0.5rem;
    }
    .nav-arrow i {
        font-size: 1.75rem;
    }
    .nav-arrow i:last-child {
        font-size: 0.85rem;
    }
}
