/* ── Fonts ────────────────────────────────────────────────── */
@font-face {
    font-family: "Geist";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/GeistVariable.woff2") format("woff2");
}

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }

body {
    font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f2f3f3;
    color: #26241f;
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #26241f;
    text-decoration: underline;
    text-decoration-color: #b8bbbc;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration-color: #26241f;
}

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

/* ── Layout ───────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 700px) {
    .container { padding: 0 2rem; }
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
    border-bottom: 1px solid #dde0e0;
    background: #f2f3f3;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.brand {
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-logo {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.site-nav {
    display: flex;
    gap: 2rem;
}

.site-nav a {
    text-decoration: none;
    font-size: 0.95rem;
    color: #48473f;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: #26241f;
}

.site-nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: #26241f;
    text-underline-offset: 6px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 1.75rem;
    height: 1.1rem;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #26241f;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 699px) {
    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #f2f3f3;
        border-bottom: 1px solid #dde0e0;
        padding: 0.5rem 1.25rem 1rem;
    }

    .site-nav.is-open { display: flex; }

    .site-nav a {
        padding: 0.85rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid #e5e7e7;
    }

    .site-nav a:last-child { border-bottom: 0; }
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid #dde0e0;
    margin-top: 6rem;
    padding: 3rem 0;
    font-size: 0.92rem;
    color: #48473f;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-block strong {
    color: #26241f;
    font-weight: 600;
}

.footer-meta {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    align-items: flex-start;
}

@media (max-width: 700px) {
    .footer-inner { grid-template-columns: 1fr; }
    .footer-meta { justify-content: flex-start; }
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3 {
    color: #26241f;
    font-weight: 600;
    letter-spacing: 0.005em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin: 0 0 1.25rem;
}

h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    margin: 0 0 1rem;
}

h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

* + h2 { margin-top: 3rem; }
* + h3 { margin-top: 2rem; }

p { margin: 0 0 1rem; }

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: #36342e;
    max-width: 38rem;
}

/* ── Page sections ────────────────────────────────────────── */
.page {
    padding-top: 3rem;
}

.section {
    margin: 5rem 0;
}

.section-header {
    margin-bottom: 2rem;
    max-width: 38rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    padding-top: 3rem;
    margin-bottom: 4rem;
}

.hero-photo {
    margin-bottom: 2.5rem;
}

.hero-text {
    max-width: 38rem;
}

/* ── Photo placeholder ────────────────────────────────────── */
.photo {
    background: #e5e7e7;
    border: 1px dashed #b8bbbc;
    color: #76746e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-align: center;
    padding: 1rem;
}

.photo--wide { aspect-ratio: 21 / 9; }
.photo--landscape { aspect-ratio: 4 / 3; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--portrait { aspect-ratio: 3 / 4; }

/* ── Photo grid ───────────────────────────────────────────── */
.photo-grid {
    display: grid;
    gap: 1rem;
}

.photo-grid--2 { grid-template-columns: repeat(2, 1fr); }
.photo-grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 700px) {
    .photo-grid--2,
    .photo-grid--3 { grid-template-columns: 1fr; }
}

/* ── Eckdaten / Specs ─────────────────────────────────────── */
.specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    gap: 0.5rem 2rem;
    border-top: 1px solid #dde0e0;
    border-bottom: 1px solid #dde0e0;
    padding: 2rem 0;
    margin: 0;
}

.specs dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6a6862;
    margin: 0;
}

.specs dd {
    margin: 0;
    font-size: 1.05rem;
    color: #26241f;
}

@media (max-width: 700px) {
    .specs {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
        gap: 0.25rem 0;
    }
    .specs dt { margin-top: 1rem; }
    .specs dt:first-child { margin-top: 0; }
}

/* ── Teaser block (Index) ─────────────────────────────────── */
.teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.teaser--reverse .teaser-photo { order: 2; }

.teaser-text { max-width: 32rem; }

.teaser h2 { margin-bottom: 0.75rem; }

.more-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

@media (max-width: 800px) {
    .teaser { grid-template-columns: 1fr; gap: 1.5rem; }
    .teaser--reverse .teaser-photo { order: 0; }
}

/* ── Inhaltslisten (Lage / Umgebung) ──────────────────────── */
.list-plain {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #dde0e0;
}

.list-plain li {
    padding: 1rem 0;
    border-bottom: 1px solid #dde0e0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: baseline;
}

.list-plain .meta {
    color: #6a6862;
    font-size: 0.9rem;
}

.list-plain .addr {
    display: block;
    margin-top: 0.15rem;
    color: #6a6862;
    font-size: 0.9rem;
}

.route-link {
    text-decoration: none;
    margin-left: 0.6rem;
}

.route-link svg {
    vertical-align: -4px;
}

.list-plain .desc {
    display: block;
    margin-top: 0.25rem;
    color: #6a6862;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ── Two-column text layout ───────────────────────────────── */
.cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 700px) {
    .cols-2 { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── Note (sachlicher Hinweis, z. B. Anfrage) ─────────────── */
.note {
    border-left: 2px solid #b8bbbc;
    padding: 0.5rem 0 0.5rem 1.25rem;
    color: #48473f;
    margin: 2rem 0;
}

/* ── Figure & caption ────────────────────────────────────── */
figure { margin: 0; }

figcaption {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #6a6862;
}

/* ── Full-bleed Bilder auf Mobile ─────────────────────────── */
@media (max-width: 699px) {
    .hero-photo img,
    .teaser-photo img,
    .section > img,
    figure > img {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}
