/* Hotel & Landgasthaus „Zum braunen Hirsch“ – Stylesheet
   Alle Schriften lokal (fonts.css), keine externen Ressourcen. */
@import url("fonts.css");

:root {
  --forest: #1E381E;
  --forest-2: #2A4723;
  --brass: #C59B4B;
  --brass-light: #DBC79B;
  --bark: #8C532C;
  --oak: #5C3A21;
  --linen: #FBF9F5;
  --linen-warm: #F5EFEB;
  --surface: #FEF8F4;
  --surface-2: #F3EDE9;
  --surface-3: #EDE7E3;
  --text: #1D1B19;
  --muted: #4A4F47;
  --line: #E2D9CC;
  --shadow: 0 2px 10px rgba(30, 56, 30, .08);
  --shadow-lg: 0 10px 30px rgba(30, 56, 30, .14);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--text);
  font: 400 16px/1.65 var(--sans); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--bark); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--forest); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 500; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--brass); color: var(--forest); padding: 8px 14px; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* Material Symbols (lokale Teilmenge) */
.icon {
  font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal;
  font-size: 22px; line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; flex-shrink: 0;
}
.icon.fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--warm { background: var(--linen-warm); }
.section--dark { background: var(--forest); color: var(--linen); }
.section--dark h2, .section--dark h3 { color: var(--linen); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: .6rem;
}
.section--dark .eyebrow { color: var(--brass-light); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: rgba(251, 249, 245, .85); }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; min-height: 48px; border: 1px solid transparent; cursor: pointer;
  font: 700 .82rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--brass { background: var(--brass); color: var(--forest); }
.btn--brass:hover { background: var(--brass-light); color: var(--forest); }
.btn--forest { background: var(--forest); color: var(--linen); }
.btn--forest:hover { background: var(--forest-2); color: var(--linen); }
.btn--ghost { background: transparent; color: var(--linen); border-color: rgba(219, 199, 155, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); color: var(--linen); }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--linen); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--forest);
  box-shadow: 0 1px 10px rgba(0, 0, 0, .12);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; flex-direction: column; gap: 3px; text-decoration: none; min-width: 0; }
.brand img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .96; }
.brand span { font: 700 .62rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--linen); text-decoration: none; padding: 10px 11px; font: 600 .86rem/1 var(--sans); white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--brass-light); }
.nav a[aria-current="page"] { color: var(--brass-light); border-bottom-color: var(--brass); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-call { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--linen); text-decoration: none; font: 700 .9rem/1 var(--sans); padding: 10px; }
.header-call:hover { color: var(--brass-light); }
.menu-toggle { display: none; background: none; border: 0; color: var(--linen); width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1320px) { .header-call .label { display: none; } }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px;
    background: var(--forest); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid rgba(219, 199, 155, .18); }
  .nav a[aria-current="page"] { border-bottom-color: rgba(219, 199, 155, .18); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand span { display: none; } .brand img { height: 26px; } }

/* Hero */
.hero { position: relative; color: var(--linen); background: var(--forest); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 38, 20, .92) 0%, rgba(20, 38, 20, .72) 45%, rgba(20, 38, 20, .25) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(64px, 12vw, 140px); padding-bottom: clamp(64px, 12vw, 140px); }
.hero h1 { color: var(--linen); max-width: 16ch; }
.hero p { max-width: 54ch; font-size: 1.12rem; color: rgba(251, 249, 245, .9); }
.hero .eyebrow { color: var(--brass-light); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.badges li { display: inline-flex; align-items: center; gap: 6px; background: rgba(42, 71, 35, .85); border: 1px solid rgba(219, 199, 155, .4); color: var(--brass-light); padding: 6px 10px; font: 700 .7rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.badges .icon { font-size: 16px; }
@media (max-width: 700px) { .hero::after { background: linear-gradient(180deg, rgba(20, 38, 20, .55) 0%, rgba(20, 38, 20, .9) 60%); } }

.page-hero { background: var(--forest); color: var(--linen); padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(197, 155, 75, .12); filter: blur(40px); }
.page-hero h1 { color: var(--linen); }
.page-hero p { color: rgba(251, 249, 245, .88); max-width: 62ch; font-size: 1.08rem; margin-bottom: 0; }
.page-hero .eyebrow { color: var(--brass-light); }
.breadcrumb { font-size: .8rem; margin-bottom: 14px; color: rgba(251, 249, 245, .7); }
.breadcrumb a { color: var(--brass-light); }

/* Info strip (open status + phone) */
.info-strip { background: var(--brass); color: var(--forest); }
.info-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 14px; padding-bottom: 14px; font-weight: 600; }
.info-strip a { color: var(--forest); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 3px rgba(30, 56, 30, .2); }
.status.is-closed .status__dot { background: var(--bark); }

/* Grids & cards */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--linen); box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; }
.card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-3); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body p { color: var(--muted); margin: 0; }
.card__body .more { margin-top: auto; padding-top: 10px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.card--accent { border-left: 4px solid var(--brass); }

.feature { display: flex; gap: 14px; align-items: flex-start; background: var(--linen); padding: 18px; box-shadow: var(--shadow); }
.feature .icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: var(--forest); color: var(--brass-light); font-size: 22px; }
.feature h3, .feature h4 { font-size: 1.05rem; margin: 0 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; }
.section--dark .feature { background: var(--forest-2); }
.section--dark .feature h3, .section--dark .feature h4 { color: var(--linen); }
.section--dark .feature p { color: rgba(251, 249, 245, .8); }

.photo { position: relative; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(30, 56, 30, .9); color: var(--linen); padding: 5px 10px; font: 700 .7rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 3 / 2; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-stack .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.photo-stack .photo:not(:first-child) { aspect-ratio: 4 / 3; }

.drawing { background: #fff; border: 1px solid var(--brass-light); padding: clamp(12px, 2vw, 24px); box-shadow: var(--shadow); }
.drawing figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); font-style: italic; text-align: center; }

.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--forest); line-height: 1.45; border-left: 3px solid var(--brass); padding: 4px 0 4px 22px; margin: 28px 0; }
.quote cite { display: block; margin-top: 10px; font: 700 .72rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--bark); font-style: normal; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0 0; }
.fact { background: var(--linen-warm); border-left: 3px solid var(--brass); padding: 14px 16px; }
.fact strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--forest); line-height: 1.15; }
.fact span { font-size: .85rem; color: var(--muted); }
.section--warm .fact { background: var(--linen); }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--brass); font-size: 20px; margin-top: 2px; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { background: var(--linen); border: 1px solid var(--line); padding: 8px 12px; font-weight: 600; font-size: .92rem; color: var(--forest); display: inline-flex; align-items: center; gap: 6px; }
.tag-list .icon { font-size: 18px; color: var(--brass); }

/* Opening hours */
.hours { background: var(--linen); box-shadow: var(--shadow); }
.hours__row { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--surface-3); }
.hours__row:last-child { border-bottom: 0; }
.hours__day { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--forest); }
.hours__time { font-weight: 700; color: var(--forest); }
.hours__note { flex-basis: 100%; font-size: .9rem; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-top: -6px; }
.hours__note .icon { font-size: 18px; color: var(--brass); }
.hours__row.is-closed .hours__time { color: var(--bark); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }
.hours__row.is-today { background: #FFF6E3; box-shadow: inset 4px 0 0 var(--brass); }
.hours__row.is-today .hours__day::after { content: "Heute"; margin-left: 10px; font: 700 .62rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--forest); color: var(--brass-light); padding: 4px 6px; vertical-align: middle; }
.notice { background: var(--surface-2); border-left: 3px solid var(--forest); padding: 14px 18px; display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.notice .icon { color: var(--forest); }
.notice p { margin: 0; }

/* Price list */
.price-list { display: grid; gap: 0; background: var(--linen); box-shadow: var(--shadow); }
.price-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 20px; border-bottom: 1px solid var(--surface-3); }
.price-item:last-child { border-bottom: 0; }
.price-item h3, .price-item h4 { font-size: 1.05rem; margin: 0; }
.price-item p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .93rem; }
.price-item .price { font-weight: 700; color: var(--bark); white-space: nowrap; text-align: right; }
.price-item .price small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.price-item--highlight { background: #FFF6E3; }
.menu-group { margin-bottom: 36px; }
.menu-group > h3 { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; border-bottom: 2px solid var(--brass-light); padding-bottom: 8px; margin-bottom: 0; }
.menu-group > h3 .icon { color: var(--brass); }
.menu-cols { columns: 2; column-gap: clamp(24px, 4vw, 48px); }
.menu-cols .menu-group { break-inside: avoid; }
@media (max-width: 860px) { .menu-cols { columns: 1; } }

/* Tabs */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: thin; }
.tab {
  flex: 0 0 auto; padding: 11px 18px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
  font: 700 .8rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.tab:hover { background: var(--surface-3); color: var(--forest); }
.tab[aria-selected="true"] { background: var(--forest); color: var(--linen); border-color: var(--forest); }
.js .tab-panel[hidden] { display: none; }

/* Action cards (Aktuelles) */
.offer { background: var(--linen); box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.offer__flyer { display: block; background: #fff; border: 0; padding: 0; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; width: 100%; }
.offer__flyer img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.offer__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.offer__day { font: 700 .72rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--bark); }
.offer__price { font-family: var(--serif); font-size: 1.6rem; color: var(--forest); font-weight: 700; }
.offer__body p { margin: 0; color: var(--muted); font-size: .94rem; }

.flyer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.flyer { background: #fff; padding: 0; border: 1px solid var(--line); cursor: zoom-in; box-shadow: var(--shadow); }
.flyer img { width: 100%; height: auto; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 94vh; }
.lightbox::backdrop { background: rgba(10, 20, 10, .85); }
.lightbox img { max-height: 88vh; max-width: 100%; width: auto; height: auto; margin: 0 auto; background: #fff; }
.lightbox__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: var(--forest); color: var(--linen); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lightbox__caption { color: var(--linen); text-align: center; padding: 8px; font-size: .9rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery button { padding: 0; border: 0; background: var(--surface-3); cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(30, 56, 30, .85); color: var(--linen); font-size: .78rem; padding: 6px 10px; text-align: left; }

/* Rooms (capacity) */
.room { display: flex; justify-content: space-between; gap: 16px; align-items: center; background: var(--linen); padding: 18px 20px; box-shadow: var(--shadow); border-left: 4px solid var(--brass-light); }
.room h3 { margin: 0; font-size: 1.15rem; }
.room p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.room__cap { text-align: center; background: var(--forest); color: var(--brass-light); padding: 8px 12px; min-width: 92px; font-weight: 700; line-height: 1.2; }
.room__cap small { display: block; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(251, 249, 245, .75); font-weight: 600; }

/* Forms */
.form-card { background: var(--linen); box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 40px); }
.section--dark .form-card { color: var(--text); }
.section--dark .form-card h3, .section--dark .hours h3 { color: var(--forest); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font: 700 .74rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--forest); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid #CFC4B3; padding: 12px 14px; border-radius: 0; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
.form-hint { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--forest); flex-shrink: 0; }
.form-success { display: none; margin-top: 16px; background: #E4F0E1; border-left: 4px solid var(--forest); padding: 14px 16px; }
.form-success.is-visible { display: flex; gap: 10px; }

/* Contact blocks */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--linen); box-shadow: var(--shadow); text-decoration: none; color: var(--text);
}
.contact-list .icon { color: var(--brass); }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-list strong { font-size: 1.05rem; color: var(--forest); word-break: break-word; }
.section--dark .contact-list a, .section--dark .contact-list div { background: var(--forest-2); color: var(--linen); }
.section--dark .contact-list strong { color: var(--linen); }
.section--dark .contact-list small { color: var(--brass-light); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--linen); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--brass); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--forest); color: var(--linen); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { color: var(--linen); margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(251, 249, 245, .85); }

/* Legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5em; }
.legal ul { padding-left: 1.2em; }
.todo { background: #FFF1D6; border: 1px dashed var(--bark); padding: 2px 6px; }

/* Footer */
.site-footer { background: #162B16; color: rgba(251, 249, 245, .85); padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: rgba(251, 249, 245, .9); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: var(--brass-light); font: 700 .74rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-logo { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 12px; }
.footer-line { display: flex; gap: 8px; align-items: flex-start; }
.footer-line .icon { font-size: 18px; color: var(--brass-light); margin-top: 2px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(219, 199, 155, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(251, 249, 245, .6); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--linen); box-shadow: 0 -2px 12px rgba(0, 0, 0, .12); padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .action-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; text-decoration: none; color: var(--forest); font: 700 .7rem/1.1 var(--sans); letter-spacing: .04em; }
  .action-bar a:first-child { background: var(--brass); }
  body { padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .action-bar, .site-footer, .btn, .tabs { display: none !important; }
  .js .tab-panel[hidden] { display: block !important; }
}

.sr-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
