/*
Theme Name: Bodor Cinema
Theme URI: https://ferencbodor.com
Author: Ferenc Bodor
Author URI: https://ferencbodor.com
Description: A dark, cinematic portfolio theme for director, videographer, and photographer Ferenc Bodor. Built for brand and commercial clients.
Version: 1.8.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bodor-cinema
Tags: portfolio, photography, videography, dark, cinematic, one-column, custom-menu, featured-images, full-width-template
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg:         #0a0a0a;
    --color-bg-alt:     #111111;
    --color-bg-card:    #181818;
    --color-surface:    #1e1e1e;
    --color-border:     #2a2a2a;
    --color-text:       #f0f0f0;
    --color-text-muted: #888888;
    --color-accent:     #c9a55a;
    --color-accent-dark:#a8843a;
    --color-white:      #ffffff;
    --font-heading:     'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-body:        'Montserrat', 'Helvetica Neue', sans-serif;
    --transition:       0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius:           2px;
    --max-width:        1400px;
    --gutter:           clamp(20px, 5vw, 80px);
    --nav-h:            140px;   /* approx. height of the fixed header at rest */
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-gutter: stable; /* prevent layout shift when scrollbar appears/disappears */
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: var(--font-body);
    font-size: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.1;
    color: var(--color-white);
    text-transform: uppercase;
}

h1 { font-size: clamp(3.5rem, 9vw, 9rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.25em;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.9;
}

.text-accent { color: var(--color-accent); }
.text-white  { color: var(--color-white); }
.text-muted  { color: var(--color-text-muted); }
.text-center { text-align: center; }
.text-upper  { text-transform: uppercase; letter-spacing: 0.15em; }
.text-sm     { font-size: 0.8rem; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.container--narrow {
    max-width: 860px;
}

.section {
    padding-top: clamp(60px, 8vw, 120px);
    padding-bottom: clamp(60px, 8vw, 120px);
}

.section--dark {
    background-color: var(--color-bg-alt);
}

.section--surface {
    background-color: var(--color-surface);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

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

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
    margin-bottom: clamp(40px, 5vw, 70px);
}

.section-header .eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    max-width: 580px;
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

@media (max-width: 640px) {
    .btn {
        padding: 20px 36px;
    }
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

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

.btn--outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-bg);
    border-color: var(--color-white);
}

.btn--ghost {
    background: transparent;
    color: var(--color-accent);
    padding-left: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--color-accent);
    letter-spacing: 0.15em;
}

.btn--ghost:hover {
    color: var(--color-white);
    border-color: var(--color-white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 68px var(--gutter) 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background var(--transition), padding var(--transition),
                backdrop-filter var(--transition), opacity 0.6s ease, transform 0.6s ease;
}

.site-header.nav--hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.site-logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-decoration: none;
}

.site-logo__name {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    letter-spacing: 0.1em;
    color: var(--color-white);
    text-transform: uppercase;
    line-height: 1;
}

.site-logo__tagline {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: lowercase;
    color: var(--color-accent);
    line-height: 1;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 52px;
}

.site-nav a {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color var(--transition);
    position: relative;
    white-space: nowrap;
}

/* Underline slide-in on hover and active */
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}

/* Hover state */
.site-nav a:hover {
    color: var(--color-white);
}

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

/* Active / current page — gold text + permanent underline */
.site-nav a.current-menu-item,
.site-nav a.current-menu-ancestor {
    color: var(--color-accent);
}

.site-nav a.current-menu-item::after,
.site-nav a.current-menu-ancestor::after {
    width: 100%;
}

/* ── Right-side header group: lang switcher + CTA ────────── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

/* Desktop CTA button — inside header-actions, hidden on mobile */
.nav-cta {
    padding: 10px 26px;
    font-size: 0.7rem;
    white-space: nowrap;
}

/* ── Language Toggle ──────────────────────────────────────── */
/* Single button showing only the inactive language — tap to switch */
.lang-toggle {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition);
    border: 1px solid var(--color-border);
    padding: 4px 8px;
    border-radius: 2px;
    white-space: nowrap;
}

.lang-toggle:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Mobile lang toggle — shown inside nav overlay, hidden from header by default */
.lang-toggle-mobile {
    display: none;
}

/* Mobile contact button inside the nav overlay — hidden on desktop */
.nav-contact-mobile {
    display: none;
}

/* No underline on any button in the nav area */
.nav-cta::after,
.nav-contact-mobile::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-white);
    transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    /* Start flush below the fixed nav — no overlap */
    margin-top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img,
.hero__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Vimeo background embed — iframes don't support object-fit,
   so we oversize and centre to replicate cover behaviour */
.hero__vimeo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;  /* 16:9 at full height */
    height: 56.25vw;  /* 16:9 at full width */
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        /* Diagonal tint for readability */
        linear-gradient(
            135deg,
            rgba(0,0,0,0.65) 0%,
            rgba(0,0,0,0.25) 60%,
            rgba(0,0,0,0.15) 100%
        ),
        /* Bottom fade — eliminates the black gap before the next section */
        linear-gradient(
            to bottom,
            transparent 60%,
            rgba(10,10,10,0.85) 100%
        );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 60px var(--gutter) 60px;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    transition: opacity 1.8s ease, transform 1.8s ease;
}

.hero__content--hidden {
    opacity: 0 !important;
    transform: translateY(-16px);
    pointer-events: none;
}

.hero__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 11vw, 11rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero__title em {
    font-style: normal;
    color: var(--color-accent);
}

.hero__subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero__actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
    transition: opacity 1.8s ease;
}

.hero__scroll.hero__content--hidden {
    opacity: 0 !important;
    pointer-events: none;
}

.hero__scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.hero__scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ── Hero Mobile Slideshow ──────────────────────────────────── */
.hero__slideshow {
    display: none; /* hidden on desktop — video takes over */
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__slideshow-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease;
}

.hero__slideshow-item.is-active {
    opacity: 1;
}

.hero__slideshow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.16); /* starting point — reset by JS after fade */
    /* No transform transition on inactive: scale resets while invisible */
}

.hero__slideshow-item.is-active img {
    /* Zoom out slowly while slide is visible */
    transform: scale(1.0);
    transition: transform 12s ease-out;
}

/* Slideshow hidden on all sizes when a background video is set —
   kept in markup as fallback but video always takes priority */

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portfolio-filter {
    display: flex;
    gap: 4px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 310px;   /* landscape items fill 1 row; portrait spans 2 rows for ~2:3 ratio */
    grid-auto-flow: row dense;
    gap: 3px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-card);
    cursor: pointer;
}

/* Portrait thumbnails span 2 rows — keeps them tall relative to landscape items */
.portfolio-item--portrait {
    grid-row: span 2;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* fill the cell cleanly, slight crop if needed */
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover img {
    transform: scale(1.06);
}

.portfolio-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 40%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.portfolio-item:hover .portfolio-item__overlay {
    opacity: 1;
}

/* Mobile: overlay animates in after the card has entered view.
   The card itself slides in via .reveal (0.8 s), then the overlay fades
   in with a 0.6 s head-start delay — giving a clear glimpse of the full
   thumbnail before the title and gradient appear. */
@media (max-width: 768px) {

    .portfolio-item__overlay {
        opacity: 0;
        /* fast out, delayed in — overlay hides instantly on page changes */
        transition: opacity 0.7s ease;
    }

    /* Once the scroll-reveal fires, wait then fade in */
    .portfolio-item.visible .portfolio-item__overlay {
        opacity: 1;
        transition: opacity 0.7s ease 0.6s;
    }

    .portfolio-item:hover img {
        transform: none;
    }

    /* Play button is hover-only and not functional on touch — hide it */
    .portfolio-item__play {
        display: none;
    }
}

.portfolio-item__cat {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 6px;
}

.portfolio-item__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-white);
    line-height: 1;
}

/* Client name — Bebas Neue to match the theme, golden accent as a namedrop */
.portfolio-item__client {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-top: 2px;
}

.portfolio-item__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition);
}

.portfolio-item__play svg {
    fill: white;
    margin-left: 4px;
}

.portfolio-item--video:hover .portfolio-item__play {
    opacity: 1;
}

/* ============================================================
   ABOUT TEASER / ABOUT PAGE
   ============================================================ */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}

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

.about-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-split:hover .about-split__image img {
    transform: scale(1.03);
}

.about-split__content {
    padding: clamp(40px, 6vw, 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-bg-alt);
}

.about-split__content .eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.about-split__content h2 {
    margin-bottom: 24px;
}

.about-split__content p {
    margin-bottom: 20px;
    line-height: 1.9;
    color: var(--color-text);
    font-weight: 400;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.stat-item .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: 0.02em;
}

.stat-item .label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 6px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
}

.service-card {
    background: var(--color-bg-alt);
    padding: 48px 40px;
    transition: background var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.5s ease;
}

.service-card:hover {
    background: var(--color-surface);
}

.service-card:hover::before {
    width: 100%;
}

.service-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--color-accent);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.service-card--link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-card__cta {
    display: none;   /* hidden on desktop — hover effect is the invite to click */
    margin-top: auto;
    padding-top: 24px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    text-align: center;
}

@media (max-width: 768px) {
    .service-card__cta {
        display: block;   /* visible on mobile where hover doesn't exist */
    }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

/* Form-only layout: centre a single column at a comfortable reading width */
.contact-layout--form-only {
    grid-template-columns: 1fr;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    line-height: 1.9;
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.contact-detail-item .label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 4px;
    display: block;
}

.contact-detail-item .value {
    font-size: 0.95rem;
    color: var(--color-text);
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 14px 18px;
    transition: border-color var(--transition);
    outline: none;
    border-radius: var(--radius);
    -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--color-accent);
}

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

.form-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.5;
}

.form-submit {
    margin-top: 28px;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.blog-card {
    background: var(--color-bg-card);
    overflow: hidden;
    transition: transform var(--transition);
}

.blog-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__body {
    padding: 28px 30px 34px;
}

.blog-card__meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.blog-card__cat {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.blog-card__date {
    font-size: 0.72rem;
    color: var(--color-text-muted);
}

.blog-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    line-height: 1.2;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 12px;
    transition: color var(--transition);
}

.blog-card a:hover .blog-card__title {
    color: var(--color-accent);
}

.blog-card__excerpt {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.post-hero__bg {
    position: absolute;
    inset: 0;
}

.post-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%);
}

.post-hero__content {
    position: relative;
    z-index: 1;
    padding: 0 var(--gutter) 60px;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.post-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px var(--gutter);
}

.post-content p,
.post-content li {
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.4em;
}

.post-content h2, .post-content h3 {
    margin-top: 2em;
    margin-bottom: 0.6em;
}

.post-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 12px 28px;
    margin: 2em 0;
    background: var(--color-surface);
}

.post-content blockquote p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text);
}

.post-content img {
    width: 100%;
    margin: 2em 0;
}

/* ============================================================
   MARQUEE / CLIENTS
   ============================================================ */
.marquee-section {
    padding: 48px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.marquee-track {
    display: flex;           /* two groups sit side by side */
    width: max-content;
    animation: marquee 60s linear infinite;   /* animate the whole track, not individual groups */
    will-change: transform;
}

/* Groups are static — the track carries them both */
.marquee-group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 60px;
    padding-right: 60px;    /* trailing gap so spacing is identical between groups */
    white-space: nowrap;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.marquee-item::after {
    content: ' ·';
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-left: 60px;
}

/* ============================================================
   VIDEO EMBED (single portfolio — legacy class kept for safety)
   ============================================================ */
.portfolio-video-embed {
    background: #000;
    padding: 0;
}

.portfolio-video-embed__inner {
    position: relative;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.portfolio-video-embed__inner iframe,
.portfolio-video-embed__inner embed,
.portfolio-video-embed__inner object {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* ============================================================
   SINGLE PROJECT PAGE
   ============================================================ */

/* Full-bleed video at the top — sits flush below the fixed header */
.project-video-top {
    background: #000;
    width: 100%;
    padding-top: 155px; /* matches desktop header height */
}

/* Default: horizontal 16:9 */
.project-video-top__inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

/* Vertical 9:16 — centred, constrained width so it doesn't stretch edge to edge */
.project-video-top--vertical .project-video-top__inner {
    aspect-ratio: 9 / 16;
    max-width: 420px;
    margin: 0 auto;
}

.project-video-top__inner iframe,
.project-video-top__inner embed,
.project-video-top__inner object {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* Multiple vertical videos — side-by-side (9:16) */
.project-video-multi {
    display: flex;
    gap: 3px;
    background: #000;
    width: 100%;
    padding-top: 155px; /* matches desktop header height */
    align-items: stretch;
}

.project-video-multi__item {
    flex: 1;
    position: relative;
    overflow: hidden;
    aspect-ratio: 9 / 16;
}

.project-video-multi__inner {
    position: absolute;
    inset: 0;
}

.project-video-multi__inner iframe,
.project-video-multi__inner embed,
.project-video-multi__inner object {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}

/* Thumbnail fallback when no video */
.project-thumb-top {
    padding-top: 155px;
    width: 100%;
    max-height: calc(70vh + 155px);
    overflow: hidden;
}

.project-thumb-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Meta bar */
.project-meta-bar {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 48px 0;
}

.project-meta-bar__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 24px;
}

.project-meta-title {
    flex: 1;
}

.project-meta-bar__cat {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 6px;
}

.project-meta-bar__name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
}

.project-meta-bar__details {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.project-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.project-meta-item__label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.project-meta-item__value {
    font-size: 0.9rem;
    color: var(--color-text);
}

/* Tighter section spacing specific to project pages */
.project-section {
    padding-top: clamp(32px, 4vw, 60px);
    padding-bottom: clamp(32px, 4vw, 60px);
}

/* Multiple horizontal videos stacked */
.project-video-stack .project-video-top {
    padding-top: 0;
}
.project-video-stack .project-video-top:first-child {
    padding-top: 155px;
}

/* Back to portfolio */
.project-back {
    padding: 40px 0 60px;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

/* Project description */
.project-description__body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* BTS section */
.project-bts {
    border-top: 1px solid var(--color-border);
}

.project-bts__header {
    text-align: center;
    margin-bottom: 60px;
}

.project-bts__header .eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.project-bts__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 16px;
}

.project-bts__text {
    max-width: 640px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 48px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* BTS photo grid — natural masonry via CSS columns */
.bts-grid {
    columns: 3;
    column-gap: 3px;
}

.bts-grid__item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 3px;
    display: block;
    overflow: hidden;
    background: var(--color-surface);
}

.bts-grid__item img {
    width: 100%;
    height: auto;       /* natural aspect ratio — no cropping */
    display: block;
    transition: transform 0.6s ease;
}


/* Prev / Next project nav */
.project-nav {
    border-top: 1px solid var(--color-border);
    padding: 40px 0 60px;
}

.project-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.project-nav__link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.project-nav__link:hover {
    color: var(--color-text);
}

.project-nav__link--next {
    text-align: right;
}

.project-nav__arrow {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.project-nav__label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.project-nav__title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text);
}

/* Mobile overrides for single project */
@media (max-width: 767px) {
    .project-section {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .project-back {
        padding: 28px 0 40px;
    }

    .project-bts__header {
        margin-bottom: 32px;
    }

    .project-video-top {
        padding-top: 78px;
    }

    .project-video-stack .project-video-top:first-child {
        padding-top: 78px;
    }

    /* On mobile every video fills from header to bottom of screen */
    .project-video-top__inner {
        aspect-ratio: auto;
        height: calc(100vh - 78px);
        height: calc(100dvh - 78px);
    }

    /* Multiple horizontal videos: use natural 16:9, not full-screen height */
    .project-video-stack .project-video-top__inner {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    /* Vertical video on mobile: full width (no max-width constraint) */
    .project-video-top--vertical .project-video-top__inner {
        max-width: 100%;
    }

    .project-video-multi {
        flex-direction: row;
        padding-top: 78px;
        gap: 3px;
        align-items: stretch;
    }

    /* Vertical videos on mobile: side-by-side like desktop, each takes equal share */
    .project-video-multi__item {
        flex: 1;
        aspect-ratio: 9 / 16;
        height: auto;
        position: relative;
        overflow: hidden;
    }

    .project-video-multi__inner {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: block;
    }

    .project-video-multi__inner iframe,
    .project-video-multi__inner embed,
    .project-video-multi__inner object {
        width: 100% !important;
        height: 100% !important;
        display: block;
        border: none;
    }

    .project-thumb-top {
        padding-top: 78px;
        max-height: calc(50vh + 78px);
    }

    .project-meta-bar__inner {
        flex-direction: column;
    }

    .project-meta-bar__details {
        gap: 20px;
    }

    .bts-grid {
        columns: 2;
    }

    .project-nav__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .project-nav__link--next {
        text-align: center;
    }
}

/* ============================================================
   FOOTER — minimal
   ============================================================ */
.site-footer {
    background: #050505;
    border-top: 1px solid var(--color-border);
}

.footer-minimal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 36px var(--gutter);
}

.footer-logo .site-logo__name {
    font-size: 1.5rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-connect {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}

.footer-social-links {
    display: flex;
    gap: 8px;
}

.footer-social a {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding: 9px 20px;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.footer-social a:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.footer-legal-menu a {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-legal-menu a:hover {
    color: var(--color-accent);
}

.footer-impressum-link {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-impressum-link:hover {
    color: var(--color-gold);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-hero {
    padding: 220px var(--gutter) 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

@media (max-width: 1024px) {
    .page-hero {
        padding-top: 160px;
        padding-bottom: 60px;
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }
    .page-hero h1 {
        font-size: clamp(2.5rem, 14vw, 4.5rem);
    }
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,165,90,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero .eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.page-hero h1 {
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.95;
    margin-bottom: 20px;
}

.page-hero p {
    max-width: 600px;
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 40px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 6rem;
    color: var(--color-accent);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 28px;
    line-height: 1;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 24px;
    padding-top: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author .name {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--color-white);
    text-transform: uppercase;
}

.testimonial-author .role {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50%       { transform: scaleY(0.7); opacity: 1; }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }   /* -50% of track = exactly one group width → seamless loop */
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px; /* still landscape on tablet */
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    /* On mobile: hide CTA button, keep lang switcher visible */
    .nav-cta {
        display: none;
    }

    .header-actions {
        gap: 12px;
    }

    /* ── Compact header on mobile ────────────────────────────────────*/
    .site-header {
        padding: 18px var(--gutter);
    }

    /* ── Logo: shrink so tagline fits on one line ────────────────────*/
    .site-logo__name {
        font-size: 1.7rem;
    }

    .site-logo__tagline {
        font-size: 0.52rem;
        letter-spacing: 0.12em;
        white-space: nowrap;
    }

    /* ── Mobile nav overlay ──────────────────────────────────────────*/
    @keyframes menuFadeIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    .site-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        background: #080808;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        z-index: 1001;
        padding: 80px 32px 60px;
        box-sizing: border-box;
    }

    .site-nav.open {
        display: flex;
        /* Keyframe fires on the first paint frame — no half-visible flash */
        animation: menuFadeIn 0.22s ease forwards;
    }

    /* When menu is open, float the header (logo + X button) above the overlay */
    .site-header.menu-open {
        z-index: 1003;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: none;
    }

    /* Each nav link — large Bebas Neue, generous tap target */
    .site-nav a {
        font-family: var(--font-heading);
        font-size: clamp(1.6rem, 5vh, 2.4rem);
        letter-spacing: 0.14em;
        color: var(--color-text-muted);
        text-align: center;
        text-transform: uppercase;
        padding: clamp(8px, 1.5vh, 14px) 40px;
        width: 100%;
        transition: color var(--transition);
    }

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

    .site-nav a:hover {
        color: var(--color-white);
    }

    .site-nav a.current-menu-item,
    .site-nav a.current-menu-ancestor {
        color: var(--color-accent);
    }

    /* ── Book a Shoot button: override the .site-nav a rule with higher specificity ── */
    .site-nav a.nav-contact-mobile {
        display: inline-flex;
        width: auto;
        font-family: var(--font-body);
        font-size: 0.78rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        padding: clamp(20px, 3vh, 34px) 64px;
        margin-top: clamp(20px, 3vh, 44px);
        color: var(--color-black);
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    /* Keep header-actions above the nav overlay */
    .header-actions {
        position: relative;
        z-index: 1002;
        gap: 12px;
    }

    /* Hide lang toggle from header on mobile — it lives in the nav overlay instead */
    .header-actions .lang-toggle {
        display: none;
    }

    /* Show lang toggle inside the nav overlay — pinned top-left */
    .lang-toggle-mobile {
        display: block;
        position: absolute;
        top: 28px;
        left: 32px;
    }

    .lang-toggle-mobile .lang-toggle {
        font-size: 0.72rem;
        padding: 8px 18px;
        border-color: var(--color-border);
        color: var(--color-text-muted);
    }

    .about-split {
        grid-template-columns: 1fr;
    }

    .about-split__image {
        min-height: 400px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .grid--2, .grid--3, .grid--4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .hero__scroll {
        display: none;
    }

    .marquee-track {
        animation-duration: 40s;
    }
}

@media (max-width: 640px) {

    :root {
        --nav-h: 76px;  /* smaller nav on mobile */
    }

    .marquee-section {
        padding: 20px 0;
    }

    .marquee-track {
        animation-duration: 24s;
    }

    .marquee-group {
        gap: 32px;
        padding-right: 32px;
    }

    .marquee-item {
        font-size: 0.85rem;
    }

    .marquee-item::after {
        margin-left: 32px;
    }

    /* Single column — projects stack naturally, no mosaic */
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    /* Every item full width, natural image proportion */
    .portfolio-item,
    .portfolio-item--portrait {
        grid-column: span 1;
        grid-row: span 1;
    }

    .portfolio-item img {
        height: auto;
        object-fit: unset;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Footer — stack and centre on mobile */
    .footer-minimal {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 28px;
        padding: 40px var(--gutter);
    }

    .footer-social {
        align-items: center;
    }

    .footer-social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-bottom {
        align-items: center;
    }

    .footer-copy {
        text-align: center;
    }

    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   JOURNAL PHOTO GRID
   ============================================================ */
.journal-grid {
    --journal-gap: 6px;
    columns: 3;
    column-gap: var(--journal-gap);
    padding: 0 var(--gutter);
    max-width: var(--max-width);
    margin: 0 auto;
}

.journal-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: var(--journal-gap);
    display: block;
    overflow: hidden;
    background: var(--color-surface);
}

.journal-item img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
    /* Reserve space while loading so columns don't reflow */
    min-height: 80px;
    background: var(--color-surface);
}

@media (max-width: 1024px) {
    .journal-grid {
        columns: 2;
    }
}

/* On mobile switch to CSS Grid so images always fill both columns
   (CSS columns can pile everything into one column before images load) */
@media (max-width: 640px) {
    .journal-grid {
        --journal-gap: 3px;
        columns: unset;
        column-gap: unset;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--journal-gap);
        padding: 0 12px;
    }
    .journal-item {
        margin-bottom: 0;
        break-inside: unset;
    }
    /* Single column on small phones so photos are full-width */
    .bts-grid {
        columns: 1;
    }
}

@media (max-width: 480px) {
    .journal-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   IMPRESSUM
   ============================================================ */
.page-hero--short {
    padding-top: 160px;
    padding-bottom: 80px;
    min-height: 0;
    text-align: center;
}

.impressum-section {
    padding-top: 60px;
    padding-bottom: 100px;
}

.impressum-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.imp-block {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 40px 0;
}

.imp-block:first-child {
    border-top: none;
    padding-top: 0;
}

.imp-heading {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 16px;
}

.imp-body {
    text-align: center;
}

.imp-body p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.imp-body p:last-child {
    margin-bottom: 0;
}

.imp-body a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.imp-body a:hover {
    color: var(--color-gold);
}

/* Free-form legal content (eRecht24 / pasted text) */
.datenschutz-content {
    text-align: left;
}

.datenschutz-content h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    margin: 48px 0 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.datenschutz-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.datenschutz-content h3 {
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 28px 0 10px;
}

.datenschutz-content * {
    color: #aaaaaa !important;
}

.datenschutz-content p,
.datenschutz-content li {
    font-size: 0.9rem;
    line-height: 1.9;
    margin-bottom: 12px;
}

.datenschutz-content ul,
.datenschutz-content ol {
    padding-left: 1.4em;
    margin-bottom: 16px;
}

.datenschutz-content a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

/* The Art. 21 uppercase block in eRecht24 text */
.datenschutz-content p:has(> strong) {
    font-size: 0.82rem;
}

/* ============================================================
   WP CORE CLASSES
   ============================================================ */
.alignleft  { float: left; margin-right: 2em; }
.alignright { float: right; margin-left: 2em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8em; text-align: center; color: var(--color-text-muted); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.sticky { /* WP sticky post */ }

/* ============================================================
   LARGE SCREEN (1440p+) — scale everything up slightly
   ============================================================ */
@media (min-width: 1440px) {
    html {
        font-size: 18px;
    }
    :root {
        --max-width: 1600px;
    }
}
.bypostauthor { /* WP author post */ }
