/* ==========================================================================
   DOMINIC PIRKLBAUER - PORTFOLIO & CV
   Modern Glassmorphism Design System 2.0
   ========================================================================== */

/* --- 1. DESIGN TOKENS & CSS CUSTOM PROPERTIES --- */
:root {
    /* Color Palette - Dark Theme (Default) */
    --bg-base: #070b14;
    --bg-surface: rgba(15, 23, 42, 0.7);
    --bg-surface-elevated: rgba(26, 38, 66, 0.85);
    
    --card-bg: rgba(15, 23, 42, 0.65);
    --card-bg-hover: rgba(22, 34, 61, 0.8);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-hover: rgba(0, 240, 255, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* Vibrant Cyber / Neon Accents */
    --accent-cyan: #00f0ff;
    --accent-cyan-rgb: 0, 240, 255;
    --accent-emerald: #00ff9d;
    --accent-emerald-rgb: 0, 255, 157;
    --accent-violet: #a855f7;
    --accent-violet-rgb: 168, 85, 247;
    --accent-blue: #38bdf8;
    --accent-blue-rgb: 56, 189, 248;
    --accent-slate: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #00ff9d 100%);
    --gradient-text: linear-gradient(135deg, #00f0ff 0%, #38bdf8 45%, #00ff9d 100%);
    --gradient-violet: linear-gradient(135deg, #a855f7 0%, #00f0ff 100%);
    --gradient-laser: conic-gradient(transparent 0deg, transparent 270deg, #00f0ff 320deg, #00ff9d 360deg);
    
    /* Glassmorphism & Shadows */
    --glass-blur: 16px;
    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 240, 255, 0.02);
    --shadow-card-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 240, 255, 0.18);
    --shadow-glow-cyan: 0 0 25px rgba(0, 240, 255, 0.45);
    --shadow-glow-emerald: 0 0 25px rgba(0, 255, 157, 0.45);
    
    /* Typography */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Layout */
    --container-max: 1140px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Ambient Glow Colors */
    --ambient-1: rgba(0, 240, 255, 0.12);
    --ambient-2: rgba(0, 255, 157, 0.09);
    --ambient-3: rgba(168, 85, 247, 0.08);
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-base: #f3f6fc;
    --bg-surface: rgba(255, 255, 255, 0.85);
    --bg-surface-elevated: rgba(255, 255, 255, 0.98);
    
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-bg-hover: rgba(255, 255, 255, 0.92);
    --card-border: rgba(15, 23, 42, 0.08);
    --card-border-hover: rgba(2, 132, 199, 0.4);
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    --accent-cyan: #0284c7;
    --accent-cyan-rgb: 2, 132, 199;
    --accent-emerald: #059669;
    --accent-emerald-rgb: 5, 150, 105;
    --accent-violet: #7c3aed;
    --accent-violet-rgb: 124, 58, 237;
    --accent-blue: #0284c7;
    --accent-blue-rgb: 2, 132, 199;
    --accent-slate: #475569;
    
    --gradient-primary: linear-gradient(135deg, #0284c7 0%, #059669 100%);
    --gradient-text: linear-gradient(135deg, #0284c7 0%, #2563eb 45%, #059669 100%);
    --gradient-laser: conic-gradient(transparent 0deg, transparent 270deg, #0284c7 320deg, #059669 360deg);
    
    --shadow-card: 0 15px 35px -10px rgba(15, 23, 42, 0.08), 0 0 15px rgba(2, 132, 199, 0.03);
    --shadow-card-hover: 0 20px 45px -10px rgba(15, 23, 42, 0.16), 0 0 25px rgba(2, 132, 199, 0.12);
    --shadow-glow-cyan: 0 0 20px rgba(2, 132, 199, 0.3);
    --shadow-glow-emerald: 0 0 20px rgba(5, 150, 105, 0.3);
    
    --ambient-1: rgba(2, 132, 199, 0.08);
    --ambient-2: rgba(5, 150, 105, 0.06);
    --ambient-3: rgba(124, 58, 237, 0.05);
}

/* --- 2. BASE & RESET --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-base);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease;
    
    /* Modern Subtly Textured Background */
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0;
}

[data-theme="light"] body {
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

body.menu-open {
    overflow: hidden;
}

/* Custom Modern Scrollbar */
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 99px;
    border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}
[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin-bottom: 1rem;
}
p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* --- 3. BACKGROUND PARTICLES & AMBIENT GLOW ORBS --- */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--ambient-1);
    top: -150px;
    left: -150px;
}

.glow-2 {
    width: 550px;
    height: 550px;
    background: var(--ambient-2);
    bottom: 5%;
    right: -100px;
}

.glow-3 {
    width: 450px;
    height: 450px;
    background: var(--ambient-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-primary);
    z-index: 9999;
    box-shadow: 0 0 10px var(--accent-cyan);
    transition: width 0.1s ease-out;
}

/* --- 4. GLASSMORPHISM UTILITIES --- */
.glass-pill {
    background: var(--bg-surface);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 999px;
    box-shadow: var(--shadow-card);
}

.glass-card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    overflow: hidden;
}

/* Mouse cursor radial glow inside cards */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
        rgba(0, 240, 255, 0.08),
        transparent 40%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

[data-theme="light"] .glass-card::before {
    background: radial-gradient(
        600px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
        rgba(2, 132, 199, 0.06),
        transparent 40%
    );
}

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

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-border-hover);
    box-shadow: var(--shadow-card-hover);
}

.glass-card > * {
    position: relative;
    z-index: 2;
}

/* --- 5. FLOATING NAVBAR --- */
.navbar-wrapper {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.navbar-container {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 8px 16px 8px 24px;
    transition: var(--transition-smooth);
}

.navbar-wrapper.scrolled .navbar-container {
    padding: 6px 14px 6px 20px;
    background: var(--bg-surface-elevated);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Logo Brand */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #070b14;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: var(--shadow-glow-cyan);
    transition: var(--transition-bounce);
}

.brand-logo:hover .logo-badge {
    transform: rotate(-10deg) scale(1.1);
}

.accent-dot {
    color: var(--accent-cyan);
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 8px var(--accent-cyan);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Nav Actions (Theme Switcher + Mobile Button) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

[data-theme="light"] .icon-btn {
    background: rgba(0, 0, 0, 0.05);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: scale(1.08);
}

.icon-btn svg {
    width: 19px;
    height: 19px;
    transition: transform 0.4s ease;
}

/* Sun / Moon Icons toggle */
.sun-icon {
    display: none;
}
.moon-icon {
    display: block;
}

[data-theme="light"] .sun-icon {
    display: block;
}
[data-theme="light"] .moon-icon {
    display: none;
}

/* Hamburger Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--card-border);
    gap: 5px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.hamburger-btn .bar {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.hamburger-btn.active .bar-1 {
    transform: translateY(7px) rotate(45deg);
    background: var(--accent-cyan);
}
.hamburger-btn.active .bar-2 {
    opacity: 0;
    transform: translateX(-15px);
}
.hamburger-btn.active .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--accent-cyan);
}

/* --- 6. MOBILE NAVIGATION DRAWER --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: var(--bg-surface-elevated);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    z-index: 1999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 40px;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.mobile-nav-caption {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: var(--transition-smooth);
    padding: 8px 0;
}

.mobile-nav-link span {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--accent-cyan);
    font-weight: 400;
}

.mobile-nav-link:hover {
    color: var(--accent-cyan);
    transform: translateX(8px);
}

.mobile-contact-snippet {
    margin-top: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
    width: 100%;
}

.mobile-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

.mobile-contact-link:hover {
    color: var(--accent-cyan);
}

/* --- 7. HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px 20px;
    z-index: 10;
}

.hero-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

/* Left Hero Column */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 157, 0.08);
    border: 1px solid rgba(0, 255, 157, 0.25);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: statusPulse 2s infinite ease-in-out;
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-emerald);
    letter-spacing: 0.3px;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    background-size: 200% auto;
    animation: textGradientShimmer 6s linear infinite;
}

@keyframes textGradientShimmer {
    to { background-position: 200% center; }
}

.hero-typing-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    padding: 8px 18px;
    margin-bottom: 22px;
    max-width: 100%;
}

.typing-prefix {
    color: var(--accent-emerald);
    font-weight: 700;
}

.typing-text {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.typing-cursor {
    color: var(--accent-cyan);
    font-weight: 700;
    animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.role-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.role-tag {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 240, 255, 0.25);
}

.role-secondary {
    background: rgba(0, 255, 157, 0.08);
    color: var(--accent-emerald);
    border-color: rgba(0, 255, 157, 0.2);
}

.role-bonus {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-violet);
    border-color: rgba(168, 85, 247, 0.28);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 32px;
    line-height: 1.75;
}

/* Call to Action Buttons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    transition: var(--transition-bounce);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #070b14;
    box-shadow: 0 10px 25px -5px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px -5px rgba(0, 240, 255, 0.6);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .btn-secondary {
    background: rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
}

/* Quick Contact Chips */
.hero-contact-chips {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 480px;
}

.contact-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

[data-theme="light"] .contact-chip {
    background: rgba(0, 0, 0, 0.02);
}

.chip-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.chip-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.interactive-chip {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.chip-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-primary);
    flex-grow: 1;
}

.copy-hint {
    margin-left: auto;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.interactive-chip:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.4);
    transform: translateX(6px);
}

.interactive-chip:hover .chip-link {
    color: var(--accent-cyan);
}

.interactive-chip:hover .copy-hint {
    opacity: 1;
    background: var(--accent-cyan);
    color: #070b14;
}

/* Right Hero Column: Profile Card with Laser Border & 3D Tilt */
.hero-image-col {
    display: flex;
    justify-content: center;
}

.profile-card {
    position: relative;
    width: 320px;
    height: 440px;
    transition: transform 0.2s ease-out;
    transform-style: preserve-3d;
}

.laser-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    padding: 3px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), var(--shadow-glow-cyan);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
}

.laser-frame::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent 0deg,
        transparent 250deg,
        var(--accent-cyan) 310deg,
        var(--accent-emerald) 360deg
    );
    animation: spinLaser 4s linear infinite;
    z-index: 1;
}

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

.photo-inner {
    position: relative;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border-radius: 25px;
    overflow: hidden;
    background: #070b14;
    z-index: 2;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s ease;
}

.profile-card:hover .profile-img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(7, 11, 20, 0.7) 100%);
    pointer-events: none;
}

.card-caption-pill {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 22px;
    text-align: center;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.caption-name {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.caption-sub {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
}

/* --- 8. MAIN CONTENT LAYOUT --- */
.content-wrapper {
    position: relative;
    z-index: 10;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 40px 20px 100px 20px;
}

.section-container {
    margin-bottom: 120px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* --- 9. BENTO GRID (PROFIL) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.bento-card {
    display: flex;
    flex-direction: column;
}

.bento-span-2 {
    grid-column: span 2;
}

.bento-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
}

.icon-circle.accent-cyan {
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}

.icon-circle.accent-emerald {
    color: var(--accent-emerald);
    background: rgba(0, 255, 157, 0.1);
    border-color: rgba(0, 255, 157, 0.3);
}

.icon-circle.accent-violet {
    color: var(--accent-violet);
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

.icon-circle.accent-slate {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
}

.bento-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.bento-title {
    font-size: 1.45rem;
    margin-bottom: 14px;
}

.bento-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.bento-metrics {
    display: flex;
    gap: 40px;
    padding-top: 24px;
    margin-top: auto;
    border-top: 1px solid var(--card-border);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 6px;
}

.metric-label {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* --- 10. TIMELINE (AUSBILDUNG & ERFAHRUNG) --- */
.timeline-container {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 0 20px 40px;
}

.timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 14px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan) 0%, rgba(0, 240, 255, 0.1) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline-item.hidden {
    display: none;
}

.timeline-marker {
    position: absolute;
    top: 36px;
    left: -40px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-base);
    border: 2px solid var(--card-border);
    z-index: 5;
    transition: var(--transition-bounce);
}

.marker-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    transition: var(--transition-smooth);
}

.timeline-marker.accent-cyan .marker-dot { background-color: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.timeline-marker.accent-emerald .marker-dot { background-color: var(--accent-emerald); box-shadow: 0 0 10px var(--accent-emerald); }
.timeline-marker.accent-violet .marker-dot { background-color: var(--accent-violet); box-shadow: 0 0 10px var(--accent-violet); }
.timeline-marker.accent-slate .marker-dot { background-color: var(--text-muted); }

.timeline-item:hover .timeline-marker {
    transform: scale(1.25);
    border-color: var(--accent-cyan);
}

.timeline-content {
    padding: 28px 32px;
}

.timeline-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.timeline-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.badge-active {
    background: rgba(0, 255, 157, 0.12);
    color: var(--accent-emerald);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.timeline-institution {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 500;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.timeline-bullet-list {
    list-style: none;
    padding-left: 0;
}

.timeline-bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.timeline-bullet-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 1rem;
    line-height: 1.6;
}

/* Timeline Filter Tabs */
.filter-bar {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px;
    margin-top: 24px;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: #070b14;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.35);
}

/* --- 11. SKILLS & TOOLS BENTO GRID --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.skill-card {
    display: flex;
    flex-direction: column;
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.skill-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.skill-icon-box.accent-cyan {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 240, 255, 0.25);
}

.skill-icon-box.accent-violet {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-violet);
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.skill-icon-box.accent-emerald {
    background: rgba(0, 255, 157, 0.1);
    color: var(--accent-emerald);
    border: 1px solid rgba(0, 255, 157, 0.25);
}

.skill-icon-box.accent-slate {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--card-border);
}

.skill-category-title {
    font-size: 1.25rem;
}

.skill-category-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.skill-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.skill-pill {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    transition: var(--transition-bounce);
    cursor: default;
}

[data-theme="light"] .skill-pill {
    background: rgba(0, 0, 0, 0.03);
}

.skill-pill:hover {
    transform: translateY(-3px) scale(1.04);
    background: var(--bg-surface-elevated);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.skill-pill.glow-cyan:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.skill-pill.glow-violet:hover {
    border-color: var(--accent-violet);
    color: var(--accent-violet);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.skill-pill.glow-emerald:hover {
    border-color: var(--accent-emerald);
    color: var(--accent-emerald);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
}

/* --- 12. HOBBIES GRID --- */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hobby-card {
    text-align: center;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.hobby-emoji {
    font-size: 2.6rem;
    margin-bottom: 14px;
    display: inline-block;
    transition: var(--transition-bounce);
}

.hobby-card:hover .hobby-emoji {
    transform: scale(1.25) rotate(10deg);
}

.hobby-title {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.hobby-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- 13. FOOTER & CONTACT SECTION --- */
.footer-wrapper {
    position: relative;
    z-index: 10;
    padding: 0 20px 40px 20px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-cta-card {
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 50px;
    border-color: rgba(0, 240, 255, 0.2);
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.footer-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.footer-contact-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    text-align: left;
    transition: var(--transition-smooth);
}

[data-theme="light"] .footer-contact-box {
    background: rgba(0, 0, 0, 0.02);
}

.footer-contact-box:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-box-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-box-icon.accent-cyan {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
}

.contact-box-icon.accent-emerald {
    background: rgba(0, 255, 157, 0.1);
    color: var(--accent-emerald);
}

.contact-box-icon.accent-violet {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-violet);
}

.contact-box-text {
    overflow: hidden;
}

.box-label {
    display: block;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.box-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Social Buttons */
.social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition-bounce);
}

.social-btn:hover {
    background: var(--gradient-primary);
    color: #070b14;
    border-color: transparent;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.35);
}

/* Footer Bottom Bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.back-to-top:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* --- 14. TOAST NOTIFICATION --- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-surface-elevated);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--accent-cyan);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--shadow-glow-cyan);
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* --- 15. SCROLL REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

.stagger-delay-1 { transition-delay: 0.15s; }
.stagger-delay-2 { transition-delay: 0.3s; }
.stagger-delay-3 { transition-delay: 0.45s; }

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .laser-frame::before {
        animation: none !important;
    }
}

/* --- 16. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .status-pill {
        margin: 0 auto 20px auto;
    }
    
    .hero-description {
        margin: 0 auto 30px auto;
    }
    
    .role-badge-row {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-contact-chips {
        margin: 0 auto;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-span-2 {
        grid-column: span 1;
    }
    
    .footer-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 868px) {
    .nav-links {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 110px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .profile-card {
        width: 260px;
        height: 360px;
    }
    
    .glass-card {
        padding: 24px;
        border-radius: 16px;
    }
    
    .timeline-container {
        padding-left: 28px;
    }
    
    .timeline-track {
        left: 8px;
    }
    
    .timeline-marker {
        left: -28px;
        width: 24px;
        height: 24px;
        top: 28px;
    }
    
    .marker-dot {
        width: 8px;
        height: 8px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .bento-metrics {
        flex-direction: column;
        gap: 16px;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-cta-card {
        padding: 36px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}