﻿:root {
    --primary: #0055a5;
    --primary-h: #003f7d;
    --accent: #00bcd4;
    --text: #1a1a1a;
    --text-muted: #555;
    --border: #d8dde5;
    --card-bg: #fff;
    --radius: 6px;

    --gbg: #0e0e12;
    --gsurface: #16161d;
    --gcard-bg: #1c1c26;
    --gaccent: #c9a84c;
    --gaccent2: #e8d08a;
    --gtext: #e8e6e0;
    --gmuted: #6b6b78;
    --gborder: rgba(201,168,76,.18);
    --gradius: 14px;
    --gshadow: 0 8px 40px rgba(0,0,0,.55);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Titillium Web', sans-serif;
    color: var(--text);
    background: #fff;
    margin: 0;
}









.head-image {
    margin-bottom: 10px;
}

    .head-image img {
        width: 100%;
        height: auto;
        max-width: 900px;
    }




/* ─── uhr Banner ───────────────────────────────────── */
.uhr-banner {
    background: #e9ecf0;
    overflow: hidden;
}

/* DESKTOP: full-width banner, title floats left inside it */
@media (min-width: 768px) {
    .uhr-banner {
        position: relative;
        height: 200px;
    }

    .uhr-banner__img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .uhr-banner__overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(255,255,255,.85) 0%, rgba(255,255,255,.55) 38%, transparent 65%);
    }

    .uhr-banner__text {
        /*position: absolute;
        top: 50%;
        left: 40px;
        transform: translateY(-50%);*/
    }
}

/* MOBILE: image small + title side by side */
@media (max-width: 767.98px) {
    .uhr-banner {
        display: flex;
        align-items: center;
        gap: 18px;
        padding: 18px 20px;
    }

    .uhr-banner__img {
        width: 180px;
        max-width: 180px;
        height: 110px;
        object-fit: cover;
        border-radius: var(--radius);
        flex-shrink: 0;
    }

    .uhr-banner__overlay {
        display: none;
    }

    .uhr-banner__text {
        flex: 1;
    }
}

.uhr-banner__breadcrumb {
    font-size: .75rem;
    font-weight: 400;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 2px;
    margin-bottom: 6px;
}

.uhr-banner__title {
    font-size: clamp(1.5rem, 3vw, 1.7rem);
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.15;
}
















/* ─── Each alternating section ──────────────────────── */
.content-section {
    padding: 0;
}

    /* Even sections (image right) get a faint bg strip */
    .content-section:nth-child(even) .inner-wrap {
        background: var(--bg-stripe);
    }

.inner-wrap {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}

/* ── Text side ─────────────────────────────────────── */
.text-side {
    padding: 60px 15px 60px 15px;
}

.section-title {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text);
    margin: 0 0 28px;
}

.section-body p {
    font-size: clamp(.84rem, 1.1vw, .92rem);
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0 0 18px;
}


.section-body ul li {
    font-size: clamp(.75rem, 1.0vw, .85rem);
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0 0 18px;
}

    .section-body p:last-child {
        margin-bottom: 0;
    }

/* ── Image side ────────────────────────────────────── */
.img-side {
    overflow: hidden;
    line-height: 0;
}

    .img-side img {
        width: 100%;
        height: 100%;
        min-height: 340px;
        max-height: 420px;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

    .img-side:hover img {
        transform: scale(1.03);
    }

/* ── Odd: text left, image right ───────────────────── */
.content-section.text-left .inner-wrap {
    grid-template-areas: "text img";
}

.content-section.text-left .text-side {
    grid-area: text;
}

.content-section.text-left .img-side {
    grid-area: img;
}

/* ── Even: image left, text right ──────────────────── */
.content-section.text-right .inner-wrap {
    grid-template-areas: "img text";
}

.content-section.text-right .img-side {
    grid-area: img;
}

.content-section.text-right .text-side {
    grid-area: text;
    padding: 60px 48px 60px 56px;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
    .inner-wrap,
    .content-section.text-left .inner-wrap,
    .content-section.text-right .inner-wrap {
        grid-template-columns: 1fr;
        grid-template-areas:
            "img"
            "text" !important;
    }

    .text-side,
    .content-section.text-right .text-side {
        padding: 32px 24px;
    }

    .img-side img {
        min-height: 220px;
        max-height: 260px;
    }
}



/* ── DIVIDER ── */
.gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gaccent), transparent);
    margin: 28px auto 0;
}

/* ── GALLERY SECTION ── */
.gallery-section {
    position: relative;
    z-index: 1;
    padding: 20px 0 90px;
}

/* ── CARD ── */
.doc-card {
    background: var(--gcard-bg);
    border: 1px solid var(--gborder);
    border-radius: var(--gradius);
    overflow: hidden;
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s cubic-bezier(.22,1,.36,1), border-color .35s;
    box-shadow: var(--gshadow);
    cursor: pointer;
    display: block;
    text-decoration: none;
}

    .doc-card:hover {
        transform: translateY(-8px) scale(1.012);
        box-shadow: 0 20px 60px rgba(0,0,0,.75), 0 0 0 1px var(--gaccent);
        border-color: var(--gaccent);
    }

/* ── THUMBNAIL WRAPPER ── */
.thumb-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--gsurface);
}

    .thumb-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .55s cubic-bezier(.22,1,.36,1);
        filter: brightness(.92) saturate(.9);
    }

.doc-card:hover .thumb-wrap img {
    transform: scale(1.07);
    filter: brightness(1) saturate(1.1);
}

/* ── HOVER OVERLAY ── */
.thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(201,168,76,.08) 0%, rgba(0,0,0,.55) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s;
}

.doc-card:hover .thumb-overlay {
    opacity: 1;
}

.zoom-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(201,168,76,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(.7);
    transition: transform .35s cubic-bezier(.22,1,.36,1);
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.doc-card:hover .zoom-icon {
    transform: scale(1);
}

.zoom-icon svg {
    width: 22px;
    height: 22px;
    fill: #0e0e12;
}

/* ── BADGE ── */
.doc-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(14,14,18,.82);
    border: 1px solid var(--gborder);
    color: var(--gaccent);
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

/* ── CARD FOOTER ── */
.doc-info {
    padding: 14px 16px 16px;
    border-top: 1px solid var(--gborder);
}

.doc-title {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    font-weight: 600;
    color: var(--gtext);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.doc-sub {
    font-size: .72rem;
    color: var(--gmuted);
    letter-spacing: .04em;
}

/* ── NUMBER INDICATOR ── */
.doc-number {
    position: absolute;
    bottom: 10px;
    left: 14px;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(255,255,255,.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* ── STAGGER ANIMATION ── */
.col-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .6s cubic-bezier(.22,1,.36,1) forwards;
}

    .col-reveal:nth-child(1) {
        animation-delay: .05s;
    }

    .col-reveal:nth-child(2) {
        animation-delay: .12s;
    }

    .col-reveal:nth-child(3) {
        animation-delay: .19s;
    }

    .col-reveal:nth-child(4) {
        animation-delay: .26s;
    }

    .col-reveal:nth-child(5) {
        animation-delay: .33s;
    }

    .col-reveal:nth-child(6) {
        animation-delay: .40s;
    }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── FANCYBOX CUSTOM ── */
.fancybox__backdrop {
    background: rgba(5,5,8,.95);
}

.fancybox__toolbar {
    background: rgba(14,14,18,.85);
    backdrop-filter: blur(10px);
}

/* ── FOOTER ── */
.gallery-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 0 40px;
    color: var(--gmuted);
    font-size: .75rem;
    letter-spacing: .06em;
}