:root {
  --charcoal: #171411;
  --charcoal-soft: #24211d;
  --paper: #f8f1e4;
  --paper-2: #efe2cc;
  --cream: #fff8eb;
  --oak: #d1a05b;
  --copper: #a45d32;
  --sage: #76836d;
  --terracotta: #8f452e;
  --ink: #211b15;
  --muted: #6b6157;
  --line: rgba(85, 61, 38, 0.22);
  --line-dark: rgba(255, 232, 190, 0.22);
  --shadow: 0 18px 42px rgba(23, 20, 17, 0.22);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--charcoal);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(23, 20, 17, 0.86), rgba(23, 20, 17, 0.86)),
    url("site-img/schiefer.jpg") center / cover;
}

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

a {
  color: inherit;
}

svg {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}

.icon-sprite,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 72px;
  padding: 10px max(22px, calc((100vw - var(--max)) / 2));
  color: var(--cream);
  background: rgba(23, 20, 17, 0.92);
  border-bottom: 1px solid rgba(209, 160, 91, 0.4);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 176px;
}

.brand span {
  display: block;
  width: 58px;
  color: var(--oak);
  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 1.05;
}

.brand img {
  width: 126px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(70%) sepia(31%) saturate(649%) hue-rotate(356deg) brightness(89%) contrast(88%);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  padding: 11px 13px;
  text-decoration: none;
  color: rgba(255, 248, 235, 0.86);
  border-radius: 4px;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
  color: var(--oak);
  background: rgba(255, 248, 235, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.section-dark {
  color: var(--cream);
  background:
    linear-gradient(rgba(23, 20, 17, 0.88), rgba(23, 20, 17, 0.9)),
    url("site-img/schiefer.jpg") center / cover;
}

.section-paper {
  background:
    linear-gradient(rgba(248, 241, 228, 0.95), rgba(248, 241, 228, 0.95)),
    radial-gradient(circle at 20% 10%, rgba(209, 160, 91, 0.2), transparent 32%),
    var(--paper);
}

.section-inner {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 78px 0;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(500px, 0.9fr) minmax(540px, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid rgba(209, 160, 91, 0.5);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  padding: 76px clamp(34px, 5vw, 72px) 86px clamp(42px, 6vw, 118px);
}

.small-caps,
.section-kicker {
  margin: 0 0 12px;
  color: var(--oak);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section-title h2,
.section-copy h2,
.split h2,
.jobs h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
}

.hero h1 {
  max-width: 620px;
  color: var(--oak);
  font-size: clamp(58px, 5vw, 76px);
}

.hero-lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 248, 235, 0.9);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: #21150d;
  background: var(--oak);
  border-color: rgba(255, 242, 211, 0.24);
}

.btn-secondary {
  color: var(--cream);
  background: rgba(255, 248, 235, 0.06);
  border-color: rgba(255, 248, 235, 0.42);
}

.section-paper .btn-secondary,
.contact .btn-secondary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(33, 27, 21, 0.45);
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.hero-media {
  position: relative;
  min-height: 560px;
  margin: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(23, 20, 17, 0.72), rgba(23, 20, 17, 0.08) 44%, rgba(23, 20, 17, 0.14));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quickfacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 44px));
  margin: -52px auto 0;
  position: relative;
  z-index: 3;
  color: var(--cream);
  background: rgba(28, 24, 20, 0.94);
  border: 1px solid rgba(209, 160, 91, 0.46);
  box-shadow: var(--shadow);
}

.quickfacts article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  padding: 25px 22px;
  border-right: 1px solid var(--line-dark);
}

.quickfacts article:last-child {
  border-right: 0;
}

.quickfacts svg {
  color: var(--oak);
  width: 28px;
  height: 28px;
}

.quickfacts h2 {
  margin: 0 0 7px;
  color: var(--oak);
  font-size: 12px;
  text-transform: uppercase;
}

.quickfacts p {
  margin: 0;
  color: rgba(255, 248, 235, 0.86);
  font-size: 14px;
  line-height: 1.45;
}

.discover {
  margin-top: -38px;
}

.discover-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr) minmax(260px, 0.78fr);
  gap: 0;
  align-items: stretch;
  padding-top: 124px;
}

.section-copy,
.opening-panel {
  padding: 36px;
  background: rgba(255, 248, 235, 0.76);
}

.section-copy h2,
.opening-panel h2,
.split h2,
.jobs h2,
.contact h2 {
  font-size: 38px;
}

.section-copy p,
.split p,
.jobs p {
  color: var(--muted);
}

.link-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.link-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.link-list svg:first-child {
  color: var(--copper);
  width: 28px;
  height: 28px;
}

.link-list small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.feature-photo {
  margin: 0;
  min-height: 440px;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opening-panel {
  text-align: center;
}

.opening-panel dl {
  margin: 24px 0 0;
}

.opening-panel div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.opening-panel dt {
  font-weight: 800;
}

.opening-panel dd {
  margin: 8px 0 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.split p {
  color: rgba(255, 248, 235, 0.78);
}

.menu-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.menu-highlights span {
  padding: 18px;
  color: var(--cream);
  border: 1px solid var(--line-dark);
  background: rgba(255, 248, 235, 0.05);
  border-radius: 6px;
}

.menu-viewer {
  border-top: 1px solid rgba(164, 93, 50, 0.16);
}

.menu-viewer .section-title p:last-child {
  margin: 12px auto 0;
  color: var(--muted);
}

.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: -10px 0 22px;
}

.menu-tab {
  min-height: 42px;
  padding: 10px 18px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(255, 248, 235, 0.86);
  border: 1px solid rgba(33, 27, 21, 0.24);
  border-radius: 6px;
  cursor: pointer;
}

.menu-tab.active,
.menu-tab:hover,
.menu-tab:focus {
  color: #21150d;
  background: var(--oak);
  border-color: rgba(33, 27, 21, 0.16);
}

.menu-download {
  min-height: 42px;
}

.menu-pages {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.menu-pages.is-hidden {
  display: none;
}

.menu-pages img {
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid rgba(85, 61, 38, 0.22);
  border-radius: 6px;
  box-shadow: 0 14px 32px rgba(69, 47, 29, 0.15);
}

.menu-fallback {
  max-width: 680px;
  margin: 14px auto 0;
  text-align: center;
}

.tour-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.google-embed {
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(rgba(23, 20, 17, 0.55), rgba(23, 20, 17, 0.55)),
    url("site-img/gewoelbekeller.jpg") center / cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(69, 47, 29, 0.16);
}

.google-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.embed-consent {
  display: grid;
  place-content: center;
  min-height: 430px;
  padding: 34px;
  color: var(--cream);
  text-align: center;
  background: rgba(23, 20, 17, 0.58);
}

.embed-consent h3 {
  margin: 0 0 10px;
  font-family: Georgia, serif;
  font-size: 30px;
}

.embed-consent p {
  max-width: 520px;
  margin: 0 auto 18px;
  color: rgba(255, 248, 235, 0.84);
}

.center {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-title h2 {
  font-size: 40px;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.room-card {
  color: var(--cream);
}

.room-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(209, 160, 91, 0.34);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.room-card h3 {
  margin: 18px 0 7px;
  color: var(--oak);
  font-family: Georgia, serif;
  font-size: 20px;
}

.room-card p {
  margin: 0;
  color: rgba(255, 248, 235, 0.78);
  font-size: 15px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid rgba(164, 93, 50, 0.48);
}

.history-feature {
  max-width: 880px;
  margin: 36px auto 8px;
  padding: 30px 34px;
  background: rgba(255, 248, 235, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.history-feature-current {
  position: relative;
  max-width: 960px;
  padding: 38px 42px;
  background:
    linear-gradient(135deg, rgba(255, 248, 235, 0.94), rgba(239, 226, 204, 0.9)),
    var(--cream);
  border-color: rgba(164, 93, 50, 0.34);
  box-shadow: 0 18px 38px rgba(69, 47, 29, 0.14);
}

.history-feature-current::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(164, 93, 50, 0.18);
  border-radius: 5px;
}

.history-archive {
  max-width: 880px;
  margin: 18px auto 0;
  padding: 24px 28px;
  background: rgba(255, 248, 235, 0.48);
  border: 1px solid rgba(85, 61, 38, 0.16);
  border-radius: 8px;
}

.history-feature .year {
  margin: 0 0 4px;
  color: var(--terracotta);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.history-feature-current .year {
  color: var(--copper);
  font-size: 48px;
}

.history-archive .year {
  margin: 0 0 5px;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.history-feature h3,
.history-archive h3 {
  margin: 0 0 16px;
  font-family: Georgia, serif;
  font-size: 28px;
  text-transform: uppercase;
}

.history-archive h3 {
  color: #3a3026;
  font-size: 22px;
}

.history-feature p,
.history-archive p {
  margin: 0;
  color: var(--muted);
}

.history-feature p + p,
.history-archive p + p {
  margin-top: 14px;
}

.timeline li {
  position: relative;
  padding: 28px 14px 0;
  text-align: center;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  background: var(--copper);
  border: 3px solid var(--paper);
  border-radius: 50%;
}

.timeline strong {
  display: block;
  color: var(--terracotta);
  font-family: Georgia, serif;
  font-size: 22px;
}

.timeline span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.jobs {
  position: relative;
  overflow: hidden;
}

.jobs-photo {
  position: absolute;
  inset: 0 50% 0 0;
  background:
    linear-gradient(90deg, rgba(23, 20, 17, 0.15), rgba(23, 20, 17, 0.78)),
    url("site-img/raum-banner.jpg") center / cover;
}

.jobs-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  min-height: 360px;
}

.jobs-grid > div:first-child {
  grid-column: 2;
}

.job-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr) minmax(260px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.contact-card,
.reservation-form {
  padding: 30px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(69, 47, 29, 0.12);
}

.contact-card address {
  display: grid;
  gap: 13px;
  margin: 24px 0;
  font-style: normal;
}

.contact-card address span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.contact-card svg {
  margin-top: 4px;
  color: var(--copper);
}

.reservation-form {
  display: grid;
  gap: 14px;
}

.reservation-form h3 {
  margin: 0 0 4px;
  font-family: Georgia, serif;
  font-size: 26px;
}

.reservation-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.reservation-form input,
.reservation-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  border: 1px solid rgba(33, 27, 21, 0.28);
  border-radius: 6px;
  background: #fffdf8;
}

.reservation-form textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-photo {
  margin: 0;
  min-height: 100%;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.site-footer {
  color: rgba(255, 248, 235, 0.82);
  background: #11100e;
  border-top: 1px solid rgba(209, 160, 91, 0.32);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.2fr 1fr 0.8fr;
  gap: 28px;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 42px 0 28px;
}

.footer-inner h2 {
  margin: 0 0 10px;
  color: var(--oak);
  font-size: 13px;
  text-transform: uppercase;
}

.footer-inner > div:first-child img {
  filter: brightness(0) saturate(100%) invert(70%) sepia(31%) saturate(649%) hue-rotate(356deg) brightness(89%) contrast(88%);
}

.footer-inner p,
.footer-inner a {
  font-size: 14px;
}

.footer-inner nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.footer-inner a {
  color: rgba(255, 248, 235, 0.82);
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus {
  color: var(--oak);
}

.copyright {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: rgba(255, 248, 235, 0.58);
  font-size: 13px;
  border-top: 1px solid rgba(255, 248, 235, 0.1);
}

.legal-page {
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
}

.legal-page::before {
  display: none;
}

.legal-main {
  width: min(880px, calc(100% - 44px));
  margin: 54px auto;
  padding: 54px 58px;
  background: rgba(255, 248, 235, 0.92);
  border: 1px solid rgba(85, 61, 38, 0.18);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(69, 47, 29, 0.1);
}

.legal-main h1,
.legal-main h2 {
  font-family: Georgia, serif;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.legal-main h1 {
  margin-top: 0;
  color: var(--ink);
  font-size: 44px;
}

.legal-main h2 {
  margin-top: 38px;
  color: #30261e;
  font-size: 28px;
}

.legal-main p,
.legal-main li {
  color: #4d443b;
}

.legal-main a {
  color: #68411f;
  font-weight: 700;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
    padding-right: max(28px, calc((100vw - var(--max)) / 2));
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-media::before {
    background: linear-gradient(0deg, rgba(23, 20, 17, 0.62), rgba(23, 20, 17, 0.04));
  }

  .quickfacts,
  .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quickfacts article:nth-child(2) {
    border-right: 0;
  }

  .quickfacts article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .discover-grid,
  .tour-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .opening-panel {
    grid-column: 1 / -1;
  }

  .contact-photo {
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 30px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 64px;
    padding: 9px 18px;
  }

  .brand {
    min-width: 146px;
  }

  .brand img {
    width: 108px;
  }

  .brand span {
    width: 48px;
    font-size: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    background: #171411;
    border: 1px solid rgba(209, 160, 91, 0.38);
    box-shadow: var(--shadow);
  }

  .nav-open .main-nav {
    display: grid;
  }

  .legal-page .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .legal-page .main-nav {
    position: static;
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .legal-page .main-nav a {
    padding: 8px 10px;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 56px 22px 42px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-media {
    min-height: 300px;
  }

  .section-inner {
    width: min(100% - 32px, var(--max));
    padding: 56px 0;
  }

  .quickfacts {
    grid-template-columns: 1fr;
    width: min(100% - 32px, var(--max));
    margin-top: 0;
  }

  .quickfacts article {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .quickfacts article:last-child {
    border-bottom: 0;
  }

  .discover {
    margin-top: 0;
  }

  .discover-grid {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .section-copy,
  .opening-panel,
  .contact-card,
  .reservation-form {
    padding: 24px;
  }

  .section-copy h2,
  .opening-panel h2,
  .split h2,
  .jobs h2,
  .contact h2,
  .section-title h2 {
    font-size: 31px;
  }

  .split,
  .tour-grid,
  .jobs-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .menu-highlights,
  .room-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .jobs-photo {
    inset: 0;
    opacity: 0.18;
  }

  .jobs-grid > div:first-child,
  .job-actions {
    grid-column: auto;
  }

  .timeline {
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 2px solid rgba(164, 93, 50, 0.48);
    margin-left: 8px;
  }

  .history-feature {
    padding: 24px;
  }

  .history-feature-current,
  .history-archive {
    padding: 24px;
  }

  .history-feature-current .year {
    font-size: 40px;
  }

  .menu-pages {
    gap: 12px;
  }

  .timeline li {
    text-align: left;
    padding: 0 0 28px 28px;
  }

  .timeline li::before {
    top: 8px;
    left: -8px;
    transform: none;
  }

  .legal-main {
    width: min(100% - 32px, var(--max));
    margin: 28px auto;
    padding: 30px 18px;
  }

  .legal-main h1 {
    font-size: clamp(24px, 6.5vw, 29px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
