/* ==========================================================================
   Zum Huthaus – Wirtschaft & Pension
   Design „Glück auf!“ · alle Schriften lokal eingebunden
   ========================================================================== */

@font-face {
    font-family: "DM Serif Display";
    src: url("../fonts/dm-serif-display-400.woff2") format("woff2");
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "DM Serif Display";
    src: url("../fonts/dm-serif-display-400-italic.woff2") format("woff2");
    font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
    font-family: "Work Sans";
    src: url("../fonts/work-sans-var.woff2") format("woff2");
    font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Work Sans";
    src: url("../fonts/work-sans-var-italic.woff2") format("woff2");
    font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
    --bg: #1b1e21;
    --bg-2: #202427;
    --panel: #262a2e;
    --panel-2: #2e3337;
    --line: #3a3f44;
    --text: #ece6da;
    --muted: #b9b2a6;
    --gold: #d6ae5b;
    --gold-2: #e8c77e;
    --gold-ink: #1b1e21;
    --cream: #f4eee2;
    --ok: #86d1a3;
    --danger: #f2a79d;
    --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
    --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius: 6px;
    --wrap: 1240px;
    --gutter: clamp(20px, 4vw, 40px);
    --shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; color: #fff; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon--lg { width: 40px; height: 40px; color: var(--gold); }

.kicker {
    margin: 0 0 .7em; font-size: .82rem; font-weight: 600; letter-spacing: .24em;
    text-transform: uppercase; color: var(--gold);
}

/* Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    min-height: 48px; padding: .7em 1.4em; border-radius: var(--radius);
    border: 2px solid transparent; font: inherit; font-weight: 600; line-height: 1.2;
    text-decoration: none; cursor: pointer; text-align: center;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 8px 24px rgba(214, 174, 91, .28); }
.btn--gold:hover { background: var(--gold-2); color: var(--gold-ink); box-shadow: 0 10px 30px rgba(214, 174, 91, .4); }
.btn--light { background: var(--cream); color: var(--gold-ink); }
.btn--light:hover { background: #fff; color: var(--gold-ink); }
.btn--outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--outline:hover { background: rgba(214, 174, 91, .12); color: var(--gold-2); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { min-height: 58px; padding: .8em 1.8em; font-size: 1.08rem; }
.btn--sm { min-height: 40px; padding: .4em .9em; font-size: .95rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-back { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }

/* Header ----------------------------------------------------------------- */
.site-header { position: relative; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header--overlay {
    position: absolute; inset: 0 0 auto; border-bottom: 0;
    background: linear-gradient(180deg, rgba(20, 22, 25, .7) 0%, rgba(20, 22, 25, .3) 70%, rgba(20, 22, 25, 0) 100%);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; margin-right: auto; }
.brand:hover { color: #fff; }
.logo-mark { width: 54px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.75rem; color: #fff; }
.brand__sub { margin-top: 6px; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.nav-panel { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
    display: block; padding: 8px 0; color: var(--text); text-decoration: none; font-weight: 500;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: #fff; border-bottom-color: rgba(214, 174, 91, .5); }
.main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; line-height: 1.15; }
.header-phone > span { display: flex; flex-direction: column; }
.header-phone__label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.header-phone .icon { color: var(--gold); width: 22px; height: 22px; }
.header-phone:hover { color: #fff; }

.nav-toggle {
    display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
    background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
    font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

@media (max-width: 1120px) {
    .js .nav-toggle { display: inline-flex; }
    .js .nav-panel {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 20px;
        padding: 20px var(--gutter) 28px; background: var(--bg); border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .js .nav-panel.is-open { display: flex; }
    .site-header__inner { position: relative; flex-wrap: wrap; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
    .main-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--gold); }
    .header-actions { flex-direction: column; align-items: stretch; }
    .header-actions .btn { width: 100%; }
    html:not(.js) .nav-panel { flex-wrap: wrap; width: 100%; }
    html:not(.js) .main-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0 18px; }
}

/* Hero (Startseite) ------------------------------------------------------- */
.hero { position: relative; min-height: min(94vh, 880px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(27, 30, 33, .42) 0%, rgba(27, 30, 33, .1) 28%, rgba(27, 30, 33, .22) 50%, rgba(27, 30, 33, .7) 80%, var(--bg) 100%);
}
.hero__content { padding-block: 180px clamp(64px, 9vw, 110px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(3.6rem, 10vw, 8rem); line-height: .95; margin: .1em 0 .3em; text-shadow: 0 4px 30px rgba(0, 0, 0, .45); }
.hero .kicker { padding: 7px 16px; border-radius: 999px; background: rgba(20, 22, 25, .72); color: var(--gold-2); }
.hero__text { max-width: 700px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: #f6f1e7; text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 2px 18px rgba(0, 0, 0, .65); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 18px; }

/* Abschnitte ------------------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--panel { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--top-line { border-top: 1px solid var(--line); }
.section--first { padding-top: clamp(48px, 7vw, 88px); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; max-width: none; text-align: left; }
.section-head--split h2 { margin: 0; }
.page-title { font-size: clamp(2.4rem, 5vw, 3.6rem); }

/* Kacheln Wirtschaft / Pension */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.tile { position: relative; min-height: 600px; border-radius: var(--radius); overflow: hidden; display: flex; isolation: isolate; color: #fff; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.tile:hover .tile__img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 30, 33, 0) 18%, rgba(27, 30, 33, .8) 48%, rgba(27, 30, 33, .97) 100%); }
.tile__body { margin-top: auto; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; }
.tile__title { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: .35em; }
.tile__title a { color: #fff; text-decoration: none; }
.tile__title a:hover { color: var(--gold-2); }
.tile__body > p:not(.kicker) { color: #e6dfd2; max-width: 520px; }
.tile__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Öffnungszeiten & Reservierung */
.visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; align-items: stretch; }
.hours-card, .reserve-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(28px, 4vw, 44px);
}
.hours-card__title { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.status {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
    padding: 8px 16px 8px 14px; border-radius: 999px; font-weight: 600; font-size: .98rem;
    background: rgba(134, 209, 163, .12); color: var(--ok); border: 1px solid rgba(134, 209, 163, .3);
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2.4s infinite; flex: none; }
.status--later { background: rgba(214, 174, 91, .12); color: var(--gold-2); border-color: rgba(214, 174, 91, .35); }
.status--closed { background: rgba(242, 167, 157, .1); color: var(--danger); border-color: rgba(242, 167, 157, .3); }
.status--closed .status__dot, .status--later .status__dot { animation: none; }
.status__holiday { font-weight: 400; opacity: .85; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(134, 209, 163, .55); } 70% { box-shadow: 0 0 0 9px rgba(134, 209, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(134, 209, 163, 0); } }

.hours-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1.06rem; }
.hours-table th, .hours-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.hours-table th { font-weight: 500; color: var(--text); }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: #fff; white-space: nowrap; }
.hours-table tr.is-closed th, .hours-table tr.is-closed td { color: var(--muted); font-weight: 400; }
.hours-table tr.is-closed td { font-style: italic; }
.hours-table tr.is-today th, .hours-table tr.is-today td { background: rgba(214, 174, 91, .12); border-bottom-color: transparent; }
.hours-table tr.is-today th { box-shadow: inset 4px 0 0 var(--gold); border-radius: 4px 0 0 4px; }
.hours-table tr.is-today td { border-radius: 0 4px 4px 0; }
.hours-table tfoot th, .hours-table tfoot td { border-bottom: 0; padding-top: 18px; color: var(--muted); font-weight: 500; }
.today-badge {
    display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; vertical-align: 2px;
    background: var(--gold); color: var(--gold-ink); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hours-card__note { margin: 16px 0 0; color: var(--muted); }

.reserve-card { display: flex; flex-direction: column; align-items: flex-start; border-top: 3px solid var(--gold); }
.reserve-card h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.reserve-card > p { color: var(--muted); }
.reserve-card__phone, .cta-box__phone {
    display: inline-flex; align-items: center; gap: 14px; margin: 4px 0 18px;
    font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; color: var(--gold); text-decoration: none;
}
.reserve-card__phone .icon, .cta-box__phone .icon { width: .8em; height: .8em; }
.reserve-card__phone:hover, .cta-box__phone:hover { color: var(--gold-2); }
.capacity { list-style: none; margin: auto 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; width: 100%; border-top: 1px solid var(--line); }
.capacity li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .95rem; line-height: 1.3; }
.capacity .icon { width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.capacity strong { display: block; color: #fff; font-size: 1.15rem; font-weight: 600; }
.capacity--inline { margin-top: 28px; }

/* Speisekarte */
.menu-panel {
    display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: clamp(24px, 4vw, 48px);
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px);
}
.menu-panel__intro p:not(.kicker) { color: var(--muted); }
.menu-col h3, .menu-card h3 { color: var(--gold); font-size: 1.45rem; }
.menu-col ul, .menu-card ul { list-style: none; margin: 0; padding: 0; }
.menu-col li, .menu-card li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 40px; }
.menu-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; border-top: 3px solid var(--gold); }
@media (max-width: 1000px) { .menu-panel { grid-template-columns: 1fr 1fr; } .menu-panel__intro { grid-column: 1 / -1; } }
@media (max-width: 620px) { .menu-panel { grid-template-columns: 1fr; } }

/* Geschichte-Teaser & Zitate */
.history-teaser__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 6vw, 72px); align-items: center; }
.history-teaser__text > p { color: #d9d2c5; }
.history-teaser__img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.quote { margin: 0 0 1.4em; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.3; color: #fff; margin: 0 0 .5em; }
.quote footer { color: var(--muted); font-size: .95rem; }
.quote footer::before { content: "— "; }

/* Beiträge */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: rgba(214, 174, 91, .6); transform: translateY(-2px); }
.post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--panel-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: flex; height: 100%; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #33383d, var(--panel-2)); }
.post-card__logo { width: 90px; opacity: .8; }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.post-card__title { font-size: 1.55rem; margin-bottom: .4em; }
.post-card__title a { color: #fff; text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__body > p { color: #d3ccbf; }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 48px; }
.pagination a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.empty { text-align: center; color: var(--muted); font-size: 1.15rem; }

.article__head { max-width: 860px; padding-top: clamp(40px, 6vw, 72px); }
.article__date { display: block; margin: 28px 0 10px; color: var(--gold); font-weight: 600; letter-spacing: .04em; }
.article__head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.article__lead { font-size: 1.25rem; color: #ddd6c9; }
.article__figure { margin: 32px auto 0; max-width: calc(1100px + 2 * var(--gutter)); }
.article__figure img { width: 100%; border-radius: var(--radius); }
.article__body { max-width: 760px; margin: 40px auto clamp(64px, 9vw, 112px); font-size: 1.12rem; }

/* Unterseiten-Kopf */
.page-hero { position: relative; min-height: clamp(320px, 42vw, 460px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 30, 33, .35) 0%, rgba(27, 30, 33, .55) 45%, rgba(27, 30, 33, .94) 100%); }
.page-hero__content { padding-block: 72px 44px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: .2em; text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
.page-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #efe9de; max-width: 680px; margin: 0; }

/* Fließtext */
.prose { max-width: 72ch; }
.prose p, .prose li { color: #ddd6c9; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.4em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.3em; color: var(--gold); }
.prose h4 { font-size: 1.15rem; margin-top: 1.2em; font-family: var(--sans); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose ul li::marker { color: var(--gold); }
.prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.3em; }
.prose blockquote p { color: #fff; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose strong { color: #fff; }
.prose > :first-child { margin-top: 0; }
.prose--center { margin-inline: auto; text-align: center; }
.prose--lead > p:first-child { font-size: 1.25rem; color: #fff; }
.prose--legal { max-width: 80ch; }

/* Layout-Helfer */
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.cta-box, .note-box {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(24px, 3.5vw, 36px); border-top: 3px solid var(--gold);
}
.cta-box h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.cta-box > p { color: var(--muted); }
.cta-box__small { font-size: .95rem; color: var(--muted); }
.cta-box--gold { background: linear-gradient(180deg, rgba(214, 174, 91, .14), rgba(214, 174, 91, .04)), var(--panel); border-color: rgba(214, 174, 91, .45); }
.cta-box .btn { margin: 6px 0 20px; }
.note-box h3 { color: var(--gold); }
.note-box .btn { margin-top: 12px; }

.icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.icon-list li { display: flex; align-items: center; gap: 12px; }
.icon-list .icon { color: var(--gold); }
.icon-list a { color: var(--text); text-decoration: none; }
.icon-list a:hover { color: var(--gold-2); text-decoration: underline; }

.features { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.features li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; }
.features .icon { width: 26px; height: 26px; color: var(--gold); }

/* Zimmer */
.room { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.room--flip { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.room--flip .room__text { order: 2; }
.room__text p:not(.kicker) { color: #d9d2c5; font-size: 1.1rem; }
.room__text .btn { margin-top: 8px; }
@media (max-width: 900px) { .room { grid-template-columns: 1fr; } .room--flip .room__text { order: 0; } }

/* Galerie */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery__item a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2; background: var(--panel-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item a:hover img { transform: scale(1.05); }
.gallery__zoom { position: absolute; right: 10px; bottom: 10px; display: flex; padding: 8px; border-radius: 50%; background: rgba(27, 30, 33, .7); color: #fff; opacity: 0; transition: opacity .2s; }
.gallery__item a:hover .gallery__zoom, .gallery__item a:focus-visible .gallery__zoom { opacity: 1; }
.gallery--room { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery--room .gallery__item:first-child { grid-column: span 4; }
.gallery--room .gallery__item:first-child a { aspect-ratio: 16 / 9; }
.gallery--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery--feature .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery--feature .gallery__item:first-child a { aspect-ratio: auto; height: 100%; }
@media (max-width: 700px) {
    .gallery--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery--room { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery--room .gallery__item:first-child, .gallery--feature .gallery__item:first-child { grid-column: span 2; grid-row: auto; }
    .gallery--feature .gallery__item:first-child a { aspect-ratio: 3 / 2; }
}

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: auto; max-width: min(96vw, 1400px); max-height: 94vh; background: transparent; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 11, 13, .92); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: min(96vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: 4px; }
.lightbox figcaption { color: var(--muted); text-align: center; padding: 0 60px; }
.lightbox__btn {
    position: fixed; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(27, 30, 33, .8); color: #fff; cursor: pointer;
}
.lightbox__btn:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Preise */
.price-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.price-table th, .price-table td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.price-table th { font-weight: 500; padding-right: 24px; }
.price-table td { color: #fff; font-weight: 600; }
.split--prices { align-items: stretch; }
.mini-prices { margin: 0 0 16px; }
.mini-prices div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.mini-prices dt { color: var(--muted); font-size: .9rem; }
.mini-prices dd { margin: 0; font-weight: 600; }

/* Formular */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-aside { display: grid; gap: 24px; position: sticky; top: 24px; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } }
.form-intro { font-size: 1.15rem; color: #ddd6c9; margin-bottom: 28px; }
.form-section { margin: 0 0 28px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.form-section legend { display: flex; align-items: center; gap: 10px; padding: 0 10px; margin-left: -10px; font-family: var(--serif); font-size: 1.6rem; color: #fff; }
.form-section legend .icon { color: var(--gold); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.form-grid .field { margin-bottom: 0; }
.field label, .field-label { display: block; margin-bottom: 6px; font-weight: 600; color: #fff; }
.hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.req { color: var(--gold); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="password"], select, textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--text);
    background: var(--bg); border: 1px solid #555b61; border-radius: var(--radius);
    transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 130px; resize: vertical; }
input[type="date"] { color-scheme: dark; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 174, 91, .3); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: .92rem; font-weight: 500; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 52px; padding: 10px 14px; border: 1px solid #555b61; border-radius: var(--radius); background: var(--bg); font-weight: 500; line-height: 1.3; }
.choice input:checked + span { border-color: var(--gold); background: rgba(214, 174, 91, .14); color: #fff; box-shadow: inset 0 0 0 1px var(--gold); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.check-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 4px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.check--top { align-items: flex-start; font-weight: 400; color: #ddd6c9; }
.check input { width: 22px; height: 22px; accent-color: var(--gold); flex: none; margin: 2px 0 0; }
.captcha__label { display: block; margin-bottom: 8px; font-weight: 600; color: #fff; }
.captcha__row { display: flex; align-items: stretch; gap: 12px; }
.captcha__img { flex: none; width: 190px; height: 66px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream); }
.captcha .captcha__input {
    flex: 1 1 auto; min-width: 0; max-width: 220px; height: 66px; min-height: 0; margin: 0;
    text-transform: uppercase; letter-spacing: .3em; font-size: 1.35rem; font-weight: 600; text-align: center;
}
.captcha__refresh {
    flex: none; display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px;
    border: 1px solid #555b61; border-radius: var(--radius); background: var(--bg); color: var(--gold); cursor: pointer;
    transition: border-color .2s, color .2s;
}
.captcha__refresh:hover { border-color: var(--gold); color: var(--gold-2); }
.captcha__refresh:disabled { opacity: .5; cursor: wait; }
.captcha__refresh .icon { width: 24px; height: 24px; }
.captcha .field-error { margin-top: 8px; }
.captcha .hint { margin: 10px 0 0; }
.icon--inline { width: 1em; height: 1em; vertical-align: -2px; color: var(--gold); }
@media (max-width: 600px) {
    .captcha__row { gap: 8px; }
    .captcha__img { width: 145px; height: 50px; }
    .captcha .captcha__input { height: 50px; font-size: 1.1rem; letter-spacing: .18em; }
    .captcha__refresh { width: 50px; height: 50px; }
}
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-submit .hint { margin: 0; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius); margin-bottom: 28px; border: 1px solid; }
.alert h2 { font-size: 1.6rem; margin-bottom: .3em; }
.alert ul { margin: 0; padding-left: 1.1em; }
.alert > .icon { width: 30px; height: 30px; margin-top: 4px; }
.alert--success { background: rgba(134, 209, 163, .1); border-color: rgba(134, 209, 163, .4); }
.alert--success > .icon { color: var(--ok); }
.alert--error { background: rgba(242, 167, 157, .08); border-color: rgba(242, 167, 157, .45); }
.alert--error a { color: var(--danger); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.contact-card h2 { font-size: 1.9rem; margin-top: 16px; }
.contact-card p, .contact-card address { color: var(--muted); }
.contact-card address { margin-bottom: 16px; color: #ddd6c9; }
.contact-card__big { font-family: var(--serif); font-size: 2rem; color: var(--gold); text-decoration: none; line-height: 1.2; overflow-wrap: anywhere; }
.contact-card__big--small { font-size: 1.5rem; }

/* Geschichte */
.history { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.history__aside { position: sticky; top: 32px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.history__mark { width: 70px; margin-bottom: 20px; }
.quote--large p { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
@media (max-width: 900px) { .history { grid-template-columns: 1fr; } .history__aside { position: static; } }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band p:not(.kicker) { color: var(--muted); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.error-page { text-align: center; }
.error-page__mark { width: 110px; margin: 0 auto 24px; }
.error-page__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* Footer */
.site-footer { background: #15171a; border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 80px); font-size: .98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; }
.site-footer__title { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer address { color: #d3ccbf; }
.site-footer__claim { margin-top: 18px; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.site-footer .logo-mark { width: 48px; }
.hours-mini { margin: 0; }
.hours-mini div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.hours-mini dt { color: var(--muted); }
.hours-mini dd { margin: 0; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom nav { display: flex; gap: 20px; }
.site-footer__bottom a { color: var(--muted); }
.site-footer__bottom a:hover { color: var(--gold); }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Mobile Schnellkontakt-Leiste */
.action-bar { display: none; }
@media (max-width: 760px) {
    .action-bar {
        display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(21, 23, 26, .97); border-top: 1px solid var(--line);
    }
    .action-bar .btn { min-height: 50px; padding: .5em .6em; font-size: 1rem; }
    body { padding-bottom: 78px; }
    .header-phone { display: none; }
    .site-header__inner { min-height: 76px; gap: 12px; }
    .hero .kicker { letter-spacing: .14em; font-size: .74rem; }
    .logo-mark { width: 44px; }
    .brand__name { font-size: 1.45rem; }
    .hero__content { padding-top: 140px; }
    .hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
    .tile { min-height: 520px; }
    .tile__actions .btn { flex: 1 1 auto; }
    .hours-table th, .hours-table td { padding: 12px 10px; }
}

@media (max-width: 430px) {
    .nav-toggle { padding: 0 11px; }
    .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .brand__sub { letter-spacing: .16em; }
}

/* Fokuspunkte (vom Backend gesetzt, 5-%-Raster) */
.fx-0{--fx:0%} .fx-5{--fx:5%} .fx-10{--fx:10%} .fx-15{--fx:15%} .fx-20{--fx:20%} .fx-25{--fx:25%} .fx-30{--fx:30%} .fx-35{--fx:35%} .fx-40{--fx:40%} .fx-45{--fx:45%} .fx-50{--fx:50%} .fx-55{--fx:55%} .fx-60{--fx:60%} .fx-65{--fx:65%} .fx-70{--fx:70%} .fx-75{--fx:75%} .fx-80{--fx:80%} .fx-85{--fx:85%} .fx-90{--fx:90%} .fx-95{--fx:95%} .fx-100{--fx:100%}
.fy-0{--fy:0%} .fy-5{--fy:5%} .fy-10{--fy:10%} .fy-15{--fy:15%} .fy-20{--fy:20%} .fy-25{--fy:25%} .fy-30{--fy:30%} .fy-35{--fy:35%} .fy-40{--fy:40%} .fy-45{--fy:45%} .fy-50{--fy:50%} .fy-55{--fy:55%} .fy-60{--fy:60%} .fy-65{--fy:65%} .fy-70{--fy:70%} .fy-75{--fy:75%} .fy-80{--fy:80%} .fy-85{--fy:85%} .fy-90{--fy:90%} .fy-95{--fy:95%} .fy-100{--fy:100%}
/* Alle beschnittenen Bilder richten sich nach dem Fokuspunkt */
.hero__img, .page-hero__img, .tile__img, .history-teaser__img, .post-card__media img, .gallery__item img, .article__figure img {
    object-position: var(--fx, 50%) var(--fy, 50%);
}

/* Tablets hochkant & Smartphones: Startbild in ganzer Breite oben, Text darunter –
   kein schmaler Hochkant-Ausschnitt aus dem Querformat-Foto mehr */
@media (max-width: 900px) {
    .hero { display: block; min-height: 0; }
    .hero::after { display: none; }
    .hero__media { position: relative; inset: auto; z-index: auto; aspect-ratio: 16 / 10; }
    .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 30, 33, .5) 0%, rgba(27, 30, 33, 0) 28%, rgba(27, 30, 33, 0) 62%, var(--bg) 100%); }
    .hero__content { position: relative; margin-top: -96px; padding-top: 0; padding-bottom: 64px; }
    .page-hero::after { background: linear-gradient(180deg, rgba(27, 30, 33, .45) 0%, rgba(27, 30, 33, .65) 45%, rgba(27, 30, 33, .95) 100%); }
}
.page-hero .kicker { color: var(--gold-2); text-shadow: 0 1px 10px rgba(0, 0, 0, .85); }

/* ==========================================================================
   Smartphones: kleinere Schriften, ruhigere Bildausschnitte
   ========================================================================== */
@media (max-width: 760px) {
    body { font-size: 1rem; line-height: 1.6; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }
    .kicker { font-size: .72rem; letter-spacing: .18em; }
    .section { padding-block: 56px; }
    .section-head { margin-bottom: 28px; }
    .section-head p { font-size: 1rem; }
    .btn--lg { min-height: 52px; font-size: 1rem; padding: .7em 1.2em; }

    .hero__media { aspect-ratio: 5 / 4; }
    .hero__content { margin-top: -72px; padding-bottom: 48px; }
    .hero h1 { font-size: 2.9rem; margin-bottom: .25em; }
    .hero__text { font-size: 1rem; text-shadow: none; color: #e6dfd2; }
    .hero .kicker { font-size: .68rem; }

    /* Kopfbilder der Unterseiten */
    .page-hero { min-height: 230px; }
    .page-hero__content { padding-block: 56px 26px; }
    .page-hero h1 { font-size: 2.1rem; }
    .page-hero__lead { font-size: 1rem; }

    /* Kacheln: Foto oben (3:2), Text darunter */
    .tile { flex-direction: column; min-height: 0; background: var(--panel); border: 1px solid var(--line); }
    .tile::after { display: none; }
    .tile__img { position: relative; inset: auto; z-index: auto; height: auto; aspect-ratio: 3 / 2; }
    .tile:hover .tile__img { transform: none; }
    .tile__body { margin-top: 0; padding: 22px 20px 24px; }
    .tile__title { font-size: 1.55rem; }
    .tile__body > p:not(.kicker) { font-size: .98rem; }

    .hours-card__title, .reserve-card h2 { font-size: 1.7rem; }
    .hours-table { font-size: .98rem; }
    .reserve-card__phone, .cta-box__phone { font-size: 1.75rem; gap: 10px; }
    .capacity strong { font-size: 1.05rem; }
    .menu-panel { padding: 24px 20px; }
    .menu-col h3, .menu-card h3 { font-size: 1.25rem; }
    .menu-col li, .menu-card li { font-size: .98rem; padding: 8px 0; }
    .menu-card { padding: 22px 20px; }
    .quote p { font-size: 1.3rem; }
    .quote--large p { font-size: 1.3rem; }
    .history-teaser__img { max-height: none; aspect-ratio: 3 / 2; }
    .post-card__title { font-size: 1.3rem; }
    .post-card__body { padding: 20px; }
    .article__head h1 { font-size: 1.9rem; }
    .article__lead { font-size: 1.05rem; }
    .article__body { font-size: 1rem; margin-top: 28px; }
    .prose h2 { font-size: 1.45rem; }
    .prose h3 { font-size: 1.2rem; }
    .prose--lead > p:first-child { font-size: 1.08rem; }
    .prose blockquote { font-size: 1.12em; }
    .page-title { font-size: 2rem; }
    .cta-box h2 { font-size: 1.55rem; }
    .cta-box, .note-box, .hours-card, .reserve-card, .contact-card { padding: 24px 20px; }
    .contact-card h2 { font-size: 1.5rem; }
    .contact-card__big { font-size: 1.55rem; }
    .contact-card__big--small { font-size: 1.15rem; }
    .room__text p:not(.kicker) { font-size: 1rem; }
    .features { grid-template-columns: 1fr 1fr; gap: 8px; }
    .features li { padding: 10px 12px; font-size: .9rem; gap: 8px; }
    .features .icon { width: 20px; height: 20px; }
    .price-table th, .price-table td { display: block; padding: 0; border: 0; }
    .price-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .price-table th { color: var(--muted); font-size: .9rem; }
    .form-intro { font-size: 1rem; }
    .form-section { padding: 18px 16px; }
    .form-section legend { font-size: 1.3rem; }
    .history__aside { padding: 24px 20px; }
    .site-footer__claim { font-size: 1.05rem; }
    .error-page__mark { width: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
    .site-header, .action-bar, .site-footer__bottom nav, .hero__actions { display: none !important; }
    body { background: #fff; color: #000; }
}
.nowrap { white-space: nowrap; }

.contact-card__gap { margin: 14px 0 0; }
.contact-card__note { margin: 16px 0 0; font-size: .92rem; color: var(--muted); font-style: italic; }
/* Startbild: leichte, örtlich begrenzte Abdunklung nur hinter dem Text – das Foto bleibt hell */
@media (min-width: 901px) {
    .hero__content { position: relative; }
    .hero__content::before {
        content: ""; position: absolute; z-index: -1; left: 50%; bottom: 0; width: min(1100px, 100%); height: 85%;
        transform: translateX(-50%);
        background: radial-gradient(ellipse 50% 55% at 50% 55%, rgba(20, 22, 25, .5) 0%, rgba(20, 22, 25, .25) 55%, rgba(20, 22, 25, 0) 100%);
    }
}
