html.lenis, html.lenis body {
    height: auto;
}
.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis-stopped {
    overflow: hidden;
}
.lenis-scrolling iframe {
    pointer-events: none;
}

/* BASE STYLES & VARIABLES */
:root {
    --bg-dark: #0a0a0a;
    --bg-light: #ffffff;
    --accent-pink: #d81b60;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-muted: #777777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* NAVIGATION */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    color: var(--text-light);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-pink);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-pink);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-light);
}

/* HERO SEKTION */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(320px, 750px) 1fr; 
    align-items: center;
    padding: 0 5% 0 8%;
    background-color: #0c0c0e;
}

.hero-bg-container {
    position: absolute;
    top: -20vh; 
    left: 0;
    width: 100%;
    height: 140vh; 
    background-image: url('images/hero.jpg');
    background-size: cover; 
    background-position: 82% center; 
    background-repeat: no-repeat;
    z-index: 1;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(10, 10, 10, 0.75) 40%, 
        rgba(10, 10, 10, 0.2) 75%, 
        rgba(10, 10, 10, 0) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero h1 {
    color: var(--text-light);
    font-size: 2.0rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.hero h1 span {
    color: var(--accent-pink);
}

.subtitle {
    color: var(--accent-pink);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero p {
    color: #e0e0e0;
    font-size: 1.25rem;
    margin-bottom: 35px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-mobile-image {
    display: none;
}

/* PARALLAX SECTIONS */
.parallax-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100%;
}

.parallax-bg {
    position: absolute;
    top: -30vh; 
    left: 0;
    width: 100%;
    height: 160vh; 
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.sep-1 .parallax-bg {
    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.25)), url('images/sep_1.jpg?v=11232344');
}

.sep-2 .parallax-bg {
    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.25)), url('images/sep_2.jpg?v=531212321312243w3325');
}

/* CONTENT SECTIONS */
.section-wrapper {
    position: relative;
    z-index: 5;
    width: 100%;
}

.white-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
#kontakt { padding: 120px 20px 80px 20px; }

.section-title {
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-pink);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-pink);
    border-color: var(--accent-pink);
    color: var(--text-light);
}

.btn-light {
    color: var(--text-light);
    border-color: var(--text-light);
}

.highlight {
    color: var(--accent-pink);
}

/* CARDS / LISTS */
.focus-box {
    border-left: 3px solid var(--accent-pink);
    padding-left: 25px;
    margin-bottom: 35px;
}

.focus-box h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.light-box {
    background: rgba(255, 255, 255, 0.04);
    padding: 30px;
    border-radius: 4px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}

ul {
    list-style: none;
}

ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

ul li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--accent-pink);
    font-size: 0.75rem;
    top: 2px;
}
.nav-menu li { margin-bottom:0; }

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    background: rgba(216, 27, 96, 0.12);
    color: var(--accent-pink);
    padding: 5px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 2px;
}

/* KONTAKT DESIGN */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.contact-image-wrapper {
    width: 100%;
    height: 540px;
    background-image: url('images/schuhe.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* DEZENTER BACK TO TOP BUTTON */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: rgba(10, 10, 10, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--accent-pink);
    border-color: var(--accent-pink);
}

.scroll-top-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--text-light);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover svg {
    transform: translateY(-2px);
}

/* FOOTER */
footer {
    background-color: #050505;
    color: #777575;
    padding: 50px 20px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 5;
}
footer a {
    text-decoration: none;
    color: #777575 !important;
}
footer span.by {
    color: #555;
}
footer span.by a {
    color: #555 !important;
}
span.impressum { color: #9f9f9f; font-weight: 600; }
    
/* RESPONSIVE DESIGN */
@media (max-width: 968px) {
    .hero {
        display: flex;
        flex-direction: column; 
        height: auto;
        min-height: 100vh;
        padding: 140px 24px 60px 24px;
        background-color: var(--bg-dark);
    }
    
    .hero-bg-container,
    .hero-overlay {
        display: none;
    }

    .hero-content-wrapper {
        margin-bottom: 40px; 
    }

    .hero-mobile-image {
        display: block;
        width: 100%;
        max-width: 450px; 
        height: auto;
        border-radius: 4px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.6);
        margin: 0 auto;
    }

    .parallax-bg {
        height: 120vh;
        top: -10vh;
    }

    .grid-2, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-image-wrapper {
        height: 400px;
        order: -1;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: var(--bg-dark);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s ease-in-out;
        gap: 35px;
        padding: 0;
        z-index: 1000;
        list-style: none !important;
    }
		
    .nav-menu li {
        padding-left: 0 !important;
        margin-bottom: 0;
    }

    .nav-menu li::before {
        content: none !important;
    }
		
		/* Zieht das gesamte Menü über den ersten Punkt nach oben */
    .nav-menu li:first-child {
        margin-top: -10vh; /* -10vh entspricht exakt den gewünschten 10% der Bildschirmhöhe */
    }
    
    .nav-menu a {
        font-size: 1.3rem;
        letter-spacing: 2px;
        display: block;
        width: 100%;
    }

    .nav-menu.active {
        left: 0;
    }

    .scroll-top-btn {
        bottom: 25px;
        right: 25px;
        width: 40px;
        height: 40px;
    }
}

/* Styling für das seitliche Bild im Über-mich-Bereich */
.ueber-mich-side-img {
    width: 100%;
}

.ueber-mich-side-img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* Styling für den zentrierten Motivations-Block darunter */
.ueber-mich-bottom-motivation {
    margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.ueber-mich-bottom-motivation .focus-box {
    max-width: 900px; /* Begrenzt die Breite für bessere Lesbarkeit im zentrierten Layout */
    margin-bottom: 0;
}

/* ==========================================================================
   LINKEDIN ICON NAV STYLES (Final gelöst)
   ========================================================================= */

/* Allgemein & Desktop */
.nav-menu li.nav-linkedin-wrapper {
    display: flex;
    align-items: center;
    list-style: none !important;
    padding-left: 0 !important; /* Entfernt das globale Listen-Padding */
    margin-bottom: 0;
    margin-left:-20px;
}

/* Entfernt das pinke Quadrat auf Desktop & Mobil restlos */
.nav-menu li.nav-linkedin-wrapper::before {
    content: none !important;
    display: none !important;
}

.nav-linkedin-wrapper a {
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.nav-linkedin-wrapper svg {
    width: 20px;
    height: 20px;
    fill: var(--text-light);
    transition: fill 0.3s ease;
}

.nav-linkedin-wrapper a:hover svg {
    fill: var(--accent-pink);
}

/* Desktop-Abstand */
@media (min-width: 969px) {
    .nav-menu li.nav-linkedin-wrapper {
        margin-left: -12px;
    }
}

/* Mobil-Menü (Verhält sich nun exakt wie die Text-Links) */
@media (max-width: 968px) {
    .nav-menu li.nav-linkedin-wrapper {
        display: block !important;    /* Gleiches Verhalten wie alle li */
        width: 100% !important;
        margin-top: -25px !important;  /* Abstand unter "Kontakt" */
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .nav-menu .nav-linkedin-wrapper a {
        display: block !important;    /* Aktiviert display: block wie gefordert */
        width: 100% !important;
        text-align: center !important; /* Zentriert den Inhalt des Blocks */
    }

    .nav-linkedin-wrapper svg {
        width: 26px;
        height: 26px;
        display: inline-block;        /* Erlaubt dem SVG, auf text-align: center zu hören */
        vertical-align: middle;
    }
}


/* ==========================================================================
   LINKEDIN ICON IM KONTAKT-BEREICH (Pure Version, 50x50px)
   ========================================================================== */
.contact-linkedin-pure {
    margin-top: 10px;
    display: flex;
}

.contact-linkedin-pure a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 0 !important;
    text-decoration: none;
}

.contact-linkedin-pure svg {
    width: 35px;
    height: 35px;
    fill: var(--text-light); /* Identisch mit dem Header-Weiß */
    transition: fill 0.3s ease;
}

/* Hover-Effekt wie im Header */
.contact-linkedin-pure a:hover svg {
    fill: var(--accent-pink);
}

/* Mobile Zentrierung */
@media (max-width: 968px) {
    .contact-linkedin-pure {
        justify-content: center; /* Zentriert das Icon mobil unter der E-Mail */
        width: 100%;
    }
}

/* Effekt für das Scrollen auf Desktop */

    header {
        transition: background-color 0.4s ease, border-color 0.4s ease;
    }

    /* Wenn gescrollt wird, wird die Leiste transparent */
    header.scrolled {
        background-color: rgba(10, 10, 10, 0.30) !important; /* Deutlich transparenter */
        border-bottom-color: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(5px); /* Reduziert den Blur beim Scrollen leicht für bessere Transparenz-Optik */
        -webkit-backdrop-filter: blur(5px);
    }