:root {
    --bg: #070707;
    --bg-soft: #10100f;
    --panel: rgba(20, 19, 17, .86);
    --panel-strong: rgba(8, 8, 8, .94);
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(230, 210, 165, .38);
    --text: rgba(255, 255, 255, .92);
    --muted: rgba(255, 255, 255, .66);
    --faint: rgba(255, 255, 255, .48);
    --gold: #d8bd7a;
    --rust: #b7684e;
    --green: #6e806f;
    --radius: 8px;
    --shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
}

body {
    color: var(--text);
    background:
        radial-gradient(900px 520px at 18% -8%, rgba(183, 104, 78, .20), transparent 62%),
        radial-gradient(760px 460px at 88% 8%, rgba(110, 128, 111, .16), transparent 64%),
        linear-gradient(180deg, #0b0b0a 0%, var(--bg) 46%, #050505 100%);
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

a {
    color: inherit;
}

img,
svg {
    max-width: 100%;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    width: 100%;
    flex: 1;
    padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 54px);
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 5, 5, .78);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.header-band {
    height: clamp(92px, 14vw, 150px);
    overflow: hidden;
    position: relative;
}

.header-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.72), transparent 22%, transparent 78%, rgba(0,0,0,.72));
    pointer-events: none;
}

.band-track {
    height: 100%;
    display: flex;
    align-items: center;
    animation: bandScroll 48s linear infinite;
}

.band-track img {
    width: clamp(220px, 28vw, 430px);
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: .86;
    filter: saturate(.92) contrast(1.04);
}

@keyframes bandScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.signature {
    display: none;
    pointer-events: none;
    z-index: 5;
    filter: drop-shadow(0 0 10px rgba(216, 189, 122, .26)) drop-shadow(0 16px 30px rgba(0,0,0,.45));
}

.signature-desktop {
    display: block;
    position: absolute;
    height: clamp(132px, 15vw, 205px);
    width: auto;
    left: clamp(18px, 7vw, 110px);
    top: clamp(42px, 4.5vw, 74px);
    opacity: .95;
    transform: scaleX(1.62);
    transform-origin: left center;
}

.header-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 12px;
    background: rgba(0, 0, 0, .34);
}

.nav-item {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    letter-spacing: .02em;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.nav-item:hover,
.nav-item.active {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: var(--line);
}

.instagram-link svg {
    width: 19px;
    height: 19px;
}

.nav-signature {
    display: none;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.home-hero {
    width: min(1180px, 100%);
    margin: 0 auto;
    min-height: min(620px, calc(100vh - 260px));
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, .72fr);
    grid-template-areas:
        "copy portrait"
        "actions portrait";
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.home-copy {
    grid-area: copy;
}

.home-copy h1 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 8vw, 112px);
    line-height: .88;
    font-weight: 500;
    letter-spacing: 0;
}

.home-copy p {
    max-width: 68ch;
    color: var(--muted);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.72;
}

.home-copy .lead {
    color: rgba(255, 255, 255, .88);
    font-size: clamp(19px, 2vw, 27px);
    line-height: 1.42;
}

.home-actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-self: start;
    margin-top: -42px;
}

.home-portrait {
    grid-area: portrait;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--radius);
    background: #111;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.home-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.92) contrast(1.02);
}

.home-news,
.home-featured,
.gallery-page,
.page-section,
.detail,
.about-section {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.home-news,
.home-featured {
    padding-top: clamp(34px, 6vw, 82px);
}

.news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.news-card {
    display: grid;
    grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
    min-height: 260px;
    overflow: hidden;
    color: #fff;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.news-card.text-only {
    grid-template-columns: 1fr;
}

.news-media {
    background: #080808;
}

.news-media img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    display: block;
}

.news-content {
    min-width: 0;
    padding: clamp(18px, 2.5vw, 26px);
}

.news-date {
    margin: 0 0 9px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.news-content h3 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.05;
}

.news-content p {
    color: var(--muted);
    line-height: 1.65;
}

.news-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: 8px;
    color: #15120b;
    background: var(--gold);
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 800;
    text-decoration: none;
}

.news-link:hover {
    color: #15120b;
    background: #e7ca83;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h1,
.section-heading h2,
.page-h1,
.about-title,
.detail-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0;
}

.section-heading h1,
.section-heading h2,
.page-h1 {
    font-size: clamp(34px, 5vw, 66px);
}

.featured-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.featured-card,
.gallery-card {
    color: #fff;
    text-decoration: none;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.featured-card:hover,
.gallery-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    background: rgba(28, 27, 24, .94);
}

.featured-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.featured-card span {
    display: block;
    padding: 12px 13px 14px;
    color: rgba(255,255,255,.84);
    font-size: 14px;
}

.btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: var(--line-strong);
    transform: translateY(-1px);
}

.btn-primary-quiet {
    background: var(--gold);
    border-color: var(--gold);
    color: #16130c;
    font-weight: 700;
}

.btn-primary-quiet:hover {
    color: #16130c;
    background: #e7ca83;
}

.gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.view-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 0 0 28px auto;
}

.toggle-btn {
    width: 42px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .06);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.toggle-btn.active,
.toggle-btn:hover {
    border-color: var(--line-strong);
    background: rgba(216, 189, 122, .14);
}

.icon {
    width: 22px;
    height: 16px;
    display: grid;
    gap: 3px;
}

.icon::before,
.icon::after,
.icon > div {
    content: "";
    background: rgba(255,255,255,.9);
    border-radius: 2px;
}

.icon-1 { grid-template-columns: 1fr; }
.icon-1::after { display: none; }
.icon-2 { grid-template-columns: repeat(2, 1fr); }
.icon-2 > div { display: none; }
.icon-3 { grid-template-columns: repeat(3, 1fr); }

.gallery-grid {
    display: grid;
    gap: clamp(16px, 2.4vw, 28px);
    margin-bottom: 60px;
}

.gallery-grid.cols-1 {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

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

.gallery-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card img {
    width: 100%;
    height: clamp(320px, 43vw, 620px);
    object-fit: cover;
    display: block;
    background: #080808;
}

.gallery-grid.cols-1 .gallery-card img {
    height: auto;
    max-height: 76vh;
    object-fit: contain;
}

.gallery-grid.cols-3 .gallery-card img {
    height: clamp(260px, 28vw, 430px);
}

.gallery-text {
    padding: 15px 16px 17px;
}

.gallery-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.gallery-title {
    font-weight: 650;
    line-height: 1.25;
}

.gallery-dimensions {
    margin: 5px 0 0;
    color: var(--faint);
    font-size: 13px;
    font-weight: 400;
}

.gallery-badge {
    flex: 0 0 auto;
    color: #16130c;
    background: var(--gold);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gallery-badge.sold {
    color: rgba(255,255,255,.86);
    background: rgba(158, 11, 36, .72);
}

.detail .back-btn {
    margin-bottom: 20px;
}

.detail-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(18px, 3vw, 36px);
    align-items: start;
}

.detail-main {
    min-height: 320px;
    background: rgba(0,0,0,.28);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-img {
    width: 100%;
    height: min(74vh, 820px);
    object-fit: contain;
    display: block;
}

.detail-side {
    position: sticky;
    top: 210px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-meta,
.purchase-panel,
.modal-panel,
.about-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

.detail-meta,
.purchase-panel {
    padding: 18px;
}

.detail-title {
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1;
}

.detail-desc {
    color: var(--muted);
    line-height: 1.65;
    margin: 16px 0 0;
}

.art-meta {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 8px;
    font-size: 14px;
}

.meta-label {
    color: var(--faint);
}

.meta-value {
    color: rgba(255,255,255,.82);
    text-align: right;
}

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

.thumb-price {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    line-height: 1;
}

.buy-btn {
    min-height: 48px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #15120b;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.buy-btn:hover {
    background: #e7ca83;
}

.question-link {
    color: var(--muted);
    font-size: 14px;
    text-decoration-color: rgba(255,255,255,.24);
    text-underline-offset: 3px;
}

.detail-sold {
    color: #ffb2b2;
    border: 1px solid rgba(255, 178, 178, .28);
    background: rgba(158, 11, 36, .22);
    border-radius: 999px;
    padding: 10px 14px;
    text-align: center;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.detail-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.thumb {
    aspect-ratio: 1;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

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

.thumb:hover img,
.thumb.is-active img {
    opacity: 1;
}

.thumb.is-active {
    border-color: var(--gold);
}

.views {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    gap: 8px;
    color: rgba(255,255,255,.7);
    background: rgba(0,0,0,.46);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
}

.about-section {
    padding: 34px 0 70px;
}

.about-card {
    display: grid;
    grid-template-columns: minmax(260px, 380px) 1fr;
    gap: clamp(24px, 4vw, 46px);
    align-items: center;
    padding: clamp(22px, 4vw, 42px);
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: #111;
}

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

.about-title {
    font-size: clamp(32px, 4vw, 54px);
    margin-bottom: 18px;
}

.about-content p,
.page-p,
.impressum-block p {
    color: var(--muted);
    line-height: 1.72;
}

.about-signature {
    color: var(--gold);
    font-style: italic;
}

.site-footer {
    padding: 36px 16px 30px;
    text-align: center;
    border-top: 1px solid var(--line);
    background: rgba(0,0,0,.28);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 12px;
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-copy {
    color: var(--faint);
    font-size: 13px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0,0,0,.72);
}

.modal-panel {
    position: relative;
    width: min(720px, 94vw);
    max-height: 86vh;
    overflow: auto;
    padding: 22px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.modal-title {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
}

.modal-item {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.modal-thumb {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: var(--radius);
}

.modal-item-title {
    font-weight: 700;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-grid label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
}

.modal-span {
    grid-column: 1 / -1;
}

.modal-input,
.modal-textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.28);
    color: #fff;
    border-radius: var(--radius);
    padding: 10px 12px;
}

.modal-textarea {
    min-height: 112px;
    resize: vertical;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.modal-mailto {
    display: inline-block;
    margin-top: 12px;
    color: var(--muted);
}

.impressum-block {
    max-width: 820px;
    margin-bottom: 34px;
}

.impressum-block h2 {
    color: #fff;
    font-size: 20px;
}

.paint-cta {
    display: none;
}

.blog-header {
    width: min(980px, 100%);
    margin: 0 auto 28px;
    text-align: center;
}

.blog-header h1 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 500;
}

.blog-header p {
    color: var(--muted);
}

.blog-grid {
    width: min(980px, 100%);
    margin: 0 auto 56px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 18px;
}

.blog-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

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

.blog-content {
    padding: 20px;
}

.blog-meta {
    color: var(--faint);
    font-size: 13px;
    margin-bottom: 8px;
}

.blog-content h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.blog-content p {
    color: var(--muted);
    line-height: 1.65;
}

@media (max-width: 980px) {
    .home-hero,
    .detail-shell,
    .about-card {
        grid-template-columns: 1fr;
    }

    .home-hero {
        grid-template-areas:
            "copy"
            "portrait"
            "actions";
    }

    .home-portrait {
        max-width: 460px;
        width: 100%;
        margin: 0 auto;
    }

    .featured-strip,
    .gallery-grid.cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-card {
        grid-template-columns: 1fr;
    }

    .news-media img {
        min-height: 0;
        max-height: 520px;
        object-fit: contain;
    }

    .detail-side {
        position: static;
    }

    .detail-thumbs {
        display: flex;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .thumb {
        flex: 0 0 88px;
    }
}

@media (max-width: 680px) {
    .main {
        padding: 24px 14px 38px;
    }

    .signature-desktop {
        display: none;
    }

    .signature-mobile {
        display: none;
    }

    .header-nav {
        justify-content: flex-start;
        align-items: center;
        overflow-x: auto;
        padding-left: 12px;
        padding-right: 12px;
    }

    .nav-item {
        flex: 0 0 auto;
    }

    .nav-signature {
        display: block;
        flex: 0 0 auto;
        height: 42px;
        width: auto;
        margin-left: auto;
        margin-right: 4px;
        opacity: .95;
        transform: scaleX(1.58);
        transform-origin: right center;
        filter: drop-shadow(0 0 8px rgba(216, 189, 122, .28));
    }

    .home-copy h1 {
        font-size: clamp(48px, 18vw, 76px);
    }

    .home-actions {
        order: 3;
        margin-top: 4px;
    }

    .featured-strip,
    .gallery-grid.cols-2,
    .gallery-grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .view-toggle {
        justify-content: flex-start;
        margin: 0 0 20px;
    }

    .gallery-card img,
    .gallery-grid.cols-3 .gallery-card img {
        height: auto;
        max-height: 74vh;
        object-fit: contain;
    }

    .detail-img {
        height: auto;
        max-height: 70vh;
    }

    .views {
        position: static;
        margin-top: 12px;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
