/* Füchsle – Grundstilistik
   Bewusst ohne externe Schriften, damit keine Daten an Dritte fließen. */

:root {
    /* Ehrliche, natürliche Farben — Leinen, Eiche, Stein, Erde */
    --ink: #2e2a26;
    --ink-muted: #6b635a;
    --paper: #f6f2ec;
    --surface: #fcfaf6;
    --accent: #8a7355;
    --accent-dark: #6d5740;
    --line: #ddd4c8;
    --earth: #3d3630;

    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --gutter: 1.5rem;
    --measure: 68ch;
    --radius: 2px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: var(--sans);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p,
ul,
ol {
    margin: 0 0 1.25em;
}

a {
    color: var(--accent-dark);
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--ink);
}

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

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 3rem 0;
}

/* Layout ------------------------------------------------------------------ */

.wrap {
    width: min(100% - 2 * var(--gutter), 1180px);
    margin-inline: auto;
}

.wrap--narrow {
    width: min(100% - 2 * var(--gutter), 780px);
    margin-inline: auto;
}

.prose {
    max-width: var(--measure);
}

.prose :last-child {
    margin-bottom: 0;
}

.section {
    padding-block: clamp(3rem, 6vw, 6rem);
}

.section--tint {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 100;
    background: var(--surface);
    padding: 0.75rem 1rem;
}

/* Kopfbereich ------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        backdrop-filter 0.25s ease,
        color 0.25s ease;
}

/* Startseite: Header liegt über dem Hero, erst beim Scrollen undurchsichtig */
body.has-hero .site-header {
    position: fixed;
    left: 0;
    right: 0;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(6px);
    border-bottom-color: var(--line);
}

body.has-hero .site-header.is-scrolled {
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: blur(8px);
}

.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 1rem 2rem;
    padding-block: 1rem;
}

.wordmark {
    font-family: var(--sans);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--ink);
    text-decoration: none;
}

.wordmark span {
    color: var(--accent);
}

.site-nav {
    margin-left: auto;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    padding-block: 0.25rem;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current] {
    color: var(--ink);
    border-bottom-color: var(--accent);
}

/* Seitenkopf -------------------------------------------------------------- */

.pagehead {
    padding-block: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 3vw, 3rem);
}

.pagehead__kicker {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.pagehead__lead {
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
    color: var(--ink-muted);
    max-width: 58ch;
    margin: 0;
}

/* Hero — Papier und Raum: Typo trägt, Bild ist Beweis */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: clamp(36rem, 100svh, 52rem);
    background: var(--paper);
    color: var(--ink);
}

.hero__claim {
    display: flex;
    align-items: center;
    padding:
        clamp(6rem, 14vw, 8.5rem)
        clamp(1.5rem, 4vw, 3rem)
        clamp(2.5rem, 6vw, 4rem)
        max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter)));
    border-right: 3px solid var(--accent);
    background:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent calc(2rem - 1px),
            color-mix(in srgb, var(--line) 55%, transparent) calc(2rem - 1px),
            color-mix(in srgb, var(--line) 55%, transparent) 2rem
        );
}

.hero__claim-inner {
    width: min(100%, 26rem);
}

.hero__meta {
    margin: 0 0 1.75rem;
    padding-left: 0.125rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--accent-dark);
    max-width: 22ch;
}

.hero__statement {
    margin: 0 0 1.5rem;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.hero__line {
    display: block;
    font-size: clamp(2.75rem, 5.8vw, 4.75rem);
}

.hero__line--accent {
    margin-top: 0.06em;
    font-size: clamp(3.25rem, 7.2vw, 6.25rem);
    color: var(--accent-dark);
}

.hero__hook {
    margin: 0 0 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    font-weight: 600;
    line-height: 1.42;
    color: var(--ink);
    max-width: 28ch;
}

.hero__proof {
    margin: 0 0 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.55;
    color: var(--ink-muted);
    max-width: 30ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.hero__link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent-dark);
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
    padding-bottom: 0.15em;
    transition: color 0.2s, border-color 0.2s;
}

.hero__link:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

.hero__room {
    position: relative;
    margin: 0;
    min-height: clamp(18rem, 42vh, 28rem);
    overflow: hidden;
}

.hero__photo {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: 42% center;
}

.button--hero {
    margin-top: 0;
    background: var(--earth);
}

.button--hero:hover {
    background: var(--accent-dark);
}

.prose--intro {
    font-size: clamp(1.0625rem, 1.2vw, 1.1875rem);
}

.prose--intro p:first-child {
    font-size: clamp(1.1875rem, 1.5vw, 1.375rem);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero__claim {
        order: 2;
        border-right: 0;
        border-top: 3px solid var(--accent);
        padding-inline: var(--gutter);
        background: var(--paper);
    }

    .hero__room {
        order: 1;
        min-height: clamp(16rem, 52vw, 22rem);
    }

    .hero__claim-inner {
        width: 100%;
        max-width: 28rem;
    }
}

/* Karten ------------------------------------------------------------------ */

.cards {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.card__image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.card__image--empty {
    aspect-ratio: 4 / 3;
    background: repeating-linear-gradient(
        135deg,
        var(--line),
        var(--line) 12px,
        color-mix(in srgb, var(--line) 70%, var(--paper)) 12px,
        color-mix(in srgb, var(--line) 70%, var(--paper)) 24px
    );
}

.card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card__title {
    font-family: var(--sans);
    font-size: 1.3125rem;
    font-weight: 600;
    margin: 0 0 0.4em;
}

.card__title a {
    text-decoration: none;
    color: var(--ink);
}

.card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.card__text {
    color: var(--ink-muted);
    margin: 0;
}

.card__meta {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.card {
    position: relative;
}

/* Galerie ----------------------------------------------------------------- */

.gallery {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
}

.gallery img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
    border-radius: var(--radius);
}

/* Beschreibungsliste ------------------------------------------------------ */

.facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 2rem;
    margin: 0 0 2rem;
    padding: 1.25rem 0;
    border-block: 1px solid var(--line);
    font-size: 0.9375rem;
}

.facts dt {
    color: var(--ink-muted);
}

.facts dd {
    margin: 0;
}

/* Schaltflächen ----------------------------------------------------------- */

.button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
}

.button:hover {
    background: var(--accent-dark);
    color: #fff;
}

/* Fußbereich -------------------------------------------------------------- */

.site-footer {
    background: var(--ink);
    color: #c9c0b5;
    padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
    margin-top: clamp(3rem, 6vw, 6rem);
    font-size: 0.9375rem;
}

.site-footer a {
    color: #e6ded3;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer h2 {
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--sans);
    color: #8f867c;
    margin-bottom: 1rem;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.footer-grid address {
    font-style: normal;
    white-space: pre-line;
}

.hours {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 1.5rem;
    margin: 0;
}

.hours dt {
    color: #8f867c;
}

.hours dd {
    margin: 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__legal {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #3d3630;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.8125rem;
    color: #8f867c;
}

.site-footer__legal ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
}

/* Hinweis für Platzhalterinhalte ------------------------------------------ */

.notice {
    background: #fff6e0;
    border: 1px solid #e8d9b0;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}
