
/* 
   Style for Elisabeth Hackl — Natur, Kunst & Keramik
   Theme: Tactile Organic Minimalism
   Palette: Sand, Warm Terracotta, Sage Green, Deep Slate
   Geometry: Sharp, raw edges (0px border-radius) reflecting hand-cut wood & stone.
*/

.clickable-detail {
    cursor: pointer;
}

/* ==========================================================================
   1. Design System & Custom Properties
   ========================================================================== */
:root {
    /* Color Tokens (Organic Earth Tones) */
    --color-bg: #F0ECE6;          /* Warm Sand */
    --color-bg-alt: #ece8dd;      /* Deep Sand */
    --color-text: #2a2522;        /* Dark Warm Slate */
    --color-text-muted: #5e544f;  /* Muted Charcoal */
    --color-accent: #c66b52;      /* Rust Terracotta */
    --color-accent-hover: #b0573e;/* Deep Terracotta */
    --color-sage: #d6ded2;        /* Soft Sage Green */
    --color-border: #2a2522;      /* High contrast raw border */
    --color-border-light: rgba(42, 37, 34, 0.15);
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Layout */
    --max-width: 1400px;
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1); /* Ultra smooth easeOutExpo */
}

/* ==========================================================================
   2. Reset & Global Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
    color: var(--color-text);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* Reset for button links to avoid native styles */
.legal-link, button.mobile-nav-link {
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-text-muted);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* ==========================================================================
   3. Reusable Typography & UI Elements
   ========================================================================== */
.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.section-subtitle.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Custom Pill Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 100px; /* Pill Shape */
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-bg);
    border: 1px solid var(--color-text);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(198, 107, 82, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.btn-secondary:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

/* Link Hover Effect */
.link-hover {
    position: relative;
    display: inline-block;
}

.link-hover::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-accent);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.link-hover:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Scroll Reveal Base */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s var(--transition-smooth), transform 1.2s var(--transition-smooth);
    will-change: transform, opacity;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Row Reveal for Hero Title */
.title-row {
    overflow: hidden;
    display: block;
}
.title-row span {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1.2s var(--transition-smooth), opacity 1.2s var(--transition-smooth);
}
.reveal-item.revealed .title-row span {
    transform: translateY(0);
    opacity: 1;
}
.reveal-item.revealed .title-row:nth-child(1) span {
    transition-delay: 0.1s;
}
.reveal-item.revealed .title-row:nth-child(2) span {
    transition-delay: 0.25s;
}
.reveal-item.revealed .title-row:nth-child(3) span {
    transition-delay: 0.4s;
}

/* Staggered entrance for Gallery Grid Items */
.gallery-grid .gallery-item:nth-child(6n+1) { transition-delay: 0.05s; }
.gallery-grid .gallery-item:nth-child(6n+2) { transition-delay: 0.15s; }
.gallery-grid .gallery-item:nth-child(6n+3) { transition-delay: 0.25s; }
.gallery-grid .gallery-item:nth-child(6n+4) { transition-delay: 0.35s; }
.gallery-grid .gallery-item:nth-child(6n+5) { transition-delay: 0.45s; }
.gallery-grid .gallery-item:nth-child(6n+6) { transition-delay: 0.55s; }

/* Staggered entrance for Contact Cards */
.contact-grid .contact-card:nth-child(1) { transition-delay: 0.05s; }
.contact-grid .contact-card:nth-child(2) { transition-delay: 0.2s; }
.contact-grid .contact-card:nth-child(3) { transition-delay: 0.35s; }

/* Staggered entrance for FAQ Items */
.faq-grid .faq-item:nth-child(1) { transition-delay: 0.05s; }
.faq-grid .faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-grid .faq-item:nth-child(3) { transition-delay: 0.35s; }

/* Specificity overrides for reveal transitions vs hover transitions */
.gallery-item.reveal-item {
    transition: opacity 1.2s var(--transition-smooth), transform 1.2s var(--transition-smooth);
}
.gallery-item.reveal-item.revealed:hover {
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}

.contact-card.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s var(--transition-smooth), transform 1.2s var(--transition-smooth);
}
.contact-card.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}
.contact-card.reveal-item.revealed:hover {
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}

.faq-item.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s var(--transition-smooth), transform 1.2s var(--transition-smooth), border-color 0.4s ease;
}
.faq-item.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}
.faq-item.reveal-item.revealed:hover {
    transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease;
}

/* ==========================================================================
   3.5 Header / Navigation & Mobile Menu
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(240, 236, 230, 0.85); /* Semi-transparent sand */
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(42, 37, 34, 0.05);
    transition: all 0.4s var(--transition-smooth);
    animation: headerSlideDown 1.2s var(--transition-smooth) 0.1s both;
}

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

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.45rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--color-text);
    transition: color 0.3s ease;
}

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

.header-logo-video {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border-light);
    background-color: var(--color-bg-alt);
    flex-shrink: 0;
    transition: transform 0.4s var(--transition-smooth), border-color 0.3s ease;
}

.logo:hover .header-logo-video {
    transform: scale(1.05);
    border-color: var(--color-accent);
}

.desktop-nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-cta-btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
}

/* Hamburger Toggle */
.menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.menu-toggle .bar {
    width: 100%;
    height: 1.5px;
    background-color: var(--color-text);
    transition: all 0.4s var(--transition-smooth);
    transform-origin: center;
}

/* Hamburger icon animation to 'X' */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7.25px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7.25px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg); /* Clean light sand background matching page background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.6s var(--transition-smooth);
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: 500px;
    padding: 8rem 2rem 3rem 2rem;
    overflow-y: auto;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    width: 100%;
}

button.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-text); /* Dark warm slate text */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.3s ease, transform 0.4s var(--transition-smooth);
    opacity: 0;
    transform: translateY(20px);
}

/* Staggered link animation when active */
.mobile-menu-overlay.active button.mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active button.mobile-nav-link:nth-child(1) { transition: opacity 0.5s ease 0.1s, transform 0.5s var(--transition-smooth) 0.1s, color 0.3s ease; }
.mobile-menu-overlay.active button.mobile-nav-link:nth-child(2) { transition: opacity 0.5s ease 0.18s, transform 0.5s var(--transition-smooth) 0.18s, color 0.3s ease; }
.mobile-menu-overlay.active button.mobile-nav-link:nth-child(3) { transition: opacity 0.5s ease 0.26s, transform 0.5s var(--transition-smooth) 0.26s, color 0.3s ease; }
.mobile-menu-overlay.active button.mobile-nav-link:nth-child(4) { transition: opacity 0.5s ease 0.34s, transform 0.5s var(--transition-smooth) 0.34s, color 0.3s ease; }
.mobile-menu-overlay.active .mobile-cta-btn { transition: opacity 0.5s ease 0.42s, transform 0.5s var(--transition-smooth) 0.42s, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; }

button.mobile-nav-link:hover {
    color: var(--color-accent);
    transform: scale(1.05);
}

.mobile-cta-btn {
    margin-top: 1rem;
    width: 240px;
    opacity: 0;
    transform: translateY(20px);
    background-color: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.mobile-cta-btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Mobile Menu Contact Footer */
.mobile-menu-contact {
    margin-top: auto;
    width: 100%;
    border-top: 1px solid var(--color-border-light); /* Dark border divider */
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s var(--transition-smooth) 0.5s;
}

.mobile-menu-overlay.active .mobile-menu-contact {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-contact .contact-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted); /* Muted slate */
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.mobile-contact-item {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-text); /* Dark warm slate text */
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-contact-item:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}


/* ==========================================================================
   4. Layout: Hero Section (Asymmetric Typographic Style)
   ========================================================================== */
.hero-section {
    min-height: 80vh;
    padding: 7rem 4rem 4rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background-decor {
    display: none;
    position: absolute;
    top: 5%;
    right: -5%;
    width: 45vw;
    height: 45vw;
    background-color: #ECE8DD;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
}

.hero-content {
    max-width: var(--max-width);
    margin: auto;
    width: 100%;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title .title-row {
    display: block;
}

.hero-title .accent-font {
    font-style: italic;
    color: var(--color-accent);
    font-weight: 400;
    padding-left: 2rem;
}

.hero-title.reveal-item {
    transform: none; /* Disable translation of parent heading container */
}

/* Staggered entrance for Hero Section elements on load */
.hero-text-block .hero-badge.reveal-item {
    transition-delay: 0.15s;
}
.hero-text-block .hero-title.reveal-item {
    transition-delay: 0.3s;
}
.hero-text-block .hero-subtitle.reveal-item {
    transition-delay: 0.7s;
}
.hero-text-block .hero-cta.reveal-item {
    transition-delay: 0.9s;
}
.hero-image-block.reveal-item {
    transition-delay: 0.45s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-weight: 300;
    max-width: 500px;
    margin-bottom: 3rem;
}

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

/* Asymmetric Hero Visual */
.hero-image-block {
    position: relative;
    transform: translateX(40px);
}

.hero-image-block .image-wrapper {
    position: relative;
    border: none;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}

.hero-img, .hero-video {
    width: 100%;
    height: 420px;
    filter: grayscale(15%) contrast(102%);
    border-radius: 32px; /* Smooth organic corners */
    transition: transform 0.8s var(--transition-smooth);
}

.hero-img {
    object-fit: cover;
}

.hero-video {
    object-fit: contain;
    height: 750px;
}

.hero-image-block .image-wrapper:hover .hero-img {
    transform: scale(1.03);
}

.image-label {
    position: absolute;
    bottom: -15px;
    right: 30px;
    background-color: var(--color-text);
    color: var(--color-bg);
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 50px; /* Pill Shape */
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1;
}

.scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: var(--color-text-muted);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: var(--color-accent);
    animation: scrollAnimation 2s infinite ease-in-out;
}

@keyframes scrollAnimation {
    0% { top: -30%; }
    100% { top: 100%; }
}

/* ==========================================================================
   5. Layout: Intro / Portrait Section (Asymmetric Story Grid)
   ========================================================================== */
.intro-section {
    padding: 8rem 4rem;
    max-width: var(--max-width);
    margin: auto;
    position: relative;
}

.section-decor-text {
    position: absolute;
    top: 4rem;
    right: 4rem;
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 300;
    color: rgba(42, 37, 34, 0.03);
    pointer-events: none;
    text-transform: uppercase;
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 6rem;
    align-items: center;
}

.portrait-wrapper {
    position: relative;
    padding-bottom: 2rem;
}

.portrait-img {
    width: 90%;
    height: 550px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 1px solid var(--color-border-light);
    border-radius: 32px; /* Smooth rounded corners */
}



.intro-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.lead-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.bio-text p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.signature {
    margin-top: 2rem;
    border-top: 1px solid var(--color-border-light);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
}

.sig-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
}

.sig-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-top: 0.3rem;
}

/* ==========================================================================
   6. Layout: Staggered Bildergalerie (Editorial Grid)
   ========================================================================== */
.gallery-section {
    padding: 8rem 10rem;
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease, left 0.3s ease;
}

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

.filter-btn.active {
    color: var(--color-accent);
}

.filter-btn.active::after {
    width: 100%;
    left: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    grid-column: span 1; /* Standard 6 columns on desktop */
    position: relative;
    border: none;
    padding: 0;
    background-color: transparent;
    transition: transform 0.4s var(--transition-smooth), opacity 0.4s ease;
    will-change: transform;
    cursor: pointer;
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px; /* Proportional base height for 6-column desktop layout */
    border-radius: 32px; /* Clean, modern organic corners */
    transition: box-shadow 0.4s var(--transition-smooth);
    will-change: box-shadow;
}

.gallery-grid .gallery-item:nth-child(even) .gallery-image-wrapper {
    height: 280px; /* Proportional staggered height for 6-column desktop layout */
}

/* Landscape format items (specifically items 4, 5, 6) */
.gallery-grid .gallery-item.landscape-item {
    grid-column: span 2;
}

.gallery-grid .gallery-item.landscape-item .gallery-image-wrapper {
    height: 220px; /* Matches standard height for horizontal alignment */
}

.gallery-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 37, 34, 0.12); /* Subtle warm overlay tint */
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
    pointer-events: none;
    z-index: 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    transition: transform 0.8s var(--transition-smooth);
}

/* Interactive Hover Zoom Indicator */
.gallery-zoom-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background-color: rgba(240, 236, 230, 0.95);
    color: var(--color-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth), transform 0.4s var(--transition-smooth);
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 10px 20px rgba(42, 37, 34, 0.1);
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-item:hover .gallery-image-wrapper {
    box-shadow: 0 20px 45px rgba(42, 37, 34, 0.08);
}

.gallery-item:hover .gallery-image-wrapper::after {
    opacity: 1;
}

.gallery-image-wrapper:hover .gallery-zoom-indicator,
.gallery-item:hover .gallery-zoom-indicator {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Hide text details in the gallery, but keep in DOM for the lightbox details */
.gallery-item-details {
    display: none !important;
}

/* ==========================================================================
   7. Layout: Contact Section (Organic Card Grid - Form-free)
   ========================================================================== */
.contact-section {
    padding: 8rem 4rem 4rem 4rem;
    max-width: var(--max-width);
    margin: auto;
    position: relative;
}

.contact-header {
    margin-bottom: 4rem;
}

.contact-badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    display: inline-block;
    font-weight: 600;
}

.contact-intro-text {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 700px;
    font-weight: 300;
}

/* 3-Column Organic Card Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 6rem;
}

.contact-card {
    padding: 3rem 2.5rem;
    border-radius: 32px; /* Smooth organic corners matching screenshot */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(42, 37, 34, 0.05);
}

.card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.card-content {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: auto;
}

.address-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.3;
}

.card-subtext {
    font-size: 0.8rem;
    margin-top: 2rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Card Themes */
.card-olive {
    background-color: #54624f; /* Organic Olive from screenshot */
    color: #faf7f0; /* Warm off-white */
}

.card-olive .card-label {
    color: var(--color-accent);
}

.card-taupe {
    background-color: #bdad98; /* Clay/Taupe from screenshot */
    color: var(--color-text);
}

.card-taupe .card-label {
    color: #faf7f0;
}

.card-sand {
    background-color: #e8e4d8; /* Warm light beige from screenshot */
    color: var(--color-text);
}

.card-sand .card-label {
    color: var(--color-accent);
}

/* Card Links */
.contact-links {
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

.contact-link-item {
    display: flex;
    flex-direction: column;
}

.link-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
    margin-bottom: 0.3rem;
}

.link-val {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.2;
}

.card-cta {
    margin-top: 2rem;
    width: 100%;
}

/* ==========================================================================
   8. Legal Notice Bar (Inline replacement for footer)
   ========================================================================== */
.legal-notice-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    transition: color 0.3s ease;
}

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

/* ==========================================================================
   9. Custom Lightbox overlay (Fully accessible)
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(42, 37, 34, 0.98);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s var(--transition-smooth), visibility 0.5s var(--transition-smooth);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: var(--color-bg);
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 1010;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--color-accent);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--color-bg);
    font-size: 2.5rem;
    padding: 1.5rem;
    cursor: pointer;
    z-index: 1010;
    transition: color 0.3s ease;
}

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

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-radius: 32px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 1px solid rgba(247, 245, 239, 0.15);
    border-radius: 24px; /* Smooth rounded corners for lightbox image */
}

.lightbox-caption {
    width: 100%;
    margin-top: 1.5rem;
    color: var(--color-bg);
    text-align: left;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 0.3rem;
}

.lightbox-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

/* ==========================================================================
   10. Responsive Design break-points
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .gallery-section {
        padding: 8rem 6rem; /* Slightly reduced margins */
    }
    
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
    
    .gallery-image-wrapper {
        height: 240px;
    }
    
    .gallery-grid .gallery-item:nth-child(even) .gallery-image-wrapper {
        height: 300px;
    }
    
    .gallery-grid .gallery-item.landscape-item .gallery-image-wrapper {
        height: 240px;
    }
}

@media (max-width: 992px) {
    .header-container {
        padding: 0.4rem 2rem;
    }
    
    .header-logo-video {
        width: 42px;
        height: 42px;
    }
    
    .hero-image-block {
        transform: none;
    }
    
    .desktop-nav,
    .header-cta-btn {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Responsive margins & grids */
    .hero-section {
        padding: 5rem 2rem 1.5rem 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-img, .hero-video {
        height: 460px;
    }
    
    .intro-section {
        padding: 3rem 2rem 5rem 2rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .portrait-img {
        width: 100%;
        height: 450px;
    }
    
    .gallery-section {
        padding: 6rem 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .gallery-image-wrapper {
        height: 300px;
    }
    
    .gallery-grid .gallery-item:nth-child(even) .gallery-image-wrapper {
        height: 360px;
    }
    
    .gallery-grid .gallery-item:nth-child(n) {
        grid-column: span 1;
        margin-top: 0 !important;
    }
    
    .gallery-grid .gallery-item.landscape-item {
        grid-column: span 2;
    }
    
    .gallery-grid .gallery-item.landscape-item .gallery-image-wrapper {
        height: 240px;
    }
    
    .contact-section {
        padding: 6rem 2rem 2rem 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding-bottom: 4rem;
    }
    
    .legal-notice-bar {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .logo {
        font-size: 1.5rem;
        gap: 0.5rem;
    }
    
    .header-logo-video {
        width: 38px;
        height: 38px;
    }

    .hero-section {
        padding-top: 4.2rem;
        padding-bottom: 0.5rem;
    }

    .intro-section {
        padding-top: 1rem;
        padding-bottom: 3rem;
    }

    .hero-content {
        position: relative;
        padding-top: 1rem;
    }

    .hero-text-block {
        width: 100%;
        position: relative;
        z-index: 2; /* Position text in front of the background video */
    }

    .hero-title {
        font-size: 3rem; /* Restore normal bold size */
    }
    
    .hero-title .accent-font {
        padding-left: 0;
    }

    .hero-image-block {
        position: relative;
        top: 0;
        right: 0;
        width: 280px;
        height: 280px;
        transform: none;
        margin: 0;
        z-index: 2;
        opacity: 1;
        pointer-events: auto;
        justify-self: center;
    }

    .hero-image-block .image-wrapper {
        width: 100%;
        height: 100%;
    }

    .hero-img, .hero-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        border-radius: 50%;
        border: none;
        box-shadow: none;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-grid .gallery-item:nth-child(n) {
        grid-column: span 1;
    }
    
    .gallery-image-wrapper,
    .gallery-grid .gallery-item:nth-child(even) .gallery-image-wrapper {
        height: 250px; /* Tighter aspect ratio for 2-column mobile layout */
    }
    
    .gallery-grid .gallery-item.landscape-item {
        grid-column: span 2;
    }
    
    .gallery-grid .gallery-item.landscape-item .gallery-image-wrapper {
        height: 200px;
    }
    
    .detail-value {
        font-size: 1.4rem;
    }
    
    .lightbox-nav {
        font-size: 2rem;
        padding: 0.8rem;
    }
    
    .lightbox-content {
        max-width: 90%;
    }
}

/* ==========================================================================
   11. Legal Modals (Impressum & Datenschutz)
   ========================================================================== */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s var(--transition-smooth), visibility 0.5s var(--transition-smooth);
}

.legal-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.legal-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 37, 34, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.legal-modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 3.5rem 3rem 3rem 3rem;
    overflow-y: auto;
    z-index: 2;
    transform: translateY(30px);
    transition: transform 0.5s var(--transition-smooth);
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(42, 37, 34, 0.2);
}

.legal-modal.active .legal-modal-content {
    transform: translateY(0);
}

.legal-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.legal-modal-close:hover {
    color: var(--color-accent);
}

.legal-modal-body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
}

.legal-modal-body p {
    margin-bottom: 1.2rem;
}

.legal-modal-body h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
}

/* ==========================================================================
   12. FAQ Section
   ========================================================================== */
.faq-section {
    padding: 8rem 4rem;
    max-width: var(--max-width);
    margin: auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.faq-item {
    background-color: var(--color-bg-alt);
    padding: 2.5rem;
    border-radius: 32px;
    border: 1px solid var(--color-border-light);
    transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    font-weight: 300;
}

@media (min-width: 993px) {
    .faq-grid .centered-item {
        grid-column: span 2;
        justify-self: center;
        width: 100%;
        max-width: calc(50% - 1.5rem);
    }
}

@media (max-width: 992px) {
    .faq-section {
        padding: 6rem 2rem;
    }
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Staggered text wrap safety on very small screens */
@media (max-width: 400px) {
    button.mobile-nav-link {
        font-size: 2.4rem;
    }
}

/* Reduced Motion preference */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-delay: 0s !important;
        transition-duration: 0s !important;
    }
    
    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }
}
