/* ============================================================
   Portfolio — Dark Elegant Theme mit Kupfer/Gold-Akzenten
   ============================================================ */

/* === Self-hosted Fonts (kein Google CDN) === */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/static/fonts/inter-latin-300-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/static/fonts/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/static/fonts/inter-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/static/fonts/playfair-display-latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/static/fonts/playfair-display-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/static/fonts/playfair-display-latin-400-italic.woff2') format('woff2');
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-overlay: rgba(0, 0, 0, 0.85);

    --text-primary: #e8e4de;
    --text-secondary: #9a9590;
    --text-muted: #5c5854;

    --accent: #c8956c;
    --accent-light: #dbb08a;
    --accent-dark: #a07248;
    --accent-glow: rgba(200, 149, 108, 0.15);

    --border: #222222;
    --border-hover: #333333;

    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Playfair Display", Georgia, serif;

    --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);

    --nav-height: 72px;
    --container-width: 1400px;
    --grid-gap: 6px;
}

/* === Reset & Base === */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

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

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

/* === Typography === */

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

h1 { font-size: 2.4rem; line-height: 1.2; }
h2 { font-size: 1.6rem; line-height: 1.3; }
h3 { font-size: 1.2rem; line-height: 1.4; }

/* === Layout === */

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

/* === Navigation === */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo svg {
    display: block;
    height: 30px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 0;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

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

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

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* === Hero / Page Header === */

.page-header {
    padding: calc(var(--nav-height) + 60px) 0 40px;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header .subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.accent-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 20px auto;
}

/* === Hero Quote === */

.hero-quote {
    padding: calc(var(--nav-height) + 60px) 32px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-quote blockquote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.4rem, 3.5vw, 2.4rem);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    padding: 0;
    position: relative;
}

.hero-quote blockquote::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 4em;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    top: -0.35em;
    left: -0.15em;
    line-height: 1;
}

.hero-quote cite {
    display: block;
    margin-top: 20px;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.hero-quote + .photo-grid {
    padding-top: 0;
}

/* Home ohne hero_quote: Grid kommt direkt unter die Nav, braucht Top-Abstand */
.photo-grid--top-nav {
    padding-top: calc(var(--nav-height) + 20px);
}

/* Kompakte Variante — innerhalb page-header (z.B. Galerie-Übersicht) */
.hero-quote--compact {
    padding: 18px 32px 4px;
    max-width: 640px;
}

.hero-quote--compact blockquote {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    line-height: 1.45;
    display: inline-block;
    max-width: 100%;
}

.hero-quote--compact blockquote::before {
    font-size: 2.8em;
    top: -0.25em;
    left: auto;
    right: 100%;
}

.hero-quote--compact cite {
    margin-top: 10px;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
}

/* === Photo Grid (Masonry-like) === */

.photo-grid {
    padding: calc(var(--nav-height) + 20px) 0 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 8px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: var(--grid-gap);
    padding-right: var(--grid-gap);
    box-sizing: border-box;
}

.photo-grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
    flex: 0 0 auto;
    /* width und height werden via gallery-justified.js gesetzt */
}

/* Transparenter Schutz-Overlay über Grid-Bildern */
.photo-grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.photo-grid-item .overlay {
    z-index: 2;
}

.photo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow), filter var(--transition-slow);
    will-change: transform;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

/* <picture>-Wrapper (z.B. bei Fotos mit Focal-Crop für Mobile) muss zum
   Block werden und die Item-Größe durchreichen. Ohne das bleibt <picture>
   inline und das innere <img> verliert seine height-Referenz, wodurch das
   Mobile-Grid-Item (aspect-ratio:1) seine Höhe auf die intrinsische Bild-
   höhe streckt. */
.photo-grid-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

.photo-grid-item:hover img {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.photo-grid-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity var(--transition);
}

.photo-grid-item:hover .overlay {
    opacity: 1;
}

.photo-grid-item .overlay h3 {
    font-size: 0.9rem;
    font-family: var(--font-sans);
    font-weight: 400;
    color: #fff;
}

.photo-grid-item .overlay .meta {
    font-size: 0.75rem;
    color: var(--accent-light);
    margin-top: 4px;
}

/* === Album Grid === */

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    padding: 0 24px 60px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.album-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
    background: var(--bg-card);
}

.album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.album-card .album-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 20px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.album-card .album-info h2 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 4px;
}

.album-card .album-info .count {
    font-size: 0.8rem;
    color: var(--accent-light);
    letter-spacing: 0.05em;
}

/* === Lightbox === */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.96);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    background: #0a0a0a;
    border-radius: 2px;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.4rem;
    transition: color var(--transition);
    background: none;
    border: none;
}

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

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color var(--transition);
    background: none;
    border: none;
}

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

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* === Lightbox Loader === */

.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 20px;
    min-width: 200px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
}

.lightbox.loading .lightbox-loader {
    opacity: 1;
}

.lightbox.loading .lightbox-img {
    opacity: 0;
    transition: opacity 0.15s;
}

.lightbox-loader-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}

.lightbox-loader-track {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.lightbox-loader-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.15s;
}

.lightbox-info {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: min(900px, calc(100% - 80px));
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: padding 0.3s, gap 0.3s;
}

.lightbox-info-toggle {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.35);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.3s;
    z-index: 1;
}

.lightbox-info-toggle:hover {
    color: rgba(255, 255, 255, 0.7);
}

.lightbox-info-toggle svg {
    width: 16px;
    height: 16px;
}

/* Minimiert: nur Titel + EXIF in einer kompakten Zeile */
.lightbox-info.minimized {
    padding: 10px 16px;
    gap: 0;
}

.lightbox-info.minimized .lightbox-info-toggle {
    transform: rotate(180deg);
}

.lightbox-info.minimized .lightbox-description {
    display: none !important;
}

.lightbox-info.minimized .lightbox-title {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.lightbox-info.minimized .lightbox-exif {
    border-top: none;
    padding-top: 4px;
}

.lightbox-text {
    min-width: 0;
}

.lightbox-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 2px;
}

.lightbox-description {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-height: 100px;
    overflow-y: auto;
}

.lightbox-description::-webkit-scrollbar {
    width: 3px;
}

.lightbox-description::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

/* Kein Text → Box ausblenden */
.lightbox-text:empty {
    display: none;
}

.lightbox-exif {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.exif-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-light);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.exif-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    flex-shrink: 0;
}

/* === About Page === */

.about-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.2em;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* === Contact Form === */

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent-light);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
}

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

/* === Footer === */

.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    text-align: center;
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.footer .accent {
    color: var(--accent);
}

/* === Loading === */

.photo-grid-item img {
    background: var(--bg-card);
}

/* === Responsive === */

@media (max-width: 1024px) {
    h1 { font-size: 1.8rem; }
}

/* Nav schon früher auf Burger umstellen: bei Tablets im Querformat
   (iPad mini ~1133px) und allen iPad-Hochformaten (744–1024px) wird
   das Desktop-Menü mit mehreren Kategorien zu breit. Layout/Typo-
   Mobile-Regeln bleiben weiterhin erst ab 767px greifen — hier geht
   es ausschließlich um das Menü. */
@media (max-width: 1199px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
        gap: 16px;
    }
    .nav-toggle { display: flex; }
}

@media (max-width: 767px) {
    .album-grid { grid-template-columns: 1fr; }
    h1 { font-size: 1.5rem; }
    .lightbox-info { bottom: 10px; max-width: calc(100% - 20px); padding: 8px 12px; gap: 4px; }
    .lightbox-title { font-size: 0.88rem; }
    .lightbox-description { max-height: 70px; font-size: 0.78rem; line-height: 1.55; }
    /* Mobile-kompaktes EXIF: engere Icons, 2-Zeilen-Wrap mit sehr engem
       row-gap. Border-top weg — der Titel läuft visuell in die EXIF-Zeile
       über, wirkt dadurch als eine Einheit, nicht als zwei Blöcke. Auf
       schmalen Screens (iPhone SE ~320px CSS) passen so Kamera + Objektiv
       + Blende + Shutter + ISO ohne horizontales Abschneiden. */
    .lightbox-exif { gap: 2px 8px; padding-top: 2px; border-top: none; }
    .exif-item { font-size: 0.62rem; gap: 2px; }
    .exif-item svg { width: 12px; height: 12px; }

    /* Mobile: Instagram-Style-Grid mit quadratischen Kacheln + Focal-Point-Crop.
       Override gegen die Inline-Styles aus gallery-justified.js (das Script
       returned früh bei window.innerWidth < 768, räumt auch Alt-Styles weg). */
    .photo-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
        padding-left: 2px;
        padding-right: 2px;
        /* Default: page-header / hero-quote darüber liefert Nav-Abstand,
           Grid selbst braucht nur minimalen Top-Luftstoß */
        padding-top: 8px;
    }
    /* Home ohne Quote: Grid klebt sonst an Nav — hier explizit Abstand geben */
    .photo-grid--top-nav {
        padding-top: calc(var(--nav-height) + 12px);
    }
    .photo-grid-item {
        width: auto !important;
        height: auto !important;
        aspect-ratio: 1;
    }
    .photo-grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* object-position wird pro Item via JS aus data-fx/fy gesetzt,
           Fallback auf 50% 50% wenn nicht gesetzt */
    }
    /* Overlay auf Mobile ausblenden — quadratische Thumbs sind ohnehin klein,
       der Titel würde das Bild überladen */
    .photo-grid-item .overlay {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Justified-Layout passt sich automatisch an — kein festes 1-Spalten-Grid mehr nötig */
}

/* === Category Sections (Home) === */

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

.category-section:first-child {
    padding-top: calc(var(--nav-height) + 30px);
}

.category-header {
    text-align: center;
    padding: 40px 24px 20px;
}

.category-header h2 {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    text-transform: lowercase;
}

.category-header h2 a {
    color: var(--text-primary);
    transition: color var(--transition);
}

.category-header h2 a:hover {
    color: var(--accent);
}

.home-grid {
    padding-top: 0;
}

.category-more {
    text-align: center;
    padding: 24px 0 20px;
}

/* === Social Links (Footer) === */

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}

.social-links a {
    color: var(--text-muted);
    transition: color var(--transition);
}

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

.social-icon {
    width: 20px;
    height: 20px;
}

/* ==================== PRIVATE GALLERY — Horizontal Day Scroll ==================== */

.gallery-nav {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.gallery-nav-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.gallery-nav-btn:hover {
    border-color: var(--accent);
    color: var(--text-secondary);
}

.gallery-nav-btn.active {
    border-color: var(--accent);
    background: var(--accent-glow);
    color: var(--accent-light);
}

.gallery-scroll {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 40px;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-day {
    min-width: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Inaktive Tage auf 0 Höhe kollabieren — dadurch entspricht die Flex-Container-
   Höhe automatisch der Höhe des aktiven Tages. Vermeidet "Seite so hoch wie
   höchster Tag"-Bug. Horizontales scroll-snap funktioniert weiterhin. */
.gallery-day:not(.gallery-day--active) {
    height: 0;
    overflow: hidden;
}

.gallery-day-header {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    padding: 24px 24px 12px;
}

.gallery-day-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.gallery-day-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Photo grid inside gallery days: generische .photo-grid-Regeln gelten,
   nur max-width weicht ab (Galerie-Tage nutzen breiteren Container) */
.gallery-day .photo-grid {
    max-width: 1400px;
    padding: 0 16px;
}

/* ==================== LIGHTBOX LOCATION ==================== */

.lightbox-loc {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 0;
    margin-top: 8px;
    border-top: 1px solid var(--border);
}

.lightbox-loc-time {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.lightbox-loc-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid var(--accent-dark);
    background: var(--accent-glow);
    color: var(--accent-light);
    font-size: 0.78rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.lightbox-loc-btn:hover {
    background: var(--accent);
    color: #0e0e0e;
    border-color: var(--accent);
}

/* ==================== MAP MODAL ==================== */

.map-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.map-modal.open {
    opacity: 1;
    visibility: visible;
}

.map-modal-content {
    width: 90%;
    max-width: 700px;
    height: 70vh;
    max-height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.map-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.map-modal-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.map-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.15s;
}

.map-modal-close:hover {
    color: var(--text-primary);
}

.map-modal-frame {
    flex: 1;
    width: 100%;
    border: none;
}

@media (max-width: 768px) {
    .gallery-day-header {
        padding: 16px 16px 8px;
    }

    .gallery-day-date {
        font-size: 1rem;
    }

    .gallery-day .photo-grid {
        padding: 0 8px;
        gap: 6px;
    }

    .gallery-nav {
        margin-top: 12px;
    }

    .gallery-nav-btn {
        padding: 4px 10px;
        font-size: 0.72rem;
    }

    .map-modal-content {
        width: 95%;
        height: 60vh;
    }
}


/* === Blog === */

.blog-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-card {
    display: flex;
    gap: 24px;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

.blog-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.blog-card-image {
    flex-shrink: 0;
    width: 240px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0 0 8px;
    line-height: 1.3;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 60px 0;
}

/* Blog Article */

.blog-article {
    max-width: 760px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 40px) 24px 60px;
}

.blog-cover {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 32px;
}

.blog-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-header {
    margin-bottom: 40px;
}

.blog-header h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 400;
    margin: 0 0 12px;
    line-height: 1.2;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--accent);
}

.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.blog-content p {
    margin: 0 0 1.5em;
}

.blog-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 2em 0 0.8em;
    color: var(--text-primary);
}

.blog-content h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin: 1.8em 0 0.6em;
    color: var(--text-primary);
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5em 0;
}

.blog-content a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.blog-content blockquote {
    border-left: 2px solid var(--accent);
    margin: 1.5em 0;
    padding: 0.5em 0 0.5em 1.5em;
    color: var(--text-secondary);
    font-style: italic;
}

.blog-content ul, .blog-content ol {
    margin: 0 0 1.5em;
    padding-left: 1.5em;
}

.blog-content li {
    margin-bottom: 0.4em;
}

.blog-back {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.blog-back a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.blog-back a:hover {
    color: var(--accent-light);
}

@media (max-width: 768px) {
    .blog-card {
        flex-direction: column;
    }

    .blog-card-image {
        width: 100%;
        height: 200px;
    }

    .blog-header h1 {
        font-size: 1.6rem;
    }

    .blog-content {
        font-size: 1rem;
    }
}

/* === Legal (Impressum, Datenschutz) === */

.footer-legal {
    margin-top: 12px;
    font-size: 0.78rem;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px 60px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    margin: 2em 0 0.6em;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 1.5em 0 0.5em;
    color: var(--text-primary);
}

.legal-content p {
    margin: 0 0 1.2em;
    color: var(--text-secondary);
}

.legal-content a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content ul, .legal-content ol {
    margin: 0 0 1.2em;
    padding-left: 1.5em;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 0.4em;
}

/* --- Owner-Download: PIN-Popup --- */
.owner-pin-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.owner-pin-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 28px 32px 24px;
    width: 280px;
    text-align: center;
}
.owner-pin-title {
    font-size: 0.85rem;
    color: var(--text-secondary, #999);
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.owner-pin-input {
    width: 100%;
    background: #0e0e0e;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 1.1rem;
    color: #e8e4de;
    text-align: center;
    letter-spacing: 6px;
    font-family: monospace;
    outline: none;
    box-sizing: border-box;
}
.owner-pin-input:focus {
    border-color: #c8956c;
}
.owner-pin-error {
    font-size: 0.75rem;
    color: #e06666;
    min-height: 20px;
    margin-top: 8px;
    line-height: 1.5;
}
.owner-pin-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.owner-pin-btn {
    flex: 1;
    padding: 8px 0;
    border: 1px solid #444;
    border-radius: 6px;
    background: #222;
    color: #e8e4de;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.owner-pin-btn:hover {
    background: #2a2a2a;
    border-color: #555;
}
.owner-pin-submit {
    background: #c8956c;
    border-color: #c8956c;
    color: #0e0e0e;
    font-weight: 500;
}
.owner-pin-submit:hover {
    background: #dbb08a;
    border-color: #dbb08a;
}
.owner-pin-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

/* --- Owner-Download: Lightbox-Button --- */
.lightbox-download {
    position: absolute;
    top: 20px;
    right: 72px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary, #999);
    transition: color 0.15s;
    z-index: 11;
    text-decoration: none;
}
.lightbox-download:hover {
    color: #c8956c;
}

/* --- Owner-Logout-Button (floating, unten rechts) --- */
.owner-logout-btn {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 900;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-family: Inter, sans-serif;
    color: #888;
    background: rgba(20,20,20,0.85);
    border: 1px solid #333;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.owner-logout-btn:hover {
    color: #c8956c;
    border-color: #c8956c;
}

/* --- Owner-Nav-Button (floating, links vom Logout-Button) --- */
.owner-nav-btn {
    position: fixed;
    bottom: 16px;
    right: 110px;        /* links vom owner-logout-btn (rechts: 16px, ~85px breit) */
    z-index: 900;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-family: Inter, sans-serif;
    color: #888;
    background: rgba(20,20,20,0.85);
    border: 1px solid #333;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.owner-nav-btn:hover {
    color: #c8956c;
    border-color: #c8956c;
}

/* --- Owner-Galerien-Übersichtsseite --- */
.owner-galleries-page {
    padding: 80px 0 120px;
    min-height: 60vh;
}
.owner-galleries-page .container {
    max-width: 960px;
}
.owner-galleries-header {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid #2a2a2a;
}
.owner-galleries-header h1 {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    color: #e8e4de;
    margin: 0 0 12px;
}
.owner-galleries-header .muted {
    color: #777;
    font-size: 0.9rem;
    margin: 0;
}
.owner-galleries-section {
    margin-bottom: 56px;
}
.owner-galleries-section h2 {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: #e8e4de;
    margin: 0 0 20px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.count-badge {
    display: inline-block;
    background: #2a2a2a;
    color: #888;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}
.owner-gallery-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.owner-gallery-card {
    background: rgba(25,25,25,0.6);
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 16px 20px;
    transition: border-color 0.15s;
}
.owner-gallery-card:hover {
    border-color: #3a3a3a;
}
.owner-gallery-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.owner-gallery-title {
    font-family: Inter, sans-serif;
    font-weight: 500;
    color: #e8e4de;
    font-size: 1rem;
}
.owner-badge {
    font-family: Inter, sans-serif;
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    background: #2a2a2a;
    color: #aaa;
    border: 1px solid transparent;
}
.owner-badge--lock {
    background: rgba(200,149,108,0.15);
    color: #c8956c;
    border-color: rgba(200,149,108,0.3);
}
.owner-badge--open {
    background: rgba(200,90,90,0.15);
    color: #d67a7a;
    border-color: rgba(200,90,90,0.3);
}
.owner-badge--draft {
    background: rgba(120,120,120,0.2);
    color: #999;
}
.owner-badge--client {
    background: rgba(130,170,200,0.1);
    color: #8fb3cc;
    border-color: rgba(130,170,200,0.2);
}
.owner-badge--status--selecting  { background: rgba(200,149,108,0.15); color: #c8956c; }
.owner-badge--status--processing { background: rgba(180,170,90,0.15);  color: #c8b56c; }
.owner-badge--status--delivered  { background: rgba(110,170,110,0.15); color: #8dc88d; }
.owner-badge--status--archived   { background: rgba(120,120,120,0.15); color: #888; }
.owner-gallery-link {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 10px;
}
.owner-gallery-url {
    flex: 1;
    font-family: "SF Mono", Monaco, Consolas, monospace;
    font-size: 0.78rem;
    padding: 8px 12px;
    background: #141414;
    color: #b8b4ae;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: all;
}
.owner-copy-btn {
    padding: 6px 14px;
    font-family: Inter, sans-serif;
    font-size: 0.75rem;
    color: #888;
    background: transparent;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
}
.owner-copy-btn:hover {
    color: #c8956c;
    border-color: #c8956c;
}
.owner-copy-btn.is-copied {
    color: #8dc88d;
    border-color: #8dc88d;
    background: rgba(141,200,141,0.08);
}
.owner-gallery-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-family: Inter, sans-serif;
    font-size: 0.78rem;
    color: #777;
}
.owner-gallery-meta span {
    white-space: nowrap;
}
@media (max-width: 600px) {
    .owner-gallery-link {
        flex-direction: column;
    }
    .owner-copy-btn {
        align-self: flex-start;
    }
    .owner-nav-btn {
        right: auto;
        left: 16px;
    }
}

/* === Review-Login: DSGVO-Hinweis === */
.review-privacy-note {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.55;
    text-align: center;
}
.review-privacy-note a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.review-privacy-note a:hover {
    color: var(--accent);
}

/* === About Page Layout (Text links, Bilder rechts) === */
.about-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}
.about-text {
    min-width: 0; /* damit grid-item nicht durch lange Wörter überläuft */
}
.about-text p,
.about-text li {
    color: var(--text-secondary);
    margin-bottom: 1.2em;
    font-size: 1.05rem;
    line-height: 1.8;
}
.about-text h1,
.about-text h2,
.about-text h3 {
    color: var(--text-primary);
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}
.about-text a {
    color: var(--accent);
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
.about-image {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    background: var(--bg-card);
}
.about-image figcaption {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    font-style: italic;
}

/* Mobile: untereinander, Bilder nach dem Text */
@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* === Cookie-Info-Banner (einmalig) === */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 90;
    background: rgba(22, 22, 22, 0.96);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
    max-width: 820px;
    margin: 0 auto;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: cookieBannerIn 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}
@keyframes cookieBannerIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-text {
    flex: 1 1 300px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}
.cookie-banner-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}
.cookie-banner-link {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 0.82rem;
}
.cookie-banner-link:hover {
    color: var(--accent);
}
.cookie-banner-btn {
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 3px;
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background var(--transition);
}
.cookie-banner-btn:hover {
    background: var(--accent-light);
}
@media (max-width: 500px) {
    .cookie-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 12px 14px;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* === Video-Tiles und Video-Lightbox (pkgV3) ====================== */

/* Video-Section in privaten Galerien. Wird im Template als
   .gallery-day gallery-day--videos gerendert und erbt damit das
   horizontale-Karussell-Layout der Foto-Tagesgruppen (min-width:100%,
   scroll-snap-align:start, height:0 im inaktiven Zustand). Eigene
   Styling hier nur für innere Anordnung. */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 8px;
    /* Constraints analog zu .gallery-day .photo-grid — sonst würde das
       Grid auf großen Viewports die volle Container-Breite einnehmen
       und die Tiles würden riesig wirken. */
    max-width: 1400px;
    padding: 0 16px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    width: 100%;
}

.video-grid-item {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
    background: #0a0a0a;
}

/* Schutz-Overlay analog zu .photo-grid-item — verhindert Bild-Drag */
.video-grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.video-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow), filter var(--transition-slow);
    will-change: transform;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.video-grid-item:hover img {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.video-play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    transition: background var(--transition), transform var(--transition);
}

.video-play-icon svg {
    width: 26px;
    height: 26px;
    /* Optisch zentrieren — Dreieck-Form sieht sonst leicht zu weit links aus */
    margin-left: 3px;
}

.video-grid-item:hover .video-play-icon {
    background: rgba(0, 0, 0, 0.75);
    transform: translate(-50%, -50%) scale(1.06);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 2;
    padding: 2px 7px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.3px;
    pointer-events: none;
}

.video-grid-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 2;
}

.video-grid-item:hover .overlay {
    opacity: 1;
}

.video-grid-item .overlay h3 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Video-Element in der Lightbox — gleiche Box-Dimensionen wie das
   Lightbox-Foto, damit das Layout identisch wirkt. */
.lightbox-video {
    max-width: 92vw;
    max-height: 88vh;
    background: #000;
    border-radius: 2px;
    display: none;
}

.lightbox-video[controls] {
    /* Wenn das Element sichtbar geschaltet wird (display:block via JS),
       greift das hier nicht — display:none ist Default, JS überschreibt. */
}

/* Wenn ein Video angezeigt wird, das normale lightbox-img verstecken */
.lightbox.is-video .lightbox-img {
    display: none;
}

.lightbox.is-video .lightbox-video {
    display: block;
}

/* Beim Video-Mode den Loader ausblenden — Browser zeigt eigene
   Buffer-Anzeige im <video>-Player */
.lightbox.is-video.loading .lightbox-loader {
    display: none;
}
