/*
 * ================================================================
 * CLASSIC TEMPLATE – ÖFFENTLICHES GALERIE-FRONTEND
 * ================================================================
 *
 * Strukturierte Fassung des bisherigen Stylesheets.
 * Alle Selektoren, Werte und die ursprüngliche CSS-Reihenfolge bleiben
 * erhalten. Spätere Regeln können frühere bewusst überschreiben.
 *
 * Neue Header-/Dropdown-Regeln bitte erst nach Prüfung ergänzen.
 * ================================================================
 */

/* Classic – public frontend. Independent of admin CSS. */

/* ================================================================
 * 01  GRUNDEINSTELLUNGEN UND FARBVARIABLEN
 * ================================================================ */

:root {
    --background: #f3f6f8;
    --surface: #fff;
    --ink: #203443;
    --muted: #657988;
    --accent: #628494;
    --edge: #dce4e9;
}

* {
    box-sizing: border-box;
}

body {
    font-family: system-ui,-apple-system,"Segoe UI",sans-serif;
    margin: 0;
    background: var(--background);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==================================================
   LUMZENA – Logo im Galerie-Header
================================================== */

.gallery-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.gallery-logo-image {
    display: block;
    width: 160px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* ==================================================
   LUMZENA – Logo auf kleinen Bildschirmen
================================================== */

@media (max-width: 768px) {

    .gallery-logo-image {
        width: 160px;
    }

}

/* ================================================================
 * 02  KOPFZEILE, MARKENNAME UND SPRACHWAHL
 * ================================================================ */

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--edge);
    padding: 18px max(22px,calc((100vw - 1100px)/2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    font-size: 25px;
    color: #355d70;
    text-decoration: none;
}

.site-langs {
    display: flex;
    gap: 8px;
}

.site-langs a {
    border: 1px solid var(--edge);
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 12px;
    text-decoration: none;
    color: var(--ink);
}

.site-langs a[aria-current=true] {
    background: #dcebf1;
    border-color: var(--accent);
}


/* ================================================================
 * 03  SEITENLAYOUT UND WILLKOMMENSBEREICH
 * ================================================================ */

.gallery-main {
    width: min(1100px,100%);
    margin: 0 auto;
    flex: 1;
    padding: 65px 22px;
}

.welcome-panel {
    background: var(--surface);
    border: 1px solid var(--edge);
    border-radius: 20px;
    padding: 40px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 800;
    color: var(--accent);
}

h1 {
    font-size: clamp(30px,5vw,46px);
    margin: 12px 0;
}

p {
    color: var(--muted);
    line-height: 1.6;
}

.gallery-placeholder {
    height: 240px;
    margin-top: 25px;
    display: grid;
    place-items: center;
    background: #e4edf2;
    border-radius: 18px;
    border: 1px dashed #b4cbd5;
}

.gallery-placeholder span {
    font-size: 80px;
    color: #8ca9b7;
}

.site-footer {
    text-align: center;
    background: white;
    border-top: 1px solid var(--edge);
    padding: 22px;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width:600px) {
    .site-header {
        padding: 15px;
        flex-wrap: wrap;
    }

    .gallery-main {
        padding: 30px 15px;
    }

    .welcome-panel {
        padding: 24px;
    }

}


/* ================================================================
 * 04  SEITENTITEL, ALBEN UND ALBUMKARTEN
 * ================================================================ */

.page-heading {
    margin-bottom: 26px;
}

.page-heading h1 {
    margin-top: 5px;
}

.section-title {
    margin: 40px 0 20px;
    font-size: 23px;
}

.count {
    color: var(--muted);
    font-size: 16px;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(235px,1fr));
    gap: 22px;
}

.album-card,.photo-card {
    background: white;
    border: 1px solid var(--edge);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    transition: transform .2s,box-shadow .2s;
}

.album-card:hover,.photo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px #20344318;
}

.album-cover {
    height: 180px;
    background: #e5edf1;
    display: grid;
    place-items: center;
    overflow: hidden;
}

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

.cover-placeholder {
    font-size: 56px;
    color: #819ca9;
}

.album-meta {
    padding: 15px 17px 18px;
}

.album-meta h2 {
    font-size: 19px;
    margin: 0 0 6px;
}

.album-meta span {
    font-size: 13px;
    color: var(--muted);
}

.empty-state {
    border: 1px dashed #bfd0d9;
    border-radius: 16px;
    background: #fff;
    padding: 48px 20px;
    text-align: center;
    color: var(--muted);
}


/* ================================================================
 * 05  BREADCRUMBS UND FOTOGITTER
 * ================================================================ */

.breadcrumbs {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

.breadcrumbs a {
    color: #355d70;
    text-decoration: none;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(190px,1fr));
    gap: 17px;
}

.photo-card img {
    display: block;
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.photo-card span {
    display: block;
    padding: 11px 13px;
    font-size: 14px;
    overflow-wrap: anywhere;
}


/* ================================================================
 * 06  SEITENNAVIGATION UND FOTOANSICHT
 * ================================================================ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 35px 0;
}

.pagination a,.photo-navigation a,.photo-navigation button {
    background: #fff;
    border: 1px solid var(--edge);
    border-radius: 9px;
    padding: 10px 14px;
    color: #355d70;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}


/* ==============================================================
   LUMZENA – SUCHERGEBNISSE: PAGINATION
   ============================================================== */

.gallery-search-page .gallery-search-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 30px auto;
}

.gallery-search-page .gallery-search-pagination a,
.gallery-search-page .gallery-search-pagination span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 46px;
    padding: 0;
    margin: 0;
    background: #ffffff;
    color: #243746;
    border: 1px solid #104b50;
    border-radius: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.gallery-search-page .gallery-search-pagination > * + * {
    border-left: 0;
}

.gallery-search-page .gallery-search-pagination a:hover {
    background: #e8eef2;
    color: #243746;
    box-shadow: none;
}

.gallery-search-page .gallery-search-pagination .is-active {
    background: #104b50;
    color: #ffffff;
    font-weight: 700;
}

.gallery-search-page .gallery-search-pagination .is-disabled {
    background: #f5f5f5;
    color: #c5c9cc;
    cursor: default;
}

.gallery-search-page .gallery-search-pagination .pagination-dots {
    color: #777777;
    cursor: default;
}

.gallery-search-page .gallery-search-pagination a:focus-visible {
    outline: 2px solid #0065cc;
    outline-offset: 2px;
    position: relative;
    z-index: 1;
}

/* ==============================================================
   LUMZENA – SUCHERGEBNISSE: PAGINATION FARBE
   ============================================================== */

.gallery-search-page .gallery-search-pagination > a,
.gallery-search-page .gallery-search-pagination > span {
    border-color: #104b50;
}

.gallery-search-page .gallery-search-pagination > .is-active {
    background-color: #104b50;
    border-color: #104b50;
    color: #ffffff;
}

.gallery-search-page .gallery-search-pagination > a:hover {
    background-color: #e8eef2;
    border-color: #104b50;
}


.photo-view {
    background: white;
    border: 1px solid var(--edge);
    border-radius: 16px;
    padding: 14px;
}

.photo-large {
    display: grid;
    place-items: center;
    background: #17252d;
    border-radius: 10px;
    overflow: hidden;
}

.photo-large img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 72vh;
    object-fit: contain;
}

.photo-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 14px;
}


/* ================================================================
 * 07  EXIF-BEREICH UND LIGHTBOX
 * ================================================================ */

.exif-panel {
    margin-top: 25px;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--edge);
    border-radius: 16px;
}

.exif-panel h2 {
    font-size: 22px;
    margin: 0 0 18px;
}

.exif-panel dl {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 12px;
    margin: 0;
}

.exif-panel dl div {
    border-bottom: 1px solid var(--edge);
    padding: 9px 0;
}

.exif-panel dt {
    font-size: 12px;
    color: var(--muted);
}

.exif-panel dd {
    margin: 4px 0 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.lightbox[hidden] {
    display: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(5,12,18,.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    right: 20px;
    top: 12px;
    color: white;
    background: none;
    border: 0;
    font-size: 45px;
    cursor: pointer;
}

body.lightbox-open {
    overflow: hidden;
}


/* ================================================================
 * 08  PASSWORTSCHUTZ UND FEHLERMELDUNGEN
 * ================================================================ */

.lock-panel {
    max-width: 530px;
    margin: auto;
}

.lock-panel form {
    display: grid;
    gap: 12px;
}

.lock-panel input {
    padding: 13px;
    border: 1px solid var(--edge);
    border-radius: 8px;
    font-size: 16px;
}

.lock-panel button {
    background: #355d70;
    color: white;
    padding: 12px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.form-error {
    background: #fff0f0;
    border: 1px solid #d99;
    border-radius: 8px;
    color: #8a2020;
    padding: 12px;
    margin-bottom: 12px;
}

@media (max-width:600px) {
    .photo-navigation {
        justify-content: center;
    }

    .album-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }

    .album-cover {
        height: 130px;
    }

    .album-meta {
        padding: 10px;
    }

    .album-meta h2 {
        font-size: 15px;
    }

    .photo-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }

    .photo-card img {
        height: 140px;
    }

    .exif-panel {
        padding: 18px;
    }

}


/* ================================================================
 * 09  SCHLAGWORTE, BEWERTUNGEN UND FARBPALETTE
 * ================================================================ */

.gallery-tags {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.gallery-tags span {
    padding: 6px 12px;
    background: #edf4f7;
    border-radius: 100px;
    font-size: 13px;
}

.gallery-rating-form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.gallery-rating-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.gallery-rating-buttons button {
    border: 1px solid #dfc688;
    background: #fff8e1;
    color: #70551e;
    border-radius: 7px;
    padding: 8px 10px;
    cursor: pointer;
}

.gallery-rating-buttons button:hover {
    background: #f9e3a5;
}

/* Galerie 0.1.7 – Foto-Details: separate information / EXIF cards */

/* ================================================================
 * 10  FOTO-DETAILS IN ZWEI SPALTEN
 * ================================================================ */

.gallery-detail-columns {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: start;
    gap: 22px;
    margin-top: 24px;
}

.gallery-detail-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--edge);
    border-radius: 16px;
    padding: 25px 26px;
    box-shadow: 0 5px 22px rgba(24,47,60,.035);
}

.gallery-detail-card h2 {
    font-size: 21px;
    line-height: 1.3;
    margin: 0 0 19px;
}

.gallery-detail-list {
    display: block;
    margin: 0;
}

.gallery-detail-row {
    display: grid;
    grid-template-columns: minmax(120px,38%) minmax(0,1fr);
    gap: 15px;
    align-items: start;
    border-bottom: 1px solid #e7edf0;
    padding: 10px 0;
    font-size: 14px;
}

.gallery-detail-row:first-child {
    padding-top: 0;
}

.gallery-detail-row:last-child {
    border-bottom: 0;
}

.gallery-detail-row dt {
    color: #617989;
    font-weight: 500;
    line-height: 1.5;
}

.gallery-detail-row dd {
    margin: 0;
    font-weight: 650;
    line-height: 1.5;
    overflow-wrap: anywhere;
    color: #203443;
}

.gallery-detail-section {
    border-top: 1px solid var(--edge);
    margin-top: 19px;
    padding-top: 18px;
}

.gallery-detail-section h3 {
    font-size: 16px;
    margin: 0 0 12px;
}


/* ================================================================
 * 11  STERNEBEWERTUNG UND FARBPALETTEN-DETAILS
 * ================================================================ */

.gallery-rating-summary {
    font-size: 14px;
    margin: 0 0 13px;
}

.gallery-rating-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.gallery-rating-label {
    font-size: 14px;
    color: var(--muted);
}

.gallery-rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 3px;
}

.gallery-rating-stars button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #9caebb;
    cursor: pointer;
    font-family: Arial,sans-serif;
    font-size: 34px;
    line-height: 1;
    padding: 2px 3px;
    transition: color .12s ease,transform .12s ease;
}

.gallery-rating-stars button:hover,.gallery-rating-stars button:hover~button,.gallery-rating-stars button:focus-visible,.gallery-rating-stars button:focus-visible~button {
    color: #e1a62c;
    transform: scale(1.06);
}

.gallery-rating-stars button:hover span,.gallery-rating-stars button:hover~button span,.gallery-rating-stars button:focus-visible span,.gallery-rating-stars button:focus-visible~button span {
    font-weight: bold;
}

.gallery-rating-stars button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 5px;
}



/* ==============================================================
   LUMZENA – FOTODETAILS: FARBPALETTE
   ============================================================== */

.gallery-color-palette {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    overflow-x: auto;
}

.gallery-color-palette .gallery-palette-search,
.gallery-color-palette .gallery-palette-search:hover {
    display: block;
    flex: 0 0 34px;
    width: 34px;
    height: 24px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    line-height: 0;
    text-decoration: none;
    overflow: hidden;
}

.gallery-color-palette .gallery-palette-search span,
.gallery-color-palette .gallery-palette-search:hover span {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}

.gallery-color-palette .gallery-palette-search:focus-visible {
    outline: 2px solid #0065cc;
    outline-offset: 2px;
}

@media (max-width:760px) {
    .gallery-detail-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-detail-card {
        padding: 22px;
    }

}

@media (max-width:420px) {
    .gallery-detail-row {
        grid-template-columns: 112px minmax(0,1fr);
        gap: 10px;
        font-size: 13px;
    }

    .gallery-detail-card {
        padding: 17px;
    }

}

/* Galerie 0.1.7 – Fotoansicht: Bild ohne dunkle seitliche Balken */
.photo-large {
    background: transparent;
    border-radius: 8px;
}

.photo-large img {
    max-height: 72vh;
    border-radius: 8px;
}

/* Lesbarere Beschriftungen in beiden Informationskarten */
.gallery-detail-row {
    font-size: 15px;
}

.gallery-detail-row dt {
    color: #526b7b;
    font-weight: 550;
}

.gallery-rating-label,.gallery-rating-summary {
    font-size: 15px;
    color: #526b7b;
}

.gallery-tags span {
    font-size: 14px;
}

/* Sterne: Gespeicherte Auswahl ist nach dem Neuladen weiterhin gefüllt */
.gallery-rating-stars {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1px;
}

.gallery-rating-stars .gallery-star {
    appearance: none;
    background: transparent;
    border: 0;
    color: #a0b0bc;
    font-size: 31px;
    line-height: 1.2;
    padding: 2px 3px;
    cursor: pointer;
    transition: color .12s ease,transform .12s ease;
}

.gallery-rating-stars .gallery-star.is-selected {
    color: #dfab28;
}

.gallery-rating-stars .gallery-star:hover {
    transform: scale(1.08);
}

.gallery-rating-stars .gallery-star:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 5px;
}

@media (max-width:420px) {
    .gallery-detail-row {
        font-size: 14px;
    }

}

/* 0.1.7c: Bild ohne aeusseren Kartenrahmen; Navigation unveraendert */
.photo-view {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.photo-large {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.photo-large img {
    border-radius: 0;
}

/* Gallery 0.1.8 – public search */

/* ================================================================
 * 12  KOPFZEILEN-SUCHE UND SCHNELLSUCHE
 * ================================================================ */

.site-header-tools {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}

.site-quicksearch {
    display: flex;
    min-width: 180px;
    max-width: 240px;
    border: 1px solid var(--edge);
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
}

.site-quicksearch input {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    border: 0;
    outline-offset: -2px;
    font: inherit;
    font-size: 13px;
}

.site-quicksearch button {
    background: #e8f0f4;
    color: #355d70;
    border: 0;
    padding: 0 12px;
    font-size: 20px;
    cursor: pointer;
}

.site-search-link {
    color: #355d70;
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
}

.site-search-link:hover {
    text-decoration: underline;
}


/* ================================================================
 * 13  ERWEITERTE SUCHE UND FILTER
 * ================================================================ */

.gallery-search-form {
    background: #fff;
    border: 1px solid var(--edge);
    border-radius: 16px;
    padding: 22px;
    display: grid;
    gap: 19px;
}

.gallery-search-inputrow {
    display: flex;
    gap: 10px;
}

.gallery-search-inputrow input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--edge);
    border-radius: 9px;
    padding: 12px 14px;
    font: inherit;
}

.gallery-search-inputrow button {
    border: 0;
    border-radius: 9px;
    background: #355d70;
    color: white;
    font: inherit;
    font-weight: 700;
    padding: 11px 22px;
    cursor: pointer;
}

.gallery-search-options {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.gallery-search-options legend {
    font-weight: 700;
    margin-bottom: 12px;
}

.gallery-search-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(170px,1fr));
    gap: 10px;
}

.gallery-search-fields label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    cursor: pointer;
}

.gallery-search-fields input {
    width: 16px;
    height: 16px;
    flex: none;
    accent-color: #27834e;
    margin: 0;
}

.gallery-search-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
}

.gallery-search-sort select {
    border: 1px solid var(--edge);
    border-radius: 8px;
    padding: 9px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@media (max-width:760px) {
    .site-header-tools {
        width: 100%;
        gap: 10px;
    }

    .site-quicksearch {
        flex: 1;
        max-width: none;
    }

    .gallery-search-form {
        padding: 17px;
    }

    .gallery-search-fields {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

}

@media (max-width:430px) {
    .gallery-search-inputrow {
        flex-direction: column;
    }

    .gallery-search-inputrow button {
        width: 100%;
    }

    .gallery-search-fields {
        grid-template-columns: 1fr;
    }

    .site-search-link {
        font-size: 12px;
    }

}

/* ============================================================ Classic theme: color-based search ============================================================ */

/* ================================================================
 * 14  SUCHE NACH FARBE
 * ================================================================ */

.gallery-search-color {
    margin-top: 20px;
}

.gallery-search-color-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.gallery-search-color-controls input[type="color"] {
    width: 64px;
    height: 44px;
    padding: 3px;
    cursor: pointer;
}

.gallery-search-color-controls select {
    padding: 10px;
    border: 1px solid var(--edge);
    border-radius: 7px;
}

.gallery-search-color-controls button {
    padding: 12px 20px;
    background: #355d70;
    color: white;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

/* ================================================================ 
CLASSIC TEMPLATE – SEARCH LINKS IN PHOTO METADATA Add only these rules to the existing classic template stylesheet. 
================================================================ */

/* ================================================================
 * 15  ANKLICKBARE METADATEN UND FARBEN
 * ================================================================ */

.gallery-metadata-search {
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

.gallery-metadata-search:hover,
.gallery-metadata-search:focus-visible {
    color: var(--accent, #628494);
    text-decoration-style: solid;
}

.gallery-palette-search {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    color: inherit;
    text-decoration: none;
    border-radius: 5px;
}

.gallery-palette-search:hover,
.gallery-palette-search:focus-visible {
    outline: 2px solid var(--accent, #628494);
    outline-offset: 3px;
}

.gallery-search-filter-info {
    margin: 1rem 0;
}
/* ==============================================================
 * LUMZENA – Auflösungssuche: Regler und Pixel-Eingabefelder
 * Ergänzung für templates/classic/assets/css/style.css
 * ============================================================== */
.gallery-search-resolution .gallery-resolution-row {
    display: grid;
    grid-template-columns: minmax(85px, 130px) minmax(0, 1fr) 100px;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.gallery-search-resolution input[type="range"] {
    width: 100%;
    min-width: 0;
    accent-color: #27834e;
    cursor: pointer;
}
.gallery-search-resolution input[type="number"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid var(--edge);
    border-radius: 8px;
    padding: 9px;
    font: inherit;
}
@media (max-width: 480px) {
    .gallery-search-resolution .gallery-resolution-row {
        grid-template-columns: minmax(0, 1fr) 90px;
    }
    .gallery-search-resolution .gallery-resolution-row label {
        grid-column: 1 / -1;
    }
}
/* ==========================================================
   LUMZENA – SUCHLUPE IN DER HAUPTNAVIGATION
   ========================================================== */

.gallery-header-search-icon {
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
    color: inherit;
    cursor: pointer;
}
/* ============================================================
   CLASSIC – FRONTEND-HEADER / ALBUM-DROPDOWN / STARTSEITE
   Nur am Ende von templates/classic/assets/css/style.css anfügen!
   BYB-Farben: #0c3945, #125955, #628494
   ============================================================ */

/* 1. Header und Navigation */
.gallery-new-header {
    position: relative;
    z-index: 40;
    padding: 0 24px;
    background: linear-gradient(115deg, #0c3945 0%, #125955 100%);
    border-bottom: 3px solid #628494;
    color: #fff;
}
.gallery-header-inner {
    width: min(1320px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 78px;
}
.gallery-new-header .site-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    font-size: 23px;
    color: #fff;
}
.gallery-brand-symbol { color: #a3c5cd; font-size: 27px; }
.gallery-primary-nav { display: flex; align-items: center; gap: 20px; flex: 1; }
.gallery-nav-trigger,
.gallery-header-nav-link {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 13px 4px;
    border: 0;
    background: transparent;
    color: #f8fcfd;
    text-decoration: none;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.gallery-nav-trigger:hover,
.gallery-header-nav-link:hover { color: #d8eef0; }
.gallery-nav-dropdown { position: relative; }
.gallery-nav-menu[hidden] { display: none !important; }
.gallery-nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(385px, calc(100vw - 32px));
    max-height: min(70vh, 620px);
    overflow-y: auto;
    background: #fff;
    color: #203443;
    border: 1px solid #c7d9df;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(5, 36, 43, .22);
    padding: 10px 0;
    z-index: 100;
}
.gallery-nav-menu a {
    color: #203443;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 15px;
}
.gallery-nav-menu a:hover,
.gallery-nav-menu a:focus-visible { background: #e8f3f3; }
.gallery-nav-all { border-bottom: 1px solid #dce4e9; font-weight: 700; }
.gallery-nav-albums-level { padding: 0; margin: 0; list-style: none; }
.gallery-nav-albums-level .gallery-nav-albums-level { margin-left: 17px; border-left: 2px solid #dce9eb; }
.gallery-nav-album-item { min-width: 0; }
.gallery-nav-album-title { min-width: 0; overflow-wrap: anywhere; }
.gallery-nav-album-count {
    flex: 0 0 auto;
    min-width: 37px;
    padding: 4px 7px;
    background: #385d69;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    border-radius: 6px;
    text-align: center;
}
.gallery-nav-empty { margin: 10px 15px; }
.gallery-nav-future-links { display: flex; gap: 14px; }
.gallery-new-header .site-header-tools { flex: 0 1 auto; }
.gallery-new-header .site-quicksearch { border-color: rgba(255, 255, 255, .28); }
.gallery-new-header .site-quicksearch button { background: #628494; color: #fff; }
.gallery-new-header .site-langs a { color: #fff; border-color: rgba(255, 255, 255, .38); }
.gallery-new-header .site-langs a[aria-current=true] { background: #e2f0f2; color: #103c48; }

/* 2. Startseite: Albumüberschrift und Albumkarten */
.gallery-home-main { width: min(1320px, 100%); padding-top: 42px; }
.gallery-home-heading {
    margin-bottom: 24px;
    border: 2px solid #628494;
    border-radius: 12px 30px 30px 12px;
    padding: 16px 22px;
    background: #fff;
}
.gallery-home-heading h1 { font-size: 25px; margin: 0; font-weight: 650; }
.gallery-home-album-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.gallery-home-album-card {
    border: 1px solid #a7c2c9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.gallery-home-album-cover { height: 195px; }
.gallery-home-album-meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-height: 122px;
    gap: 16px;
    padding: 17px 12px 19px;
    text-align: center;
}
.gallery-home-album-meta h2 { margin: 0; font-size: 16px; line-height: 1.4; }
.gallery-home-album-meta span { font-size: 13px; color: #547480; }

/* 3. Mobilgeräte und Tastaturbedienung */
@media (max-width: 1080px) {
    .gallery-header-inner { flex-wrap: wrap; padding: 12px 0; gap: 10px 20px; }
    .gallery-primary-nav { order: 3; flex-basis: 100%; }
    .gallery-new-header .site-header-tools { margin-left: auto; }
    .gallery-home-album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 730px) {
    .gallery-new-header { padding: 0 15px; }
    .gallery-header-inner { align-items: flex-start; }
    .gallery-new-header .site-header-tools { margin-left: 0; width: 100%; }
    .gallery-new-header .site-quicksearch { flex: 1 1 180px; }
    .gallery-primary-nav { flex-wrap: wrap; gap: 12px; }
    .gallery-nav-menu { left: 0; }
    .gallery-home-album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .gallery-home-album-cover { height: 150px; }
    .gallery-home-album-meta { min-height: 108px; }
}
@media (max-width: 430px) {
    .gallery-home-album-grid { grid-template-columns: 1fr; }
    .gallery-home-album-cover { height: 210px; }
    .gallery-new-header .site-langs { width: 100%; }
}

/* ==========================================================
   CLASSIC TEMPLATE – SEITENÜBERSCHRIFTEN
   ==========================================================

   Seiten:
   - album.php
   - search.php
   - photo.php

   Einheitliche Umrandung wie auf der Album-Startseite.
   ========================================================== */

/* ----------------------------------------------------------
   1. Seitenüberschrift – Rahmen
   ---------------------------------------------------------- */

.gallery-main:not(.gallery-home-main) > .page-heading {
    margin-bottom: 24px;
    padding: 16px 22px;

    background: #ffffff;
    border: 2px solid #628494;
    border-radius: 12px 30px 30px 12px;
}

/* ----------------------------------------------------------
   2. Titel innerhalb des Rahmens
   ---------------------------------------------------------- */

.gallery-main:not(.gallery-home-main) > .page-heading h1 {
    margin: 0;

    font-size: 25px;
    font-weight: 650;
    line-height: 1.35;
}

/* ----------------------------------------------------------
   3. Zusatzinformationen und Beschreibungen
   ---------------------------------------------------------- */

.gallery-main:not(.gallery-home-main) > .page-heading .eyebrow {
    margin: 0 0 8px;
}

.gallery-main:not(.gallery-home-main) > .page-heading p:not(.eyebrow) {
    margin: 10px 0 0;
}

/* ----------------------------------------------------------
   4. Responsive Darstellung – Smartphones
   ---------------------------------------------------------- */

@media (max-width: 600px) {

    .gallery-main:not(.gallery-home-main) > .page-heading {
        padding: 14px 17px;
        border-radius: 10px 24px 24px 10px;
    }

    .gallery-main:not(.gallery-home-main) > .page-heading h1 {
        font-size: 22px;
    }

}
/* ============================================================
   CLASSIC TEMPLATE – SPRACHAUSWAHL IM HEADER
   ============================================================
   Separat in templates/classic/assets/css/style.css einfügen.
   Bestehende CSS-Regeln nicht löschen oder überschreiben.
   Funktion: kompakte, erweiterbare Sprachwahl (DE/EN/ES/FR)
   ============================================================ */

/* ------------------------------------------------------------
   1. Sprachmenü – Position und Grundstruktur
   ------------------------------------------------------------ */

.gallery-new-header .gallery-language-navigation {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.gallery-new-header .gallery-language-dropdown {
    position: relative;
}

/* ------------------------------------------------------------
   2. Auslöser – aktuell ausgewählte Sprache
   ------------------------------------------------------------ */

.gallery-new-header .gallery-language-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 73px;
    padding: 10px 12px;
    color: #103c48;
    background: #e2f0f2;
    border: 1px solid #a8c4cb;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.gallery-new-header .gallery-language-trigger::-webkit-details-marker {
    display: none;
}

.gallery-new-header .gallery-language-trigger::marker {
    content: "";
}

.gallery-new-header .gallery-language-trigger:hover {
    background: #ffffff;
}

.gallery-new-header .gallery-language-trigger:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.gallery-new-header .gallery-language-arrow {
    font-size: 12px;
    transition: transform 0.15s ease;
}

.gallery-new-header .gallery-language-dropdown[open] .gallery-language-arrow {
    transform: rotate(180deg);
}

/* ------------------------------------------------------------
   3. Aufklappmenü – alle verfügbaren Sprachen
   ------------------------------------------------------------ */

.gallery-new-header .gallery-language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 180;
    min-width: 118px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #c7d9df;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(5, 36, 43, 0.22);
}

.gallery-new-header .gallery-language-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    color: #203443;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
}

.gallery-new-header .gallery-language-menu a:hover,
.gallery-new-header .gallery-language-menu a:focus-visible {
    background: #e8f3f3;
}

.gallery-new-header .gallery-language-menu a[aria-current="true"] {
    color: #103c48;
    background: #e2f0f2;
    font-weight: 750;
}

.gallery-new-header .gallery-language-current {
    color: #125955;
    font-weight: 800;
}

/* ------------------------------------------------------------
   4. Mobile Darstellung
   ------------------------------------------------------------ */

@media (max-width: 430px) {
    .gallery-new-header .gallery-language-navigation {
        width: auto;
        margin-left: auto;
    }

    .gallery-new-header .gallery-language-trigger {
        min-width: 66px;
        padding: 9px 10px;
    }
}

/* ==========================================================
   CLASSIC TEMPLATE – BREADCRUMB-NAVIGATION
   ==========================================================

   Seiten:
   - album.php
   - photo.php

   Größere Navigationslinks und bessere Lesbarkeit.
   ========================================================== */

/* ----------------------------------------------------------
   1. Breadcrumb-Navigation
   ---------------------------------------------------------- */

.breadcrumbs {
    margin-bottom: 26px;

    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;

    color: #526b7b;
}

/* ----------------------------------------------------------
   2. Navigationslinks
   ---------------------------------------------------------- */

.breadcrumbs a {
    display: inline-block;

    padding: 3px 0;

    color: #355d70;
    text-decoration: none;

    transition: color 0.2s ease;
}

/* ----------------------------------------------------------
   3. Hover und Tastaturfokus
   ---------------------------------------------------------- */

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
    color: #628494;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ----------------------------------------------------------
   4. Mobile Darstellung
   ---------------------------------------------------------- */

@media (max-width: 600px) {

    .breadcrumbs {
        font-size: 15px;
        line-height: 1.7;
    }

}

/* ==========================================================
   CLASSIC TEMPLATE – EINHEITLICHE BILDBESCHRIFTUNGEN
   ==========================================================

   Seite:
   - album.php

   Gleiche Schriftgrößen und gleichmäßige Beschriftungsbereiche
   für Unteralben und Fotos.

   Die Album-Startseite bleibt unverändert.
   ========================================================== */

/* ----------------------------------------------------------
   1. Unteralben – Beschriftungsbereich
   ---------------------------------------------------------- */

.gallery-main:not(.gallery-home-main) .album-grid .album-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 68px;
    padding: 11px 13px;
}

/* ----------------------------------------------------------
   2. Unteralben – Titel
   ---------------------------------------------------------- */

.gallery-main:not(.gallery-home-main) .album-grid .album-meta h2 {
    margin: 0 0 5px;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;

    overflow-wrap: anywhere;
}

/* ----------------------------------------------------------
   3. Unteralben – Fotoanzahl
   ---------------------------------------------------------- */

.gallery-main:not(.gallery-home-main) .album-grid .album-meta span {
    font-size: 13px;
    line-height: 1.4;

    color: #657988;
}

/* ----------------------------------------------------------
   4. Fotos – Beschriftungsbereich
   ---------------------------------------------------------- */

.gallery-main:not(.gallery-home-main) .photo-grid .photo-card span {
    display: flex;
    align-items: center;

    min-height: 68px;
    padding: 11px 13px;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;

    color: #203443;
    overflow-wrap: anywhere;
}

/* ----------------------------------------------------------
   5. Mobilgeräte
   ---------------------------------------------------------- */

@media (max-width: 600px) {

    .gallery-main:not(.gallery-home-main) .album-grid .album-meta,
    .gallery-main:not(.gallery-home-main) .photo-grid .photo-card span {
        min-height: 62px;
        padding: 10px;
    }

}

/* ==========================================================
   CLASSIC TEMPLATE – ALBUMKARTEN AUF DER STARTSEITE
   ==========================================================

   Seite:
   - index.php

   Abstand zwischen Albumtitel und Fotoanzahl verkleinern.
   Gleiche kompakte Darstellung wie in album.php.
   ========================================================== */

/* ----------------------------------------------------------
   1. Beschriftungsbereich der Albumkarten
   ---------------------------------------------------------- */

.gallery-home-album-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    min-height: 68px;
    gap: 5px;
    padding: 11px 13px;

    text-align: left;
}

/* ----------------------------------------------------------
   2. Albumtitel
   ---------------------------------------------------------- */

.gallery-home-album-meta h2 {
    margin: 0;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;

    color: #203443;
}

/* ----------------------------------------------------------
   3. Anzahl der Fotos
   ---------------------------------------------------------- */

.gallery-home-album-meta span {
    font-size: 13px;
    line-height: 1.4;

    color: #657988;
}

/* ----------------------------------------------------------
   4. Mobile Darstellung
   ---------------------------------------------------------- */

@media (max-width: 730px) {

    .gallery-home-album-meta {
        min-height: 68px;
        gap: 5px;
        padding: 11px 13px;
    }

}

/* ==========================================================
   CLASSIC – FOTOKARUSSELL IN DER FOTO-DETAILANSICHT
   Nur an templates/classic/assets/css/style.css anhängen.
   ========================================================== */
.gallery-album-carousel {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid rgba(98, 132, 148, 0.28);
    border-radius: 14px;
    background: var(--card-bg, #ffffff);
}

.gallery-album-carousel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.gallery-album-carousel-heading h2 {
    margin: 0;
    font-size: 20px;
}

.gallery-album-carousel-controls {
    display: flex;
    gap: 8px;
}

.gallery-album-carousel-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid #628494;
    border-radius: 9px;
    color: #0c3945;
    background: #ffffff;
    font-size: 25px;
    cursor: pointer;
}

.gallery-album-carousel-arrow:hover,
.gallery-album-carousel-arrow:focus-visible {
    color: #ffffff;
    background: #125955;
}

.gallery-album-carousel-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
}

.gallery-album-carousel-item {
    flex: 0 0 170px;
    min-width: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 10px;
    color: inherit;
    background: rgba(98, 132, 148, 0.07);
    text-decoration: none;
    scroll-snap-align: start;
}

.gallery-album-carousel-item.is-current {
    border-color: #628494;
}

.gallery-album-carousel-item img {
    display: block;
    width: 100%;
    height: 115px;
    object-fit: cover;
}

.gallery-album-carousel-item span {
    display: block;
    padding: 9px 10px;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .gallery-album-carousel {
        padding: 14px;
    }

    .gallery-album-carousel-item {
        flex-basis: 132px;
    }

    .gallery-album-carousel-item img {
        height: 92px;
    }
}
/* ==========================================================
   CLASSIC – FOTOKARUSSELL IN DER FOTO-DETAILANSICHT
   Exakt 5 ganze Vorschaubilder im sichtbaren Bereich
   ========================================================== */
.gallery-album-carousel-track {
    --carousel-gap: 12px;

    display: flex;
    gap: var(--carousel-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.gallery-album-carousel-item {
    flex: 0 0 calc((100% - (4 * var(--carousel-gap))) / 5);
    max-width: calc((100% - (4 * var(--carousel-gap))) / 5);
    min-width: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 10px;
    color: inherit;
    background: rgba(98, 132, 148, 0.07);
    text-decoration: none;
    scroll-snap-align: start;
}

.gallery-album-carousel-item.is-current {
    border-color: #628494;
}

.gallery-album-carousel-item img {
    display: block;
    width: 100%;
    height: 115px;
    object-fit: cover;
}

.gallery-album-carousel-item span {
    display: block;
    padding: 9px 10px;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* Tablet */
@media (max-width: 980px) {
    .gallery-album-carousel-item {
        flex-basis: calc((100% - (3 * var(--carousel-gap))) / 4);
        max-width: calc((100% - (3 * var(--carousel-gap))) / 4);
    }
}

/* Kleineres Tablet */
@media (max-width: 760px) {
    .gallery-album-carousel-item {
        flex-basis: calc((100% - (2 * var(--carousel-gap))) / 3);
        max-width: calc((100% - (2 * var(--carousel-gap))) / 3);
    }
}

/* Handy */
@media (max-width: 520px) {
    .gallery-album-carousel {
        padding: 14px;
    }

    .gallery-album-carousel-item {
        flex-basis: calc((100% - var(--carousel-gap)) / 2);
        max-width: calc((100% - var(--carousel-gap)) / 2);
    }

    .gallery-album-carousel-item img {
        height: 92px;
    }
}
/* ==========================================================
   CLASSIC – KARUSSELL MIT MAUS ZIEHEN
   Nur ergänzen, falls dieser Block noch nicht vorhanden ist.
   ========================================================== */
.gallery-album-carousel-track {
    cursor: grab;
}

.gallery-album-carousel-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

.gallery-album-carousel-track img {
    user-select: none;
    -webkit-user-drag: none;
}
/* ================================================================
   CLASSIC TEMPLATE – ÖFFENTLICHER GALERIE-FOOTER
   Nur am Ende von templates/classic/assets/css/style.css anhängen.
   ================================================================ */

.gallery-site-footer {
    margin-top: auto;
    padding: 34px max(22px, calc((100vw - 1100px) / 2)) 20px;
    background: linear-gradient(115deg, #0c3945 0%, #125955 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #e8f3f5;
    text-align: left;
}

.gallery-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-footer-main {
    padding-bottom: 26px;
}

.gallery-footer-brand {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

.gallery-footer-description {
    max-width: 590px;
    margin: 0;
    color: #d6e9ec;
    font-size: 15px;
    line-height: 1.7;
}

.gallery-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.21);
}

.gallery-footer-copyright {
    margin: 0;
    color: #d6e9ec;
    font-size: 13px;
}

.gallery-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-footer-social,
.gallery-footer-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 8px;
    border: 1px solid rgba(230, 246, 248, 0.5);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.gallery-footer-social:hover,
.gallery-footer-social:focus-visible,
.gallery-footer-top:hover,
.gallery-footer-top:focus-visible {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.gallery-footer-social svg,
.gallery-footer-top svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gallery-footer-social .gallery-footer-icon-dot {
    fill: currentColor;
    stroke: none;
}

@media (max-width: 640px) {
    .gallery-site-footer {
        padding: 26px 18px 18px;
    }

    .gallery-footer-brand {
        font-size: 21px;
    }

    .gallery-footer-bottom {
        align-items: flex-start;
    }
}
/* ==========================================================
   FRONTEND – PHOTO PROTECTION NOTICE
   ========================================================== */
.gallery-protection-notice {
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border: 1px solid #a4a9ad;
    border-radius: 0.75rem;
    background: #eef1f3;
    color: #263238;
}
.gallery-protection-notice button {
    padding: 0.65rem 1.25rem;
    border: 0;
    border-radius: 0.45rem;
    background: #628494;
    color: #fff;
    cursor: pointer;
}
/* ==========================================================
   CLASSIC – FOTOS ENTDECKEN (an bestehende Template-CSS anhängen)
   ========================================================== */

.gallery-explore-page .gallery-explore-controls {
    margin: 0 0 2rem;
    padding: 1.4rem;
    background: var(--card-bg, #f4f6f8);
    border: 1px solid #d9e1e5;
    border-radius: 14px;
}

.gallery-explore-page .gallery-explore-controls h2 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.gallery-explore-sorts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.gallery-explore-sort {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    color: #365766;
    background: #fff;
    border: 1px solid #c9d5db;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.gallery-explore-sort:hover,
.gallery-explore-sort:focus-visible {
    border-color: #628494;
    background: #e9f0f3;
}

.gallery-explore-sort.is-active {
    color: #fff;
    background: #628494;
    border-color: #628494;
}

.gallery-explore-results {
    margin-bottom: 2rem;
}

/* =========================================================
   CLASSIC – SCROLL-NAVIGATION (BYB-STIL)
   Passend zum Footer von Schneider-Fotografie
   ========================================================= */

.gallery-scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;

    background: #145451;
    color: #ffffff;

    font-size: 26px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* =========================================================
   SCROLL-NAVIGATION – SICHTBARKEIT
   ========================================================= */

.gallery-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================================
   SCROLL-NAVIGATION – HOVER
   ========================================================= */

.gallery-scroll-top:hover {
    background: #0d403e;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    transform: translateY(-2px);
}

/* =========================================================
   SCROLL-NAVIGATION – AKTIVER ZUSTAND
   ========================================================= */

.gallery-scroll-top:active {
    transform: translateY(0);
}

/* =========================================================
   SCROLL-NAVIGATION – TASTATURFOKUS
   ========================================================= */

.gallery-scroll-top:focus-visible {
    outline: 3px solid rgba(20, 84, 81, 0.32);
    outline-offset: 3px;
}

/* =========================================================
   SCROLL-NAVIGATION – MOBILE ANSICHT
   ========================================================= */

@media (max-width: 768px) {
    .gallery-scroll-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
}

/* =========================================================
   SCROLL-NAVIGATION – REDUZIERTE ANIMATIONEN
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .gallery-scroll-top {
        transition: none;
    }
}

/* ==============================================================
   CLASSIC – ZEITLEISTE NACH AUFNAHMEDATUM
   In templates/classic/assets/css/style.css ergänzen.
   ============================================================== */

.gallery-timeline-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 64px;
}

.gallery-timeline-heading {
    padding: 34px 0 24px;
    text-align: center;
}

.gallery-timeline-kicker {
    margin: 0 0 8px;
    color: #628494;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery-timeline-heading h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 38px);
}

.gallery-timeline-heading > p:last-child {
    color: #6b8190;
}

.gallery-timeline-years {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 12px auto 28px;
    padding: 14px;
    border-radius: 14px;
    background: #183943;
    box-shadow: 0 8px 24px rgba(11, 34, 43, 0.14);
}

.gallery-timeline-years a {
    padding: 7px 11px;
    border-radius: 7px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.gallery-timeline-years a:hover,
.gallery-timeline-years a:focus-visible {
    background: #628494;
    color: #ffffff;
}

.gallery-timeline-intro {
    width: fit-content;
    margin: 0 auto 36px;
    padding: 13px 24px;
    border-radius: 12px;
    color: #ffffff;
    background: #183943;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(11, 34, 43, 0.16);
}

.gallery-timeline-track {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 8px 0 22px;
}

.gallery-timeline-track::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #628494;
    content: "";
    transform: translateX(-50%);
}

.gallery-timeline-item {
    position: relative;
    width: 50%;
    padding: 0 38px 36px;
    scroll-margin-top: 90px;
}

.gallery-timeline-item:nth-child(odd) {
    margin-left: 50%;
}

.gallery-timeline-item:nth-child(even) {
    margin-right: 50%;
}

.gallery-timeline-dot {
    position: absolute;
    top: 22px;
    right: -8px;
    z-index: 2;
    width: 16px;
    height: 16px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #d73535;
    box-shadow: 0 0 0 2px #628494;
}

.gallery-timeline-item:nth-child(odd) .gallery-timeline-dot {
    right: auto;
    left: -8px;
}

.gallery-timeline-card {
    position: relative;
    padding: 22px 24px 20px;
    border-radius: 12px;
    color: #f7fbfc;
    background: #243a42;
    box-shadow: 0 12px 26px rgba(15, 36, 44, 0.22);
}

.gallery-timeline-card::after {
    position: absolute;
    top: 20px;
    right: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #243a42;
    content: "";
}

.gallery-timeline-item:nth-child(odd) .gallery-timeline-card::after {
    right: auto;
    left: -10px;
    border-right: 10px solid #243a42;
    border-left: 0;
}

.gallery-timeline-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.gallery-timeline-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
}

.gallery-timeline-card-head span {
    color: #b7cbd2;
    font-size: 12px;
}

.gallery-timeline-months {
    margin: 0;
    padding: 0 0 0 16px;
    line-height: 1.9;
}

.gallery-timeline-months li {
    color: #a8d5e0;
    font-size: 14px;
}

.gallery-timeline-months a {
    color: #ffffff;
    font-weight: 650;
    text-decoration: none;
}

.gallery-timeline-months a:hover {
    color: #9ee2e4;
    text-decoration: underline;
}

.gallery-timeline-months span {
    color: #cbd8db;
}

.gallery-timeline-year-top {
    display: block;
    width: fit-content;
    margin: 10px 0 0 auto;
    color: #b8d3dc;
    text-decoration: none;
}

.gallery-timeline-selection {
    margin-top: 36px;
    padding: 25px;
    border: 1px solid #d9e5ea;
    border-radius: 18px;
    background: #f7fafb;
    scroll-margin-top: 75px;
}

.gallery-timeline-selection-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.gallery-timeline-selection-head h2 {
    margin: 0 0 5px;
    color: #163a43;
}

.gallery-timeline-selection-head p:last-child {
    margin: 0;
    color: #657f8a;
}

.gallery-timeline-close,
.gallery-timeline-pagination a {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid #bdd0d8;
    border-radius: 9px;
    color: #1c4c58;
    background: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.gallery-timeline-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 24px;
}

@media (max-width: 700px) {
    .gallery-timeline-track::before {
        left: 14px;
    }

    .gallery-timeline-item,
    .gallery-timeline-item:nth-child(odd),
    .gallery-timeline-item:nth-child(even) {
        width: 100%;
        margin: 0;
        padding: 0 0 24px 42px;
    }

    .gallery-timeline-dot,
    .gallery-timeline-item:nth-child(odd) .gallery-timeline-dot {
        right: auto;
        left: 6px;
    }

    .gallery-timeline-card::after,
    .gallery-timeline-item:nth-child(odd) .gallery-timeline-card::after {
        right: auto;
        left: -10px;
        border-right: 10px solid #243a42;
        border-left: 0;
    }

    .gallery-timeline-card {
        padding: 18px;
    }

    .gallery-timeline-selection {
        padding: 16px;
    }
}
/* ============================================================== 
   CLASSIC – TIMELINE: LUMZENA-HEADERFARBEN
   Ergänzung zu: templates/classic/assets/css/style.css
   Diesen Abschnitt NACH dem bisherigen Timeline-CSS einfügen.
   ============================================================== */

/* Jahresnavigation und Einleitung im Farbverlauf des Galerie-Headers. */
.gallery-timeline-years,
.gallery-timeline-intro {
    background: linear-gradient(115deg, #0c3945 0%, #125955 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(12, 57, 69, 0.15);
}

.gallery-timeline-years a:hover,
.gallery-timeline-years a:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

/* Jahreskarten: statt einfarbigem Dunkelgrau dieselben Headerfarben. */
.gallery-timeline-card {
    border: 1px solid rgba(98, 132, 148, 0.42);
    background: linear-gradient(115deg, #0c3945 0%, #125955 100%);
    color: #f3fafb;
    box-shadow: 0 10px 23px rgba(12, 57, 69, 0.18);
}

.gallery-timeline-card h2,
.gallery-timeline-months a {
    color: #ffffff;
}

.gallery-timeline-card-head span,
.gallery-timeline-months span {
    color: #d2e7e8;
}

.gallery-timeline-months li {
    color: #b3dadd;
}

.gallery-timeline-months a:hover,
.gallery-timeline-months a:focus-visible {
    color: #c0f2e9;
}

/* Pfeilspitze der Karte an ihren Farbverlauf anpassen. */
.gallery-timeline-card::after {
    border-left-color: #125955;
}

.gallery-timeline-item:nth-child(odd) .gallery-timeline-card::after {
    border-right-color: #0c3945;
    border-left-color: transparent;
}

@media (max-width: 700px) {
    .gallery-timeline-item:nth-child(odd) .gallery-timeline-card::after,
    .gallery-timeline-card::after {
        border-right-color: #0c3945;
        border-left-color: transparent;
    }
}
/* ==================================================
   OPENSTREETMAP – EXTERNER KARTENLINK
================================================== */

a.gallery-photo-osm-external,
a.gallery-photo-osm-external:link,
a.gallery-photo-osm-external:visited,
a.gallery-photo-osm-external:hover,
a.gallery-photo-osm-external:focus,
a.gallery-photo-osm-external:active {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

a.gallery-photo-osm-external::after {
    content: '\1f310';
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
}
/* =============================================================
   LUMZENA ONLINE PHOTO EDITOR – UPDATE v1.0.4
   Fotoauswahl im Bildbereich und Ladeanzeigen
   An das Ende von templates/classic/assets/css/style.css anhängen.
   Vorhandene Regeln NICHT überschreiben.
   ============================================================= */

.lz-editor__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.lz-editor__file-input:focus-visible + .lz-editor__canvas .lz-editor__upload-button {
    outline: 3px solid #9fcbd8;
    outline-offset: 4px;
}

.lz-editor__canvas {
    position: relative;
}

.lz-editor__empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 540px;
    padding: 30px;
}

.lz-editor__empty-state[hidden],
.lz-editor__loading[hidden],
.lz-editor__file-meta[hidden],
.lz-editor__upload-error[hidden],
.lz-editor__change-file[hidden],
.lz-editor__export-progress[hidden] {
    display: none !important;
}

.lz-editor__empty-icon {
    font-size: 45px;
    line-height: 1;
    color: #8ebccc;
}

.lz-editor__empty-state h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.lz-editor__empty-state p {
    margin: 0;
    padding: 0;
}

.lz-editor__upload-button {
    width: auto;
    min-width: 180px;
    margin-top: 8px;
}

.lz-editor__empty-state .lz-editor__file-hint {
    margin-top: 8px;
    color: #a9b3bf;
    font-size: 13px;
    line-height: 1.6;
}

.lz-editor__file-meta {
    margin: 12px 0 0;
    color: #b9c6d2;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.lz-editor__upload-error {
    margin: 12px 0 0;
    padding: 12px 16px;
    border: 1px solid #dc7575;
    border-radius: 8px;
    background: #612626;
    color: #ffd4d4;
    font-weight: 600;
}

.lz-editor__change-file {
    cursor: pointer;
}

.lz-editor__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    z-index: 2;
}

.lz-editor__loading p {
    margin: 0;
    padding: 0;
}

.lz-editor__spinner {
    display: inline-block;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: 3px solid #425567;
    border-top-color: #9fcbd8;
    border-radius: 50%;
    animation: lz-editor-spin 800ms linear infinite;
}

@keyframes lz-editor-spin {
    to {
        transform: rotate(360deg);
    }
}

.lz-editor__export-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 15px;
    padding: 14px;
    background: #111c26;
    border: 1px solid #40596a;
    border-radius: 9px;
}

.lz-editor__export-progress-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.lz-editor__export-progress-body strong {
    font-size: 14px;
}

.lz-editor__export-progress-body span {
    color: #b9c6d2;
    font-size: 12px;
    line-height: 1.4;
}

.lz-editor__export-progress-body progress {
    width: 100%;
    height: 9px;
    accent-color: #8ebccc;
}

.lz-editor__button:disabled {
    opacity: 0.65;
    cursor: wait;
}

@media (prefers-reduced-motion: reduce) {
    .lz-editor__spinner {
        animation-duration: 2s;
    }
}
/* =============================================================
   LUMZENA – ONLINE PHOTO EDITOR v1.0.0
   Diese Regeln an das ENDE der vorhandenen Datei anhängen:
   templates/classic/assets/css/style.css
   Bestehende Regeln NICHT löschen oder ersetzen.
   ============================================================= */

.lz-editor-page {
    margin: 0;
    background: #10151c;
    color: #e9edf3;
    font-family: Arial, Helvetica, sans-serif;
}

.lz-editor-page *,
.lz-editor-page *::before,
.lz-editor-page *::after {
    box-sizing: border-box;
}

.lz-editor {
    width: min(1440px, calc(100% - 40px));
    margin: 0 auto;
    padding: 40px 0 70px;
}

.lz-editor__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.lz-editor__eyebrow {
    color: #92c4d2;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
}

.lz-editor__header h1 {
    margin: 8px 0;
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.15;
}

.lz-editor__header p {
    color: #a9b3bf;
}

.lz-editor__back {
    flex-shrink: 0;
    color: #e9edf3;
    text-decoration: none;
    border: 1px solid #42515e;
    border-radius: 8px;
    padding: 12px 18px;
}

.lz-editor__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 22px;
}

.lz-editor__stage,
.lz-editor__panel {
    min-width: 0;
    background: #1b2530;
    border: 1px solid #354351;
    border-radius: 14px;
    padding: 22px;
}

.lz-editor__stage-top,
.lz-editor__stage-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.lz-editor__stage-top {
    margin-bottom: 20px;
}

.lz-editor__stage-top > span,
.lz-editor__privacy,
.lz-editor__notice {
    color: #acb8c4;
    font-size: 13px;
    line-height: 1.6;
}

.lz-editor__stage-top input[type="file"] {
    max-width: 230px;
    font-size: 13px;
}

.lz-editor__upload {
    color: #e9edf3;
    font-weight: 700;
}

.lz-editor__canvas {
    display: flex;
    align-items: center;
    justify-content: center;
    height: min(65vh, 620px);
    min-height: 320px;
    overflow: hidden;
    background: #111820;
    border-radius: 10px;
    border: 1px dashed #41515f;
    text-align: center;
}

.lz-editor__canvas p {
    color: #9ca9b4;
    padding: 20px;
}

.lz-editor__canvas img {
    display: block;
    max-width: 85%;
    max-height: 80%;
    object-fit: contain;
    transition: filter 120ms ease, transform 120ms ease;
}

.lz-editor__canvas img[hidden],
.lz-editor__canvas p[hidden] {
    display: none;
}

.lz-editor__stage-bottom {
    margin-top: 18px;
}

.lz-editor__compare,
.lz-editor__check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
}

.lz-editor__panel h2 {
    margin: 4px 0 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3a4957;
    font-size: 17px;
}

.lz-editor__panel h2:not(:first-child) {
    margin-top: 29px;
}

.lz-editor__control {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.lz-editor__control label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.lz-editor__control output {
    color: #9fcbd8;
    font-variant-numeric: tabular-nums;
}

.lz-editor__control input[type="range"] {
    width: 100%;
    accent-color: #82b5c6;
}

.lz-editor__control input[type="number"],
.lz-editor__control select {
    width: 100%;
    min-height: 41px;
    border: 1px solid #516171;
    border-radius: 7px;
    padding: 9px 10px;
    background: #121c26;
    color: #f2f5f8;
    font-size: 14px;
}

.lz-editor__check {
    margin-bottom: 14px;
}

.lz-editor__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 43px;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.lz-editor__button--primary {
    width: 100%;
    background: #8ebccc;
    color: #10151c;
}

.lz-editor__button--secondary {
    background: #273743;
    color: #e9edf3;
    border-color: #425567;
}

.lz-editor__button:hover,
.lz-editor__back:hover {
    filter: brightness(1.12);
}

.lz-editor__notice {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .lz-editor__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .lz-editor__canvas {
        height: 52vh;
    }
}

@media (max-width: 600px) {
    .lz-editor {
        width: calc(100% - 24px);
        padding-top: 22px;
    }

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

    .lz-editor__stage,
    .lz-editor__panel {
        padding: 15px;
    }

    .lz-editor__canvas {
        min-height: 260px;
    }
}
/* =============================================================
   LUMZENA ONLINE PHOTO EDITOR – UPDATE v1.0.4
   Fotoauswahl im Bildbereich und Ladeanzeigen
   An das Ende von templates/classic/assets/css/style.css anhängen.
   Vorhandene Regeln NICHT überschreiben.
   ============================================================= */

.lz-editor__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.lz-editor__file-input:focus-visible + .lz-editor__canvas .lz-editor__upload-button {
    outline: 3px solid #9fcbd8;
    outline-offset: 4px;
}

.lz-editor__canvas {
    position: relative;
}

.lz-editor__empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 540px;
    padding: 30px;
}

.lz-editor__empty-state[hidden],
.lz-editor__loading[hidden],
.lz-editor__file-meta[hidden],
.lz-editor__upload-error[hidden],
.lz-editor__change-file[hidden],
.lz-editor__export-progress[hidden] {
    display: none !important;
}

.lz-editor__empty-icon {
    font-size: 45px;
    line-height: 1;
    color: #8ebccc;
}

.lz-editor__empty-state h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.lz-editor__empty-state p {
    margin: 0;
    padding: 0;
}

.lz-editor__upload-button {
    width: auto;
    min-width: 180px;
    margin-top: 8px;
}

.lz-editor__empty-state .lz-editor__file-hint {
    margin-top: 8px;
    color: #a9b3bf;
    font-size: 13px;
    line-height: 1.6;
}

.lz-editor__file-meta {
    margin: 12px 0 0;
    color: #b9c6d2;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.lz-editor__upload-error {
    margin: 12px 0 0;
    padding: 12px 16px;
    border: 1px solid #dc7575;
    border-radius: 8px;
    background: #612626;
    color: #ffd4d4;
    font-weight: 600;
}

.lz-editor__change-file {
    cursor: pointer;
}

.lz-editor__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: rgba(16, 21, 28, 0.92);
    z-index: 2;
}

.lz-editor__loading p {
    margin: 0;
    padding: 0;
}

.lz-editor__spinner {
    display: inline-block;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: 3px solid #425567;
    border-top-color: #9fcbd8;
    border-radius: 50%;
    animation: lz-editor-spin 800ms linear infinite;
}

@keyframes lz-editor-spin {
    to {
        transform: rotate(360deg);
    }
}

.lz-editor__export-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 15px;
    padding: 14px;
    background: #111c26;
    border: 1px solid #40596a;
    border-radius: 9px;
}

.lz-editor__export-progress-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.lz-editor__export-progress-body strong {
    font-size: 14px;
}

.lz-editor__export-progress-body span {
    color: #b9c6d2;
    font-size: 12px;
    line-height: 1.4;
}

.lz-editor__export-progress-body progress {
    width: 100%;
    height: 9px;
    accent-color: #8ebccc;
}

.lz-editor__button:disabled {
    opacity: 0.65;
    cursor: wait;
}

@media (prefers-reduced-motion: reduce) {
    .lz-editor__spinner {
        animation-duration: 2s;
    }
}

/* ============================================================
   LUMZENA PHOTO EDITOR – HELLES DESIGN
   Seitenhintergrund weiß, Werkzeuge wie Galerie-Header
   ============================================================ */

/* 1. Weißer Seitenhintergrund */

.lz-editor-page {
    background: #ffffff;
    color: #243b45;
}

/* 2. Seitenüberschrift */

.lz-editor__header h1 {
    color: #243b45;
}

.lz-editor__header p {
    color: #526b76;
}

.lz-editor__eyebrow {
    color: #628494;
}

.lz-editor__back {
    background: #ffffff;
    color: #355d70;
    border-color: #cbd9df;
}

/* 3. Bildbereich – helles Gehäuse */

.lz-editor__stage {
    background: #ffffff;
    color: #243b45;
    border-color: #d7e1e5;
}

.lz-editor__stage .lz-editor__privacy {
    color: #526b76;
}

/* 4. Werkzeugleiste – Farben wie Galerie-Header */

.lz-editor__panel {
    background: linear-gradient(
        115deg,
        #0c3945 0%,
        #125955 100%
    );
    color: #ffffff;
    border: 1px solid #628494;
}

.lz-editor__panel .lz-editor__accordion {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

.lz-editor__panel .lz-editor__accordion-trigger {
    color: #ffffff;
}

.lz-editor__panel .lz-editor__accordion-trigger:hover,
.lz-editor__panel .lz-editor__accordion-trigger:focus-visible {
    color: #c8e5e9;
}

/* 5. Bildkorrekturen und Regler */

.lz-editor__panel .lz-editor__control label,
.lz-editor__panel .lz-editor__check {
    color: #ffffff;
}

.lz-editor__panel .lz-editor__control output {
    color: #b8e1e8;
}

.lz-editor__panel .lz-editor__control input[type="range"] {
    accent-color: #9fcbd8;
}

.lz-editor__panel .lz-editor__control input[type="number"],
.lz-editor__panel .lz-editor__control select {
    background: #ffffff;
    color: #243b45;
    border: 1px solid #9bb8c2;
}

/* 6. Hinweise und Exportbereich */

.lz-editor__panel .lz-editor__notice {
    color: #d2e2e6;
}

.lz-editor__panel .lz-editor__export-progress {
    background: rgba(0, 0, 0, 0.15);
    border-color: #628494;
    color: #ffffff;
}

.lz-editor__panel .lz-editor__export-progress-body span {
    color: #d2e2e6;
}

/* ============================================================
   LUMZENA PHOTO EDITOR – ÜBERSCHRIFTEN KORRIGIEREN
   Version 1.2.1 – Designkorrektur
   ============================================================ */

/* ------------------------------------------------------------
   1. Werkzeugbereiche – weißen Hintergrund entfernen
   ------------------------------------------------------------ */

.lz-editor__panel .lz-editor__accordion-trigger,
.lz-editor__panel .lz-editor__accordion summary,
.lz-editor__panel legend {
    background: transparent;
    color: #ffffff;
    border: none;
    box-shadow: none;
}

/* ------------------------------------------------------------
   2. Überschriften und Beschriftungen
   ------------------------------------------------------------ */

.lz-editor__panel .lz-editor__accordion-trigger,
.lz-editor__panel .lz-editor__accordion-trigger *,
.lz-editor__panel legend,
.lz-editor__panel legend * {
    color: #ffffff;
}

/* ------------------------------------------------------------
   3. Bildvorschau – Überschrift weiß
   ------------------------------------------------------------ */

.lz-editor__empty-state h2 {
    color: #ffffff;
}

/* ------------------------------------------------------------
   4. Optional: Überschriften beim Überfahren hervorheben
   ------------------------------------------------------------ */

.lz-editor__panel .lz-editor__accordion-trigger:hover,
.lz-editor__panel .lz-editor__accordion-trigger:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
/* ============================================================
   LUMZENA ONLINE PHOTO EDITOR – SEITENÜBERSCHRIFT v1.2.2
   Darstellung wie „Fotos entdecken“ (explore.php).
   An das ENDE von templates/classic/assets/css/style.css
   anhängen. Bestehende Regeln nicht überschreiben.
   ============================================================ */

.lz-editor-page .lz-editor__header.lz-editor__page-heading {
    display: block;
    margin-bottom: 24px;
    padding: 16px 22px;
    background: #ffffff;
    border: 2px solid #628494;
    border-radius: 12px 30px 30px 12px;
    color: #243b45;
}

.lz-editor-page .lz-editor__page-heading .eyebrow {
    margin: 0 0 8px;
    color: #628494;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lz-editor-page .lz-editor__page-heading h1 {
    margin: 0;
    color: #243b45;
    font-size: 25px;
    font-weight: 650;
    line-height: 1.35;
}

.lz-editor-page .lz-editor__page-heading p:not(.eyebrow) {
    margin: 10px 0 0;
    color: #628494;
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .lz-editor-page .lz-editor__header.lz-editor__page-heading {
        padding: 14px 17px;
        border-radius: 10px 24px 24px 10px;
    }

    .lz-editor-page .lz-editor__page-heading h1 {
        font-size: 22px;
    }
}
/* =============================================================
   LUMZENA PHOTO EDITOR – UPDATE v1.2.3
   Animierte Werkzeugbereiche + Service-Navigation
   NUR an templates/classic/assets/css/style.css ANHÄNGEN.
   Vorhandene Regeln nicht ersetzen oder löschen.
   ============================================================= */

/* -------------------------------------------------------------
   1. Bildeditor: Aufklappbare Werkzeuggruppen
   ------------------------------------------------------------- */

.lz-editor__panel .lz-editor__accordion {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.lz-editor__panel .lz-editor__accordion:last-child {
    border-bottom: 0;
}

.lz-editor__panel .lz-editor__accordion-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.lz-editor__panel .lz-editor__accordion-trigger:hover,
.lz-editor__panel .lz-editor__accordion-trigger:focus-visible {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.lz-editor__panel .lz-editor__accordion-trigger:focus-visible {
    outline: 2px solid #b6e4ec;
    outline-offset: 2px;
}

.lz-editor__accordion-chevron {
    display: block;
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: transform 280ms ease;
}

.lz-editor__accordion.is-open .lz-editor__accordion-chevron {
    transform: rotate(225deg);
}

.lz-editor__accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows 300ms ease,
                opacity 250ms ease,
                visibility 300ms ease;
}

.lz-editor__accordion.is-open .lz-editor__accordion-content {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
}

.lz-editor__accordion-inner {
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lz-editor__accordion-inner > :first-child {
    margin-top: 4px;
}

.lz-editor__accordion-inner > :last-child {
    margin-bottom: 18px;
}

/* -------------------------------------------------------------
   2. Header: Service-Dropdown im Lumzena-Stil
   ------------------------------------------------------------- */

.gallery-service-dropdown {
    position: relative;
    align-self: center;
}

.gallery-service-trigger {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    list-style: none;
    white-space: nowrap;
}

.gallery-service-trigger::-webkit-details-marker {
    display: none;
}

.gallery-service-trigger:hover,
.gallery-service-trigger:focus-visible {
    color: #d8eef0;
}

.gallery-service-trigger:focus-visible {
    outline: 2px solid #b6e4ec;
    outline-offset: 4px;
}

.gallery-service-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    width: max-content;
    min-width: 200px;
    max-width: calc(100vw - 32px);
    padding: 8px 0;
    background: #ffffff;
    border: 1px solid #c7d9df;
    border-radius: 10px;
    box-shadow: 0 18px 48px rgba(5, 36, 43, 0.22);
    z-index: 110;
}

.gallery-service-menu a {
    display: block;
    padding: 11px 16px;
    color: #203443;
    text-decoration: none;
    font-weight: 600;
}

.gallery-service-menu a:hover,
.gallery-service-menu a:focus-visible {
    background: #e8f3f3;
    color: #103c48;
}

@media (prefers-reduced-motion: reduce) {
    .lz-editor__accordion-content,
    .lz-editor__accordion-chevron {
        transition: none;
    }
}
/* =============================================================
   LUMZENA – WARTUNGSMODUS v1.0.2 – CLASSIC FRONTEND
   Am Ende von templates/classic/assets/css/style.css anhängen.
   Älteren Wartungs-CSS-Abschnitt v1.0.1 zuvor entfernen.
   ============================================================= */
body.lumzena-maintenance-page {
    margin: 0;
    min-height: 100vh;
    background: #ffffff;
    color: #1b2732;
    font-family: Arial, Helvetica, sans-serif;
}
body.lumzena-maintenance-page .lumzena-maintenance {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    padding: 32px 20px;
    text-align: center;
}
body.lumzena-maintenance-page .lumzena-maintenance-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 650px;
    padding: clamp(38px, 7vw, 72px) clamp(24px, 5vw, 64px);
    background: linear-gradient(115deg, #0c3945 0%, #125955 100%);
    border: 1px solid #628494;
    border-radius: 18px;
    box-shadow: 0 14px 48px rgba(22, 42, 53, 0.14);
}
body.lumzena-maintenance-page .lumzena-maintenance-logo {
    display: block;
    width: auto;
    max-width: min(280px, 100%);
    max-height: 130px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 34px;
}
body.lumzena-maintenance-page .lumzena-maintenance h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    font-weight: 650;
    line-height: 1.35;
}
body.lumzena-maintenance-page .lumzena-maintenance p {
    margin: 0;
    color: #eef7f8;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.75;
}
/* =============================================================
   CLASSIC – Bildkommentare: Anmeldung als Button
   In templates/classic/assets/css/style.css ergänzen.
   ============================================================= */

.gallery-comments-login {
    margin-top: 20px;
}

.gallery-comments-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid #628494;
    border-radius: 8px;
    background-color: #628494;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gallery-comments-login-button:hover,
.gallery-comments-login-button:focus-visible {
    border-color: #4d6c7b;
    background-color: #4d6c7b;
    color: #ffffff;
    text-decoration: none;
}

.gallery-comments-login-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
/* ==============================================================
   LUMZENA – REGISTRIERUNG V2 (BYB-INSPIRIERT)
   In templates/classic/assets/css/style.css am ENDE ergänzen.
   Bestehende Regeln unverändert lassen.
   ============================================================== */

.gallery-register-page {
    width: min(1120px, calc(100% - 32px));
    margin: 36px auto 64px;
}

.gallery-register-heading {
    margin-bottom: 28px;
    padding: 23px 27px;
    border: 1px solid #d8e2e7;
    border-radius: 7px;
    background: #f8fafb;
}

.gallery-register-heading h1 { margin: 0 0 6px; font-size: 28px; }
.gallery-register-heading p { margin: 0; color: #647480; }

.gallery-register-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.gallery-register-page .gallery-register-panel {
    width: 100%;
    max-width: none;
    padding: 24px;
    background: #f8fafb;
    border: 1px solid #e2e9ed;
    border-radius: 6px;
}

.gallery-register-panel h2 { margin: 0 0 20px; }
.gallery-register-form { display: grid; gap: 14px; }
.gallery-register-form-group { min-width: 0; }
.gallery-register-form-group > label { display: block; margin-bottom: 6px; font-weight: 600; }
.gallery-register-form-group > input,
.gallery-register-form-group .gallery-register-password-field > input {
    display: block;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
}
.gallery-register-panel .gallery-register-invalid {
    border-color: #cf4d5c !important;
    background: #fff7f8 !important;
}
.gallery-register-field-error {
    display: block;
    margin-top: 6px;
    color: #b42335;
    line-height: 1.45;
}
.gallery-register-live { margin-top: 5px; font-size: 13px; font-weight: 600; }
.gallery-register-live.is-ok { color: #14854b; }
.gallery-register-live.is-bad { color: #b42335; }
.gallery-register-live.is-checking { color: #697b88; }

.gallery-register-form-group.gallery-register-math {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
}
.gallery-register-panel .gallery-register-math-instruction {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 8px;
    padding: 12px;
    border: 1px solid #d7e9d6;
    border-radius: 4px;
    color: #305e39;
    background: #f3fbf1;
}
.gallery-register-panel .gallery-register-math > small { display: block; margin-top: 6px; }
.gallery-register-submit { justify-self: start; margin-top: 5px; }
.gallery-register-login-link { margin: 16px 0 0; }
.gallery-register-benefits { padding: 18px 8px; }
.gallery-register-benefits h2 { margin: 0 0 18px; font-size: 21px; }
.gallery-register-benefits h2::after {
    content: '';
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 10px;
    background: #628494;
}
.gallery-register-benefits ul { padding-left: 22px; line-height: 1.9; }

@media (max-width: 800px) {
    .gallery-register-columns { grid-template-columns: 1fr; gap: 15px; }
    .gallery-register-page { margin-top: 22px; }
    .gallery-register-benefits { padding: 12px 4px; }
}

/* Read-only profile fields are visually disabled. */
.gallery-user-settings-grid input:disabled {
    background: #f1f3f5;
    color: #6c757d;
    border: 1px solid #d5dbe0;
    opacity: 1;
    cursor: not-allowed;
}
/* ==============================================================
   LUMZENA – REGISTRIERUNG
   Überschrift der Infobox
   ============================================================== */

.gallery-register-page .gallery-register-benefits-content h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

/* ==============================================================
   LUMZENA – ZULETZT ANGESEHEN: NEUER KOMPAKTER REITER
   Ganz am Ende von templates/classic/assets/css/style.css ergänzen.
   Vorhandene Regeln und recent-photos.css NICHT überschreiben.
   ============================================================== */
#gallery-recent-panel #gallery-recent-open[hidden] {
    display: none !important;
}

#gallery-recent-panel #gallery-recent-open {
    position: fixed;
    top: 50%;
    left: 12px;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: #233b49;
    color: #fff;
    box-shadow: 0 6px 22px rgba(19, 39, 51, .22);
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    cursor: pointer;
    z-index: 1001;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

#gallery-recent-panel #gallery-recent-open:hover {
    background: #356075;
    box-shadow: 0 8px 24px rgba(19, 39, 51, .3);
    transform: translateY(-50%) scale(1.05);
}

#gallery-recent-panel #gallery-recent-open:focus-visible {
    outline: 3px solid #8cc3dc;
    outline-offset: 3px;
}

#gallery-recent-panel #gallery-recent-open .gallery-recent-tab-icon {
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: currentColor;
}

#gallery-recent-panel #gallery-recent-open .gallery-recent-tab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 600px) {
    #gallery-recent-panel #gallery-recent-open {
        left: 8px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #gallery-recent-panel #gallery-recent-open {
        transition: none;
    }
}
/* ==========================================================
   LUMZENA – ZULETZT ANGESEHEN: BUTTON SICHTBARKEIT
   ========================================================== */

.gallery-recent-tab[hidden] {
    display: none !important;
}
/* ==========================================================
   LUMZENA – ZULETZT ANGESEHEN
   Runden Button bei geöffneter Seitenleiste ausblenden
   ========================================================== */

.gallery-recent-panel.is-open .gallery-recent-tab {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* ==============================================================
   LUMZENA CLASSIC – EXIF-ICONS UND SEPARATE KOMMENTARSEITE
   An das ENDE von templates/classic/assets/css/style.css anhängen.
   Vorhandene Regeln NICHT ersetzen.
   ============================================================== */

/* Farbakzente nur in den Fotodetails, kein globaler Theme-Wechsel. */
.gallery-detail-columns .gallery-detail-card {
    border: 1px solid #d7e5e8;
    border-top: 3px solid #4d899a;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(29, 70, 86, 0.06);
}

.gallery-detail-columns .gallery-exif-card {
    border-top-color: #bb8751;
}

.gallery-detail-columns .gallery-detail-card > h2 {
    color: #28596c;
}

.gallery-detail-columns .gallery-exif-card > h2 {
    color: #946030;
}

.gallery-detail-columns .gallery-detail-row {
    border-bottom-color: #e6eef0;
}

/* Kleine, einheitliche Icons; Beschriftungen bleiben übersetzt. */
.gallery-exif-card .gallery-exif-row dt {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.gallery-exif-card .gallery-exif-icon {
    display: block;
    flex: 0 0 30px;
    width: 30px;
    height: 20px;
    object-fit: contain;
}

.gallery-exif-card .gallery-exif-row dt span {
    min-width: 0;
}

.gallery-exif-card .gallery-metadata-search {
    text-underline-offset: 2px;
}

@media (max-width: 600px) {
    .gallery-exif-card .gallery-exif-icon {
        flex-basis: 18px;
        width: 18px;
        height: 18px;
    }

    .gallery-exif-card .gallery-exif-row dt {
        gap: 7px;
    }
}



/* =========================================================
   CLASSIC – KOMMENTAR-BUTTONS
   Farbschema passend zu Schneider-Fotografie
   ========================================================= */

:root {
    --classic-comment-navy: #145451;
    --classic-comment-navy-hover: #0d403e;
    --classic-comment-navy-soft: #e1efec;
}

/* =========================================================
   KOMMENTARE – EINSTIEG AUF DER FOTODETAILSEITE
   ========================================================= */

.gallery-classic-comment-entry {
    margin: 32px 0 14px;
}

/* =========================================================
   KOMMENTARE – BUTTONS
   Bildkommentare / Zurück zu Fotodetails
   ========================================================= */

.gallery-classic-comments-link,
.gallery-classic-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 11px 17px;

    border-radius: 10px;
    border: 1px solid var(--classic-comment-navy);

    background: var(--classic-comment-navy);
    color: #ffffff;

    text-decoration: none;
    font-weight: 650;
    line-height: 1.35;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

/* =========================================================
   KOMMENTARE – BUTTON HOVER
   ========================================================= */

.gallery-classic-comments-link:hover,
.gallery-classic-back-link:hover {
    background: var(--classic-comment-navy-hover);
    border-color: var(--classic-comment-navy-hover);
    color: #ffffff;
}

/* =========================================================
   KOMMENTARE – TASTATURFOKUS
   ========================================================= */

.gallery-classic-comments-link:focus-visible,
.gallery-classic-back-link:focus-visible {
    outline: 3px solid rgba(20, 84, 81, 0.32);
    outline-offset: 3px;
}

.gallery-classic-comments-link svg,
.gallery-classic-back-link svg { flex: 0 0 auto; }
.gallery-classic-comment-count {
    min-width: 25px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.19);
    text-align: center;
    font-size: .85rem;
}


/* =========================================================
   CLASSIC – EIGENSTÄNDIGE KOMMENTARSEITE
   Farbschema passend zu Schneider-Fotografie
   ========================================================= */

.gallery-classic-comments-page {
    max-width: 1000px;
}

.gallery-classic-comments-title {
    margin-bottom: 18px;
}

.gallery-classic-comments-title p {
    margin-bottom: 0;
}

.gallery-classic-comments-page .gallery-comments {
    margin-top: 20px;
}

/* =========================================================
   KOMMENTARE – LINKE AKZENTLINIE
   ========================================================= */

.gallery-classic-comments-page .gallery-comments-list .gallery-comment {
    border-left-color: #145451;
}

/* =========================================================
   KOMMENTARE – ÜBERSCHRIFT UND ANZAHL
   ========================================================= */

.gallery-classic-comments-page .gallery-comments-heading span {
    background: #e1efec;
    color: #145451;
}

/* =========================================================
   KOMMENTARFORMULAR – EINGABEFOKUS
   ========================================================= */

.gallery-classic-comments-page .gallery-comment-form textarea:focus {
    outline: 3px solid rgba(20, 84, 81, 0.18);
    border-color: #145451;
}

/* =========================================================
   KOMMENTARE – BUTTONS
   ========================================================= */

.gallery-classic-comments-page .gallery-comment-form button,
.gallery-classic-comments-page .gallery-comments-login-button {
    background: #145451;
    border-color: #145451;
    color: #ffffff;
}

/* =========================================================
   KOMMENTARE – BUTTON HOVER
   ========================================================= */

.gallery-classic-comments-page .gallery-comment-form button:hover,
.gallery-classic-comments-page .gallery-comments-login-button:hover {
    background: #0d403e;
    border-color: #0d403e;
}

/* =========================================================
   KOMMENTARE – AKTIVE SEITENZAHL
   ========================================================= */

.gallery-classic-comments-page .gallery-comment-pages a[aria-current="page"] {
    background: #145451;
    border-color: #145451;
    color: #ffffff;
}

/* =========================================================
   KOMMENTARE – MOBILE ANSICHT
   ========================================================= */

@media (max-width: 600px) {
    .gallery-classic-comments-link,
    .gallery-classic-back-link {
        padding: 10px 13px;
    }

    .gallery-classic-comments-page .gallery-comments {
        margin-top: 16px;
    }
}

/* =========================================================
   CLASSIC – FOOTER MIT WEICHER WELLENOBERKANTE
   Schneider-Fotografie
   ========================================================= */

.gallery-site-footer {
    position: relative;
    isolation: isolate;

    /* Kein zusätzlicher Zwischenraum */
    margin-top: 0;

    /* Platz für die Welle */
    padding-top: 110px;

    /* Petrol-Farbverlauf */
    background: linear-gradient(
        135deg,
        #0e4b50 0%,
        #145451 55%,
        #156760 100%
    );

    /* Wellenmaske nur oben, Rest vollständig sichtbar */
    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 65 C240 5 400 10 620 55 S1080 120 1440 30 L1440 120 L0 120 Z'/%3E%3C/svg%3E"),
        linear-gradient(#000 0 0);

    mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 65 C240 5 400 10 620 55 S1080 120 1440 30 L1440 120 L0 120 Z'/%3E%3C/svg%3E"),
        linear-gradient(#000 0 0);

    -webkit-mask-size:
        100% 110px,
        100% calc(100% - 109px);

    mask-size:
        100% 110px,
        100% calc(100% - 109px);

    -webkit-mask-position:
        top center,
        bottom center;

    mask-position:
        top center,
        bottom center;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* =========================================================
   FOOTER – INHALT
   ========================================================= */

.gallery-site-footer .gallery-footer-inner {
    position: relative;
    z-index: 1;
}

/* =========================================================
   FOOTER – MOBILE ANSICHT
   ========================================================= */

@media (max-width: 768px) {
    .gallery-site-footer {
        padding-top: 75px;

        -webkit-mask-size:
            100% 75px,
            100% calc(100% - 74px);

        mask-size:
            100% 75px,
            100% calc(100% - 74px);
    }
}

/* =========================================================
   CLASSIC – HEADER MIT SANFTER WELLENUNTERKANTE
   Schneider-Fotografie
   ========================================================= */

.gallery-new-header {
    position: relative;
    isolation: isolate;

    /* Platz für die untere Wellenform */
    padding-bottom: 34px;

    /* Header-Farbverlauf */
    background: linear-gradient(
        135deg,
        #0e4b50 0%,
        #145451 55%,
        #156760 100%
    );

    /* Durchgehende Maske mit sanfter Unterkante */
    -webkit-mask-image:
        linear-gradient(#000 0 0),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0 H1440 V20 C1160 65 980 45 720 25 S260 5 0 45 Z'/%3E%3C/svg%3E");

    mask-image:
        linear-gradient(#000 0 0),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0 H1440 V20 C1160 65 980 45 720 25 S260 5 0 45 Z'/%3E%3C/svg%3E");

    -webkit-mask-size:
        100% calc(100% - 28px),
        100% 28px;

    mask-size:
        100% calc(100% - 28px),
        100% 28px;

    -webkit-mask-position:
        top center,
        bottom center;

    mask-position:
        top center,
        bottom center;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* =========================================================
   HEADER – INHALT
   ========================================================= */

.gallery-new-header .gallery-header-inner {
    position: relative;
    z-index: 1;
}

/* =========================================================
   HEADER – MOBILE ANSICHT
   ========================================================= */

@media (max-width: 768px) {
    .gallery-new-header {
        padding-bottom: 18px;

        -webkit-mask-size:
            100% calc(100% - 18px),
            100% 18px;

        mask-size:
            100% calc(100% - 18px),
            100% 18px;
    }
}

/* =========================================================
   HEADER – WELLENFORM BEHALTEN
   SPRACHMENÜ VOLLSTÄNDIG SICHTBAR
   ========================================================= */

/* Header selbst darf Dropdowns nicht abschneiden */
.gallery-new-header {
    position: relative;
    z-index: 40;
    isolation: isolate;
    overflow: visible;

    -webkit-mask-image: none;
    mask-image: none;

    background: transparent;
    border-bottom: 0;
}

/* Bestehende Welle auf Hintergrundebene */
.gallery-new-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background: linear-gradient(
        135deg,
        #0e4b50 0%,
        #145451 55%,
        #156760 100%
    );

    -webkit-mask-image:
        linear-gradient(#000 0 0),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0 H1440 V20 C1160 65 980 45 720 25 S260 5 0 45 Z'/%3E%3C/svg%3E");

    mask-image:
        linear-gradient(#000 0 0),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0 H1440 V20 C1160 65 980 45 720 25 S260 5 0 45 Z'/%3E%3C/svg%3E");

    -webkit-mask-size:
        100% calc(100% - 28px),
        100% 28px;

    mask-size:
        100% calc(100% - 28px),
        100% 28px;

    -webkit-mask-position:
        top center,
        bottom center;

    mask-position:
        top center,
        bottom center;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Sprachmenü im Vordergrund */
.gallery-new-header .gallery-language-menu {
    z-index: 9999;
}
/* ==============================================================
   LUMZENA – EXPLORE: ALLE FOTOS / MOSAIK-LAYOUT
   ============================================================== */

/* Fotowand */
.gallery-explore-page .gallery-explore-masonry {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(100px, 13vw, 180px);
    grid-auto-flow: dense;
    gap: 12px;
}

/* Fotokarten */
.gallery-explore-page .gallery-explore-masonry .photo-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 9px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Große Fotokarten */
.gallery-explore-page .gallery-explore-masonry .photo-card:nth-child(10n + 1),
.gallery-explore-page .gallery-explore-masonry .photo-card:nth-child(10n + 10) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Fotos */
.gallery-explore-page .gallery-explore-masonry .photo-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: none;
    object-fit: cover;
    transition: transform 0.35s ease;
}

/* Fototitel als dezente Einblendung */
.gallery-explore-page .gallery-explore-masonry .photo-card span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 25px 12px 10px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        transparent
    );
    color: #ffffff;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

/* Hover-Effekt */
.gallery-explore-page .gallery-explore-masonry .photo-card:hover {
    transform: none;
    box-shadow: none;
}

.gallery-explore-page .gallery-explore-masonry .photo-card:hover img {
    transform: scale(1.04);
}

.gallery-explore-page .gallery-explore-masonry .photo-card:hover span,
.gallery-explore-page .gallery-explore-masonry .photo-card:focus-visible span {
    opacity: 1;
}

/* Tablet */
@media (max-width: 850px) {
    .gallery-explore-page .gallery-explore-masonry {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: clamp(110px, 17vw, 180px);
        gap: 10px;
    }
}

/* Smartphone */
@media (max-width: 600px) {
    .gallery-explore-page .gallery-explore-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: clamp(95px, 29vw, 165px);
        gap: 8px;
    }
}

/* Geräte ohne Maus */
@media (hover: none) {
    .gallery-explore-page .gallery-explore-masonry .photo-card span {
        opacity: 1;
    }
}
/* ==============================================================
   LUMZENA – EXPLORE: MOSAIK MIT HOCH- UND QUERFORMATEN
   Vorherigen Explore-Masonry-/Mosaik-Abschnitt ersetzen.
   ============================================================== */

/* Raster */
.gallery-explore-page .gallery-explore-masonry {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(80px, 10vw, 150px);
    grid-auto-flow: dense;
    gap: 10px;
}

/* Standardkarten */
.gallery-explore-page .gallery-explore-masonry .photo-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-sizing: border-box;
}

/* Hochkant: eine Spalte, zwei Reihen */
.gallery-explore-page .gallery-explore-masonry .photo-card.is-portrait {
    grid-column: span 1;
    grid-row: span 2;
}

/* Ausgewählte Querformate: zwei Spalten, zwei Reihen */
.gallery-explore-page .gallery-explore-masonry .photo-card.is-landscape:nth-child(5n + 1) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Bild vollständig und unverzerrt darstellen */
.gallery-explore-page .gallery-explore-masonry .photo-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
}

/* Titel */
.gallery-explore-page .gallery-explore-masonry .photo-card span {
    position: absolute;
    inset: auto 0 0;
    padding: 20px 10px 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
    color: #fff;
    font-size: 12px;
    opacity: 0;
    transition: opacity .2s ease;
}

.gallery-explore-page .gallery-explore-masonry .photo-card:hover,
.gallery-explore-page .gallery-explore-masonry .photo-card:focus-visible {
    transform: none;
}

.gallery-explore-page .gallery-explore-masonry .photo-card:hover span,
.gallery-explore-page .gallery-explore-masonry .photo-card:focus-visible span {
    opacity: 1;
}

/* Tablet */
@media (max-width: 850px) {
    .gallery-explore-page .gallery-explore-masonry {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: clamp(80px, 13vw, 150px);
    }
}

/* Smartphone */
@media (max-width: 600px) {
    .gallery-explore-page .gallery-explore-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: clamp(80px, 25vw, 150px);
        gap: 8px;
    }
}

@media (hover: none) {
    .gallery-explore-page .gallery-explore-masonry .photo-card span {
        opacity: 1;
    }
}
/* ==============================================================
   LUMZENA – PHOTOGRAPHY ANALYTICS
   Jeweils einmal an admin/assets/css/style.css UND
   templates/classic/assets/css/style.css anhängen.
   ============================================================== */
.lz-analytics {
    --lz-an-border: #dce5eb;
    --lz-an-panel: #ffffff;
    --lz-an-ink: #203a4c;
    --lz-an-accent: #01386a;
    color: var(--lz-an-ink);
}
.lz-analytics .lz-an-panel {
    min-width: 0;
    background: var(--lz-an-panel);
    border: 1px solid var(--lz-an-border);
    border-radius: 12px;
    padding: 20px;
}
.lz-analytics .lz-an-options,
.lz-analytics .lz-an-kpis,
.lz-analytics .lz-an-grid {
    display: grid;
    gap: 16px;
    margin: 18px 0;
}
.lz-analytics .lz-an-options {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.lz-analytics .lz-an-kpis {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.lz-analytics .lz-an-kpis strong {
    display: block;
    font-size: 1.65rem;
    color: var(--lz-an-accent);
    margin-top: 8px;
}
.lz-analytics .lz-an-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.lz-analytics .lz-an-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    margin: 18px 0;
}
.lz-analytics .lz-an-filters label {
    display: grid;
    gap: 6px;
    flex: 1 1 180px;
    min-width: 0;
}
.lz-analytics .lz-an-filters select {
    width: 100%;
    padding: 9px;
    border: 1px solid var(--lz-an-border);
    border-radius: 6px;
}
.lz-analytics .lz-an-button {
    display: inline-block;
    border: 0;
    background: var(--lz-an-accent);
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}
.lz-analytics .lz-an-toggle {
    display: block;
    margin-top: 16px;
}
.lz-analytics .lz-an-chart h2 {
    font-size: 1.05rem;
    margin: 0 0 16px;
}
.lz-analytics .lz-an-canvas {
    position: relative;
    height: 300px;
    min-width: 0;
}
.lz-analytics .lz-an-chart[data-kind="horizontal"] .lz-an-canvas {
    height: 420px;
}
.lz-analytics .lz-an-table {
    margin-top: 14px;
    overflow-x: auto;
}
.lz-analytics summary {
    cursor: pointer;
    font-weight: 600;
}
.lz-analytics .lz-an-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}
.lz-analytics .lz-an-table th,
.lz-analytics .lz-an-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid var(--lz-an-border);
    overflow-wrap: anywhere;
}
.lz-analytics .lz-an-table th:last-child,
.lz-analytics .lz-an-table td:last-child {
    text-align: right;
}
@media (max-width: 800px) {
    .lz-analytics .lz-an-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .lz-analytics .lz-an-panel {
        padding: 14px;
    }
}
/* ==============================================================
   LUMZENA – PHOTOGRAPHY ANALYTICS: CLASSIC FRONTEND
   Am Ende von templates/classic/assets/css/style.css ergänzen.
   ============================================================== */
.gallery-main.lz-analytics {
    --lz-an-accent: #145451;
    --lz-an-border: #d9e1e5;
}

/* Filter und Statistikbereich */
.gallery-main.lz-analytics .lz-an-scope {
    color: #526d79;
    font-size: 0.9rem;
}
.gallery-main.lz-analytics .lz-an-filters {
    background: var(--card-bg, #f4f6f8);
    border-radius: 14px;
}
.gallery-main.lz-analytics .lz-an-button {
    background: #145451;
    color: #fff;
    width: auto;
    min-height: 0;
}
.gallery-main.lz-analytics a.lz-an-button {
    background: #fff;
    color: #365766;
    border: 1px solid #c9d5db;
}
.gallery-main.lz-analytics .lz-an-kpis .lz-an-panel {
    padding: 16px;
}
.gallery-main.lz-analytics .lz-an-chart {
    border-radius: 14px;
}
.gallery-main.lz-analytics .lz-an-chart h2 {
    color: #365766;
}
.gallery-main.lz-analytics .lz-an-chart[data-section="lens"] {
    grid-column: 1 / -1;
}
.gallery-main.lz-analytics .lz-an-chart[data-section="camera"] {
    grid-column: 1 / -1;
}
@media (max-width: 600px) {
    .gallery-main.lz-analytics .lz-an-filters label {
        flex-basis: 100%;
    }
}
/* ==============================================================
   LUMZENA – FOTOGRAFIE-STATISTIKEN: VERLINKTE FOTOANZAHLEN
   ============================================================== */

/* Verlinkte Fotoanzahlen mit gepunkteter Unterstreichung */
.gallery-main.lz-analytics .lz-an-table a,
.gallery-main.lz-analytics .lz-an-kpis strong a {
    color: var(--lz-an-accent, #145451);
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

/* Verlinkte Fotoanzahlen bei Mausberührung */
.gallery-main.lz-analytics .lz-an-table a:hover,
.gallery-main.lz-analytics .lz-an-kpis strong a:hover {
    color: #01386a;
    text-decoration-style: dotted;
    text-decoration-thickness: 2px;
}


/* ==============================================================
   LUMZENA – SUCHERGEBNISSE: STATISTIK-VERLINKUNG
   ============================================================== */

/* Informationsbereich der verlinkten Suche */
.gallery-search-page .gallery-search-filter-info:has(a[href*="analytics.php"]) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #d5e0e7;
    border-radius: 12px;
    color: #315b6d;
    font-size: 14px;
}

/* Schaltfläche zurück zu den Fotografie-Statistiken */
.gallery-search-filter-info a[href*="analytics.php"],
.gallery-search-filter-info a[href*="analytics.php"]:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    background: #315b6d;
    color: #ffffff;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

/* Schaltfläche bei Mausberührung */
.gallery-search-filter-info a[href*="analytics.php"]:hover {
    background: #145451;
    color: #ffffff;
    text-decoration: none;
}

/* Tastaturnavigation */
.gallery-search-filter-info a[href*="analytics.php"]:focus-visible {
    outline: 2px solid #145451;
    outline-offset: 3px;
}

/* Aktuell ausgewählte Statistik */
.gallery-search-page .gallery-search-filter-info:has(a[href*="analytics.php"]) strong {
    color: #315b6d;
    font-weight: 600;
}
/* ==============================================================
   LUMZENA – FOTO DES TAGES: HELLE FRONTEND-TEMPLATES
   Am Ende der jeweiligen style.css ergänzen.
   ============================================================== */

/* Präsentationskarte – Bildformat bleibt vollständig erhalten */
.lz-pod {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: stretch;
    margin: 24px 0 32px;
    border: 1px solid var(--edge, #dce4e9);
    border-radius: 16px;
    background: #ffffff;
    color: var(--ink, #203443);
    overflow: hidden;
}

.lz-pod-media {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 16px;
    background: #f4f7f8;
}

.lz-pod-media a {
    display: block;
    width: 100%;
}

.lz-pod-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    margin: 0 auto;
}

/* Titel, Beschreibung und Aufnahmeinformationen */
.lz-pod-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    padding: clamp(18px, 3vw, 32px);
    overflow-wrap: anywhere;
}

.lz-pod-kicker {
    color: var(--accent, #628494);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lz-pod-copy h2 {
    margin: 8px 0 12px;
    font-size: clamp(19px, 2vw, 26px);
    line-height: 1.3;
}

.lz-pod-description {
    margin: 0 0 16px;
    color: var(--muted, #657988);
    font-size: 14px;
    white-space: pre-line;
}

.lz-pod-meta {
    width: 100%;
    margin: 0 0 20px;
    font-size: 13px;
}

.lz-pod-meta > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--edge, #dce4e9);
}

.lz-pod-meta dt {
    color: var(--muted, #657988);
}

.lz-pod-meta dd {
    margin: 0;
    font-weight: 600;
}

/* Verlinkung zur Fotodetailseite */
.lz-pod .lz-pod-link,
.lz-pod .lz-pod-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #145451;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.lz-pod .lz-pod-link:hover {
    background: #315b6d;
}

.lz-pod a:focus-visible {
    outline: 2px solid #145451;
    outline-offset: 3px;
}

/* Smartphone und Tablet */
@media (max-width: 760px) {
    .lz-pod {
        grid-template-columns: minmax(0, 1fr);
    }

    .lz-pod-media {
        padding: 10px;
    }

    .lz-pod-media img {
        max-height: 340px;
    }
}
/* ==============================================================
   LUMZENA – BYB UNIVERSeller AKTIONSBANNER
   ============================================================== */

.gallery-campaign-banner {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
}
/* ==========================================================
   LUMZENA – VIDEO-VORSCHAU UND PLAYER
   ========================================================== */

/* Container der Video-Vorschau */
.lz-public-video-preview {
    position: relative;
    display: block;
    overflow: hidden;
    background: transparent;
}

/* Video-Vorschaubild */
.lz-public-video-preview img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Play-Symbol – mittig und ohne dunklen Hintergrund */
.lz-public-video-preview .lz-public-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #ffffff !important;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .8);
    pointer-events: none;
}

/* Videolaufzeit – unten rechts ohne dunklen Hintergrund */
.lz-public-video-preview .lz-public-video-duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
    pointer-events: none;
}

/* Videoplayer auf der Video-Detailseite */
.lz-public-video-player {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: transparent;
    border-radius: 8px;
    margin: 20px 0;
}