/* ========================================
   GREGOR MÖNKS — Personal Website
   Modern, minimal, dark-themed design
   ======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --hero-glow-x: 50%;
    --hero-glow-y: 40%;
    --color-bg: #06060f;
    --color-bg-alt: #0c0c1e;
    --color-bg-card: #111128;
    --color-surface: #1a1a38;
    --color-border: rgba(139, 92, 246, 0.28);
    --color-text: #f0f0ff;
    --color-text-muted: #9090b8;
    --color-text-dim: #5a5a80;
    --color-accent: #8b5cf6;
    --color-accent-light: #a78bfa;
    --color-accent-glow: rgba(139, 92, 246, 0.3);
    --color-accent-2: #06b6d4;
    --color-gradient-1: #8b5cf6;
    --color-gradient-2: #ec4899;
    --color-gradient-3: #06b6d4;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-card: 0 4px 30px rgba(139, 92, 246, 0.18);
    --shadow-glow: 0 0 50px rgba(139, 92, 246, 0.45);
    --shadow-hover: 0 0 0 1px rgba(139, 92, 246, 0.5), 0 20px 60px rgba(139, 92, 246, 0.5), 0 0 80px rgba(236, 72, 153, 0.2);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--color-accent);
    color: #fff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-accent-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent-2);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.nav--scrolled {
    background: rgba(6, 6, 15, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    padding: 12px 0;
    box-shadow: 0 1px 40px rgba(139, 92, 246, 0.2);
}

.nav__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__menu {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav__link:hover,
.nav__link--active {
    color: var(--color-accent-light);
    background: rgba(139, 92, 246, 0.15);
}

.nav__link--cta {
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    color: #fff !important;
    border-radius: var(--radius-xl);
    padding: 8px 20px;
}

.nav__link--cta:hover {
    background: linear-gradient(135deg, var(--color-gradient-2), var(--color-gradient-3));
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
    background:
        radial-gradient(ellipse at var(--hero-glow-x, 50%) var(--hero-glow-y, 40%), rgba(139, 92, 246, 0.14) 0%, transparent 65%),
        radial-gradient(ellipse at 10% 90%, rgba(6, 182, 212, 0.09) 0%, transparent 50%),
        var(--color-bg);
}

.hero::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.22);
    top: -150px;
    left: -150px;
    animation: orbFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    width: 350px;
    height: 350px;
    background: rgba(236, 72, 153, 0.18);
    bottom: -80px;
    right: -80px;
    animation: orbFloat 10s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -40px) scale(1.06); }
    66%       { transform: translate(-20px, 20px) scale(0.97); }
}

.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero__greeting {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--color-accent-2);
    margin-bottom: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__name {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-gradient-1) 0%, var(--color-gradient-2) 40%, var(--color-gradient-3) 70%, var(--color-gradient-1) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.8)) drop-shadow(0 0 50px rgba(139, 92, 246, 0.4));
}

@keyframes gradientFlow {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero__typewriter {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-accent);
    margin-bottom: 16px;
    min-height: 2em;
}

.hero__cursor {
    animation: blink 1s step-end infinite;
    color: var(--color-accent);
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    letter-spacing: 0.02em;
    font-weight: 500;
}

.hero__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-dim);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.01em;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    color: #fff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4), 0 0 40px rgba(139, 92, 246, 0.2);
}

.btn--primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.5),
                0 12px 40px rgba(139, 92, 246, 0.6),
                0 0 60px rgba(236, 72, 153, 0.3);
    color: #fff;
}

.btn--outline {
    background: transparent;
    color: var(--color-accent-light);
    border: 1.5px solid rgba(139, 92, 246, 0.6);
}

.btn--outline:hover {
    border-color: var(--color-accent);
    background: rgba(139, 92, 246, 0.12);
    color: var(--color-accent-light);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

/* ---------- Section Styles ---------- */
.section {
    padding: 120px 0;
    position: relative;
}

.section__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 64px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #f0f0ff 25%, var(--color-accent-light) 60%, var(--color-gradient-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.4));
}

.section__title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gradient-1), var(--color-gradient-2), var(--color-gradient-3));
    margin: 16px auto 0;
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.section__title.is-visible::after {
    width: 110px;
}

/* ---------- About Section ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 64px;
    align-items: start;
}

.about__image-wrapper {
    position: sticky;
    top: 120px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.about__image-wrapper:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: var(--shadow-hover);
    border-color: rgba(139, 92, 246, 0.6);
}

.about__image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-text-dim);
    font-size: 0.85rem;
}

.about__image-placeholder svg {
    width: 60px;
    height: 60px;
}

.about__image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover image: stacked on top via absolute, invisible by default */
.about__image--hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.about__image-wrapper:hover .about__image--primary {
    opacity: 0;
}

.about__image-wrapper:hover .about__image--hover {
    opacity: 1;
}

.about__lead {
    font-size: 1.2rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 400;
}

.about__text p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

.about__text strong {
    color: var(--color-accent-light);
    font-weight: 600;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.about__stat {
    display: flex;
    flex-direction: column;
}

.about__stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    font-family: var(--font-mono);
    line-height: 1;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about__stat span:nth-child(2) {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about__stat-label {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---------- Career / Timeline ---------- */
.career {
    background: var(--color-bg-alt);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-gradient-1), var(--color-gradient-3), transparent);
    opacity: 0.25;
}

@keyframes flyInLeft {
    0%   { opacity: 0; transform: translateX(-80px) rotate(-4deg) scale(0.95); }
    70%  { transform: translateX(8px) rotate(0.4deg) scale(1.01); }
    100% { opacity: 1; transform: translateX(0) rotate(0deg) scale(1); }
}

.timeline__item {
    position: relative;
    padding-bottom: 48px;
    opacity: 0;
}

.timeline__item.is-visible {
    animation: flyInLeft 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__marker {
    position: absolute;
    left: -46px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid var(--color-bg-alt);
    animation: markerPulse 2.5s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% { box-shadow: 0 0 0 2px #8b5cf6, 0 0 10px rgba(139, 92, 246, 0.8), 0 0 0 5px rgba(139, 92, 246, 0.3); }
    50%       { box-shadow: 0 0 0 2px #8b5cf6, 0 0 20px rgba(139, 92, 246, 1.0), 0 0 0 14px rgba(139, 92, 246, 0); }
}

.timeline__content {
    background: var(--color-bg-card);
    padding: 28px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.timeline__content::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-gradient-1), var(--color-gradient-2));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

.timeline__content:hover::before { transform: scaleY(1); }

.timeline__content:hover {
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(6, 182, 212, 0.05) 100%);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.45), 0 20px 60px rgba(139, 92, 246, 0.25);
}

.timeline__date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-accent-light);
    font-weight: 500;
}

.timeline__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 8px 0 4px;
    color: var(--color-text);
}

.timeline__company {
    font-size: 0.9rem;
    color: var(--color-accent-2);
    margin-bottom: 12px;
    font-weight: 500;
}

.timeline__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ---------- Skills Section ---------- */
.skills__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@keyframes popIn {
    0%   { opacity: 0; transform: scale(0.7) translateY(30px); }
    70%  { opacity: 1; transform: scale(1.05) translateY(-5px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.skill-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    opacity: 0;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gradient-1), var(--color-gradient-2), var(--color-gradient-3));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px 3px 0 0;
}

.skill-card:hover::before { transform: scaleX(1); }

.skill-card.is-visible {
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.skill-card:hover {
    border-color: rgba(139, 92, 246, 0.7);
    transform: translateY(-12px);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.06) 100%);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.4),
                0 0 30px rgba(139, 92, 246, 0.55),
                0 20px 60px rgba(139, 92, 246, 0.3);
}

.skill-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--color-accent);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.skill-card:hover .skill-card__icon {
    transform: scale(1.3) rotate(8deg);
    color: var(--color-gradient-2);
    filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.9));
}

.skill-card__icon svg {
    width: 100%;
    height: 100%;
}

.skill-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.skill-card__desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ---------- Passions Section ---------- */
.passions {
    background: var(--color-bg-alt);
}

.passions__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

@keyframes bounceInUp {
    0%   { opacity: 0; transform: translateY(70px) scale(0.9); }
    60%  { opacity: 1; transform: translateY(-12px) scale(1.02); }
    80%  { transform: translateY(6px) scale(0.99); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.passion-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    opacity: 0;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
}

.passion-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    z-index: 0;
}

.passion-card > * {
    position: relative;
    z-index: 1;
}

.passion-card.is-visible {
    animation: bounceInUp 0.75s ease forwards;
}

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

.passion-card:hover {
    transform: translateY(-12px);
    border-color: transparent;
    box-shadow: 0 0 0 1px rgba(236, 72, 153, 0.5),
                0 0 40px rgba(236, 72, 153, 0.55),
                0 20px 60px rgba(139, 92, 246, 0.45);
}

.passion-card__visual {
    width: 100px;
    height: 100px;
    margin: 0 auto 28px;
    color: var(--color-accent);
    opacity: 0.85;
    transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.passion-card:hover .passion-card__visual {
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
    transform: scale(1.12);
}

.passion-card__visual svg {
    width: 100%;
    height: 100%;
}

.passion-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
    transition: color 0.4s ease;
}

.passion-card:hover .passion-card__title { color: #ffffff; }

.passion-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    transition: color 0.4s ease;
}

.passion-card:hover .passion-card__desc { color: rgba(255, 255, 255, 0.88); }

/* ---------- Contact Section ---------- */
.contact__intro {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-top: -40px;
    margin-bottom: 56px;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.contact__links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
}

.contact__link::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-gradient-1), var(--color-gradient-2));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

.contact__link:hover::before { transform: scaleY(1); }

.contact__link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-accent);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.contact__link:hover {
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateX(6px);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(6, 182, 212, 0.06));
    color: var(--color-text);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.4), 0 10px 40px rgba(139, 92, 246, 0.25);
}

.contact__link:hover svg {
    transform: scale(1.2);
    color: var(--color-gradient-2);
}

.contact__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.contact__info p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.contact__email {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--color-accent-light);
    font-weight: 500;
    padding: 12px 24px;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.contact__email:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--color-accent-light);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.7);
}

/* ---------- Footer ---------- */
.footer {
    padding: 64px 0 32px;
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__brand p {
    color: var(--color-text-dim);
    font-size: 0.85rem;
    margin-top: 12px;
}

.footer__impressum h4,
.footer__legal h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer__impressum p,
.footer__legal p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.footer__impressum address {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-top: 12px;
}

.footer__contact-info {
    margin-top: 12px;
}

.footer__contact-info a {
    color: var(--color-accent-light);
}

.footer__bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-dim);
    font-size: 0.8rem;
}

.footer__bottom a {
    color: var(--color-text-dim);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.footer__bottom a:hover {
    color: var(--color-accent-light);
    border-bottom-color: var(--color-accent-light);
}

/* ---------- Animations & Scroll Effects ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__greeting {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero__name {
    animation: fadeInUp 0.8s ease forwards, gradientFlow 5s linear 1.2s infinite;
    opacity: 0;
}

.hero__typewriter {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero__subtitle {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero__cta {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .skills__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(12, 12, 30, 0.97);
        border-left: 1px solid rgba(139, 92, 246, 0.3);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav__menu--open {
        right: 0;
    }

    .nav__link {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image-wrapper {
        position: static;
        max-width: 250px;
        margin: 0 auto;
    }

    .about__stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .skills__grid,
    .passions__grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 80px 0;
    }

    .section__title {
        margin-bottom: 48px;
    }

    .timeline {
        padding-left: 32px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .timeline__content {
        padding: 20px 24px;
    }
}

/* ========================================
   SPECTACULAR ENHANCEMENTS
   ======================================== */

/* ---------- Scanlines Overlay ---------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    animation: scanlinesDrift 8s linear infinite;
}

@keyframes scanlinesDrift {
    from { background-position: 0 0; }
    to   { background-position: 0 80px; }
}

/* ---------- Custom Cursor ---------- */
*, *::before, *::after {
    cursor: none !important;
}

#cursor-dot {
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10001;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.9), 0 0 16px rgba(139, 92, 246, 0.5);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, border-radius 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

#cursor-ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(139, 92, 246, 0.6);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, border-radius 0.3s ease;
    will-change: transform;
}

body.cursor-hover #cursor-dot {
    width: 16px;
    height: 16px;
    background: var(--color-gradient-2);
    box-shadow: 0 0 14px rgba(236, 72, 153, 0.9), 0 0 28px rgba(236, 72, 153, 0.5);
}

body.cursor-hover #cursor-ring {
    width: 56px;
    height: 56px;
    border-color: rgba(236, 72, 153, 0.7);
}

body.cursor-grab #cursor-dot {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: var(--color-accent-2);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.9);
}

body.cursor-grab #cursor-ring {
    width: 50px;
    height: 50px;
    border-color: rgba(6, 182, 212, 0.8);
    border-radius: 6px;
}

@media (hover: none) {
    *, *::before, *::after { cursor: auto !important; }
    #cursor-dot, #cursor-ring { display: none; }
}

/* ---------- Audio Toggle Button ---------- */
#audioToggle {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9998;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid rgba(139, 92, 246, 0.5);
    background: rgba(17, 17, 40, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
    cursor: none;
}

#audioToggle:hover {
    border-color: rgba(139, 92, 246, 0.9);
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.5), 0 0 48px rgba(139, 92, 246, 0.2);
    transform: scale(1.08);
}

#audioToggle.is-playing {
    animation: audioPulse 1s ease-in-out infinite;
    border-color: rgba(236, 72, 153, 0.7);
}

@keyframes audioPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(236, 72, 153, 0.4), 0 4px 20px rgba(139, 92, 246, 0.2); }
    50%       { box-shadow: 0 0 40px rgba(236, 72, 153, 0.7), 0 4px 30px rgba(139, 92, 246, 0.4); }
}

/* ---------- Card Spotlight ---------- */
.card-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(
        300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(139, 92, 246, 0.08),
        transparent 60%
    );
    z-index: 0;
}

.skill-card:hover .card-spotlight,
.passion-card:hover .card-spotlight,
.timeline__content:hover .card-spotlight {
    opacity: 1;
}

/* ---------- Hero Name Glitch Effect ---------- */
.hero__name {
    position: relative;
}

.hero__name[data-text]:hover::before,
.hero__name[data-text]:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-text-fill-color: initial;
    background: none;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.hero__name[data-text]:hover::before {
    color: rgba(6, 182, 212, 0.75);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
    animation: glitchBefore 0.35s steps(1) 3;
    z-index: 3;
}

.hero__name[data-text]:hover::after {
    color: rgba(236, 72, 153, 0.75);
    clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
    animation: glitchAfter 0.35s steps(1) 3;
    z-index: 3;
}

@keyframes glitchBefore {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-5px) skewX(-2deg); }
    40%  { transform: translateX(3px); }
    60%  { transform: translateX(-3px) skewX(1deg); }
    80%  { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

@keyframes glitchAfter {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(5px) skewX(2deg); }
    40%  { transform: translateX(-3px); }
    60%  { transform: translateX(3px) skewX(-1deg); }
    80%  { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

/* ---------- Section Title Letter Spans ---------- */
.section__title span {
    display: inline-block;
    background: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Timeline Line Draw Fill ---------- */
.timeline__line-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-gradient-1), var(--color-gradient-2), var(--color-gradient-3));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.1s linear;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.7), 0 0 20px rgba(139, 92, 246, 0.3);
    z-index: 1;
    pointer-events: none;
}

/* ---------- Ripple Click Effect ---------- */
@keyframes rippleExpand {
    from {
        width: 0;
        height: 0;
        opacity: 1;
    }
    to {
        width: 150px;
        height: 150px;
        opacity: 0;
    }
}

/* ---------- Prefers Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    #cursor-dot, #cursor-ring { display: none; }
    .hero__name[data-text]:hover::before,
    .hero__name[data-text]:hover::after { animation: none; }
    body::before { animation: none; }
    .section__title span { transition: none !important; }
}
