@import url('https://fonts.googleapis.com/css2?family=Young+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Graphik&display=swap');

/*
    ====================
    BASIS-STILE & VARIABLEN
    ====================
*/

:root {
    --primary-bg: #ffffff; 
    --secondary-bg: #000033; 
    --tertiary-bg: #333333; 
    --text-color: #f4a460; 
    --accent-color: #f4a460; 
    --contact-form-bg: #f0f0f0; 
}

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

html { 
    scroll-behavior: smooth; 
}

body:has(.main-nav.active) {
    overflow: hidden;
}

body {
    font-family: 'Graphik', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    background-color: var(--secondary-bg);
    position: relative;
    overflow-x: hidden;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: color 0.3s ease; 
}

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

/* Globale Typografie-Hierarchie (Wasserfall für dunkle Hintergründe) */
h1, h2, h3, h4 {
    font-family: 'Young Serif', serif;
    font-weight: 400;
    color: var(--accent-color); 
    line-height: 1.1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/*
    ====================
    CINEMATIC VIDEO BACKGROUND
    ====================
*/

.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2; 
    overflow: hidden;
    pointer-events: none;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 51, 0.35);
    z-index: -1;
}

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

.main-header {
    width: 100%;
    padding: 2.5rem 5vw;
    z-index: 100;
    position: fixed; 
    top: 0;
    left: 0;
    background-color: transparent;
    transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.main-header.scrolled {
    background-color: var(--secondary-bg);
    padding: 1.2rem 5vw;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.lang-switcher-compact {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Graphik', sans-serif;
    font-size: 0.85rem;
}

.lang-btn-compact {
    background: none;
    border: none;
    color: rgba(244, 164, 96, 0.6);
    font-weight: bold;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.lang-btn-compact:hover,
.lang-btn-compact.active {
    color: var(--accent-color);
}

.lang-sep {
    color: rgba(244, 164, 96, 0.3);
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .lang-switcher-compact { display: none; }
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 102;
}

.logo {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: bold;
    font-family: 'Young Serif', serif;
    letter-spacing: -0.05em;
    color: var(--accent-color); 
    transition: color 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.main-header:has(.menu-btn.open) .logo {
    color: var(--accent-color);
}

.menu-btn {
    width: 2.5rem; 
    height: 2rem;
    position: relative; 
    cursor: pointer; 
    z-index: 103;
}

.menu-btn svg {
    display: block;
    overflow: visible;
}

.menu-btn .wave-bar {
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease, stroke 0.4s ease;
    stroke: var(--accent-color); 
    transform-origin: center;
}

.menu-btn.open .wave-bar {
    stroke: var(--accent-color);
}

.menu-btn.open .wave-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open .wave-bar:nth-child(2) { opacity: 0; }
.menu-btn.open .wave-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--secondary-bg);
    z-index: 101;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 12rem 5vw 5vh 5vw; 
    gap: 1.8rem;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.6s ease;
    opacity: 0;
}

.main-nav .lang-switcher {
    margin-top: 1.5rem;
}

.main-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.main-nav a {
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    text-transform: uppercase;
    font-weight: bold;
    color: var(--accent-color) !important;
    font-family: 'Graphik', sans-serif;
    transition: color 0.3s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), padding-left 0.4s ease;
    letter-spacing: -0.02em;
    display: block;
    position: relative;
}

.main-nav a:hover {
    color: var(--accent-color);
    padding-left: 1rem;
}

.main-nav::after {
    content: "CREATIVE STUDIO / CHOOSE TO LIKE IT";
    position: absolute;
    bottom: 3rem;
    right: 5vw;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--accent-color) !important;
    font-weight: bold;
    pointer-events: none;
}

/*
    ====================
    SPRACHWECHSLER
    ====================
*/

.lang-switcher {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(244, 164, 96, 0.35);
    color: var(--accent-color);
    font-family: 'Graphik', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.05em;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--accent-color);
    background: rgba(244, 164, 96, 0.1);
}

.lang-btn.active {
    background: var(--accent-color);
    color: var(--secondary-bg);
    border-color: var(--accent-color);
}

/*
    ====================
    LANDINGPAGE / HERO SEKTION
    ====================
*/

section { 
    padding: 12rem 5vw; 
    min-height: 100vh; 
    position: relative; 
}

.hero {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    background: transparent; 
    height: 100vh;
}

.hero-name {
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 1;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: var(--accent-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent-color);
    margin-top: 0.75rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.slogan {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    margin-top: 1rem;
    font-style: italic;
    color: var(--accent-color); 
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/*
    ====================
    MARKENSTATEMENT (Choose to like it)
    ====================
*/

.brand-statement {
    min-height: auto;
    padding: 5rem 5vw;
    background-color: var(--primary-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.brand-statement-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--secondary-bg);
}

.brand-statement-text {
    max-width: 46ch;
    text-align: center;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.6;
    color: rgba(0, 0, 51, 0.75);
}

/*
    ====================
    VISION SEKTION (Zebra weiss)
    ====================
*/

.vision {
    background-color: var(--primary-bg); 
    color: var(--secondary-bg); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    min-height: 50vh;
    padding: 6rem 5vw;
}

.vision-content { max-width: 60ch; }
.vision h2 { 
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--secondary-bg); 
}

/*
    ====================
    CONTENT KARUSSELL
    ====================
*/

.content-carousel {
    position: relative;
    max-width: 1600px;
    width: 100%;
    margin: 3rem auto 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 auto;
    width: 280px;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.carousel-item:hover {
    transform: translateY(-4px);
}

.carousel-item img,
.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
}

.carousel-arrow:hover {
    background-color: var(--accent-color);
    color: var(--secondary-bg);
}

@media (max-width: 600px) {
    .carousel-item { width: 180px; height: 180px; }
}

/*
    ====================
    FOLGE MIR: SOCIAL FOLLOW BLOCK
    ====================
*/

.social-follow {
    margin-top: 3rem;
    text-align: center;
}

.social-follow-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.social-follow-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.social-follow-icons a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.social-follow-icons a:hover {
    background-color: var(--accent-color);
    color: var(--secondary-bg);
    transform: translateY(-3px);
}


/*
    ====================
    LERNE MICH KENNEN: OPTIMIERTES SPLIT-LAYOUT
    ====================
*/

.vision-portrait {
    display: grid;
    /* Nutzt 45% für die orange Bildseite und 55% für den Textbereich */
    grid-template-columns: 45% 55%; 
    gap: 0;
    align-items: stretch;
    text-align: left;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0 !important;
    box-sizing: border-box;
    background-color: var(--primary-bg);
}

.vision-portrait-img {
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    /* Weniger Padding oben/unten (2rem) und seitlich (2.5rem), um das Orange zu reduzieren */
    padding: 2rem 2.5rem; 
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-portrait-img img {
    width: 100%;
    max-width: 460px;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.vision-portrait .vision-content {
    width: 100%;
    max-width: 68ch; /* Optimale Zeilenlänge für gute Lesbarkeit */
    padding: 3.5rem 5vw 3.5rem 3.5rem; /* Kompakterer Abstand zur Trennlinie */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vision-portrait h2 {
    white-space: nowrap;
    font-size: clamp(2.2rem, 3.5vw, 3.6rem);
    margin-bottom: 1.8rem;
    color: var(--secondary-bg);
    line-height: 1.1;
}

/* Schöne, saubere Textformatierung */
.vision-portrait p {
    font-size: clamp(1rem, 1.1vw, 1.15rem);
    line-height: 1.75; /* Angenehmer Zeilenabstand */
    color: rgba(0, 0, 51, 0.85);
    margin-bottom: 1.25rem;
}

.vision-portrait p strong,
.vision-portrait p b {
    color: var(--secondary-bg);
    font-weight: 600;
}

.vision-portrait p:last-of-type {
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .vision-portrait {
        grid-template-columns: 1fr 1fr; /* Ab Tablet wieder 50/50 */
    }

    .vision-portrait h2 {
        white-space: normal;
    }
}

@media (max-width: 900px) {
    .vision-portrait {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vision-portrait-img {
        padding: 2.5rem 1.5rem;
    }

    .vision-portrait .vision-content {
        max-width: none;
        padding: 3rem 1.5rem;
        align-items: center;
    }

    .vision-portrait h2 {
        font-size: 2rem;
    }
}

.btn-vision {
    display: inline-block;
    border: 2px solid var(--secondary-bg);
    color: var(--secondary-bg);
    padding: 1rem 2rem; 
    margin-top: 2rem;
    text-transform: uppercase; 
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.btn-vision:hover { 
    background-color: var(--secondary-bg); 
    color: var(--primary-bg); 
}

/*
    ====================
    PORTFOLIO GRID
    ====================
*/

.portfolio { 
    background-color: var(--secondary-bg); 
}

.portfolio h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent-color); 
}

.portfolio-intro {
    max-width: 65ch;
    margin: 0 auto 3.5rem auto;
    text-align: center;
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.7;
    color: rgba(244, 164, 96, 0.85);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item-wrapper { display: flex; flex-direction: column; }
.portfolio-item { overflow: hidden; position: relative; }

.portfolio-item img,
.portfolio-item video {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}
.portfolio-item:hover img,
.portfolio-item:hover video { transform: scale(1.05); }

.portfolio-item.tall { height: 400px; }
.portfolio-item.short { height: 300px; }

.project-info { padding-top: 1rem; text-align: center; }
.project-info strong { font-size: 1.2rem; color: var(--accent-color); }
.project-info p { font-size: 0.9rem; color: rgba(244, 164, 96, 0.7); }

@media (min-width: 768px) {
    .portfolio-item-wrapper.offset { margin-top: 3rem; }
}

/*
    ====================
    LEBENSLAUF (ZEITSTRAHL & SPRACHEN)
    ====================
*/

.cv-section {
    background-color: var(--secondary-bg);
    padding-top: 4rem;
}

.cv-section h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    text-align: center;
    color: var(--accent-color); 
    margin-bottom: 0.5rem;
}

.cv-subtitle {
    text-align: center;
    color: rgba(244, 164, 96, 0.7); 
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.cv-download-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.cv-download-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--secondary-bg);
    font-weight: bold;
    letter-spacing: 0.03em;
    padding: 1rem 2.2rem;
    border-radius: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cv-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 164, 96, 0.25);
    color: var(--secondary-bg);
}

.cv-cert-link {
    font-size: 0.9rem;
    color: rgba(244, 164, 96, 0.65);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cv-cert-link:hover {
    color: var(--accent-color);
}

.true-timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.main-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 300px; 
    width: 2px;
    background: rgba(244, 164, 96, 0.2); 
    transform: translateX(-50%);
}

.timeline-block {
    position: relative; 
    width: 100%;
    margin-bottom: 5.5rem;
    display: flex;
    align-items: center;
}

.timeline-block:nth-child(even) { 
    justify-content: flex-start; 
}

.timeline-block:nth-child(odd) { 
    justify-content: flex-end; 
}

.timeline-block .cv-item {
    width: 42%; 
    display: block;
}

.cv-item {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(244, 164, 96, 0.2); 
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cv-item.highlight {
    border-left: 3px solid var(--accent-color);
    background: rgba(244, 164, 96, 0.06);
}

.timeline-block:hover .cv-item {
    transform: translateY(-5px);
    background: rgba(244, 164, 96, 0.08); 
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cv-date {
    position: absolute;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-color);
    font-weight: bold;
    white-space: nowrap;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
}

.timeline-block:nth-child(even) .cv-date {
    left: calc(50% + 30px);
    text-align: left;
}

.timeline-block:nth-child(odd) .cv-date {
    right: calc(50% + 30px);
    text-align: right;
}

.cv-item h4 {
    font-size: 1.3rem;
    color: var(--accent-color); 
    margin-bottom: 0.25rem;
    font-family: 'Graphik', sans-serif;
}

.cv-item h5 {
    color: rgba(244, 164, 96, 0.7); 
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.cv-item p {
    font-size: 0.95rem;
    color: rgba(244, 164, 96, 0.85); 
    font-family: 'Graphik', sans-serif;
}

.timeline-dot-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    background: var(--secondary-bg);
    border: 2px solid var(--accent-color); 
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline-block:hover .timeline-dot-center {
    border-color: var(--accent-color);
    background: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.4);
}

.timeline-block.languages-block { 
    justify-content: center;
    margin-top: 40px;
    width: 100%;
    z-index: 2;
}

.timeline-block.languages-block .timeline-dot-center {
    display: none; 
}

.timeline-block.languages-block .cv-item.genuine-info { 
    width: 100%;
    max-width: 600px;
    text-align: left;
    margin: 0 auto;
}

.timeline-block.languages-block .cv-item.genuine-info h3 { 
    font-family: 'Graphik', sans-serif;
    font-size: 1.3rem; 
    font-weight: bold;
    color: var(--accent-color); 
    margin-bottom: 1rem; 
    text-shadow: none;
}

.timeline-block.languages-block .cv-item.genuine-info p,
.timeline-block.languages-block .cv-item.genuine-info strong {
    font-family: 'Graphik', sans-serif;
    color: rgba(244, 164, 96, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

/*
    ====================
    BILDEINDRÜCKE + FOLGE MIR (vor Kontakt)
    ====================
*/

.impressions-section {
    background-color: var(--secondary-bg);
    min-height: auto;
    padding: 6rem 5vw;
    text-align: center;
}

.impressions-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--accent-color);
    margin-bottom: 3rem;
}

.impressions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto 3.5rem auto;
}

.impressions-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.impressions-grid img:hover {
    transform: scale(1.04);
}

@media (max-width: 700px) {
    .impressions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.impressions-video-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3.5rem auto;
}

.impressions-yt-embed {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    flex: 1 1 500px;
}

.impressions-yt-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/*
    ====================
    KONTAKT SEKTION (Zebra weiss)
    ====================
*/

.contact { 
    min-height: 50vh;
    padding: 6rem 15vw;
    background-color: var(--primary-bg);
    color: var(--secondary-bg); 
}

.contact h2 { 
    font-size: 2rem; 
    font-family: 'Young Serif', serif;
    font-weight: 400;
    color: var(--secondary-bg) !important; 
    max-width: 600px; 
    margin: 0 auto 2rem auto; 
    text-align: center; 
    line-height: 1.2;
    text-shadow: none;
}

.contact form { 
    max-width: 600px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.contact input, 
.contact textarea {
    width: 100%;
    padding: 16px; 
    background-color: var(--contact-form-bg); 
    border: 1px solid rgba(0, 0, 51, 0.15); 
    color: var(--secondary-bg); 
    font-family: 'Graphik', sans-serif; 
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.contact input:focus, 
.contact textarea:focus {
    outline: none;
    border-color: var(--secondary-bg);
}

.contact button {
    width: 100%;
    padding: 16px; 
    background-color: var(--secondary-bg); 
    border: none;
    color: var(--primary-bg); 
    font-weight: bold; 
    text-transform: uppercase; 
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease;
    font-family: 'Graphik', sans-serif;
}

.contact button:hover { 
    background-color: var(--accent-color); 
}

@media (max-width: 768px) {
    .contact h2 {
        padding: 0 20px;
    }
}

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

.footer {
    text-align: center; 
    padding: 2rem 20px; 
    background-color: var(--secondary-bg);
    color: rgba(244, 164, 96, 0.6); 
    border-top: 1px solid rgba(244, 164, 96, 0.15);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.footer-socials {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-link:hover {
    color: var(--accent-color);
}

/*
    ====================
    RESPONSIVE (MOBILE OPTIMIERUNG)
    ====================
*/

@media (max-width: 768px) {
    .main-timeline-line { left: 20px; transform: none; bottom: 180px; }

    .timeline-block { 
        justify-content: flex-end !important; 
        padding-left: 45px; 
        margin-bottom: 3rem; 
    }

    .timeline-block .cv-item { width: 100%; }

    .timeline-dot-center { 
        left: 20px; 
        top: 50%; 
        transform: translate(-50%, -50%); 
    }

    .timeline-block:hover .timeline-dot-center { 
        transform: translate(-50%, -50%) scale(1.3); 
    }

    .cv-date { 
        position: relative !important; 
        top: auto !important; 
        left: auto !important; 
        right: auto !important; 
        transform: none !important;
        text-align: left !important; 
        display: block;
        margin-bottom: 0.75rem;
        pointer-events: auto;
    }

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

    .languages-block .cv-item.genuine-info {
        max-width: 100%;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .timeline-block:nth-child(even) .cv-date { left: calc(50% + 20px); }
    .timeline-block:nth-child(odd) .cv-date { right: calc(50% + 20px); }
}

/*
    ====================
    LIGHTBOX (Bilder/Videos vergrössern)
    ====================
*/

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 2.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 201;
}

.carousel-item,
.portfolio-item {
    cursor: pointer;
}

/*
    ====================
    UNTERSEITEN (Portfolio Detail-Seiten)
    ====================
*/

.subpage-hero {
    min-height: auto;
    padding: 12rem 5vw 3rem 5vw;
    background-color: var(--secondary-bg);
    text-align: center;
}

.subpage-back {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: rgba(244, 164, 96, 0.7);
    letter-spacing: 0.05em;
}

.subpage-back:hover {
    color: var(--accent-color);
}

.subpage-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.subpage-content {
    min-height: auto;
    padding: 2rem 5vw 6rem 5vw;
    background-color: var(--secondary-bg);
    max-width: 900px;
    margin: 0 auto;
}

.subpage-content p {
    font-size: 1.05rem;
    color: rgba(244, 164, 96, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.subpage-media {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    aspect-ratio: 16 / 10;
}

.subpage-media img,
.subpage-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.subpage-embed {
    margin: 2.5rem 0;
}

.subpage-embed-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(244, 164, 96, 0.6);
    margin-bottom: 1rem;
}

.subpage-embed-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
}

.subpage-embed-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.subpage-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 700px) {
    .subpage-video-grid {
        grid-template-columns: 1fr;
    }
}

.subpage-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.subpage-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

@media (max-width: 700px) {
    .subpage-gallery {
        grid-template-columns: 1fr;
    }
}

.subpage-subtitle {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(244, 164, 96, 0.15);
}
