/* -------------------------------------------------------------
   DESIGN SYSTEM & VARIABLES
   ------------------------------------------------------------- */
@import url("../assets/fonts/fonts.css");

:root {
    /* Color Palette */
    --bg-dark: #030303;
    --bg-card: rgba(18, 18, 18, 0.45);
    --primary-gold: #ce9054;
    --secondary-gold: #e5a974;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.35);
    --accent-glow: rgba(206, 144, 84, 0.15);
    
    /* Borders & Glassmorphism */
    --border-glass: 1px solid rgba(255, 255, 255, 0.07);
    --border-glass-hover: 1px solid rgba(206, 144, 84, 0.35);
    --border-hud: 1px solid rgba(255, 255, 255, 0.15);
    --border-hud-active: 1px solid var(--primary-gold);
    --radius-lg: 16px;
    --radius-md: 8px;
    --radius-sm: 4px;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Layout & Spacing */
    --site-max-width: 1400px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

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

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

button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* -------------------------------------------------------------
   VISUAL AMBIENCE (AURORA & GRID OVERLAY)
   ------------------------------------------------------------- */
/* Background Glow Spheres */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: -2;
}

.aurora-sphere {
    position: absolute;
    width: 45vw;
    height: 45vw;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    mix-blend-mode: screen;
}

.aurora-1 {
    background: radial-gradient(circle, var(--primary-gold) 0%, transparent 80%);
    top: -10%;
    left: 10%;
    animation: float1 25s infinite alternate ease-in-out;
}

.aurora-2 {
    background: radial-gradient(circle, var(--secondary-gold) 0%, transparent 80%);
    bottom: -15%;
    right: 5%;
    animation: float2 30s infinite alternate ease-in-out;
}

.aurora-3 {
    background: radial-gradient(circle, #8a572a 0%, transparent 80%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float3 28s infinite alternate ease-in-out;
}

@keyframes float1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8%, 5%) scale(1.1); }
}
@keyframes float2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-10%, -8%) scale(0.9); }
}
@keyframes float3 {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-45%, -48%) rotate(180deg) scale(1.1); }
}

/* Vertical Stripe Look Grid Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    display: flex;
    justify-content: space-between;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.grid-line {
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.015);
}

/* -------------------------------------------------------------
   TYPOGRAPHY & UTILITIES
   ------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.title-light {
    font-family: var(--font-serif);
    font-weight: 300;
}

.mono-text {
    font-family: var(--font-mono);
}

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

/* Glassmorphism utility */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    transition: border 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
    border: var(--border-glass-hover);
    box-shadow: 0 10px 30px rgba(206, 144, 84, 0.03);
}

/* Section Spacing */
.section-padding {
    padding: 120px 0;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------
   NAVIGATION HEADER
   ------------------------------------------------------------- */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    transition: background-color 0.4s ease, border-bottom 0.4s ease, backdrop-filter 0.4s ease;
}

.nav-header.scrolled {
    background-color: rgba(3, 3, 3, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-logo img {
    height: 54px; /* Increased from 38px to make logo details and small text readable */
    filter: brightness(0) invert(1); /* Ensure white vector representation */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-logo:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(206, 144, 84, 0.45)); /* Subtle premium gold glow */
    transform: scale(1.02);
}

.mobile-nav-toggle,
.mobile-nav-hint,
.mobile-exif-hint {
    display: none;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.95;
    filter: brightness(0.95) contrast(1.02);
    transform: scale(1.05);
    transition: transform 0.8s ease-out;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(3, 3, 3, 0.7) 100%),
                linear-gradient(to bottom, transparent 60%, var(--bg-dark) 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 3;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(18px);
    animation: fadeInUpText 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-subtitle {
    font-family: var(--font-sans);
    color: var(--secondary-gold);
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(18px);
    animation: fadeInUpText 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hero-subtitle-svg {
    height: 1.8rem;
    width: auto;
}

@media (min-width: 992px) {
    .hero-content {
        left: 56%;
        top: 42%;
        transform: translate(0, -50%);
        width: auto;
        max-width: 500px;
        align-items: flex-start;
        text-align: left;
        padding: 0;
    }
    
    .hero-subtitle {
        justify-content: flex-start;
    }
}


.hero-scroll-btn {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeInScroll 1.2s ease 1.2s forwards;
    z-index: 3;
}

.hero-scroll-btn:hover {
    color: var(--primary-gold);
}

.hero-scroll-icon {
    font-size: 0.9rem;
    animation: bounceIcon 2s infinite ease-in-out;
}

@keyframes fadeInUpLogo {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeInUpText {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScroll {
    to { opacity: 1; }
}
@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* -------------------------------------------------------------
   BENTO GRID (KERNKOMPETENZEN)
   ------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    font-family: var(--font-mono);
    color: var(--primary-gold);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    font-weight: 300;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 220px;
    gap: 24px;
}

.bento-card {
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.bento-card-bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouseX, 50%) var(--mouseY, 50%), rgba(206, 144, 84, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.bento-icon {
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-bottom: auto;
    align-self: flex-start;
    transform: translateZ(30px);
    transition: transform 0.4s ease;
}

.bento-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    transform: translateZ(20px);
}

.bento-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
    transform: translateZ(10px);
}

.bento-card:hover .bento-icon {
    transform: translateZ(40px) scale(1.1);
}

/* Card sizing spans */
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-12 { grid-column: span 12; }
.bento-card.row-2 { grid-row: span 2; }

/* -------------------------------------------------------------
   GENERATIONEN-SHOWCASE (WITH HEALTH HUDs)
   ------------------------------------------------------------- */
#showcase {
    position: relative;
    background-image: linear-gradient(to bottom, #030303 0%, rgba(3, 3, 3, 0.88) 15%, rgba(3, 3, 3, 0.88) 85%, #030303 100%), 
                      url('../assets/showcase_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    #showcase {
        background-attachment: scroll;
    }
}

.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 60px;
}

.generation-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.generation-row:nth-child(even) {
    flex-direction: row-reverse;
}

.generation-row:nth-child(even) .hud-targeting-box {
    left: auto;
    right: -20px;
}

.generation-image-container {
    flex: 1;
    position: relative;
}

/* Futuristic Target Telemetry Box */
.hud-targeting-box {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    pointer-events: none;
    z-index: 3;
}

.hud-target-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border-color: var(--primary-gold);
    border-style: solid;
    border-width: 0;
}

.corner-tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corner-tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corner-bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corner-br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.hud-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(206, 144, 84, 0.25);
    border-radius: 50%;
}

.hud-crosshair::before,
.hud-crosshair::after {
    content: '';
    position: absolute;
    background-color: rgba(206, 144, 84, 0.4);
}

.hud-crosshair::before {
    top: 50%;
    left: -8px;
    right: -8px;
    height: 1px;
    transform: translateY(-50%);
}

.hud-crosshair::after {
    left: 50%;
    top: -8px;
    bottom: -8px;
    width: 1px;
    transform: translateX(-50%);
}

.generation-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border-glass);
}

.generation-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1) brightness(0.95);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.generation-image-container:hover .generation-image {
    transform: scale(1.03);
    filter: grayscale(0.2) contrast(1.05) brightness(1);
}

/* Optics/Vitals Telemetry Overlay */
.hud-vitals-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    padding: 20px;
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: var(--border-hud);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-primary);
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    
    /* Hide by default, show only on hover */
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.generation-image-container:hover .hud-vitals-overlay {
    opacity: 1;
    transform: translateY(0);
    /* Keep pointer-events: none to prevent flickering or losing hover state */
}

.hud-header {
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.hud-title {
    color: var(--primary-gold);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.hud-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    color: #4cd964;
}

.hud-status-dot {
    width: 6px;
    height: 6px;
    background-color: #4cd964;
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    from { opacity: 0.4; }
    to { opacity: 1; box-shadow: 0 0 8px #4cd964; }
}

.hud-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hud-label {
    color: var(--text-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
}

.hud-value {
    font-size: 0.8rem;
    font-weight: 500;
}

.generation-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.generation-meta {
    font-family: var(--font-mono);
    color: var(--primary-gold);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
}

.generation-title {
    font-size: 3.2rem;
    line-height: 1.1;
}

.generation-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
}

/* -------------------------------------------------------------
   FOTOGALERIE ARCHITEKTUR
   ------------------------------------------------------------- */
#gallery {
    position: relative;
    background-image: linear-gradient(to bottom, #030303 0%, rgba(3, 3, 3, 0.88) 15%, rgba(3, 3, 3, 0.88) 85%, #030303 100%), 
                      url('../assets/gallery_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    #gallery {
        background-attachment: scroll;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 48px; /* gap-12 as specified */
}

.gallery-item {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
}

.gallery-item.col-6 { grid-column: span 6; }
.gallery-item.col-4 { grid-column: span 4; }
.gallery-item.col-8 { grid-column: span 8; }
.gallery-item.col-12 { grid-column: span 12; }

.gallery-item-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

@media (hover: hover) {
    .gallery-item:hover .gallery-item-title {
        color: var(--primary-gold);
    }
}

@media (max-width: 768px) {
    .gallery-item-title {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
}

/* Image scaling and styling */
.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    flex-grow: 1;
    display: flex;
    border-radius: var(--radius-lg);
    border: var(--border-glass);
    transition: border-color 0.3s ease;
}

@media (hover: hover) {
    .gallery-item:hover .gallery-image-wrapper {
        border-color: rgba(206, 144, 84, 0.35);
    }
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

/* Gallery Item Hover Effects: Only applied on devices supporting hover to prevent iOS double-tap bug */
@media (hover: hover) {
    .gallery-item:hover .gallery-img {
        transform: scale(1.04);
        filter: brightness(0.9);
    }
    
    .gallery-item:hover .viewfinder-lines {
        opacity: 1;
    }
    
    .gallery-item:hover .viewfinder-stats-bar {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 4px;
    border-radius: var(--radius-md);
}

.gallery-item:focus-visible .gallery-img {
    transform: scale(1.04);
    filter: brightness(0.9);
}

.gallery-item:focus-visible .viewfinder-lines {
    opacity: 1;
}

.gallery-item:focus-visible .viewfinder-stats-bar {
    opacity: 1;
    transform: translateY(0);
}

/* Viewfinder Overlay on Hover */
.viewfinder-lines {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.viewfinder-lines::before,
.viewfinder-lines::after {
    content: '';
    position: absolute;
}

/* Horizontal rule of thirds */
.viewfinder-lines::before {
    top: 33.33%;
    bottom: 33.33%;
    left: 0;
    right: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Vertical rule of thirds */
.viewfinder-lines::after {
    left: 33.33%;
    right: 33.33%;
    top: 0;
    bottom: 0;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
    border-right: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Inline viewfinder stats bar */
.viewfinder-stats-bar {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-item i {
    color: var(--primary-gold);
    font-size: 0.65rem;
}

/* -------------------------------------------------------------
   EXIF LIGHTBOX SYSTEM
   ------------------------------------------------------------- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 3, 3, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 40px;
    overflow: hidden !important; /* Verhindert das Flackern von Scrollbars */
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    max-width: var(--site-max-width);
}

.lightbox-image-container {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-img {
    position: relative;
    z-index: 1;
    max-width: calc(100% - 200px); /* Restrict width to keep nav buttons outside */
    max-height: 85vh;
    object-fit: contain;
    border: var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Close & Nav buttons */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-secondary);
    font-size: 1.5rem;
    z-index: 1010;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(18, 18, 18, 0.5);
    border: var(--border-glass);
    transition: color 0.3s, background-color 0.3s;
}

.lightbox-close:hover {
    color: var(--primary-gold);
    background-color: rgba(18, 18, 18, 0.9);
}

/* Slide-Up EXIF telemetry panel with spring gesture feel */
.exif-panel {
    width: 320px;
    height: auto;
    max-height: 85vh;
    padding: 30px;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-hud);
    border-radius: var(--radius-lg);
    font-family: var(--font-mono);
    color: var(--text-primary);
    z-index: 1005;
    
    /* Sliding animation values */
    transform: translateY(120%);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.15); /* Elastic spring physics */
}

.lightbox.active .exif-panel {
    transform: translateY(0);
}

.exif-header {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.exif-title {
    color: var(--primary-gold);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.exif-title i {
    font-size: 0.8rem;
}

.exif-camera-model {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-top: 8px;
    letter-spacing: 0.02em;
}

.exif-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.exif-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.exif-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.exif-value-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.exif-icon {
    font-size: 0.75rem;
    color: var(--primary-gold);
}

.exif-value {
    font-size: 0.9rem;
    font-weight: 500;
}

/* -------------------------------------------------------------
   LIGHTBOX ALBUM EXTENSIONS
   ------------------------------------------------------------- */
.lightbox-image-container {
    position: relative;
}

/* Nav prev/next arrows – positioned relative to .lightbox-content-wrapper */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 2.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 1020;
    pointer-events: auto;
}

.lightbox-nav i {
    pointer-events: none;
}

/* Soft golden radial glow behind the minimalist arrow on hover */
.lightbox-nav::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(206, 144, 84, 0.25) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.lightbox-nav:hover::before {
    opacity: 1;
}

.lightbox-nav:hover {
    color: var(--primary-gold);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.nav-prev {
    left: 0;
}

.nav-prev:hover {
    transform: translateY(-50%) translateX(-6px);
}

.nav-next {
    right: calc(320px + 40px); /* Exif panel width + flex gap */
}

.nav-next:hover {
    transform: translateY(-50%) translateX(6px);
}

/* Counter indicator */
.lightbox-counter {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    background: rgba(3, 3, 3, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 10;
    pointer-events: none;
    text-transform: uppercase;
}

.lightbox-counter span {
    color: #ffffff;
    font-weight: 500;
}

/* Thumbnail strip */
.lightbox-thumbnails {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 8px 16px;
    background: rgba(3, 3, 3, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.thumbnail-item {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.5;
    transition: opacity 0.3s, border-color 0.3s, transform 0.3s;
    background-color: #000;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-item:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.thumbnail-item.active {
    opacity: 1;
    border-color: var(--primary-gold);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(206, 144, 84, 0.3);
}

/* Mobile Exif trigger button & overlay - default hidden (desktop) */
.lightbox-mobile-exif-toggle {
    display: none;
}
.lightbox-mobile-exif-overlay {
    display: none;
}

/* Smooth Fade transition classes for changing slides */
.lightbox-img {
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

.lightbox-img.changing {
    opacity: 0;
    transform: scale(0.98);
}

.exif-panel .exif-camera-model,
.exif-panel .exif-value {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.exif-panel.changing .exif-camera-model,
.exif-panel.changing .exif-value {
    opacity: 0;
    transform: translateY(4px);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 44px;
        height: 60px;
        font-size: 1.6rem;
    }
    .lightbox-nav::before {
        width: 44px;
        height: 44px;
    }
    .nav-prev {
        left: 0;
    }
    .nav-prev:hover {
        transform: translateY(-50%) translateX(-3px);
    }
    .nav-next {
        right: 0;
    }
    .nav-next:hover {
        transform: translateY(-50%) translateX(3px);
    }
    .lightbox-counter {
        top: 12px;
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    .lightbox-thumbnails {
        bottom: 12px;
        gap: 8px;
        padding: 6px 12px;
    }
    .thumbnail-item {
        width: 36px;
        height: 36px;
    }
    
    .lightbox-fullscreen-toggle,
    .lightbox-fullscreen-hint {
        display: none !important;
    }
}

/* -------------------------------------------------------------
   EXIF LIGHTBOX EXPANDED MODE & GLASSMORPHISM CARDS
   ------------------------------------------------------------- */
.lightbox-fullscreen-toggle {
    position: absolute;
    top: 20px;
    right: 74px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    z-index: 1010;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(18, 18, 18, 0.5);
    border: var(--border-glass);
    transition: color 0.3s, background-color 0.3s, transform 0.2s;
    cursor: pointer;
}

.lightbox-fullscreen-toggle:hover {
    color: var(--primary-gold);
    background-color: rgba(18, 18, 18, 0.9);
    transform: scale(1.05);
}

.lightbox-fullscreen-toggle:active {
    transform: scale(0.95);
}

/* Micro-interaction: subtle gold pulse highlight when lightbox opens */
.lightbox.active .lightbox-fullscreen-toggle {
    animation: pulseToggleHint 1.6s ease-in-out 3;
}

@keyframes pulseToggleHint {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(206, 144, 84, 0.7);
        border-color: rgba(206, 144, 84, 0.8);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(206, 144, 84, 0);
        border-color: rgba(206, 144, 84, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(206, 144, 84, 0);
        border-color: var(--border-glass);
    }
}

.lightbox-fullscreen-hint {
    position: absolute;
    top: 28px; /* Perfectly aligned vertically with the center of the 44px button */
    right: 128px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--primary-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(18, 18, 18, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(206, 144, 84, 0.25);
    z-index: 1010;
    pointer-events: none;
    opacity: 0;
}

.lightbox.active .lightbox-fullscreen-hint {
    animation: fadeHintText 4.8s ease-in-out forwards;
}

@keyframes fadeHintText {
    0% {
        opacity: 0;
        transform: translateX(10px);
    }
    10% {
        opacity: 1;
        transform: translateX(0);
    }
    85% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-10px);
    }
}

/* Expanded mode changes */
.lightbox.expanded-mode .lightbox-content-wrapper {
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    overflow-y: hidden;
    max-height: 100vh;
}

/* Hide side panel in expanded mode */
.lightbox.expanded-mode .exif-panel {
    display: none !important;
}

/* Reposition navigation arrows since side panel is hidden */
.lightbox.expanded-mode .nav-prev {
    left: 24px;
}

.lightbox.expanded-mode .nav-next {
    right: 24px;
}

/* Dynamic sizes to prevent upscaling past natural dimension or pushing the bottom cards off screen */
.lightbox.expanded-mode .lightbox-image-container {
    flex: 1;
    min-height: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox.expanded-mode .lightbox-img {
    max-width: min(calc(100% - 120px), var(--natural-width, 100%));
    max-height: min(100%, var(--natural-height, 100%));
}

/* Bottom Metadata Panel */
.lightbox.expanded-mode .lightbox-metadata-panel {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    gap: 12px;
    padding: 0 60px 20px 60px;
    box-sizing: border-box;
    z-index: 15;
    background: none;
    border: none;
    box-shadow: none;
    animation: fadeInMetadata 0.5s ease forwards;
}

/* Animate metadata entrance */
@keyframes fadeInMetadata {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Compact EXIF cards styling for Expanded Mode */
.lightbox.expanded-mode .lightbox-exif-cards {
    gap: 15px;
}

.lightbox.expanded-mode .exif-card {
    min-height: 70px;
    padding: 12px 16px;
    background: rgba(18, 18, 18, 0.55);
}

.lightbox.expanded-mode .exif-card-label {
    margin-bottom: 4px;
}

.lightbox.expanded-mode .exif-card-value {
    font-size: 1.15rem;
}

.lightbox.expanded-mode .exif-card-sublabel {
    margin-bottom: 2px;
}

.lightbox.expanded-mode .exif-card-value-small {
    font-size: 1.05rem;
}

.lightbox.expanded-mode .exif-card-divider {
    gap: 4px;
}

.lightbox.expanded-mode .exif-card-divider::before,
.lightbox.expanded-mode .exif-card-divider::after {
    height: 10px;
}

.lightbox-metadata-header {
    display: none !important;
}

.exif-image-title-wrapper {
    display: none !important;
}

.lightbox-image-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.02em;
}

.lightbox-image-collection {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lightbox-image-collection span {
    color: var(--primary-gold);
    font-weight: 500;
}

/* 4 Glassmorphism EXIF Cards */
.lightbox-exif-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.exif-card {
    background: rgba(18, 18, 18, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
    box-sizing: border-box;
}

.exif-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 25px rgba(206, 144, 84, 0.15);
    background: rgba(18, 18, 18, 0.75);
}

.exif-card-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: block;
}

.exif-card-value {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.exif-card-sub {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary-gold);
    margin-top: 4px;
}

.exif-card-value-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.exif-card-icon {
    color: var(--primary-gold);
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* Split design inside Cards 3 & 4 */
.exif-card-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

.exif-card-split > div:not(.exif-card-divider) {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.exif-card-sublabel {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.exif-card-value-small {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.exif-card-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 20px;
    height: 44px;
    flex-shrink: 0;
}

.exif-card-divider::before,
.exif-card-divider::after {
    content: '';
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    flex: 1;
}

.exif-card-divider i {
    color: var(--primary-gold);
    font-size: 0.8rem;
    flex-shrink: 0;
    line-height: 1;
}

/* Tablet view styling for EXIF Cards */
@media (max-width: 1024px) {
    .lightbox-exif-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .lightbox.expanded-mode .lightbox-metadata-panel {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    /* Fallback to disable expanded mode layout entirely on mobile in case of unexpected state */
    .lightbox.expanded-mode .lightbox-content-wrapper {
        flex-direction: column;
        justify-content: center;
        padding-top: 40px;
        overflow-y: auto;
    }
    .lightbox.expanded-mode .exif-panel {
        display: block !important;
    }
    .lightbox.expanded-mode .lightbox-metadata-panel {
        display: none !important;
    }
    .lightbox.expanded-mode .nav-next {
        right: 0; /* matches standard mobile behavior */
    }
}

/* -------------------------------------------------------------
   LEGAL PAGE (legal.html)
   ------------------------------------------------------------- */
.legal-section {
    padding-top: 140px; /* Space for fixed header */
    padding-bottom: 120px;
    min-height: 80vh;
}

.legal-header {
    margin-bottom: 60px;
}

/* Tabs layout */
.tabs-navigation {
    display: flex;
    gap: 20px;
    border-bottom: var(--border-glass);
    padding-bottom: 1px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 15px 30px;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.tab-content {
    display: none;
    max-width: 800px;
    animation: fadeInTab 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

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

.legal-text h3 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.legal-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 300;
}

.legal-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

.legal-text li {
    margin-bottom: 8px;
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
.site-footer {
    border-top: var(--border-glass);
    background-color: rgba(3, 3, 3, 0.95);
    padding: 60px 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 10;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 48px; /* Increased from 28px to bring out small details and readable text in footer */
    filter: brightness(0) invert(1);
    opacity: 0.75; /* Higher base opacity for better readability */
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover img {
    opacity: 1;
    transform: scale(1.02);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(206, 144, 84, 0.35)); /* Cohesive gold glow in footer */
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a:hover {
    color: var(--primary-gold);
}

.footer-copyright {
    color: var(--text-muted);
}

/* -------------------------------------------------------------
   RESPONSIVENESS
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .bento-grid {
        grid-auto-rows: 200px;
    }
    
    .bento-card.span-8 { grid-column: span 12; }
    .bento-card.span-4 { grid-column: span 6; }
    
    .generation-row {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .generation-image-container {
        width: 100%;
        max-width: 600px;
    }
    
    .gallery-grid {
        gap: 24px;
    }
    
    .gallery-item.col-4 { grid-column: span 6; }
    .gallery-item.col-8 { grid-column: span 12; }
    
    .lightbox-content-wrapper {
        flex-direction: column;
        gap: 20px;
        padding-top: 40px;
    }
    
    .lightbox-image-container {
        height: 60%;
        width: 100%;
    }
    
    .lightbox-img {
        max-width: calc(100% - 160px);
        max-height: 50vh;
    }
    
    .exif-panel {
        width: 100%;
        max-height: 35vh;
        overflow-y: auto;
    }
    
    .nav-next {
        right: 0; /* Column layout: exif panel is below, not to the right */
    }
}

@media (max-width: 768px) {
    /* General Section Spacing (Reduce huge dark spaces) */
    .section-padding {
        padding: 55px 0 !important;
    }

    .section-header {
        margin-bottom: 35px !important;
    }

    .bento-card {
        padding: 24px !important;
    }

    /* Mobile-specific navigation alignment */
    .nav-container {
        flex-direction: row-reverse !important;
    }

    /* Mobile-specific Lightbox adjustments */
    .lightbox {
        padding: 10px !important;
    }

    .exif-panel {
        display: none !important; /* Hide vertical panel to maximize space */
    }
    
    .lightbox-counter {
        display: none !important; /* Hide counter as requested */
    }
    
    .lightbox-content-wrapper {
        flex-direction: column;
        gap: 0;
        padding-top: 0;
        height: 100%;
        justify-content: center;
        align-items: center;
        overflow-y: hidden;
    }
    
    .lightbox-image-container {
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .lightbox-img {
        max-width: 100% !important;
        max-height: 75vh !important;
        border-radius: 4px !important;
    }
    
    .lightbox-thumbnails {
        bottom: 24px;
        z-index: 25;
    }
    
    /* Mobile EXIF toggle button styling */
    .lightbox-mobile-exif-toggle {
        position: absolute;
        top: 20px;
        right: 74px; /* Takes the spot of the fullscreen toggle on mobile */
        color: var(--text-secondary);
        font-size: 1.15rem;
        z-index: 1010;
        width: 44px;
        height: 44px;
        display: flex !important; /* Force show on mobile */
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: rgba(18, 18, 18, 0.5);
        border: var(--border-glass);
        transition: color 0.3s, background-color 0.3s, transform 0.2s, border-color 0.3s, box-shadow 0.3s;
        cursor: pointer;
    }
    
    .lightbox-mobile-exif-toggle:active {
        transform: scale(0.92);
    }
    
    .lightbox-mobile-exif-toggle.active {
        color: var(--primary-gold);
        background-color: rgba(18, 18, 18, 0.95);
        border-color: var(--primary-gold);
        box-shadow: 0 0 10px rgba(206, 144, 84, 0.4);
    }

    /* Pulse animation when lightbox opens */
    .lightbox.active .lightbox-mobile-exif-toggle {
        animation: pulseToggleHint 1.6s ease-in-out 3;
    }

    /* Mobile EXIF hint element */
    .mobile-exif-hint {
        position: absolute;
        top: 28px;
        right: 128px;
        font-family: var(--font-mono);
        font-size: 0.65rem;
        color: var(--primary-gold);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        background: rgba(18, 18, 18, 0.65);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 6px 14px;
        border-radius: 20px;
        border: 1px solid rgba(206, 144, 84, 0.25);
        z-index: 1010;
        pointer-events: none;
        opacity: 0;
        white-space: nowrap;
        display: none;
    }

    .lightbox.active .mobile-exif-hint {
        display: block !important;
        animation: fadeHintTextMobileExif 4.8s ease-in-out forwards;
    }

    @keyframes fadeHintTextMobileExif {
        0% {
            opacity: 0;
            transform: translateX(10px);
        }
        10% {
            opacity: 1;
            transform: translateX(0);
        }
        85% {
            opacity: 1;
            transform: translateX(0);
        }
        100% {
            opacity: 0;
            transform: translateX(-10px);
        }
    }
    
    /* Mobile EXIF overlay card styling */
    .lightbox-mobile-exif-overlay {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 220px;
        background: rgba(12, 12, 12, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: var(--border-glass);
        border-radius: var(--radius-md);
        padding: 14px 16px;
        z-index: 100;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
        display: flex !important; /* Force show when class is present */
        flex-direction: column;
        gap: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }
    
    .lightbox-mobile-exif-overlay.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .mobile-exif-title {
        font-family: var(--font-mono);
        font-size: 0.65rem;
        color: var(--text-muted);
        letter-spacing: 0.1em;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
        padding-bottom: 6px;
        margin-bottom: 2px;
        text-transform: uppercase;
    }
    
    .mobile-exif-row {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.82rem;
        color: var(--text-primary);
    }
    
    .mobile-exif-row i {
        color: var(--primary-gold);
        font-size: 0.9rem;
        width: 14px;
        text-align: center;
        flex-shrink: 0;
    }
    
    .mobile-exif-row span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .grid-overlay {
        padding: 0 20px;
    }
    
    nav {
        position: relative;
    }

    .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background-color: rgba(18, 18, 18, 0.5);
        border: var(--border-glass);
        color: var(--text-secondary);
        font-size: 1.15rem;
        cursor: pointer;
        z-index: 105;
        position: relative;
        transition: color 0.3s, background-color 0.3s, transform 0.2s, border-color 0.3s, box-shadow 0.3s;
        /* On mobile load: run the micro-interaction pulse animation */
        animation: pulseToggleHint 1.6s ease-in-out 3;
    }

    .mobile-nav-toggle:active {
        transform: scale(0.92);
    }

    .mobile-nav-toggle.active {
        color: var(--primary-gold);
        background-color: rgba(18, 18, 18, 0.95);
        border-color: var(--primary-gold);
        box-shadow: 0 0 10px rgba(206, 144, 84, 0.4);
    }

    /* Mobile menu text hint styled like desktop fullscreen toggle */
    .mobile-nav-hint {
        display: block !important;
        position: absolute;
        top: 50%;
        left: 54px;
        transform: translateY(-50%);
        font-family: var(--font-mono);
        font-size: 0.65rem;
        color: var(--primary-gold);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        background: rgba(18, 18, 18, 0.65);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 6px 14px;
        border-radius: 20px;
        border: 1px solid rgba(206, 144, 84, 0.25);
        z-index: 104;
        pointer-events: none;
        opacity: 0;
        white-space: nowrap;
        animation: fadeHintTextMobileMenu 4.8s ease-in-out forwards;
    }

    @keyframes fadeHintTextMobileMenu {
        0% {
            opacity: 0;
            transform: translateY(-50%) translateX(-10px);
        }
        10% {
            opacity: 1;
            transform: translateY(-50%) translateX(0);
        }
        85% {
            opacity: 1;
            transform: translateY(-50%) translateX(0);
        }
        100% {
            opacity: 0;
            transform: translateY(-50%) translateX(10px);
        }
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(3, 3, 3, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        opacity: 0;
        visibility: hidden;
        z-index: 95;
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                    visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 40px;
        list-style: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.6rem;
        font-weight: 300;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: var(--text-secondary);
        transition: color 0.3s ease;
    }

    .nav-links a:hover {
        color: var(--primary-gold);
    }

    .nav-links a::after {
        display: none; /* Remove desktop hover underline animation on mobile */
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0;
        flex-wrap: wrap;
        text-align: center;
        line-height: 1.5;
    }
    
    .hero-bg-image {
        object-position: 33% center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .generation-title {
        font-size: 2.4rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .bento-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: auto;
        min-height: 200px;
    }
    
    .gallery-item {
        grid-column: span 12 !important;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }

    .lightbox-img {
        max-width: 100% !important;
        max-height: 75vh !important;
        border-radius: 4px !important;
    }
}

/* -------------------------------------------------------------
   VIDEOGRAFIE PORTFOLIO ("Gedeckter Luxus" Style)
   ------------------------------------------------------------- */
#videography {
    position: relative;
    background-image: linear-gradient(to bottom, #030303 0%, rgba(3, 3, 3, 0.88) 15%, rgba(3, 3, 3, 0.88) 85%, #030303 100%), 
                      url('../assets/videography_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    #videography {
        background-attachment: scroll;
    }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.video-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
    .video-card:hover {
        border: 1px solid rgba(163, 107, 79, 0.45); /* Earth Tone accent border */
        box-shadow: 0 12px 40px rgba(163, 107, 79, 0.04);
        transform: translateY(-4px);
    }

    .video-card:hover .video-preview-player {
        transform: scale(1.05);
        opacity: 0.85; /* Cinematic slight dim on hover */
    }
}

.video-card:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 4px;
    border: 1px solid rgba(163, 107, 79, 0.45);
    box-shadow: 0 12px 40px rgba(163, 107, 79, 0.04);
    transform: translateY(-4px);
    border-radius: var(--radius-lg);
}

.video-card:focus-visible .video-preview-player {
    transform: scale(1.05);
    opacity: 0.85;
}

.video-preview-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #000;
}

.video-preview-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.8s ease;
}

.video-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(3, 3, 3, 0.4) 100%);
    pointer-events: none;
}

.video-card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.video-category-badge {
    font-family: var(--font-mono);
    color: #A36B4F; /* Earth Tone */
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.video-card-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.video-card-desc {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.5;
}

.video-camera-badge {
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: auto;
    background: rgba(255, 255, 255, 0.01);
}

/* -------------------------------------------------------------
   CINEMATIC VIDEO LIGHTBOX
   ------------------------------------------------------------- */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 3, 3, 0.98);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 40px;
}

.video-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.video-lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--text-secondary);
    font-size: 1.5rem;
    z-index: 1010;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(18, 18, 18, 0.5);
    border: var(--border-glass);
    transition: color 0.3s, background-color 0.3s;
}

.video-lightbox-close:hover {
    color: #A36B4F;
    background-color: rgba(18, 18, 18, 0.9);
}

.video-lightbox-wrapper {
    display: flex;
    gap: 40px;
    width: 100%;
    height: 100%;
    max-width: var(--site-max-width);
    align-items: center;
    justify-content: center;
}

.video-player-container {
    flex: 1.6;
    aspect-ratio: 16 / 9;
    position: relative;
    background-color: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
}

.custom-video-element {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Custom controls bar overlay */
.video-controls-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 35%, transparent 70%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

.video-controls-overlay.visible {
    opacity: 1;
}

.central-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(163, 107, 79, 0.85); /* Earth Tone */
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, opacity 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.central-play-btn:hover {
    background: rgba(163, 107, 79, 1);
    transform: translate(-50%, -50%) scale(1.08);
}

.video-controls-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: auto;
}

.control-btn {
    color: #fff;
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, transform 0.1s;
    cursor: pointer;
}

.control-btn:hover {
    color: #A36B4F;
    transform: scale(1.05);
}

.timeline-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    transition: height 0.15s ease;
}

.timeline-container:hover {
    height: 8px;
}

.timeline-progress {
    height: 100%;
    width: 0;
    background: #A36B4F;
    border-radius: 3px;
    position: absolute;
    left: 0;
    top: 0;
    transition: width 0.1s linear;
}

.time-display {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    letter-spacing: 0.05em;
}

/* Sidebar styling for custom player metadata */
.video-metadata-sidebar {
    flex: 0.9;
    align-self: stretch;
    background: #121212; /* Deep Anthracite */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    color: #fff;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.sidebar-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
}

.sidebar-category {
    font-family: var(--font-mono);
    color: #A36B4F;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}

.sidebar-title {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    font-weight: 300;
    line-height: 1.25;
    color: #ffffff;
}

.sidebar-desc {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

.sidebar-exif-grid {
    display: none; /* Ändern in 'display: flex;', um Video-EXIF-Parameter wieder einzublenden */
    flex-direction: column;
    gap: 16px;
}

.sidebar-section-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.exif-table {
    width: 100%;
    border-collapse: collapse;
}

.exif-table th {
    text-align: left;
    font-weight: 400;
    color: var(--text-muted);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    width: 40%;
}

.exif-table td {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-align: right;
    color: #ffffff;
}

.exif-badge-camera {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    display: inline-block;
}

.exif-badge-codec {
    color: #A36B4F; /* Accent Earth Tone */
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

/* -------------------------------------------------------------
   RESPONSIVE MODIFICATIONS (ADDITIONS)
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .video-lightbox-wrapper {
        flex-direction: column;
        height: 100%;
        justify-content: flex-start;
        overflow-y: auto;
        gap: 30px;
        padding-top: 40px;
    }
    
    .video-player-container {
        width: 100%;
        flex: none;
        aspect-ratio: 16 / 9;
    }
    
    .video-metadata-sidebar {
        width: 100%;
        flex: none;
        height: auto;
        max-height: none;
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .video-lightbox {
        padding: 20px;
    }
    
    .video-player-container {
        border-radius: var(--radius-md);
    }
    
    .video-metadata-sidebar {
        padding: 20px;
    }
}

/* -------------------------------------------------------------
   11. KONTAKT SECTION
   ------------------------------------------------------------- */
#contact {
    position: relative;
    background-image: linear-gradient(to bottom, #030303 0%, rgba(3, 3, 3, 0.88) 15%, rgba(3, 3, 3, 0.88) 85%, #030303 100%), 
                      url('../assets/contact_bg_new.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    #contact {
        background-attachment: scroll;
    }
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-wrapper > .notice-card-item.warning {
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .contact-wrapper > .notice-card-item.warning {
        margin-bottom: 32px;
    }
}

.contact-card {
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-item:hover {
    transform: translateX(4px);
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(163, 107, 79, 0.08);
    border: 1px solid rgba(163, 107, 79, 0.25);
    color: var(--primary-gold);
    font-size: 1.1rem;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.contact-item:hover .contact-icon-wrapper {
    background: rgba(163, 107, 79, 0.18);
    border-color: var(--primary-gold);
    transform: scale(1.05);
}

.contact-icon {
    font-size: 1.1rem;
    color: var(--primary-gold);
}

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

.contact-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 300;
    color: #ffffff;
    transition: color 0.3s ease;
    text-decoration: none;
    overflow-wrap: break-word;
    word-break: break-word;
}

a.contact-value:hover {
    color: var(--primary-gold);
}

.notice-row {
    margin-top: 40px;
    padding: 32px;
    background: rgba(18, 18, 18, 0.45);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.notice-main-icon {
    font-size: 1.3rem;
    color: var(--primary-gold);
}

.notice-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: 0.03em;
}

.notice-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.notice-card-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.notice-card-item:hover {
    transform: translateY(-2px);
    border-color: rgba(206, 144, 84, 0.25);
    background: rgba(206, 144, 84, 0.02);
}

.notice-card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(206, 144, 84, 0.08);
    border: 1px solid rgba(206, 144, 84, 0.25);
    color: var(--primary-gold);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.notice-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notice-card-content h4 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

.notice-card-content p {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.notice-card-content strong {
    color: var(--primary-gold);
    font-weight: 500;
}

.notice-card-item.warning,
.notice-card-item.wide {
    grid-column: span 2;
}

.notice-card-item.warning {
    background: rgba(163, 79, 79, 0.06); /* Premium warm red background */
    border: 1px solid rgba(163, 79, 79, 0.25); /* Crimson border */
}

.notice-card-item.warning:hover {
    border-color: rgba(206, 84, 84, 0.4);
    background: rgba(163, 79, 79, 0.1);
}

.notice-card-item.warning .notice-card-icon-wrapper {
    background: rgba(163, 79, 79, 0.12);
    border-color: rgba(163, 79, 79, 0.3);
    color: #e57474; /* Soft warm red for icon */
}

.notice-card-item.warning h4 {
    color: #ff9e9e; /* Muted red header */
}

.notice-card-item.warning strong {
    color: #ffb3b3; /* Soft red for strong tags */
}

.notice-footer-text {
    text-align: center;
    margin-top: 24px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-style: italic;
    color: var(--text-muted);
}

/* Signature Logo & CTA Row under notice section */
.contact-logo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
    margin-top: 40px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.contact-logo-card {
    background: rgba(18, 18, 18, 0.45);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-cta-card {
    background: rgba(18, 18, 18, 0.45);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-logo-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.contact-cta-card:hover {
    transform: translateY(-2px);
    border-color: rgba(206, 144, 84, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.contact-footer-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.contact-footer-logo-img {
    height: 75px;
    width: auto;
    display: block;
    opacity: 0.35;
    filter: brightness(0) invert(1);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-logo-card:hover .contact-footer-logo-img {
    opacity: 0.85;
    transform: scale(1.02);
}

.contact-cta-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-cta-btn i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Shine overlay effect */
.contact-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.13) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: left 0.75s ease-in-out;
}

.contact-cta-btn:hover {
    background: rgba(206, 144, 84, 0.15);
    border-color: var(--primary-gold);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(206, 144, 84, 0.25);
    transform: translateY(-2px);
}

.contact-cta-btn:hover i {
    transform: rotate(20deg) scale(1.2);
}

.contact-cta-btn:hover::after {
    left: 150%;
}

@media (max-width: 768px) {
    .contact-logo-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 32px;
        margin-bottom: 20px;
    }
    
    .contact-logo-card,
    .contact-cta-card {
        width: 100%;
        padding: 24px;
        min-height: auto;
    }
    
    .contact-footer-logo-img {
        margin: 0 auto;
        height: 60px;
    }
    
    .contact-cta-btn {
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notice-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .notice-card-item.warning,
    .notice-card-item.wide {
        grid-column: span 1;
    }
    
    .notice-row {
        padding: 24px;
        margin-top: 32px;
    }
}

/* Responsive styles for contact */
@media (max-width: 768px) {
    .contact-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .contact-item {
        gap: 16px;
        padding: 16px 0;
    }
    
    .contact-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    
    .contact-value {
        font-size: 1rem;
    }
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Left: photo, Right: contact details card */
    gap: 40px;
    align-items: center;
}

.contact-image-container {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border-glass);
}

.contact-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) contrast(1.05) brightness(0.95);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.contact-image-container:hover .contact-portrait-img {
    filter: grayscale(0) contrast(1) brightness(1);
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-image-container {
        max-width: 450px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   DSGVO YOUTUBE CONSENT OVERLAY
   ========================================================================== */
.video-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

.consent-card {
    max-width: 480px;
    width: 100%;
    text-align: center;
    background: rgba(18, 18, 18, 0.6);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-sizing: border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.consent-icon {
    font-size: 3.5rem;
    color: #FF0000;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.3));
    animation: consentPulse 2s infinite alternate;
}

.consent-card h3 {
    font-size: 1.5rem;
    font-family: var(--font-primary);
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.consent-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.consent-accept-btn {
    width: 100%;
    background: linear-gradient(135deg, #CE9054 0%, #A36B4F 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(206, 144, 84, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 16px;
}

.consent-accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 144, 84, 0.35);
}

.consent-accept-btn:active {
    transform: translateY(0);
}

.consent-remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.consent-remember-label input[type="checkbox"] {
    cursor: pointer;
    accent-color: #CE9054;
    width: 15px;
    height: 15px;
}

@keyframes consentPulse {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* ==========================================================================
   MOBILE LANDSCAPE / SIDEWAYS SCREEN OPTIMIZATIONS (height <= 500px)
   ========================================================================== */
@media (max-height: 500px) {
    /* Header / Logo Height */
    :root {
        --header-height: 54px !important;
    }
    
    .nav-logo img {
        height: 38px !important;
    }

    /* Hero Section Landscape Optimizations */
    .hero-content {
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .hero-title {
        font-size: 2.0rem !important;
        margin-bottom: 6px !important;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 0 !important;
    }

    .hero-scroll-btn {
        display: none !important; /* Hide scroll indicator in landscape to prevent vertical clutter */
    }

    /* General Section Padding (Reduce huge dark spaces) */
    .section-padding {
        padding: 35px 0 !important;
    }

    .section-header {
        margin-bottom: 20px !important;
    }

    /* 2-Column layouts in Landscape mode instead of 1-column stack */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .gallery-grid {
        gap: 16px !important;
    }

    .gallery-item {
        grid-column: span 6 !important; /* 2 Columns of photos */
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 Columns of video cards */
        gap: 16px !important;
    }

    /* Side-by-side Showcase layout instead of vertical columns */
    .showcase-grid {
        gap: 40px !important;
        margin-top: 30px !important;
    }

    .generation-row {
        flex-direction: row !important; /* Side by side in landscape */
        gap: 20px !important;
        align-items: center !important;
    }

    .generation-image-container {
        width: 42% !important;
        margin: 0 !important;
    }

    .generation-info {
        width: 55% !important;
        text-align: left !important;
    }

    /* Contact Section Layout (Side-by-side) */
    .contact-container {
        grid-template-columns: 1fr 1.2fr !important;
        gap: 20px !important;
        align-items: center !important;
    }

    .contact-image-container {
        max-width: 200px !important;
        margin: 0 auto !important;
    }

    /* Mobile Landscape Lightbox Overrides */
    .lightbox {
        padding: 5px 10px !important;
    }
    
    .lightbox-content-wrapper {
        gap: 8px !important;
    }
    
    .lightbox-img {
        max-width: 100% !important;
        max-height: 65vh !important; /* Leave enough vertical room for controls & thumbnails */
    }
    
    .lightbox-thumbnails {
        bottom: 4px !important;
        gap: 6px !important;
        padding: 4px 8px !important;
    }
    
    .thumbnail-item {
        width: 28px !important;
        height: 28px !important;
    }
    
    /* Adjust EXIF overlay position in landscape */
    .lightbox-mobile-exif-overlay {
        top: 10px !important;
        right: 10px !important;
        width: 200px !important;
        padding: 10px 12px !important;
        gap: 8px !important;
    }
    
    .mobile-exif-row {
        font-size: 0.75rem !important;
    }

    .lightbox-mobile-exif-toggle {
        top: 10px !important;
        right: 64px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }

    .lightbox-close {
        top: 10px !important;
        right: 15px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 1.2rem !important;
    }

    .mobile-exif-hint {
        top: 18px !important;
        right: 110px !important;
        padding: 4px 10px !important;
    }
}

/* ==========================================================================
   12. 404 ERROR PAGE STYLING
   ========================================================================== */
.error-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height) - 150px);
    padding: 80px 20px;
    text-align: center;
    box-sizing: border-box;
}

.error-container {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-viewfinder {
    position: relative;
    width: 220px;
    height: 130px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

/* Viewfinder corners */
.error-viewfinder::before,
.error-viewfinder::after,
.error-viewfinder-corners::before,
.error-viewfinder-corners::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-color: var(--primary-gold);
    border-style: solid;
    border-width: 0;
}

/* Top-Left */
.error-viewfinder::before {
    top: -2px;
    left: -2px;
    border-top-width: 2px;
    border-left-width: 2px;
}

/* Bottom-Right */
.error-viewfinder::after {
    bottom: -2px;
    right: -2px;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

.error-viewfinder-corners::before {
    top: -2px;
    right: -2px;
    border-top-width: 2px;
    border-right-width: 2px;
}

.error-viewfinder-corners::after {
    bottom: -2px;
    left: -2px;
    border-bottom-width: 2px;
    border-left-width: 2px;
}

/* Camera center crosshair */
.error-viewfinder-center {
    position: absolute;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.error-viewfinder-center::before,
.error-viewfinder-center::after {
    content: '';
    position: absolute;
    background-color: var(--primary-gold);
    opacity: 0.7;
}
.error-viewfinder-center::before {
    width: 12px;
    height: 1px;
}
.error-viewfinder-center::after {
    width: 1px;
    height: 12px;
}

.error-code {
    font-family: var(--font-mono);
    font-size: 3.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    animation: autofocusHunt 4s infinite ease-in-out;
}

@keyframes autofocusHunt {
    0%, 100% {
        filter: blur(3px);
        transform: scale(0.96);
        opacity: 0.7;
    }
    45%, 55% {
        filter: blur(0px);
        transform: scale(1);
        opacity: 1;
    }
    50% {
        filter: blur(1.5px);
        transform: scale(1.02);
    }
}

.error-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.error-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 32px;
}

.error-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(206, 144, 84, 0.08);
    border: 1px solid rgba(206, 144, 84, 0.25);
    color: var(--primary-gold);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-back-btn:hover {
    background: rgba(206, 144, 84, 0.15);
    border-color: var(--primary-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(206, 144, 84, 0.25);
}

@media (max-width: 768px) {
    .error-section {
        min-height: calc(100vh - 200px);
        padding: 60px 20px;
    }
    
    .error-code {
        font-size: 3.2rem;
    }
    
    .error-title {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   13. VIDEOGRAPHY PLACEHOLDER (IN ARBEIT)
   ========================================================================== */
.video-placeholder {
    max-width: 600px;
    margin: 40px auto 0 auto;
    padding: 48px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.video-placeholder-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(206, 144, 84, 0.08);
    border: 1px solid rgba(206, 144, 84, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.6rem;
    margin-bottom: 8px;
    animation: pulsePlaceholderIcon 2.5s infinite ease-in-out;
}

.video-placeholder-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.02em;
}

.video-placeholder-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

@keyframes pulsePlaceholderIcon {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(206, 144, 84, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(206, 144, 84, 0);
    }
}

/* Pulsierender Menüpunkt "Foto machen..." (Mikrointeraktion) */
.nav-pulsing {
    animation: pulseMenuLink 2.5s ease-in-out infinite;
    position: relative;
}

.nav-links a.nav-pulsing:hover {
    animation: none;
    color: var(--text-primary) !important;
}

@keyframes pulseMenuLink {
    0%, 100% {
        color: var(--text-secondary);
        text-shadow: none;
    }
    50% {
        color: var(--primary-gold);
        text-shadow: 0 0 10px rgba(206, 144, 84, 0.65);
    }
}



