/* Startseite: ausgewählte Bildübersicht. Nur auf der Startseite geladen. */
:root {
    --home-ink: #1d1d1b;
    --home-muted: #595b58;
    --home-red: #bd2529;
    --home-gutter: clamp(1.25rem, 3.15vw, 3rem);
}
body[data-section="home"] { display: flex; min-height: 100vh; min-height: 100svh; flex-direction: column; color: var(--home-ink); }
.container-xxl { max-width: 1440px; padding-inline: var(--home-gutter); }
.home-navigation { display: grid; grid-template-columns: minmax(12rem, 1fr) auto minmax(15rem, 1fr); align-items: center; gap: 2rem; min-height: 8.6rem; padding-inline: 2rem; }
.home-navigation > * { min-width: 0; }
.home-navigation__brand { max-width: 100%; display: block; width: min(100%, 17rem); }
.home-navigation__brand img { display: block; width: 100%; height: auto; }
.home-navigation__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.4rem; }
.home-navigation__links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .35rem; text-decoration: none; line-height: 1.4; }
.home-navigation__contact { display: grid; justify-self: end; margin: 0; font-size: 1rem; line-height: 1.4; }
.home-navigation__contact a { padding-block: .1rem; color: var(--home-muted); text-decoration: none; overflow-wrap: anywhere; }
.home-navigation a:hover { color: var(--home-red); text-decoration: underline; }
.home-navigation a:focus-visible, .home-gallery__route:focus-visible, .home-footer a:focus-visible, .home-footer button:focus-visible { outline: 2px solid var(--home-red); outline-offset: 5px; border-radius: 2px; }
.home-gallery { display: flex; flex: 1 0 auto; align-items: center; padding-block: 0; }
.home-gallery > .container-xxl { width: 100%; }
.home-gallery__intro { display: flex; min-height: clamp(10rem, 25vh, 14rem); margin-bottom: clamp(8rem, 16vh, 17rem); flex-direction: column; justify-content: center; overflow-wrap: anywhere; hyphens: auto; padding-inline: 2rem; text-align: center; }
.home-gallery__eyebrow { width: fit-content; margin: 0 auto .75rem; padding-bottom: .6rem; border-bottom: 2px solid var(--home-red); font-size: .8rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.home-gallery h1 { margin: 0 0 .75rem; font-family: var(--ca-font-display); font-size: clamp(2.8rem, 5.15vw, 4.65rem); font-weight: 500; line-height: 1.06; letter-spacing: -.045em; }
.home-gallery__lead { margin: 0; color: var(--home-muted); font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.5; }
.home-gallery__areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.home-gallery__area { min-width: 0; }
.home-gallery__route { display: flex; height: 100%; flex-direction: column; color: inherit; text-decoration: none; }
.home-gallery__photo { display: block; width: 100%; height: clamp(10rem, 25vh, 17.25rem); object-fit: cover; object-position: center; border-radius: .3rem; }
.home-gallery__content { overflow-wrap: anywhere; hyphens: auto; display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.15rem 1.6rem 0; }
.home-gallery h2 { margin: 0 0 .55rem; font-family: var(--ca-font-display); font-size: clamp(2.5rem, 3.3vw, 3rem); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.home-gallery__content p { max-width: 33ch; margin: 0 0 1.2rem; color: var(--home-muted); font-size: 1.125rem; line-height: 1.5; }
.home-gallery__link { max-width: 100%; display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: auto; font-size: 1.125rem; text-decoration-line: underline; text-decoration-color: var(--home-red); text-decoration-thickness: 1px; text-underline-offset: .5rem; }
.home-gallery__route:hover .home-gallery__link, .home-gallery__route:focus-visible .home-gallery__link { color: var(--home-red); text-decoration-thickness: 2px; }
.home-footer { flex: 0 0 auto; color: var(--home-muted); border-top: 1px solid var(--ca-line); font-size: 1rem; }
.home-footer__links { display: flex; flex-wrap: wrap; gap: .3rem 1.35rem; align-items: center; justify-content: center; padding-block: 1rem; text-align: center; }
.home-footer a, .home-footer button { max-width: 100%; display: inline-flex; min-height: 2.75rem; align-items: center; overflow-wrap: anywhere; }
.home-footer a:hover, .home-footer button:hover { color: var(--home-red); }
@media (max-width: 74.99rem) {
    .home-navigation { grid-template-columns: minmax(11rem, 1fr) auto; gap: .5rem 2rem; padding: 1.25rem 0; }
    .home-navigation__links { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
    .home-navigation__contact { grid-column: 2; grid-row: 1; }
    .home-gallery__intro { overflow-wrap: anywhere; hyphens: auto; padding-inline: 0; }
    .home-gallery__content { padding-inline: .5rem; }
}
@media (max-width: 47.99rem) {
    .home-navigation { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .home-navigation__brand { width: 14rem; }
    .home-navigation__links { grid-row: 2; gap: .2rem 1rem; }
    .home-navigation__links a { padding-inline: 0; }
    .home-navigation__contact { grid-column: 1; grid-row: 3; justify-self: start; font-size: 1rem; }
    .home-gallery { align-items: flex-start; padding-block: 2.1rem 2.5rem; }
    .home-gallery__intro { min-height: auto; margin-bottom: 1.8rem; }
    .home-gallery h1 { font-size: clamp(2.5rem, 8.5vw, 3.8rem); line-height: 1.06; }
    .home-gallery__eyebrow { font-size: .75rem; letter-spacing: .15em; }
    .home-gallery__areas { grid-template-columns: 1fr; gap: 2.6rem; }
    .home-gallery__photo { aspect-ratio: auto; }
    .home-gallery__content { padding-inline: 0; }
    .home-gallery__content p { margin-bottom: .65rem; }
    .home-footer__links { gap: .2rem 1rem; padding-block: .8rem; }
}
