/* Fotostudio Balsereit */

@font-face {
    font-family: "Lora";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lora-v26-latin-regular.woff2") format("woff2");
}
@font-face {
    font-family: "Lora";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lora-v26-latin-italic.woff2") format("woff2");
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/montserrat-v25-latin-regular.woff2") format("woff2");
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/montserrat-v25-latin-700.woff2") format("woff2");
}

:root {
    --color-primary: #c10021;
    --color-primary-dark: #9a001a;
    --color-bg: #f8f8f8;
    --color-bg-secondary: #f1f1f1;
    --color-surface: #fff;
    --color-text: #5a5a5a;
    --color-heading: #343434;
    --color-dark: #232323;
    --color-on-dark: #c9c9c9;
    --color-border: #e6e6e6;
    --font-body: "Lora", Georgia, serif;
    --font-heading: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --header-height: 64px;
    --space: clamp(1rem, 3vw, 2rem);
    --section: clamp(3rem, 7vw, 6rem);
    --max-width: 1170px;
    --max-text-width: 760px;
    --shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

*, *::before, *::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
}
body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font: 1.0625rem/1.75 var(--font-body);
    -webkit-font-smoothing: antialiased;
}
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: var(--color-primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}
a:hover {
    color: var(--color-primary-dark);
}
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6, .h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.25;
    margin: 1.5em 0 0.6em;
}
h1, h2 {
    text-transform: uppercase;
}
h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-top: 0;
}
h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}
h3 {
    font-size: 1.35rem;
}
h4, .h4 {
    font-size: 1.1rem;
}
h5, h6 {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}
hr {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin: 1.5rem 0;
}
.lead {
    font-size: 1.3rem;
    margin: 0 0 1.5rem;
}
.kicker {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 1rem;
}
.small {
    font-size: 0.85rem;
}
.text-center {
    text-align: center;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: var(--color-surface);
    padding: 0.5rem 1rem;
}
.skip-link:focus {
    top: 1rem;
}

/* Layout */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--space);
    padding-right: var(--space);
}
.container--text {
    max-width: calc(var(--max-text-width) + 2 * var(--space));
}
.section {
    padding-top: var(--section);
    padding-bottom: var(--section);
}
.section + .section {
    padding-top: 0;
}
.typography > :first-child {
    margin-top: 0;
}
.typography ul, .typography ol {
    padding-left: 1.25em;
}
.typography li + li {
    margin-top: 0.35em;
}
.typography img {
    margin: 1.5rem 0;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    height: var(--header-height);
    padding: 0 var(--space);
    background: var(--color-surface);
    box-shadow: var(--shadow);
}
.logo img {
    width: 110px;
    height: auto;
}
.site-nav {
    display: flex;
    align-items: center;
    flex: 1;
}
.menu, .submenu, .footer-menu, .link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu {
    display: flex;
    gap: 0.25rem;
    flex: 1;
}
.menu a {
    display: block;
    padding: 0.5rem 0.9rem;
    color: var(--color-heading);
    font: 400 0.8rem/1.5 var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
}
.menu a:hover, .menu [aria-current="page"], .menu .is-current > a {
    color: var(--color-primary);
}
.has-children {
    position: relative;
}
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 13rem;
    padding: 0.75rem 0;
    background: var(--color-dark);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.has-children:hover > .submenu, .has-children:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.submenu a {
    color: var(--color-on-dark);
    padding: 0.4rem 1.25rem;
}
.submenu a:hover, .submenu [aria-current="page"] {
    color: #fff;
}
.instagram {
    padding: 0.5rem;
}
.menu-toggle {
    display: none;
}

@media (max-width: 900px) {
    .site-header {
        justify-content: space-between;
    }
    .menu-toggle {
        display: block;
        width: 44px;
        height: 44px;
        border: 0;
        background: none;
        cursor: pointer;
        padding: 10px;
    }
    .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--color-heading);
        position: relative;
        transition: transform 0.2s;
    }
    .menu-toggle__bars::before, .menu-toggle__bars::after {
        content: "";
        position: absolute;
    }
    .menu-toggle__bars::before {
        top: -7px;
    }
    .menu-toggle__bars::after {
        top: 7px;
    }
    [aria-expanded="true"] .menu-toggle__bars {
        background: transparent;
    }
    [aria-expanded="true"] .menu-toggle__bars::before {
        transform: translateY(7px) rotate(45deg);
    }
    [aria-expanded="true"] .menu-toggle__bars::after {
        transform: translateY(-7px) rotate(-45deg);
    }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem var(--space) 1.5rem;
        background: var(--color-surface);
        box-shadow: var(--shadow);
    }
    .site-nav.is-open {
        display: flex;
    }
    .menu {
        flex-direction: column;
    }
    .menu a {
        padding: 0.6rem 0;
    }
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
    }
    .submenu a {
        color: var(--color-text);
        padding: 0.35rem 0;
    }
    .submenu a:hover, .submenu [aria-current="page"] {
        color: var(--color-primary);
    }
    .instagram {
        align-self: flex-start;
        padding: 0.75rem 0 0;
    }
}

/* Hero */

.hero {
    display: grid;
    place-content: center;
    min-height: clamp(260px, 45vh, 520px);
    padding: var(--section) var(--space);
    background: var(--color-bg-secondary);
    text-align: center;
}
.hero .lead {
    margin: 0;
}
.hero--small {
    min-height: 0;
}
.hero--small h1 {
    margin: 0;
}

/* Gallery tiles */

.teasers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
    .teasers {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .teasers {
        grid-template-columns: 1fr;
    }
}
.teaser {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-dark);
}
.teaser img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s, opacity 0.3s;
}
.teaser__title {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: #fff;
    font: 700 1rem/1.3 var(--font-heading);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.teaser:hover img, .teaser:focus-visible img {
    transform: scale(1.04);
    opacity: 0.8;
}

/* Cards, buttons */

.card {
    background: var(--color-surface);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow);
}
.card > :last-child {
    margin-bottom: 0;
}
.button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.75rem;
    border: 0;
    border-radius: 3px;
    background: var(--color-primary);
    color: #fff;
    font: 700 0.8rem/1.5 var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}
.button:hover {
    background: var(--color-primary-dark);
    color: #fff;
}
.news .typography {
    text-align: left;
}

/* Testimonials */

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}
.testimonial {
    margin: 0;
}
.testimonial img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial blockquote {
    margin: 0 0 1rem;
    font-style: italic;
}
.testimonial figcaption strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-heading);
}
.testimonial figcaption span {
    font-size: 0.9rem;
}

/* Justified photo gallery: each tile grows proportionally to its aspect ratio */

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 4px;
}
.gallery::after {
    content: "";
    flex-grow: 999;
}
.gallery a {
    flex-grow: var(--ratio);
    width: calc(var(--ratio) * 260px);
    background: var(--color-bg-secondary);
}
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 600px) {
    .gallery a {
        width: calc(var(--ratio) * 150px);
    }
}

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    background: rgba(15, 15, 15, 0.94);
    border: 0;
    padding: 0;
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
}
.lightbox:not([open]) {
    display: none;
}
.lightbox::backdrop {
    background: rgba(15, 15, 15, 0.94);
}
.lightbox img {
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 6rem);
    width: auto;
    height: auto;
}
.lightbox button {
    position: absolute;
    border: 0;
    background: none;
    color: #fff;
    font: 2.5rem/1 var(--font-heading);
    padding: 1rem;
    cursor: pointer;
    opacity: 0.8;
}
.lightbox button:hover {
    opacity: 1;
}
.lightbox__close {
    top: 0;
    right: 0;
}
.lightbox__prev {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox__next {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox__count {
    position: absolute;
    bottom: 1rem;
    color: var(--color-on-dark);
    font: 0.8rem var(--font-heading);
}

/* Videos */

.videos {
    max-width: 1000px;
}
.video + .video {
    margin-top: var(--section);
}
.video h2 {
    text-align: center;
}
.video video, .video iframe, .video__embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 0;
}
.video__embed {
    position: relative;
    display: grid;
    place-content: center;
    gap: 1rem;
    background-size: cover;
    background-position: center;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-heading);
}
.video__play {
    font-size: 3.5rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.video__note {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
}

/* Contact, links */

.contact-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.5rem;
}
.contact-boxes h2 {
    margin-top: 0;
}
.link-list li {
    margin: 0 0 2rem;
}
.link-list a {
    text-decoration: none;
}
.link-list strong {
    display: block;
    font: 700 1.2rem/1.4 var(--font-heading);
    color: var(--color-heading);
}
.link-list a:hover strong {
    color: var(--color-primary);
}
.link-list span {
    font-size: 0.9rem;
    word-break: break-all;
}

/* Forms */

.form__field {
    margin-bottom: 1.25rem;
}
.form label {
    display: block;
    margin-bottom: 0.35rem;
    font: 0.85rem/1.5 var(--font-heading);
    color: var(--color-heading);
}
.form input, .form select, .form textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #d6d6d6;
    border-radius: 3px;
    background: var(--color-surface);
    color: var(--color-heading);
    font: 1rem/1.5 var(--font-body);
}
.form input:focus, .form select:focus, .form textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(193, 0, 33, 0.15);
}
.has-error input, .has-error select, .has-error textarea {
    border-color: var(--color-primary);
}
.form__error {
    margin: 0.35rem 0 0;
    color: var(--color-primary);
    font-size: 0.9rem;
}
.form__trap {
    position: absolute;
    left: -10000px;
}
.form__message {
    padding: 1rem 1.25rem;
    margin: 0 0 1.5rem;
}
.form__message--error {
    background: #fbe9ec;
    color: var(--color-primary-dark);
}
.form__message--success {
    background: var(--color-surface);
    box-shadow: var(--shadow);
    font-family: var(--font-heading);
    color: var(--color-heading);
}

/* Footer */

.site-footer {
    background: var(--color-dark);
    color: var(--color-on-dark);
    font-size: 0.95rem;
}
.site-footer a {
    color: var(--color-on-dark);
    text-decoration: none;
}
.site-footer a:hover {
    color: #fff;
}
.site-footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem var(--space) 3rem;
}
.site-footer__title {
    margin: 0 0 0.75rem;
    font-style: italic;
    color: #fff;
}
.site-footer address {
    font-style: normal;
}
.footer-menu li + li {
    margin-top: 0.3rem;
}
.site-footer__lower {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem var(--space);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}
.to-top {
    font-size: 1.25rem;
}
