/* Photographer Portfolio – Public Styles
   Dark theme with gold accents, inspired by the reference design. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(ellipse 110% 70% at 50% 0%, #2a2621 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 50% 100%, #1d1a17 0%, transparent 60%),
        #17181c;
    background-attachment: fixed;
    color: #e9e5df;
    line-height: 1.55;
    min-height: 100vh;
    position: relative;
}
/* Filmkorn-Overlay — subtile Textur, keine Ablenkung */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: .05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
@media (prefers-reduced-motion: reduce) {
    body { background-attachment: scroll; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; letter-spacing: 0.01em; }

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------- Header ---------- */
.site-header {
    background: rgba(23, 24, 28, .78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    padding: 22px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(201, 161, 77, .12);
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f5ece0;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
}
.main-nav a { color: #d6cebf; transition: color .2s; }
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: #c9a14d; }
.btn-gold {
    background: #c9a14d;
    color: #1a1c20 !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
}
.btn-gold:hover { background: #d9b060; color: #1a1c20 !important; }
.nav-login { color: #f5ece0 !important; }

/* ---------- Language Switcher ---------- */
.lang-switcher {
    position: relative;
    font-size: 12px;
    letter-spacing: 0.1em;
}
.lang-switcher[open] .lang-caret { transform: rotate(180deg); }
.lang-switcher summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(201, 161, 77, 0.25);
    border-radius: 4px;
    color: #d6cebf;
    transition: border-color .2s, color .2s, background .2s;
    user-select: none;
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher summary:hover { color: #fff; border-color: rgba(201, 161, 77, 0.55); }
.lang-caret { transition: transform .2s ease; opacity: .7; }
.lang-list {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    max-height: 70vh;
    overflow-y: auto;
    background: rgba(20, 21, 24, 0.96);
    backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(201, 161, 77, 0.2);
    border-radius: 6px;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.lang-list li { margin: 0; }
.lang-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    color: #d6cebf;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 400;
    transition: background .15s, color .15s;
}
.lang-list a:hover { background: rgba(201, 161, 77, 0.08); color: #fff; }
.lang-list a.is-active { color: #c9a14d; background: rgba(201, 161, 77, 0.05); }
.lang-code { font-size: 11px; opacity: .55; letter-spacing: 0.08em; }
html[dir="rtl"] .lang-list { right: auto; left: 0; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: #2b2722;
    overflow: hidden;
}
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slider .slick-list,
.hero-slider .slick-track,
.hero-slider .slick-slide > div { height: 100%; }
.hero-slide { height: 100%; }
.hero-slide .hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-overlay {
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(20,18,16,.92) 0%, rgba(20,18,16,.55) 45%, rgba(20,18,16,.1) 100%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 28px;
    max-width: 620px;
}
.hero-has-slider { min-height: 560px; }
.hero-has-slider .slick-prev { left: 18px; }
.hero-has-slider .slick-next { right: 18px; }
.hero h1 {
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-transform: uppercase;
    line-height: 1;
}
.hero .hero-name {
    color: #c9a14d;
    font-size: clamp(54px, 8vw, 104px);
    line-height: 1;
    letter-spacing: 0.015em;
    font-weight: 700;
    display: block;
}
.hero .hero-tagline {
    color: #f6ede0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: 0.01em;
    font-weight: 500;
    display: block;
}
.hero-sub {
    color: #d6cebf;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 13px;
    max-width: 420px;
    margin: 0;
}

/* ---------- Two-col section ---------- */
.two-col { padding: 70px 0 50px; }
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.two-col-grid > .col { min-width: 0; }  /* prevents grid children from overflowing */
.two-col h2 {
    font-size: 28px;
    margin: 0 0 24px;
    color: #f5ece0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.empty { color: #7a7467; font-style: italic; }

/* Stories slider */
.stories-slider, .previews-slider { max-width: 100%; }
.stories-slider .slick-list, .previews-slider .slick-list { overflow: hidden; }
.stories-slider .slick-track, .previews-slider .slick-track { display: flex; }
.stories-slider .slick-slide, .previews-slider .slick-slide { height: auto; }
.stories-slider { margin: 0 -8px; }
.story-slide { padding: 0 8px; }
.story-slide .media {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #2a2d33;
    aspect-ratio: 3/4;
    transition: box-shadow .55s ease, transform .55s ease;
}
.story-slide .media img {
    width: 100%; height: 100%; object-fit: cover;
}
.story-slide .media:hover {
    box-shadow:
        0 0 0 1px rgba(201, 161, 77, .45),
        0 22px 60px rgba(0, 0, 0, .55);
}

/* Previews slider */
.previews-slider { margin: 0 -8px; }
.preview-slide { padding: 0 8px; }
.preview-slide .media {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    /* matches height of 2-up story slides (stories have aspect 3/4 in half-width col) */
    aspect-ratio: 3/2;
    border: 1px solid rgba(201, 161, 77, .18);
    transition: box-shadow .55s ease, border-color .55s ease;
}
.preview-slide .media img {
    width: 100%; height: 100%; object-fit: cover;
}
.preview-slide .media:hover {
    border-color: rgba(201, 161, 77, .45);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .55);
}

/* Play button */
.media-video { cursor: pointer; }
.play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: #1a1c20;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,.4);
    transition: transform .2s;
}
.media-video:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.play-large { width: 66px; height: 66px; font-size: 22px; }

/* Slick arrows (custom, no slick-theme.css dependency) */
.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.slick-prev { left: -14px; }
.slick-next { right: -14px; }
.slick-prev:hover, .slick-next:hover {
    background: #c9a14d;
    color: #1a1c20;
}
.slick-prev:before, .slick-next:before { content: none !important; }
.slick-prev svg, .slick-next svg { display: block; }
.slick-disabled { opacity: .35; cursor: default; pointer-events: none; }

/* ---------- Discount ---------- */
.discount {
    position: relative;
    background: linear-gradient(135deg, #4a0d17 0%, #5a0f1a 100%);
    background-size: cover;
    background-position: center;
    padding: 90px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(201, 161, 77, .18);
    border-bottom: 1px solid rgba(201, 161, 77, .18);
    overflow: hidden;
    min-height: 360px;
}
.discount-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20,18,16,.92) 0%, rgba(20,18,16,.65) 50%, rgba(20,18,16,.2) 100%);
    pointer-events: none;
}
.discount .wrap { position: relative; z-index: 1; }
.discount-text { max-width: 560px; }
.discount h2 { text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.discount-kicker { text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.discount-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
}
.discount-kicker {
    color: #c9a14d;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 12px;
    margin: 0 0 10px;
}
.discount h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin: 0 0 18px;
    color: #f6ede0;
    text-transform: uppercase;
    line-height: 1.1;
}
.cta-btn {
    display: inline-block;
    background: #c9a14d;
    color: #1a1c20;
    padding: 21px 36px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 17px;
    white-space: nowrap;
    box-shadow: 0 0 0 0 rgba(201, 161, 77, 0.55);
    animation: cta-pulse 2s ease-out infinite;
    transition: background .2s, transform .2s;
}
.cta-btn:hover { background: #d9b060; transform: scale(1.03); }
@keyframes cta-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(201, 161, 77, 0.55); }
    70%  { box-shadow: 0 0 0 18px rgba(201, 161, 77, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 161, 77, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .cta-btn { animation: none; }
}

/* ---------- Instagram-Feed ---------- */
.instagram-feed {
    padding: 100px 0 80px;
    background: transparent;
    border-top: none;
    position: relative;
}
.instagram-feed::before {
    content: "";
    display: block;
    width: 56px;
    height: 1px;
    background: rgba(201, 161, 77, .6);
    margin: 0 auto 70px;
}
.instagram-feed h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 6px;
    color: #f5ece0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
}
.instagram-feed .ig-handle {
    display: block;
    text-align: center;
    color: #c9a14d;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 12px;
    margin: 0 0 32px;
    transition: color .2s;
}
.instagram-feed .ig-handle:hover { color: #d9b060; }
.behold-wrap { min-height: 200px; }

/* ---------- Footer ---------- */
.site-footer {
    background: transparent;
    padding: 32px 0;
    color: #8d867a;
    font-size: 13px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}
.socials { display: flex; gap: 12px; }
.socials a {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #3a3a3a;
    border-radius: 50%;
    font-size: 10px;
    letter-spacing: 0;
    color: #d6cebf;
}
.socials a:hover { border-color: #c9a14d; color: #c9a14d; }
.footer-center { text-align: center; }
.main-link {
    text-decoration: underline;
    color: #d6cebf;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 12px;
}
.footer-login {
    display: inline-block;
    color: #6d665a;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 10px;
    text-decoration: none;
    opacity: .75;
    transition: color .2s, opacity .2s;
}
.footer-login:hover { color: #c9a14d; opacity: 1; }
.copyright { margin: 8px 0 0; font-size: 12px; }
.footer-right { text-align: right; }
.badge {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #c9a14d;
    font-size: 12px;
}

/* ---------- Gallery page ---------- */
.gallery-page {
    padding: 50px 0 80px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8d867a;
    margin: 0 0 14px;
}
.breadcrumb a {
    color: #d6cebf;
    text-decoration: none;
    transition: color .2s;
}
.breadcrumb a:hover { color: #c9a14d; }
.breadcrumb-sep { color: #4a4740; }
.breadcrumb-current { color: #c9a14d; }
.gallery-title {
    font-size: clamp(32px, 5vw, 52px);
    margin: 0 0 36px;
    padding-top: 22px;
    color: #f5ece0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    position: relative;
}
.gallery-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 1px;
    background: #c9a14d;
}
.mosaic {
    column-count: 3;
    column-gap: 14px;
}
@media (max-width: 900px) { .mosaic { column-count: 2; } }
@media (max-width: 560px) { .mosaic { column-count: 1; } }
.mosaic .tile {
    position: relative;
    margin: 0 0 14px;
    break-inside: avoid;
    border-radius: 8px;
    overflow: hidden;
    background: #2a2d33;
    display: block;
    cursor: default;
    transition: box-shadow .55s ease, transform .55s ease;
}
.mosaic .tile:hover {
    box-shadow:
        0 0 0 1px rgba(201, 161, 77, .4),
        0 22px 60px rgba(0, 0, 0, .5);
    transform: translateY(-2px);
}
.mosaic .tile-video { cursor: pointer; }
.mosaic .tile img,
.mosaic .tile video {
    display: block;
    width: 100%;
    height: auto;
}
.mosaic .tile .play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #1a1c20;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,.45);
    transition: transform .2s;
}
.mosaic .tile-video:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.mosaic-status {
    text-align: center;
    color: #7a7467;
    font-size: 13px;
    margin-top: 22px;
    min-height: 18px;
}
.mosaic-sentinel { height: 1px; }

/* ---------- Video modal ---------- */
.video-modal {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
}
.video-modal[hidden] { display: none; }
.video-modal video { max-width: 90vw; max-height: 85vh; background: #000; }
.video-close {
    position: absolute;
    top: 20px; right: 24px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

/* ---------- Scroll reveal ---------- */
.has-js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 1100ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.has-js .reveal.is-visible {
    opacity: 1;
    transform: none;
}
/* Slider-Container: nur fade, kein translate — Slick-Layout bleibt stabil */
.has-js .stories-slider.reveal,
.has-js .previews-slider.reveal { transform: none; }

.has-js .reveal-words .rv-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.35em);
    transition:
        opacity 900ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.has-js .reveal-words.is-visible .rv-word {
    opacity: 1;
    transform: none;
}

.has-js .reveal-tile {
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.has-js .reveal-tile.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .has-js .reveal,
    .has-js .reveal-words .rv-word,
    .has-js .reveal-tile {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
    body { background-attachment: scroll; }
    .site-header .wrap {
        position: relative;
        flex-wrap: wrap;
        gap: 10px 12px;
        align-items: flex-start;
        padding-right: 108px;  /* Reserveplatz für JOIN-NOW-Button oben rechts */
    }
    .site-header .brand {
        flex: 1 1 100%;
        font-size: 32px;
        line-height: 1.1;
        letter-spacing: 0.05em;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
    .main-nav {
        flex: 1 1 100%;
        gap: 14px;
        font-size: 11px;
        letter-spacing: 0.1em;
        flex-wrap: nowrap;
    }
    .main-nav > a:not(.btn-gold) { white-space: nowrap; }
    .main-nav .lang-switcher { margin-left: auto; }
    .lang-switcher summary { padding: 5px 8px; font-size: 11px; }
    .main-nav .btn-gold {
        position: absolute;
        top: 0;
        right: 28px;  /* matches .wrap horizontal padding */
        padding: 9px 14px;
        font-size: 11px;
        letter-spacing: 0.12em;
    }
    .two-col-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-content { padding: 60px 28px; }
    .discount-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-right { text-align: center; }
    .socials { justify-content: center; }
}
