:root {
    --page-width: 1720px;
    --content-width: 1180px;
    --text: #555;
    --muted: #8f8f8f;
    --border: #ececec;
    --background: #fff;
    --footer: #e9ddd5;
    --header-height: 84px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    line-height: 1.65;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button {
    font-family: inherit;
}

/* Header */
.site-header {
    position: fixed;
    z-index: 60;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    padding: 0 max(4vw, calc((100vw - var(--content-width)) / 2));
    border-bottom: 1px solid transparent;
    background: transparent;
    transition:
        background 260ms ease,
        border-color 260ms ease,
        box-shadow 260ms ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--border);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.025);
    backdrop-filter: blur(14px);
}

.brand {
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.025em;
    text-decoration: none;
    transition: color 220ms ease;
}

.site-header.is-scrolled .brand {
    color: #777;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.7rem;
}

.site-nav a,
.dropdown-trigger {
    padding: 0.5rem 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.92);
    font: inherit;
    font-size: 0.87rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 180ms ease;
}

.site-header.is-scrolled .site-nav a,
.site-header.is-scrolled .dropdown-trigger {
    color: #767676;
}

.site-nav a:hover,
.dropdown-trigger:hover,
.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .dropdown-trigger:hover {
    color: #222;
}

.nav-dropdown {
    position: relative;
    padding-bottom: 0.45rem;
    margin-bottom: -0.45rem;
}

.nav-dropdown::after {
    position: absolute;
    top: 100%;
    right: -0.5rem;
    left: -0.5rem;
    height: 0.7rem;
    content: "";
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.2rem);
    right: 0;
    display: none;
    min-width: 185px;
    padding: 0.55rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.09);
}

.dropdown-menu a,
.site-header:not(.is-scrolled) .dropdown-menu a {
    display: block;
    padding: 0.72rem 0.9rem;
    color: #707070;
    text-align: right;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}

.nav-toggle {
    display: none;
    width: 34px;
    height: 34px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    margin: 6px 0;
    background: #fff;
    transition: transform 180ms ease, background 180ms ease;
}

.site-header.is-scrolled .nav-toggle span {
    background: #555;
}

.nav-toggle.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* Seiten ausser Startseite */
body:not(.home-page) main {
    padding-top: var(--header-height);
}

/* Typografie */
.eyebrow {
    color: var(--muted);
    font-size: 0.7rem !important;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Startseiten-Hero */
.home-slider {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #111;
}

.home-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.015);
    transition: opacity 3.2s cubic-bezier(.45, 0, .55, 1);
    will-change: opacity, transform;
}

.home-slide.is-active {
    z-index: 1;
    opacity: 1;
}

.home-slide.is-active.is-leaving {
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.home-slide.zoom-in.is-active {
    animation: kenburns-in 12s linear both;
}

@keyframes kenburns-in {
    from { transform: scale(1.015); }
    to { transform: scale(1.055); }
}

.slider-shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.02) 62%),
        linear-gradient(to right, rgba(0, 0, 0, 0.20), transparent 55%);
}

.slider-caption {
    position: absolute;
    z-index: 3;
    right: 7vw;
    bottom: 8vh;
    left: max(6vw, calc((100vw - var(--content-width)) / 2));
    max-width: 720px;
    color: #fff;
}

.slider-caption h1 {
    margin: 0.45rem 0 0.9rem;
    font-size: clamp(3.2rem, 6vw, 6.5rem);
    font-weight: 200;
    line-height: 0.98;
    letter-spacing: 0.008em;
}

.slider-caption p {
    margin: 0;
    font-size: clamp(0.9rem, 1.2vw, 1.08rem);
}

.slider-caption .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.slider-control {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 48px;
    height: 68px;
    border: 0;
    background: rgba(0, 0, 0, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 2.45rem;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 180ms ease;
}

.slider-control:hover {
    background: rgba(0, 0, 0, 0.23);
}

.slider-prev { left: 0; }
.slider-next { right: 0; }

.scroll-cue {
    position: absolute;
    z-index: 4;
    bottom: 1.8rem;
    left: 50%;
    display: grid;
    width: 28px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 20px;
    transform: translateX(-50%);
}

.scroll-cue span {
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.76);
    animation: scrollcue 1.7s ease-in-out infinite;
}

@keyframes scrollcue {
    0%, 100% { opacity: 0.3; transform: translateY(-4px); }
    50% { opacity: 1; transform: translateY(5px); }
}

/* Startseiten-Kategorien */
.home-categories {
    width: min(var(--content-width), 88vw);
    margin-inline: auto;
    padding: 8.5rem 0 8rem;
}

.section-heading {
    margin-bottom: 3.8rem;
    text-align: center;
}

.section-heading h2 {
    margin: 0.55rem 0 0;
    color: #555;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.075em;
}

.classic-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem 2.4rem;
    max-width: 1040px;
    margin-inline: auto;
}

.classic-category-card {
    text-decoration: none;
}

.category-image-wrap {
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #f2f2f2;
}

.category-image-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
}

.classic-category-card img,
.classic-category-card .image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 700ms cubic-bezier(.2,.7,.2,1), opacity 220ms ease;
}

.classic-category-card:hover img {
    opacity: 0.91;
    transform: scale(1.025);
}

.classic-category-card span {
    display: block;
    padding-top: 0.7rem;
    color: #777;
    text-align: center;
    font-size: 0.92rem;
    letter-spacing: 0.018em;
}

/* Portfolio */
.portfolio-intro {
    max-width: 780px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2.5rem;
    text-align: center;
}

.portfolio-intro h1 {
    margin: 0 0 1.15rem;
    color: #707070;
    font-size: clamp(2.1rem, 4vw, 3.35rem);
    font-weight: 300;
    letter-spacing: 0.105em;
}

.portfolio-intro p {
    margin: 0;
    color: #999;
    font-size: 0.98rem;
    line-height: 1.65;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    width: calc(100vw - 3.2rem);
    margin-inline: auto;
}

.portfolio-item {
    margin: 0;
    overflow: hidden;
    background: #f3f3f3;
}

.portfolio-item.is-extra {
    display: none;
}

.lightbox-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    transition: opacity 180ms ease, transform 500ms cubic-bezier(.2,.7,.2,1);
}

.portfolio-item:hover img {
    opacity: 0.93;
    transform: scale(1.012);
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    padding: 3.7rem 0 7.5rem;
}

.load-more-button {
    padding: 0.78rem 1.35rem;
    border: 1px solid #aaa;
    background: #fff;
    color: #777;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.035em;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease;
}

.load-more-button:hover {
    color: #fff;
    background: #555;
}

.portfolio-grid:not(:has(+ .load-more-wrap)) {
    padding-bottom: 7.5rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 3rem 5rem;
    background: rgba(0, 0, 0, 0.96);
}

.lightbox[hidden] {
    display: none;
}

.lightbox-image {
    max-width: 94vw;
    max-height: 92vh;
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    z-index: 102;
    top: 0.9rem;
    right: 1.4rem;
    border: 0;
    background: none;
    color: #fff;
    font-size: 2.8rem;
    font-weight: 200;
    cursor: pointer;
}

.lightbox-nav {
    position: fixed;
    z-index: 101;
    top: 50%;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.72);
    font-size: 3.4rem;
    font-weight: 200;
    cursor: pointer;
    transform: translateY(-50%);
}

.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

/* Über mich */
.about-page,
.timelapse-page {
    width: min(var(--content-width), 88vw);
    margin-inline: auto;
    padding: 3.8rem 0 8rem;
}

.about-title {
    margin-bottom: 2.4rem;
    text-align: center;
}

.about-title h1 {
    margin: 0;
    color: #727272;
    font-size: clamp(2.3rem, 4vw, 3.45rem);
    font-weight: 300;
    letter-spacing: 0.16em;
}

.about-hero {
    max-width: 840px;
    margin: 0 auto 2rem;
    overflow: hidden;
}

.about-hero img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.portrait-hint,
.video-hint {
    display: none;
    padding: 1rem;
    color: var(--muted);
    border: 1px dashed var(--border);
    font-size: 0.85rem;
}

.portrait-missing .portrait-hint {
    display: block;
}

.about-story {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 4rem;
    max-width: 840px;
    margin: 0 auto;
}

.about-story-heading h2 {
    margin: 0;
    color: #777;
    font-size: 1.45rem;
    font-weight: 300;
}

.about-story-copy p,
.contact-section p {
    color: #7b7b7b;
    font-size: 0.9rem;
    line-height: 1.74;
}

.about-story-copy p:first-child {
    margin-top: 0;
}

.equipment-section,
.contact-section {
    max-width: 760px;
    margin: 4.5rem auto 0;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 3rem;
}

.equipment-grid h2,
.contact-section h2 {
    margin-bottom: 0.45rem;
    color: #555;
    font-size: 1.03rem;
    font-weight: 400;
}

.equipment-grid p {
    color: #888;
    font-size: 0.88rem;
    line-height: 1.76;
}

.mail-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.78rem 1.18rem;
    border: 1px solid #aaa;
    color: #666;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease;
}

.mail-button:hover {
    color: #fff;
    background: #555;
}

/* Zeitraffer */
.timelapse-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.timelapse-intro h1 {
    margin: 1rem 0 1.4rem;
    color: #686868;
    font-size: clamp(2.2rem, 4vw, 3.35rem);
    font-weight: 300;
    letter-spacing: 0.075em;
}

.timelapse-intro p {
    color: #8a8a8a;
    font-size: 0.9rem;
}

.video-frame {
    max-width: 1080px;
    margin: 0 auto;
}

.video-frame video {
    width: 100%;
    max-height: 76vh;
    background: #000;
}

/* Footer */
.site-footer {
    padding: 1.9rem 4vw 1.15rem;
    background: var(--footer);
    color: #777;
    text-align: center;
    font-size: 0.76rem;
}


.footer-signature {
    display: inline-block;
    width: min(300px, 68vw);
    margin: 0.35rem auto 0.55rem;
    line-height: 0;
}

.footer-signature img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.82;
    transition: opacity 180ms ease;
}

.footer-signature:hover img,
.footer-signature:focus-visible img {
    opacity: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.35rem;
    margin-bottom: 0.45rem;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.site-footer p {
    margin: 0;
}

/* Einblendanimationen */
.image-reveal,
.reveal-section {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 850ms ease,
        transform 850ms cubic-bezier(.2,.7,.2,1);
}

.image-reveal.is-visible,
.reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.image-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 960px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: calc(100vw - 3.2rem);
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 780px) {
    :root {
        --header-height: 72px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        z-index: 59;
        top: var(--header-height);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        height: calc(100svh - var(--header-height));
        padding: 1rem 7vw 2rem;
        background: rgba(255, 255, 255, 0.99);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a,
    .dropdown-trigger,
    .site-header:not(.is-scrolled) .site-nav a,
    .site-header:not(.is-scrolled) .dropdown-trigger {
        color: #666;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        display: block;
        padding: 0 0 0 1rem;
        border: 0;
        box-shadow: none;
    }

    .slider-caption {
        right: 12vw;
        bottom: 9vh;
        left: 9vw;
    }

    .slider-caption h1 {
        font-size: clamp(3rem, 14vw, 5.2rem);
    }

    .home-categories {
        padding-top: 6.5rem;
    }

    .classic-category-grid {
        grid-template-columns: 1fr;
        gap: 2.8rem;
    }

    .portfolio-intro {
        padding-top: 5rem;
    }

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

    .scroll-cue {
        display: none;
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .slider-control {
        width: 36px;
        height: 54px;
        font-size: 2rem;
    }

    .lightbox {
        padding: 3rem 1rem;
    }

    .lightbox-prev { left: 0.2rem; }
    .lightbox-next { right: 0.2rem; }

    .about-page,
    .timelapse-page {
        width: 90vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* v0.5: Hochformate bewusst separat und kompakt */
.is-extra-section {
    display: none;
}

.portrait-portfolio {
    width: min(900px, 82vw);
    margin: 4rem auto 0;
    padding-bottom: 5.5rem;
}

.portrait-heading {
    margin-bottom: 1.4rem;
    text-align: center;
}

.portrait-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    justify-content: center;
}

.portrait-item {
    max-width: 390px;
    justify-self: center;
    background: transparent;
}

.portrait-item img {
    width: 100%;
    height: auto;
}

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


/* v0.6 Feinschliff */
.portfolio-page main {
    overflow-x: hidden;
}

.portrait-grid {
    align-items: start;
}

.portrait-item img {
    max-height: 72vh;
    object-fit: contain;
}

@media (min-width: 1500px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .portfolio-intro {
        padding-top: 4rem;
    }
}


/* v0.7: besonders weicher Hero-Crossfade */
.home-slide {
    backface-visibility: hidden;
    transform-origin: center center;
}

.home-slide:not(.is-active),
.home-slide.is-leaving {
    pointer-events: none;
}


/* v0.8: grosszügigere, einheitliche Galerieabstände */
@media (max-width: 960px) {
    .portfolio-grid {
        width: calc(100vw - 2rem);
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        width: calc(100vw - 1.4rem);
        gap: 0.7rem;
    }
}


/* v0.9: kompaktere Oberbereiche */
.timelapse-page {
    padding-top: 3.2rem;
}

.timelapse-intro {
    margin-bottom: 2rem;
}

.timelapse-intro h1 {
    margin-top: 0.65rem;
    margin-bottom: 1rem;
}

.portfolio-intro {
    padding-top: 3.5rem;
}

.lightbox-content{display:flex;max-width:94vw;max-height:94vh;align-items:center;flex-direction:column}.lightbox-caption{width:100%;max-width:1100px;margin:.8rem 0 0;color:rgba(255,255,255,.72);font-size:.78rem;letter-spacing:.035em;text-align:left}.legal-page{width:min(780px,88vw);min-height:calc(100vh - 240px);margin-inline:auto;padding:5rem 0 7rem}.legal-page h1{margin:0 0 2rem;color:#666;font-size:clamp(2rem,4vw,3rem);font-weight:300;letter-spacing:.08em}.legal-page h2{margin-top:2.4rem;color:#555;font-size:1.05rem;font-weight:400}.legal-page p{color:#777;font-size:.91rem;line-height:1.75}.error-page{position:relative;display:grid;min-height:calc(100svh - var(--header-height));place-items:center;overflow:hidden;background:#111}.error-page-image{position:absolute;inset:0;opacity:.52;background-position:center;background-size:cover}.error-page-shade{position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.62))}.error-page-content{position:relative;z-index:2;max-width:700px;padding:2rem;color:#fff;text-align:center}.error-page-content h1{margin:0;font-size:clamp(5rem,15vw,10rem);font-weight:200;line-height:1}.error-page-content h2{font-size:clamp(1.7rem,4vw,2.8rem);font-weight:300}.error-page-content a{display:inline-block;margin-top:1rem;padding:.75rem 1.1rem;border:1px solid rgba(255,255,255,.7);text-decoration:none}.site-footer .footer-links{flex-wrap:wrap}


/* v1.0 RC2 – EXIF-Daten in der Vollbildansicht */
.lightbox-information {
    width: 100%;
    max-width: 1100px;
    margin-top: 0.72rem;
    padding-inline: 0.15rem;
    text-align: left;
}

.lightbox-information .lightbox-caption {
    width: auto;
    max-width: none;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.79rem;
    letter-spacing: 0.035em;
}

.lightbox-exif {
    margin: 0.28rem 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.025em;
    line-height: 1.45;
}

.lightbox-exif[hidden] {
    display: none;
}

@media (max-width: 700px) {
    .lightbox-information {
        padding-inline: 0.45rem;
    }

    .lightbox-exif {
        font-size: 0.65rem;
    }
}

/* v1.0 RC3 – Lightroom title/caption and reliable EXIF layout */
.lightbox {
    padding: 2rem 4.5rem 1.5rem;
}

.lightbox-content {
    width: min(94vw, 1500px);
    max-height: calc(100vh - 3.5rem);
}

.lightbox-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
}

.lightbox-information {
    box-sizing: border-box;
    width: min(100%, 1100px);
    flex: 0 0 auto;
    margin-top: 0.65rem;
}

.lightbox-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.84rem;
    font-weight: 400;
    letter-spacing: 0.025em;
}

.lightbox-information .lightbox-caption {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.73rem;
}

.lightbox-exif {
    margin: 0.18rem 0 0;
    color: rgba(255, 255, 255, 0.43);
    font-size: 0.66rem;
    line-height: 1.35;
}

.lightbox-exif-settings {
    margin-top: 0.08rem;
}

.lightbox-title[hidden],
.lightbox-caption[hidden],
.lightbox-exif[hidden] {
    display: none;
}

@media (max-width: 700px) {
    .lightbox {
        padding: 3.2rem 2.4rem 1rem;
    }

    .lightbox-image {
        max-height: calc(100vh - 180px);
    }
}

/* v1.0 RC4 – klare, vollständig sichtbare Lightroom-/EXIF-Anzeige */
.lightbox {
    padding: 1.4rem 4.5rem 1.2rem;
}

.lightbox-content {
    width: min(94vw, 1500px);
    max-height: calc(100svh - 2.6rem);
}

.lightbox-image {
    max-height: calc(100svh - 185px);
}

.lightbox-information {
    width: 100%;
    max-width: none;
    margin-top: 0.72rem;
    padding: 0 1rem;
    text-align: center;
}

.lightbox-title {
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.4;
}

.lightbox-information .lightbox-caption {
    margin-top: 0.16rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.73rem;
    line-height: 1.4;
    text-align: center;
}

.lightbox-exif-camera {
    margin-top: 0.38rem;
}

.lightbox-exif {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.66rem;
    line-height: 1.35;
}

@media (max-width: 700px) {
    .lightbox {
        padding: 3rem 2.2rem 0.8rem;
    }

    .lightbox-image {
        max-height: calc(100svh - 205px);
    }

    .lightbox-information {
        padding: 0;
    }
}


/* v1.0 RC5 – feinere typografische Hierarchie */
.lightbox-title {
    font-weight: 500;
    letter-spacing: 0.018em;
}

.lightbox-information .lightbox-caption {
    font-weight: 300;
}

.lightbox-exif-camera {
    margin-top: 0.42rem;
}

.lightbox-exif-settings {
    margin-top: 0.1rem;
    font-variant-numeric: tabular-nums;
}


/* v1.0 RC6 – automatisch importierte Homepage-Medien */
.timelapse-video {
    display: block;
    width: min(1280px, 92vw);
    max-height: 78vh;
    margin-inline: auto;
    background: #0d0d0d;
    object-fit: contain;
}
.about-portrait img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.media-placeholder {
    display: grid;
    min-height: 220px;
    place-content: center;
    padding: 2rem;
    color: #777;
    text-align: center;
}


@media (max-width: 560px) {
    .footer-links {
        flex-wrap: wrap;
        row-gap: 0.65rem;
    }

    .footer-signature {
        width: min(250px, 76vw);
    }
}

/* Responsive Bildpipeline v2 */
.home-slide picture,
.home-slide img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.home-slide img {
    object-fit: cover;
    object-position: center;
}

.category-image-wrap picture,
.portfolio-item picture {
    display: block;
    width: 100%;
}

/* Lighthouse-Kontrast: bewusst dunkler als die ursprünglichen Footer-Töne. */
.site-footer,
.site-footer a,
.site-footer p {
    color: #554d48;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #211e1c;
}
