/* Root Variables */

:root {
    --primary-color: #00d4ff;
    --secondary-color: #00a8e8;
    --accent-color: #5ce1e6;
    --bg-dark: #0a1628;
    --bg-darker: #050d1a;
    --bg-card: #0f1e2e;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --gradient-1: linear-gradient(135deg, #00d4ff 0%, #00a8e8 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #0080ff 100%);
    --gradient-retro: linear-gradient(135deg, #00d4ff 0%, #00a8e8 100%);
    --glow: 0 0 20px rgba(0, 212, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-darker);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 212, 255, 0.03) 2px, rgba(0, 212, 255, 0.03) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 212, 255, 0.03) 2px, rgba(0, 212, 255, 0.03) 4px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}


/* Retro Terminal Font Import */

@import url('https://fonts.googleapis.com/css2?family=VT323&family=Share+Tech+Mono&display=swap');
.terminal-text {
    font-family: 'VT323', 'Share Tech Mono', monospace;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

body.no-scroll {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

html.no-scroll {
    overflow: hidden !important;
}

body.no-scroll {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}


/* Scrollbar */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}


/* Navigation */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 21, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-circle {
    width: 45px;
    height: 45px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: var(--glow);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-2);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--glow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.7);
}


/* Hero Section */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    animation: pulse 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch {
    position: relative;
    animation: glitch 5s infinite;
}

@keyframes glitch {
    0%,
    90%,
    100% {
        transform: translate(0);
        text-shadow: none;
    }
    91% {
        transform: translate(-3px, 2px);
        text-shadow: 3px -2px 0 var(--primary-color), -3px 2px 0 var(--accent-color);
    }
    93% {
        transform: translate(3px, -2px);
        text-shadow: -3px 2px 0 var(--primary-color), 3px -2px 0 var(--accent-color);
    }
    95% {
        transform: translate(-3px, -2px);
        text-shadow: 3px 2px 0 var(--primary-color), -3px -2px 0 var(--accent-color);
    }
    97% {
        transform: translate(3px, 2px);
        text-shadow: -3px -2px 0 var(--primary-color), 3px 2px 0 var(--accent-color);
    }
}

.underline {
    display: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    animation: fadeInLeft 1s ease-out;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    transform-style: preserve-3d;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    box-shadow: var(--glow);
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-2);
    border-radius: 30px;
    transform: translateZ(-10px);
    filter: blur(8px);
    opacity: 0.5;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-8px) translateZ(20px) rotateX(5deg);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.6), 0 0 35px rgba(0, 212, 255, 0.8);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-container {
    position: relative;
    width: 300px;
    height: 300px;
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.profile-container:hover {
    transform: scale(1.05) rotateY(5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.3), inset 0 0 20px rgba(0, 212, 255, 0.1);
    object-fit: cover;
    position: relative;
    z-index: 2;
    animation: profileGlow 3s ease-in-out infinite;
}

@keyframes profileGlow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.3), inset 0 0 20px rgba(0, 212, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.7), 0 0 60px rgba(0, 212, 255, 0.5), inset 0 0 30px rgba(0, 212, 255, 0.15);
    }
}

.profile-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    border-radius: 20px;
    filter: blur(40px);
    opacity: 0.4;
    top: 0;
    left: 0;
    z-index: 1;
    animation: rotate 10s linear infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }
    100% {
        opacity: 0;
        top: 20px;
    }
}


/* Sections */

section {
    padding: 100px 2rem;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.3);
}


/* About Section */

.about {
    background: var(--bg-dark);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.about-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transition: all 0.3s ease;
    z-index: 0;
}

.about-card:hover .card-image-bg {
    opacity: 0.25;
    transform: scale(1.1);
}

.card-content {
    position: relative;
    z-index: 1;
}

.about-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(2deg) translateZ(30px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.5), 0 0 30px rgba(0, 212, 255, 0.3);
}

.about-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.about-card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    position: relative;
    animation: iconPulse 2s ease-in-out infinite;
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--gradient-2);
    opacity: 0.3;
    animation: ripple 2s ease-out infinite;
}

@keyframes iconPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}


/* Skills Section */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-card:hover::after {
    opacity: 1;
}

.skill-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-12px) scale(1.05) rotateX(8deg) translateZ(40px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.3);
}

.skill-card:hover .skill-icon {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-5px);
    }
}

.skill-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-card h3 {
    margin-bottom: 1rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-2);
    border-radius: 10px;
    animation: fillBar 2s ease-out;
}

@keyframes fillBar {
    from {
        width: 0;
    }
}


/* Projects Section */

.projects {
    background: var(--bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 212, 255, 0.3), transparent);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 10;
    pointer-events: none;
}

.project-card:hover::before {
    opacity: 1;
    top: 100%;
}

.project-card:hover {
    transform: translateY(-15px) rotateX(10deg) scale(1.03) translateZ(50px);
    border-color: var(--primary-color);
    box-shadow: 0 25px 70px rgba(0, 212, 255, 0.6), 0 0 50px rgba(0, 212, 255, 0.4);
}

.project-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 21, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    padding: 1rem 2rem;
    background: var(--gradient-2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
    box-shadow: var(--glow);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags span {
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
}


/* Contact Section */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-darker);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.form-group textarea {
    resize: vertical;
}


/* Footer */

.footer {
    background: var(--bg-darker);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.social-link:hover {
    background: var(--gradient-2);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

.copyright {
    color: var(--text-secondary);
}


/* Responsive Design */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        height: 300px;
    }
    .profile-container {
        width: 300px;
        height: 300px;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .profile-container {
        width: 250px;
        height: 250px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
}


/* Erweiterte Animationen und Style Verbesserungen */


/* Sanfte Fade-In Animation für Sektionen */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Removed neon glow effect */


/* Puls-Animation */

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}


/* Schwebende Animation */

@keyframes floatSoft {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}


/* Navbar Verbesserungen */

.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo-text {
    transition: all 0.3s ease;
}

.logo-text:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}


/* Navigation Links Verbesserung */

.nav-links li {
    animation: fadeInDown 0.5s ease-out backwards;
}

.nav-links li:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-links li:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-links li:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-links li:nth-child(4) {
    animation-delay: 0.4s;
}

.nav-links li:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Button Verbesserungen mit Ripple-Effekt */

.btn,
.cta-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn::before,
.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before,
.cta-button:hover::before {
    width: 300px;
    height: 300px;
}


/* Hero Section Verbesserungen */

.hero-text h1 {
    animation: fadeInLeft 1s ease-out;
}

.hero-subtitle {
    animation: fadeInLeft 1s ease-out 0.2s backwards;
}

.hero-description {
    animation: fadeInLeft 1s ease-out 0.4s backwards;
}

.hero-buttons {
    animation: fadeInLeft 1s ease-out 0.6s backwards;
}

.profile-container {
    animation: float 6s ease-in-out infinite, fadeInRight 1s ease-out;
}

.profile-image {
    transition: all 0.5s ease;
}

.profile-container:hover .profile-image {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.6);
}


/* About Cards Verbesserungen */

.about-card {
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient( 45deg, transparent 30%, rgba(139, 92, 246, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.about-card:hover::before {
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

.card-icon {
    animation: pulse 2s ease-in-out infinite;
}

.about-card:hover .card-icon {
    animation: floatSoft 2s ease-in-out infinite;
}


/* Skill Cards Verbesserungen */

.skill-card {
    position: relative;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6), 0 0 40px rgba(139, 92, 246, 0.4);
}

.skill-card:hover::after {
    opacity: 1;
}

.skill-icon {
    transition: all 0.4s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.2) rotateY(360deg);
}

.skill-progress {
    position: relative;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.skill-card:hover .skill-progress {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
}


/* Project Cards Verbesserungen */

.project-card {
    position: relative;
}

.project-image {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    backdrop-filter: blur(10px);
}

.project-link {
    animation: pulse 2s ease-in-out infinite;
}

.project-info {
    transition: all 0.3s ease;
}

.project-card:hover .project-info {
    transform: translateY(-5px);
}

.project-tags span {
    transition: all 0.3s ease;
}

.project-tags span:hover {
    background: var(--gradient-2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}


/* Contact Section Verbesserungen */

.contact-form {
    /* neon effect removed */
}

.form-group input,
.form-group textarea {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}


/* Section Title Verbesserungen */

.section-title {
    position: relative;
    display: inline-block;
    animation: fadeInUp 0.8s ease-out;
}


/* Social Links Verbesserungen */

.social-link {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-link:hover {
    transform: translateY(-10px) rotate(360deg);
    /* neon effect removed */
}


/* Scroll Indicator Animation */

.scroll-indicator {
    animation: floatSoft 3s ease-in-out infinite;
}

.wheel {
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0;
    }
}


/* Smooth Transitions für alle interaktiven Elemente */

a,
button,
input,
textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Container Animation beim Laden */

.container {
    animation: fadeInUp 0.8s ease-out;
}


/* Card Hover Effects */

.about-card,
.skill-card,
.project-card {
    transition: all 0.3s ease;
}

.about-card:hover,
.skill-card:hover {
    transform: translateY(-5px);
}

.project-card:hover {
    transform: translateY(-5px);
}


/* Cookie Banner */

.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 90%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.5), 0 0 100px rgba(139, 92, 246, 0.2);
    z-index: 10000;
    overflow: hidden;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(150%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(150%);
        opacity: 0;
    }
}

.cookie-banner.hidden {
    display: none;
}

.cookie-container {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 15, 30, 0.95) 100%);
    padding: 2rem;
    border-radius: 23px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.cookie-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.05), transparent);
    border-radius: 23px;
    pointer-events: none;
}

.cookie-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    animation: float 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

.cookie-content {
    text-align: center;
}

.cookie-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.cookie-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cookie-btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 200px;
}

.cookie-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cookie-btn:hover::before {
    width: 300px;
    height: 300px;
}

.accept-btn {
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

.accept-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.decline-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.2);
}

.decline-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 15px;
        width: 95%;
        max-width: none;
    }
    .cookie-container {
        padding: 1.5rem;
    }
    .cookie-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    .cookie-btn {
        max-width: none;
    }
    .cookie-content h3 {
        font-size: 1.25rem;
    }
    .cookie-content p {
        font-size: 0.875rem;
    }
}


/* IT-Specific Animations */


/* Binary Rain */

.binary-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
}

.binary-column {
    position: absolute;
    top: -100%;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    animation: binaryFall linear infinite;
}

@keyframes binaryFall {
    0% {
        top: -100%;
    }
    100% {
        top: 100%;
    }
}


/* Circuit Lines */

.circuit-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    animation: circuitPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes circuitPulse {
    0%,
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 0.3;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}


/* Data Streams */

.data-stream {
    position: absolute;
    top: 0;
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    animation: streamFlow linear infinite;
    pointer-events: none;
}

@keyframes streamFlow {
    0% {
        top: -60px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}


/* Floating Code */

.floating-code-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-code {
    position: absolute;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    opacity: 0;
    animation: floatCode 15s ease-in-out infinite;
}

@keyframes floatCode {
    0% {
        top: 100%;
        opacity: 0;
        transform: translateY(0) rotate(0deg);
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        top: -10%;
        opacity: 0;
        transform: translateY(-100px) rotate(360deg);
    }
}


/* Network Nodes */

.network-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.2;
    z-index: 1;
}

.network-node {
    fill: var(--primary-color);
    animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {
    0%,
    100% {
        opacity: 0.3;
        r: 4;
    }
    50% {
        opacity: 1;
        r: 6;
    }
}


/* Terminal Cursor Effect */

.hero-subtitle::after {
    content: '|';
    animation: cursorBlink 1s step-end infinite;
    color: var(--primary-color);
}

@keyframes cursorBlink {
    0%,
    50% {
        opacity: 1;
    }
    51%,
    100% {
        opacity: 0;
    }
}


/* Hexagon Pattern Background */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(30deg, transparent 40%, rgba(0, 212, 255, 0.02) 40%, rgba(0, 212, 255, 0.02) 60%, transparent 60%), linear-gradient(90deg, transparent 40%, rgba(0, 212, 255, 0.02) 40%, rgba(0, 212, 255, 0.02) 60%, transparent 60%), linear-gradient(150deg, transparent 40%, rgba(0, 212, 255, 0.02) 40%, rgba(0, 212, 255, 0.02) 60%, transparent 60%);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}


/* Scanline Effect */

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(0, 212, 255, 0.03) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}


/* Retro-Futuristic CRT Effect */

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient( 0deg, rgba(0, 255, 65, 0.03) 0px, transparent 1px, transparent 2px, rgba(0, 255, 65, 0.03) 3px);
    pointer-events: none;
    z-index: 9999;
    animation: scanline 8s linear infinite;
}


/* Vintage Monitor Curvature */

.hero,
.about,
.skills,
.projects {
    box-shadow: inset 0 0 100px rgba(0, 255, 65, 0.05);
}


/* Retro Grid Background */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, transparent 24%, rgba(0, 212, 255, 0.05) 25%, rgba(0, 212, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 65, 0.05) 75%, rgba(0, 255, 65, 0.05) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(0, 212, 255, 0.05) 25%, rgba(0, 212, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 65, 0.05) 75%, rgba(0, 255, 65, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}


/* VHS Tape Glitch Effect */

@keyframes vhsGlitch {
    0%,
    96%,
    100% {
        transform: translate(0, 0) skew(0deg);
    }
    97% {
        transform: translate(-2px, 0) skew(-2deg);
    }
    98% {
        transform: translate(2px, 0) skew(2deg);
    }
    99% {
        transform: translate(-1px, 0) skew(1deg);
    }
}

.glitch {
    animation: glitchText 5s infinite, vhsGlitch 10s infinite;
}


/* Retro Terminal Border */

.about-card,
.skill-card,
.project-card {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), 0 0 30px rgba(0, 212, 255, 0.2), inset 0 0 15px rgba(0, 212, 255, 0.05);
    position: relative;
}

.about-card::before,
.skill-card::before,
.project-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--secondary-color), var(--primary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.about-card:hover::before,
.skill-card:hover::before,
.project-card:hover::before {
    opacity: 1;
}


/* Pixelated Corners */

.btn,
.cta-button {
    position: relative;
    clip-path: polygon( 0 10px, 10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px));
}


/* Retro Text Style */

.section-title {
    font-family: 'VT323', monospace;
    font-size: 3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* neon flicker removed */
}


/* DOS-Style Loading Bar */

.skill-progress {
    background: repeating-linear-gradient( 90deg, rgba(0, 212, 255, 0.1) 0px, rgba(0, 212, 255, 0.1) 2px, transparent 2px, transparent 4px);
    border: 1px solid var(--primary-color);
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    mix-blend-mode: screen;
    opacity: 0.3;
}


/* Retro Computer Bezel */

.hero-visual {
    /* background removed */
}


/* Vintage Screen Glow */

.profile-image {
    filter: brightness(1.1) contrast(1.2);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.3), inset 0 0 20px rgba(0, 212, 255, 0.2);
}


/* Arcade Button Style */

.btn-primary:active,
.cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 0 20px var(--primary-color), inset 0 0 10px rgba(0, 0, 0, 0.5);
}


/* Holographic Card Effect */

.about-card,
.skill-card,
.project-card {
    position: relative;
    overflow: hidden;
}

.about-card::after,
.skill-card::after,
.project-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent 30%, var(--primary-color) 50%, transparent 70%);
    opacity: 0;
    border-radius: 15px;
    animation: holographicSweep 3s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.about-card:hover::after,
.skill-card:hover::after,
.project-card:hover::after {
    opacity: 0.5;
}

@keyframes holographicSweep {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(200%) rotate(45deg);
    }
}


/* Digital Grid Effect */

.skills::before,
.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, var(--primary-color) 2px, var(--primary-color) 3px), repeating-linear-gradient(90deg, transparent, transparent 2px, var(--primary-color) 2px, var(--primary-color) 3px);
    background-size: 50px 50px;
    opacity: 0.03;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}


/* Particle Burst Effect */

@keyframes particleBurst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}


/* Loading Bar Animation */

.skill-progress {
    position: relative;
    overflow: visible;
}

.skill-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% {
        left: -30px;
    }
    100% {
        left: 100%;
    }
}


/* Radar Pulse Effect */

.card-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: radarPulse 2s ease-out infinite;
    opacity: 0;
}

@keyframes radarPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}


/* Typing Text Effect */

.hero-description {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    animation: typing 4s steps(100) 1s forwards, blink 0.75s step-end infinite;
    max-width: 0;
}

@keyframes typing {
    from {
        max-width: 0;
    }
    to {
        max-width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}


/* Removed neon border animation */


/* DNA Helix Effect */

@keyframes dnaRotate {
    0% {
        transform: rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: rotateY(360deg) rotateZ(30deg);
    }
}


/* Glowing Dots */

.section-title::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 20px var(--primary-color);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%,
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.5);
        opacity: 0.5;
    }
}


/* Card Image Zoom */

.card-image-bg {
    transition: transform 0.6s ease, filter 0.6s ease;
}

.about-card:hover .card-image-bg {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.2) saturate(1.3);
}


/* Perspective Tilt */

.project-card {
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(-5deg);
}


/* Warp Speed Lines */

@keyframes warpSpeed {
    0% {
        transform: translateZ(0) scaleX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateZ(1000px) scaleX(1);
        opacity: 0;
    }
}