.weather-header-compact {
    position: relative;
    display: flex;
    align-items: center;
}
.weather-header-compact .weather-main-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.weather-header-compact .weather-emoji {
    font-size: 1.5rem;
}
.weather-header-compact .weather-temp {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-blue);
}
.weather-header-compact .weather-details-hover {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0.5rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 1000;
}
.weather-header-compact:hover .weather-details-hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.weather-header-compact .weather-desc {
    font-size: 0.9rem;
    color: var(--gray-700);
    text-transform: capitalize;
    margin-bottom: 0.25rem;
}
.weather-header-compact .weather-city {
    font-size: 0.8rem;
    color: var(--gray-500);
}
/* Wetter im Header */
.weather-header-box {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    margin: 0 2rem;
    min-width: 120px;
    height: 48px;
    background: none;
    border-radius: 0;
    box-shadow: none;
}
.weather-header-box .weather-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
.weather-header-box .weather-emoji {
    font-size: 1.7rem;
    margin-right: 0.5rem;
}
.weather-header-box .weather-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
}
.weather-header-box .weather-temp {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-blue);
}
.weather-header-box .weather-desc {
    font-size: 0.9rem;
    color: var(--gray-700);
    text-transform: capitalize;
}
.weather-header-box .weather-city {
    font-size: 0.8rem;
    color: var(--gray-500);
}
/* ========================================
   Manuel Hänni - Website Styles
   ======================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    /* Pastell-Farbpalette */
    --pastel-blue: #E8F2FF;
    --pastel-mint: #E8F8F5;
    --pastel-rose: #FDF2F8;
    --pastel-sand: #FDF8F2;
    --pastel-lavender: #F3E8FF;
    
    /* Akzentfarben */
    --accent-blue: #3B82F6;
    --accent-mint: #10B981;
    --accent-rose: #EC4899;
    --accent-sand: #F59E0B;
    --accent-lavender: #8B5CF6;
    
    /* Grautöne */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Typografie */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-max-width: 1200px;
    --container-padding: 1.5rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition: all 0.2s ease-in-out;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: white;
    overflow-x: hidden;
}


/* Wetterbox Styles */
.weather-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

/* Legal Pages Styles */
.page-hero {
    background: linear-gradient(135deg, var(--pastel-blue), var(--pastel-mint));
    padding: 8rem 0 4rem;
    margin-bottom: 2rem;
    width: 100%;
}

.page-hero .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

.legal-section {
    padding: 2rem 0 6rem;
    background-color: var(--gray-50);
    min-height: calc(100vh - 400px);
}

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

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-content h2 {
    color: var(--gray-900);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
}

.legal-content h3 {
    color: var(--gray-800);
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
}

.legal-content h4 {
    color: var(--gray-700);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.legal-content a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

.legal-content a:hover {
    color: var(--gray-900);
    text-decoration: underline;
}

.weather-container {
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

.weather-container h2 {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.weather-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.weather-emoji {
    font-size: 2.5rem;
    line-height: 1;
}

.weather-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.weather-temp {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.weather-desc {
    font-size: 0.95rem;
    color: var(--gray-700);
    text-transform: capitalize;
}

.weather-city {
    font-size: 0.85rem;
    color: var(--gray-500);
}

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

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    padding: 1rem var(--container-padding);
    gap: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.logo {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: linear-gradient(135deg, #0A1E42, #3B82F6, #0A1E42, #3B82F6);
    background-size: 300% 300%;
    animation: gradientMove 4s ease infinite;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--accent-blue);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-blue);
    border-radius: var(--radius-full);
}

/* Language Switcher - Dropdown Design */
.lang-switcher {
    margin-left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-option {
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    color: var(--gray-400);
}

.lang-option:hover {
    color: var(--gray-600);
    background: var(--gray-50);
}

.lang-option.active {
    color: var(--gray-900);
    font-weight: 700;
}

.lang-separator {
    color: var(--gray-300);
    font-weight: 400;
    user-select: none;
}

.lang-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

/* Hide nav lang switcher on desktop */
.nav-lang-switcher {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
}

/* ========================================
   SECTIONS
   ======================================== */

section {
    padding: var(--section-padding);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: 3rem;
}

/* Particle Merge → Letters Effect */
.section-title .char-wrapper {
    display: inline-block;
    position: relative;
    margin: 0;
    vertical-align: middle;
    width: 0.9rem;
    height: 2.5rem;
    text-align: center;
}

.section-title .char-wrapper .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gray-800);
    border-radius: 50%;
    opacity: 1;
    transform: translate(var(--particle-x), var(--particle-y)) scale(1);
    transition: all 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.section-title.in-view .char-wrapper .particle {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    transition-delay: calc(var(--char-index) * 0.08s + var(--particle-delay) * 0.1s);
}

.section-title .char-wrapper .letter {
    display: inline-block;
    opacity: 0;
    color: var(--gray-800);
    font-size: 2.5rem;
    font-weight: 700;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: all 1.2s ease-out;
    z-index: 1;
}

.section-title.in-view .char-wrapper .letter {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition-delay: calc(var(--char-index) * 0.08s + 0.8s);
}

/* Hide particles when letter is fully visible */
.section-title.in-view .char-wrapper .particle {
    opacity: 0;
    transition-delay: calc(var(--char-index) * 0.08s + 0.8s);
}

/* Space zwischen Wörtern */
.section-title .space {
    display: inline-block;
    width: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   PAGE HERO (Subpages)
   ======================================== */

.page-hero {
    background: linear-gradient(135deg, var(--pastel-blue), var(--pastel-mint));
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Desktop Styles for Legal Pages */
@media (min-width: 1024px) {
    .page-hero {
        padding: 10rem 0 6rem;
    }

    .page-hero h1 {
        font-size: 3.5rem;
    }

    .page-hero p {
        font-size: 1.5rem;
    }

    .legal-content {
        padding: 4rem;
    }

    .legal-content h2 {
        font-size: 2rem;
    }

    .legal-content h3 {
        font-size: 1.5rem;
    }

    .legal-content h4 {
        font-size: 1.25rem;
    }

    .legal-content p,
    .legal-content li {
        font-size: 1.1rem;
        line-height: 1.8;
    }
}

/* Responsive Styles for Legal Pages */
@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }

    .legal-section {
        padding: 2rem 1rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .legal-content h2 {
        font-size: 1.25rem;
    }

    .legal-content h3 {
        font-size: 1.1rem;
    }

    .legal-content h4 {
        font-size: 1rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1.1rem;
    }
}

/* ========================================
   HERO SECTION (Homepage)
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--pastel-blue), var(--pastel-mint));
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 1rem;
    line-height: 1.2;
    transition: transform 0.1s ease-out;
    transform-origin: left center;
}

.hero-text .role {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.role-primary {
    color: #1E3A8A;
    font-weight: 600;
}

.role-secondary {
    color: var(--accent-blue);
    font-weight: 500;
}

.hero-text .tagline {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.profile-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

/* 3D Flip Card Container */
.profile-flip-card {
    width: 320px;
    height: 320px;
    perspective: 1000px;
    position: relative;
    z-index: 3;
    cursor: pointer;
}

.profile-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 1.2s;
    transform-style: preserve-3d;
}

/* Only flip on click/tap (mobile-first) */
.profile-flip-card.flipped .profile-flip-inner {
    transform: rotateY(180deg);
}

/* Hover effect only on desktop */
@media (min-width: 993px) {
    .profile-flip-card:hover .profile-flip-inner {
        transform: rotateY(180deg);
    }
}

.profile-flip-front,
.profile-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-full);
    top: 0;
    left: 0;
}

.profile-flip-front {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-flip-back {
    background: linear-gradient(135deg,
        #C8E3FF 0%,
        #E0F0FF 50%,
        #D4EBFF 100%);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8);
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    display: block;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Kontakt-Info auf der Rückseite */
.profile-contact-info {
    text-align: center;
    color: var(--gray-600);
    padding: 2rem;
}

.profile-contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
}

.profile-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.profile-contact-item i {
    font-size: 1.2rem;
    opacity: 0.9;
}

.profile-contact-btn {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #93C5FD 0%, #60A5FA 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2), 0 2px 4px -1px rgba(59, 130, 246, 0.1);
}

.profile-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3), 0 4px 6px -2px rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
}

.profile-backdrop {
    position: absolute;
    inset: -25px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(59, 130, 246, 0.1) 25%,
        rgba(16, 185, 129, 0.1) 50%,
        rgba(236, 72, 153, 0.1) 75%,
        rgba(255, 255, 255, 0.25) 100%);
    border-radius: var(--radius-full);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite;
}

.floating-accent {
    position: absolute;
    border-radius: var(--radius-full);
    animation: orbit 8s linear infinite;
}

.accent-1 {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-mint));
    top: 20%;
    right: 10%;
    animation-delay: 0s;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.accent-2 {
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, var(--accent-rose), var(--accent-lavender));
    bottom: 25%;
    left: 15%;
    animation-delay: -2s;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.accent-3 {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--accent-sand), var(--accent-mint));
    top: 60%;
    right: 20%;
    animation-delay: -4s;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    position: relative;
    overflow: hidden;
}

.about-content {
    text-align: center;
    margin: 0 auto;
}

.about-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Desktop: Image Gallery with Tilt Effect */
.hobbies-gallery {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 2rem 0 0.5rem 0;
    perspective: 1500px;
    width: 100%;
    max-width: 100%;
}

.hobby-image-card {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 280px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, z-index 0.3s ease;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-md);
}

.hobby-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Hover Overlay Label - Full Width Bottom Typography */
.hobby-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.hobby-overlay .hobby-label {
    color: white;
    font-weight: 900;
    font-size: 2rem;
    text-align: center;
    display: block;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.85;
    width: 100%;
    padding: 0 0.75rem 0 0.75rem;
    margin: 0 0 -0.2em 0;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.9);
    white-space: nowrap;
    transform: scaleX(1.4);
    vertical-align: bottom;
}

.hobby-image-card:hover .hobby-overlay {
    opacity: 1;
}

.hobby-image-card:hover {
    z-index: 10;
    transform: scale(1.1) translateZ(20px);
}

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

/* Mobile: Tags */
.hobbies-mobile {
    display: none;
}

/* Hide colored tags on desktop */
@media (min-width: 993px) {
    .hobbies {
        display: none;
    }
}

.hobby-tag {
    background: var(--pastel-rose);
    color: var(--accent-rose);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hobby-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hobby-tag:nth-child(odd) {
    background: var(--pastel-mint);
    color: var(--accent-mint);
}

.hobby-tag:nth-child(3n) {
    background: var(--pastel-lavender);
    color: var(--accent-lavender);
}

.hobby-link {
    text-decoration: none;
    color: inherit;
}

.hobby-link:hover,
.hobby-link:visited {
    color: inherit;
    text-decoration: none;
}

.hobby-emoji {
    display: inline-block;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* ========================================
   SKILLS SECTION
   ======================================== */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.skill-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.skill-card:nth-child(1) .skill-icon {
    background: var(--pastel-blue);
    color: var(--accent-blue);
}

.skill-card:nth-child(2) .skill-icon {
    background: var(--pastel-mint);
    color: var(--accent-mint);
}

.skill-card:nth-child(3) .skill-icon {
    background: var(--pastel-sand);
    color: var(--accent-sand);
}

.skill-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.skill-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-pill {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========================================
   TIMELINE (Ausbildung & Erfahrung)
   ======================================== */

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-mint));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 5rem;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

.timeline-bullet {
    position: absolute;
    left: 1.25rem;
    width: 1.5rem;
    height: 1.5rem;
    background: white;
    border: 3px solid var(--accent-blue);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.timeline-item:first-child .timeline-bullet {
    border-color: var(--accent-mint);
}

.timeline-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.timeline-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.timeline-date {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.timeline-company {
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   CERTIFICATES
   ======================================== */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cert-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cert-badge {
    background: linear-gradient(135deg, var(--pastel-blue), var(--pastel-mint));
    padding: 2rem;
    text-align: center;
    position: relative;
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #93C5FD;
}

.cert-level {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
}

.cert-content {
    padding: 2rem;
}

.cert-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.cert-issuer {
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cert-date {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.cert-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.cert-skill {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.cert-download {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
}

/* ========================================
   CONTACT FORM
   ======================================== */

.main-content {
    padding: var(--section-padding);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-item:hover .contact-icon {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* E-Mail - Blue */
.contact-item:nth-child(1) .contact-icon {
    background: #F5F5F5;
    color: #3B82F6;
}

/* Phone - Green */
.contact-item:nth-child(2) .contact-icon {
    background: #F5F5F5;
    color: #10B981;
}

/* LinkedIn - Blue */
.contact-item:nth-child(3) .contact-icon {
    background: #F5F5F5;
    color: #0A66C2;
}

/* Instagram - Pink/Purple */
.contact-item:nth-child(4) .contact-icon {
    background: #F5F5F5;
    color: #E11D48;
}

/* Location - Red */
.contact-item:nth-child(5) .contact-icon {
    background: #F5F5F5;
    color: #EF4444;
}

.contact-text {
    flex: 1;
}

.contact-text .label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.contact-text .value {
    color: var(--gray-700);
    font-weight: 500;
}

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

.contact-text a:hover {
    color: var(--accent-blue);
}

.phone-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
}

.phone-dropdown-trigger:hover {
    color: var(--accent-blue);
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.5rem;
    color: var(--gray-400);
    transition: transform 0.3s ease;
}

.phone-dropdown-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

.contact-dropdown {
    max-height: 0;
    overflow: hidden;
    margin-top: 0.75rem;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.contact-dropdown.show {
    max-height: 200px;
    opacity: 1;
}

.contact-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-dropdown-item:last-child {
    margin-bottom: 0;
}

.contact-dropdown-item .btn-icon {
    font-size: 1.1rem;
}

.contact-dropdown-item:hover {
    background: var(--gray-50);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.toast {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: var(--accent-mint);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1001;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.error {
    background: var(--accent-rose);
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-primary.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Thank You Message */
.thank-you-message {
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeInScale 0.5s ease forwards;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--accent-mint);
    margin-bottom: 1.5rem;
    animation: bounceIn 0.6s ease 0.2s both;
}

.thank-you-message h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.thank-you-message p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.thank-you-message .btn {
    margin-top: 2rem;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* ========================================
   TRAVEL SECTION
   ======================================== */

.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.travel-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border-top: 1px solid var(--gray-800);
}

.travel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.travel-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}

.travel-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.travel-header p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.travel-map {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.europe-map {
    background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), url('../assets/europa-karte.jpg');
}

.asia-map {
    background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), url('../assets/asien-karte.jpg');
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    transition: var(--transition);
}

.travel-card:hover .map-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.map-overlay h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.map-overlay p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.map-overlay .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-blue);
    border: none;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.map-overlay .btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.follow-section {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.btn-follow {
    background: var(--accent-blue);
    color: white;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.btn-follow:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   MODAL
   ======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

.modal-header {
    background: linear-gradient(135deg, var(--pastel-blue), var(--pastel-mint));
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-close {
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--gray-600);
}

.modal-close:hover {
    background: var(--gray-100);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
    height: 70vh;
    overflow: hidden;
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-footer {
    padding: 1rem 2rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.modal-footer a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* ========================================
   SNOWFLAKE ANIMATION
   ======================================== */

.snowflake {
    position: absolute;
    top: -10px;
    color: #ffffff;
    font-size: 1em;
    animation-name: snowfall;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    pointer-events: none;
    z-index: 1000;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(0px) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(-1deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(40px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(40px) rotate(-360deg); }
}

@keyframes snowfall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
    :root {
        --section-padding: 3rem 0;
        --container-padding: 1rem;
    }

    /* Hide image gallery, show tags on mobile */
    .hobbies-gallery {
        display: none;
    }

    .hobbies-mobile {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        display: none;
    }

    .nav.show {
        display: flex;
    }

    .nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .header-left .lang-switcher {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Language switcher in mobile menu */
    .nav-lang-switcher {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem 0;
        border-top: 1px solid var(--gray-100);
        margin-top: 0.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        height: 300px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .profile-flip-card {
        width: 270px;
        height: 270px;
    }

    .profile-photo {
        width: 100%;
        height: 100%;
    }

    .profile-backdrop {
        inset: -15px;
    }

    .floating-accent {
        display: none;
    }

    .profile-contact-info {
        padding: 1.5rem;
    }

    .profile-contact-info h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .profile-contact-item {
        font-size: 0.875rem;
        margin-bottom: 0.85rem;
    }

    .profile-contact-item i {
        font-size: 1.1rem;
    }

    .profile-contact-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
        margin-top: 1.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .timeline::before {
        left: 1rem;
    }

    .timeline-item {
        padding-left: 3.5rem;
    }

    .timeline-bullet {
        left: 0.25rem;
        width: 1.5rem;
        height: 1.5rem;
    }

    .timeline-card {
        padding: 1.5rem;
        padding-right: 5rem;
    }

    .timeline-title {
        font-size: 1.1rem;
        line-height: 1.3;
        padding-right: 0.5rem;
    }

    .company-logo {
        width: 60px;
        height: 60px;
        top: 1rem;
        right: 0.5rem;
    }

    .company-logo.larger {
        width: 80px;
        height: 80px;
    }

    .company-logo.medium {
        width: 65px;
        height: 65px;
    }

    .company-logo.smaller {
        width: 50px;
        height: 50px;
    }

    /* Show line break on mobile */
    .mobile-br {
        display: inline;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1rem 1.5rem;
    }

    .modal-header h3 {
        font-size: 1.25rem;
    }

    .modal-body {
        height: 60vh;
    }

    .toast {
        right: 1rem;
        left: 1rem;
        transform: translateY(-100px);
    }

    .toast.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .voltage-button {
        width: 100%;
    }

    .voltage-button .voltage-btn {
        width: 100%;
        text-align: center;
    }

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

    .hero-image {
        height: 250px;
    }

    .profile-flip-card {
        width: 220px;
        height: 220px;
    }

    .profile-photo {
        width: 100%;
        height: 100%;
    }

    .profile-backdrop {
        inset: -10px;
    }

    .profile-container {
        animation: none;
    }

    .profile-contact-info {
        padding: 1.2rem;
    }

    .profile-contact-info h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .profile-contact-item {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .profile-contact-item i {
        font-size: 0.95rem;
    }

    .profile-contact-btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.85rem;
        margin-top: 1rem;
    }

    .timeline-title {
        font-size: 1.25rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .travel-map {
        height: 250px;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }
}
.job-header {
    display: block;
    margin-bottom: 15px;
}
.company-logo {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    padding: 8px;
    background: transparent;
}
.company-logo.square {
    border-radius: 8px;
}
.company-logo.larger {
    width: 130px;
    height: 130px;
    top: 0rem;
    right: 0rem;
}
.company-logo.medium {
    width: 90px;
    height: 90px;
}
.company-logo.smaller {
    width: 60px;
    height: 60px;
}

/* Mobile line break - hide on desktop */
.mobile-br {
    display: none;
}

/* Google Maps Styles */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-map-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: white;
}

#map {
    width: 100%;
    height: 500px;
}

/* Mobile: Stack vertically */
@media (max-width: 992px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #map {
        height: 400px;
    }
}

/* ========================================
   VOLTAGE BUTTON EFFECT
   ======================================== */

.voltage-button {
    position: relative;
    display: inline-block;
}

.voltage-button .voltage-btn {
    color: white;
    background: #7BA3D9;
    padding: 1rem 3rem;
    border-radius: 5rem;
    border: 3px solid #A8C5E8;
    font-size: 1rem;
    line-height: 1em;
    letter-spacing: 0.075em;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.voltage-button .voltage-btn:hover {
    cursor: pointer;
    background: #5D8AC4;
}

.voltage-button .voltage-btn:hover + svg,
.voltage-button .voltage-btn:hover + svg + .dots {
    opacity: 1;
}

.voltage-button svg {
    display: block;
    position: absolute;
    top: -0.75em;
    left: -0.25em;
    width: calc(100% + 0.5em);
    height: calc(100% + 1.5em);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    transition-delay: 0.1s;
}

.voltage-button svg path {
    stroke-dasharray: 100;
    fill: none;
    stroke-width: 2;
}

.voltage-button svg path.line-1 {
    stroke: #f6de8d;
    stroke-dashoffset: 0;
    animation: spark-1 3s linear infinite;
    filter: url('#glow');
}

.voltage-button svg path.line-2 {
    stroke: #6bfeff;
    stroke-dashoffset: 500;
    animation: spark-2 3s linear infinite;
    filter: url('#glow');
}

.voltage-button .dots {
    opacity: 0;
    transition: opacity 0.3s;
    transition-delay: 0.4s;
}

.voltage-button .voltage-btn:hover + svg + .dots {
    opacity: 1;
}

.voltage-button .dot {
    width: 1rem;
    height: 1rem;
    background: white;
    border-radius: 100%;
    position: absolute;
    opacity: 0;
}

.voltage-button .dot-1 {
    top: 0;
    left: 20%;
    animation: fly-up 3s linear infinite;
}

.voltage-button .dot-2 {
    top: 0;
    left: 55%;
    animation: fly-up 3s linear infinite;
    animation-delay: 0.5s;
}

.voltage-button .dot-3 {
    top: 0;
    left: 80%;
    animation: fly-up 3s linear infinite;
    animation-delay: 1s;
}

.voltage-button .dot-4 {
    bottom: 0;
    left: 30%;
    animation: fly-down 3s linear infinite;
    animation-delay: 2.5s;
}

.voltage-button .dot-5 {
    bottom: 0;
    left: 65%;
    animation: fly-down 3s linear infinite;
    animation-delay: 1.5s;
}

@keyframes spark-1 {
    to {
        stroke-dashoffset: -1000;
    }
}

@keyframes spark-2 {
    to {
        stroke-dashoffset: -500;
    }
}

@keyframes fly-up {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.2);
    }
    5% {
        opacity: 1;
        transform: translateY(-1.5rem) scale(0.4);
    }
    10%, 100% {
        opacity: 0;
        transform: translateY(-3rem) scale(0.2);
    }
}

@keyframes fly-down {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.2);
    }
    5% {
        opacity: 1;
        transform: translateY(1.5rem) scale(0.4);
    }
    10%, 100% {
        opacity: 0;
        transform: translateY(3rem) scale(0.2);
    }
}
