:root {
    --primary: #102C26;
    --secondary: #B08D57;
    --light: #F3EEE3;
    --dark: #0D211D;
    --white: #ffffff;
}

/* cormorant-garamond-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('assets/fonts/cormorant-garamond-v21-latin-500.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* cormorant-garamond-500italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 500;
    src: url('assets/fonts/cormorant-garamond-v21-latin-500italic.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('assets/fonts/cormorant-garamond-v21-latin-500italic.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* jost-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/jost-v20-latin-regular.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('assets/fonts/jost-v20-latin-regular.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* jost-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Jost';
    font-style: italic;
    font-weight: 400;
    src: url('assets/fonts/jost-v20-latin-italic.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('assets/fonts/jost-v20-latin-italic.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* jost-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Jost';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/jost-v20-latin-600.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('assets/fonts/jost-v20-latin-600.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* jost-600italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Jost';
    font-style: italic;
    font-weight: 600;
    src: url('assets/fonts/jost-v20-latin-600italic.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('assets/fonts/jost-v20-latin-600italic.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--primary);
    background: var(--light);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
}

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

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 110px);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    font-family: 'Jost', sans-serif;
    font-size: 1.0625rem;
    line-height: 1;
    text-decoration: none;
    color: var(--white);
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn--primary {
    background: var(--primary);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: var(--secondary);
}

.btn--secondary {
    background: var(--secondary);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
    background: var(--primary);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 4px;
    font-size: 1.0625rem;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: color .25s ease;
}

.link-arrow svg {
    transition: transform .25s ease;
}

.link-arrow:hover,
.link-arrow:focus-visible {
    color: var(--secondary);
}

.link-arrow:hover svg,
.link-arrow:focus-visible svg {
    transform: translate(2px, -2px);
}

a:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 4px;
}

/* ---------- Header ---------- */
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
}

.site-header__logo img {
    width: clamp(180px, 16vw, 292px);
}

/* ---------- Hero ---------- */
.hero {
    min-height: calc(100vh - 142px);
    min-height: calc(100svh - 142px);
    display: flex;
    align-items: center;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: clamp(40px, 8vh, 100px);
    padding-bottom: clamp(60px, 12vh, 140px);
}

.hero__logo {
    width: clamp(240px, 22vw, 390px);
    margin-bottom: 40px;
}

.hero__title {
    font-size: clamp(2.5rem, 4.2vw, 3.75rem);
    color: var(--primary);
    margin-bottom: 36px;
}

.hero__title em {
    font-style: italic;
    color: var(--secondary);
}

.hero__text {
    max-width: 640px;
    margin: 0 0 24px;
    font-size: clamp(1.0625rem, 1.1vw, 1.25rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 24px;
}

/* ---------- Projekt ---------- */
.project {
    padding: clamp(80px, 10vw, 150px) 0;
}

.project__inner {
    max-width: 1440px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: clamp(48px, 6vw, 90px);
    align-items: start;
}

.eyebrow {
    margin: 0 0 14px;
    font-size: .9375rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.project__title {
    font-size: clamp(2.5rem, 3.6vw, 3.75rem);
    margin-bottom: 28px;
}

.project__title em {
    font-style: italic;
    color: var(--secondary);
}

.project__content p {
    margin: 0 0 24px;
    font-size: 1.0625rem;
    line-height: 1.6;
    max-width: 680px;
}

.project__content strong {
    font-weight: 600;
}

.feature-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 12px 70px;
    font-size: 1.0625rem;
}

.feature-list li {
    position: relative;
    padding-left: 18px;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: .62em;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    transform: rotate(45deg);
}

.project__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 36px;
}

.project__media {
    position: relative;
    margin: 0;
}

.project__frame {
    position: relative;
}

.project__image {
    display: block;
    position: relative;
    overflow: hidden;
}

.project__image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .6s ease, opacity .3s ease;
}

.project__image img.is-fading {
    opacity: 0;
}

.project__image:hover img {
    transform: scale(1.03);
}

.project__zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--white);
    background: rgba(16, 44, 38, .55);
    opacity: 0;
    transition: opacity .25s ease;
}

.project__image:hover .project__zoom,
.project__image:focus-visible .project__zoom {
    opacity: 1;
}

.project__caption {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px 20px 12px;
    font-size: .9375rem;
    background: rgba(243, 238, 227, .85);
    pointer-events: none;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
}

.slider-controls__count {
    font-size: .9375rem;
    letter-spacing: .12em;
    font-variant-numeric: tabular-nums;
}

.slider-controls__count [data-slider-current] {
    color: var(--secondary);
}

.slider-controls__nav {
    display: flex;
    gap: 8px;
}

.slider-controls__btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: var(--primary);
    background: transparent;
    border: 1px solid rgba(16, 44, 38, .25);
    border-radius: 0;
    cursor: pointer;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.slider-controls__btn:hover,
.slider-controls__btn:focus-visible {
    color: var(--white);
    background: var(--secondary);
    border-color: var(--secondary);
}

.slider-controls__btn:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* ---------- Lightbox ---------- */
html.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 44, 38, .96);
    color: var(--light);
    opacity: 0;
    transition: opacity .25s ease;
}

.lightbox.is-open {
    opacity: 1;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__stage {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 90px;
}

.lightbox__stage img {
    max-width: 100%;
    max-height: calc(100vh - 170px);
    max-height: calc(100svh - 170px);
    width: auto;
    height: auto;
    opacity: 0;
    transition: opacity .3s ease;
}

.lightbox__stage img.is-loaded {
    opacity: 1;
}

.lightbox__counter {
    margin-top: 18px;
    font-size: .9375rem;
    letter-spacing: .1em;
    color: var(--secondary);
}

.lightbox button {
    position: absolute;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    color: var(--light);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color .25s ease;
}

.lightbox button:hover,
.lightbox button:focus-visible {
    color: var(--secondary);
}

.lightbox button:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

.lightbox__close {
    top: 16px;
    right: 16px;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__nav--prev {
    left: 16px;
}

.lightbox__nav--next {
    right: 16px;
}

/* ---------- Footer / Kontakt ---------- */
.site-footer {
    color: var(--light);
    background: var(--primary);
}

.site-footer a {
    text-decoration: none;
    transition: color .25s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--secondary);
}

.contact {
    padding: 5rem 0;
    text-align: center;
}

.contact__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__title {
    font-size: clamp(2.5rem, 3.6vw, 3.75rem);
    line-height: 1.05;
    margin-bottom: 24px;
}

.contact__title em {
    font-style: italic;
}

.contact__text {
    margin: 0 0 30px;
    font-size: 1.0625rem;
    line-height: 1.55;
}

.contact__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.contact__link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.75rem, 2.2vw, 2.25rem);
    line-height: 1.2;
    word-break: break-word;
}

.contact__link svg {
    flex-shrink: 0;
}

.contact__divider {
    display: block;
    width: 92px;
    height: 1px;
    margin: 38px 0 34px;
    background: rgba(243, 238, 227, .25);
}

.contact__address {
    font-style: normal;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.contact__address strong {
    font-weight: 600;
}

.footer-bar {
    background: #0e211d;
}

.footer-bar__inner {
    max-width: 1440px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-bar__logo img {
    width: clamp(180px, 14vw, 254px);
}

.footer-bar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 30px;
    font-size: 1.0625rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .project__inner {
        grid-template-columns: 1fr;
    }

    .project__media {
        order: -1;
    }
}

@media (max-width: 767px) {
    .site-header__inner {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .site-header .btn {
        min-height: 42px;
        padding: 0 16px;
        font-size: .9375rem;
    }

    .hero__logo {
        margin-bottom: 28px;
    }

    .hero__title em {
        display: block;
    }

    .hide-mobile {
        display: none;
    }

    .hero {
        min-height: calc(100svh - 82px);
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .lightbox__stage {
        padding: 70px 12px;
    }

    .lightbox__nav {
        top: auto;
        bottom: 12px;
        transform: none;
    }

    .footer-bar__inner {
        flex-direction: column;
        justify-content: center;
    }

    .footer-bar__nav {
        justify-content: center;
    }

    .contact__text br {
        display: none;
    }
}

@media (max-width: 420px) {
    .site-header__logo img {
        width: 150px;
    }

    .site-header .btn {
        padding: 0 12px;
        font-size: .875rem;
    }
}

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

    * {
        transition: none !important;
    }
}
